/* =========================================================
   Kashyap Dental & Aesthetics
   Visual identity carried over from the current site: warm beige,
   deep sage, warm brass, Fraunces + Work Sans. Mobile first.
   ========================================================= */
:root {
  --bg: #EDE6D6;
  --surface: #F7F3E9;
  --surface-2: #FBF9F3;
  --ink: #2E2A24;
  --ink-soft: #625A4D;
  --line: #DCD2BC;
  --accent: #54635A;          /* deep sage */
  --accent-ink: #3F4B44;
  --brass: #B08D57;           /* decorative */
  --brass-ink: #7A5C2E;       /* brass for small text (AA on beige) */
  --navy: #1E3A5F;            /* logo tooth */
  --urgent: #94503F;          /* terracotta, toothache */
  --urgent-soft: #F4E3DA;
  --wa: #157A4A;
  --ok: #3F8B5B;
  --warn: #A35D4A;
  --footer: #2B2722;
  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px -14px rgba(46, 42, 36, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ne: "Mukta", "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif;
  --gutter: 16px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
:lang(ne) { font-family: var(--font-ne); }
.lang-ne h1, .lang-ne h2, .lang-ne h3, html[lang="ne"] h1, html[lang="ne"] h2, html[lang="ne"] h3 { font-family: var(--font-ne); font-weight: 600; letter-spacing: 0; }
img, picture, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
figure { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.center { text-align: center; }
.icon { flex: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.012em; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); font-optical-sizing: auto; }
h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
.eyebrow { font: 600 .74rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-ink); margin: 0 0 .9em; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); color: var(--surface-2); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0F6A3E; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-light { background: var(--surface-2); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .2s var(--ease); }

/* ---------- draft-only helpers ---------- */
.draft-banner { background: #3A3328; color: #F3E7C8; font-size: .82rem; padding: .55rem var(--gutter); text-align: center; line-height: 1.45; }
.draft-banner strong { color: #FFE08A; }
mark.confirm {
  display: inline-flex; align-items: baseline; gap: .35em; flex-wrap: wrap;
  background: #FFE9A6; color: #4F3B00; border: 1px dashed #B8901E; border-radius: 4px;
  padding: 0 .4em; font: 500 .78em/1.55 var(--font-body); letter-spacing: 0; text-transform: none; vertical-align: baseline; white-space: normal;
}
mark.confirm b { font-weight: 700; font-size: .85em; letter-spacing: .06em; }
mark.confirm.is-note { background: #E9EFE6; color: #2F3D33; border-color: #6F8A75; }
.review-banner { margin-top: 1rem; }

.ph {
  position: relative; display: grid; place-items: center; width: 100%;
  background: repeating-linear-gradient(135deg, #EFE7D3 0 12px, #F4EEDF 12px 24px);
  border: 1.5px dashed var(--brass); border-radius: inherit; color: var(--brass-ink); overflow: hidden;
}
.ph-inner { display: grid; justify-items: center; gap: .3rem; padding: 1rem; text-align: center; max-width: 34ch; }
.ph .icon { width: 30px; height: 30px; }
.ph-title { font: 600 .72rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.ph code { font: 500 .72rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: rgba(255, 255, 255, .6); padding: .15em .4em; border-radius: 3px; word-break: break-all; }
.ph-shot { font-size: .78rem; line-height: 1.4; color: var(--ink-soft); }
.ph-compact .ph-inner { padding: .6rem; gap: .2rem; }
.ph-compact .icon { width: 24px; height: 24px; }

/* ---------- header ---------- */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: #fff; padding: .6em 1em; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(237, 230, 214, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: .65rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; }
.brand-name { font: 600 1.08rem/1.1 var(--font-display); }
.brand-name em { font-style: italic; font-weight: 400; color: var(--accent); }
.nav-toggle { display: none; }
@media (max-width: 479px) {
  .brand-logo { height: 36px; }
  .brand-name { font-size: 1rem; }
  .brand-name em { display: block; font-size: .86em; }
}

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; width: 100%; }
.site-nav > a, .nav-drop > summary { font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: .55rem 0; cursor: pointer; }
.site-nav > a[aria-current="page"] { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .4em; }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; display: inline-flex; align-items: center; gap: .25rem; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop[open] > summary .icon { transform: rotate(180deg); }
.nav-drop > summary .icon { transition: transform .2s; }
.drop-panel ul { list-style: none; margin: 0; }
.drop-panel a { display: block; padding: .4rem 0; color: var(--ink); text-decoration: none; }
.drop-panel a:hover, .drop-panel a[aria-current="page"] { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--brass); }
.mega-title { font: 600 .7rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-ink); margin: .8rem 0 .2rem; }
.nav-urgent { color: var(--urgent) !important; font-weight: 600 !important; }
.nav-lang { font-family: var(--font-ne); }
.nav-cta { background: var(--accent); color: var(--surface-2) !important; padding: .55rem 1.1rem !important; border-radius: var(--radius); font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-ink); }

/* JS on, small screens: collapsible menu */
@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
  .nav-toggle-bars { display: grid; gap: 4px; }
  .nav-toggle-bars span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; }
  .js .site-header.nav-open .site-nav { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: .5rem 0 1rem; max-height: calc(100vh - 140px); overflow-y: auto; }
  .site-nav > a, .nav-drop > summary { padding: .8rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-drop > summary { justify-content: space-between; }
  .drop-panel { padding: .2rem 0 .8rem .2rem; }
  .mega { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 1rem; }
  .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0 !important; }
}
@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { width: auto; flex-wrap: nowrap; }
  .drop-panel {
    position: absolute; top: calc(100% + 10px); left: -1rem; z-index: 60; min-width: 230px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .8rem 1.2rem 1rem;
  }
  /* Treatments: anchored to the header container, not the button, so it never leaves the screen */
  .header-inner { position: relative; }
  .nav-mega { position: static; }
  .mega {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.6rem;
    top: calc(100% - 2px); left: auto; right: var(--gutter);
    width: min(1000px, calc(100% - 2 * var(--gutter))); padding: .6rem 1.6rem 1.2rem;
  }
  .nav-drop:not(.nav-mega) .drop-panel { left: auto; right: -1rem; }
  .mega-group ul a { font-size: .92rem; }
}

/* ---------- opening hours ---------- */
.hours-note { display: inline-flex; align-items: center; gap: .5em; margin: 1.2rem 0 0; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.hours-note .icon { color: var(--brass-ink); }
.hours-note.compact { margin: .9rem 0 0; font-size: .85rem; }
.fact-hours { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 .7rem; }
.fact-hours .icon { margin-top: .2rem; color: var(--brass-ink); }
table.hours-table { width: auto; min-width: 230px; background: none; border: 0; border-radius: 0; font-size: .92rem; }
.hours-table caption { text-align: left; font-weight: 600; padding-bottom: .2rem; }
.hours-table th, .hours-table td { padding: .12rem 1.2rem .12rem 0; border: 0; font-weight: 400; background: none; }
.hours-table td { padding-right: 0; white-space: nowrap; }
.site-footer .fact-hours .icon { color: var(--brass); }
.site-footer .hours-table, .site-footer .hours-table caption { color: #D8CFBD; }

/* ---------- home hero ---------- */
.hero { padding: 2.2rem 0 1.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.hero-media { max-width: 420px; justify-self: center; width: 100%; }
.hero-media .arch, .hero-media .arch img, .hero-media .ph { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.hero-media .arch img { aspect-ratio: 1059/1485; object-fit: cover; }
.trust-strip { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); margin: 2rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip li { padding: .9rem .6rem; font-size: .9rem; font-weight: 500; text-align: center; color: var(--ink); }
.trust-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .3em; }
.trust-link:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.trust-strip li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .hero { padding: 3.5rem 0 2rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-strip li { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .trust-strip li:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
@media (min-width: 900px) { .section { padding: 4.5rem 0; } }

.urgent-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; background: var(--urgent-soft); border: 1px solid #E2C3B5; border-left: 4px solid var(--urgent); border-radius: var(--radius-lg); padding: 1rem 1.2rem; margin-bottom: 2.4rem; color: var(--urgent); }
.urgent-banner p { margin: 0; flex: 1 1 220px; color: var(--ink); }
.urgent-banner strong { color: var(--urgent); }

.t-grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0; }
@media (min-width: 640px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .t-grid { grid-template-columns: repeat(4, 1fr); } }
.t-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.t-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.t-card-photo, .t-card .ph { aspect-ratio: 16/10 !important; border-radius: 0; border-width: 0 0 1.5px; }
.t-card-photo img { aspect-ratio: 16/10; object-fit: cover; }
.t-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.t-card-title { font: 600 1.12rem/1.25 var(--font-display); }
.t-card-text { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.t-card-more { display: inline-flex; align-items: center; gap: .35em; font-size: .85rem; font-weight: 600; color: var(--accent-ink); margin-top: .3rem; }
/* a last card left alone on its row spans the row as a horizontal card */
@media (min-width: 640px) and (max-width: 1099px) {
  .t-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .t-grid > li:last-child:nth-child(odd) .t-card { flex-direction: row; }
  .t-grid > li:last-child:nth-child(odd) .t-card > :first-child { flex: 0 0 45%; border-width: 0 1.5px 0 0; }
}
@media (min-width: 1100px) {
  .t-grid > li:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .t-grid > li:last-child:nth-child(4n+1) .t-card { flex-direction: row; }
  .t-grid > li:last-child:nth-child(4n+1) .t-card > :first-child { flex: 0 0 calc(25% - .75rem); border-width: 0 1.5px 0 0; }
  .t-grid > li:last-child:nth-child(4n+1) .t-card-body { justify-content: center; padding: 1.4rem 2rem; }
  .t-grid > li:last-child:nth-child(4n+1) .t-card-text { flex: 0; }
}

.why { list-style: none; display: grid; gap: 1.5rem; margin: 0; }
.why li { padding-top: 1rem; border-top: 1px solid var(--brass); }
.why-num { display: block; font: italic 400 1.6rem/1 var(--font-display); color: var(--brass-ink); margin-bottom: .5rem; }
.why p { color: var(--ink-soft); margin: 0; }
@media (min-width: 800px) { .why { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }

.doc-cards { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .doc-cards { grid-template-columns: 1fr 1fr; } }
.doc-card { display: grid; grid-template-columns: 112px 1fr; gap: 1.1rem; align-items: start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem; }
.doc-card-photo picture, .doc-card-photo img, .doc-card-photo .ph { border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; }
.doc-card h3 { margin-bottom: .35rem; }
.doc-card h3 a { color: var(--ink); text-decoration: none; }
.doc-card ul { list-style: none; margin: 0 0 .8rem; font-size: .92rem; color: var(--ink-soft); }
.doc-card li + li { margin-top: .15rem; }
@media (min-width: 560px) { .doc-card { grid-template-columns: 180px 1fr; padding: 1.3rem; gap: 1.5rem; } }

.reviews { list-style: none; display: grid; gap: 1rem; margin: 0 0 1.5rem; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.reviews blockquote { margin: 0; height: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.reviews footer { font-size: .85rem; color: var(--ink-soft); }

.visit-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.landmark { font: italic 400 1.15rem/1.4 var(--font-display); color: var(--accent-ink); }
.visit-media { display: grid; gap: 1rem; }
.visit-media picture img, .visit-media .ph { border-radius: var(--radius-lg); }
.map-frame { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- fact block ---------- */
.fact-block p { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 .7rem; }
.fact-block .icon { margin-top: .2rem; color: var(--brass-ink); }
.fact-block .fact-name { display: block; font-size: 1.05rem; }
.fact-block a { word-break: break-word; }

/* ---------- inner pages ---------- */
.breadcrumb { padding-top: 1.1rem; font-size: .84rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--brass); }
.breadcrumb a { color: var(--ink-soft); }

.page-hero { padding: 1.4rem 0 2rem; }
.page-hero-grid { display: grid; gap: 1.8rem; }
@media (min-width: 960px) {
  .page-hero { padding: 2rem 0 3rem; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 3rem; align-items: start; }
  .page-hero-grid.no-photo { grid-template-columns: minmax(0, 860px); }
}
.page-hero-media picture img, .page-hero-media .ph { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }
.reviewed { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--ink-soft); margin: -.2rem 0 1.2rem; }
.reviewed .icon { color: var(--accent); margin-top: .15rem; }
.reviewed a { color: var(--ink); font-weight: 500; }
.answer { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem 1.2rem; }
.answer.is-urgent { border-left-color: var(--urgent); background: #FCF4EF; }
.answer-label { display: flex; align-items: center; gap: .4rem; font: 600 .72rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-ink); margin: 0 0 .5rem; }
.answer.is-urgent .answer-label { color: var(--urgent); }
.answer-text { font-size: 1.08rem; line-height: 1.65; margin: 0; }

.page-body { display: grid; gap: 2.5rem; padding-bottom: 3.5rem; }
@media (min-width: 960px) { .page-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; } }
.prose { max-width: 70ch; min-width: 0; }
.prose .content-section { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.prose .content-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose figure { margin-top: 1.5rem; }
.prose figure picture img, .prose figure .ph { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }
.list { list-style: none; }
.list li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; }
.list li::before { content: ""; position: absolute; left: .1rem; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1rem 2.8rem; min-height: 2.2rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font: 600 .88rem/1 var(--font-body); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: .94rem; top: 1.9rem; bottom: .1rem; width: 1px; background: var(--line); }
.updated { font-size: .85rem; color: var(--ink-soft); margin-top: 2rem; }

.table-wrap { margin: 0 0 1.2rem; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
th, td { text-align: left; padding: .75rem .9rem; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface); font: 600 .78rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.table-note { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack tbody th { border: 0; padding: .4rem .9rem .2rem; font-size: 1rem; }
  table.stack td { border: 0; padding: .15rem .9rem; display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: .6rem; }
  table.stack td::before { content: attr(data-label); font-size: .78rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; padding-top: .15rem; }
  table.stack td:has(> span:empty) { display: none; }
}

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 600 1.04rem/1.4 var(--font-body); letter-spacing: 0; }
.faq summary .icon { color: var(--brass-ink); transition: transform .2s; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 0 1rem; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.toc { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.toc a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); text-decoration: none; font-size: .88rem; color: var(--ink); }
.toc a:hover { border-color: var(--brass); }

/* aside */
.page-aside { display: grid; gap: 1rem; }
@media (min-width: 960px) { .page-aside { position: sticky; top: 92px; } }
.aside-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; display: grid; gap: .6rem; }
.aside-card .hours-note { justify-self: start; }
.aside-title { font: 600 1.15rem/1.3 var(--font-display); margin: 0 0 .2rem; }
.aside-addr { display: flex; gap: .5rem; font-size: .88rem; color: var(--ink-soft); margin: .3rem 0 0; }
.aside-addr .icon { color: var(--brass-ink); margin-top: .15rem; }
.related ul { list-style: none; margin: 0; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .94rem; }
.related li:last-child a { border-bottom: 0; }
.related a:hover { color: var(--accent-ink); }

.link-list { list-style: none; margin: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.link-list a:hover { color: var(--accent-ink); }
.link-list.two-col { display: grid; gap: 0 2rem; }
@media (min-width: 720px) { .link-list.two-col { grid-template-columns: 1fr 1fr; } }
.center-list { max-width: 360px; margin: 2rem auto 0; text-align: left; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--surface-2); padding: 2.6rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #E4E8E2; }
.cta-inner { display: grid; gap: 1.2rem; align-items: center; }
.cta-band .btn-row { margin: 0; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 2rem; } }

/* doctor pages */
.doc-hero { padding: 1.4rem 0 2rem; }
.doc-hero-grid { display: grid; gap: 1.8rem; align-items: center; }
.doc-photo { max-width: 360px; }
.doc-photo picture img, .doc-photo .ph { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 1/1; object-fit: cover; }
@media (min-width: 900px) { .doc-hero-grid { grid-template-columns: 360px 1fr; gap: 3.5rem; } .doc-hero { padding: 2rem 0 3rem; } }
.doc-body { max-width: 860px; padding-bottom: 3.5rem; }
.doc-body .content-section { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.doc-body .content-section:first-child { margin-top: 0; }
.in-words { margin: 0; padding: 1.2rem 1.4rem; background: var(--surface-2); border-left: 3px solid var(--brass); font: italic 400 1.1rem/1.6 var(--font-display); }
.follow-list a { display: inline-flex; align-items: center; gap: .4rem; }

/* press */
.press-list { list-style: none; margin: 0 0 3.5rem; display: grid; gap: 1rem; }
.press-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.press-card h2 { font-size: 1.35rem; }

/* booking */
.book-grid { display: grid; gap: 2rem; padding-bottom: 3.5rem; }
@media (min-width: 960px) { .book-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; } }
.book-form-wrap { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; }
@media (min-width: 720px) { .book-form-wrap { padding: 2rem; } }
.booking-form { display: grid; gap: 1rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid #CDBF9F; border-radius: var(--radius); background: #fff; font-weight: 400; font-size: 1rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field .hint { font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--warn); }
.form-error { color: var(--warn); font-weight: 600; margin: 0; }
.hp { position: absolute; left: -9999px; }
.booking-success { text-align: center; padding: 1.5rem .5rem; }
.success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.6rem; margin: 0 auto 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #D8CFBD; padding: 3rem 0 1.5rem; font-size: .93rem; }
.site-footer a { color: #F3EBDA; }
.site-footer a:hover { color: #fff; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.3fr 1.2fr .8fr; gap: 3rem; } }
.footer-head { font: 600 .72rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--brass); margin: 0 0 1rem; }
.footer-clinic .footer-head + ul + .footer-head, .footer-clinic ul + .footer-head { margin-top: 1.6rem; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-treatments ul { columns: 2; column-gap: 1.5rem; }
.site-footer .fact-block .icon { color: var(--brass); }
.site-footer .muted { color: #B3A98F; }
.site-footer .follow a, .site-footer li a { display: inline-flex; align-items: center; gap: .35rem; }
.footer-bottom { max-width: 1180px; margin: 2.4rem auto 0; padding: 1.4rem var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #B3A98F; }
.footer-bottom p { margin: 0 0 .5rem; }
.reviewed-note { display: flex; gap: .5rem; align-items: flex-start; }
.reviewed-note .icon { color: var(--brass); margin-top: .15rem; }

/* ---------- sticky mobile bar + desktop WhatsApp ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 233, .97); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; border-radius: 10px; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 359px) { .mobile-bar a { font-size: .82rem; gap: .3rem; } .mobile-bar .icon { width: 18px; height: 18px; } }
.mb-wa { background: var(--wa); color: #fff !important; }
.mb-call { background: var(--accent); color: #fff !important; }
.mb-dir { background: var(--surface-2); color: var(--ink) !important; border: 1px solid var(--line); }
.fab-wa { display: none; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .fab-wa { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(21, 122, 74, .55); }
  .fab-wa:hover { color: #fff; transform: translateY(-1px); }
}

@media print {
  .site-header, .mobile-bar, .fab-wa, .cta-band, .draft-banner { display: none; }
  body { background: #fff; padding: 0; }
}

/* ---------- prices ---------- */
.price-line { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .85rem 1.1rem; background: #EEF1EC; border: 1px solid #CFD8CF; border-radius: var(--radius-lg); font-size: 1rem; color: var(--ink); }
.price-line .icon { color: var(--accent); margin-top: .2rem; }
.price-note { display: flex; gap: .45rem; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin: -.4rem 0 1.2rem; }
.price-note .icon { margin-top: .2rem; color: var(--brass-ink); }
.prices-table th a { color: var(--ink); }
.cost-list li { margin-bottom: .4rem; }

/* ---------- doctor portrait placeholder (no photo yet) ---------- */
.portrait-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 1/1; background: linear-gradient(160deg, var(--surface-2), #E4DCC8); border: 1px solid var(--line); color: var(--brass-ink); font: italic 400 clamp(2rem, 8vw, 4.5rem)/1 var(--font-display); letter-spacing: .04em; }
.doc-photo .portrait-ph { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.doc-card-photo .portrait-ph { border-radius: 10px; font-size: 2.2rem; }

/* ---------- map ---------- */
.map-figure { margin: 0; }
.map-figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }
.book-map { padding-bottom: 3.5rem; max-width: 860px; }

/* ---------- guides ---------- */
.guide-list { list-style: none; margin: 0; display: grid; gap: .75rem; }
.guide-list a { display: grid; gap: .2rem; padding: 1rem 1.1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); }
.guide-list a:hover { border-color: var(--brass); }
.guide-list strong { font: 600 1.08rem/1.3 var(--font-display); }
.guide-list span { font-size: .9rem; color: var(--ink-soft); }
.sub-section { margin-top: 1.2rem !important; padding-top: 0 !important; border-top: 0 !important; }
.sub-section h3 { font-size: 1.12rem; }
.sources a { word-break: break-word; }

/* ---------- footer follow ---------- */
.site-footer .follow a { display: inline-flex; align-items: center; gap: .4rem; }
.follow-list a { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- nav: fit more items on small desktops ---------- */
@media (min-width: 960px) and (max-width: 1139px) {
  .site-nav { gap: .25rem .8rem; }
  .site-nav > a, .nav-drop > summary { font-size: .88rem; }
  .brand-name { font-size: 1rem; }
  .nav-cta { padding: .5rem .9rem !important; }
}
@media (max-width: 899px) { .doc-photo:has(.portrait-ph) { max-width: 180px; } }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--ink); }
