/* ==========================================================================
   RESET & SYSTEM VARIABLES (MOBILE-FIRST LIGHT THEME)
   ========================================================================== */
:root {
  /* Color Palette (Vibrant Light Theme) */
  --primary: #0284c7; /* Traffic Blue */
  --primary-dark: #0369a1;
  --primary-light: #f0f9ff;
  --primary-glow: rgba(2, 132, 199, 0.12);
  
  --accent: #10b981; /* Mint Green */
  --accent-dark: #047857;
  --accent-light: #f0fdf4;
  --accent-glow: rgba(16, 185, 129, 0.12);

  --danger: #ef4444;
  --success: #10b981;

  /* Light Theme Backgrounds */
  --bg-dark: #ffffff; /* White base background */
  --bg-section: #f8fafc; /* Very light slate */
  
  --border-light: rgba(15, 23, 42, 0.06);
  --border-glow: rgba(2, 132, 199, 0.2);

  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a; /* Slate Dark Text */
  
  /* Text Colors */
  --text-main: #1e293b; /* Dark Slate text */
  --text-muted: #64748b; /* Grey text */
  
  /* Typography */
  --font-family-title: 'Outfit', sans-serif;
  --font-family-base: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Touch Optimization: Eliminate tapping delay highlight on mobile webkits */
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-family-title);
  color: var(--neutral-900);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   GLOW BACKGROUND BLOBS (SOFT PASTEL AURA)
   ========================================================================== */
.glow-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
}

.glow-primary {
  background-color: var(--primary);
  top: -50px;
  right: -50px;
}

.glow-accent {
  background-color: var(--accent);
  bottom: 15%;
  left: -100px;
}

.glow-middle {
  background-color: var(--primary);
  top: 45%;
  right: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.04;
}

/* ==========================================================================
   UTILITY COMPONENTS (TOUCH TARGET SIZE COMPLIANT: min-height 48px)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-title);
  font-weight: 600;
  padding: 14px 28px; /* High touch-target padding */
  min-height: 48px; /* Touch target minimum */
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 16px; /* High legibility on mobile */
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-primary:active {
  transform: scale(0.96); /* Instant touch feedback */
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
  transform: scale(0.96);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  min-height: 54px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(2, 132, 199, 0.2);
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent-dark);
  border-color: rgba(16, 185, 129, 0.2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 30px; /* Mobile-first font size */
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--neutral-900) 30%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.text-left {
  text-align: center; /* Centered by default on mobile */
}

.icon-sm {
  width: 18px; /* Slightly larger icons for touch alignment */
  height: 18px;
}

.icon-md {
  width: 26px;
  height: 26px;
}

.divider {
  color: var(--neutral-200);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   TOP CONTACT BAR (MOBILE OPTIMIZED HIDING)
   ========================================================================== */
.top-bar {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  font-size: 13px;
  padding: 12px 0;
  position: relative;
  z-index: 10;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neutral-300);
  padding: 8px; /* Large touch zone */
}

.whatsapp-link {
  color: var(--success);
  font-weight: 500;
}

.top-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}

/* ==========================================================================
   HEADER NAVIGATION (MOBILE DEFAULT VIEW)
   ========================================================================== */
.header {
  height: 70px; /* Shorter header on mobile */
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

@media (min-width: 768px) {
  .logo-img {
    height: 52px;
  }
}

.logo-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav is collapsed offscreen by default (Mobile-First) */
.nav {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-130%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 99;
}

.nav.active {
  transform: translateY(0);
  opacity: 1;
}

.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 16px; /* Thick touch area for mobile lists */
  border-radius: var(--radius-sm);
  display: block;
}

.nav-link:active {
  background-color: var(--neutral-50);
  color: var(--neutral-900);
}

.header-actions {
  display: none; /* Hidden on mobile */
}

/* Touch friendly hamburger menu */
.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; /* Big touch hit target */
  height: 44px;
  align-items: center;
}

.mobile-menu-btn .bar {
  width: 22px;
  height: 2.5px;
  background-color: var(--neutral-900);
  transition: var(--transition-smooth);
  border-radius: 1px;
}

/* Hamburger animations */
.mobile-menu-btn.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, var(--primary-light) 0%, var(--accent-light) 40%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column default */
  gap: 32px;
  text-align: center;
}

.hero-content {
  max-width: 100%;
}

.hero-title {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--neutral-900) 20%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column; /* Stacked CTA on mobile */
  gap: 12px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}

.meta-item svg {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}

.badge-subtitle {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   ADVANTAGES SECTION
   ========================================================================== */
.advantages {
  padding: 60px 0;
  background-color: var(--bg-section);
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column mobile */
  gap: 20px;
}

.advantage-card {
  padding: 32px 24px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: var(--shadow-sm);
}

.advantage-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(2, 132, 199, 0.1);
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
}

.advantage-title {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--neutral-900);
}

.advantage-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  padding: 60px 0;
  position: relative;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-icon-wrapper {
  width: 44px;
  height: 44px;
  background-color: var(--neutral-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--neutral-100);
}

.service-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.service-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--neutral-900);
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.service-item.disclaim {
  border-left: 4px solid var(--danger);
  background-color: rgba(239, 68, 68, 0.01);
  border-color: var(--danger);
}

.service-item.disclaim .service-icon-wrapper {
  background-color: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.08);
}

.stroke-red {
  color: var(--danger);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION (MOBILE OPTIMIZED)
   ========================================================================== */
.calculator-section {
  padding: 60px 0;
  position: relative;
  background-color: var(--bg-section);
}

.grid-calculator {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.calc-info {
  max-width: 100%;
}

.calculator-card {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-900);
}

.form-select, .form-input {
  width: 100%;
  padding: 16px; /* High Touch Comfort */
  min-height: 52px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-200);
  background-color: var(--neutral-50);
  font-family: var(--font-family-base);
  font-size: 16px; /* CRITICAL: Prevent Safari iOS auto-zoom on focus (must be >= 16px) */
  color: var(--neutral-900);
  outline: none;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 10px 0; /* Increase touch target */
}

.radio-label input[type="radio"] {
  width: 22px; /* Bigger touch indicator */
  height: 22px;
  accent-color: var(--primary);
}

.radio-label input[type="radio"]:checked + span {
  color: var(--neutral-900);
  font-weight: 500;
}

.calc-results-wrapper {
  perspective: 1000px;
}

.results-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.results-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--neutral-300);
}

.result-row.discount-row {
  color: var(--accent);
}

.result-row.total-row {
  font-family: var(--font-family-title);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row.total-row span:last-child {
  font-size: 28px;
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.results-docs {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.docs-heading {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
}

.docs-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}

.docs-list li {
  position: relative;
  padding-left: 18px;
}

.docs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.docs-tip {
  font-size: 12px;
  color: var(--neutral-300);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 10px;
  opacity: 0.85;
}

/* ==========================================================================
   CONTACT & BOOKING SECTION
   ========================================================================== */
.contact-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.grid-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(2, 132, 199, 0.1);
}

.detail-icon svg {
  width: 18px;
  height: 18px;
}

.detail-title {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--neutral-900);
}

.detail-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.text-link {
  color: var(--primary);
  padding: 4px 0;
  display: inline-block;
}

.map-placeholder {
  position: relative;
  background-color: var(--neutral-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}

.map-graphics {
  height: 150px;
  display: flex;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(1.5px);
  opacity: 1; /* Always interactive / tap-to-open on mobile */
}

.booking-form-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.form-heading {
  font-size: 22px;
  color: var(--neutral-900);
}

.form-subheading {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-group-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Checkbox Privacy styling (Optimized for Touch Tapping) */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  color: var(--text-muted);
  padding: 10px 0; /* Padding for easier tap */
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 22px; /* Large touch checkmark */
  width: 22px;
  background-color: var(--neutral-100);
  border: 1.5px solid var(--neutral-300);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

.checkbox-container input:checked ~ .checkmark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: transparent;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 7px;
  top: 2px;
  width: 5px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Success booking modal animation */
.form-success-message {
  position: absolute;
  inset: -2px;
  background-color: #ffffff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  animation: fadeIn 0.4s ease-out forwards;
}

.success-icon {
  width: 60px;
  height: 60px;
  color: var(--success);
  margin-bottom: 16px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  padding: 12px;
}

.success-title {
  font-family: var(--font-family-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 6px;
}

.success-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 290px;
}

/* ==========================================================================
   FAQ SECTION (TOUCH RESPONSIVE ACCORDIONS)
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background-color: var(--bg-section);
}

.faq-container {
  max-width: 100%;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.faq-trigger {
  width: 100%;
  padding: 20px; /* Cozy target size */
  min-height: 60px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
  outline: none;
}

.faq-trigger:active {
  background-color: var(--neutral-50);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr; /* Single column default */
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 100%;
}

.footer-logo {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--neutral-400);
}

.footer-heading {
  font-family: var(--font-family-title);
  font-size: 15px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-list a {
  color: var(--neutral-400);
  padding: 6px 0;
  display: inline-block;
}

.footer-info {
  font-size: 14px;
  color: var(--neutral-400);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--neutral-400);
  text-align: center;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  padding: 6px;
}

/* ==========================================================================
   WHATSAPP CHATBOT WIDGET STYLES (MOBILE-FIRST ADAPTIVE)
   ========================================================================== */
.wa-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.wa-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  position: relative;
  outline: none;
}

.wa-trigger-btn:active {
  transform: scale(0.92);
}

.wa-trigger-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* On mobile, chat window is a fullscreen modal overlays */
.wa-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: calc(100vw - 40px);
  max-width: 310px; /* Tamaño más compacto y amigable */
  height: 420px; /* Altura más pequeña */
  max-height: 65vh; /* Evita que tape todo en pantallas móviles bajas */
  background-color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94);
  z-index: 1000;
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--neutral-200);
}

.wa-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wa-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  min-height: 60px;
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-info {
  display: flex;
  flex-direction: column;
}

.wa-name {
  font-size: 14px;
  font-weight: 600;
}

.wa-status {
  font-size: 10px;
  opacity: 0.85;
}

.wa-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 10px; /* Big Close Target */
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-close svg {
  width: 22px;
  height: 22px;
}

.wa-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 15%, transparent 16%);
  background-size: 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Scroll acceleration for iOS */
  -webkit-overflow-scrolling: touch;
}

.wa-bubble {
  max-width: 85%;
  padding: 10px 12px 6px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.wa-bubble-bot {
  background-color: #ffffff;
  color: var(--neutral-900);
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.wa-bubble-user {
  background-color: #e1f3d8;
  color: var(--neutral-900);
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.wa-time {
  font-size: 9px;
  color: var(--neutral-400);
  display: block;
  text-align: right;
  margin-top: 4px;
}

.wa-options-wrapper {
  padding: 12px 14px;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column; /* Vertical stack for easy mobile thumb tapping */
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wa-opt-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-family-base);
  font-size: 14px; /* Easily readable */
  font-weight: 600;
  padding: 12px 16px; /* Thick touch height */
  min-height: 44px;
  border-radius: 22px;
  cursor: pointer;
  text-align: left; /* Easier to read when stacked */
}

.wa-opt-btn:active {
  background-color: var(--primary-light);
}

.wa-footer {
  padding: 10px 14px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 56px;
}

.wa-input {
  flex: 1;
  border: none;
  outline: none;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 16px; /* Prevent auto-zoom on iOS */
  font-family: var(--font-family-base);
}

.wa-send-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.wa-send-btn svg {
  width: 24px;
  height: 24px;
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--neutral-400);
  border-radius: 50%;
  animation: typing-dot-anim 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   ADMIN PANEL STYLES (MOBILE-FIRST)
   ========================================================================== */
.admin-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.admin-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal {
  background-color: #ffffff;
  width: 100%;
  height: 100%; /* Full screen on mobile */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: all 0.35s cubic-bezier(0.1, 0.76, 0.55, 0.94);
}

.admin-overlay.active .admin-modal {
  transform: translateY(0);
}

.admin-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--neutral-900);
  color: #fff;
  min-height: 60px;
}

.admin-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-title);
  font-size: 16px;
  font-weight: 600;
}

.admin-close {
  background: none;
  border: none;
  color: var(--neutral-400);
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

.admin-tabs {
  display: flex;
  background-color: var(--neutral-100);
  border-bottom: 1px solid var(--neutral-200);
  overflow-x: auto; /* Scrollable tabs */
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 14px 20px;
  font-family: var(--font-family-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  min-height: 48px;
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: #ffffff;
}

.admin-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.admin-panel-content {
  display: none;
}

.admin-panel-content.active {
  display: block;
}

.admin-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.admin-lead-count {
  font-size: 13px;
  color: var(--neutral-500);
}

.admin-btn-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.admin-btn-group .btn-admin {
  flex: 1;
  text-align: center;
}

.btn-admin {
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-admin-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-admin-outline-danger {
  background: none;
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--danger);
}

.btn-admin-outline-primary {
  background: none;
  border-color: var(--primary);
  color: var(--primary);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  min-width: 500px; /* Ensure table rolls nicely on mobile scroll */
}

.admin-table th, .admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--neutral-200);
}

.admin-table th {
  background-color: var(--neutral-50);
  font-weight: 600;
}

.btn-action-delete {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 8px; /* Large Touch target */
  border-radius: 4px;
}

.status-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}

.status-valid {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-expired {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}


/* ==========================================================================
   MEDIA QUERIES (TABLETS & DESKTOPS SCALING UP)
   ========================================================================== */

/* Small Tablets / Large Mobile (min-width: 576px) */
@media (min-width: 576px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (min-width: 768px) */
@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
  
  .text-left {
    text-align: left;
  }

  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .top-bar-content .top-contact-info {
    justify-content: flex-start;
  }

  .mobile-menu-btn {
    display: none; /* Hide hamburger */
  }

  .nav {
    position: static;
    width: auto;
    background-color: transparent;
    flex-direction: row;
    padding: 0;
    gap: 32px;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
  }

  .nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border-radius: 0;
    display: inline-block;
  }

  .nav-link:active {
    background-color: transparent;
  }

  .header-actions {
    display: block;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
    gap: 48px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-cta-group {
    flex-direction: row;
  }

  .hero-meta {
    flex-direction: row;
  }

  .hero-image {
    height: 380px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-calculator {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .grid-contact {
    grid-template-columns: 1fr 1fr;
  }

  .map-graphics {
    height: 180px;
  }

  .booking-form-wrapper {
    padding: 40px;
  }

  .form-group-row {
    flex-direction: row;
  }

  .form-group-row .form-group {
    flex: 1;
  }

  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Desktop Chatbot styling */
  .wa-window {
    bottom: 72px;
    width: 330px;
    height: 460px;
    max-height: 75vh;
  }

  .wa-options-wrapper {
    flex-direction: row;
  }

  .wa-opt-btn {
    text-align: center;
  }

  /* Desktop Admin modal styling */
  .admin-modal {
    width: 90%;
    max-width: 960px;
    max-height: 85vh;
    border-radius: var(--radius-md);
    transform: translateY(30px);
  }

  .admin-actions {
    flex-direction: row;
    align-items: center;
  }

  .admin-btn-group {
    width: auto;
  }

  .admin-btn-group .btn-admin {
    flex: none;
  }
}

/* Desktops (min-width: 992px) */
@media (min-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Screens (min-width: 1200px) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 54px;
  }

  .glow-bg {
    width: 500px;
    height: 500px;
    filter: blur(140px);
  }
}

/* ==========================================================================
   SECCIÓN DE RECORDATORIOS DE RENOVACIÓN (DISEÑO PREMIUM DESTACADO)
   ========================================================================== */
.reminder-section {
  padding: 60px 0;
  background-color: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  position: relative;
  overflow: hidden;
}

.grid-reminder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.reminder-info {
  display: flex;
  flex-direction: column;
}

.reminder-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.rem-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rem-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.rem-feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--neutral-900);
}

.rem-feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.reminder-card-wrapper {
  perspective: 1000px;
}

.reminder-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.reminder-card-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
  font-family: var(--font-family-title);
  font-weight: 700;
}

.reminder-card-desc {
  color: var(--neutral-300);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.reminder-form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.reminder-card .form-label {
  color: #fff;
}

.reminder-card .form-input {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.reminder-card .form-input:focus {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

.reminder-card .form-input[type="date"] {
  color-scheme: dark;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #0d9488 0%, var(--accent-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

/* Success Card overlay inside the card */
.reminder-success-card {
  position: absolute;
  inset: -2px;
  background-color: #0f172a;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  animation: fadeIn 0.4s ease-out forwards;
}

.success-icon-sm {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin-bottom: 16px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  padding: 10px;
}

.success-title-sm {
  font-family: var(--font-family-title);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.success-text-sm {
  font-size: 13px;
  color: var(--neutral-300);
  max-width: 260px;
  line-height: 1.4;
}

/* Responsive adjustment for tablets & desktops */
@media (min-width: 768px) {
  .grid-reminder {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  
  .reminder-card {
    padding: 40px;
  }
}

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--neutral-400);
  transition: color 0.2s ease;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.active {
  color: var(--primary);
  background-color: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.15);
}

/* Location visuals grid (Map + Facade image) */
.location-visuals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .location-visuals-grid {
    grid-template-columns: 1fr 1fr;
  }
  .map-placeholder {
    grid-column: span 2;
  }
}

.street-view-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.street-view-image {
  width: 100%;
  height: auto;
  display: block;
}

.street-view-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 8px 12px;
  font-size: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (ACTIVACIÓN DE ICONOS/TARJETAS AL HACER SCROLL)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.scroll-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Efecto hover interactivo sobre iconos activados */
.scroll-reveal.scroll-active:hover .advantage-icon,
.scroll-reveal.scroll-active:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(2deg);
  transition: transform 0.3s ease;
}

/* Retrasos secuenciales (stagger) para las tarjetas en cuadrícula */
.advantages-grid .advantage-card:nth-child(1) { transition-delay: 0.0s; }
.advantages-grid .advantage-card:nth-child(2) { transition-delay: 0.1s; }
.advantages-grid .advantage-card:nth-child(3) { transition-delay: 0.2s; }
.advantages-grid .advantage-card:nth-child(4) { transition-delay: 0.3s; }

.services-grid .service-item:nth-child(1) { transition-delay: 0.0s; }
.services-grid .service-item:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-item:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-item:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-item:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-item:nth-child(6) { transition-delay: 0.5s; }

