/* Pharmacy & optician demo. Palette: clean white, deep teal, medical green, apricot. Type: Bricolage Grotesque + Atkinson Hyperlegible. */
:root {
  --primary: #0E5A5C;      /* deep teal: headings, base */
  --deep: #083B3D;         /* darkest teal: optician section, footer */
  --accent: #16946F;       /* medical green: dots, details */
  --wa: #137A5C;           /* WhatsApp buttons (white text, AA) */
  --warm: #F4A259;         /* apricot: the warm highlight */
  --light: #F3F8F7;        /* page tint */
  --paper: #FFFFFF;
  --ink: #10302F;
  --muted: #4A6462;        /* secondary text on white (AA) */
  --line: #D6E5E2;
  --mint: #E3F2EE;
  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-text: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(8,59,61,.06), 0 6px 18px -6px rgba(8,59,61,.12);
  --sh-2: 0 2px 6px rgba(8,59,61,.06), 0 24px 48px -20px rgba(8,59,61,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-hero: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  --t-h2: clamp(1.95rem, 1.4rem + 2.3vw, 3.1rem);
  --t-h3: clamp(1.15rem, 1.05rem + .4vw, 1.4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.03rem/1.6 var(--f-text); overflow-x: hidden; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.025em; color: var(--primary); }
h2 { font-size: var(--t-h2); text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* Pharmacy cross mark, drawn in CSS */
.mark { position: relative; display: inline-block; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--accent); }
.mark::before, .mark::after { content: ''; position: absolute; background: #fff; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mark::before { width: 14px; height: 4.5px; }
.mark::after { width: 4.5px; height: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s; -webkit-tap-highlight-color: transparent; text-align: center; }
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(19,122,92,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-wa:hover { background: #0F6A4F; transform: translateY(-1px); }
.btn-line { background: var(--paper); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-line-d { background: var(--paper); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-warm { background: var(--warm); color: #2B1A06; box-shadow: 0 10px 24px -12px rgba(244,162,89,.9); }
.btn-warm:hover { background: #F7B272; transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn-wide { width: 100%; }

/* Sticky header (appears after the hero) */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; transform: translateY(-110%); transition: transform .35s var(--ease); background: rgba(255,255,255,.82); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 rgba(8,59,61,.08), 0 12px 30px -20px rgba(8,59,61,.45); }
.bar.show { transform: none; }
.bar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.bar-name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: var(--primary); text-decoration: none; margin-right: auto; min-width: 0; }
.bar-name > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-links { display: none; gap: 24px; }
.bar-links a, .hero-links a { text-decoration: none; font-weight: 700; color: var(--muted); }
.bar-links a:hover, .hero-links a:hover { color: var(--primary); }

/* Hero: full-bleed video of the counter, the photo as poster underneath */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); min-height: calc(100svh - 72px); display: flex; flex-direction: column; padding-bottom: 72px; }
.hero .hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; background: linear-gradient(160deg, #0E5A5C, #083B3D 60%, #052627); }
.hero-media img, .hero-video, .sec-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 40% 30%; }
.hero-video, .sec-video { opacity: 0; transition: opacity .9s var(--ease); }
.hero-video.on, .sec-video.on, .sec-video.vk-playing { opacity: 1; }
.duty-photo .sec-video { object-position: 45% center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(4,32,33,.72) 0%, rgba(4,32,33,.30) 26%, rgba(4,32,33,.55) 48%, rgba(4,32,33,.93) 74%, #052A2B 100%); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.hero-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; min-width: 0; }
.hero-mark > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-links { display: none; gap: 6px; }
.hero-links a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; transition: background-color .2s; }
.hero-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-grid { flex: 1; display: grid; align-content: end; gap: 28px; padding-top: 18vh; }
.hero-place { display: inline-flex; align-items: flex-start; gap: 8px; color: #D8EEE9; font-weight: 700; margin-bottom: 14px; font-size: .98rem; }
.hero-place .ic { width: 18px; height: 18px; color: var(--warm); margin-top: 3px; }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 1.5rem + 6.2vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: .93; text-wrap: balance; overflow-wrap: anywhere; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-promise { margin-top: 18px; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: #E4F1EE; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 240px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.04rem; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .9rem; font-weight: 700; }
.trust .ic { width: 17px; height: 17px; color: #8FE0C4; }
.trust .trust-rate .ic { fill: var(--warm); stroke: var(--warm); color: var(--warm); }
.trust-rate strong { font-family: var(--f-display); }
.trust-open .dot { width: 9px; height: 9px; box-shadow: none; }
.trust-open.is-open .dot { background: #5BE3B0; }
.hero-side { display: none; }
.duty-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 16px; border-radius: 20px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--sh-2); }
.duty-card strong { display: block; font-family: var(--f-display); color: var(--primary); font-size: 1.02rem; line-height: 1.2; }
.duty-card span span { display: block; font-size: .88rem; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #B8C7C4; box-shadow: 0 0 0 4px rgba(184,199,196,.3); }
.is-open .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(22,148,111,.2); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 8px rgba(22,148,111,0); } }
.eye-chip { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--sh-2); text-decoration: none; transition: transform .2s var(--ease); }
.eye-chip:hover { transform: translateY(-2px); }
.eye-chip:active { transform: scale(.98); }
.eye-chip-img { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.eye-chip strong { display: block; font-family: var(--f-display); color: var(--primary); line-height: 1.2; }
.eye-chip span span { display: block; font-size: .85rem; color: var(--muted); }

/* At a glance: layered tiles that overlap the hero edge */
.glance { position: relative; z-index: 2; margin-top: -44px; }
.glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.g-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.g-tile:hover { transform: translateY(-3px); }
.g-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--primary); margin-bottom: 8px; }
.g-ic .ic { width: 20px; height: 20px; }
.g-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; letter-spacing: -.035em; color: var(--primary); font-variant-numeric: tabular-nums; }
.g-label { font-size: .9rem; line-height: 1.35; color: var(--muted); }
.g-main { background: var(--primary); border-color: var(--primary); }
.g-main .g-num { color: #fff; }
.g-main .g-label { color: #CFE7E1; }
.g-main .g-ic { background: rgba(255,255,255,.14); color: var(--warm); }

/* Section scaffolding */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.eyebrow .ic { width: 18px; height: 18px; }
.head-sub { color: var(--muted); margin-top: 14px; font-size: 1.06rem; max-width: 56ch; }
.head-light h2 { color: #fff; }
.head-light .eyebrow { color: var(--warm); }
.head-light .head-sub { color: #BFD9D5; }
.fine { font-size: .9rem; color: var(--muted); }
.ph { position: relative; overflow: hidden; margin: 0; background: linear-gradient(135deg, #CFE7E1, #8FC3B8 55%, #4E918A); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .35s var(--ease); }

/* Forms */
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; margin-bottom: 16px; font-size: .96rem; }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; line-height: 1.5; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14,90,92,.14); }
.row2 { display: grid; gap: 0 14px; }
.opts { display: grid; gap: 10px; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opt-c { position: relative; cursor: pointer; }
.opt-c input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-c > span { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; line-height: 1.25; transition: box-shadow .2s, background-color .2s; }
.opt-c > span > .ic { color: var(--accent); }
.opt-sub { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.opt-c:hover > span { box-shadow: inset 0 0 0 1.5px var(--accent); }
.opt-c input:checked + span { background: var(--mint); box-shadow: inset 0 0 0 2px var(--primary); }
.opt-c input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--warm); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: center; cursor: pointer; margin: -4px 0 18px; padding: 12px 14px; border-radius: 14px; background: #FFF6EC; }
.check input { width: 22px; height: 22px; accent-color: var(--primary); flex: none; }
.check > span { display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.check .ic { color: #B4651E; }
.err { background: #FDECEA; color: #8C1D18; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .95rem; }

/* Order on WhatsApp: a prescription-pad slip and a live chat preview */
.order-sec { background: var(--light); }
.order-grid { display: grid; gap: 28px; align-items: start; }
.slip { position: relative; background: var(--paper); border-radius: 6px 6px var(--r-lg) var(--r-lg); padding: 30px clamp(18px, 3vw, 34px) 24px; box-shadow: var(--sh-2); }
.slip::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--paper) 6.5px) 0 7px / 14px 14px repeat-x; }
.slip-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1.5px dashed var(--line); }
.slip-head strong { display: block; font-family: var(--f-display); font-size: 1.3rem; color: var(--primary); line-height: 1.15; }
.slip-sub { display: block; color: var(--muted); font-size: .9rem; }
.rx { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none; background: #FFF1E2; color: #B4651E; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; font-style: italic; letter-spacing: -.04em; }
.rx-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.rx-note .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.preview { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone { width: min(100%, 360px); border-radius: 34px; padding: 10px; background: var(--deep); box-shadow: var(--sh-2); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; color: #fff; }
.phone-top strong { display: block; font-size: .98rem; line-height: 1.2; max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-top span span { display: block; font-size: .78rem; color: #9FC4BE; }
.avatar { width: 36px; height: 36px; border-radius: 50%; }
.chat { min-height: 300px; border-radius: 26px; padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; background-color: #EAF3EF; background-image: radial-gradient(rgba(14,90,92,.08) 1.2px, transparent 1.6px); background-size: 16px 16px; }
.bubble { align-self: flex-end; max-width: 88%; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: #D7F7D0; color: #102A1F; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.in { align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; }
.preview-cap { font-size: .88rem; color: var(--muted); }

/* Product categories */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px; margin: 0 -16px 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--light); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; color: var(--primary); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab .ic { color: var(--accent); transition: color .2s; }
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(14,90,92,.8); }
.tab[aria-selected="true"] .ic { color: var(--warm); }
.shop-grid { display: grid; gap: 18px; }
.shop-photo { border-radius: var(--r-lg); aspect-ratio: 16 / 10; box-shadow: var(--sh-1); }
.shop-photo.swap img { opacity: 0; transform: scale(1.03); }
.shop-card { background: var(--paper); border-radius: var(--r-lg); padding: 8px clamp(14px, 3vw, 30px) 22px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.plist { list-style: none; margin: 0 0 14px; padding: 0; }
.plist.fade { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.pi { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info info" "price add"; align-items: center; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pi-info { grid-area: info; display: flex; flex-direction: column; }
.pi-name { font-weight: 700; }
.pi-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; color: var(--muted); font-size: .9rem; }
.rx-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #FFF1E2; color: #8A4A10; font-size: .78rem; font-weight: 700; }
.pi-price { grid-area: price; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--primary); white-space: nowrap; }
.add { grid-area: add; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--mint); color: var(--primary); font-weight: 700; cursor: pointer; transition: background-color .18s, transform .15s; }
.add:hover { background: #CDEBE3; }
.add:active { transform: scale(.94); }
.add .ic { width: 18px; height: 18px; }

/* Honesty band */
.band { position: relative; isolation: isolate; color: #fff; padding: clamp(70px, 10vw, 130px) 0; }
.band-img { position: absolute; inset: 0; z-index: -1; }
.band-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,59,61,.94) 0%, rgba(8,59,61,.82) 45%, rgba(8,59,61,.45) 100%); }
.band-in { display: flex; gap: 16px; align-items: flex-start; }
.band-in p { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2rem); line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; }
.band-ic { width: 40px; height: 40px; color: var(--warm); stroke-width: 1.5; margin-top: 4px; }

/* Optician booking */
.eyes-sec { background-color: var(--deep); color: #fff; background-image: radial-gradient(circle at 88% 12%, rgba(255,255,255,.07) 0 90px, transparent 91px), radial-gradient(circle at 88% 12%, transparent 0 140px, rgba(255,255,255,.05) 141px 142px, transparent 143px), radial-gradient(circle at 88% 12%, transparent 0 200px, rgba(255,255,255,.04) 201px 202px, transparent 203px); }
.eyes-grid { display: grid; gap: 28px; }
.eyes-photos { position: relative; padding-bottom: 54px; }
.ep1 { border-radius: var(--r-lg); aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ep2 { position: absolute; right: 6%; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--deep); box-shadow: 0 0 0 2px rgba(244,162,89,.8); }
.book { background: #0E4A4C; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.book legend, .book .fld { color: #fff; }
.book .fld input { background: #fff; border-color: transparent; color: var(--ink); }
.svc { display: grid; gap: 10px; }
.svc-c > span { flex-direction: column; align-items: stretch; gap: 2px; min-height: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14); color: #fff; }
.svc-c .opt-sub { color: #BFD9D5; }
.svc-top { display: flex; justify-content: space-between; gap: 12px; }
.svc-price { font-family: var(--f-display); color: var(--warm); white-space: nowrap; }
.svc-c:hover > span { box-shadow: inset 0 0 0 1.5px rgba(244,162,89,.7); }
.svc-c input:checked + span { background: rgba(244,162,89,.14); box-shadow: inset 0 0 0 2px var(--warm); }
.days, .slots { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.slots { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0; }
.days::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; cursor: pointer; }
.chip > span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); font-weight: 700; transition: background-color .2s, box-shadow .2s, color .2s; }
.chip.day > span { flex-direction: column; min-width: 78px; padding: 8px 12px; line-height: 1.25; }
.chip.day span span { font-size: .85rem; font-weight: 400; color: #BFD9D5; }
.chip:hover > span { box-shadow: inset 0 0 0 1.5px rgba(244,162,89,.7); }
.chip input:checked + span { background: var(--warm); color: #2B1A06; box-shadow: none; }
.chip input:checked + span span { color: #4A2E0E; }
.chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.book .fine { color: #BFD9D5; }
.book-sum { margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); color: #E5F2EF; font-size: .95rem; }

/* Pharmacist on duty */
.duty-grid { display: grid; gap: 30px; align-items: center; }
.status { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding: 14px 16px; border-radius: 16px; background: var(--light); font-weight: 700; color: var(--primary); }
.week { list-style: none; margin: 0 0 14px; padding: 0; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; }
.week li:nth-child(odd) { background: #F8FBFA; }
.week li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.week li.today { background: var(--primary); color: #fff; font-weight: 700; }
.week li.today span:last-child { color: #fff; }
.duty-photo { border-radius: 999px 999px var(--r-lg) var(--r-lg); aspect-ratio: 1; box-shadow: var(--sh-2); }

/* Reviews */
.reviews-sec { background: var(--light); }
.car-btns { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.round:hover { background: var(--primary); color: #fff; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 84%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; margin: 0; background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: var(--warm); }
.stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.review figcaption { margin-top: auto; font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; }
.review figcaption strong { color: var(--ink); font-size: .95rem; }

/* Visit */
.visit-grid { display: grid; gap: 30px; align-items: start; }
.addr { font-size: 1.12rem; margin: 16px 0 12px; max-width: 34ch; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 22px; font-weight: 700; }
.contact-line a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--primary); }
.contact-line a:hover { text-decoration: underline; }
.enquiry { background: var(--light); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.enquiry h3 { margin-bottom: 6px; }
.enquiry .fine { margin-bottom: 18px; }

/* Footer, dock, toast */
.foot { background: var(--deep); color: #BFD9D5; padding: 44px 0 36px; font-size: .95rem; }
.foot-in { display: flex; flex-direction: column; gap: 8px; }
.foot-name { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.small { font-size: .85rem; color: #93B5B0; max-width: 60ch; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 rgba(8,59,61,.08), 0 -12px 30px -20px rgba(8,59,61,.4); }
.dock .btn { min-height: 50px; padding: 0 14px; }
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 50; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--deep); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: var(--sh-2); }
.toast.show { animation: toast .3s var(--ease); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 600px) {
  .row2 { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .reviews { grid-auto-columns: minmax(300px, 46%); }
  .pi { grid-template-columns: 1fr auto auto; grid-template-areas: "info price add"; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bar-links, .hero-links { display: flex; }
  .hero { min-height: min(100svh, 900px); padding-bottom: 96px; }
  .hero::before { background:
    linear-gradient(90deg, rgba(4,32,33,.92) 0%, rgba(4,32,33,.78) 38%, rgba(4,32,33,.25) 70%, rgba(4,32,33,.1) 100%),
    linear-gradient(180deg, rgba(4,32,33,.55) 0%, transparent 22%, transparent 75%, rgba(4,32,33,.6) 100%); }
  .hero-grid { align-items: end; gap: 48px; padding-top: 8vh; }
  .hero-actions .btn { flex: 0 1 auto; }
  .hero-side { display: grid; gap: 12px; justify-items: end; align-self: end; margin-bottom: 72px; }
  .glance { margin-top: -56px; }
  .glance-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 14px; }
  .g-tile { padding: 22px 22px 24px; }
  .order-grid { gap: 48px; }
  .preview { position: sticky; top: 96px; }
  .shop-grid { align-items: start; gap: 28px; }
  .shop-photo { aspect-ratio: 4 / 5; position: sticky; top: 96px; }
  .eyes-grid { gap: 56px; align-items: start; }
  .ep1 { aspect-ratio: 4 / 5; }
  .duty-grid { gap: 64px; }
  .visit-grid { gap: 56px; }
  .reviews { grid-auto-columns: calc((100% - 32px) / 3); }
  .dock { left: auto; right: 24px; bottom: 24px; grid-template-columns: auto; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dock .btn-line-d { display: none; }
  .dock .btn-wa { min-height: 56px; padding: 0 24px; box-shadow: 0 16px 36px -12px rgba(19,122,92,.9); }
  .toast { bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.hero-grid, .order-grid, .shop-grid, .eyes-grid, .duty-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .order-grid > *, .shop-grid > *, .eyes-grid > *, .duty-grid > *, .visit-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); }
  .order-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .shop-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .eyes-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .duty-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
section[id] { scroll-margin-top: 72px; }


/* Blur-up: photos fade in over the tinted placeholder; a soft sheen runs until they arrive */
.js .ph:not(.hero-media) > img:not(.is-loaded) { opacity: 0; }
.ph::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%) 0 0 / 220% 100%; }
.js .ph:has(> img:not(.is-loaded):not(.is-failed))::before { opacity: 1; animation: sheen 1.4s linear infinite; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.hero .hero-media::before { display: none; }

/* Inline field messages and the "WhatsApp opened" state */
.fld-err { display: block; font-weight: 700; font-size: .86rem; color: #B42318; }
.fld [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.book .fld-err { color: #FFC2B8; }
.slip, .book, .enquiry { position: relative; }
.sent { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 28px; text-align: center; border-radius: inherit; background: rgba(255,255,255,.97); color: var(--ink); animation: fade .35s var(--ease); }
.sent strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--primary); line-height: 1.2; }
.sent p { color: var(--muted); max-width: 34ch; }
.sent .btn { margin-top: 6px; }
.sent-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mint); color: var(--wa); }
.sent-ic .ic { width: 30px; height: 30px; stroke-width: 2.2; }
.book .sent { background: rgba(14,74,76,.98); color: #fff; }
.book .sent strong { color: #fff; }
.book .sent p { color: #CFE7E1; }
.book .sent .btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }

/* Press feedback on the small controls too */
.tab:active, .round:active, .chip:active > span, .opt-c:active > span { transform: scale(.97); }
.tab, .chip > span, .opt-c > span { transition: transform .15s var(--ease), background-color .2s, box-shadow .2s, color .2s; }

/* Category change: a quick cross-fade where View Transitions exist */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (max-width: 599px) { .trust li:nth-child(n+4) { display: none; } }
