/* ==========================================================================
   Ivora Dental — clinic website template · v1.0.0
   Made by Vortaxis Studio
   --------------------------------------------------------------------------
   1. Tokens   2. Base   3. Layout & utilities   4. Buttons & forms
   5. Header & nav   6. Hero   7. Sections & cards   8. Booking
   9. Portal   10. Footer   11. Animations   12. Responsive
   ========================================================================== */

/* 1. Tokens — change the brand here ------------------------------------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic-latin.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --navy: #0e2a3b;
  --navy-2: #163b52;
  --teal: #1d7480;
  --teal-2: #2a96a0;
  --mint: #e6f2f0;
  --mint-2: #d3e9e5;
  --gold: #a9834c;
  --gold-2: #d6bb8a;
  --sand: #f6f1e8;
  --bg: #fbfaf7;
  --card: #ffffff;
  --ink: #12222f;
  --mute: #566876;
  --line: #e6e1d7;
  --ok: #1f8a5b;
  --warn: #b5562b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(14, 42, 59, .04), 0 12px 32px -12px rgba(14, 42, 59, .16);
  --shadow-lg: 0 30px 70px -28px rgba(14, 42, 59, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: 0; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.015em; }
h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.01em; }
h3 { font-size: 23px; }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
em.accent, h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
::selection { background: var(--mint-2); }

/* 3. Layout & utilities -------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tint { background: var(--sand); }
.section.mint { background: var(--mint); }
.section.dark { background: var(--navy); color: #dbe6ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.section.dark .eyebrow { color: var(--gold-2); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.head p { color: var(--mute); max-width: 520px; margin: 0; }
.head.center { flex-direction: column; align-items: center; text-align: center; }
.lead { font-size: 19px; color: var(--mute); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--mute); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 91, .15); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--mint); color: var(--teal); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.tag.gold { background: #f5ecdc; color: #8a6634; }
.stars { display: inline-flex; gap: 2px; color: #d9a441; }
.stars .ic { width: 16px; height: 16px; }

/* 4. Buttons & forms ----------------------------------------------------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font: 600 16px/1 var(--sans); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; text-decoration: none; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(14, 42, 59, .55); }
.btn.teal { --b: var(--teal); }
.btn.gold { --b: var(--gold); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); box-shadow: none; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { color: var(--navy); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field .optional { font-weight: 500; color: var(--mute); }
.field label.check { font-weight: 500; color: var(--mute); font-size: 15px; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 500 16px/1.4 var(--sans); transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:not([type=checkbox]):not([type=radio]):focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(29, 116, 128, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--warn); }
.field .err { display: none; color: var(--warn); font-size: 13.5px; font-weight: 600; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mute); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: 13.5px; color: var(--mute); }
.alert { display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--mint); color: var(--navy); font-weight: 600; margin-top: 12px; }
.alert.show { display: flex; }
.alert.error { background: #fbeae2; color: #7a3416; }

/* 5. Header & nav -------------------------------------------------------- */
.topbar { background: var(--navy); color: #c8d6de; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: #c8d6de; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 16px; height: 16px; color: var(--gold-2); }
.topbar .r { display: flex; gap: 26px; }
.topbar .hl { color: var(--gold-2); font-weight: 700; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(14, 42, 59, .4); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo b { display: block; font: 600 25px/1 var(--serif); letter-spacing: -.02em; }
.logo small { display: block; font: 700 9.5px/1 var(--sans); letter-spacing: .34em; color: var(--gold); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 99px; color: var(--ink); font-weight: 500; font-size: 16px; }
.nav a:hover { background: var(--mint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.header .actions { display: flex; align-items: center; gap: 10px; }
.signin { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; padding: 10px 12px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(14, 42, 59, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg); padding: 22px 24px 32px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open .panel { transform: none; }
.drawer .panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer .panel a.nl { padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--navy); font: 500 22px/1.2 var(--serif); }
.drawer .panel .btn { margin-top: 18px; }
.mobile-book { display: none; }

/* 6. Hero ---------------------------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(29, 116, 128, .12), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 em { display: block; }
.hero .lead { max-width: 33em; margin-bottom: 34px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { display: flex; gap: 0; margin-top: 48px; }
.stats div { padding: 0 28px; border-left: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; border: 0; }
.stats b { display: block; font: 500 38px/1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.stats span { display: block; margin-top: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.hero-media { position: relative; }
.hero-media .ph { border-radius: 260px 260px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-lg); background: var(--mint); }
.hero-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--mute); }
.float b { display: block; color: var(--navy); font-size: 15.5px; }
.float .ib { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal); }
.float.f1 { left: -36px; bottom: 70px; }
.float.f2 { right: -18px; top: 48px; }
.float.f2 .ib { background: #f5ecdc; color: var(--gold); }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); }
.page-hero p { max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--mute); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--teal); }

/* trust strip */
.trust { border-block: 1px solid var(--line); background: var(--card); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust div { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.trust div:first-child { border-left: 0; padding-left: 0; }
.trust .ic { width: 28px; height: 28px; color: var(--teal); }
.trust b { display: block; color: var(--navy); font-size: 16px; }

/* 7. Sections & cards ---------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.t-card { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; }
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--mint-2); color: var(--ink); }
.t-card .ib { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--teal); display: grid; place-items: center; transition: background .3s, color .3s; }
.t-card:hover .ib { background: var(--teal); color: #fff; }
.t-card .ib .ic { width: 28px; height: 28px; }
.t-card h3 { margin: 6px 0 0; }
.t-card p { color: var(--mute); margin: 0; font-size: 16px; flex: 1; }
.t-card .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--mute); }
.t-card .meta b { color: var(--navy); font-size: 17px; }
.t-card .badge { position: absolute; top: 22px; right: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 15px var(--sans); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.split .media .badge-round { position: absolute; right: -20px; bottom: -24px; width: 150px; height: 150px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow-lg); border: 6px solid var(--bg); }
.split .media .badge-round b { display: block; font: 500 38px/1 var(--serif); color: var(--gold-2); }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--teal); stroke-width: 2.4; margin-top: 1px; }

.d-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.d-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.d-card .ph { aspect-ratio: 4/4.4; background: linear-gradient(180deg, var(--mint), var(--sand)); overflow: hidden; }
.d-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s; }
.d-card:hover .ph img { transform: scale(1.04); }
.d-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.d-card h3 { margin: 0; font-size: 22px; }
.d-card .role { color: var(--teal); font-weight: 700; font-size: 14.5px; }
.d-card .rate { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); margin-top: 4px; }
.d-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.d-card .btns { display: flex; gap: 8px; margin-top: auto; }
.d-card .btns .btn { flex: 1; padding: 0 12px; }

.o-card { position: relative; border-radius: var(--radius); padding: 32px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.o-card.feature { background: var(--navy); color: #c8d6de; border-color: var(--navy); }
.o-card.feature h3 { color: #fff; }
.o-card .price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.o-card .price b { font: 500 48px/1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.o-card.feature .price b { color: var(--gold-2); }
.o-card .price s { color: var(--mute); font-size: 17px; }
.o-card.feature .price s { color: #8aa0ad; }
.o-card p { flex: 1; margin: 0; }
.o-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1.5px dashed rgba(169, 131, 76, .35); }

.r-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.r-card blockquote { margin: 0; font: 400 19px/1.55 var(--serif); color: var(--ink); flex: 1; }
.r-card .who { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--mute); }
.r-card .who b { display: block; color: var(--navy); font-size: 15.5px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); font-weight: 800; font-size: 15px; flex: none; }
.rating-sum { display: flex; align-items: center; gap: 18px; }
.rating-sum b { font: 500 56px/1 var(--serif); color: var(--navy); }

.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 17.5px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); flex: none; transition: transform .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding-bottom: 22px; margin: 0; }

.cta-band { position: relative; border-radius: 32px; overflow: hidden; background: var(--navy); color: #c8d6de; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(42, 150, 160, .45), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(169, 131, 76, .3), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn.ghost:hover { border-color: #fff; color: #fff; }

/* treatment detail */
.t-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.t-hero .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg); }
.t-hero .ph img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.facts .pill .ic { color: var(--teal); width: 18px; height: 18px; }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.steps { counter-reset: s; display: grid; gap: 16px; margin: 20px 0 40px; padding: 0; }
.steps li { list-style: none; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.steps li::before { counter-increment: s; content: "0" counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); font: 600 18px var(--serif); }
.steps h4 { margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--mute); font-size: 16px; }
.sticky { position: sticky; top: 108px; }
.price-box .from { font-size: 14px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.price-box .amt { font: 500 52px/1 var(--serif); color: var(--navy); margin: 8px 0 4px; }
.price-box .amt small { font: 500 16px var(--sans); color: var(--mute); }
.price-box hr { border: 0; border-top: 1px dashed var(--line); margin: 22px 0; }
.mini-doc { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.mini-doc img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 15%; background: var(--mint); }
.mini-doc b { display: block; color: var(--navy); font-size: 15.5px; }
.mini-doc span { font-size: 13.5px; color: var(--mute); }

/* dentist modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(14, 42, 59, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .box { position: relative; background: var(--bg); border-radius: 28px; max-width: 860px; width: 100%; max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 320px 1fr; transform: translateY(20px); transition: transform .35s; }
.modal.open .box { transform: none; }
.modal .box > img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: center 15%; }
.modal .box .in { padding: 36px; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }

/* contact */
.c-list { display: grid; gap: 14px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.c-item .ib { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.c-item b { display: block; color: var(--navy); }
.c-item span, .c-item a { color: var(--mute); font-size: 15.5px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.hours tr.today td { color: var(--teal); font-weight: 700; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; background: #e9eee9; border: 1px solid var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pinbox { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.map .pinbox .lbl { background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow); }
.map .pinbox .pt { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; margin-top: 8px; box-shadow: 0 0 0 10px rgba(169, 131, 76, .25); }

/* 8. Booking ------------------------------------------------------------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.booking > *, .detail > *, .p-main, .split > * { min-width: 0; }
.bk-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); min-height: 520px; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 36px; list-style: none; padding: 0; }
.progress li { font-size: 13.5px; font-weight: 600; color: #9aa7b0; padding-top: 12px; border-top: 3px solid var(--line); transition: all .3s; }
.progress li.done { border-color: var(--teal); color: var(--navy); }
.progress li.now { border-color: var(--gold); color: var(--navy); }
.progress li span { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.bk-step { display: none; animation: fadeUp .45s both; }
.bk-step.active { display: block; }
.bk-step h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.bk-step > p.muted { margin-bottom: 26px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.opt { position: relative; display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border .2s, box-shadow .2s, background .2s; width: 100%; }
.opt:hover { border-color: var(--teal-2); }
.opt[aria-checked="true"] { border-color: var(--teal); background: #f4faf9; box-shadow: 0 0 0 4px rgba(29, 116, 128, .12); }
.opt[aria-checked="true"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt .ib { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.opt img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; background: var(--mint); }
.opt b { display: block; color: var(--navy); font-size: 16.5px; padding-right: 26px; }
.opt span { display: block; color: var(--mute); font-size: 14px; line-height: 1.45; margin-top: 3px; }
.opt .p { color: var(--teal); font-weight: 700; margin-top: 6px; font-size: 14px; }
.opt.disabled { opacity: .45; pointer-events: none; }
.days-wrap { position: relative; }
.days { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.day { flex: none; width: 76px; scroll-snap-align: start; padding: 12px 0; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; font: inherit; color: var(--navy); transition: all .2s; }
.day span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.day b { display: block; font: 500 26px/1.2 var(--serif); }
.day small { display: block; font-size: 12px; color: var(--mute); }
.day:hover { border-color: var(--teal-2); }
.day[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.day[aria-pressed="true"] span, .day[aria-pressed="true"] small { color: #d7f0ee; }
.day:disabled { opacity: .4; cursor: not-allowed; background: var(--sand); }
.month { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; font-weight: 700; color: var(--navy); }
.month .nav-btns { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); }
.slot-group { margin-top: 22px; }
.slot-group h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 16px var(--sans); cursor: pointer; transition: all .2s; }
.slot:hover { border-color: var(--teal); }
.slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot:disabled { background: repeating-linear-gradient(-45deg, #f6f3ee 0 6px, #fff 6px 12px); color: #b4bcc2; text-decoration: line-through; cursor: not-allowed; }
.empty { padding: 30px; text-align: center; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--mute); }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.summary h3 { font-size: 22px; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary .row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.summary .row .ic { color: var(--teal); margin-top: 2px; }
.summary dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.summary dd { margin: 2px 0 0; color: var(--navy); font-weight: 600; }
.summary dd.empty-v { color: #a6b1b8; font-weight: 500; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; }
.summary .total b { font: 500 30px var(--serif); color: var(--navy); }
.secure { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--mute); margin-top: 16px; }
.secure .ic { color: var(--ok); }
.confirm { text-align: center; padding: 10px 0; }
.confirm .tick { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px; background: var(--mint); color: var(--teal); display: grid; place-items: center; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.confirm .tick .ic { width: 44px; height: 44px; stroke-width: 2.4; }
.ticket { margin: 28px auto; max-width: 520px; text-align: left; border-radius: 22px; border: 1.5px solid var(--line); overflow: hidden; background: #fff; }
.ticket .t-top { background: var(--navy); color: #c8d6de; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ticket .t-top b { color: #fff; font: 500 22px var(--serif); }
.ticket .ref { font: 700 15px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: var(--gold-2); }
.ticket .t-body { padding: 8px 24px 16px; }
.ticket .t-body .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.ticket .t-body .row:last-child { border: 0; }
.ticket .t-body .row span { color: var(--mute); }
.ticket .t-body .row b { color: var(--navy); text-align: right; }
.confirm .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.demo-note { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 13.5px; color: var(--mute); margin-top: 22px; }

/* 9. Portal -------------------------------------------------------------- */
.portal-body { background: #f3f1ec; }
.portal { display: grid; grid-template-columns: 270px 1fr; min-height: calc(100vh - 84px); }
.p-side { background: var(--navy); color: #b9c9d2; padding: 28px 18px; display: flex; flex-direction: column; gap: 4px; }
.p-side .me { display: flex; gap: 12px; align-items: center; padding: 8px 10px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 14px; }
.p-side .me .avatar { background: var(--gold); color: #fff; }
.p-side .me b { display: block; color: #fff; }
.p-side .me span { font-size: 13px; }
.p-side a, .p-side button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: #b9c9d2; font: 500 15.5px var(--sans); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.p-side a:hover, .p-side button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.p-side a[aria-current="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.p-side a[aria-current="true"] .ic { color: var(--gold-2); }
.p-side .cnt { margin-left: auto; background: var(--gold); color: #fff; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 2px 8px; }
.p-side .sp { flex: 1; }
.p-main { padding: clamp(22px, 4vw, 44px); min-width: 0; }
.p-main h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 4px; }
.p-pane { display: none; animation: fadeUp .4s both; }
.p-pane.active { display: block; }
.p-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.kpi span { font-size: 13px; color: var(--mute); font-weight: 600; }
.kpi b { display: block; font: 500 32px/1.1 var(--serif); color: var(--navy); margin-top: 6px; }
.kpi small { color: var(--ok); font-weight: 700; font-size: 13px; }
.p-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.panel { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 24px; }
.panel h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel h3 a { font: 700 14px var(--sans); }
.next-appt { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #c8d6de; border: 0; position: relative; overflow: hidden; }
.next-appt::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 150, 160, .5), transparent); }
.next-appt h3 { color: #fff; }
.next-appt .when { font: 500 34px/1.1 var(--serif); color: #fff; margin: 12px 0 6px; }
.next-appt .btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.next-appt .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.appt { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.appt:last-child { border: 0; }
.appt .date { text-align: center; border-radius: 14px; background: var(--mint); color: var(--teal); padding: 8px 0; }
.appt .date b { display: block; font: 500 24px/1 var(--serif); color: var(--navy); }
.appt .date span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.appt .info b { color: var(--navy); display: block; }
.appt .info span { color: var(--mute); font-size: 14.5px; }
.appt.past .date { background: var(--sand); color: var(--mute); }
.status { font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--mint); color: var(--teal); white-space: nowrap; }
.status.paid, .status.done { background: #e3f3ea; color: var(--ok); }
.status.due { background: #fbeee2; color: var(--warn); }
.plan-step { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.plan-step i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.plan-step.done i { background: var(--teal); border-color: var(--teal); color: #fff; }
.plan-step.now i { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(169, 131, 76, .2); }
.plan-step i .ic { width: 15px; height: 15px; stroke-width: 3; }
.plan-step b { color: var(--navy); font-size: 15.5px; display: block; }
.plan-step span { font-size: 13.5px; color: var(--mute); }
.bar { height: 10px; border-radius: 99px; background: var(--mint); overflow: hidden; margin: 10px 0 4px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.list td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
table.list td b { color: var(--navy); }
.tbl-wrap { overflow-x: auto; }
.docs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.doc { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.doc .ib { width: 44px; height: 44px; border-radius: 12px; background: #f5ecdc; color: var(--gold); display: grid; place-items: center; flex: none; }
.doc b { display: block; color: var(--navy); font-size: 15px; }
.doc span { font-size: 13px; color: var(--mute); }
.chat { display: flex; flex-direction: column; height: 520px; }
.chat .msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 6px 4px 16px; }
.msg { max-width: 76%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; }
.msg small { display: block; font-size: 12px; opacity: .65; margin-top: 4px; }
.msg.them { background: var(--mint); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.chat form { display: flex; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.chat form input { flex: 1; }
.login { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1fr 1fr; }
.login .side { position: relative; background: var(--navy) center/cover; }
.login .side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 42, 59, .2), rgba(14, 42, 59, .85)); }
.login .side .q { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; color: #fff; font: 400 28px/1.35 var(--serif); }
.login .side .q small { display: block; font: 600 14px var(--sans); color: var(--gold-2); margin-top: 14px; }
.login .form { display: grid; place-items: center; padding: 48px 24px; }
.login .form > div { width: min(420px, 100%); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 99; font-weight: 600; font-size: 15px; transition: transform .35s cubic-bezier(.2, 1.2, .4, 1); display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast .ic { color: var(--gold-2); }

/* 10. Footer ------------------------------------------------------------- */
.footer { background: var(--navy); color: #a9bcc7; padding: 80px 0 0; margin-top: 0; font-size: 15.5px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer .logo { color: #fff; }
.footer .logo b { color: #fff; }
.footer .logo small { color: var(--gold-2); }
.footer p { margin: 18px 0 22px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: #a9bcc7; }
.footer a:hover { color: #fff; }
.footer .ci { display: flex; gap: 10px; align-items: flex-start; }
.footer .ci .ic { color: var(--gold-2); width: 18px; height: 18px; margin-top: 3px; }
.footer .social { display: flex; gap: 10px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; }
.footer .social a:hover { background: rgba(255, 255, 255, .08); }
.footer .base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* 11. Animations --------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 12. Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 15px; }
  .signin span { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header .actions .signin, .header .actions .btn, .topbar .r .tf { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split, .t-hero, .detail { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .float.f1 { left: 12px; }
  .float.f2 { right: 12px; }
  .booking { grid-template-columns: 1fr; }
  .booking .summary .sticky, .sticky { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .portal { grid-template-columns: 1fr; }
  .p-side { flex-direction: row; overflow-x: auto; padding: 10px 12px; gap: 4px; position: sticky; top: 84px; z-index: 5; }
  .p-side .me, .p-side .sp { display: none; }
  .p-side a, .p-side button { width: auto; white-space: nowrap; padding: 10px 12px; }
  .p-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .login { grid-template-columns: 1fr; }
  .login .side { min-height: 260px; }
  .modal .box { grid-template-columns: 1fr; }
  .modal .box > img { min-height: 0; aspect-ratio: 4/3; height: auto; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .r { gap: 18px; }
  .header .wrap { min-height: 72px; gap: 14px; }
  .logo svg { width: 36px; height: 36px; }
  .logo b { font-size: 22px; }
  .g2, .g3, .g4, .opt-grid, .row2 { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .stats { margin-top: 36px; }
  .stats div { padding: 0 16px; }
  .stats b { font-size: 30px; }
  .stats span { font-size: 11px; letter-spacing: .08em; }
  .hero .cta .btn { flex: 1 1 100%; }
  .float { font-size: 13px; padding: 10px 12px; }
  .float.f1 { bottom: 24px; }
  .float.f2 { top: 20px; }
  .float .ib { width: 34px; height: 34px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust div { border-left: 0 !important; padding: 18px 0 !important; border-top: 1px solid var(--line); }
  .trust div:first-child { border-top: 0; }
  .split .media .badge-round { width: 116px; height: 116px; right: 8px; bottom: -20px; font-size: 11.5px; }
  .split .media .badge-round b { font-size: 30px; }
  .progress { gap: 6px; }
  .progress li { font-size: 0; }
  .progress li span { font-size: 10px; letter-spacing: .06em; }
  .bk-card { border-radius: 22px; }
  .bk-nav .btn { flex: 1; padding: 0 16px; }
  .footer .cols { grid-template-columns: 1fr; gap: 32px; }
  .mobile-book { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; box-shadow: var(--shadow-lg); transform: translateY(120px); transition: transform .35s; }
  .mobile-book.show { transform: none; }
  .kpis { gap: 10px; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 26px; }
  .appt:not(.inv) { grid-template-columns: 56px 1fr; }
  .appt:not(.inv) .status, .appt .act { grid-column: 2; justify-self: start; }
  .p-side { top: 72px; }
  .t-card { padding: 22px; gap: 10px; }
  .t-card .ib { width: 48px; height: 48px; }
  .t-card h3 { font-size: 21px; }
  .msg { max-width: 88%; }
  .next-appt .when { font-size: 26px; }
  .modal .box .in { padding: 26px 22px; }
  .login .side .q { left: 24px; right: 24px; bottom: 24px; font-size: 22px; }
}
