:root {
  /* Colors */
  --bg-color: #FDFBF7;
  --primary-blue: #0F4C81;
  --text-heading: #1E2B3C;
  --text-body: #475569;
  --accent-gold: #D4AF37;
  --cta-blue: #087F8C;
  --whatsapp-green: #10B981;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --spacing-section: 8rem;
  --spacing-element: 2rem;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

.section-minimal {
  padding: calc(var(--spacing-section) / 2) 0;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.content-sidebar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .content-sidebar-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-2 {
    gap: 3rem;
  }

  :root {
    --spacing-section: 4rem;
    --spacing-element: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .content-sidebar-grid,
  .case-study-grid {
    gap: 1.5rem;
  }
}

/* Components: Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--cta-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #0062cc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
  background-color: var(--cta-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-whatsapp:hover {
  background-color: #0da371;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Header & Nav */
.header {
  padding: 1.5rem 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  position: absolute;
  /* Changed from sticky to avoid pushing hero content down */
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--cta-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-heading);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-subtle);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-links .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Fade In Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Premium Homepage Hero --- */
.hero-premium {
  height: 100vh;
  /* Strict viewport height for desktop */
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  /* Remove top padding since height is fixed */
  text-align: left;
}

/* Subtle Animated Mesh Gradient Background */
.hero-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(at 0% 0%, rgba(15, 76, 129, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.04) 0px, transparent 50%);
  z-index: -1;
  opacity: 0.8;
}

.hero-premium-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pill-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

/* Lead Gen Triage Bar */
.lead-gen-triage {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 15px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
  margin: 0 0 1.5rem 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.triage-prompt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  text-align: left;
  padding-left: 0.5rem;
}

.triage-options {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.triage-btn {
  flex: 1;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.triage-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color: var(--primary-blue);
}

.triage-cta {
  flex: 1.1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
}

/* Trust Indicators below Hero */
.hero-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  color: var(--text-body);
  font-size: 0.95rem;
}

@media (max-width: 900px) {

  /* Compact mobile hero - no full bleed */
  .hero-premium {
    height: auto;
    min-height: auto;
    padding: 6rem 0 3rem 0;
  }

  /* Hide the hero image on mobile to save vertical space */
  .hero-image-wrapper {
    display: none;
  }

  /* 2x2 grid for triage so CTA stays visible */
  .triage-options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .triage-btn {
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.85rem 0.5rem;
    font-size: 0.85rem;
  }

  .triage-cta {
    flex: 1 1 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  .triage-prompt {
    text-align: center;
    padding-left: 0;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .lead-gen-triage {
    margin-bottom: 1rem;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 1.5rem;
    border-top: none;
    padding-top: 1.5rem;
  }
}

/* Treatment Cards */
.treatment-card {
  background: white;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: left;
  text-decoration: none;
  color: var(--text-heading);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: block;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .treatment-card {
    padding: 2rem 1.5rem;
  }
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 0, 0, 0.05);
}

.treatment-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.treatment-card p {
  color: var(--text-body);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.treatment-card .arrow-icon {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: var(--cta-blue);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.treatment-card:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Process Section */
.process-step {
  border-radius: var(--radius);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

@media (max-width: 900px) {
  .process-step {
    background: #f9fafb;
    padding: 2rem;
    border-radius: var(--radius);
  }
}

/* Stats Section */
.stat-box {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-heading);
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 6rem 2rem;
  box-shadow: var(--shadow-subtle);
  margin: 4rem 0;
}

@media (max-width: 600px) {
  .final-cta {
    padding: 4rem 1.5rem;
    margin: 2rem 0;
  }

  .final-cta h2 {
    font-size: 2rem !important;
  }
}

/* Mobile CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.mobile-cta-item {
  flex: 1;
  text-align: center;
  padding: 1rem 0;
  font-weight: 500;
  color: var(--text-heading);
  text-decoration: none;
  border-right: 1px solid #f3f4f6;
  font-size: 0.95rem;
}

.mobile-cta-item:last-child {
  border-right: none;
}

/* Footer Overrides for Mobile */
@media (max-width: 900px) {
  footer {
    text-align: center;
  }

  footer .grid-4 {
    gap: 3rem;
  }

  footer address {
    margin-bottom: 0.5rem !important;
  }
}

/* Mobile Adjustments for Cramped Spacing */
@media (max-width: 900px) {
  .mobile-cta-bar {
    display: flex;
  }

  body {
    padding-bottom: 80px;
  }

  /* More room for sticky nav */

  .process-step {
    padding: 3rem 2rem;
    margin-bottom: 1rem;
  }

  .stat-box {
    margin-bottom: 3rem;
  }

  .trust-bar {
    padding: 3rem 0;
  }

  .trust-item {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
  }

  /* Treatment Pages overrides */
  div.sidebar {
    position: relative !important;
    top: 0 !important;
    margin-top: 4rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .pill-badge {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding: 0.75rem 1.5rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  /* Massive breathing room */
  .container {
    padding: 0 1.5rem;
  }

  /* Push things off the very edge */
  .treatment-card {
    padding: 2.5rem 1.5rem;
    margin-bottom: 1rem;
  }

  .lead-gen-triage {
    padding: 1.5rem;
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .hero-image-wrapper {
    height: 250px;
  }

  .trust-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}