@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors - Luxury Dark Theme */
  --bg-primary: #08090a; /* Premium deep black */
  --bg-secondary: #0e1118; /* Deep charcoal navy */
  --bg-tertiary: #151a24; /* Panel color */
  --bg-panel: #1a2230; /* Elevated charcoal-navy panels */
  
  --color-primary: #9fdfdf; /* Pastel teal/cyan from ohmyheavenlyhair */
  --color-primary-dark: #7acbcb; /* Muted teal */
  --color-primary-light: rgba(159, 223, 223, 0.15);
  --color-primary-rgb: 159, 223, 223;
  
  --color-secondary: #fcfbfa; /* Warm off-white headings */
  --color-secondary-light: #e7e5e4; /* Light stone/beige secondary text */
  --color-secondary-rgb: 252, 251, 250;
  
  --color-accent: #bfae99; /* Warm sand/gold */
  --color-accent-light: rgba(191, 174, 153, 0.15);
  
  --color-text: #dcd7d2; /* Warm gray for readability */
  --color-text-muted: #c4bdb5; /* High-contrast warm gray */
  --color-border: rgba(255, 255, 255, 0.08); /* Transparent subtle borders */
  --color-panel-border: rgba(159, 223, 223, 0.18);
  
  /* Brand Specifics */
  --color-brand-mint: #9fdfdf;
  --color-brand-gold: #bfae99;
  
  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 4px; /* More elegant, sharp corners */
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Layout */
  --header-height: 90px;
  --header-shrink-height: 70px;
  --max-width: 1280px;
}

/* Maintain dark variables even if prefers-color-scheme is light or dark */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #08090a;
    --bg-secondary: #0e1118;
    --bg-tertiary: #151a24;
    --color-text: #dcd7d2;
    --color-text-muted: #c4bdb5;
    --color-border: rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #08090a;
    --bg-secondary: #0e1118;
    --bg-tertiary: #151a24;
    --color-text: #dcd7d2;
    --color-text-muted: #c4bdb5;
    --color-border: rgba(255, 255, 255, 0.08);
  }
}


/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: calc(var(--header-height) + 38px);
  overflow-x: hidden;
}

/* Homepage only: extend the hero's soft ambient color through the page. */
body.home-page {
  background:
    radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.40) 0%, rgba(248, 250, 252, 0) 50%),
    radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.05) 0%, rgba(248, 250, 252, 0) 40%),
    var(--bg-primary);
  background-attachment: fixed;
}

body.home-page .hero,
body.home-page .section-alt {
  background: transparent;
}

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

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  font-weight: 400;
}

.uppercase-serif {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.italic-serif {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.6rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

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

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-tertiary);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.badge-secondary {
  background-color: var(--color-border);
  color: var(--color-secondary-light);
}

.badge-accent {
  background-color: var(--color-accent-light);
  color: #b45309;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

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

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

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(26, 34, 48, 0.94);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--color-panel-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-brand-mint);
  color: #08090a;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.announcement-link {
  color: #08090a;
  text-decoration: underline;
  margin-left: 0.5rem;
  transition: opacity var(--transition-fast);
}

.announcement-link:hover {
  opacity: 0.8;
}

.site-header {
  position: fixed;
  top: 38px; /* Positioned below the announcement bar */
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(8, 9, 10, 0.85); /* Deep dark background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: height var(--transition-normal), background-color var(--transition-normal);
}


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

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: width var(--transition-normal), height var(--transition-normal);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-secondary);
  white-space: nowrap;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 11.2rem;
}

.logo-title {
  font-family: var(--font-body);
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-secondary);
  line-height: 1.05;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--color-brand-mint); /* Light teal/cyan matching the logo image */
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
}

.logo-tagline {
  font-size: 0.48rem;
  color: var(--color-brand-gold); /* Warm sand/gold matching the logo image */
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 1px;
}



.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-secondary-light);
  font-size: 1.12rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-cta {
  display: none;
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-secondary);
  margin-bottom: 5px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

/* Keep the compact navigation self-contained on phones and tablets. The
   announcement and header stay in normal document flow, so neither can cover
   the page content when the announcement wraps to a second line. */
@media (max-width: 1023px) {
  body {
    padding-top: 0;
  }

  .announcement-bar {
    position: static;
    height: auto;
    min-height: 44px;
    padding: 0.55rem 1rem;
    line-height: 1.35;
    text-align: center;
  }

  .site-header {
    position: sticky;
    top: 0;
    height: 72px;
  }

  .header-container {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 479px) {
  .site-header {
    height: 90px;
  }

  .header-container {
    align-items: flex-start;
    padding-top: 14px;
  }

  .logo {
    gap: 0.55rem;
  }

  .logo-icon-img {
    width: 38px;
    height: 38px;
  }

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

  .logo-text {
    display: flex;
    width: 8.25rem;
    gap: 0.15rem;
    padding-top: 1px;
  }

  .logo-title {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .logo-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    position: absolute;
    top: 17px;
    right: 0.9rem;
  }

  .nav-cta.btn {
    display: inline-flex;
    position: absolute;
    top: 56px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-height: 28px;
    padding: 0.32rem 0.6rem;
    font-size: 0.56rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .nav-menu {
    top: 100%;
    padding: 1.5rem;
    gap: 1.15rem;
  }
}

/* Shrinking Header Animation on Scroll */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      height: var(--header-shrink-height);
      background-color: rgba(8, 9, 10, 0.95);
      box-shadow: var(--shadow-md);
    }
  }
  @keyframes shrink-logo-icon {
    to {
      width: 40px;
      height: 40px;
    }
  }
  
  .site-header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
  
  .logo-icon-img {
    animation: shrink-logo-icon auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn-primary {
  background-color: var(--color-brand-gold);
  color: #08090a;
  box-shadow: none;
}

.btn-primary:hover {
  background-color: #e2d5c3;
  color: #08090a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 174, 153, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: #08090a;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--bg-secondary);
  color: var(--color-secondary);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-dark:hover {
  background-color: var(--color-primary);
  color: #08090a;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.btn-accent:hover {
  background-color: #d97706;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 7rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.4) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.05) 0%, rgba(248, 250, 252, 0) 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  max-width: 720px;
}

.hero-tagline {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hero-mission-line {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  letter-spacing: 0.055em;
  line-height: 1.1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center bottom;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
  color: white;
}

.hero-card-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.hero-card-overlay p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ==========================================================================
   Audience Cards (Two Paths)
   ========================================================================== */
.paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

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

.path-card {
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.path-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.line-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

.path-icon .line-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.path-card h3 {
  margin-bottom: 1rem;
}

.path-card p {
  color: var(--color-text-muted);
  flex-grow: 1;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.service-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-panel);
  border: 1px solid var(--color-panel-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card-icon .line-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.service-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ==========================================================================
   Process (How It Works)
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

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

.step-card {
  position: relative;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 1.5rem auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.step-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Connector Line for steps */
@media (min-width: 768px) {
  .process-steps::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
  }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.pricing-plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-terms {
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin-bottom: 3rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.pricing-features li.excluded {
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pricing-features li.excluded::before {
  content: '✕';
  color: var(--color-text-muted);
}

.pricing-notes {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
}

/* ==========================================================================
   Interactive Forms
   ========================================================================== */
.form-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.form-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--bg-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-group input {
  margin-top: 0.25rem;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.form-alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   Accordion / FAQs
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.faq-question h3 {
  font-size: 1.15rem;
  color: var(--color-secondary-light);
  transition: color var(--transition-fast);
}

.faq-question:hover h3 {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-normal);
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  padding-top: 1rem;
  margin-bottom: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-item.open .faq-answer {
  max-height: 300px; /* Large enough value to host paragraph text */
}

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-portrait {
  text-align: center;
}

.about-portrait .about-image img {
  display: block;
  height: 500px;
}

.about-tribute {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  color: var(--color-secondary-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.45;
}

.about-tribute p {
  margin-bottom: 0.6rem;
}

.about-tribute cite {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.credential-box {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-panel-border);
  background-color: var(--bg-panel);
  text-align: center;
}

.credential-box h4 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.credential-box p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Contact Elements
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.contact-method {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .line-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-line-icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary-light);
}

.heading-line-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.45rem;
  color: var(--color-primary);
}

.credential-icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.contact-method h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-method p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-secondary);
  color: #94a3b8;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h3, .site-footer h4 {
  color: #0f766e !important;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand-title img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-title h3 {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

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

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

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

.footer-legal-links a:hover {
  color: #94a3b8;
}

.compliance-text {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.4;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Scroll Animations (Progressive Enhancement)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-on-scroll {
      view-timeline-name: --reveal-tl;
      view-timeline-axis: block;
      animation: reveal-up auto cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: --reveal-tl;
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Fallback for JS intersection observer reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* The generic .btn rule is declared after the navigation styles. Keep the
   header-only consultation CTA out of the compact layout until desktop. */
@media (min-width: 480px) and (max-width: 1023px) {
  .nav-cta.btn {
    display: none;
  }
}
