/* Layout: sticky header, split hero, soft sage/white banding, 4-up card grid that collapses to one column on phones. */
:root {
  --bg: #F8FAF9;
  --surface: #FFFFFF;
  --line: #E2E8E5;
  --fg: #1E2923;
  --muted: #4A5B52;
  --primary: #2E5A44;
  --on-primary: #FFFFFF;
  --primary-ink: #2E5A44;
  --tint: #EAF1ED;
  --cta: #D97742;
  --cta-hover: #E58A58;
  --on-cta: #1E2923;
  --link: #A24C1C;
  --focus: #1E2923;
  --field-border: #6B7C72;
  --danger: #A32A1D;
  --ok: #1F6B45;
  --shadow: 0 10px 30px rgba(30, 41, 35, .08);
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1713; --surface: #16211B; --line: #2A3A32; --fg: #E8F0EB; --muted: #AEBFB5;
    --primary: #3F7A5C; --primary-ink: #9BD0B1; --tint: #1B2B23; --link: #F0A375; --focus: #F8FAF9;
    --field-border: #7F9488; --danger: #FF9C8F; --ok: #7ED6A5;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; text-wrap: balance; color: var(--primary-ink); font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
section[id], footer[id] { scroll-margin-top: 88px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.tint { background: var(--tint); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 700 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn-cta { background: var(--cta); color: var(--on-cta); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217, 119, 66, .28); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 90, 68, .25); }
.btn-ghost { background: transparent; color: var(--primary-ink); border-color: var(--primary-ink); }
.btn-ghost:hover { background: var(--tint); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary-ink); }
.brand-text span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--fg); transition: background-color .2s ease, color .2s ease; }
.nav-links a:hover { background: var(--tint); color: var(--primary-ink); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--primary-ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1200px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; margin: 0; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 1.02rem; }
}
@media (max-width: 520px) { .nav-cta { display: none; } .brand-text span { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lead { font-size: 1.12rem; color: var(--muted); margin-top: 20px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: .88rem; font-weight: 600; }
.badges svg { color: var(--primary-ink); flex: none; }
.hero-art svg { display: block; width: 100%; height: auto; border-radius: 28px; }
.art-note { margin-top: 10px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 460px; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-ink); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary-ink); display: grid; place-items: center; flex: none; }
.band.tint .icon-tile { background: var(--bg); }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); font-size: .96rem; }
.more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .92rem; color: var(--link); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.fine-print { margin-top: 28px; font-size: .88rem; color: var(--muted); max-width: 70ch; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; position: relative; display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font: 600 1.15rem var(--font-display); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); }
.steps .tag { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--primary-ink); letter-spacing: .04em; }
@media (min-width: 861px) { .steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -24px; width: 24px; border-top: 2px dashed var(--primary-ink); opacity: .5; } }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.portrait { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 14px; }
.portrait svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.about-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.about-copy p { color: var(--muted); margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.todo { border-bottom: 1.5px dashed var(--link); }

/* Testimonials */
.t-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.t-head .section-head { margin: 0; }
.t-controls { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--primary-ink); background: var(--surface); color: var(--primary-ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease, transform .2s ease; }
.round:hover { background: var(--tint); transform: translateY(-2px); }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.review { margin: 0; flex: 0 0 min(380px, 86%); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .3s ease; }
.review:hover { box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; color: var(--cta); }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.55; }
.who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--primary-ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.who small { display: block; color: var(--muted); }
.sample { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); border: 1px dashed var(--link); border-radius: 6px; padding: 2px 8px; align-self: flex-start; }
.notice { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* Booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 38px); }
.panel h3 { font-size: 1.5rem; margin-bottom: 6px; }
.panel > p { color: var(--muted); margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
input[type="text"], input[type="tel"], input[type="date"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--field-border);
  background: var(--bg); color: var(--fg); font: 500 1rem var(--font-body); transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 84px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--primary-ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--primary-ink); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 10px 12px; text-align: center; border-radius: 12px; border: 1.5px solid var(--field-border); cursor: pointer; font-weight: 700; background: var(--bg); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.seg label small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.seg label:hover { border-color: var(--primary-ink); }
.seg input:checked + label { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.seg input:checked + label small { color: var(--on-primary); opacity: .9; }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.err { color: var(--danger); font-size: .86rem; font-weight: 600; min-height: 1.1em; }

/* Time slots */
.slots-box { margin-bottom: 18px; padding: 18px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); }
.slots-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; margin-bottom: 12px; }
.slots-head h4 { margin: 0; font-size: .95rem; }
.slots-head span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { min-height: 56px; padding: 6px 4px; border-radius: 12px; border: 1.5px solid var(--field-border); background: var(--surface); color: var(--fg); font: 700 .95rem var(--font-body); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.slot small { font-size: .7rem; font-weight: 600; }
.slot:hover:not(:disabled) { border-color: var(--primary-ink); background: var(--tint); transform: translateY(-1px); }
.slot[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.slot:disabled { cursor: not-allowed; background: var(--line); border-color: var(--line); color: var(--muted); }
.slot:disabled .t { text-decoration: line-through; }
.slots-msg { font-size: .92rem; color: var(--muted); font-weight: 600; }
.slots-msg[data-kind="error"] { color: var(--danger); }
.slots-msg[data-kind="info"] { color: var(--primary-ink); }
.slots-pick { margin-top: 12px; font-weight: 700; color: var(--primary-ink); min-height: 1.4em; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--field-border); background: var(--surface); }
.legend .sel { background: var(--primary); border-color: var(--primary); }
.legend .bkd { background: var(--line); border-color: var(--line); }

.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-error { color: var(--danger); font-weight: 600; font-size: .92rem; }

/* Confirmation */
.confirm { text-align: left; }
.confirm .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: var(--bg); display: grid; place-items: center; margin-bottom: 16px; }
.confirm h3 { font-size: 1.6rem; margin-bottom: 8px; }
.ticket { margin: 20px 0; border: 1.5px dashed var(--primary-ink); border-radius: 16px; padding: 18px 20px; display: grid; gap: 12px; background: var(--tint); }
.ticket div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.ticket dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ticket .big { font-family: var(--font-display); font-size: 1.25rem; color: var(--primary-ink); }
.remind { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--cta); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.remind p + p { margin-top: 6px; font-weight: 500; color: var(--muted); font-size: .92rem; }

/* Clinic info */
.info { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.info-item h4 { margin: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-item p, .info-item address { margin: 2px 0 0; font-weight: 600; font-style: normal; overflow-wrap: anywhere; }
.hours { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; font-weight: 600; }
.hours dt { color: var(--muted); font-weight: 600; }
.hours dd { margin: 0; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .quick { grid-template-columns: minmax(0, 1fr); } }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.map-foot .btn { flex: 1 1 140px; }

/* FAQ */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details:hover { border-color: var(--primary-ink); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--primary-ink); border-bottom: 2.5px solid var(--primary-ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Footer */
footer { background: #2E5A44; color: #F3F8F5; padding-block: 56px 32px; }
footer a { color: #F3F8F5; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
footer h2 { font-size: 1.05rem; color: #FFFFFF; margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer li a { display: inline-block; padding: 4px 0; text-underline-offset: 4px; }
footer .small { font-size: .92rem; color: #DCE8E1; }
.disclaimer { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .86rem; color: #DCE8E1; max-width: 90ch; }
.copy { margin-top: 14px; font-size: .86rem; color: #DCE8E1; }
.foot-admin { display: inline-block; margin-top: 14px; font-size: .8rem; color: #DCE8E1; opacity: .8; }

/* Photos, reviews from Google, and visit info */
.photo-arch { border-radius: 999px 999px 28px 28px; overflow: hidden; border: 1px solid var(--line); background: var(--tint); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.photo-arch img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 14px; }
.portrait .art-note { margin-top: 12px; padding-inline: 6px; }
.stars svg.off { color: var(--field-border); opacity: .55; }
.review blockquote { font-size: 1.02rem; }
.review blockquote.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.review blockquote.clamp.open { display: block; overflow: visible; }
.readmore { align-self: flex-start; border: 0; background: none; padding: 6px 0; min-height: 36px; font: 700 .9rem var(--font-body); color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.inline-link { color: var(--link); font-weight: 700; text-underline-offset: 4px; }
.review { align-self: flex-start; }
.know { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.know li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.know svg { flex: none; margin-top: 3px; color: var(--ok); }

/* Header: Doctor Login next to Book Consultation */
.nav-doc { white-space: nowrap; }
.menu-doc { display: none; }
@media (max-width: 1200px) { .nav-cta { margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (max-width: 760px) { .nav-doc { display: none; } .menu-doc { display: block; } }
@media (max-width: 520px) { .menu-btn { margin-left: auto; } }

/* Shifts and slot buttons */
.slots-box { display: flex; flex-direction: column; gap: 14px; }
.slots-box .slots-head { margin-bottom: 0; }
.slots-box .slots-msg { margin: 0; }
.shift { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 18px; }
.shift-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.shift-head h5 { margin: 0; font: 700 1.05rem var(--font-body); color: var(--fg); }
.shift-head p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.open-pill { border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 700; background: var(--tint); color: var(--ok); border: 1px solid var(--ok); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot { flex-direction: row; min-height: 44px; padding: 8px 14px; font-size: .88rem; font-weight: 600; white-space: nowrap; border-radius: 10px; }
.slot:disabled .t { text-decoration: line-through; }
.slot.wait { opacity: .7; }
.slot.wait .t { text-decoration: none; }
@media (max-width: 420px) { .slot { flex: 1 1 100%; justify-content: center; } }

/* Review auto-scroll control */
.round[aria-pressed="false"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* Keep header labels on one line, and keep the selected slot readable under the mouse */
.nav { gap: 14px; }
.nav .btn, .nav-links a { white-space: nowrap; }
.nav-links a { padding: 10px 10px; }
.brand-text strong, .brand-text span { white-space: nowrap; }
.slot[aria-pressed="true"], .slot[aria-pressed="true"]:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* Smaller slot buttons, three to a row */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { flex: none; flex-direction: column; gap: 0; min-height: 46px; padding: 6px 4px; border-radius: 10px; white-space: normal; line-height: 1.2; }
.slot .t { font-size: .84rem; font-weight: 700; }
.slot .e { font-size: .68rem; font-weight: 600; color: inherit; opacity: .8; }
.slot:disabled .e { text-decoration: line-through; }
.slot.wait .e { text-decoration: none; }
.shift { padding: 14px 14px 16px; }
@media (max-width: 420px) { .slot { flex: none; } }

/* Contact bar, full-width form in two columns, and an equal-height row below */
.contact-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: -16px 0 28px; }
.contact-bar .hrs { flex: 1 1 280px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.btn-wa { background: #0F7A41; color: #FFFFFF; }
.btn-wa:hover { background: #0C6636; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 122, 65, .28); }
.form-panel { padding: clamp(22px, 4vw, 40px); }
.form-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 52px); align-items: start; }
.form-col .field:last-child, .form-col .slots-box:last-child { margin-bottom: 0; }
.slots-box { margin-bottom: 0; }
.slots-box .err:empty, .slots-pick:empty { display: none; }
.form-actions { max-width: 460px; margin: 26px auto 0; }
.confirm { max-width: 640px; margin-inline: auto; }
@media (max-width: 860px) { .form-cols { grid-template-columns: minmax(0, 1fr); } .form-col + .form-col { margin-top: 18px; } .form-col:first-child .field:last-child { margin-bottom: 18px; } }
.below-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: stretch; }
@media (max-width: 860px) { .below-grid { grid-template-columns: minmax(0, 1fr); } }
.below-grid .panel > h3 + .know { margin-top: 16px; }
.below-grid .map { display: flex; flex-direction: column; }
.below-grid .map iframe { flex: 1 1 auto; height: auto; min-height: 260px; }
.map-addr { font-style: normal; font-weight: 600; font-size: .9rem; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }

/* Tighter form, and a live summary that fills the left column */
.form-panel .field { margin-bottom: 14px; }
.form-panel .field .err:empty { display: none; }
.form-panel > form > h3 { margin-bottom: 2px; }
.form-panel > form > p { margin-bottom: 18px; }
.form-col { display: flex; flex-direction: column; }
.summary { flex: 1 1 auto; min-height: 120px; margin-top: 4px; padding: 16px 18px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); }
.summary h4 { margin: 0 0 10px; font: 700 .95rem var(--font-body); color: var(--primary-ink); }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.summary dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.below-grid .map iframe { min-height: 220px; }
@media (max-width: 860px) {
  .form-cols { display: flex; flex-direction: column; }
  .form-col { display: contents; }
  .summary { order: 1; margin-top: 18px; }
  .form-col + .form-col { margin-top: 0; }
}
.form-cols { align-items: stretch; }

/* Single-line headings and notes (wrap normally on narrow screens) */
.section-head--center { max-width: none; text-align: center; }
.section-head--center p { margin-inline: auto; }
.form-note--line { text-align: center; }
.form-actions { max-width: none; align-items: center; }
.form-actions .btn { max-width: 460px; }
@media (min-width: 700px) { .section-head--center h2 { white-space: nowrap; } }
@media (min-width: 960px) {
  .section-head--center p { white-space: nowrap; max-width: none; }
  .form-note--line { white-space: nowrap; }
}
@media (min-width: 1000px) { .section-head--line { max-width: none; } .section-head--line h2 { white-space: nowrap; } }
.contact-bar { justify-content: center; }
.contact-bar .hrs { flex: 0 1 auto; text-align: center; }
