/* AMG Counseling - Brand Styles */
/* Royal blue palette (#2151A4) to match logo */

:root {
  /* Brand colors - Royal blue from logo */
  --color-primary: #e8eef4;
  --color-primary-dark: #2151A4;
  --color-primary-dark-hover: #1a4085;
  --color-secondary: #ffffff;
  --color-accent-gold: #7a8c6b;
  --color-gold-muted: #b8a078;
  --color-accent-sage: #6b8c9e;
  --color-neutral: #F5F5F5;
  --color-text: #333333;
  --color-text-muted: #666666;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.6;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 21px;
  --border-radius: 8px;
  --transition: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-sage);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-gold);
}

/* Header & Navigation - 70% smaller per request */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
}

.header .container {
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: calc(var(--space-sm) * 0.75);
  padding: 3px calc(var(--space-md) * 0.75);
  min-height: 21px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: calc(-1 * var(--space-lg));
  padding-left: 165px;
}

.nav__logo-wrap {
  background: var(--color-primary-dark);
  display: inline-block;
  border-radius: 6px;
  padding: 2px;
  line-height: 0;
}

.nav__logo-link {
  display: block;
  line-height: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.nav__logo-img,
.header__logo-img {
  height: 70px;
  width: auto;
  mix-blend-mode: multiply;
  display: block;
}

.nav__menu,
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
}

.nav__link:hover {
  color: var(--color-accent-gold);
}

/* Contact nav link: muted gold default, light blue when clicked */
a.nav__link[href="contact.html"] {
  color: #b8a078;
}
a.nav__link[href="contact.html"]:hover,
a.nav__link[href="contact.html"]:active {
  color: #94bde8;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu,
  .nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: var(--space-md) 0;
  }

  .nav__menu--open,
  .nav__list--open {
    display: flex;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Section */
.hero {
  background: var(--color-primary);
  background-image: url('../assets/lake-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text);
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Subtle overlay so logo and buttons remain readable on lake/nature backdrop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(33, 81, 164, 0.35) 50%, rgba(26, 64, 133, 0.5) 100%);
  pointer-events: none;
}

.hero .hero__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
}

/* White logo on blue background */
.hero__logo-wrap {
  background: #3a62a7;
  display: inline-block;
  border-radius: 8px;
  padding: var(--space-md);
  margin: 0 auto var(--space-lg);
}

.hero__logo {
  height: 480px;
  width: 480px;
  max-width: 100%;
  max-height: 560px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  filter: invert(1);
  mix-blend-mode: screen;
  display: block;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 var(--space-sm);
}

.hero__subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 var(--space-md);
  text-transform: lowercase;
}

.hero__tagline {
  font-size: 1.25rem;
  margin: 0 0 var(--space-xl);
  font-weight: 500;
}

.hero__cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-accent-gold);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.hero__cta:hover {
  background: var(--color-accent-sage);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.hero__call-text {
  font-size: 0.875rem;
  margin: var(--space-md) 0 0;
  opacity: 0.9;
  color: #fff;
}

.hero__call-text a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.hero__call-text a:hover {
  text-decoration: underline;
}

/* Hero Request an Appointment: muted gold default, light blue when clicked */
.hero .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
}
.hero .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
.hero .btn--primary:hover,
.hero .btn--primary:active {
  background: #6ba3d9 !important;
  color: #fff !important;
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 1.75rem;
  }
}

/* Features bar - 4 items between hero and services */
.features-bar {
  background: #f8fafc;
  padding: var(--space-xl) var(--space-lg);
}

.features-bar__grid,
.features-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
}

.features-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: #3d5c6e;
  max-width: 200px;
}

.features-bar__item--button {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary-dark);
  color: white;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.features-bar__item--button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 189, 232, 0.7) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.features-bar__item--button:hover,
.features-bar__item--button:active {
  background: var(--color-gold-muted);
  color: white;
  transform: translateY(-2px);
}

/* Features bar: shimmer with lighter blue band as it sweeps */
.features-bar__item--button {
  position: relative;
  overflow: hidden;
}
.features-bar__item--button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 189, 232, 0.7) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.features-bar__item--button .features-bar__icon svg {
  stroke: currentColor;
}

/* Features bar: shimmer with light blue band as it sweeps */
.features-bar__item--button {
  position: relative;
  overflow: hidden;
}
.features-bar__item--button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 189, 232, 0.7) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.features-bar__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.features-bar__icon svg {
  width: 100%;
  height: 100%;
}

.features-bar__text {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* First item as button-style link */
.features-bar__item--button {
  text-decoration: none;
  color: inherit;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary-dark);
  color: white;
  border-radius: var(--border-radius);
  transition: background var(--transition), transform var(--transition);
}

.features-bar__item--button .features-bar__icon {
  color: white;
}

.features-bar__item--button .features-bar__icon svg {
  stroke: white;
}

.features-bar__item--button .features-bar__text {
  color: white;
}

.features-bar__item--button:hover,
.features-bar__item--button:active {
  background: var(--color-gold-muted);
  color: white;
  transform: translateY(-2px);
}

/* Features-bar buttons: shimmer with lighter blue band */
.features-bar__item--button {
  position: relative;
  overflow: hidden;
}
.features-bar__item--button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 189, 232, 0.7) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
/* Wave: shimmer flows across buttons one by one */
.features-bar__grid .features-bar__item--button:nth-child(1)::before { animation-delay: 0s; }
.features-bar__grid .features-bar__item--button:nth-child(2)::before { animation-delay: 0.5s; }
.features-bar__grid .features-bar__item--button:nth-child(3)::before { animation-delay: 1s; }
.features-bar__grid .features-bar__item--button:nth-child(4)::before { animation-delay: 1.5s; }
.features-bar__grid .features-bar__item--button:nth-child(2)::before { animation-delay: 0.6s; }
.features-bar__grid .features-bar__item--button:nth-child(3)::before { animation-delay: 1.2s; }
.features-bar__grid .features-bar__item--button:nth-child(4)::before { animation-delay: 1.8s; }

@media (max-width: 768px) {
  .features-bar__grid,
  .features-bar__inner {
    gap: var(--space-xl);
  }
  .features-bar__item {
    max-width: 160px;
  }
}

/* Section defaults */
.section {
  padding: var(--space-3xl) var(--space-xl);
}

.section--alt {
  background: var(--color-neutral);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: 2rem;
  color: #000;
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

.section__title--light {
  color: var(--color-secondary);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-secondary);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-accent-sage);
}

.service-card__title {
  font-size: 1.25rem;
  color: #000;
  margin: 0 0 var(--space-sm);
}

.service-card__text {
  margin: 0;
  color: var(--color-text-muted);
}

/* About teaser */
.about-teaser {
  text-align: center;
}

.about-teaser__text {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
}

.about-teaser__link {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.about-teaser__link:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Booking section */
.booking {
  background: var(--color-primary);
  color: var(--color-text);
}

.booking .section__title {
  color: var(--color-text);
}

.booking__form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-secondary);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--color-accent-gold);
  color: white;
}

.btn--primary:hover,
.btn--primary:active {
  background: #b8a078;
  color: white;
}

.btn--accent {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn--accent:hover {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
}

/* Dark sections: solid accent so button is visible without hover */
.section--dark .btn--accent {
  background: rgba(255,255,255,0.95);
  color: var(--color-primary-dark);
  border-color: #fff;
}
.section--dark .btn--accent:hover {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

/* Light sections: all CTAs need dark button for visibility (accent-gold/transparent invisible on white) */
.section--light .btn--accent,
.section--light .btn--primary {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  border: 2px solid var(--color-primary-dark) !important;
}
/* Who I Serve: muted gold + shimmer (override section--light) */
#who-i-serve.section--light .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#who-i-serve.section--light .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#who-i-serve.section--light .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}
/* Who I Serve: muted gold + shimmer (override section--light) */
#who-i-serve.section--light .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#who-i-serve.section--light .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#who-i-serve.section--light .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}
.section--light .btn--accent:hover,
.section--light .btn--primary:hover {
  background: #1a4085 !important;
  color: #fff !important;
  border-color: #1a4085 !important;
}

/* Who I Serve: muted gold + shimmer (override section--light) */
#who-i-serve.section--light .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#who-i-serve.section--light .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#who-i-serve.section--light .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

/* Contact page: extra specificity so button is always visible */
#contact-cta .btn {
  background: #2151A4 !important;
  color: #fff !important;
  border: 2px solid #2151A4 !important;
}
#contact-cta .btn:hover {
  background: #1a4085 !important;
  color: #fff !important;
  border-color: #1a4085 !important;
}

.btn--block {
  width: 100%;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
}

.contact-cta__text {
  margin: 0 0 var(--space-lg);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-secondary);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__tagline {
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  opacity: 0.9;
}

.footer__copyright {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Contact page */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-info p {
  margin: var(--space-sm) 0;
}

/* Section backgrounds */
.section--light {
  background: var(--color-secondary);
}

.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-text);
}

/* Home page: blue gradient from services-overview down (deep → lighter) */
#services-overview {
  background: #2151A4 !important;
}
#services-overview .section__title,
#services-overview .section__subtitle {
  color: #fff !important;
}
#services-overview .service-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
}
#services-overview .service-card__title { color: var(--color-text); }
#services-overview .service-card__text { color: var(--color-text-muted); }
#services-overview .service-card__link { color: var(--color-primary-dark); }

#about-teaser {
  background: #2d65b5 !important;
}
#about-teaser .section__title--light,
#about-teaser .section__text--light { color: #fff !important; }
#about-teaser .btn--accent {
  background: var(--color-gold-muted) !important;
  color: #fff !important;
  border-color: var(--color-gold-muted) !important;
  position: relative;
  overflow: hidden;
}
#about-teaser .btn--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
}
#about-teaser .btn--accent:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

#booking {
  background: #4a85c9 !important;
}
#booking .section__title,
#booking .section__subtitle,
#booking .form-group label { color: #fff !important; }
#booking .form-group input,
#booking .form-group select,
#booking .form-group textarea {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
#booking .form-group input::placeholder,
#booking .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.7); }
#booking .btn--primary {
  background: var(--color-gold-muted) !important;
  color: #fff !important;
  border: 2px solid var(--color-gold-muted) !important;
}
#booking .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}
#booking .btn--primary {
  position: relative;
  overflow: hidden;
}
#booking .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

#fees {
  background: #6ba3d9 !important;
}
#fees .section__title--light,
#fees .section__text--light,
#fees .service-detail a:not(.btn--accent) { color: #fff !important; }
#fees .btn--accent,
#fees .service-detail a.btn--accent {
  background: var(--color-gold-muted) !important;
  color: #fff !important;
  border-color: var(--color-gold-muted) !important;
  text-shadow: none !important;
}
#fees .btn--accent:hover,
#fees .service-detail a.btn--accent:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

/* Shimmer on booking, fees & meet-alexi buttons */
#booking .btn--primary,
#fees .btn--accent,
#fees .service-detail a.btn--accent,
#meet-alexi .btn--accent {
  position: relative;
  overflow: hidden;
}
#booking .btn--primary::before,
#fees .btn--accent::before,
#fees .service-detail a.btn--accent::before,
#meet-alexi .btn--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* Meet Alexi button: muted gold + shimmer */
#meet-alexi .btn--accent {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
#meet-alexi .btn--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#meet-alexi .btn--accent:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

.section--cta {
  background: #94bde8 !important;
  color: #333;
}
.section--cta .section__title--light,
.section--cta .section__text--light { color: #333 !important; }
.section--cta .btn--accent {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
.section--cta .btn--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
.section--cta .btn--accent:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

.section__text {
  margin: 0 0 var(--space-md);
  max-width: 65ch;
}

.section__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.5rem;
  max-width: 65ch;
}

.section__list li {
  margin-bottom: var(--space-sm);
}

.section__list li:last-child {
  margin-bottom: 0;
}

.section__text--light {
  color: rgba(255, 255, 255, 0.95);
}

.section__subtitle {
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.section__subtitle:first-child {
  margin-top: 0;
}

.section__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.5rem;
  max-width: 65ch;
}
.section__list li {
  margin-bottom: var(--space-sm);
}

/* Page hero */
.page-hero {
  background: var(--color-primary);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.page-hero__title {
  margin: 0 0 var(--space-sm);
  font-size: 2rem;
}

.page-hero__tagline {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
}

/* Therapist profile - text wraps around photo */
.therapist-profile {
  max-width: 900px;
  margin: 0 auto;
  overflow: auto;
}

.therapist-profile::after {
  content: "";
  display: table;
  clear: both;
}

.therapist__photo-wrap {
  float: left;
  width: 280px;
  margin: 0 var(--space-2xl) var(--space-lg) 0;
  shape-outside: margin-box;
  shape-margin: 0.5rem;
}

/* Meet Alexi: white text for maximum visibility on dark blue background */
#meet-alexi {
  background: #1a4085 !important;
  color: #fff !important;
}
#meet-alexi .therapist__name,
#meet-alexi .therapist__credentials,
#meet-alexi .therapist__text,
#meet-alexi .therapist__meta,
#meet-alexi .therapist__meta p,
#meet-alexi .therapist__meta strong,
#meet-alexi .therapist__subtitle {
  color: #fff !important;
}
#meet-alexi .therapist__credentials a,
#meet-alexi .therapist-profile a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#meet-alexi .therapist__credentials a:hover,
#meet-alexi .therapist-profile a:hover {
  color: #fff;
  opacity: 0.9;
}
#meet-alexi .therapist__tags li {
  background: rgba(255, 255, 255, 0.25);
  color: #fff !important;
}
#meet-alexi .therapist__meta {
  border-top-color: rgba(255, 255, 255, 0.35);
}
#meet-alexi .therapist__bio {
  color: #fff !important;
}

.therapist__photo-wrap {
  aspect-ratio: 1;
  background: var(--color-neutral);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 200px;
  flex-shrink: 0;
}

.therapist__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapist__content {
  min-width: 0;
}

.therapist__name {
  font-size: 1.5rem;
  margin: 0 0 var(--space-xs);
}

.therapist__credentials {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 var(--space-lg);
}

.therapist__text {
  margin: 0 0 var(--space-md);
}

.therapist__meta {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.therapist__meta p {
  margin: var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.therapist__meta strong {
  color: var(--color-text);
}

.therapist__subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.therapist__subtitle:first-of-type {
  margin-top: 0;
}

.therapist__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.therapist__tags li {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.875rem;
}

/* Meet Alexi - light text for contrast on dark blue section */
#meet-alexi .therapist-profile,
#meet-alexi .therapist-profile * {
  color: #fff !important;
}

#meet-alexi .therapist__name,
#meet-alexi .therapist__credentials,
#meet-alexi .therapist__text,
#meet-alexi .therapist__meta,
#meet-alexi .therapist__meta p,
#meet-alexi .therapist__meta strong,
#meet-alexi .therapist__subtitle,
#meet-alexi .therapist__tags li {
  color: #fff !important;
}

#meet-alexi .therapist__credentials a,
#meet-alexi .therapist-profile a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#meet-alexi .therapist__credentials a:hover,
#meet-alexi .therapist-profile a:hover {
  color: #fff !important;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .therapist__photo-wrap {
    float: none;
    max-width: 280px;
    margin: 0 auto var(--space-lg);
    display: block;
  }
}

/* Values list */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.value-item {
  padding: var(--space-lg);
}

.value-item__title {
  font-size: 1.2rem;
  margin: 0 0 var(--space-sm);
}

.value-item__text {
  margin: 0;
  font-size: 0.95rem;
}

/* My Values section - white text for visibility like Meet Alexi */
#my-values {
  background: #1a4085 !important;
}

#my-values .section__title--light,
#my-values .value-item__title,
#my-values .value-item__text {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#my-values .section__title--light {
  font-size: 2.25rem;
  font-weight: 700;
}

#my-values .value-item__title {
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

#my-values .value-item__text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Who I Serve - centered paragraph with first-line indent */
#who-i-serve .section__text {
  text-align: center;
  text-indent: 2em;
  max-width: 656px;
  margin-left: auto;
  margin-right: auto;
}

/* The Mission - reduced title size, centered paragraph with first-line indent */
#the-mission .section__title {
  font-size: 1.25rem;
}

#the-mission .section__text {
  text-align: center;
  text-indent: 2em;
  max-width: 656px;
  margin-left: auto;
  margin-right: auto;
}

/* About page: blue gradient from the-mission down (deep → lighter) */
#the-mission {
  background: #2151A4 !important;
}
#the-mission .section__title,
#the-mission .section__text {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#meet-alexi {
  background: #2d65b5 !important;
}
#meet-alexi .btn--accent {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#meet-alexi .btn--accent:hover {
  background: #a08060 !important;
  border-color: #a08060 !important;
  color: #fff !important;
}
#meet-alexi .btn--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

#my-values {
  background: #4a85c9 !important;
}

#who-i-serve {
  background: #6ba3d9 !important;
}
#who-i-serve .section__title,
#who-i-serve .section__text {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#who-i-serve .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#who-i-serve .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#who-i-serve .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

/* About teaser (home) - centered paragraph with first-line indent */
#about-teaser .section__text {
  text-align: center;
  text-indent: 2em;
  max-width: 656px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact layout */
.contact-layout {
  max-width: 700px;
  margin: 0 auto;
}

/* Fees list */
.fees-list {
  margin: 0 0 var(--space-lg);
  padding-left: 1.25rem;
}

.fees-list li {
  margin: var(--space-sm) 0;
}

/* About page */
.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--color-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-md);
}

/* Services page */
.service-detail {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.service-detail h2 {
  color: #1a1a1a;
  margin-top: 0;
  font-weight: 700;
}

/* Light sections - ensure text is dark and legible */
#counseling .service-detail,
#brainspotting .service-detail {
  color: #000;
}

#counseling .section__title,
#counseling .section__text,
#brainspotting .section__title,
#brainspotting .section__text {
  color: #000 !important;
  font-weight: 600;
}

#counseling .section__title,
#brainspotting .section__title {
  font-size: 2.25rem;
}

#counseling .section__text,
#brainspotting .section__text {
  font-size: 1.1rem;
  line-height: 1.7;
}

#counseling .section__text,
#brainspotting .section__text {
  margin-left: 1.5in;
  text-indent: 2em;
}

/* Services page: blue gradient from #counseling down (deep → lighter) */
#counseling {
  background: #2151A4 !important;
  color: #fff;
}
#counseling .service-detail {
  background: transparent !important;
  box-shadow: none !important;
}
#counseling .section__title,
#counseling .section__text {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
#counseling .section__title {
  font-size: 2.25rem;
  font-weight: 700;
}
#counseling .section__text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
  margin-left: 1.5in;
  text-indent: 2em;
}

#trauma {
  background: #2d65b5 !important;
}

#brainspotting {
  background: #4a85c9 !important;
  color: #fff;
}
#brainspotting .service-detail {
  background: transparent !important;
  box-shadow: none !important;
}
#brainspotting .section__title,
#brainspotting .section__text {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
#brainspotting .section__title {
  font-size: 2.25rem;
  font-weight: 700;
}
#brainspotting .section__text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
}
#brainspotting .btn--primary {
  background: #b8a078 !important;
  color: #fff !important;
  border: 2px solid #b8a078 !important;
  position: relative;
  overflow: hidden;
}
#brainspotting .btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
#brainspotting .btn--primary:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

#fees {
  background: #6ba3d9 !important;
}

/* Dark sections - transparent card so white text shows */
#trauma .service-detail,
#fees .service-detail {
  background: transparent;
  box-shadow: none;
}

#trauma .section__text--light {
  margin-left: 1.5in;
  text-indent: 2em;
}

#trauma .section__title--light,
#trauma .section__text--light,
#trauma .service-detail a,
#fees .section__title--light,
#fees .section__text--light,
#fees .service-detail a:not(.btn--accent) {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
#trauma .section__title--light,
#fees .section__title--light {
  font-weight: 700;
  font-size: 2.25rem;
}
#trauma .section__text--light,
#fees .section__text--light {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.7;
}

#fees .section__text--light a {
  color: #fff !important;
  text-decoration: underline;
}

/* Fees CTA button: muted gold */
#fees .service-detail a.btn--accent {
  background: var(--color-gold-muted) !important;
  color: #fff !important;
  border: 2px solid var(--color-gold-muted) !important;
  text-shadow: none !important;
}
#fees .service-detail a.btn--accent:hover {
  background: #a08060 !important;
  color: #fff !important;
  border-color: #a08060 !important;
}

/* Success/error messages */
.form-success {
  padding: var(--space-md);
  background: var(--color-accent-sage);
  color: var(--color-secondary);
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.form-error {
  padding: var(--space-md);
  background: #e74c3c;
  color: white;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: var(--space-lg);
}
