:root {
  --ink: #22332f;
  --muted: #5d6d68;
  --forest: #315f54;
  --forest-dark: #244b42;
  --sage: #dfeae4;
  --sage-light: #f2f6f3;
  --cream: #fbf8f1;
  --peach: #efd4c3;
  --gold: #b48636;
  --soft: #f2f6f3;
  --line: #d9e2dd;
  --white: #fff;
  --border: #d9e2dd;
  --shadow: 0 18px 50px rgba(34, 51, 47, .09);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
select { font: inherit; }
:focus-visible { outline: 3px solid #df9f77; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.soft { background: var(--sage-light); }
.white { background: var(--white); }
.eyebrow { margin: 0 0 14px; color: var(--forest); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(2.75rem, 7vw, 5.4rem); font-weight: 500; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 500; }
h3 { margin-bottom: 12px; font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1.15em; }
.lead { max-width: 730px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.section-head { max-width: 730px; margin-bottom: 44px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 23px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: white; font-weight: 750; text-decoration: none; transition: .2s ease; cursor: pointer; }
.button:hover { background: var(--forest-dark); border-color: var(--forest-dark); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--sage); }
.text-link { color: var(--forest); font-weight: 750; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(49, 95, 84, .1); background: rgba(251, 248, 241, .92); backdrop-filter: blur(14px); }
.nav-wrap { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Georgia, serif; font-size: 1.27rem; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-family: Georgia, serif; font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; color: var(--muted); font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav a:not(.button):hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; border-radius: 2px; background: var(--forest); content: ""; }
.nav .button { min-height: 44px; padding: 9px 18px; color: white; }
.menu-toggle { display: none; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 100px; }
.hero::before { position: absolute; top: -230px; right: -150px; width: 590px; height: 590px; border-radius: 50%; background: var(--sage); content: ""; opacity: .78; }
.hero::after { position: absolute; right: 17%; bottom: -80px; width: 180px; height: 180px; border-radius: 46% 54% 62% 38%; background: var(--peach); content: ""; opacity: .75; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 60px; }
.hero-card { padding: 28px; border: 1px solid rgba(49, 95, 84, .12); border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card p { color: var(--muted); font-size: .96rem; }
.hero-card p:last-child { margin-bottom: 0; }
.calm-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--forest); font-weight: 800; }
.calm-line::before { width: 36px; height: 2px; background: var(--forest); content: ""; }
.page-hero { padding: 96px 0 76px; background: linear-gradient(135deg, var(--cream), var(--sage-light)); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 4.7rem); }

/* Content components */
.two-col { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 100px); }
.portrait-shape { position: relative; display: grid; min-height: 520px; place-items: center; overflow: hidden; border-radius: 180px 180px 30px 30px; background: linear-gradient(150deg, var(--sage), #c8dcd2); }
.portrait-shape::before { width: 235px; height: 235px; border: 2px solid rgba(49,95,84,.25); border-radius: 50%; content: ""; }
.portrait-shape::after { position: absolute; right: 18%; bottom: 15%; left: 18%; height: 190px; border-radius: 110px 110px 30px 30px; background: rgba(255,255,255,.48); content: ""; }
.portrait-note { position: absolute; z-index: 2; max-width: 230px; padding: 18px; border-radius: 16px; background: white; box-shadow: var(--shadow); text-align: center; }
.portrait-note strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 1.4rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.icon { display: grid; width: 50px; height: 50px; margin-bottom: 24px; place-items: center; border-radius: 14px; background: var(--sage); color: var(--forest); font-weight: 900; }
.quote { padding: 48px; border-radius: var(--radius); background: var(--forest); color: white; }
.quote p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.4; }
.quote cite { display: block; margin-top: 22px; color: #d8e8e1; font-style: normal; font-weight: 700; }
.list-clean { margin: 0; padding: 0; list-style: none; }
.list-clean li { position: relative; margin-bottom: 16px; padding-left: 30px; }
.list-clean li::before { position: absolute; top: .62em; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--peach); content: ""; }
.conditions { display: flex; flex-wrap: wrap; gap: 12px; }
.condition { padding: 10px 17px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--forest-dark); font-weight: 700; }
.steps { counter-reset: steps; }
.step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step::before { counter-increment: steps; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); content: "0" counter(steps); font-weight: 850; }
.step:last-child { border-bottom: 0; }
.step p { margin-bottom: 0; color: var(--muted); }
.cta-band { padding: 68px 0; background: var(--peach); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { max-width: 660px; margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; }
.contact-panel { padding: clamp(28px, 5vw, 50px); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .92rem; font-weight: 800; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid #bdcbc4; border-radius: 12px; background: #fdfdfb; color: var(--ink); padding: 13px 14px; }
input:focus, textarea:focus, select:focus { border-color: var(--forest); outline: 2px solid rgba(49,95,84,.16); }
textarea { min-height: 160px; resize: vertical; }
.field small { color: var(--muted); font-size: .78rem; }
.field-error { min-height: 1em; color: #9a3d32 !important; }
.field span { font-weight: 500; }
.consent-field label { display: flex; align-items: flex-start; gap: 10px; font-weight: 550; }
.consent-field input { width: 20px; min-height: 20px; margin-top: 3px; accent-color: var(--forest); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-response { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.form-response.visible { display: block; }
.form-response.success { background: #e4f2e9; color: #225440; }
.form-response.error { background: #f8e8e5; color: #88392f; }
.button-spinner { display: none; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(255,255,255,.45); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.button.is-loading .button-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 16px; color: var(--muted); font-size: .82rem; }
.contact-list { margin-top: 32px; padding: 0; list-style: none; }
.contact-list li { margin-bottom: 24px; }
.contact-list span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: var(--forest); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.notice { margin-top: 30px; padding: 18px; border-left: 4px solid var(--peach); border-radius: 0 12px 12px 0; background: var(--cream); color: var(--muted); font-size: .9rem; }
.success-message { display: none; margin-top: 14px; color: var(--forest); font-weight: 750; }

/* Footer and WhatsApp */
.site-footer {
  padding: 64px 0 34px;
  background: #0f2021;
  color: #eaf3f0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(180px, 1fr));
  gap: 40px;
  align-items: start;
}
.site-footer .brand {
  color: #ffffff;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 420px;
  color: #cbd9d5;
  line-height: 1.75;
  font-size: .98rem;
}
.site-footer h3 {
  margin-bottom: 16px;
  color: #f7fbf9;
  font-family: inherit;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer p,
.site-footer a,
.site-footer address {
  color: #d4e2de;
}
.site-footer a {
  text-underline-offset: 4px;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  margin: 10px 0;
}
.footer-links a {
  display: inline-block;
  color: #d4e2de;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  transform: translateX(2px);
}
.footer-column address p {
  margin: 0 0 14px;
  line-height: 1.75;
}
.footer-cta {
  margin-top: 18px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  border-color: #25d366;
  color: #04220f;
}
.footer-cta:hover,
.footer-cta:focus-visible {
  background: #1dbd5a;
  transform: translateY(-1px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9fb0aa;
  font-size: .88rem;
  flex-wrap: wrap;
}
.footer-note,
.footer-emergency {
  margin: 0;
}
.footer-emergency {
  max-width: 720px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }
.crisis-notice a { font-weight: 800; }
.legal-copy h2 { margin-top: 44px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal-copy a { overflow-wrap: anywhere; color: var(--forest); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--forest); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
.whatsapp-widget { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.whatsapp-toggle { display: grid; width: 62px; height: 62px; place-items: center; border: 0; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 12px 30px rgba(20, 90, 57, .28); cursor: pointer; transition: .2s ease; }
.whatsapp-toggle:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-panel { position: absolute; right: 0; bottom: 76px; width: min(340px, calc(100vw - 44px)); overflow: hidden; border-radius: 20px; background: white; box-shadow: 0 20px 55px rgba(24,46,39,.22); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.whatsapp-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-head { padding: 20px; background: var(--forest); color: white; }
.whatsapp-head strong { display: block; }
.whatsapp-head span { font-size: .82rem; opacity: .82; }
.whatsapp-body { padding: 20px; }
.whatsapp-body p { color: var(--muted); font-size: .92rem; }
.whatsapp-body .button { width: 100%; background: #25d366; border-color: #25d366; }

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 92px 0 auto; display: none; max-height: calc(100dvh - 92px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 28px; border-bottom: 1px solid var(--border); background: var(--cream); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { display: flex; min-height: 48px; align-items: center; padding: 13px 8px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .button { margin-top: 10px; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 78px; }
  .hero-card { max-width: 520px; }
  .cards { grid-template-columns: 1fr; }
  .portrait-shape { min-height: 420px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 72px 0; }
  .page-hero { padding: 70px 0 58px; }
  .hero { padding: 70px 0; }
  .hero::before { width: 380px; height: 380px; }
  .hero-grid { gap: 38px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .quote { padding: 30px; }
  .step { grid-template-columns: 50px 1fr; gap: 16px; }
  .step::before { width: 44px; height: 44px; font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-widget { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (hover: none) {
  .service-image-card:hover img, .all-service-card:hover, .card:hover { transform: none; }
}

/* Branded photography and premium hero */
.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 54px;
  border: 1px solid rgba(49, 95, 84, .12);
  background: var(--white) url("assets/sun-valley-psych-logo.jpeg") center -3px / 104px 104px no-repeat;
  box-shadow: 0 5px 16px rgba(34, 51, 47, .08);
  color: transparent;
  font-size: 0;
}
.nav-wrap { min-height: 92px; }

.premium-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 30px;
  background: linear-gradient(135deg, #fbf8f1 0%, #f7f4eb 54%, #edf4ef 100%);
}
.premium-hero::before { position: absolute; inset: 0; z-index: -3; background-image: radial-gradient(rgba(49,95,84,.11) .6px, transparent .6px); background-size: 18px 18px; content: ""; opacity: .32; mask-image: linear-gradient(90deg, #000, transparent 58%); }
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { top: -280px; right: -120px; width: 680px; height: 680px; background: rgba(190,216,202,.48); }
.hero-glow-two { bottom: 60px; left: -190px; width: 380px; height: 380px; background: rgba(238,207,172,.26); }
.premium-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .76fr); align-items: center; gap: clamp(54px, 7vw, 100px); }
.premium-hero-copy { position: relative; z-index: 2; padding: 18px 0 34px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--forest); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-kicker span { width: 34px; height: 1px; background: #c58b2d; }
.premium-hero h1 { max-width: 700px; margin-bottom: 26px; color: #18362f; font-size: clamp(3.4rem, 6.5vw, 6.45rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.premium-hero h1 em { color: #97702e; font-weight: 400; }
.hero-intro { max-width: 635px; margin-bottom: 0; color: #526660; font-size: clamp(1.06rem, 1.55vw, 1.22rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-primary { min-height: 58px; padding: 14px 25px; border-color: #234f44; border-radius: 12px; background: #234f44; box-shadow: 0 12px 28px rgba(35,79,68,.18); }
.hero-primary span { margin-left: 18px; font-size: 1.05rem; }
.hero-text-link { display: inline-flex; align-items: center; gap: 12px; color: #284e44; font-size: .96rem; font-weight: 800; text-decoration: none; }
.hero-text-link span { transition: transform .2s ease; }
.hero-text-link:hover span { transform: translateX(4px); }
.hero-assurance { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 660px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(49,95,84,.18); }
.hero-assurance div { padding: 0 22px; border-right: 1px solid rgba(49,95,84,.16); }
.hero-assurance div:first-child { padding-left: 0; }
.hero-assurance div:last-child { border: 0; }
.hero-assurance strong, .hero-assurance span { display: block; }
.hero-assurance strong { margin-bottom: 3px; color: #244b42; font-family: Georgia, serif; font-size: 1.08rem; }
.hero-assurance span { color: #6a7974; font-size: .73rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.premium-hero-visual { position: relative; min-height: 650px; }
.hero-portrait-frame { position: absolute; inset: 0 0 34px 38px; overflow: hidden; border: 10px solid rgba(255,255,255,.82); border-radius: 230px 230px 32px 32px; background: #dce8e1; box-shadow: 0 30px 80px rgba(36,75,66,.2); }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-portrait-frame:hover .hero-portrait { transform: scale(1.025); }
.portrait-gradient { position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(10,29,25,.64)); }
.portrait-signature { position: absolute; right: 26px; bottom: 24px; left: 30px; color: white; }
.portrait-signature span, .portrait-signature small { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.portrait-signature strong { display: block; margin: 2px 0; font-family: Georgia, serif; font-size: 2.1rem; font-weight: 500; }
.hero-care-card { position: absolute; z-index: 2; right: -36px; bottom: 0; display: grid; grid-template-columns: 42px 1fr; gap: 13px; width: min(340px, 85%); padding: 19px; border: 1px solid rgba(49,95,84,.12); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 22px 50px rgba(33,61,54,.16); backdrop-filter: blur(12px); }
.care-card-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e8f1ec; color: #a1762d; }
.hero-care-card strong, .hero-care-card span { display: block; }
.hero-care-card strong { margin-bottom: 4px; color: #244b42; font-family: Georgia, serif; font-size: .98rem; }
.hero-care-card span { color: #6a7974; font-size: .78rem; line-height: 1.45; }
.hero-flower-mark { position: absolute; top: 14%; left: -8px; display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid rgba(151,112,46,.3); border-radius: 50%; background: #fbf8f1; color: #b48636; font-size: 2.15rem; box-shadow: 0 14px 38px rgba(36,75,66,.12); }
.hero-bottom-note { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(49,95,84,.13); color: #63736e; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-bottom-note i { width: 4px; height: 4px; border-radius: 50%; background: #c18d38; }

/* Service discovery and conversion path */
.services-preview { background: #173a32; color: white; }
.services-preview .eyebrow { color: #e5c184; }
.services-preview h2, .services-preview .lead { color: white; }
.services-preview .lead { max-width: 520px; opacity: .76; }
.service-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; }
.service-image-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-image-card { position: relative; min-height: 420px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: #244c42; color: white; text-decoration: none; box-shadow: 0 20px 48px rgba(5,22,18,.2); }
.service-image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.service-image-card:first-child img { object-position: 50% 30%; }
.service-image-card--guidance img { object-position: 72% 50%; }
.service-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,29,.08) 20%, rgba(10,31,26,.9) 100%); transition: background .35s ease; }
.service-number { position: absolute; top: 22px; right: 22px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(19,56,47,.36); font-size: .74rem; font-weight: 800; backdrop-filter: blur(8px); }
.service-card-copy { position: absolute; right: 28px; bottom: 28px; left: 28px; display: block; }
.service-card-copy strong, .service-card-copy span, .service-card-copy b { display: block; }
.service-card-copy strong { max-width: 480px; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 500; line-height: 1.12; }
.service-card-copy > span { max-width: 450px; margin-top: 10px; color: rgba(255,255,255,.78); }
.service-card-copy b { margin-top: 18px; color: #f0cd91; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.service-card-copy i { display: inline-block; margin-left: 7px; font-style: normal; transition: transform .25s ease; }
.service-image-card:hover img, .service-image-card:focus-visible img { transform: scale(1.045); filter: saturate(1.06); }
.service-image-card:hover .service-image-overlay, .service-image-card:focus-visible .service-image-overlay { background: linear-gradient(180deg, rgba(10,35,29,.02) 10%, rgba(10,31,26,.94) 100%); }
.service-image-card:hover .service-card-copy i, .service-image-card:focus-visible .service-card-copy i { transform: translateX(6px); }
.service-image-card:focus-visible { outline: 3px solid #f0cd91; outline-offset: 4px; }
.service-detail-list { display: grid; gap: 18px; }
.service-detail-card { display: grid; grid-template-columns: 74px 1fr; gap: 26px; padding: 30px; scroll-margin-top: 120px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: inherit; text-decoration: none; box-shadow: 0 10px 30px rgba(34,51,47,.05); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-detail-number { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: .78rem; font-weight: 850; }
.service-detail-card h3 { margin-bottom: 8px; font-size: 1.5rem; }
.service-detail-card p { max-width: 820px; }
.service-detail-card strong { color: var(--forest); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.service-detail-card strong span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.service-detail-card:hover, .service-detail-card:focus-visible { transform: translateY(-3px); border-color: rgba(49,95,84,.35); box-shadow: 0 18px 42px rgba(34,51,47,.1); }
.service-detail-card:hover strong span { transform: translateX(5px); }
.service-detail-card--image { grid-template-columns: minmax(220px, 34%) 1fr; align-items: stretch; padding: 0; overflow: hidden; }
.service-detail-card--image > img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.service-detail-card--image > div { padding: 30px; }
.service-detail-card--image .service-detail-number { margin-bottom: 20px; }
.services-all-link { margin-top: 30px; text-align: center; }
.button-light { border-color: rgba(255,255,255,.32); background: #f8f2e7; color: var(--forest); }
.button-light:hover, .button-light:focus-visible { background: #fff; color: var(--forest); }
.additional-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.additional-service-card { display: flex; min-height: 285px; flex-direction: column; padding: 30px; border: 1px solid rgba(49,95,84,.17); border-radius: 20px; background: rgba(255,255,255,.82); color: inherit; text-decoration: none; box-shadow: 0 12px 32px rgba(34,51,47,.06); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.additional-service-card > span { display: grid; width: 46px; height: 46px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: .76rem; font-weight: 850; }
.additional-service-card h3 { margin-bottom: 10px; font-size: 1.45rem; }
.additional-service-card p { flex: 1; }
.additional-service-card strong { color: var(--forest); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.additional-service-card i { display: inline-block; margin-left: 7px; font-style: normal; transition: transform .2s ease; }
.additional-service-card:hover, .additional-service-card:focus-visible { transform: translateY(-4px); border-color: rgba(49,95,84,.38); box-shadow: 0 18px 42px rgba(34,51,47,.11); }
.additional-service-card:hover i { transform: translateX(5px); }
.additional-service-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.services-note { margin-top: 24px; }
.care-method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.care-method-grid article { padding: 26px; border-top: 3px solid var(--gold); border-radius: 0 0 16px 16px; background: var(--soft); }
.care-method-grid article > span { color: var(--forest); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.care-method-grid h3 { margin: 15px 0 8px; font-size: 1.25rem; }

.portrait-shape {
  min-height: 560px;
  border-radius: 220px 220px 28px 28px;
  background: var(--sage) url("assets/judith.jpeg") 50% 34% / cover no-repeat;
  box-shadow: var(--shadow);
}
.about-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.portrait-shape::before,
.portrait-shape::after { display: none; }
.portrait-note {
  right: 24px;
  bottom: 24px;
  max-width: 260px;
  text-align: left;
}

/* Unified six-service directory */
.services-directory { overflow: hidden; }
.all-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.all-service-card { display: flex; min-height: 100%; overflow: hidden; flex-direction: column; border: 1px solid rgba(49,95,84,.14); border-radius: 22px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 14px 38px rgba(34,51,47,.07); transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease; }
.all-service-image { position: relative; height: 230px; overflow: hidden; background: var(--sage); }
.all-service-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16,43,36,.28)); content: ""; }
.all-service-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.all-service-image > span { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(25,63,53,.52); color: #fff; font-size: .72rem; font-weight: 850; backdrop-filter: blur(8px); }
.all-service-copy { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.all-service-copy h3 { font-size: 1.55rem; }
.all-service-copy p { flex: 1; color: var(--muted); font-size: .96rem; }
.all-service-copy strong { color: var(--forest); font-size: .77rem; letter-spacing: .06em; text-transform: uppercase; }
.all-service-copy i { display: inline-block; margin-left: 7px; font-style: normal; transition: transform .25s ease; }
.all-service-card:hover, .all-service-card:focus-visible { transform: translateY(-7px); border-color: rgba(49,95,84,.38); box-shadow: 0 24px 55px rgba(34,51,47,.14); }
.all-service-card:hover img, .all-service-card:focus-visible img { transform: scale(1.055); filter: saturate(1.06); }
.all-service-card:hover i, .all-service-card:focus-visible i { transform: translateX(6px); }
.all-service-card:focus-visible { outline: 3px solid #df9f77; outline-offset: 4px; }
.image-warm img { object-position: 70% 42%; filter: sepia(.08) saturate(.9); transform: scaleX(-1); }
.image-center img { object-position: 28% 50%; }
.image-soft img { object-position: 72% 40%; filter: saturate(.78) brightness(1.04); transform: scaleX(-1); }
.all-service-card:hover .image-warm img, .all-service-card:hover .image-soft img { transform: scaleX(-1) scale(1.055); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Preserve a balanced About page layout */
body:has(.portrait-shape) main > .section.white:first-of-type .two-col { grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(42px, 7vw, 86px); }
body:has(.portrait-shape) main > .section.white:first-of-type .portrait-shape { width: 100%; max-width: 470px; min-height: 0; aspect-ratio: 4 / 5; justify-self: center; background-position: 50% 30%; }

@media (max-width: 860px) {
  .nav { top: 92px; }
  .premium-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .premium-hero-copy { padding-bottom: 0; }
  .premium-hero h1 { max-width: 650px; }
  .premium-hero-visual { width: min(100%, 560px); min-height: 670px; margin: 0 auto; }
  .portrait-shape { min-height: 560px; }
  .service-heading { grid-template-columns: 1fr; gap: 10px; }
  .additional-service-grid, .care-method-grid { grid-template-columns: 1fr 1fr; }
  .all-services-grid { grid-template-columns: 1fr 1fr; }
  body:has(.portrait-shape) main > .section.white:first-of-type .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand { gap: 8px; font-size: 1.06rem; }
  .brand-mark { width: 47px; height: 47px; flex-basis: 47px; background-size: 91px 91px; }
  .nav-wrap { min-height: 78px; }
  .nav { top: 78px; }
  .premium-hero { padding-top: 46px; }
  .premium-hero h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-primary { width: 100%; }
  .hero-text-link { justify-content: center; }
  .hero-assurance { gap: 0; margin-top: 36px; }
  .hero-assurance div { padding: 0 9px; }
  .hero-assurance strong { font-size: .9rem; }
  .hero-assurance span { font-size: .75rem; line-height: 1.35; }
  .premium-hero-visual { min-height: 530px; }
  .hero-portrait-frame { inset: 0 0 28px; border-width: 7px; border-radius: 180px 180px 25px 25px; }
  .hero-care-card { right: -4px; width: 88%; }
  .hero-flower-mark { left: -5px; width: 58px; height: 58px; font-size: 1.7rem; }
  .hero-bottom-note { flex-wrap: wrap; justify-content: center; gap: 10px 14px; white-space: normal; }
  .portrait-shape { min-height: 510px; border-radius: 160px 160px 24px 24px; }
  .service-image-grid { grid-template-columns: 1fr; }
  .service-image-card { min-height: 390px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 15px; padding: 24px; }
  .service-detail-card--image { padding: 0; gap: 0; }
  .service-detail-card--image > img { min-height: 230px; max-height: 300px; }
  .service-detail-card--image > div { padding: 24px; }
  .additional-service-grid, .care-method-grid { grid-template-columns: 1fr; }
  .all-services-grid { grid-template-columns: 1fr; }
  .all-service-image { height: 220px; }
}
