/**
 * Whitney Heier, LMFT -- Client CSS.
 * Ported from mockup whitney-heier-b.html.
 */

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #6E5B4B;
  --color-secondary: #9B8575;
  --color-accent: #A78591;
  --color-bg: #FAEFE8;
  --color-text: #2B2622;
  --color-bg-alt: #F4EFE8;
  --color-bridge: #988575;
  --color-footer: #6E5B48;
  --font-display: 'Ms Madi', cursive;
  --font-body: 'Source Sans Pro', sans-serif;
  --footer-bg: #6E5B48;
  --footer-text: rgba(255, 255, 255, 0.75);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 239, 232, 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid rgba(110, 91, 75, 0.08);
}
.nav.scrolled {
  background: rgba(250, 239, 232, 0.92);
  box-shadow: 0 2px 20px rgba(110, 91, 75, 0.1);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: flex-end; gap: 10px; }
.nav-logo img { height: 45px; width: auto; }
.nav-logo-text {
  font-family: 'Ms Madi', cursive; font-size: 1.875rem;
  color: var(--color-primary); line-height: 1.1; white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 28px; margin: 0 auto;
}
.nav-links a,
.nav-links > li > a {
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: var(--color-primary); letter-spacing: 0.4px;
  transition: color 0.3s; position: relative;
}
.nav-links a:hover,
.nav-links > li > a:hover { color: var(--color-accent); }

/* Dropdown */
.nav-dropdown,
.dropdown,
.menu-item-has-children { position: relative; }
.nav-dropdown > a::after,
.dropdown > a::after,
.menu-item-has-children > a::after {
  content: ' \25BE'; font-size: 10px; opacity: 0.6;
}
.dropdown-menu,
.menu-item-has-children > .sub-menu {
  position: absolute; top: 100%; left: -12px;
  background: rgba(250, 239, 232, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 8px; padding: 8px 0; min-width: 280px;
  box-shadow: 0 8px 32px rgba(43, 38, 34, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s ease; z-index: 100;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:hover > .sub-menu,
.dropdown:hover .dropdown-menu,
.dropdown:hover > .sub-menu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a,
.menu-item-has-children > .sub-menu a {
  display: block; padding: 8px 20px; font-size: 13px;
  transition: background 0.2s;
}
.dropdown-menu a:hover,
.menu-item-has-children > .sub-menu a:hover { background: rgba(167, 133, 145, 0.1); }
.menu-item-has-children > .sub-menu li { list-style: none; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--color-accent); padding: 7px 18px;
  border-radius: 50px; transition: all 0.3s;
  letter-spacing: 0.3px;
}
.nav-cta:hover { background: var(--color-primary); transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-primary); transition: all 0.3s; border-radius: 2px; }

/* Mobile nav */
.mobile-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250, 239, 232, 0.97); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.mobile-overlay.active { display: flex; }
.mobile-overlay a {
  font-size: 20px; color: var(--color-primary); font-weight: 400; padding: 8px 0;
}
.mobile-overlay .mobile-sub { font-size: 15px; color: var(--color-secondary); padding: 4px 0; }
.mobile-close {
  position: absolute; top: 20px; right: 24px; font-size: 28px;
  cursor: pointer; color: var(--color-primary); background: none; border: none;
}
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mobile-nav-links a { font-size: 20px; color: var(--color-primary); font-weight: 400; padding: 8px 0; }
.mobile-nav-links .sub-menu { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; }
.mobile-nav-links .sub-menu a { font-size: 15px; color: var(--color-secondary); padding: 4px 0; }
.mobile-nav-links .sub-menu li { list-style: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px 60px;
  background-color: var(--color-bg);
  background-image: url('../images/front-hero-knit-wm.jpg');
  background-size: cover; background-position: center;
}
.hero-content { max-width: 720px; }
.hero h1 {
  font-family: var(--font-display); font-size: 72px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 20px; line-height: 1.1;
}
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--color-text);
  margin-bottom: 10px; font-weight: 300;
}
.hero-avail {
  font-size: 14px; color: var(--color-secondary);
  letter-spacing: 0.5px; margin-bottom: 32px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--color-accent); padding: 12px 28px;
  border-radius: 50px; transition: all 0.3s;
  letter-spacing: 0.3px;
}
.hero-cta:hover { background: var(--color-primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(110, 91, 75, 0.2); }
.hero-cta .arrow { font-size: 16px; transition: transform 0.3s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

/* ===== GRADIENT DIVIDERS ===== */
.gradient-divider {
  height: 70px; width: 100%;
  background: linear-gradient(180deg, var(--color-bg) 0%, #F2DDD4 30%, #E8CFC6 50%, #F2DDD4 70%, var(--color-bg) 100%);
  position: relative;
}
.gradient-divider::after {
  content: ''; position: absolute; inset: 0;
  background: inherit; filter: blur(8px);
}
.divider-cream-mauve {
  background: linear-gradient(180deg, var(--color-bg) 0%, #E8CFC6 25%, #D8BFC0 50%, #E4CBCA 75%, var(--color-bg-alt) 100%);
}
.divider-mauve-beige {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #D8BFC0 25%, #DCCABB 50%, #E2D2C4 75%, var(--color-bg) 100%);
}
.divider-beige-mocha {
  background: linear-gradient(180deg, var(--color-bg) 0%, #D6C5B5 25%, #C4B0A0 50%, #B8A595 75%, var(--color-bridge) 100%);
}
.divider-mocha-cream {
  background: linear-gradient(180deg, var(--color-bridge) 0%, #B8A595 25%, #D6C5B5 50%, #E8D9CC 75%, var(--color-bg-alt) 100%);
}
.divider-cream-purple {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #D4C4C8 25%, #B8A0AE 50%, #9B7E8E 75%, rgba(80,50,70,0.6) 100%);
}
.divider-purple-cream {
  background: linear-gradient(180deg, rgba(80,50,70,0.6) 0%, #9B7E8E 25%, #C4AEBB 50%, #DFD0D4 75%, var(--color-bg) 100%);
}
.divider-cream-tunnel {
  background: linear-gradient(180deg, var(--color-bg) 0%, #D6C5B5 25%, #B8A090 50%, rgba(110,91,75,0.5) 75%, rgba(110,91,75,0.7) 100%);
}
.divider-tunnel-blush {
  background: linear-gradient(180deg, rgba(110,91,75,0.7) 0%, #B8A090 25%, #D6C5B5 50%, #E8D5CC 75%, var(--color-bg) 100%);
}

/* ===== PAIN PANELS ===== */
.pain-panel {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.pain-panel-overlay {
  position: absolute; inset: 0;
  background: rgba(110, 91, 75, 0.15);
}
.pain-panel-inner {
  position: relative; z-index: 1;
  padding: 65px 24px;
  display: flex; justify-content: center;
}
.frosted-panel {
  background: rgba(250, 239, 232, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 16px; padding: 48px 52px;
  max-width: 720px; width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 40px rgba(43, 38, 34, 0.08);
}
.frosted-panel h2 {
  font-family: var(--font-display); font-size: 48px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 24px; line-height: 1.15;
}
.frosted-panel p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 16px; max-width: 620px;
}
.frosted-panel p:last-child { margin-bottom: 0; }

/* Panel background image placeholders */
.panel-knit { background-image: url('../images/front-pain1-knit-wm.jpg'); }
.panel-mauve { background-image: url('../images/front-pain2-mauve-wm.jpg'); }
.panel-beige { background-image: url('../images/front-pain3-beige-wm.jpg'); }

/* ===== BRIDGE CTA ===== */
.bridge {
  background: var(--color-bridge); padding: 65px 24px;
  text-align: center; position: relative; overflow: hidden;
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { background-color: #988575; }
  50% { background-color: #937f70; }
}
.bridge h2 {
  font-family: var(--font-display); font-size: 56px; font-weight: 400;
  color: #fff; margin-bottom: 28px; line-height: 1.2;
}
.bridge p {
  font-size: 16px; line-height: 1.9; color: rgba(255,255,255,0.92);
  max-width: 620px; margin: 0 auto 16px;
}
.bridge p:last-of-type { margin-bottom: 32px; }
.bridge-cta {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.6);
  padding: 12px 32px; border-radius: 50px;
  letter-spacing: 1px; transition: all 0.3s;
}
.bridge-cta:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ===== BIO ===== */
.bio {
  background: var(--color-bg-alt); padding: 65px 24px;
  text-align: center;
}
.bio-photo {
  width: 300px; height: 300px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  margin: 0 auto 32px; display: block;
  box-shadow: 0 12px 48px rgba(43, 38, 34, 0.15);
  border: 5px solid rgba(255,255,255,0.7);
}
.bio h2 {
  font-family: var(--font-display); font-size: 66px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 24px; line-height: 1.1;
}
.bio p {
  font-size: 16px; line-height: 1.9; color: var(--color-text);
  max-width: 650px; margin: 0 auto 16px;
}
.bio p:last-of-type { margin-bottom: 32px; }
.bio-cta {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: var(--color-accent); border: 1.5px solid var(--color-accent);
  padding: 11px 28px; border-radius: 50px;
  letter-spacing: 0.5px; transition: all 0.3s;
}
.bio-cta:hover { background: var(--color-accent); color: #fff; }

/* ===== SERVICES ===== */
.services {
  position: relative; overflow: hidden;
  background-image: url('../images/front-svc-tunnel-wm.jpg');
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.services-overlay {
  position: absolute; inset: 0;
  background: rgba(80, 50, 70, 0.55);
}
.services-inner {
  position: relative; z-index: 1;
  padding: 65px 24px; text-align: center;
}
.services-inner h2 {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.7); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 48px;
}
.service-name {
  font-family: var(--font-display); font-size: 54px; font-weight: 400;
  color: #fff; margin-bottom: 36px; display: block;
  text-shadow: 0 0 30px rgba(255,255,255,0.25), 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}
.service-name:last-child { margin-bottom: 0; }
.service-name:hover {
  transform: scale(1.03);
  text-shadow: 0 0 50px rgba(255,255,255,0.45), 0 2px 4px rgba(0,0,0,0.3);
  color: var(--color-accent);
  letter-spacing: 1px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative; overflow: hidden;
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  background-attachment: fixed; text-align: center;
}
.final-cta-overlay {
  position: absolute; inset: 0;
  background: rgba(110, 91, 75, 0.72);
}
.final-cta-inner {
  position: relative; z-index: 1; padding: 60px 24px; max-width: 720px;
}
.final-cta h2 {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.7); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 40px;
}
.possible-line {
  font-family: var(--font-display); font-size: 56px; font-weight: 400;
  color: #fff; line-height: 1.3; margin-bottom: 8px;
}
.possible-lines { margin-bottom: 36px; }
.final-cta p {
  font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.final-cta p:last-of-type { margin-bottom: 36px; }
.final-cta-btn {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--color-accent);
  padding: 14px 36px; border-radius: 50px;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s;
}
.final-cta-btn:hover { background: var(--color-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== CONTACT FORM (homepage inline -- fallback) ===== */
.contact {
  background: var(--color-bg); padding: 65px 24px;
}
.contact-inner {
  max-width: 500px; margin: 0 auto; text-align: center;
}
.contact h2 {
  font-family: var(--font-display); font-size: 56px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 20px;
}
.contact-info { margin-bottom: 28px; }
.contact-info a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--color-secondary); margin: 4px 12px;
  transition: color 0.3s;
}
.contact-info a:hover { color: var(--color-primary); }
.contact-info svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.contact-form {
  text-align: left;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--color-primary); letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: transparent;
  border: none; border-bottom: 1.5px solid var(--color-secondary);
  padding: 10px 0; outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.captcha-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.captcha-question {
  font-size: 14px; color: var(--color-primary); font-weight: 600;
  white-space: nowrap;
}
.captcha-input {
  width: 70px; font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: transparent;
  border: none; border-bottom: 1.5px solid var(--color-secondary);
  padding: 6px 0; outline: none; text-align: center;
  transition: border-color 0.3s;
}
.captcha-input:focus { border-color: var(--color-accent); }
.submit-btn {
  display: block; width: 100%; font-family: var(--font-body);
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--color-accent); border: none;
  padding: 14px 24px; border-radius: 50px;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.submit-btn:hover { background: var(--color-primary); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-footer); padding: 40px 24px 20px;
  text-align: center; color: rgba(255,255,255,0.75);
}
.footer-logo { height: 36px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: flex;
  align-items: center; justify-content: center;
  transition: background 0.3s;
}
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-contact { margin-bottom: 14px; }
.footer-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.7); margin: 2px 10px;
  transition: color 0.3s;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }
.footer-legal { margin-bottom: 10px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0 8px; transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-disc { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 8px; }

/* Footer minimal (contact page) */
.footer--minimal { padding: 16px 24px; }
.footer--minimal .footer-bottom {
  text-align: center;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-stagger-1 { transition-delay: 0ms; }
.reveal-stagger-2 { transition-delay: 300ms; }
.reveal-stagger-3 { transition-delay: 600ms; }

/* Fade-up (for inner pages) */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}
.delay-1 { transition-delay: 200ms; }

/* ===== INNER PAGE HERO ===== */
.inner-hero {
  position: relative; min-height: 40vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.inner-hero--solid {
  background: var(--color-bg-alt);
}
.inner-hero--image .inner-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.inner-hero--image .inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(110,91,75,0.45) 0%, rgba(110,91,75,0.65) 100%);
}
.inner-hero-content {
  position: relative; z-index: 1; padding: 60px 24px;
}
.inner-hero-content h1 {
  font-family: var(--font-display); font-size: 60px; font-weight: 400;
  line-height: 1.1;
}
.inner-hero--image .inner-hero-content h1 { color: #fff; }
.inner-hero--solid .inner-hero-content h1 { color: var(--color-primary); }

/* ===== ABOUT PAGE ===== */
.about-page .about-body {
  background: var(--color-bg); padding: 60px 0;
}
.about-page .about-intro {
  max-width: 760px; margin: 0 auto;
}
.about-page .about-intro h2 {
  font-family: var(--font-display); font-size: 48px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 20px; line-height: 1.15;
}
.about-page .about-intro p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 16px;
}
.about-page .about-bio {
  background: var(--color-bg-alt); padding: 60px 0;
}
.about-page .about-bio-inner {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px;
  align-items: center;
}
.about-page .about-bio-photo img {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(43, 38, 34, 0.12);
}
.about-page .about-bio-text h2 {
  font-family: var(--font-display); font-size: 46px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 16px; line-height: 1.15;
}
.about-page .about-bio-text p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 14px;
}
.about-page .about-cta-band {
  background: var(--color-accent); padding: 48px 24px;
  text-align: center;
}
.about-page .about-cta-band p {
  font-size: 18px; color: #fff; margin-bottom: 20px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.about-page .about-cta-band .btn {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--color-primary);
  padding: 14px 36px; border-radius: 50px;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s;
}
.about-page .about-cta-band .btn:hover {
  background: var(--color-footer); transform: translateY(-1px);
}

/* ===== CONTACT PAGE ===== */
.contact-page .contact-body {
  background: var(--color-bg); padding: 60px 24px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: 1000px; margin: 0 auto; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display); font-size: 42px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 16px; line-height: 1.15;
}
.contact-info p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 14px;
}
.contact-inline-link {
  color: var(--color-text);
  font-size: inherit;
  font-weight: inherit;
  border-bottom: 1px solid rgba(110, 91, 75, 0.25);
  transition: border-color 0.3s, color 0.3s;
}
.contact-inline-link:hover { color: var(--color-accent); border-color: var(--color-accent); }
.contact-details-block {
  margin-top: 36px;
}
.contact-detail {
  padding: 14px 0;
  border-bottom: 1px solid rgba(110, 91, 75, 0.1);
  display: flex;
  align-items: baseline;
  gap: 0;
}
.contact-detail:first-child {
  border-top: 1px solid rgba(110, 91, 75, 0.1);
}
.contact-detail-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  width: 120px;
  flex-shrink: 0;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.4;
}
a.contact-detail-value {
  color: var(--color-text);
  transition: color 0.3s;
}
a.contact-detail-value:hover { color: var(--color-accent); }

.contact-form-wrap h3 {
  font-family: var(--font-display); font-size: 36px; font-weight: 400;
  color: var(--color-primary); margin-bottom: 8px; line-height: 1.15;
}
.contact-form-wrap h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 12px;
  margin-bottom: 28px;
}

/* ===== FAQ PAGE ===== */
.faq-page .faq-body {
  background: var(--color-bg); padding: 60px 0;
}
.faq-list {
  max-width: 760px; margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(110, 91, 75, 0.12);
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; background: none; border: none;
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--color-primary); cursor: pointer;
  text-align: left; transition: color 0.3s;
}
.faq-question:hover { color: var(--color-accent); }
.faq-q-text { flex: 1; padding-right: 16px; }
.faq-icon {
  font-size: 22px; font-weight: 300; color: var(--color-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0; width: 24px; text-align: center;
}
.faq-item--open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 0 0 0;
}
.faq-answer p {
  font-size: 15px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 12px; padding-bottom: 16px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-fallback {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
}
.faq-fallback h2, .faq-fallback h3 {
  font-family: var(--font-display); color: var(--color-primary);
  margin-bottom: 12px;
}

/* ===== SERVICE PAGE ===== */
.service-page .service-body {
  background: var(--color-bg); padding: 60px 0;
}
.service-page .service-body .container {
  max-width: 1050px;
}
.service-page .service-body h2,
.service-page .service-body h3 {
  font-family: var(--font-display); font-weight: 400;
  color: var(--color-primary); line-height: 1.15;
  margin: 32px 0 16px;
}
.service-page .service-body h2 { font-size: 42px; }
.service-page .service-body h3 { font-size: 32px; }
.service-page .service-body p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 16px;
}
.service-page .service-body ul,
.service-page .service-body ol {
  margin: 16px 0 16px 24px; list-style: disc;
}
.service-page .service-body li {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 8px; list-style: inherit;
}

/* Image-text grid: image fills full height of its paired text */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.svc-grid--reverse {
  grid-template-columns: 1.2fr 1fr;
}
.svc-grid-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.svc-grid--reverse .svc-grid-img {
  order: 2;
}
.svc-grid--reverse .svc-grid-text {
  order: 1;
}
.svc-grid-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}
.svc-grid-text p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 14px;
  color: var(--color-text);
}

/* About page: first image spans full section height */
.about-page .about-body .svc-grid {
  align-items: stretch;
}
.about-page .about-body .svc-grid .svc-grid-img {
  height: 100%;
}

/* Adult Children: first image spans full section height */
.service-page--adult-children-and-their-parents .svc-grid:first-child {
  align-items: stretch;
}
.service-page--adult-children-and-their-parents .svc-grid:first-child .svc-grid-img {
  height: 100%;
}

/* Text-only sections between grids */
.svc-text {
  max-width: 780px;
  margin: 0 auto 3rem;
}
.svc-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}
.svc-text p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 14px;
  color: var(--color-text);
}

/* Accent rule */
hr.svc-rule {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 2rem auto 2.5rem;
  border: none;
  max-width: 780px;
}


/* Inner content (generic pages) */
.inner-content {
  background: var(--color-bg); padding: 60px 0;
}
.inner-body {
  max-width: 760px; margin: 0 auto;
}
.inner-body h2,
.inner-body h3 {
  font-family: var(--font-display); font-weight: 400;
  color: var(--color-primary); line-height: 1.15;
  margin: 28px 0 14px;
}
.inner-body h2 { font-size: 42px; }
.inner-body h3 { font-size: 32px; }
.inner-body p {
  font-size: 16px; line-height: 1.8; color: var(--color-text);
  margin-bottom: 16px;
}

/* ===== GENERIC BUTTON ===== */
.btn {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--color-accent);
  padding: 14px 36px; border-radius: 50px;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn:hover { background: var(--color-primary); transform: translateY(-1px); }

/* ===== WPFORMS OVERRIDES ===== */
.wpforms-container {
  font-family: var(--font-body) !important;
}
.wpforms-container .wpforms-field-label {
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--color-primary) !important; letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea {
  font-family: var(--font-body) !important;
  font-size: 15px !important; color: var(--color-text) !important;
  background: transparent !important;
  border: none !important; border-bottom: 1.5px solid var(--color-secondary) !important;
  border-radius: 0 !important; padding: 10px 0 !important;
  box-shadow: none !important; outline: none !important;
  transition: border-color 0.3s !important;
}
.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container input[type="tel"]:focus,
.wpforms-container textarea:focus {
  border-color: var(--color-accent) !important;
}
.wpforms-container .wpforms-submit-container button[type="submit"] {
  display: block !important; width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important; font-weight: 700 !important;
  color: #fff !important; background: var(--color-accent) !important;
  border: none !important; padding: 14px 24px !important;
  border-radius: 50px !important; letter-spacing: 1.5px !important;
  text-transform: uppercase !important; cursor: pointer !important;
  transition: all 0.3s !important;
}
.wpforms-container .wpforms-submit-container button[type="submit"]:hover {
  background: var(--color-primary) !important;
  transform: translateY(-1px) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 58px; }
  .frosted-panel { padding: 36px 28px; }
  .frosted-panel h2 { font-size: 38px; }
  .bridge h2 { font-size: 44px; }
  .bio h2 { font-size: 52px; }
  .bio-photo { width: 240px; height: 240px; }
  .service-name { font-size: 42px; }
  .possible-line { font-size: 42px; }
  .contact h2 { font-size: 42px; }
  .pain-panel { background-attachment: scroll; }
  .services { background-attachment: scroll; }
  .final-cta { background-attachment: scroll; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-page .about-bio-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid,
  .svc-grid--reverse { grid-template-columns: 1fr; }
  .svc-grid-img { height: auto; aspect-ratio: 16/9; }
  .svc-grid--reverse .svc-grid-img { order: 0; }
  .svc-grid--reverse .svc-grid-text { order: 0; }
  .inner-hero-content h1 { font-size: 48px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 16px; }
  .frosted-panel h2 { font-size: 32px; }
  .frosted-panel { padding: 28px 20px; }
  .bridge h2 { font-size: 36px; }
  .bridge { padding: 50px 24px; }
  .bio h2 { font-size: 42px; }
  .bio-photo { width: 200px; height: 200px; }
  .service-name { font-size: 34px; margin-bottom: 24px; }
  .possible-line { font-size: 34px; }
  .gradient-divider { height: 50px; }
  .contact h2 { font-size: 36px; }
  .pain-panel-inner { padding: 50px 16px; }
  .services-inner { padding: 50px 16px; }

  .inner-hero-content h1 { font-size: 38px; }
  .inner-hero { min-height: 30vh; }
  .contact-info h2 { font-size: 34px; }
  .contact-form-wrap h3 { font-size: 28px; }
  .about-page .about-intro h2 { font-size: 36px; }
  .about-page .about-bio-text h2 { font-size: 36px; }
  .faq-question { font-size: 15px; }
}

/* ═══ JS-FAILURE SAFETY NET (Critical Lesson #9) ═══
   If client.js throws, IntersectionObserver never adds .visible.
   Above-fold safety: hero/inner-hero stay visible after 2.5s.
   .visible override ensures scroll-reveal transition still wins
   when JS works. Below-fold elements intentionally NOT included
   to preserve their scroll-reveal effect. */
@keyframes forceVisible { to { opacity: 1; transform: none; } }

.hero .fade-in,
.inner-hero-content { animation: forceVisible 0s 2.5s forwards; }

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