/* ==========================================================================
   Cabinet Dr. Mihai Doina — medicultaudefamilie.ro
   Mobile-first stylesheet
   ========================================================================== */

:root {
  --bg: #f7f5f0;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --ink: #0e2238;
  --ink-2: #33475e;
  --muted: #637387;
  --line: #e3e0d8;
  --line-2: #d6dde7;
  --primary: #1f5fae;
  --primary-600: #194f93;
  --primary-700: #133d73;
  --primary-soft: #e5eefa;
  --accent: #d9694b;
  --accent-soft: #fbe9e3;
  --ok: #1e8a5a;
  --ok-soft: #e2f4ea;
  --closed: #a5452e;
  --wa: #1fa855;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 56, .06), 0 2px 8px rgba(14, 34, 56, .04);
  --shadow: 0 2px 6px rgba(14, 34, 56, .05), 0 12px 32px rgba(14, 34, 56, .08);
  --shadow-lg: 0 24px 60px rgba(14, 34, 56, .14);

  --gutter: 16px;
  --max: 1180px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 5.2vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head--row { display: flex; flex-direction: column; gap: 16px; max-width: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Icons */
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans); text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(31, 95, 174, .28); }
.btn--primary:hover { background: var(--primary-600); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.btn--light { background: #fff; color: var(--primary-700); }
.btn--light:hover { background: var(--primary-soft); color: var(--primary-700); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------------- Header ---------------- */
.topbar { display: none; background: var(--ink); color: rgba(255,255,255,.82); font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .i { width: 15px; height: 15px; opacity: .8; }
.topbar-group { display: flex; gap: 22px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 34, 56, .05); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }

.nav { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
body.menu-open .nav-toggle .i-open { display: none; }
body.menu-open .nav-toggle .i-close { display: block; }
.header-cta { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg); padding: 12px var(--gutter) 120px;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility 0s .22s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu li a[aria-current="page"] { color: var(--primary); }
.mobile-menu li a .i { color: var(--muted); }
.mobile-menu .mm-info { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu .mm-info .btn { width: 100%; }
.mm-hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: .95rem; color: var(--ink-2); }

/* Bottom action bar (mobile) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(14, 34, 56, .06);
}
.action-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .97rem; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -20%;
  width: 90vw; height: 90vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 95, 174, .13), transparent);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--primary); font-weight: 400; }
.hero .lead { max-width: 560px; margin-bottom: 26px; }
.hero .btn-row .btn { flex: 1 1 220px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .94rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .i { color: var(--ok); width: 18px; height: 18px; stroke-width: 2.4; }

.hero-visual { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.hero-photo {
  position: relative; border-radius: 220px 220px var(--r-lg) var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #e9eef4, #dfe6ef); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-tag {
  position: absolute; left: -6px; bottom: 22px; background: var(--surface); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); max-width: 74%;
}
.hero-tag strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; }
.hero-tag span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.status-card {
  position: absolute; right: -6px; top: 26px; background: var(--surface); border-radius: 16px;
  padding: 12px 14px; box-shadow: var(--shadow); font-size: .86rem; max-width: 64%;
}
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .8rem; letter-spacing: .02em; }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.status-pill.is-open { color: var(--ok); }
.status-pill.is-closed { color: var(--closed); }
.status-card .status-detail { display: block; color: var(--ink-2); margin-top: 3px; font-weight: 600; line-height: 1.35; }
/* Pe desktop casetele stau separat (program sus-dreapta, nume jos-stânga).
   Pe mobil le stivuim jos, ca programul să nu acopere fața doamnei doctor. */
.hero-badges { display: contents; }
@media (max-width: 559px) {
  .hero-badges { position: absolute; left: -6px; right: -6px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-badges .status-card, .hero-badges .hero-tag { position: static; }
  .hero-badges .status-card { align-self: flex-end; max-width: 78%; }
}

/* ---------------- Info cards ---------------- */
.info-grid { display: grid; gap: 14px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-card .ic .i { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-sans); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 2px 0 6px; }
.info-card p { margin: 0; font-weight: 600; }
.info-card a { text-decoration: none; }
.info-card .big { font-size: 1.3rem; font-family: var(--font-serif); font-weight: 600; color: var(--ink); }

.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; margin: 0 -10px; border-radius: 8px; font-weight: 600; color: var(--ink-2); }
.hours li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.hours li.off span:last-child { color: var(--muted); }

/* ---------------- Service cards ---------------- */
.svc-grid { display: grid; gap: 14px; }
.svc {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.svc .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 10px; }
.svc .ic .i { width: 24px; height: 24px; }
.svc h3 { margin: 0; font-size: 1.22rem; }
.svc p { margin: 0; color: var(--muted); font-size: .97rem; }
.svc .more { margin-top: auto; padding-top: 10px; color: var(--primary); font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.svc .badge { position: absolute; top: 18px; right: 18px; }

@media (max-width: 559px) {
  .svc-grid--compact { gap: 10px; }
  .svc-grid--compact .svc { display: grid; grid-template-columns: 44px 1fr 20px; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px; }
  .svc-grid--compact .svc .ic { width: 44px; height: 44px; margin: 0; grid-row: span 2; border-radius: 13px; }
  .svc-grid--compact .svc h3 { font-size: 1.08rem; grid-column: 2; }
  .svc-grid--compact .svc p { grid-column: 2; font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-grid--compact .svc .more { grid-column: 3; grid-row: 1 / span 2; padding: 0; font-size: 0; }
  .svc-grid--compact .svc .more .i { font-size: 1.1rem; }
  .hero-photo { aspect-ratio: 1 / 1.08; }
  .team-grid--scroll { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .team-grid--scroll::-webkit-scrollbar { display: none; }
  .team-grid--scroll .member { scroll-snap-align: center; }
  .split-media .floating { bottom: -18px; }
}

/* ---------------- Poster scroller ---------------- */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px;
  margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain;
}
.scroller::-webkit-scrollbar { display: none; }
.poster {
  scroll-snap-align: center; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.poster:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.poster-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.poster-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.poster:hover .poster-img img { transform: scale(1.03); }
.poster-body { padding: 14px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.poster-body strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.poster-body .i { color: var(--primary); }
.scroller-nav { display: none; gap: 8px; }
.scroller-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.scroller-nav button:hover { border-color: var(--primary); color: var(--primary); }
.scroller-nav button:disabled { opacity: .35; cursor: default; }

/* ---------------- About / split ---------------- */
.split { display: grid; gap: 32px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .floating {
  position: absolute; right: 14px; bottom: -22px; background: var(--primary); color: #fff;
  border-radius: var(--r); padding: 16px 18px; max-width: 240px; box-shadow: var(--shadow);
}
.split-media .floating strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.split-media .floating span { font-size: .87rem; opacity: .9; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.checks li .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks li .tick .i { width: 15px; height: 15px; stroke-width: 2.6; }
.quote {
  font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.45; font-style: italic; color: var(--ink);
  border-left: 3px solid var(--primary); padding: 4px 0 4px 18px; margin: 0 0 18px;
}

/* ---------------- Team ---------------- */
.team-grid { display: grid; gap: 18px; }
.member { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.member-photo { aspect-ratio: 4 / 4.4; background: linear-gradient(180deg, #edf1f5, #e2e8ef); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.member-body { padding: 20px 22px 24px; }
.member-body h3 { margin-bottom: 4px; }
.member-role { color: var(--primary); font-weight: 700; font-size: .95rem; margin: 0 0 10px; }
.member-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 600; margin: 0; }
.member-meta .i { width: 17px; height: 17px; }

/* ---------------- Articles ---------------- */
.post-grid { display: grid; gap: 18px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-img--icon { display: grid; place-items: center; color: var(--primary); background: linear-gradient(135deg, var(--primary-soft), #f3f0e8); }
.post-img--icon .i { width: 54px; height: 54px; stroke-width: 1.3; }
.post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.post-meta .cat { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.post-body h3 { margin: 0; font-size: 1.2rem; }
.post-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 36px 24px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary) 70%); color: #fff;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; }
.cta-band .btn-row { margin-top: 22px; position: relative; z-index: 1; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; gap: 18px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.contact-stack { display: grid; gap: 14px; }
.hours-cols { display: grid; gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.panel h3 .i { color: var(--primary); }

/* ---------------- Page hero ---------------- */
.page-hero { padding: 26px 0 40px; }
.crumbs { font-size: .86rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); max-width: 820px; }
.page-hero .lead { max-width: 680px; margin: 0; }

/* ---------------- Detail (treatment) ---------------- */
.detail { display: grid; gap: 32px; }
.detail-media img { border-radius: var(--r-lg); width: 100%; box-shadow: var(--shadow); }
.detail-body h2 { font-size: 1.6rem; margin-top: 1.2em; }
.detail-body h2:first-child { margin-top: 0; }
.feature-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.feature-list li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-weight: 700; color: var(--ink-2); }
.feature-list li .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.feature-list li .ic .i { width: 19px; height: 19px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 26px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.note { font-size: .9rem; color: var(--muted); background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; margin-top: 18px; }

/* ---------------- Prices ---------------- */
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 999px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 0; background: none; padding: 11px 16px; border-radius: 999px; font: 700 .93rem var(--font-sans); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; }
.price-search { position: relative; margin-bottom: 14px; }
.price-search input {
  width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface); font: 600 1rem var(--font-sans); color: var(--ink);
}
.price-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.price-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 18px; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: 0; }
.price-list li[hidden] { display: none; }
.price-list .name { font-weight: 600; color: var(--ink-2); }
.price-list .name small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; margin-top: 2px; }
.price-list .price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.price-empty { padding: 18px; color: var(--muted); text-align: center; }
.price-panel[hidden] { display: none; }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); aspect-ratio: 3 / 2; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 30, .9); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 12px; width: auto; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------------- Article ---------------- */
.article { max-width: 740px; margin: 0 auto; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 32px; }
.article-cover img { width: 100%; }
.prose { font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose figure { margin: 26px 0; }
.prose figure img { border-radius: var(--r); border: 1px solid var(--line); }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.callout { border-radius: var(--r); padding: 18px 20px; margin: 22px 0; background: var(--primary-soft); color: var(--primary-700); }
.callout--warn { background: var(--accent-soft); color: #8a3a24; }
.callout strong { display: block; margin-bottom: 6px; }
.callout ul { margin-bottom: 0; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; }
.footer .brand { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.6); }
.footer h4 { font-family: var(--font-sans); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .hours li { color: rgba(255,255,255,.72); }
.footer .hours li span:last-child { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 10px; font-size: .84rem; color: rgba(255,255,255,.55); }
.emergency { display: inline-flex; align-items: center; gap: 8px; color: #ffb4a1; font-weight: 700; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .info-grid, .svc-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .scroller { grid-auto-columns: 44%; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .wide { grid-column: span 3; aspect-ratio: 21 / 9; }
  .hours-cols { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .scroller-nav { display: flex; }
}

@media (min-width: 900px) {
  :root { --gutter: 28px; --header-h: 76px; }
  body { padding-bottom: 0; font-size: 17px; }
  .action-bar, .nav-toggle, .mobile-menu { display: none; }
  .topbar { display: block; }
  .nav { display: flex; gap: 4px; }
  .nav a { padding: 9px 13px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
  .nav a:hover { color: var(--primary); background: var(--primary-soft); }
  .nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
  .header-cta { display: inline-flex; min-height: 46px; padding: 10px 20px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.3rem; }

  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero .btn-row .btn { flex: 0 0 auto; }
  .hero-visual { max-width: 470px; margin-right: 0; }
  .hero-tag { left: -40px; }
  .status-card { right: -30px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .scroller { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; margin: 0; padding: 4px 0 18px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--rev .split-media { order: 2; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cta-band { padding: 56px; display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 32px; }
  .cta-band .btn-row { margin-top: 0; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 22px; }
  .map, .map iframe { min-height: 100%; }
  .page-hero { padding: 56px 0 56px; }
  .detail { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .detail-media { position: sticky; top: calc(var(--header-h) + 24px); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery .wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.svc div p + p { margin-top: .7em; }
