/* Hope Brain & Spine — production CSS (ported from Figma Make, no Tailwind) */

:root {
  --blue: #176b8c;
  --blue-dark: #0b4359;
  --blue-deep: #08384c;
  --blue-soft: #eaf5f8;
  --orange: #f15b26;
  --orange-dark: #d94b19;
  --orange-soft: #fff0ea;
  --ink: #132e39;
  --muted: #60757e;
  --line: #d9e5e9;
  --surface: #f5fafb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 69, 86, 0.12);
  --header-h: 123px; /* utility 35 + nav 88 */
}

@layer base {
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, p { margin-top: 0; }
  h1, h2, h3 { font-family: "Manrope", sans-serif; }
  a { color: inherit; text-decoration: none; }
  button, input, select, textarea { font: inherit; }
  button { cursor: pointer; }
  img { display: block; max-width: 100%; }
  picture { display: contents; }
}

/* Inline SVG sprite must never reserve layout space */
#hope-icons {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  display: none !important;
}

/* Author display rules must not override the hidden attribute */
[hidden],
.is-hidden {
  display: none !important;
}

/* Text link hover: single underline + accent (skip buttons/logo/border-underline links) */
a:not(.button):not(.logo):not(.submit-button):not(.hero-gentle-link):not(.hero-float-call):not(.condition-item):hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.footer a:not(.logo):hover,
.page-footer a:not(.logo):hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.nav-links > a:not(.button):hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Where layout depends on the media box, keep picture as the box */
.about-media picture,
.story-media picture,
.specialist-media picture,
.inner-image-stack picture,
.service-row-media picture,
.page-hero-visual picture,
.gallery-grid picture,
.blog-grid article > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.site-shell {
  padding-top: var(--header-h);
}
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.utility-bar { background: var(--blue-deep); color: rgba(255,255,255,.86); font-size: 12px; }
.utility-inner, .utility-inner > div, .utility-inner p, .utility-inner a { display: flex; align-items: center; }
.utility-inner { height: 35px; justify-content: space-between; }
.utility-inner p { margin: 0; gap: 7px; }
.utility-inner > div { gap: 16px; }
.utility-inner a { gap: 7px; font-weight: 600; color: white; }
.utility-divider { height: 13px; width: 1px; background: rgba(255,255,255,.28); }
.header {
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(20, 69, 86, 0.08);
}
.navbar { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none !important;
}
.logo picture {
  display: block;
  line-height: 0;
}
.logo-img,
.logo img {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  image-rendering: auto;
  -webkit-user-drag: none;
}
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links > a:not(.button) { font-size: 13px; font-weight: 600; color: #3b525c; transition: color .2s; }
/* nav hover color handled in shared link hover rules above */
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; color: white; background: var(--orange); font-size: 13px; font-weight: 700; box-shadow: 0 7px 20px rgba(241,91,38,.2); transition: transform .2s, background .2s; }
.button:hover { background: var(--orange-dark); transform: translateY(-2px); }
.button-secondary { color: var(--blue-dark); background: white; border: 1px solid #c9dadd; box-shadow: none; }
.button-secondary:hover { color: white; background: var(--blue); border-color: var(--blue); }
.menu-button { display: none; color: var(--blue-dark); background: transparent; border: 0; }

.hero { min-height: 665px; position: relative; background: #f0f6f7; }
.hero-media {
  position: absolute;
  inset: 0 0 0 45%;
  background: url("/wp-content/uploads/2026/11/home-banner.jpeg") 45% center/cover no-repeat;
  background-image: image-set(
    url("/wp-content/uploads/2026/11/home-banner.jpeg") type("image/webp"),
    url("/wp-content/uploads/2026/11/home-banner.jpeg") type("image/jpeg")
  );
  background-position: 45% center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #eff7f8 0%, #eff7f8 42%, rgba(239,247,248,.88) 51%, rgba(239,247,248,.05) 72%); }
.hero-inner { min-height: 665px; position: relative; display: flex; align-items: center; }
.hero-content { width: 56%; padding-bottom: 12px; }
.trust-pill { width: fit-content; margin-bottom: 22px; padding: 8px 13px; display: flex; align-items: center; gap: 9px; border-radius: 50px; background: rgba(255,255,255,.78); color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(241,91,38,.14); }
.hero h1 { margin-bottom: 20px; color: var(--blue-dark); font-size: clamp(47px, 5.1vw, 72px); line-height: 1.04; letter-spacing: -3px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-content > p { max-width: 580px; color: #4f6973; font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 31px; display: flex; gap: 12px; }
.hero-proof { margin-top: 35px; display: flex; align-items: center; gap: 13px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; margin-left: -8px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: #d9e9ec; color: var(--blue-dark); font-size: 9px; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: #f7cfbf; }
.avatar-stack span:last-child { background: #bcdde5; }
.hero-proof > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.stars { color: #f0a433; font-size: 12px; letter-spacing: 1px; }
.hero-proof strong { color: #425c66; font-size: 11px; }
.hero-float { position: absolute; right: max(28px, calc((100vw - 1160px)/2)); bottom: 30px; width: 338px; padding: 16px; display: flex; align-items: center; gap: 13px; border-radius: 7px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.float-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); }
.hero-float > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hero-float strong { font-size: 12px; }
.hero-float span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.hero-float > a,
.hero-float-call {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  background: var(--orange);
  text-decoration: none !important;
  flex: 0 0 auto;
  transition: background .2s, transform .2s;
}
.hero-float > a:hover,
.hero-float-call:hover {
  color: #fff !important;
  background: var(--orange-dark);
  text-decoration: none !important;
  transform: scale(1.06);
}
.hero-float > a .icon,
.hero-float-call .icon {
  color: #fff;
}

.quick-strip { background: var(--blue); color: white; }
.quick-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.quick-grid > div { min-height: 52px; padding: 0 34px; display: flex; align-items: center; gap: 15px; border-right: 1px solid rgba(255,255,255,.18); }
.quick-grid > div:first-child { padding-left: 0; }
.quick-grid > div:last-child { border: 0; }
.quick-grid strong { font: 700 27px/1 "Manrope"; }
.quick-grid span { max-width: 100px; color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.45; }

.section { padding: 105px 0; }
.services-section { background: white; }
.section-heading { max-width: 640px; }
.section-heading.centered { margin: 0 auto 48px; text-align: center; }
.eyebrow { margin-bottom: 14px; display: block; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 2.2px; }
.section-heading h2, .appointment-copy h2 { margin-bottom: 16px; color: var(--blue-dark); font-size: clamp(34px, 3.5vw, 47px); line-height: 1.16; letter-spacing: -1.8px; }
.section-heading p { margin: 0 auto; max-width: 595px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 292px; padding: 30px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { z-index: 1; transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); background: white; }
.card-number { position: absolute; right: 25px; top: 24px; color: #d3e0e3; font: 700 13px "Manrope"; }
.service-icon { width: 52px; height: 52px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 7px; color: var(--blue); background: var(--blue-soft); }
.service-card:nth-child(2n) .service-icon { color: var(--orange); background: var(--orange-soft); }
.service-card h3 { margin-bottom: 11px; color: var(--blue-dark); font-size: 17px; }
.service-card p { margin-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.service-card > a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 700; }
.section-action { margin-top: 35px; display: flex; justify-content: center; }

.conditions-section { background: var(--surface); }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.condition-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font: 700 14px/1.35 "Manrope", sans-serif;
  text-decoration: none !important;
  transition: border-color .2s, transform .2s, box-shadow .2s, color .2s;
}
.condition-item:hover {
  color: var(--orange);
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none !important;
}
.condition-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: var(--blue-soft);
}
.condition-item:nth-child(2n) .condition-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

.about-section { background: white; }
.about-grid { display: grid; grid-template-columns: .93fr 1fr; gap: 95px; align-items: center; }
.about-media { position: relative; padding: 0 0 30px 28px; }
.about-media img { width: 100%; height: 545px; object-fit: cover; border-radius: 4px; }
.about-media::before { content: ""; position: absolute; left: 0; top: 33px; bottom: 0; width: 68%; border: 2px solid var(--orange); border-radius: 4px; z-index: 0; }
.about-media img, .experience-badge { position: relative; z-index: 1; }
.experience-badge { position: absolute; right: -25px; bottom: 0; width: 148px; height: 126px; padding: 22px; display: flex; align-items: center; gap: 11px; color: white; background: var(--blue); border-radius: 4px; box-shadow: var(--shadow); }
.experience-badge strong { font: 700 46px/1 "Manrope"; }
.experience-badge span { font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .6px; }
.pattern-dots { position: absolute; right: -43px; top: -26px; width: 98px; height: 86px; opacity: .24; background-image: radial-gradient(var(--blue) 1.4px, transparent 1.4px); background-size: 11px 11px; }
.about-copy .section-heading { margin-bottom: 22px; }
.lead { color: #3f5963; font-size: 16px; line-height: 1.75; }
.value-list { margin: 28px 0 32px; display: grid; gap: 20px; }
.value-list > div { display: flex; gap: 15px; }
.value-list > div > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); }
.value-list h3 { margin: 1px 0 5px; font-size: 14px; }
.value-list p { margin: 0; color: var(--muted); font-size: 12px; }

.recovery-section { padding: 105px 0; color: white; background: var(--blue-deep); }
.recovery-grid { display: grid; grid-template-columns: .92fr 1fr; gap: 100px; align-items: center; }
.recovery-copy .section-heading h2 { color: white; }
.quote-mark { margin: 34px 0 8px; color: var(--orange); }
blockquote { margin: 0; font: 500 19px/1.75 "Manrope"; color: rgba(255,255,255,.94); }
.patient-row { margin-top: 25px; display: flex; align-items: center; gap: 12px; }
.patient-avatar, .doctor-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #d6e8ec; color: var(--blue-dark); font-size: 11px; font-weight: 800; }
.patient-row > div:last-child { display: flex; flex-direction: column; }
.patient-row strong { font-size: 12px; }
.patient-row span { color: rgba(255,255,255,.6); font-size: 10px; }
.story-controls { margin-top: 35px; display: flex; align-items: center; gap: 9px; }
.story-controls button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: transparent; }
.story-controls button:first-child { transform: rotate(180deg); }
.story-controls > span { width: 75px; height: 2px; margin-left: 10px; background: rgba(255,255,255,.18); }
.story-controls i { display: block; width: 33%; height: 100%; background: var(--orange); }
.story-controls small { color: rgba(255,255,255,.55); font-size: 10px; }
.story-media { position: relative; isolation: isolate; }
.story-media > picture {
  display: block;
  width: 100%;
  height: 505px;
  position: relative;
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}
.story-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  z-index: 0;
  pointer-events: none;
}
.play-button {
  width: 70px;
  height: 70px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  border: 6px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: white;
  background: var(--orange);
  background-clip: padding-box;
}
.story-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  right: 22px;
  z-index: 3;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: rgba(5,43,57,.85);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}
.story-label [data-story-label-text] { color: #fff; font-weight: 700; }
.story-label span:last-child { color: rgba(255,255,255,.6); font-weight: 400; flex: 0 0 auto; }
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(5,43,57,.75);
  border-radius: 5px;
}
.video-overlay span { font: 700 21px "Manrope"; }
.video-overlay p { font-size: 12px; }

.specialist-section { background: white; }
.specialist-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.specialist-copy > p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.doctor-card { margin: 28px 0; padding: 20px; display: flex; gap: 14px; border-left: 3px solid var(--orange); background: var(--surface); }
.doctor-avatar { width: 52px; height: 52px; }
.doctor-card h3 { margin: 0 0 3px; font-size: 14px; }
.doctor-card span { color: var(--blue); font-size: 10px; font-weight: 600; }
.doctor-card p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.specialist-media { position: relative; }
.specialist-media > picture, .specialist-media img { width: 100%; height: 470px; display: block; }
.specialist-media img { object-fit: cover; object-position: center; border-radius: 5px; }
.care-note { position: absolute; left: -35px; bottom: 28px; width: 315px; padding: 16px; display: flex; align-items: center; gap: 13px; border-radius: 5px; background: white; box-shadow: var(--shadow); }
.care-icon { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: var(--orange-soft); }
.care-note > div:last-child { display: flex; flex-direction: column; }.care-note strong { font-size: 12px; }.care-note span { color: var(--muted); font-size: 10px; line-height: 1.4; }

.appointment-section { padding: 95px 0; color: white; background: var(--blue); }
.appointment-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 100px; align-items: center; }
.eyebrow.light { color: #8fd3e6; }
.appointment-copy h2 { color: white; }
.appointment-copy > p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.7; }
.contact-options { margin-top: 35px; display: grid; gap: 16px; }
.contact-options > a, .contact-options > div { display: flex; align-items: center; gap: 13px; }
.contact-options > * > span { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.contact-options > * > div { display: flex; flex-direction: column; gap: 3px; }
.contact-options small { color: rgba(255,255,255,.6); font-size: 8px; letter-spacing: 1px; }
.contact-options strong { font-size: 13px; }
.appointment-card { min-height: 510px; padding: 35px; color: var(--ink); background: white; border-radius: 7px; box-shadow: 0 24px 55px rgba(5,45,61,.25); }
.appointment-card h3 { margin-bottom: 5px; color: var(--blue-dark); font-size: 21px; }
.appointment-card form > p { margin-bottom: 24px; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.appointment-card label { display: flex; flex-direction: column; gap: 7px; color: #36505a; font-size: 10px; font-weight: 700; }
.appointment-card input, .appointment-card select, .appointment-card textarea { width: 100%; padding: 12px 13px; color: var(--ink); border: 1px solid #d7e2e5; border-radius: 3px; outline: none; background: white; font-size: 11px; font-weight: 400; transition: border .2s, box-shadow .2s; }
.appointment-card textarea { resize: vertical; }
.appointment-card input:focus, .appointment-card select:focus, .appointment-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,107,140,.1); }
.full-field { margin-top: 17px; }.full-field i { color: #91a1a7; font-style: normal; font-weight: 400; }
.submit-button { width: 100%; height: 47px; margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 3px; color: white; background: var(--orange); font-size: 12px; font-weight: 700; }
.privacy-note { margin-top: 11px; display: block; color: #899ba2; text-align: center; font-size: 8px; }
.success-state:not([hidden]) { min-height: 440px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.success-state > div { width: 62px; height: 62px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); }
.success-state p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.success-state button { padding: 11px 17px; border: 1px solid var(--line); border-radius: 4px; color: var(--blue); background: white; font-size: 11px; font-weight: 700; }

.footer { padding: 72px 0 0; color: rgba(255,255,255,.72); background: #062f40; }
.footer-grid {
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  gap: 56px 48px;
  align-items: start;
}
.logo-light { color: white; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 320px;
}
.footer-brand > p,
.footer-grid .footer-brand > p {
  max-width: 280px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}
.footer .logo,
.page-footer .logo {
  display: inline-flex;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.footer .logo-img,
.footer .logo img,
.page-footer .logo-img,
.page-footer .logo img {
  height: 64px;
  max-width: 200px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.86);
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s;
}
.socials a:hover {
  color: #fff !important;
  border-color: var(--orange);
  background: rgba(241, 91, 38, 0.18);
  text-decoration: none !important;
}
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 12px; }
.footer h3 { margin: 0 0 4px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 62px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; }
.footer-bottom div { display: flex; gap: 24px; }

@media (max-width: 1020px) {
  .container { width: min(100% - 40px, 900px); }
  .nav-links { gap: 15px; }
  .nav-links > a:not(.button) { display: none; }
  .hero-content { width: 65%; }
  .quick-grid > div { padding: 0 18px; }
  .about-grid, .recovery-grid, .specialist-grid, .appointment-grid { gap: 50px; }
  .experience-badge { right: -10px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 32px); }
  .utility-bar { display: none; }
  .navbar { height: 72px; }
  .nav-links { display: none; }
  .nav-links.open { position: absolute; left: 0; right: 0; top: 72px; padding: 20px 16px 25px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: white; box-shadow: var(--shadow); }
  .nav-links.open > a:not(.button) {
    padding: 13px 10px;
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open > a:not(.button):hover {
    text-decoration: none;
    color: var(--orange);
  }
  .nav-links.open .button { margin-top: 16px; }
  .menu-button { display: grid; place-items: center; }
  .hero { min-height: 750px; }
  .hero-media { inset: 390px 0 0; background-position: center 35%; }
  .hero-wash { background: linear-gradient(180deg, #eff7f8 0%, #eff7f8 49%, rgba(239,247,248,.25) 72%, rgba(239,247,248,0) 100%); }
  .hero-inner { min-height: 735px; align-items: flex-start; padding-top: 56px; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: 43px; letter-spacing: -2.2px; }
  .hero-content > p { font-size: 14px; line-height: 1.6; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { padding: 0 16px; min-height: 45px; font-size: 11px; }
  .hero-proof { display: none; }
  .hero-float { left: 16px; right: 16px; bottom: 18px; width: auto; }
  .quick-grid { padding: 22px 0; grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .quick-grid > div { padding: 0 16px; border-right: 1px solid rgba(255,255,255,.18); }
  .quick-grid > div:nth-child(2n) { border-right: 0; }
  .quick-grid > div:first-child { padding-left: 16px; }
  .quick-grid strong { font-size: 21px; }
  .section { padding: 75px 0; }
  .section-heading.centered { margin-bottom: 34px; }
  .section-heading h2, .appointment-copy h2 { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .conditions-grid { grid-template-columns: 1fr; }
  .reviews-header { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-grid, .recovery-grid, .specialist-grid, .appointment-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { padding-left: 14px; }
  .about-media img { height: 430px; }
  .experience-badge { right: -2px; }
  .about-copy { grid-row: 1; }
  .recovery-section { padding: 75px 0 90px; }
  .story-media > picture { height: 410px; }
  .story-media::before { display: none; }
  .specialist-grid { display: flex; flex-direction: column; }
  .specialist-media > picture, .specialist-media img { height: 390px; }
  .care-note { left: 15px; right: 15px; width: auto; }
  .appointment-section { padding: 75px 0; }
  .appointment-card { padding: 25px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero { min-height: 765px; }
  .hero-media { inset: 435px 0 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: 39px; }
  .hero-float { padding: 12px; }
  .quick-grid > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 18px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
}

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

/* Inner page templates */
.inner-header .nav-links > a.active { color: var(--orange); }
.page-menu { width: 34px; height: 34px; position: relative; }
.page-menu span { width: 21px; height: 2px; position: absolute; left: 6px; background: currentColor; transition: transform .2s, opacity .2s; }
.page-menu span:first-child { transform: translateY(-6px); }
.page-menu span:last-child { transform: translateY(6px); }
.page-menu.is-open span:first-child { transform: rotate(45deg); }
.page-menu.is-open span:nth-child(2) { opacity: 0; }
.page-menu.is-open span:last-child { transform: rotate(-45deg); }
.page-hero { padding: 92px 0 42px; position: relative; overflow: hidden; text-align: center; background: var(--surface); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(23,107,140,.1); }
.page-hero::before { width: 370px; height: 370px; left: -160px; top: -230px; }
.page-hero::after { width: 260px; height: 260px; right: -100px; bottom: -190px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; color: var(--blue-dark); font-size: clamp(40px, 5vw, 62px); line-height: 1.08; letter-spacing: -2.6px; }
.page-hero p { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.7; }
.inner-section { padding: 105px 0; }
.inner-copy h2, .inner-title h2, .contact-layout h2, .contact-form-card h2 { margin-bottom: 22px; color: var(--blue-dark); font-size: clamp(31px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -1.5px; }
.inner-copy > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.story-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 95px; align-items: center; }
.inner-image-stack { padding: 0 0 34px 28px; position: relative; }
.inner-image-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 72%; border: 2px solid var(--orange); }
.inner-image-stack img { width: 100%; height: 530px; position: relative; object-fit: cover; z-index: 1; }
.inner-image-stack > div { width: 160px; height: 110px; padding: 18px; position: absolute; right: -25px; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; color: white; background: var(--blue); box-shadow: var(--shadow); }
.inner-image-stack strong { font: 700 38px/1 "Manrope"; }
.inner-image-stack span { font-size: 10px; line-height: 1.4; text-transform: uppercase; }
.signature { margin-top: 27px; padding: 17px 20px; display: flex; flex-direction: column; border-left: 3px solid var(--orange); background: var(--surface); }
.signature strong { font: 700 13px "Manrope"; }
.signature span { margin-top: 3px; color: var(--blue); font-size: 10px; }

/* About — recovery icons + doctor panel */
.recovery-steps-track .recovery-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
}
.recovery-steps-track .recovery-icon svg {
  width: 26px;
  height: 26px;
}
.recovery-steps-track strong { display: none; }

.doctor-about-section { background: var(--surface); }
.doctor-about-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}
.doctor-about-copy {
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
}
.doctor-about-copy .doctor-role {
  margin: -8px 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.doctor-about-copy > p:not(.doctor-role) {
  margin-bottom: 14px;
}
.doctor-creds {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doctor-creds li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
}
.doctor-about-media {
  min-height: 520px;
  background: #2a221c;
}
.doctor-about-media picture,
.doctor-about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.values-section, .process-section { padding: 95px 0; background: var(--surface); }
.inner-title { max-width: 640px; margin-bottom: 45px; }
.inner-title.centered { margin-left: auto; margin-right: auto; text-align: center; }
.inner-title > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values-grid article { min-height: 240px; padding: 30px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.values-grid span { color: var(--orange); font: 700 12px "Manrope"; }
.values-grid h3 { margin: 36px 0 12px; color: var(--blue-dark); font-size: 17px; }
.values-grid p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.team-section { background: white; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-grid article { text-align: center; }
.team-photo { height: 350px; margin-bottom: 21px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background-size: cover; background-position: center; }
.team-photo-1 {
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), url("../assets/images/dr-satyajit.jpg");
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), image-set(url("../assets/images/dr-satyajit.webp") type("image/webp"), url("../assets/images/dr-satyajit.jpg") type("image/jpeg"));
  background-position: center 18%;
}
.team-photo-2 {
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), url("../assets/images/team-2.jpg");
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), image-set(url("../assets/images/team-2.webp") type("image/webp"), url("../assets/images/team-2.jpg") type("image/jpeg"));
}
.team-photo-3 {
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), url("../assets/images/team-3.jpg");
  background-image: linear-gradient(rgba(8,56,76,.04),rgba(8,56,76,.12)), image-set(url("../assets/images/team-3.webp") type("image/webp"), url("../assets/images/team-3.jpg") type("image/jpeg"));
}
.team-photo span { width: 46px; height: 46px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-dark); background: rgba(255,255,255,.9); font-size: 10px; font-weight: 800; }
.team-grid h3 { margin-bottom: 4px; color: var(--blue-dark); font-size: 16px; }
.team-grid p { margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.team-grid a { color: var(--orange); font-size: 11px; font-weight: 700; }
.page-cta { padding: 60px 0; color: white; background: var(--blue); position: relative; overflow: hidden; }
.page-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.page-cta .eyebrow { margin-bottom: 10px; }
.page-cta h2 { margin-bottom: 7px; color: white; font-size: 33px; }
.page-cta p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.page-cta .button { position: relative; z-index: 3; background: var(--orange); }
.page-footer .logo { color: white; }

.service-list { display: grid; gap: 32px; }
.service-row { min-height: 410px; display: grid; grid-template-columns: 1fr 1fr; position: relative; background: var(--surface); }
.service-row:nth-child(even) .service-row-media { grid-column: 2; }
.service-row:nth-child(even) > div:nth-child(2) { grid-column: 1; grid-row: 1; }
.service-row-media img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.service-row > div:nth-child(2) { padding: 47px 54px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.service-row > div:nth-child(2) > span { color: var(--orange); font: 700 11px "Manrope"; }
.service-row h2 { margin: 12px 0; color: var(--blue-dark); font-size: 27px; }
.service-row p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-row ul { padding: 0; margin: 4px 0 20px; list-style: none; display: grid; gap: 7px; }
.service-row li { color: #405a64; font-size: 11px; }
.service-row li::before { content: "✓"; margin-right: 8px; color: var(--orange); font-weight: 800; }
.service-row a { color: var(--blue); font-size: 11px; font-weight: 700; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.process-grid > div { padding: 12px 28px; position: relative; border-right: 1px solid var(--line); text-align: center; }
.process-grid > div:last-child { border: 0; }
.process-grid strong { width: 54px; height: 54px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font: 700 12px "Manrope"; }
.process-grid h3 { margin-bottom: 8px; font-size: 15px; }
.process-grid p { color: var(--muted); font-size: 11px; line-height: 1.55; }

.gallery-section { background: white; }
.gallery-filters { margin-bottom: 38px; display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.gallery-filters button { padding: 10px 18px; border: 1px solid var(--line); color: var(--muted); background: white; font-size: 11px; font-weight: 700; }
.gallery-filters button.active { color: white; border-color: var(--blue); background: var(--blue); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 290px; gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { padding: 22px; position: absolute; inset: auto 0 0; display: flex; flex-direction: column; color: white; background: linear-gradient(transparent,rgba(5,43,57,.88)); }
.gallery-grid figcaption span { margin-bottom: 5px; color: #a7dcea; font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; }
.gallery-grid figcaption strong { font: 600 15px "Manrope"; }

.blog-section { background: white; }
.blog-tools { margin-bottom: 40px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); }
.blog-tools > div { display: flex; flex-direction: column; }
.blog-tools strong { font: 700 22px "Manrope"; color: var(--blue-dark); }
.blog-tools span { color: var(--muted); font-size: 11px; }
.blog-tools input { width: 250px; padding: 11px 13px; border: 1px solid var(--line); outline: none; color: var(--ink); font-size: 11px; }
.blog-tools input:focus { border-color: var(--blue); }
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.blog-grid article { display: grid; grid-template-columns: 190px 1fr; min-height: 210px; border: 1px solid var(--line); background: white; }
.blog-grid article.featured { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; min-height: 390px; }
.blog-grid img { width: 100%; height: 100%; object-fit: cover; }
.blog-grid article > div { padding: 27px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.blog-grid article > div > span { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.blog-grid h2 { margin: 11px 0; color: var(--blue-dark); font-size: 18px; line-height: 1.35; }
.blog-grid h2 a { color: inherit; text-decoration: none; }
.blog-grid h2 a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.blog-grid .featured h2 { font-size: 29px; }
.blog-grid p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.blog-grid a { color: var(--blue); font-size: 11px; font-weight: 700; }
.empty-state { padding: 80px 20px; text-align: center; background: var(--surface); }
.empty-state h2 { color: var(--blue-dark); }.empty-state p { color: var(--muted); font-size: 12px; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.contact-page { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.contact-layout > div:first-child > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-cards { margin-top: 28px; display: grid; gap: 9px; }
.contact-cards > * { padding: 16px 18px; display: flex; flex-direction: column; border: 1px solid var(--line); background: white; }
.contact-cards small { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.contact-cards strong { margin: 5px 0 2px; color: var(--blue-dark); font-size: 13px; }
.contact-cards span { color: var(--muted); font-size: 9px; }
.map-placeholder { height: 185px; margin-top: 20px; display: grid; place-items: center; position: relative; overflow: hidden; background-color: #e2eef0; background-image: linear-gradient(30deg,transparent 46%,rgba(23,107,140,.12) 47%,rgba(23,107,140,.12) 49%,transparent 50%),linear-gradient(-30deg,transparent 46%,rgba(23,107,140,.1) 47%,rgba(23,107,140,.1) 49%,transparent 50%); background-size: 80px 80px; }
.map-placeholder > div { padding: 12px 18px; display: flex; flex-direction: column; text-align: center; background: white; box-shadow: var(--shadow); }
.map-placeholder span { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.map-placeholder strong { margin: 3px 0; font-size: 11px; }
.map-placeholder a { color: var(--blue); font-size: 9px; }
.contact-form-card { min-height: 630px; padding: 42px; background: white; box-shadow: var(--shadow); }
.contact-form-card > form > p { color: var(--muted); font-size: 11px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form-card label { margin-bottom: 17px; display: flex; flex-direction: column; gap: 7px; color: #36505a; font-size: 10px; font-weight: 700; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea { width: 100%; padding: 13px; color: var(--ink); border: 1px solid var(--line); outline: none; background: white; font-size: 11px; font-weight: 400; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,107,140,.08); }
.contact-form-card textarea { resize: vertical; }
.contact-form-card form > .button { width: 100%; border: 0; }
.contact-form-card form > small { margin-top: 11px; display: block; color: #8a9aa1; font-size: 8px; text-align: center; }
.contact-success:not([hidden]) { min-height: 545px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact-success > span { width: 62px; height: 62px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 25px; }
.contact-success p { max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.contact-success button { padding: 11px 18px; border: 1px solid var(--line); color: var(--blue); background: white; font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
  .story-grid, .contact-layout { gap: 45px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-row > div:nth-child(2) { padding: 35px; }
  .blog-grid article { grid-template-columns: 140px 1fr; }
  .doctor-about-panel { grid-template-columns: 1fr; }
  .doctor-about-media { min-height: 420px; order: -1; }
  .warm-pages .doctor-about-media { border-radius: 28px 28px 0 0; }
}

@media (max-width: 760px) {
  .page-hero { padding: 65px 0 35px; }
  .page-hero h1 { font-size: 40px; }
  .inner-section { padding: 75px 0; }
  .story-grid, .contact-layout { grid-template-columns: 1fr; }
  .inner-image-stack { padding-left: 14px; }
  .inner-image-stack img { height: 420px; }
  .inner-image-stack > div { right: 0; }
  .doctor-about-copy { padding: 32px 24px 40px; }
  .doctor-about-media { min-height: 360px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article { min-height: 200px; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-photo { height: 410px; }
  .page-cta .container { flex-direction: column; align-items: flex-start; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media, .service-row:nth-child(even) > div:nth-child(2) { grid-column: 1; grid-row: auto; }
  .service-row-media img { min-height: 280px; height: 280px; }
  .service-row > div:nth-child(2) { padding: 32px 25px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  .process-grid > div:nth-child(2) { border-right: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .gallery-grid figure.wide { grid-column: span 2; }
  .gallery-grid figure.tall { grid-row: auto; }
  .blog-tools { align-items: flex-start; flex-direction: column; gap: 18px; }
  .blog-tools label, .blog-tools input { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid article, .blog-grid article.featured { grid-column: auto; grid-template-columns: 1fr; min-height: 0; }
  .blog-grid article img, .blog-grid article.featured img { height: 260px; }
  .blog-grid .featured h2 { font-size: 23px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure.wide { grid-column: auto; }
  .gallery-grid figure { height: 290px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid > div { border-right: 0; }
}

/* Warm & compassionate inner-page alternative */
.warm-pages {
  --warm-cream: #fff9f3;
  --warm-peach: #fce9de;
  --warm-sage: #eaf3ed;
  --warm-sky: #eaf4f5;
  --warm-coral: #e96f4a;
  --warm-teal: #2c6b69;
  --warm-ink: #234340;
  --warm-muted: #657a76;
  --warm-line: #e6ded5;
  color: var(--warm-ink);
  background: var(--warm-cream);
}
/* Inner pages keep content warmth, but chrome matches homepage */
.warm-pages .header { background: white; position: fixed; }
.warm-pages .utility-bar { background: var(--blue-deep); color: rgba(255,255,255,.86); }
.warm-pages .navbar { height: 88px; }
.warm-pages .nav-links > a:not(.button) { color: #3b525c; }
.warm-pages .nav-links > a.active { color: var(--orange); }
.warm-pages .nav-links .button {
  min-height: 48px;
  border-radius: 5px;
  background: var(--orange);
  box-shadow: 0 7px 20px rgba(241,91,38,.2);
}
.warm-pages .nav-links .button:hover { background: var(--orange-dark); }
.warm-pages .logo { color: var(--blue-dark); }
.warm-pages .page-hero { min-height: 630px; padding: 74px 0; overflow: visible; text-align: left; background: var(--warm-cream); }
.warm-pages.page-about .page-hero { background: linear-gradient(115deg,#fff9f3 0%,#fff9f3 52%,#fce7dc 52%,#fce7dc 100%); }
.warm-pages.page-services .page-hero { background: linear-gradient(115deg,#fffaf4 0%,#fffaf4 52%,#eaf3ed 52%,#eaf3ed 100%); }
.warm-pages.page-gallery .page-hero { background: linear-gradient(115deg,#fff9f3 0%,#fff9f3 52%,#f6eae6 52%,#f6eae6 100%); }
.warm-pages.page-blog .page-hero { background: linear-gradient(115deg,#fffaf5 0%,#fffaf5 52%,#e7f2f3 52%,#e7f2f3 100%); }
.warm-pages.page-contact .page-hero { background: linear-gradient(115deg,#fff9f3 0%,#fff9f3 52%,#f9e5d8 52%,#f9e5d8 100%); }
.warm-pages .page-hero::before { width: 115px; height: 115px; left: 4%; top: auto; bottom: -34px; border: 0; background: rgba(233,111,74,.1); }
.warm-pages .page-hero::after { width: 72px; height: 72px; right: 43%; bottom: 35px; border: 0; background: rgba(44,107,105,.09); }
.warm-pages .page-hero-grid { display: grid; grid-template-columns: .92fr 1fr; gap: 85px; align-items: center; }
.warm-pages .page-hero-copy { padding-bottom: 10px; }
.warm-pages .page-hero .eyebrow { color: var(--warm-coral); }
.warm-pages .page-hero h1 { max-width: 580px; margin-bottom: 20px; color: var(--warm-ink); font-size: clamp(46px,5vw,67px); line-height: 1.08; letter-spacing: -3px; }
.warm-pages .page-hero p { max-width: 555px; margin: 0; color: var(--warm-muted); font-size: 16px; line-height: 1.75; }
.hero-gentle-link {
  margin-top: 29px;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(23, 107, 140, 0.35);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}
.hero-gentle-link span { color: var(--orange); text-decoration: none !important; }
.hero-gentle-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  text-decoration: none !important;
}
.page-hero-visual { min-height: 480px; position: relative; }
.page-hero-visual > picture,
.page-hero-visual > img {
  width: 92%;
  height: 460px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  display: block;
}
.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 190px 190px 28px 28px;
  box-shadow: 0 26px 55px rgba(81,75,62,.13);
}
.page-gallery .page-hero-visual img { border-radius: 30px 190px 30px 190px; }
.page-blog .page-hero-visual img { border-radius: 190px 32px 190px 32px; }
.page-contact .page-hero-visual img { border-radius: 190px 190px 190px 32px; }
.page-hero-shape { width: 84%; height: 90%; position: absolute; left: 0; bottom: -5px; border: 2px solid rgba(233,111,74,.45); border-radius: 190px 190px 30px 30px; }
.page-services .page-hero-shape, .page-blog .page-hero-shape { border-color: rgba(44,107,105,.4); }
.page-care-note { width: 285px; min-height: 82px; padding: 15px 18px; position: absolute; left: -18px; bottom: -5px; z-index: 3; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,253,249,.95); box-shadow: 0 18px 42px rgba(73,78,67,.15); backdrop-filter: blur(8px); }
.page-care-note p { color: var(--warm-ink) !important; font-size: 11px !important; line-height: 1.55 !important; }
.care-heart { width: 41px; height: 41px; flex: 0 0 auto; position: relative; display: block; border-radius: 50%; background: var(--warm-peach); }
.care-heart i { width: 13px; height: 20px; position: absolute; left: 11px; top: 9px; border-radius: 9px 9px 3px 9px; background: var(--warm-coral); transform: rotate(-42deg); }
.care-heart i:last-child { left: 17px; border-radius: 9px 9px 9px 3px; transform: rotate(42deg); }

.warm-pages .inner-section { background: #fffdf9; }
.warm-pages .inner-copy h2, .warm-pages .inner-title h2, .warm-pages .contact-layout h2, .warm-pages .contact-form-card h2 { color: var(--warm-ink); }
.warm-pages .inner-copy > p, .warm-pages .inner-title > p { color: var(--warm-muted); }
.warm-pages .inner-image-stack img { border-radius: 24px 120px 24px 24px; }
.warm-pages .inner-image-stack::before { border-color: var(--warm-coral); border-radius: 30px; }
.warm-pages .inner-image-stack > div { right: -12px; border-radius: 18px; background: var(--warm-teal); box-shadow: 0 16px 40px rgba(44,107,105,.2); }
.warm-pages .signature { border: 0; border-radius: 14px; background: var(--warm-sage); }
.warm-pages .signature span { color: var(--warm-teal); }
.warm-pages .recovery-steps-section { background: var(--warm-sage); }
.warm-pages .recovery-steps-track .recovery-icon {
  color: var(--warm-coral);
  background: #fff5f0;
}
.warm-pages .recovery-steps-track > div:nth-child(2n) .recovery-icon {
  color: var(--warm-teal);
  background: #eaf3ed;
}
.warm-pages .doctor-about-section { background: var(--warm-cream); }
.warm-pages .doctor-about-panel {
  border-radius: 28px;
  background: var(--warm-peach);
  box-shadow: 0 18px 42px rgba(80,72,59,.08);
}
.warm-pages .doctor-about-copy .doctor-role { color: var(--warm-teal); }
.warm-pages .doctor-creds li {
  border: 0;
  border-radius: 999px;
  background: #fffaf5;
  color: var(--warm-ink);
}
.warm-pages .doctor-about-media {
  border-radius: 0 28px 28px 0;
}
.warm-pages .values-section, .warm-pages .process-section { background: var(--warm-cream); }
.warm-pages .values-grid { gap: 15px; border: 0; }
.warm-pages .values-grid article { min-height: 245px; border: 1px solid var(--warm-line); border-radius: 20px; background: #fffdf9; transition: transform .25s, box-shadow .25s; }
.warm-pages .values-grid article:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(80,72,59,.09); }
.warm-pages .values-grid span { color: var(--warm-coral); }
.warm-pages .values-grid h3 { color: var(--warm-ink); }
.warm-pages .team-section { background: var(--warm-sage); }
.warm-pages .team-photo { border-radius: 150px 150px 22px 22px; }
.warm-pages .team-grid article:nth-child(2) .team-photo { border-radius: 22px 150px 22px 150px; }
.warm-pages .team-grid article:nth-child(3) .team-photo { border-radius: 150px 22px 150px 22px; }
.warm-pages .team-grid h3 { color: var(--warm-ink); }
.warm-pages .team-grid a { color: var(--warm-coral); }

.warm-pages .service-list { gap: 42px; }
.warm-pages .service-row { overflow: hidden; border-radius: 26px; background: var(--warm-sage); box-shadow: 0 12px 30px rgba(80,72,59,.06); }
.warm-pages .service-row:nth-child(even) { background: var(--warm-peach); }
.warm-pages .service-row > div:nth-child(2) > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--warm-coral); background: #fffaf5; }
.warm-pages .service-row h2 { color: var(--warm-ink); }
.warm-pages .service-row p { color: var(--warm-muted); }
.warm-pages .service-row li::before { color: var(--warm-coral); }
/* service links match homepage text-link style (see override below) */
.warm-pages .process-grid { gap: 15px; }
.warm-pages .process-grid > div { padding: 28px 20px; border: 1px solid var(--warm-line); border-radius: 18px; background: #fffdf9; }
.warm-pages .process-grid strong { background: var(--warm-coral); }

.warm-pages .gallery-section { background: #fffdf9; }
.warm-pages .gallery-filters { padding: 6px; width: fit-content; margin-left: auto; margin-right: auto; border-radius: 999px; background: var(--warm-sage); }
.warm-pages .gallery-filters button { border: 0; border-radius: 999px; background: transparent; }
.warm-pages .gallery-filters button.active { background: var(--warm-teal); }
.warm-pages .gallery-grid { gap: 20px; }
.warm-pages .gallery-grid figure { border-radius: 24px; }
.warm-pages .gallery-grid figure:nth-child(2), .warm-pages .gallery-grid figure:nth-child(5) { border-radius: 100px 24px 24px 24px; }
.warm-pages .gallery-grid figcaption { padding-top: 70px; }

.warm-pages .blog-section { background: var(--warm-cream); }
.warm-pages .blog-tools { border-color: var(--warm-line); }
.warm-pages .blog-tools strong, .warm-pages .blog-grid h2 { color: var(--warm-ink); }
.warm-pages .blog-tools input { border: 1px solid var(--warm-line); border-radius: 999px; background: #fffdf9; }
.warm-pages .blog-grid article { overflow: hidden; border-color: var(--warm-line); border-radius: 22px; background: #fffdf9; }
.warm-pages .blog-grid article.featured { border-radius: 28px 100px 28px 28px; background: var(--warm-sage); }
.warm-pages .blog-grid article > div > span { color: var(--warm-coral); }
.warm-pages .blog-grid a { color: var(--warm-teal); }

.warm-pages .contact-page { background: var(--warm-cream); }
.warm-pages .contact-cards > * { border-color: var(--warm-line); border-radius: 15px; background: #fffdf9; }
.warm-pages .contact-cards > *:nth-child(2) { background: var(--warm-sage); }
.warm-pages .contact-cards > *:nth-child(3) { background: var(--warm-peach); }
.warm-pages .contact-cards small { color: var(--warm-coral); }
.warm-pages .contact-cards strong { color: var(--warm-ink); }
.warm-pages .map-placeholder { border-radius: 20px; }
.warm-pages .contact-form-card { border-radius: 30px 100px 30px 30px; background: #fffdf9; box-shadow: 0 24px 55px rgba(85,73,59,.1); }
.warm-pages .contact-form-card input, .warm-pages .contact-form-card select, .warm-pages .contact-form-card textarea { border-color: var(--warm-line); border-radius: 10px; background: #fffcf8; }
.warm-pages .contact-form-card form > .button {
  border-radius: 5px;
  background: var(--orange);
  box-shadow: 0 7px 20px rgba(241,91,38,.2);
}
.warm-pages .contact-form-card form > .button:hover { background: var(--orange-dark); }
.warm-pages .service-row a {
  padding: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
}
.warm-pages .service-row a:hover { color: var(--orange); }
.warm-pages .contact-success > span { background: var(--warm-teal); }

.warm-pages .page-cta { margin: 0; padding: 72px 0; position: relative; overflow: hidden; background: var(--blue); }
.warm-pages .page-cta::after {
  content: "";
  width: 250px;
  height: 250px;
  position: absolute;
  right: 8%;
  top: -155px;
  border: 45px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.warm-pages .page-cta h2 { font-size: 36px; }
.warm-pages .page-cta .button {
  border-radius: 5px;
  background: var(--orange);
  box-shadow: 0 7px 20px rgba(241,91,38,.2);
}
.warm-pages .page-cta .button:hover { background: var(--orange-dark); }
.warm-pages .page-footer,
.warm-pages .footer { background: #062f40; color: rgba(255,255,255,.72); }
.warm-pages .page-footer .logo,
.warm-pages .footer .logo { color: white; }

@media (max-width: 900px) {
  .warm-pages .page-hero-grid { gap: 40px; }
  .warm-pages .page-hero h1 { font-size: 48px; }
  .page-hero-visual > picture, .page-hero-visual > img { width: 96%; }
  .page-care-note { left: -8px; }
}

@media (max-width: 760px) {
  .warm-pages .navbar { height: 74px; }
  .warm-pages .nav-links.open { top: 74px; background: #fffdf9; }
  .warm-pages .page-hero, .warm-pages.page-about .page-hero, .warm-pages.page-services .page-hero, .warm-pages.page-gallery .page-hero, .warm-pages.page-blog .page-hero, .warm-pages.page-contact .page-hero { padding: 48px 0 70px; background: var(--warm-cream); }
  .warm-pages .page-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .warm-pages .page-hero h1 { font-size: 42px; letter-spacing: -2px; }
  .warm-pages .page-hero p { font-size: 14px; }
  .page-hero-visual { min-height: 430px; }
  .page-hero-visual > picture, .page-hero-visual > img { width: 94%; height: 400px; }
  .page-care-note { left: 0; bottom: -12px; }
  .warm-pages .values-grid { gap: 12px; }
  .warm-pages .team-photo { border-radius: 140px 140px 22px 22px; }
  .warm-pages .service-row { border-radius: 20px; }
  .warm-pages .process-grid { gap: 12px; }
  .warm-pages .gallery-filters { width: 100%; border-radius: 18px; }
  .warm-pages .gallery-grid figure, .warm-pages .gallery-grid figure:nth-child(2), .warm-pages .gallery-grid figure:nth-child(5) { border-radius: 18px; }
  .warm-pages .blog-grid article.featured { border-radius: 22px; }
  .warm-pages .contact-form-card { border-radius: 24px; }
}

/* Icons + reveal motion */
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Homepage: Team / Locations / FAQ ===== */
.reviews-section { background: white; }
.reviews-header {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.reviews-header .section-heading { margin: 0; max-width: none; }
.reviews-header .section-heading p { margin: 0; max-width: 520px; }
.google-score {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.google-score-brand,
.google-score-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.google-score-brand > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.google-score-brand strong {
  font: 700 15px/1.2 "Manrope", sans-serif;
  color: var(--blue-dark);
}
.google-score-brand span {
  color: var(--muted);
  font-size: 12px;
}
.google-score-rating em {
  font: 800 34px/1 "Manrope", sans-serif;
  color: var(--blue-dark);
  font-style: normal;
}
.google-stars {
  display: inline-flex;
  gap: 2px;
  color: #f0a433;
}
.google-score-rating > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.google-score .button {
  width: fit-content;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.review-card:hover {
  border-color: transparent;
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card-top > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-card-top strong {
  font-size: 14px;
  color: var(--blue-dark);
}
.review-card-top span {
  color: var(--muted);
  font-size: 11px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bcdde5;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
}
.review-avatar-alt { background: #f7cfbf; }
.review-avatar-warm { background: #d9e9ec; }
.review-google { flex: 0 0 auto; }
.review-stars { margin-bottom: 14px; }
.review-card p {
  margin: 0;
  color: #3f5963;
  font-size: 14px;
  line-height: 1.7;
}

.team-home-section { background: var(--surface); }
.team-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-home-card {
  padding: 18px 18px 24px;
  background: white;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.team-home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-home-photo {
  height: 220px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.team-home-photo span {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
}
.team-home-photo-1 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/team-1.jpg"); }
.team-home-photo-2 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/team-2.jpg"); }
.team-home-photo-3 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/specialist.jpg"); }
.team-home-photo-4 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/team-3.jpg"); }
.team-home-photo-5 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/about.jpg"); }
.team-home-photo-6 { background-image: linear-gradient(rgba(8,56,76,.08),rgba(8,56,76,.28)), url("../assets/images/service-geriatric.jpg"); }
.team-home-card h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 16px;
}
.team-home-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.locations-section { background: white; }
.locations-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}
.locations-panels {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.location-region {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.location-region h3 {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 15px;
}
.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.location-chips button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: #3b525c;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.location-chips button:hover {
  color: var(--orange);
  border-color: #f3c2b0;
}
.location-chips button.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.location-details {
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
}
.location-details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 18px;
}
.location-meta a,
.location-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}
.location-map {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.faq-section { background: var(--surface); }
.faq-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.faq-intro .section-heading { margin-bottom: 16px; }
.faq-intro > p {
  margin: 0 0 24px;
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: white;
  border: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  color: var(--blue-dark);
  font: 700 14px/1.45 "Manrope", sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: "–";
  background: var(--orange-soft);
  color: var(--orange);
}
.faq-item summary:hover { color: var(--orange); }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-header { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .reviews-grid { grid-template-columns: 1fr; }
  .team-home-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .location-map,
  .location-map iframe { min-height: 320px; }
}

@media (max-width: 760px) {
  .team-home-grid { grid-template-columns: 1fr; }
  .team-home-photo { height: 260px; }
  .faq-layout { gap: 34px; }
}

/* ===== Blog detail ===== */
.blog-detail-hero {
  padding: 48px 0 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.warm-pages .blog-detail-hero { background: var(--warm-cream); border-bottom-color: var(--warm-line); }
/* Match article column width in .blog-detail-layout (1fr + 280px sidebar + 48px gap) */
.blog-detail-hero-inner {
  width: 100%;
  max-width: calc(100% - 328px);
  margin: 0;
  text-align: left;
}
.blog-detail-hero .eyebrow { display: block; }
.blog-detail-hero h1 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  text-align: left;
}
.warm-pages .blog-detail-hero h1 { color: var(--warm-ink); }
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.blog-detail-layout {
  padding: 48px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}
.blog-detail-cover {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}
.blog-detail-cover img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
.article-prose { color: #3f5963; font-size: 15px; line-height: 1.8; }
.article-prose .lead {
  margin: 0 0 22px;
  color: var(--blue-dark);
  font: 600 18px/1.6 "Manrope", sans-serif;
}
.article-prose h2 {
  margin: 34px 0 12px;
  color: var(--blue-dark);
  font-size: 24px;
  letter-spacing: -0.6px;
}
.article-prose p { margin: 0 0 16px; }
.article-prose ul {
  margin: 0 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.article-prose li { padding-left: 4px; }
.article-prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  color: var(--blue-dark);
  font: 600 16px/1.65 "Manrope", sans-serif;
}
.blog-detail-cta {
  margin-top: 36px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--blue);
  color: white;
  border-radius: 6px;
}
.blog-detail-cta strong { display: block; margin-bottom: 4px; font-size: 16px; }
.blog-detail-cta p { margin: 0; color: rgba(255,255,255,.75); font-size: 13px; }
.blog-detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
}
.blog-aside-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
}
.warm-pages .blog-aside-card {
  border-color: var(--warm-line);
  background: #fffdf9;
  border-radius: 16px;
}
.blog-aside-card h2 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.blog-aside-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.blog-aside-card li {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.blog-related {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
}
.blog-related strong {
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.4;
}
.blog-related span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.blog-related:hover strong { color: var(--orange); text-decoration: underline; }
.blog-aside-card .button {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .blog-detail-hero-inner { max-width: 100%; }
  .blog-detail-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .blog-detail-aside { position: static; }
  .blog-detail-cta { flex-direction: column; align-items: flex-start; }
}
