/* Parth Dixit, DPM — podiatry demo. Palette from the room: sterile paper, surgical drape green, iodine. */
:root {
  --paper: #F1F6F5;
  --white: #FFFFFF;
  --drape: #0D4547;
  --drape-2: #175F62;
  --drape-3: #0A3234;
  --ink: #12262A;
  --muted: #465B5F;
  --line: #CFDBD9;
  --bone: #E8E2D5;
  --gauze: #E9F1EF;
  --iodine: #E58A2B;
  --iodine-ink: #8A4A0A;
  --ok: #1B7A4B;
  --closed: #A3341F;
  --focus: #0B57D0;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', 'Segoe UI', Verdana, sans-serif;
  --r: 18px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.big { font-size: 118%; }
body { margin: 0; font: 400 1.125rem/1.6 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--drape-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--drape); }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 4.1rem); letter-spacing: -0.025em; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--drape); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 56ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: 52px+ tap targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 10px 1.4rem; text-align: center; border-radius: 999px; font: 700 1.05rem/1.25 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--main { background: var(--drape); color: #fff; }
.btn--main:hover { background: var(--drape-3); color: #fff; }
.btn--iodine { background: var(--iodine); color: #201002; }
.btn--iodine:hover { background: #F09A40; color: #201002; }
.btn--line { background: transparent; color: var(--drape); border-color: var(--drape); }
.btn--line:hover { background: var(--drape); color: #fff; }
.btn--light { background: #fff; color: var(--drape); }
.btn--light:hover { background: var(--gauze); color: var(--drape); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { min-height: 46px; padding: 8px 1.1rem; font-size: 1rem; }
.btn:active { transform: translateY(1px); }

/* header */
.head { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.head__in.wrap { width: min(100% - 2 * var(--gut), 1320px); }
.head__in { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { white-space: nowrap; min-height: 48px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font: 600 1.3rem/1.05 var(--serif); letter-spacing: -.01em; }
.brand small { display: block; font-size: .85rem; color: var(--muted); line-height: 1.2; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > ul a { white-space: nowrap; display: block; padding: 12px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav > ul a:hover { background: var(--gauze); }
.nav > ul a[aria-current="page"] { color: var(--drape); box-shadow: inset 0 -3px 0 var(--iodine); border-radius: 10px 10px 0 0; }
.tsize { min-width: 52px; min-height: 52px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 1rem var(--sans); cursor: pointer; }
.tsize[aria-pressed="true"] { background: var(--drape); color: #fff; border-color: var(--drape); }
.head .btn { display: none; white-space: nowrap; }
.head .num { display: none; }
.menu-btn { min-width: 52px; min-height: 52px; border-radius: 12px; border: 2px solid var(--drape); background: #fff; color: var(--drape); font: 700 1rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 0 12px; }
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--drape-3); color: #fff; padding: 20px var(--gut) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; margin-bottom: 12px; }
.drawer__top b { font: 600 1.3rem var(--serif); }
.drawer__x { min-width: 52px; min-height: 52px; border-radius: 12px; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; font: 700 1rem var(--sans); cursor: pointer; }
.drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer li a { display: block; padding: 16px 4px; font: 600 1.6rem/1.2 var(--serif); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer li a[aria-current="page"] { color: var(--iodine); }
.drawer .btn { width: 100%; margin-bottom: 10px; }
body.lock { overflow: hidden; }

/* status pill */
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .98rem; }
.status i { width: 12px; height: 12px; border-radius: 50%; background: var(--closed); flex: none; }
.status[data-state="open"] i { background: var(--ok); box-shadow: 0 0 0 4px rgba(27,122,75,.18); }
.status--dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

/* hero + signature diagram */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, #fff 0, var(--paper) 100%); }
.hero__grid { display: grid; gap: 32px; align-items: start; }
.hero h1 { max-width: 13ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--muted); font-size: 1rem; }
.stars { color: var(--iodine-ink); letter-spacing: 2px; font-size: 1.1rem; }
.trust strong { color: var(--ink); }
.dx { background: var(--drape); border-radius: 28px; padding: clamp(16px, 3vw, 28px); color: #fff; box-shadow: 0 30px 60px -30px rgba(13,69,71,.55); }
.dx__title { font: 600 1.5rem/1.2 var(--serif); margin: 0 0 4px; }
.dx__sub { margin: 0 0 8px; color: #BFD7D4; font-size: 1rem; }
.dx__stage { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 520 / 300; }
.dx__stage svg { width: 100%; height: 100%; }
.hs { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.hs::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--iodine); box-shadow: 0 0 0 3px var(--drape); transition: transform .15s; }
.hs::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--iodine); opacity: .0; }
.hs.pulse::after { animation: ping 1.8s ease-out 3; }
.hs:hover::before { transform: scale(1.2); }
.hs[aria-pressed="true"]::before { background: #fff; box-shadow: 0 0 0 3px var(--iodine), 0 0 0 8px rgba(229,138,43,.35); transform: scale(1.15); }
.hs:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 50%; }
@keyframes ping { 0% { transform: scale(.7); opacity: .95; } 100% { transform: scale(1.7); opacity: 0; } }
.dx__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.chip { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 700 .98rem var(--sans); cursor: pointer; }
.chip:hover { background: rgba(255,255,255,.1); }
.chip[aria-pressed="true"] { background: #fff; color: var(--drape); border-color: #fff; }
.dx__panel { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; }
.dx__panel h3 { margin: 0 0 4px; }
.dx__panel .hint { color: var(--muted); margin: 0; }
.dx__list { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 12px; }
.dx__list li { padding: 12px 14px; background: var(--paper); border-radius: 14px; border-left: 5px solid var(--iodine); }
.dx__list b { display: block; font: 600 1.15rem/1.25 var(--serif); }
.dx__list span { display: block; color: var(--muted); font-size: 1rem; line-height: 1.45; margin: 2px 0 4px; }
.dx__list a { font-weight: 700; font-size: .98rem; }
.dx__note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.dx__panel.flash { animation: flash .35s ease; }
@keyframes flash { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* sections */
.sec { padding: clamp(44px, 7vw, 92px) 0; }
.sec--white { background: #fff; }
.sec--drape { background: var(--drape); color: #fff; }
.sec--drape .lead { color: #C9DFDC; }
.sec--drape a:not(.btn) { color: #FFD9A8; }
.sec--bone { background: var(--bone); }
.split { display: grid; gap: 32px; align-items: center; }
.pagehead { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 44px); background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.crumb { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.crumb a { color: var(--muted); }

.stats { background: #fff; border-block: 1px solid var(--line); }
.stats__in { display: grid; }
.stats__in > div { padding: 20px 0; border-top: 1px solid var(--line); }
.stats__in > div:first-child { border-top: 0; }
.stats b { display: block; font: 600 1.5rem/1.15 var(--serif); }
.stats span { color: var(--muted); font-size: 1rem; }

.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--iodine-ink); background: #FBEBD6; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }

/* treatments */
.tx { scroll-margin-top: 96px; display: grid; gap: 14px 40px; padding: 34px 0; border-top: 1px solid var(--line); }
.tx:first-of-type { border-top: 0; }
.tx h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.tx__rows { display: grid; gap: 12px; margin: 14px 0; }
.tx__row { padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 1rem; }
.tx__row b { display: block; font-size: .92rem; color: var(--iodine-ink); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--ink); }
.jump a:hover { border-color: var(--drape); }
.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--drape) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.sec--drape .checks li::before { background-color: var(--iodine); }

/* reviews */
.rate { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rate b { font: 600 4.4rem/1 var(--serif); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.quote p { font: 400 1.18rem/1.55 var(--serif); }
.quote footer { margin-top: auto; font-size: .98rem; color: var(--muted); }
.quote footer b { color: var(--ink); }
.quote--big p { font-size: 1.28rem; }
.masonry { display: grid; gap: 16px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.topics li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; }
.topics span { color: var(--iodine-ink); }

/* insurance */
.plans { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; }
.plans li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: 600 1.15rem var(--serif); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--drape); color: #fff; font: 700 1.1rem/38px var(--sans); text-align: center; }
.steps b { display: block; font: 600 1.15rem var(--serif); }

/* about */
.portrait { border-radius: 26px; overflow: hidden; background: var(--gauze); max-width: 420px; }
.portrait img { width: 100%; height: auto; }
.cred { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cred li { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cred b { display: block; font: 600 1.1rem var(--serif); }
.cred span { color: var(--muted); font-size: .98rem; }

/* booking */
.book { display: grid; gap: 28px; align-items: start; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.form legend { font: 600 1.45rem var(--serif); padding: 0; margin-bottom: 12px; }
.f { display: grid; gap: 6px; margin-bottom: 16px; }
.f label, .f .lab { font-weight: 700; }
.f small { color: var(--muted); font-size: .95rem; }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; min-height: 54px; border: 2px solid #98AEAB; border-radius: 12px; padding: 12px 14px; font: 400 1.1rem var(--sans); background: #fff; color: var(--ink); }
textarea { min-height: 88px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 0 20px; border: 2px solid #98AEAB; border-radius: 999px; background: #fff; font-weight: 700; }
.opt input:checked + span { background: var(--drape); color: #fff; border-color: var(--drape); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.days .opt span { flex-direction: column; justify-content: center; padding: 8px 6px; border-radius: 14px; min-height: 68px; text-align: center; line-height: 1.2; }
.days .opt span small { font-weight: 400; color: inherit; opacity: .85; font-size: .88rem; }
.days .opt span b { font-size: 1.2rem; }
.privacy { background: #FFF6E8; border: 1.5px solid #F0C88F; border-radius: 14px; padding: 14px 16px; font-size: 1rem; }
.preview { background: var(--drape); color: #fff; border-radius: 26px; padding: 22px; }
.preview h2 { font-size: 1.5rem; margin-bottom: 4px; }
.preview .lab { color: #BFD7D4; font-size: .98rem; margin: 0 0 14px; }
.phone { background: #F2F4F3; border-radius: 22px; padding: 16px; color: #14262B; }
.bubble { background: #fff; border-radius: 6px 20px 20px 20px; padding: 16px 18px; font-size: 1.02rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; box-shadow: 0 1px 0 rgba(0,0,0,.06); min-height: 120px; }
.bubble .ph { color: #7A8B8E; background: repeating-linear-gradient(90deg, #E5ECEB 0 6px, transparent 6px 9px); border-radius: 4px; }
.bubble b { background: #FCE9CF; border-radius: 4px; padding: 0 3px; font-weight: 700; }
.send { display: grid; gap: 10px; margin-top: 16px; }
.send .btn { width: 100%; }
.send small { color: #BFD7D4; font-size: .95rem; }
.done { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 1rem; }
.done.is-on { display: block; }
.err { color: var(--closed); font-weight: 700; font-size: .98rem; }

/* visit */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 700; }
.hours tr.is-today { background: #FBEBD6; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.facts li { display: grid; gap: 2px; }
.facts b { font-size: .95rem; color: var(--iodine-ink); }
.facts a { font-weight: 700; }
.locmap { position: relative; border-radius: 24px; overflow: hidden; background: var(--drape); color: #fff; padding: 28px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.locmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.locmap > *:not(svg) { position: relative; }

/* cta band */
.cta { background: var(--drape-3); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.cta__in { display: grid; gap: 22px; align-items: center; }
.cta h2 { margin: 0; max-width: 20ch; }
.cta p { color: #C9DFDC; margin: 8px 0 0; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { background: #081F21; color: #B9CFCC; padding: 44px 0 110px; font-size: 1rem; }
.foot a { color: #E8F1EF; }
.foot__grid { display: grid; gap: 28px; }
.foot h3 { color: #fff; font-size: 1.15rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; }
.foot .small { font-size: .9rem; opacity: .85; margin-top: 26px; max-width: none; }

/* phone bar */
.bar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.4); }
.bar .btn { min-height: 54px; padding: 0 10px; font-size: 1rem; }

/* reveal (starts visible without JS) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .cards--2, .masonry { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .stats__in { grid-template-columns: repeat(3, 1fr); }
  .stats__in > div { border-top: 0; border-left: 1px solid var(--line); padding: 24px 28px; }
  .stats__in > div:first-child { border-left: 0; padding-left: 0; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta__in { grid-template-columns: 1fr auto; }
  .tx__rows { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .head .btn { display: inline-flex; }
  .head__in { gap: 10px; }
}
@media (min-width: 1300px) { .head .num { display: inline; } }
@media (min-width: 980px) {
  .bar { display: none; }
  .foot { padding-bottom: 44px; }
  .hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--wide { grid-template-columns: 1.1fr .9fr; }
  .book { grid-template-columns: 1.15fr .85fr; gap: 44px; }
  .preview { position: sticky; top: 100px; }
  .tx { grid-template-columns: 0.8fr 1.2fr; }
  .masonry { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1119px) { .head .tsize { order: 3; } }
@media (max-width: 380px) { .brand small { display: none; } .tsize { min-width: 48px; } .brand b { font-size: 1.1rem; } .brand svg { width: 38px; height: 38px; } .head__in { gap: 8px; } .menu-btn { min-width: 48px; padding: 0 10px; } }
@media (max-width: 340px) { .brand svg { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
