/* =========================================================
   Dr. Aytən Abdullayeva — site styles
   Palette: ivory neutrals, colposcope green, Lugol burgundy, dusty rose (decor only).
   ========================================================= */

:root {
  --bg: #FAF8F4;
  --bg-2: #F2EEE7;
  --hero: #F1EDE6;
  --surface: #FFFFFF;
  --ink: #17201D;
  --text: #39443F;
  --muted: #5C6863;
  --line: #E5E0D7;
  --line-2: #D6D0C5;
  --green-900: #13312B;
  --green: #1F4D43;
  --green-600: #2A6355;
  --green-300: #8FB3A6;
  --green-100: #E3ECE7;
  --green-50: #F0F5F2;
  --wine: #7A2E3B;
  --wine-700: #63232F;
  --wine-100: #F4E5E6;
  --rose: #D9A3A0;
  --rose-100: #F7EBE8;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 29, .05);
  --shadow: 0 1px 2px rgba(23, 32, 29, .04), 0 10px 30px -16px rgba(23, 32, 29, .22);
  --shadow-lg: 0 24px 60px -28px rgba(19, 49, 43, .38);
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --header-h: 76px;
  --dock-h: 0px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.03rem/1.68 var(--font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; line-height: 1.16; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
.no-js .js-only { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i--sm { width: 18px; height: 18px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 500; text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; color: #fff; }
.main { display: block; outline: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow > * { max-width: 820px; }
.mono { font-family: var(--mono); }

/* ---------- small atoms ---------- */
.badge {
  display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 10px 10px 10px 4px;
  background: var(--green-100); color: var(--green);
}
.badge .i { width: 1.1rem; height: 1.1rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem;
  color: var(--green); font-size: .9rem; font-weight: 500; line-height: 1.3;
}
.kicker > span:last-child { min-width: 0; }
.link-arrow {
  display: inline; width: fit-content; color: var(--green); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease), color .2s;
}
.link-arrow .i { display: inline-block; margin-left: .35rem; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--wine); background-size: 100% 1px; }
.link-arrow:hover .i { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem;
  border: 0; border-radius: 999px; font-weight: 500; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn--cta { background: var(--wine); color: #fff; box-shadow: 0 8px 20px -10px rgba(122, 46, 59, .7); }
.btn--cta:hover { background: var(--wine-700); color: #fff; }
.btn--cta:hover .i { transform: translateX(1px) rotate(-6deg); }
.btn--cta .i { transition: transform .25s var(--ease); }
.btn--send { width: 100%; background: var(--green); color: #fff; }
.btn--send:hover { background: var(--green-900); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line);
  border-radius: 50%; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.icon-btn--solid { background: var(--green); border-color: var(--green); color: #fff; }
.icon-btn--solid:hover { background: var(--green-900); color: #fff; }

.chip-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .5rem 1rem; border: 1px solid var(--line-2);
  border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .92rem; font-weight: 500; line-height: 1.2; text-decoration: none;
}
.chip-btn:hover { border-color: var(--green); color: var(--green); }
.chip-btn--solid { background: var(--green); border-color: var(--green); color: #fff; }
.chip-btn--solid:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.linkbtn { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* contact icon rows (icons only — labels live in aria-label/title) */
.cicons { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cicon {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--surface); color: var(--green); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.cicon:hover { border-color: var(--green); background: var(--green); color: #fff; transform: translateY(-1px); }
.cicon--whatsapp { color: #1F7A55; }
.cicons--inline { margin-top: .9rem; }
.cicons--row { margin-top: 1.4rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 248, 244, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(23, 32, 29, .35); }
.header__row { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; flex: 0 1 auto; }
.brand:hover { color: var(--ink); }
.brand__mark { display: block; width: auto; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name { font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__role { color: var(--muted); font-size: .8rem; white-space: nowrap; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; white-space: nowrap; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item.has-mega { position: static; }
.nav__link {
  position: relative; display: block; padding: .55rem .55rem; border-radius: 10px; color: var(--ink);
  font-size: .97rem; font-weight: 400; text-decoration: none; transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--green); }
.nav__link.is-current { color: var(--green); }
.nav__link.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--wine);
}
.has-panel .nav__link { padding-right: .2rem; }
.nav__toggle {
  display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted);
}
.nav__toggle .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__toggle:hover { color: var(--green); }
.is-open > .nav__toggle .i { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% - 14px); left: -12px; z-index: 5; padding-top: 24px; min-width: 290px;
  visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.nav__panel::before {
  content: ""; position: absolute; inset: 24px 0 0; z-index: -1; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.nav__panel > * { position: relative; }
.nav__panel > .panel-list { padding: 10px; }
html:not(.js-menu) .has-panel:hover > .nav__panel,
.has-panel.is-open > .nav__panel { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s var(--ease), visibility 0s; }
.nav__panel--mega { left: 50%; width: min(1040px, calc(100vw - 48px)); transform: translate(-50%, 6px); }
html:not(.js-menu) .has-mega:hover > .nav__panel--mega,
.has-mega.is-open > .nav__panel--mega { transform: translate(-50%, 0); }
.mega { display: grid; gap: 4px 18px; padding: 18px 18px 8px; }
.mega--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__title { margin: 4px 10px 6px; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .01em; }
.mega__foot { padding: 6px 28px 18px; border-top: 1px solid var(--line); margin: 6px 18px 0; padding-inline: 10px; padding-top: 12px; }
.panel-list { list-style: none; }
.panel-list a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink);
  font-size: .95rem; line-height: 1.3; text-decoration: none; white-space: normal; transition: background-color .15s, color .15s;
}
.panel-list a .i { width: 20px; height: 20px; color: var(--green); transition: transform .2s var(--ease); }
.panel-list a:hover { background: var(--green-50); color: var(--green); }
.panel-list a:hover .i { transform: scale(1.08); }
.panel-list a[aria-current="page"] { background: var(--green-50); color: var(--green); font-weight: 500; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cta-home { display: contents; }
.burger { display: none; }

/* collapsed header: drawer menu (also forced by JS when the row does not fit) */
@media (max-width: 1179.98px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
html.nav-collapse .nav { display: none; }
html.nav-collapse .burger { display: inline-grid; }
html.nav-collapse .header__actions { margin-left: auto; }

/* phones: the single CTA becomes a docked bar that never scrolls away */
@media (max-width: 767.98px) {
  :root { --header-h: 64px; --dock-h: 74px; }
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .brand__mark { height: 38px; }
  .brand__name { font-size: 1rem; }
  .cta-home {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(23, 32, 29, .35);
  }
  .cta-home .btn { width: 100%; min-height: 50px; font-size: 1.02rem; }
  .header__actions { gap: 8px; }
}
@media (max-width: 429.98px) { .brand__role-x { display: none; } }
@media (max-width: 359.98px) { .brand__role { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--bg-2); }
.section--flush { padding-top: 8px; }
.section--last { padding-bottom: clamp(64px, 8vw, 112px); }
.section__more { margin-top: 1.8rem; }
.sechead { margin-bottom: clamp(24px, 3vw, 36px); max-width: 760px; }
.sechead__title { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.2rem); }
.sechead__intro { margin-top: .8rem; color: var(--muted); font-size: 1.05rem; }
.sechead .kicker { color: var(--green); }

/* ---------- home: hero (triptych — text | portrait | specialty areas) ---------- */
.hero { position: relative; background: var(--hero); overflow: hidden; overflow: clip; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) clamp(220px, 20vw, 262px) minmax(0, .92fr);
  gap: clamp(24px, 3.4vw, 48px); align-items: end; padding-top: clamp(36px, 5vw, 64px);
}
.hero__text { align-self: center; padding-bottom: clamp(32px, 5vw, 64px); min-width: 0; }
.hero__title { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.2rem; }
.hero__name { font-size: clamp(2.5rem, 3.6vw + 1rem, 3.8rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.hero__role { color: var(--green); font-size: clamp(1.08rem, .5vw + .95rem, 1.3rem); font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.hero__sub { max-width: 34rem; color: var(--text); font-size: 1.06rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; list-style: none; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem .42rem .62rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .9rem; line-height: 1.25;
}
.hero__chips .i { color: var(--green); }

.hero__photo {
  position: relative; isolation: isolate; margin: 0; align-self: end; overflow: hidden; overflow: clip;
  border-radius: 26px 26px 0 0; background: var(--green-100); line-height: 0;
}
.hero__mosaic { position: absolute; inset: 0; background: url("../img/cells.svg") 0 0 / 177px 153px repeat; }
.hero__wash {
  position: absolute; left: -10%; right: -10%; top: 0; height: 34%; z-index: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .78) 48%, rgba(247, 251, 248, .1) 70%, rgba(255, 255, 255, 0));
}
.hero__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }

.hero__areas { align-self: center; padding-bottom: clamp(32px, 5vw, 64px); min-width: 0; }
.hero__areas-title { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero__areas-title .i { color: var(--green); }
.areas { list-style: none; display: grid; gap: 10px; }
.areas__link {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.areas__link:hover { border-color: var(--green-300); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.areas__no { font-family: var(--mono); font-size: .78rem; color: var(--wine); }
.areas__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px 12px 12px 4px; background: var(--green-50); color: var(--green); }
.areas__body { display: flex; flex-direction: column; min-width: 0; }
.areas__title { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.areas__text { color: var(--muted); font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.areas__go { width: 18px; height: 18px; color: var(--green); transition: transform .2s var(--ease); }
.areas__link:hover .areas__go { transform: translateX(3px); }

@media (max-width: 1099.98px) {
  .hero__grid { grid-template-columns: clamp(200px, 30vw, 250px) minmax(0, 1fr); align-items: end; }
  .hero__text { grid-column: 1 / -1; padding-bottom: 8px; }
  .hero__areas { padding-bottom: 32px; }
}
@media (max-width: 767.98px) {
  .hero__grid {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    grid-template-areas: "title title" "sub sub" "photo chips" "areas areas";
    gap: 18px 16px; padding-top: 28px; align-items: start;
  }
  .hero__text { display: contents; }
  .hero__title { grid-area: title; margin: 0; }
  .hero__sub { grid-area: sub; }
  .hero__chips { grid-area: chips; flex-direction: column; align-items: flex-start; align-self: center; margin: 0; }
  .hero__chips li { border-radius: 14px; }
  .hero__photo { grid-area: photo; width: 100%; border-radius: 22px; align-self: start; }
  .hero__areas { grid-area: areas; padding-bottom: 32px; }
  .areas__text { display: none; }
  .areas__link { padding: 12px 14px; }
}
@media (max-width: 359.98px) {
  .hero__grid { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); column-gap: 12px; }
  .hero__chips li { font-size: .84rem; }
}

/* ---------- home: intro + key years ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose--lead { font-size: 1.08rem; }
.intro__more { margin-top: 1.4rem; }
.years { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.years__list { list-style: none; display: grid; gap: 0; }
.years__item { position: relative; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.years__item:first-child { padding-top: 0; }
.years__y { font-family: var(--mono); color: var(--wine); font-size: .95rem; line-height: 1.55; }
.years__t { color: var(--ink); font-size: .96rem; line-height: 1.5; }
.years__more { margin-top: 18px; }
@media (max-width: 899.98px) { .intro__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home: HPV → CİN flow ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: flow; }
.flow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--green-300), var(--green) 45%, var(--wine) 80%, var(--wine));
  transform-origin: 0 50%;
}
.flow__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 6px; }
.flow__icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 22px 22px 22px 8px;
  background: var(--surface); color: var(--green); box-shadow: var(--shadow-sm);
}
.flow__icon .i { width: 30px; height: 30px; }
.flow__step--3 .flow__icon { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 77, 67, .7); }
.flow__step--4 .flow__icon { color: var(--wine); }
.flow__t { color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.flow__d { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.flow__window { margin-top: 22px; display: flex; }
.flow__window span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px; background: var(--green-100);
  color: var(--green-900); font-size: .95rem; font-weight: 500; line-height: 1.35;
}
.why__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(32px, 4vw, 48px); }
.why__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 1rem; }
@media (max-width: 899.98px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow::before { left: 33px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, var(--green-300), var(--green) 45%, var(--wine)); transform-origin: 50% 0; }
  .flow__step { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 16px; padding: 0 0 18px; }
  .flow__icon { grid-row: span 2; margin: 0; }
  .flow__t { align-self: end; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- quotes ---------- */
.quote { margin: 0; padding: 28px 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; }
.quote::before {
  content: ""; position: absolute; top: 22px; right: 24px; width: 34px; height: 26px; opacity: .22;
  background: var(--wine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath d='M0 26V15C0 6 5 1 13 0l2 4c-5 2-7 5-7 10h6v12zm19 0V15c0-9 5-14 13-15l2 4c-5 2-7 5-7 10h6v12z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath d='M0 26V15C0 6 5 1 13 0l2 4c-5 2-7 5-7 10h6v12zm19 0V15c0-9 5-14 13-15l2 4c-5 2-7 5-7 10h6v12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--ink); font-size: 1.14rem; line-height: 1.5; font-weight: 500; padding-right: 36px; }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: .9rem; }
.quote__ava { display: inline-block; width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; background: var(--green-100); }
.quote__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quote--why { background: var(--green); border-color: var(--green); }
.quote--why blockquote p { color: #fff; font-size: 1.3rem; }
.quote--why figcaption { color: #D7E5DF; }
.quote--why::before { background: #fff; }
.quote--wide blockquote p { font-size: 1.3rem; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.quotes .quote { height: 100%; }
@media (max-width: 899.98px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- tiles (home services) ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 18px 46px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tile:hover { border-color: var(--green-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.tile__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px 13px 13px 4px; background: var(--green-50); color: var(--green); }
.tile__title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.tile__text { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tile__go { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; color: var(--green); transition: transform .2s var(--ease); }
.tile:hover .tile__go { transform: translateX(3px); }
@media (max-width: 1199.98px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { padding-bottom: 20px; padding-right: 48px; } .tile__go { top: 22px; bottom: auto; } }

/* ---------- visit steps ---------- */
.visit__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; }
.visit__steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 0; border-top: 2px dashed var(--green-300); transform-origin: 0 50%;
}
.vstep { position: relative; display: flex; flex-direction: column; gap: 8px; }
.vstep__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vstep__no {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  color: var(--wine); font-family: var(--mono); font-size: .95rem; position: relative; z-index: 1;
}
.vstep__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green); position: relative; z-index: 1; }
.vstep__title { color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.vstep__text { color: var(--text); font-size: .95rem; line-height: 1.6; }
@media (max-width: 999.98px) {
  .visit__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .visit__steps::before { display: none; }
}
@media (max-width: 599.98px) { .visit__steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- places ---------- */
.places__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.place { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.place__city { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .6rem; color: var(--wine); font-size: .88rem; font-weight: 500; }
.place__name { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6rem; }
.place__addr { color: var(--text); font-size: .98rem; }
.cicons--place { margin-top: 1.1rem; }
.place__more { margin-top: 1rem; }
@media (max-width: 767.98px) { .places__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- media strip ---------- */
.media-strip { padding-block: clamp(44px, 5vw, 64px); }
.media-strip__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: 24px 40px; align-items: center; }
.media-strip .sechead { margin: 0; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.channels li { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .93rem; }
@media (max-width: 999.98px) { .media-strip__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.home-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.home-faq__more { margin-top: .4rem; }
@media (max-width: 899.98px) { .home-faq__grid { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 500; font-size: 1.04rem; line-height: 1.4;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--green); }
.qa__chev { width: 20px; height: 20px; color: var(--green); transition: transform .25s var(--ease); }
.qa[open] .qa__chev { transform: rotate(180deg); }
.qa__a { padding: 0 2px 20px; color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .faq { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}
html.uwa-pause .qa::details-content { transition: none; }

/* ---------- inner page heads ---------- */
.phead { padding: clamp(20px, 3vw, 32px) 0 clamp(36px, 5vw, 56px); background: var(--hero); }
.phead--simple { padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.phead--plate .phead__grid { grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 360px); }
.phead__title { font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem); line-height: 1.1; letter-spacing: -.018em; max-width: 22ch; }
.phead--simple .phead__title { max-width: 26ch; }
.phead__intro { max-width: 46rem; margin-top: 1rem; color: var(--text); font-size: 1.08rem; }
.phead__text { min-width: 0; }
.phead__art { min-width: 0; }
.crumbs { margin-bottom: clamp(18px, 3vw, 28px); font-size: .86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); overflow-wrap: anywhere; }
.answer { margin-top: 1.4rem; max-width: 46rem; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.answer__label { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .45rem; color: var(--green); font-size: .86rem; font-weight: 600; }
.answer__text { color: var(--ink); font-size: 1.05rem; line-height: 1.62; }
@media (max-width: 899.98px) {
  .phead--plate .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .phead__art { max-width: 380px; }
}

/* byline (articles) */
.byline { display: flex; align-items: center; gap: 12px; margin-top: 1.2rem; }
.byline__ava { display: inline-block; width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; background: var(--green-100); }
.byline__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.byline__text { display: flex; flex-direction: column; line-height: 1.35; }
.byline__name { color: var(--ink); font-weight: 600; font-size: .96rem; }
.byline__date { color: var(--muted); font-size: .86rem; }

/* ---------- plates (schematic illustrations) ---------- */
.plate { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.pl { display: block; width: 100%; height: auto; overflow: hidden; }
.pl-t { font-family: var(--mono); font-size: 11.5px; fill: var(--muted); }
.pl-t--muted { fill: #8A938F; }
.pl-ct { font-family: var(--mono); font-size: 13px; font-weight: 500; fill: var(--ink); }
.pl-field { fill: #F5F1EA; }
.pl-rim { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.pl-hair { stroke: var(--line-2); stroke-width: 1.5; stroke-linecap: round; }
.pl-cx { fill: #F2DCD6; stroke: #E6C6BE; stroke-width: 1.2; }
.pl-cz { fill: #E7B9B1; }
.pl-tz { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 4 5; }
.pl-os { fill: #8E4C55; }
.pl-aw { fill: #FFFFFF; opacity: .95; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.pl-pun circle { fill: var(--wine); opacity: .55; }
.pl-sweep { mix-blend-mode: screen; }
.pl-cell { fill: #FBF2EF; stroke: #D9B6AE; stroke-width: 1.3; }
.pl-nuc { fill: #9C6870; }
.pl-cell--aty { fill: #F6E1DD; stroke: var(--wine); }
.pl-nuc--aty { fill: var(--wine); }
.pl-ring { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-dasharray: 1 0; }
.pl-chip { stroke-width: 1.4; }
.pl-chip--hi { fill: var(--wine); stroke: var(--wine); }
.pl-chip--hi-t { fill: #fff; }
.pl-chip--mid { fill: #fff; stroke: var(--green); }
.pl-chip--lo { fill: var(--bg-2); stroke: var(--line-2); }
.pl-chip--lo-t { fill: var(--muted); }
.pl-capsid path { fill: none; stroke: var(--green-300); stroke-width: 1.3; stroke-linejoin: round; }
.pl-epi { fill: #FBF2EF; stroke: #DFC3BC; stroke-width: 1.2; }
.pl-cin { fill: rgba(122, 46, 59, .28); }
.pl-sep { stroke: #DFC3BC; stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.pl-bm { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; }
.pl-cut { fill: none; stroke: var(--wine); stroke-width: 2; stroke-dasharray: 1 0; }
.pl-wire { fill: none; stroke: var(--green-900); stroke-width: 2.2; stroke-linecap: round; }
.pl-handle { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.pl-col { fill: #E5A9A2; }
.pl-grain circle { fill: #C98A86; opacity: .75; }
.pl-scj { fill: none; stroke: var(--green); stroke-width: 2; }
.pl-key { stroke: var(--line-2); }
.pl-key--col { fill: #E5A9A2; }
.pl-key--sq { fill: #F2DCD6; }
.pl-skin path { fill: none; stroke: #D7B3AB; stroke-width: 1.4; }
.pl-bump circle { fill: #C98A86; }
.pl-lensbg { fill: #FFF8F6; }
.pl-lens { fill: none; stroke: var(--green); stroke-width: 3; }
.pl-skin--zoom path { stroke: #C99A90; stroke-width: 1; }
.pl-bump--zoom circle { fill: var(--wine); }
.pl-vial { fill: #F4F7F5; stroke: var(--green); stroke-width: 1.6; }
.pl-cap { fill: var(--green); }
.pl-liq { fill: var(--green-100); }
.pl-axis { stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; fill: none; }
.pl-dose { fill: var(--green); stroke: #fff; stroke-width: 3; }
.pl-tick { stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.pl-bar--pap { fill: var(--green-300); }
.pl-bar--hpv { fill: var(--green); }
.pl-fade { stroke: var(--green-300); stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.pl-lead { stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 2 3; }
.pl-soft { fill: var(--rose-100); }
.pl-soft2 { fill: #F1D6D1; }
.pl-tri { fill: var(--green-100); stroke: var(--green-300); }
.pl-post { fill: #fff; stroke: var(--green); stroke-dasharray: 4 4; }
.pl-mark { fill: var(--wine); }
.pl-wave { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-wave2 { stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 6; }
.pl-pause { fill: var(--green-100); }
.pl-pausebar { stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.pl-tis1 { fill: #F2DCD6; }
.pl-tis2 { fill: #ECCCC4; }
.pl-tis3 { fill: #E3BCB3; }
.pl-beam path { stroke: var(--green-300); stroke-width: 1.6; stroke-dasharray: 3 5; }
.pl-mdot circle { fill: var(--wine); opacity: .8; }
.pl-drop { fill: none; stroke: var(--wine); stroke-width: 2; }
.pl-hammock { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }
.pl-anchor { stroke: var(--green-300); stroke-width: 3; stroke-linecap: round; }
.pl-arrows path { fill: none; stroke: var(--green-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-track { fill: var(--bg-2); }
.pl-mens { fill: var(--wine); }
.pl-luteal { fill: var(--green-100); }
.pl-ovu { fill: var(--green); stroke: #fff; stroke-width: 3; }
.pl-rod { fill: var(--green-100); stroke: var(--green); stroke-width: 1.4; }
.pl-coc { fill: var(--rose); }
.pl-sector { fill: #EFEAE3; }
.pl-sectorline { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.pl-echo { fill: none; stroke: #D8D0C4; stroke-width: 6; stroke-linecap: round; opacity: .7; }
.pl-cyst { fill: #4A5652; opacity: .85; }
.pl-myo { fill: #CFC4B6; stroke: #B5A897; stroke-width: 1.5; }
.pl-whorl { fill: none; stroke: #A4977F; stroke-width: 1.4; }
.pl-beamline { stroke: var(--green); stroke-width: 2; opacity: .55; }

/* ---------- layout with side column ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.layout__main { min-width: 0; }
.layout__side { min-width: 0; align-self: stretch; }
.side-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 999.98px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__side { order: -1; }
  .side-sticky { position: static; }
  .layout__side .side-card { display: none; }
}
.toc { padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc__title { margin-bottom: 8px; color: var(--muted); font-size: .84rem; font-weight: 500; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 4px; padding: 6px 8px; border-radius: 9px; color: var(--text);
  font-size: .92rem; line-height: 1.4; text-decoration: none; counter-increment: toc;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .76rem; color: var(--muted); line-height: 1.85; }
.toc a:hover { background: var(--green-50); color: var(--green); }
.toc a.is-active { background: var(--green-50); color: var(--green); font-weight: 500; }
.toc a.is-active::before { color: var(--wine); }
@media (max-width: 999.98px) {
  .toc { padding: 14px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
  .toc a::before { display: none; }
}
.side-card { padding: 20px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.side-card__title { display: flex; align-items: center; gap: .45rem; color: var(--ink); font-weight: 600; margin-bottom: .4rem; }
.side-card__title .i { color: var(--green); }
.side-card__text { color: var(--text); font-size: .92rem; line-height: 1.5; margin-bottom: 1rem; }

.block { margin-bottom: clamp(28px, 4vw, 44px); }
.block__title { font-size: clamp(1.35rem, .9vw + 1rem, 1.7rem); margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.block__title--badge { display: flex; align-items: center; gap: .7rem; }
.scope-note {
  display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 28px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); color: var(--text); font-size: .93rem; line-height: 1.55;
}
.scope-note .i { color: var(--green); margin-top: 2px; }
.updated { display: flex; gap: .55rem; align-items: flex-start; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.55; }
.updated .i { margin-top: 2px; }

/* practice box — the doctor's own work */
.practice { margin: clamp(28px, 4vw, 44px) 0; border: 1px solid var(--green-100); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.practice__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--green-50); border-bottom: 1px solid var(--green-100); }
.practice__ava { display: inline-block; width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: var(--shadow-sm); background: var(--green-100); }
.practice__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.practice__meta { display: flex; flex-direction: column; min-width: 0; }
.practice__kicker { color: var(--green); font-size: .82rem; font-weight: 500; }
.practice__title { font-size: 1.2rem; line-height: 1.3; }
.practice__body { padding: 20px 22px 22px; }

/* ---------- prose ---------- */
.prose > * + * { margin-top: 1em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.5em; }
.prose h2 { font-size: clamp(1.3rem, .9vw + 1rem, 1.6rem); margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose--article h2:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul:not(.cicons) { list-style: none; display: grid; gap: .55em; }
.prose ul:not(.cicons) > li { position: relative; padding-left: 1.4em; }
.prose ul:not(.cicons) > li::before {
  content: ""; position: absolute; left: .2em; top: .66em; width: 7px; height: 7px; border-radius: 2px 2px 2px 0; background: var(--green-300);
}
.prose ul:not(.cicons) > li > p { margin-top: .6em; }
.prose ol.steps { list-style: none; counter-reset: st; display: grid; gap: .8em; }
.prose ol.steps > li { position: relative; counter-increment: st; padding-left: 2.6em; min-height: 1.9em; }
.prose ol.steps > li::before {
  content: counter(st); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 1.85em; height: 1.85em;
  border-radius: 50%; background: var(--green-100); color: var(--green); font-family: var(--mono); font-size: .86em; font-weight: 500;
}
.prose a.xref::before { content: "→\00a0"; }
.prose a.xref { font-weight: 500; }
.bullets { list-style: none; display: grid; gap: .8rem; }
.bullets > li { position: relative; padding-left: 1.5em; }
.bullets > li::before { content: ""; position: absolute; left: .2em; top: .68em; width: 8px; height: 8px; border-radius: 2px 2px 2px 0; background: var(--wine); opacity: .7; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks .i { color: var(--green); margin-top: 3px; }
@media (max-width: 767.98px) { .checks { grid-template-columns: minmax(0, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--green-50); color: var(--green-900); font-weight: 600; font-size: .9rem; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { color: var(--ink); font-weight: 600; }
@media (max-width: 699.98px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
  .tbl--stack th, .tbl--stack td { border-bottom: 1px solid var(--line); }
  .tbl--stack tbody th { background: var(--green-50); }
  .tbl--stack td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .8rem; font-weight: 500; margin-bottom: 2px; }
  .tbl--stack tr > :last-child { border-bottom: 0; }
}

.pull { margin: 1.6em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--green-50); }
.pull blockquote { margin: 0; }
.pull p { color: var(--ink); font-size: 1.12rem; font-weight: 500; line-height: 1.5; }
.pull figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.case { padding: 18px 20px; border-radius: var(--radius); background: var(--rose-100); }
.case__label, .note__label { margin-bottom: .35rem !important; color: var(--wine); font-size: .85rem; font-weight: 600; }
.note--warn { padding: 18px 20px; border-radius: var(--radius); background: #FBF4E6; }
.note--warn .note__label { color: #7A5418; }
.myth { display: grid; gap: 0; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.myth__m, .myth__f { padding: 14px 18px; margin: 0 !important; }
.myth__m { background: var(--bg-2); color: var(--ink); font-weight: 500; }
.myth__tag { display: inline-block; margin-right: .6rem; padding: .1rem .55rem; border-radius: 999px; font-family: var(--mono); font-size: .78rem; vertical-align: .1em; }
.myth__m .myth__tag { background: var(--wine-100); color: var(--wine); }
.myth__f .myth__tag { background: var(--green-100); color: var(--green); }

.sources { margin-top: 32px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); font-size: .9rem; }
.sources__title { display: flex; align-items: center; gap: .45rem; margin-bottom: .3rem; color: var(--ink); font-weight: 600; }
.nextcard {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; margin-top: 24px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.nextcard:hover { border-color: var(--green-300); box-shadow: var(--shadow); color: var(--ink); }
.nextcard__kind { color: var(--muted); font-size: .84rem; }
.nextcard__title { grid-row: 2; font-weight: 600; font-size: 1.08rem; }
.nextcard__go { grid-row: span 2; grid-column: 2; grid-row-start: 1; color: var(--green); }

/* related */
.related__title { font-size: clamp(1.35rem, .9vw + 1rem, 1.7rem); margin-bottom: 1.2rem; }
.related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 12px; list-style: none; }
.rcard {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.rcard:hover { border-color: var(--green-300); box-shadow: var(--shadow); color: var(--ink); }
.rcard__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rcard__kind { color: var(--muted); font-size: .8rem; }
.rcard__title { font-weight: 500; line-height: 1.35; }
.rcard__go { width: 18px; height: 18px; color: var(--green); }

/* ---------- hubs ---------- */
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.scard {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.scard:hover { border-color: var(--green-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.scard__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px 14px 14px 4px; background: var(--green-50); color: var(--green); }
.scard--cond .scard__icon { background: var(--rose-100); color: var(--wine); }
.scard__title { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.scard__text { color: var(--muted); font-size: .93rem; line-height: 1.55; flex: 1; }
.scard__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: 6px; color: var(--green); font-weight: 500; font-size: .93rem; }
.scard__go .i { transition: transform .2s var(--ease); }
.scard:hover .scard__go .i { transform: translateX(3px); }
@media (max-width: 999.98px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .scards { grid-template-columns: minmax(0, 1fr); } }
.helpline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--green); color: #fff; }
.helpline__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px 16px 16px 5px; background: rgba(255, 255, 255, .14); }
.helpline__text { font-size: 1.1rem; font-weight: 500; line-height: 1.45; }
.helpline .cicon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.helpline .cicon:hover { background: #fff; color: var(--green); }
@media (max-width: 767.98px) { .helpline { grid-template-columns: minmax(0, 1fr); } }

.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.acard {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.acard:hover { border-color: var(--green-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.acard__top { display: flex; align-items: center; gap: 10px; }
.acard__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px 12px 12px 4px; background: var(--green-50); color: var(--green); }
.acard__tag { color: var(--muted); font-size: .84rem; line-height: 1.3; }
.acard__title { font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.acard__text { color: var(--muted); font-size: .93rem; line-height: 1.55; flex: 1; }
.acard__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: var(--green); font-weight: 500; font-size: .93rem; }
@media (max-width: 999.98px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .acards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.profile { padding-bottom: clamp(16px, 3vw, 40px); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.profile__img { display: block; width: 100%; height: auto; }
.profile__label { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; color: var(--green); font-weight: 500; font-size: .9rem; }
.facts { display: grid; gap: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 899.98px) { .profile__grid { grid-template-columns: minmax(0, 1fr); } .profile__photo { max-width: 400px; } }
@media (max-width: 479.98px) { .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.chrono { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.chrono__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.chrono__y { font-family: var(--mono); color: var(--wine); font-size: .92rem; }
.chrono__t { color: var(--ink); line-height: 1.5; }
@media (max-width: 999.98px) { .chrono { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .chrono { grid-template-columns: minmax(0, 1fr); } }
.cards { list-style: none; display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); min-width: 0; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 13px 13px 13px 4px; background: var(--green-50); color: var(--green); }
.card__title { font-size: 1.08rem; margin-bottom: .45rem; }
.card__text { color: var(--text); font-size: .95rem; line-height: 1.6; }
@media (max-width: 999.98px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .cards--3 { grid-template-columns: minmax(0, 1fr); } }

.edu { list-style: none; display: grid; gap: 12px; }
.edu__item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.edu__period { font-family: var(--mono); color: var(--wine); font-size: .95rem; line-height: 1.6; }
.edu__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.edu__title { color: var(--ink); font-weight: 600; line-height: 1.45; }
.edu__place { display: inline-flex; gap: .45rem; align-items: flex-start; color: var(--muted); font-size: .93rem; }
.edu__place .i { margin-top: 2px; color: var(--green); }
@media (max-width: 599.98px) { .edu__item { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.creds ul > li { padding: 16px 18px 16px 2.6em !important; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.creds ul > li::before { left: 1.15em !important; top: 1.45em !important; }
.creds ul { gap: 10px !important; }

.events { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.event { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.event__name { color: var(--ink); font-weight: 600; line-height: 1.4; }
.event__place, .event__role { display: inline-flex; gap: .45rem; align-items: flex-start; color: var(--text); font-size: .93rem; line-height: 1.45; }
.event__place .i { color: var(--wine); margin-top: 1px; }
.event__role .i { color: var(--green); margin-top: 1px; }
@media (max-width: 767.98px) { .events { grid-template-columns: minmax(0, 1fr); } }
.note-line { display: flex; gap: .55rem; align-items: flex-start; margin-top: 1.4rem; color: var(--text); font-size: .98rem; }
.note-line .i { color: var(--green); margin-top: 3px; }

/* ---------- FAQ page ---------- */
.faqpage { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-nav ul { list-style: none; display: grid; gap: 4px; }
.faq-nav a { display: flex; align-items: center; gap: .6rem; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: .95rem; }
.faq-nav a .i { color: var(--green); }
.faq-nav a:hover, .faq-nav a.is-active { background: var(--surface); color: var(--green); box-shadow: var(--shadow-sm); }
.faqgroup { margin-bottom: clamp(32px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 16px); }
.faqgroup__title { display: flex; align-items: center; gap: .7rem; font-size: clamp(1.3rem, .8vw + 1rem, 1.6rem); margin-bottom: 1rem; }
@media (max-width: 899.98px) {
  .faqpage { grid-template-columns: minmax(0, 1fr); }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; }
}

/* ---------- media ---------- */
.shows { columns: 2; column-gap: 16px; }
.show { display: inline-block; width: 100%; margin: 0 0 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); break-inside: avoid; vertical-align: top; }
.show__head { margin-bottom: 1rem; }
.show__name { font-size: 1.2rem; }
.show__note { margin-top: .3rem; color: var(--muted); font-size: .9rem; }
.show__list { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; }
.show__list li { position: relative; padding-left: 1.3em; font-size: .96rem; line-height: 1.55; }
.show__list li::before { content: ""; position: absolute; left: .15em; top: .62em; width: 7px; height: 7px; border-radius: 2px 2px 2px 0; background: var(--green-300); }
@media (max-width: 899.98px) { .shows { columns: 1; } }
.online { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.online__item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.online__item--video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 20px; align-items: start; }
@media (max-width: 767.98px) { .online__item--video { grid-template-columns: minmax(0, 1fr); } }
.vgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 999.98px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }
.vgrid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 999.98px) { .vgrid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 599.98px) { .vgrid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yt-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 28px; }
.yt-more .shorts { margin-top: 0; }
@media (max-width: 899.98px) { .yt-more { grid-template-columns: minmax(0, 1fr); } }
.shorts { margin-top: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-2); }
.shorts__title { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; color: var(--ink); font-weight: 600; }
.shorts__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.shorts__list li { padding: .4rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }

/* video card: the video's original YouTube cover, nothing drawn over it; the player loads on click */
.vid { margin: 0; min-width: 0; }
.vid__media {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s var(--ease);
}
.vid--short .vid__media { aspect-ratio: 9 / 16; }
.vid__media:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.vid__cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__media:focus-visible { outline-offset: 3px; }
.vid__cap { display: grid; gap: 3px; margin-top: .7rem; }
.vid__meta { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.vid__meta .i { color: var(--wine); }
.vid__title { color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }
.vid--short .vid__title { font-size: .93rem; }
.vid iframe, .mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .vid__media--frame { background: #000; }
.gate { margin-top: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-2); font-size: .9rem; line-height: 1.5; }
.gate__text { display: flex; gap: .5rem; align-items: flex-start; }
.gate__text .i { color: var(--green); margin-top: 2px; }
.gate__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__lead { margin-bottom: 1rem; }
.contact__form { scroll-margin-top: calc(var(--header-h) + 16px); }
.contact__places { display: grid; gap: 16px; }
.place--main .mapbox { margin-top: 18px; }
@media (max-width: 899.98px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.mapbox { margin: 0; }
.mapbox__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #EDE8DF; }
.mapbox__ph { position: absolute; inset: 0; }
.mapbox__grid {
  position: absolute; inset: 0; opacity: .9;
  background:
    linear-gradient(90deg, rgba(31, 77, 67, .08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(31, 77, 67, .08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .9) 46.5%, rgba(255, 255, 255, .9) 49.5%, transparent 50%),
    linear-gradient(25deg, transparent 60%, rgba(255, 255, 255, .8) 60.5%, rgba(255, 255, 255, .8) 62.5%, transparent 63%);
}
.mapbox__pin { position: absolute; left: 50%; top: 38%; display: grid; place-items: center; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: var(--wine); color: #fff; box-shadow: 0 10px 20px -8px rgba(122, 46, 59, .7); }
.mapbox__over { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); }
.mapbox__addr { color: var(--ink); font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.mapbox__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mapbox .gate { position: absolute; left: 12px; right: 12px; top: 12px; margin: 0; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.mapbox.is-live .mapbox__ph, .mapbox.is-live .mapbox__over { display: none; }

/* booking / question form */
.bk { display: grid; gap: 14px; }
.bk__mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 5px; border: 0; border-radius: 14px; background: var(--bg-2); }
.seg { position: relative; display: block; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .5rem .6rem; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .93rem; text-align: center; transition: background-color .15s, color .15s; }
.seg input:checked + span { background: var(--surface); color: var(--green); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 1px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-weight: 500; font-size: .93rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink);
  font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D43' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 77, 67, .14); }
.field [aria-invalid="true"] { border-color: var(--wine); }
.hint { color: var(--muted); font-size: .84rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .check, .check { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); font-size: .9rem; line-height: 1.5; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--green); }
.bk__err { padding: 10px 14px; border-radius: 10px; background: var(--wine-100); color: var(--wine-700); font-size: .9rem; }
.bk[data-mode="booking"] [data-when="question"], .bk[data-mode="question"] [data-when="booking"] { display: none; }
.bk__out { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-sm); background: var(--green-50); }
.bk__done { display: flex; gap: .5rem; align-items: flex-start; color: var(--green-900); font-size: .93rem; }
.bk__done .i { color: var(--green); margin-top: 2px; }
.bk__msg { width: 100%; padding: 10px 12px; border: 1px solid var(--green-100); border-radius: 10px; background: #fff; font-size: .9rem; resize: none; }
.booking__intro { margin-bottom: 16px; color: var(--text); font-size: .95rem; }
.booking__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.cicon.is-done { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- vizitkart ---------- */
.vcard-page { padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 7vw, 96px); background: var(--hero); }
.vcard { max-width: 520px; margin: 0 auto; padding: 36px 28px 30px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; }
.vcard__photo { display: inline-block; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; border: 4px solid var(--green-100); background: var(--green-100); }
.vcard__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard__name { margin-top: 16px; font-size: clamp(1.7rem, 2vw + 1rem, 2.2rem); }
.vcard__role { margin-top: .5rem; color: var(--green); font-weight: 500; }
.vcard__place { display: inline-flex; gap: .4rem; align-items: flex-start; margin-top: .8rem; color: var(--muted); font-size: .92rem; text-align: left; }
.vcard__place .i { margin-top: 2px; color: var(--wine); }
.cicons--card { justify-content: center; margin-top: 20px; }
.cicons--card .cicon { width: 52px; height: 52px; }
.cicons--soft { margin-top: 12px; }
.vcard__save { margin-top: 22px; }

/* ---------- policy pages ---------- */
.policy { display: grid; gap: 14px; }
.policy__block { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.policy__title { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; margin-bottom: .8rem; }
.policy__block > p + p { margin-top: .8em; }

/* ---------- sitemap ---------- */
.smap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.smap__col { min-width: 0; }
.smap__title { display: flex; align-items: center; gap: .5rem; font-size: 1.12rem; margin: 0 0 .8rem; }
.smap__title .i { color: var(--green); }
.smap__title a { color: var(--ink); text-decoration: none; }
.smap__title + .smap__list, .smap__sub + .smap__list { margin-bottom: 1.4rem; }
.smap__sub { margin: .6rem 0 .4rem; color: var(--muted); font-size: .86rem; font-weight: 500; }
.smap__list { list-style: none; display: grid; gap: .45rem; }
.smap__list a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.smap__list a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 899.98px) { .smap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- search ---------- */
.search { position: relative; display: flex; align-items: center; gap: 10px; }
.search__icon { position: absolute; left: 16px; top: 50%; margin-top: -11px; color: var(--muted); pointer-events: none; line-height: 0; }
.search__input {
  flex: 1; min-width: 0; min-height: 54px; padding: .8rem 1rem .8rem 3rem; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--surface); color: var(--ink); font-size: 1.05rem;
}
.search__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 77, 67, .14); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; list-style: none; }
.search__chips button, .search__chips a {
  display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
  font-size: .9rem; text-decoration: none;
}
.search__chips button:hover, .search__chips a:hover { border-color: var(--green); color: var(--green); }
.search__count { margin: 14px 0 8px; color: var(--muted); font-size: .9rem; }
.results { list-style: none; display: grid; gap: 8px; }
.result__a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.result__a:hover { border-color: var(--green-300); color: var(--ink); }
.result__kind { color: var(--wine); font-size: .78rem; font-weight: 500; }
.result__title { font-weight: 600; line-height: 1.35; }
.result__text { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.result__text mark { background: var(--green-100); color: var(--green-900); border-radius: 3px; padding: 0 2px; }
.search__empty { margin-top: 14px; padding: 18px; border-radius: 14px; background: var(--bg-2); }
.search__empty p { margin-bottom: 12px; }

/* ---------- 404 ---------- */
.nf { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); background: var(--hero); }
.nf__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.nf__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.nf .search { margin-top: 22px; max-width: 520px; }
@media (max-width: 767.98px) { .nf__grid { grid-template-columns: minmax(0, 1fr); } .nf__art { max-width: 300px; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--green-900); color: #CFDDD7; padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.site-footer a { color: #E4EEEA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; text-decoration: none !important; }
.brand--footer .brand__role { color: #B8CCC4; }
.brand--footer .brand__mark { box-sizing: border-box; width: 46px; height: 46px; padding: 6px; border-radius: 12px; background: var(--bg); object-fit: contain; }
.footer__about { margin-top: 16px; color: #CFDDD7; line-height: 1.6; max-width: 32rem; }
.footer__addr { display: flex; gap: .45rem; align-items: flex-start; margin-top: 12px; color: #B8CCC4; font-size: .9rem; }
.footer__addr .i { margin-top: 2px; color: var(--rose); }
.site-footer .cicons--footer { margin-top: 18px; gap: 8px; }
.site-footer .cicons--footer .cicon { width: 42px; height: 42px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #E4EEEA; }
.site-footer .cicons--footer .cicon:hover { background: #fff; color: var(--green-900); text-decoration: none; }
.site-footer .cicons--footer .i { width: 20px; height: 20px; }
.footer__title { margin-bottom: 14px; color: #fff; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: .55rem; }
.footer__note { margin-top: 40px; }
.footer__note p { display: flex; gap: .55rem; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #CFDDD7; font-size: .9rem; line-height: 1.55; }
.footer__note .i { margin-top: 2px; color: var(--rose); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 28px; padding-top: 20px; padding-bottom: 76px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal .linkbtn { color: #E4EEEA; text-decoration: none; font-size: .88rem; }
.footer__legal .linkbtn:hover { color: #fff; text-decoration: underline; }
.footer__copy, .footer__otx { color: #B8CCC4; }
.footer__otx a { font-weight: 600; }
@media (max-width: 999.98px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 599.98px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- dialogs ---------- */
.dlg { padding: 0; border: 0; color: var(--text); background: var(--surface); box-shadow: var(--shadow-lg); max-width: none; max-height: none; }
.dlg::backdrop { background: rgba(19, 49, 43, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg:focus, .dlg:focus-visible { outline: none; }
html.dlg-open { overflow: hidden; }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.dlg__title { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.dlg__body { padding: 20px; overflow-y: auto; min-height: 0; }
.dlg__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.cta-slot:empty { display: none; }
.cta-slot .btn { width: 100%; }

.dlg--drawer[open] {
  position: fixed; inset: 0 0 0 auto; width: min(430px, 100vw); height: 100%; max-height: 100dvh; margin: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 22px 0 0 22px;
}
.drawer { overflow-y: auto; min-height: 0; padding: 10px 12px 20px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group > summary, .drawer__link {
  display: flex; align-items: center; gap: 12px; padding: 14px 10px; color: var(--ink); font-weight: 500; font-size: 1.04rem; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary .i:first-child, .drawer__link .i { color: var(--green); }
.drawer__chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
.drawer__group[open] .drawer__chev { transform: rotate(180deg); }
.drawer__link { border-bottom: 1px solid var(--line); }
.drawer__sub { margin: 10px 10px 4px; color: var(--muted); font-size: .82rem; font-weight: 500; }
.drawer__all { padding: 10px 10px 16px; }
.cicons--drawer { margin-top: 12px; justify-content: center; }
.dlg__foot .cta-slot + .cicons--drawer { margin-top: 12px; }

.dlg--search[open] {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 24px)); max-height: min(78dvh, 720px); margin: 12px 0 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 22px;
}
.dlg--search .search { padding: 14px; border-bottom: 1px solid var(--line); }
.dlg--search .search__icon { left: 30px; }
.search__body { overflow-y: auto; min-height: 0; padding: 4px 16px 16px; }
.dlg__foot--search:has(.cta-slot:empty) { display: none; }

.dlg--booking[open], .dlg--cc[open] {
  position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 24px)); height: fit-content; max-height: calc(100dvh - 24px);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 24px;
}
@media (max-width: 599.98px) {
  .dlg--booking[open], .dlg--cc[open] { inset: auto 0 0 0; width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; }
}

/* ---------- cookie consent ---------- */
.cc { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: min(430px, calc(100vw - 40px)); }
.cc__card { padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.cc__title { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.cc__text { color: var(--text); font-size: .9rem; line-height: 1.55; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.cc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .5rem 1rem; border: 1px solid var(--green);
  border-radius: 999px; background: var(--surface); color: var(--green); font-weight: 500; font-size: .92rem; line-height: 1.2;
}
.cc-btn:hover { background: var(--green); color: #fff; }
.cc-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 42px; padding: .4rem .5rem; border: 0; background: none; color: var(--muted); font-size: .92rem; }
.cc-link:hover { color: var(--green); }
.cc__lead { margin-bottom: 16px; font-size: .93rem; }
.cc-cat { padding: 16px 0; border-top: 1px solid var(--line); }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-cat__title { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.cc-cat__title .i { color: var(--green); }
.cc-cat__text { margin-top: .5rem; color: var(--text); font-size: .9rem; line-height: 1.55; }
.cc-switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; }
.cc-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background-color .2s; }
.cc-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.cc-switch input:checked + .cc-switch__track { background: var(--green); }
.cc-switch input:checked + .cc-switch__track::after { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-switch__track { outline: 3px solid var(--green); outline-offset: 2px; }
.cc-switch.is-locked { opacity: .65; }
.cc-switch.is-locked input { cursor: not-allowed; }
.dlg__foot--cc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 767.98px) {
  .cc { left: 10px; right: 10px; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 10px); width: auto; }
  .cc__card { padding: 16px 16px 12px; }
  .cc__actions .cc-btn { flex: 1 1 auto; }
}

/* =========================================================
   Motion — runs only when html.m-on (boot.js: no OS reduce-motion, no "pause animations")
   Entrances use animation-fill-mode: backwards so finished elements keep no leftover transforms.
   ========================================================= */
.d1 { --d: .1s; } .d2 { --d: .2s; } .d3 { --d: .35s; } .d4 { --d: .5s; } .d5 { --d: .65s; }
.d6 { --d: .8s; } .d7 { --d: .95s; } .d8 { --d: 1.1s; } .d9 { --d: 1.25s; }

@keyframes rv-in { from { opacity: 0; translate: 0 16px; } }
@keyframes pa-pop { from { opacity: 0; scale: .6; } }
@keyframes pa-draw { from { stroke-dashoffset: 1; } }
@keyframes pa-rise { from { scale: 1 0; } }
@keyframes pa-grow { from { scale: 0 1; } }
@keyframes pa-scan { 0% { translate: -60px 0; } 32%, 100% { translate: 300px 0; } }
@keyframes pa-swipe { 0% { translate: -70px 0; opacity: 0; } 12% { opacity: 1; } 55%, 100% { translate: 0 0; opacity: 1; } }
@keyframes pa-travel { 0% { translate: 0 0; } 70%, 100% { translate: 236px 0; } }
@keyframes pa-glide { from { opacity: 0; translate: -24px 0; } }
@keyframes pa-lift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pa-sweep { 0% { rotate: -38deg; } 50% { rotate: 38deg; } 100% { rotate: -38deg; } }
@keyframes wash { 0% { opacity: 0; translate: 0 -100%; } 8% { opacity: 1; } 34% { opacity: 1; translate: 0 310%; } 38%, 100% { opacity: 0; translate: 0 310%; } }
@keyframes flow-line { from { scale: 0 1; } }
@keyframes flow-line-v { from { scale: 1 0; } }

.pa-scan { translate: 300px 0; }
.pa-travel { translate: 236px 0; }
.pl-rod, .pa-pop, .pa-rise, .pa-grow { transform-box: fill-box; transform-origin: center; }
.pa-rise { transform-origin: 50% 100%; }
.pa-grow { transform-origin: 0 50%; }
.pa-sweep { transform-box: view-box; transform-origin: 160px 22px; }
.pa-draw { stroke-dasharray: 1 1; }
.pl-cut.pa-draw { stroke-dasharray: 1 1; }

html.m-on [data-rv]:not(.is-in) { opacity: 0; }
html.m-on [data-rv].is-in { animation: rv-in .7s var(--ease) var(--rv-d, 0s) backwards; }

html.m-on [data-plate]:not(.is-in) :is(.pa-pop, .pa-rise, .pa-grow, .pa-glide) { opacity: 0; }
html.m-on [data-plate]:not(.is-in) .pa-draw { stroke-dashoffset: 1; }
html.m-on [data-plate].is-in .pa-pop { animation: pa-pop .55s var(--ease) var(--d, 0s) backwards; }
html.m-on [data-plate].is-in .pa-draw { animation: pa-draw 1.2s var(--ease) var(--d, 0s) backwards; }
html.m-on [data-plate].is-in .pa-rise { animation: pa-rise .9s var(--ease) var(--d, 0s) backwards; }
html.m-on [data-plate].is-in .pa-grow { animation: pa-grow .9s var(--ease) var(--d, 0s) backwards; }
html.m-on [data-plate].is-in .pa-scan { animation: pa-scan 7s cubic-bezier(.45, 0, .3, 1) .2s infinite; }
html.m-on [data-plate].is-in .pa-swipe { animation: pa-swipe 1.6s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pa-travel { animation: pa-travel 6s var(--ease) .3s infinite; }
html.m-on [data-plate].is-in .pa-glide { animation: pa-glide .9s var(--ease) .2s backwards; }
html.m-on [data-plate].is-in .pa-lift { animation: pa-lift 5s ease-in-out .4s infinite; }
html.m-on [data-plate].is-in .pa-sweep { animation: pa-sweep 6s ease-in-out .3s infinite; }

html.m-on .hero__photo.is-in .hero__wash { animation: wash 11s cubic-bezier(.4, 0, .2, 1) .5s infinite; }
html.m-on .hero__photo:not(.is-in) .hero__img { opacity: 0; }
html.m-on .hero__photo.is-in .hero__img { animation: rv-in .9s var(--ease) backwards; }

html.m-on .why__flow:not(.is-in) .flow__step { opacity: 0; }
html.m-on .why__flow.is-in .flow::before { animation: flow-line 1.4s var(--ease) .1s backwards; }
html.m-on .why__flow.is-in .flow__step { animation: rv-in .6s var(--ease) backwards; }
html.m-on .why__flow.is-in .flow__step--2 { animation-delay: .25s; }
html.m-on .why__flow.is-in .flow__step--3 { animation-delay: .5s; }
html.m-on .why__flow.is-in .flow__step--4 { animation-delay: .75s; }
@media (max-width: 899.98px) { html.m-on .why__flow.is-in .flow::before { animation-name: flow-line-v; } }

html.m-on [data-steps]:not(.is-in) .vstep { opacity: 0; }
html.m-on [data-steps].is-in::before { animation: flow-line 1.4s var(--ease) backwards; }
html.m-on [data-steps].is-in .vstep { animation: rv-in .6s var(--ease) backwards; }
html.m-on [data-steps].is-in .vstep:nth-child(2) { animation-delay: .2s; }
html.m-on [data-steps].is-in .vstep:nth-child(3) { animation-delay: .4s; }
html.m-on [data-steps].is-in .vstep:nth-child(4) { animation-delay: .6s; }

@starting-style {
  .has-panel.is-open > .nav__panel { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .22s ease both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; filter: brightness(1.04); } }
@keyframes vt-in { from { opacity: 0; translate: 0 6px; } }
html.uwa-pause::view-transition-old(root), html.uwa-pause::view-transition-new(root) { animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .cc, .dlg, .layout__side, .related, .hero__areas { display: none !important; }
  body { background: #fff; padding: 0; }
  .phead, .hero, .section--tint { background: #fff; }
}
