/* Figtree, served from this site (one variable file for every weight; latin first, extended latin only if a page needs it) */
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 900;font-display:swap;src:url("fonts/figtree-latin-v9.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 900;font-display:swap;src:url("fonts/figtree-latin-ext-v9.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* neutrals, lightly cooled toward the logo's navy */
  --canvas:#FFFFFF;
  --surface:#F3F4F7;
  --line:#E2E4EA;
  --ink:#141629;
  --ink-2:#565A6E;
  --ink-3:#666A7D;
  /* deep blue = the logo's navy: actions only (Book, chosen slot) */
  --act:#2B3192;
  --act-press:#1F2470;
  --act-soft:#ECEDF8;
  /* light blue = the logo's cyan: small marks only (dots, indicators, ticks, tags) */
  --sky:#00A8EC;
  --sky-soft:#E6F6FD;
  --sky-ink:#0070A8;
  --open:var(--sky);
  --radius:20px;
  --shadow:0 1px 2px rgba(20,22,41,.06),0 12px 28px -14px rgba(20,22,41,.28);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scrollbar-width:none}
html::-webkit-scrollbar{display:none}
body{font-family:"Figtree",-apple-system,system-ui,sans-serif;color:var(--ink);background:var(--canvas);
  -webkit-font-smoothing:antialiased;padding-bottom:120px;font-size:16px;line-height:1.45}
::selection{background:var(--act-soft);color:var(--act-press)}
img{display:block;max-width:100%}
button,input,textarea,select{font-family:inherit}
a{color:inherit;text-decoration:none}
/* no grey flash from the browser on tap (iOS Safari draws one over anything tappable before it switches); each
   control gives its own feedback */
a,button,[role="button"],[role="tab"],label,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
/* something on its way from the server: a calm pulse on a grey block, opacity only, and only while it loads */
.skel{background:var(--surface);border-radius:12px;animation:skel 1.1s ease-in-out infinite alternate}
@keyframes skel{from{opacity:.5}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.skel{animation:none;opacity:.75}}
/* on screen when the page opened: shown in its finished state, without the reveal's transition */
.no-motion,.no-motion *,.no-motion *::before,.no-motion *::after{transition:none!important}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}

.top{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.top .logo{height:68px;width:auto;margin:-8px 0 -8px -8px}

h1{font-weight:800;letter-spacing:-.032em;line-height:1.02;text-wrap:balance}
h2{font-weight:750;letter-spacing:-.02em;line-height:1.1;font-size:24px;text-wrap:balance}
.sec{padding:36px 18px 0}
.sec h2{margin-bottom:14px}
.muted{color:var(--ink-2)}
.small{font-size:14px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:54px;padding:0 22px;border-radius:16px;
  font:700 17px/1 "Figtree",sans-serif;border:0;cursor:pointer;transition:background .2s,transform .2s}
.btn--act{background:var(--act);color:#fff}
.btn--act:hover{background:var(--act-press)}
.btn--act:active{transform:scale(.98)}
.btn--ghost{background:var(--surface);color:var(--ink)}
.btn--block{width:100%}

.open{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--ink)}
.open::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--open)}

/* photo placeholders: clearly marked until the clinic's new photos arrive */
.photo{position:relative;background:
  radial-gradient(120% 90% at 20% 15%,#D9D3CF 0%,transparent 60%),
  linear-gradient(160deg,#C8C0BB,#9E9490);overflow:hidden}
.photo::after{content:attr(data-label);position:absolute;right:12px;top:12px;font-size:11px;font-weight:600;
  letter-spacing:.02em;color:#fff;background:rgba(24,20,26,.45);padding:4px 8px;border-radius:999px}
.photo.is-real::after{display:none}

/* slots */
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-content:start}
/* the day's real times are still on their way: the same buttons, greyed and pulsing, and not tappable yet */
.slots.is-loading .slot{color:transparent;text-decoration:none;background:var(--surface);border-color:transparent;pointer-events:none;
  animation:skel 1.1s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){.slots.is-loading .slot{animation:none}}
/* a photo on its way: the grey block pulses until the picture has arrived */
.photo.is-loading{animation:skel 1.1s ease-in-out infinite alternate}
.photo.is-loading::after{visibility:hidden}
@media (prefers-reduced-motion:reduce){.photo.is-loading{animation:none}}
/* a map on its way from Google: its grey box holds the place (still, since a map further down only loads as it
   scrolls near), then the map fades in */
.gmap{transition:opacity .35s ease}
.gmap.is-loading{opacity:0}
.slot{height:48px;border-radius:14px;border:1.5px solid var(--line);background:var(--canvas);display:grid;place-items:center;
  font-weight:700;font-size:16px;font-variant-numeric:tabular-nums;cursor:pointer;transition:border-color .2s,background .2s}
.slot:hover{border-color:var(--ink-3)}
.slot.is-taken{color:var(--ink-3);text-decoration:line-through;background:var(--surface);border-color:transparent;cursor:not-allowed}
.slot.is-on{background:var(--act);border-color:var(--act);color:#fff}

/* 3D tilt card */
.tilt{transform-style:preserve-3d;transition:transform .5s cubic-bezier(.16,1,.3,1);will-change:transform}
@media (prefers-reduced-motion:reduce){.tilt{transition:none}}

/* bullets */
.ticks{list-style:none;display:grid;gap:10px}
.ticks li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
.ticks svg{width:22px;height:22px;color:var(--sky)}

/* booking card (shared) */
.bk{background:var(--canvas);border-radius:26px;padding:18px;box-shadow:var(--shadow)}
.bk .loc{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.bk .where{display:flex;gap:10px;align-items:center}
.bk .where i{width:40px;height:40px;border-radius:12px;background:var(--sky-soft);color:var(--sky-ink);display:grid;place-items:center}
.bk .where svg{width:20px;height:20px}
.bk .loc b{display:block;font-size:17px}
.bk .loc small{font-size:13px;color:var(--ink-2)}
.bk .change{font-size:14px;font-weight:700;color:var(--sky-ink);text-decoration:underline;text-underline-offset:3px}
.days{display:flex;gap:8px;margin:16px 0 14px;overflow:auto;scrollbar-width:none}
.day{flex:0 0 auto;width:58px;height:66px;border-radius:16px;border:1.5px solid var(--line);display:grid;place-items:center;align-content:center;gap:2px;cursor:pointer;background:var(--canvas)}
.day small{font-size:12px;color:var(--ink-2)}
.day b{font-size:19px;font-variant-numeric:tabular-nums}
.day.is-on{background:var(--sky-soft);border-color:var(--act);color:var(--act)}
.day.is-on small{color:var(--act)}
.day.is-off{opacity:.4;cursor:not-allowed}
.session{font-size:13px;font-weight:700;color:var(--ink-2);margin:4px 0 8px}
.bk .btn{margin-top:16px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.chips span{font-size:12px;font-weight:700;padding:4px 8px;border-radius:8px;background:var(--sky-soft);color:var(--sky-ink)}
.stars{display:flex;color:var(--ink)}
.stars svg{width:16px;height:16px}

/* floating call + whatsapp */
.fab{position:fixed;right:12px;bottom:100px;display:grid;gap:8px;z-index:20}
.fab a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.96);
  border:1px solid var(--line);box-shadow:var(--shadow)}
.fab svg{width:22px;height:22px;color:var(--ink)}

/* ---------- dock (five equal items) ---------- */
.dock{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:30;width:calc(100% - 28px);max-width:420px;
  display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px;border-radius:26px;
  background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.75);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 0 0 1px rgba(24,20,26,.06),0 18px 36px -16px rgba(24,20,26,.45);
  backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8)}
.dock a{position:relative;height:56px;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:var(--ink-3);font-size:11px;font-weight:600;transition:color .25s,background .3s}
.dock svg{width:23px;height:23px}
.dock a:hover{color:var(--ink)}
.dock a[aria-current="page"]{color:var(--ink)}

.dock a[aria-current="page"]{color:var(--act)}
/* indicator A: soft blue pill */
.dock--pill a[aria-current="page"]{background:var(--sky-soft);color:var(--act)}
/* indicator B: light-blue dot under the label */
.dock--dot a[aria-current="page"]{font-weight:700}
.dock--dot a[aria-current="page"]::after{content:"";position:absolute;bottom:2px;width:5px;height:5px;border-radius:50%;background:var(--sky)}
/* indicator C: light-blue bar on top */
.dock--bar a[aria-current="page"]::before{content:"";position:absolute;top:-6px;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--sky)}
.dock--bar a[aria-current="page"]{background:rgba(43,49,146,.06)}
/* indicator D: only the current page shows its label, in a frosted capsule */
.dock--label a span{max-height:0;opacity:0;overflow:hidden;transition:opacity .25s}
.dock--label a[aria-current="page"]{background:rgba(255,255,255,.95);box-shadow:0 4px 12px -6px rgba(24,20,26,.35)}
.dock--label a[aria-current="page"] span{max-height:16px;opacity:1}

/* a photo still to come shows only its grey placeholder (the label naming it was for the mock-ups) */
.photo::after{content:none}
