/* ==========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Colors - Medical Premium Palette */
  --color-primary: #1E40AF;      /* Blue-800: Medical Trust */
  --color-primary-light: #3B82F6; /* Blue-500: Hover/Accents */
  --color-primary-dark: #1E3A8A;  /* Blue-900: Dark backgrounds */
  
  --color-secondary: #10B981;    /* Emerald-500: CTAs/Health */
  --color-secondary-dark: #059669; /* Emerald-600: Hover CTAs */
  
  --color-accent: #F97316;       /* Orange-500: Warmth/Urgency */
  --color-accent-light: #FFEDD5; /* Orange-100: Badges */
  
  --color-bg-main: #FFFFFF;      /* Pure White */
  --color-bg-alt: #F8FAFC;       /* Slate-50: Ice Gray */
  --color-bg-blue-light: #EFF6FF; /* Blue-50: Trust bar */
  --color-bg-green-light: #D1FAE5; /* Emerald-100: Badges */
  
  --color-text-main: #0F172A;    /* Slate-900: Charcoal */
  --color-text-secondary: #64748B; /* Slate-500: Medium Gray */
  --color-text-muted: #94A3B8;   /* Slate-400 */
  
  --color-success: #22C55E;      /* Green-500: Verification */
  --color-error: #EF4444;        /* Red-500: Form Errors */
  --color-whatsapp: #25D366;     /* WhatsApp Green */

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Responsive Font Sizes using Clamp */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(2rem, 1.2rem + 5vw, 4.5rem); /* Hero Title */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Borders & Shadows */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-reveal: 600ms cubic-bezier(0, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   UTILITIES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) { .container { padding: 0 var(--space-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-8); } }

.section {
  padding: var(--space-12) 0;
}

@media (min-width: 768px) { .section { padding: var(--space-24) 0; } }

.bg-alt { background-color: var(--color-bg-alt); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-blue-light { background-color: var(--color-bg-blue-light); }
.bg-green-light { background-color: var(--color-bg-green-light); }
.bg-orange-light { background-color: var(--color-accent-light); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255, 255, 255, 0.8); }
.text-center { text-align: center; }
.text-text-secondary { color: var(--color-text-secondary); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-xl { font-size: var(--text-xl); }

.block { display: block; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.w-full { width: 100%; }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-normal);
  line-height: 1;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-secondary-dark);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-primary:hover {
  background-color: var(--color-bg-blue-light);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background-color: #20BA56;
  color: white;
}

/* Section Headers */
.section-header {
  max-width: 800px;
  margin: 0 auto var(--space-12) auto;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.badge-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(4px);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

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

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preloader-logo {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-bg-alt);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background-color: transparent;
  transition: all var(--transition-slow);
  padding: var(--space-3) 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-2) 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  z-index: 50;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.header:not(.scrolled) .logo-text {
  color: white;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding-bottom: 4px;
}

.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.header:not(.scrolled) .nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-light);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-primary-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 50;
}

.header-cta .btn {
  display: none;
}

@media (min-width: 640px) {
  .header-cta .btn {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 50;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.header:not(.scrolled) .mobile-menu-btn span {
  background-color: white;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: white;
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: white;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-primary-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--space-16);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.6) 0%, rgba(30, 58, 138, 0.9) 100%);
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
    margin: 0;
  }
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: white;
  font-weight: 600;
  font-size: var(--text-xs); /* Slightly smaller on mobile */
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  white-space: normal;
}

@media (min-width: 640px) {
  .hero-badge {
    font-size: var(--text-sm);
  }
}

.hero-title {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

@media (max-width: 1023px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-services-scroll {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hero-services-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .hero-services-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.hero-service-chip {
  flex: 0 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: var(--text-sm);
  backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  width: 100%;
}

.hero-ctas .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
  .hero-ctas .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.hero-quick-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .hero-quick-info {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-quick-info {
    justify-content: flex-start;
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.info-icon {
  font-size: 1.25rem;
}

.info-divider {
  display: none;
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .info-divider {
    display: block;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: white;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Trust Bar */
.trust-bar {
  background-color: var(--color-bg-blue-light);
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .trust-item {
    flex-direction: row;
    text-align: left;
  }
}

.trust-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: var(--text-base);
  margin-bottom: 0.25rem;
}

.trust-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-badge-floating {
  position: absolute;
  bottom: var(--space-6);
  right: -20px; /* Adjust based on layout */
  background-color: white;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: 4px solid var(--color-primary);
}

@media (max-width: 1023px) {
  .about-badge-floating {
    right: var(--space-6);
  }
}

.about-subtitle {
  font-weight: 500;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.about-bio {
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--color-text-main);
}

.check-icon {
  flex-shrink: 0;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: white;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.service-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.service-desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.service-includes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.service-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-includes li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
}

.service-link {
  color: var(--color-primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: var(--color-primary);
}

/* Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin: var(--space-12) auto;
  max-width: 1000px;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-bg-blue-light);
  position: absolute;
  top: -1.5rem;
  z-index: -1;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .process-number {
    font-size: 4rem;
    top: -2rem;
    opacity: 1;
  }
}

.process-icon {
  width: 64px;
  height: 64px;
  background-color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
  border: 2px solid var(--color-bg-alt);
}

.process-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.process-desc {
  color: var(--color-text-secondary);
}

.process-connector {
  display: none;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, transparent 50%, var(--color-text-muted) 50%);
  background-size: 10px 100%;
  margin-top: 32px; /* Align with center of icon */
  opacity: 0.5;
}

@media (min-width: 768px) {
  .process-connector {
    display: block;
  }
}

/* Testimonials Carousel */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .carousel-container {
    padding: 0 var(--space-8);
  }
}

.carousel-track {
  display: flex;
  transition: transform 500ms ease-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.5;
  transition: opacity 500ms;
}

.carousel-slide.active {
  opacity: 1;
}

.testimonial-quotes {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: -2rem;
}

.testimonial-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: var(--space-6);
  max-width: 700px;
}

.testimonial-divider {
  width: 40px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-4);
}

.testimonial-author {
  color: white;
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.testimonial-stars {
  color: #FBBF24; /* Yellow-400 */
  letter-spacing: 2px;
  margin-bottom: var(--space-1);
}

.testimonial-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  padding: 0;
}

.dot.active {
  background-color: white;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-main);
  text-align: left;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--color-bg-alt);
}

.faq-icon {
  color: var(--color-primary);
  transition: transform 300ms ease-in-out;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6) var(--space-6);
  color: var(--color-text-secondary);
  border-top: 1px solid transparent;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  /* maxHeight is set via JS */
}

.faq-question[aria-expanded="true"] + .faq-answer .faq-answer-inner {
  border-top-color: var(--color-bg-alt);
  padding-top: var(--space-4);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
  .map-wrapper {
    height: 100%;
    min-height: 600px;
  }
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.contact-card-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.contact-link {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-primary-light);
  font-weight: 500;
  margin-top: var(--space-2);
}

.contact-link:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-alt);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: white;
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border-color: var(--color-error);
}

.form-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 1rem;
  background-color: var(--color-bg-green-light);
  color: var(--color-secondary-dark);
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-align: center;
  margin-top: var(--space-4);
}

/* Footer */
.footer {
  background-color: var(--color-text-main);
  color: white;
  padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}

.footer-slogan {
  color: var(--color-primary-light);
  font-weight: 600;
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.text-primary-light {
  color: var(--color-primary-light);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
}

.footer-bottom-links a {
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

/* Floating WhatsApp */
.whatsapp-floating {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 50px;
  height: 50px;
  background-color: var(--color-whatsapp);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 50;
  transition: transform var(--transition-normal);
  animation: pulse 4s infinite;
}

@media (min-width: 768px) {
  .whatsapp-floating {
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
  }
}

.whatsapp-floating:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: white;
  color: var(--color-text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.whatsapp-tooltip.fade-out {
  opacity: 0;
}
