/* ==========================================================================
   Molara Dental Studio — Main Stylesheet
   Designed & built by EdinStack
   --------------------------------------------------------------------------
   1. Tokens          6. Hero & quick booking   11. Booking flow
   2. Base            7. Sections & cards       12. Calendar & slots
   3. Utilities       8. Dentists               13. Contact & forms
   4. Buttons         9. Treatments             14. Footer
   5. Header          10. Testimonials & FAQ    15. Motion & responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ink: #15282E;
  --ink-2: #4A5F66;
  --ink-3: #7B8D92;
  --teal: #2F6F7E;
  --teal-700: #22545F;
  --teal-600: #286170;
  --teal-100: #D6E7E9;
  --teal-50: #EDF4F5;
  --sand: #F5EFE6;
  --sand-2: #EADFCD;
  --gold: #B7782F;
  --rose: #C2554A;
  --green: #2E7D5B;
  --bg: #FBFCFB;
  --surface: #FFFFFF;
  --line: #E1E8E8;
  --line-2: #CBD7D8;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 40, 46, .06);
  --shadow: 0 10px 30px -12px rgba(21, 40, 46, .18);
  --shadow-lg: 0 30px 60px -24px rgba(21, 40, 46, .28);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, serif;

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 47, 111, 126;
  --bs-link-hover-color-rgb: 34, 84, 95;
  --bs-focus-ring-color: rgba(47, 111, 126, .35);
}

/* 2. Base --------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.display-title {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 700;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lead-muted { color: var(--ink-2); font-size: 1.075rem; }
p { color: var(--ink-2); }
a { text-decoration: none; }
img { max-width: 100%; }

:focus-visible {
  outline: 3px solid rgba(47, 111, 126, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--ink); color: #fff; padding: .65rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* 3. Utilities ---------------------------------------------------------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-sand { background: var(--sand); }
.bg-teal-50 { background: var(--teal-50); }
.text-teal { color: var(--teal) !important; }
.text-ink-2 { color: var(--ink-2) !important; }
.text-ink-3 { color: var(--ink-3) !important; }
.fw-800 { font-weight: 800; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.tag-teal { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-700); }
.tag-sand { background: var(--sand); border-color: var(--sand-2); color: #7A5424; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 125, 91, .15);
}
.divider { height: 1px; background: var(--line); }

.icon-badge {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge i { font-size: 1.5rem; }

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 999px; padding: .72rem 1.35rem; transition: all .2s ease;
}
.btn i.bx, .tag i.bx { line-height: 1; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .45rem .95rem; font-size: .85rem; }
.btn-brand {
  background: var(--teal); color: #fff; border: 1px solid var(--teal);
}
.btn-brand:hover, .btn-brand:focus-visible { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: #0B1A1E; color: #fff; }
.btn-outline-ink { border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-outline-ink:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost { color: var(--teal); background: transparent; border: 0; padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--teal-700); }
.btn-arrow {
  display: inline-flex; align-items: center; gap: .65rem; padding-right: .45rem;
}
.btn-arrow .arrow {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--teal);
  transition: transform .2s ease;
}
.btn-outline-ink.btn-arrow .arrow { background: var(--ink); color: #fff; }
.btn-arrow:hover .arrow { transform: translateX(3px); }
.btn:disabled, .btn.disabled { opacity: .5; }

/* 5. Header ------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: #C9D6D8; font-size: .82rem;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .container { min-height: 40px; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(251, 252, 251, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .navbar { padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1; }
.brand-name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.main-nav .nav-link {
  color: var(--ink-2); font-weight: 600; font-size: .93rem;
  padding: .5rem .95rem !important; border-radius: 999px;
}
.main-nav .nav-link:hover { color: var(--ink); background: var(--teal-50); }
.main-nav .nav-link.active { color: var(--teal-700); background: var(--teal-50); }
.navbar-toggler { border: 1px solid var(--line-2); border-radius: 12px; padding: .5rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--bs-focus-ring-color); }

/* 6. Hero & quick booking ---------------------------------------------- */
.hero { padding: 56px 0 0; position: relative; }
.hero-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.4; background: var(--teal-100);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(21, 40, 46, .55), transparent);
}
.hero-chips { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span {
  font-size: .78rem; font-weight: 600; color: #fff;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 14px 16px;
}
.float-card.fc-1 { left: -36px; top: 18%; max-width: 230px; }
.float-card.fc-2 { right: -20px; top: 52%; }
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; margin-left: -10px; background: var(--teal-100);
}
.avatar-stack img:first-child { margin-left: 0; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: .9rem; }

.quick-book {
  position: relative; z-index: 4; margin-top: -56px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
}
.qb-field {
  display: flex; align-items: center; gap: .75rem;
  padding: 10px 14px; border-radius: 14px; height: 100%;
  background: var(--bg); border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.qb-field:focus-within { border-color: var(--teal); background: #fff; }
.qb-field i { font-size: 1.35rem; color: var(--teal); }
.qb-field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 0; }
.qb-field .form-control, .qb-field .form-select {
  border: 0; background-color: transparent; padding: 0; font-weight: 600; color: var(--ink);
  box-shadow: none !important; font-size: .95rem;
}
.qb-field .form-select { background-position: right 0 center; padding-right: 1.4rem; }

.stats-strip .stat-num { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stats-strip .stat-label { font-size: .88rem; color: var(--ink-2); margin-top: .4rem; }
.stats-strip .col + .col { border-left: 1px solid var(--line); }

/* Page header (inner pages) */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--teal-50), var(--bg)); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; margin-bottom: .75rem; }
.breadcrumb-item a { color: var(--ink-2); }
.breadcrumb-item.active { color: var(--teal); font-weight: 600; }

/* 7. Sections & cards -------------------------------------------------- */
.card-soft {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card-soft.hoverable:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }

.treat-card { padding: 26px; height: 100%; display: flex; flex-direction: column; }
.treat-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.treat-card p { font-size: .93rem; margin-bottom: 18px; }
.price-row {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.price { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.price small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; text-transform: uppercase; margin-bottom: 4px; }
.includes { list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--ink-2); }
.includes li { display: flex; gap: .5rem; padding: 3px 0; }
.includes i { color: var(--teal); font-size: 1.05rem; margin-top: 3px; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 1rem; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: .93rem; }

.collage { position: relative; }
.collage .c-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--teal-100); }
.collage .c-main img, .collage .c-sub img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-sub {
  position: absolute; right: -24px; bottom: -32px; width: 48%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); background: var(--teal-100);
}
.collage .c-note {
  position: absolute; left: 20px; top: 20px; background: #fff; border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem;
}

.steps { counter-reset: step; }
.step-card { padding: 28px; height: 100%; position: relative; }
.step-card .step-num {
  font-family: var(--font-serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--teal-100);
  position: absolute; right: 22px; top: 16px;
}
.step-card h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.step-card p { font-size: .93rem; margin: 0; }

.cta-band {
  background: var(--teal); color: #fff; border-radius: var(--radius-lg);
  padding: 56px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-band::after {
  content: ""; position: absolute; right: 120px; bottom: -140px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}
.cta-band h2, .cta-band p { color: #fff; position: relative; z-index: 1; }
.cta-band p { opacity: .85; }
.cta-band .btn-light { color: var(--teal-700); font-weight: 700; }
.emergency-box {
  position: relative; z-index: 1; background: rgba(0, 0, 0, .16); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius); padding: 22px;
}
.emergency-box a { color: #fff; font-weight: 800; font-size: 1.35rem; }

/* 8. Dentists ----------------------------------------------------------- */
.doc-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.doc-photo { aspect-ratio: 4 / 4.3; background: var(--teal-100); position: relative; overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.doc-card:hover .doc-photo img { transform: scale(1.04); }
.doc-photo .tag { position: absolute; left: 14px; top: 14px; }
.doc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-size: 1.08rem; margin-bottom: 2px; }
.doc-spec { color: var(--teal); font-weight: 600; font-size: .9rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--ink-2); margin: 12px 0 16px; }
.doc-meta i { color: var(--ink-3); margin-right: 3px; }
.doc-actions { margin-top: auto; display: flex; gap: .5rem; }
.doc-actions .btn { flex: 1; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  font-weight: 600; font-size: .88rem; padding: .5rem 1rem; border-radius: 999px;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { opacity: .6; margin-left: .25rem; font-weight: 500; }

.profile-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.profile-modal .profile-photo { height: 100%; min-height: 320px; background: var(--teal-100); }
.profile-modal .profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-days span {
  text-align: center; font-size: .78rem; font-weight: 700; padding: 8px 0; border-radius: 10px;
  background: var(--bg); color: var(--ink-3); border: 1px solid var(--line);
}
.week-days span.on { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: .5rem 1rem; font-size: .92rem; }
.kv dt { color: var(--ink-3); font-weight: 600; }
.kv dd { margin: 0; color: var(--ink); }

/* 9. Treatments --------------------------------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.search-wrap { position: relative; min-width: 240px; }
.search-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 1.15rem; }
.search-wrap .form-control { padding-left: 40px; border-radius: 999px; }

.price-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.price-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; background: var(--bg); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table tbody tr:hover { background: var(--teal-50); }
.price-table .amt { font-weight: 700; color: var(--ink); white-space: nowrap; }

.empty-state { text-align: center; padding: 56px 20px; color: var(--ink-2); }
.empty-state i { font-size: 2.5rem; color: var(--ink-3); }

/* 10. Testimonials & FAQ ----------------------------------------------- */
.quote-card { padding: 30px; height: 100%; display: flex; flex-direction: column; }
.quote-card blockquote { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink); margin: 16px 0 24px; }
.quote-card .who { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.quote-card .initials {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: #7A5424; font-weight: 800; font-size: .9rem;
}
.quote-card .who strong { display: block; font-size: .95rem; }
.quote-card .who span { font-size: .82rem; color: var(--ink-3); }

.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: 10px; background: var(--surface); }
.faq .accordion-button { font-weight: 700; font-size: 1rem; padding: 20px 22px; color: var(--ink); background: var(--surface); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--teal-700); background: var(--surface); }
.faq .accordion-button:focus { box-shadow: inset 0 0 0 3px var(--bs-focus-ring-color); }
.faq .accordion-body { padding: 0 22px 22px; color: var(--ink-2); }

/* 11. Booking flow ------------------------------------------------------ */
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.stepper li { flex: 1; }
.stepper .bar { display: block; height: 5px; border-radius: 5px; background: var(--line); transition: background .3s ease; }
.stepper .lbl { display: block; font-size: .76rem; font-weight: 700; color: var(--ink-3); margin-top: 8px; text-transform: uppercase; letter-spacing: .05em; }
.stepper li.done .bar, .stepper li.current .bar { background: var(--teal); }
.stepper li.current .lbl { color: var(--teal-700); }

.book-panel { padding: 32px; }
.book-panel h2 { font-size: 1.5rem; }
.step-pane[hidden] { display: none !important; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; gap: .85rem; align-items: flex-start; cursor: pointer; height: 100%;
  border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.choice label:hover { border-color: var(--line-2); }
.choice input:checked + label { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(47, 111, 126, .12); }
.choice input:focus-visible + label { outline: 3px solid rgba(47, 111, 126, .55); outline-offset: 2px; }
.choice .c-title { font-weight: 700; font-size: .95rem; color: var(--ink); display: block; line-height: 1.3; }
.choice .c-sub { font-size: .82rem; color: var(--ink-2); display: block; margin-top: 3px; }
.choice .c-price { font-weight: 800; font-size: .9rem; color: var(--teal-700); display: block; margin-top: 6px; }
.choice .check {
  margin-left: auto; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; font-size: .95rem;
}
.choice input:checked + label .check { background: var(--teal); border-color: var(--teal); color: #fff; }
.choice .mini-avatar { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; object-position: top; background: var(--teal-100); flex-shrink: 0; }
.choice .any-avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--sand); color: #7A5424; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.group-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin: 22px 0 10px; }
.group-label:first-child { margin-top: 0; }

.summary { padding: 26px; }
.summary-sticky { position: sticky; top: 100px; }
.summary h3 { font-size: 1.05rem; }
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li { display: flex; gap: .8rem; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-list li i { font-size: 1.2rem; color: var(--teal); margin-top: 1px; }
.summary-list .k { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.summary-list .v { font-weight: 600; color: var(--ink); }
.summary-list .v.empty { color: var(--ink-3); font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.summary-total .amt { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

.review-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.review-box .row-item { display: flex; justify-content: space-between; gap: 1rem; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.review-box .row-item:last-child { border-bottom: 0; }
.review-box .row-item span:first-child { color: var(--ink-3); }
.review-box .row-item span:last-child { font-weight: 600; text-align: right; }

.success-wrap { text-align: center; padding: 20px 0; }
.success-icon {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(46, 125, 91, .12); color: var(--green); font-size: 2.6rem;
}
.ref-code {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700;
  background: var(--sand); color: #6A4719; padding: .45rem .9rem; border-radius: 10px; letter-spacing: .06em;
}

/* 12. Calendar & slots ------------------------------------------------- */
.calendar { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--surface); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { font-size: 1rem; margin: 0; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  display: grid; place-items: center; color: var(--ink); font-size: 1.2rem;
}
.cal-nav:disabled { opacity: .35; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; padding: 6px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; background: transparent; border-radius: 12px;
  font-weight: 600; font-size: .92rem; color: var(--ink); position: relative;
}
.cal-day:hover:not(:disabled) { background: var(--teal-50); }
.cal-day:disabled { color: #BCC7C9; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); cursor: not-allowed; }
.cal-day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal); transform: translateX(-50%);
}
.cal-day[aria-pressed="true"] { background: var(--teal); color: #fff; }
.cal-day[aria-pressed="true"]::after { background: #fff; }
.cal-legend { display: flex; gap: 1rem; font-size: .78rem; color: var(--ink-3); margin-top: 10px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 0;
  font-weight: 700; font-size: .88rem; color: var(--ink);
}
.slot:hover:not(:disabled) { border-color: var(--teal); }
.slot:disabled { background: var(--bg); color: #B5C1C3; text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.slot-period { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 14px 0 8px; }

/* 13. Contact & forms --------------------------------------------------- */
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.form-label .req { color: var(--rose); margin-left: 2px; }
.form-text { color: var(--ink-3); font-size: .82rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .72rem .95rem; font-size: .95rem;
  color: var(--ink); background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 111, 126, .14); }
.form-control::placeholder { color: #A3B1B4; }
.form-control.is-invalid, .form-select.is-invalid, .was-validated .form-control:invalid { border-color: var(--rose); background-image: none; padding-right: .95rem; }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { box-shadow: 0 0 0 4px rgba(194, 85, 74, .14); }
.invalid-feedback { color: var(--rose); font-weight: 500; font-size: .82rem; }
.form-check-input { border: 1.5px solid var(--line-2); width: 1.15em; height: 1.15em; }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(47, 111, 126, .14); border-color: var(--teal); }
.form-check-input.is-invalid { border-color: var(--rose); }
.input-group-text { border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; font-weight: 600; color: var(--ink-2); }

.seg { display: inline-flex; background: var(--teal-50); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg input { position: absolute; opacity: 0; }
.seg label { padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.seg input:checked + label { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + label { outline: 3px solid rgba(47, 111, 126, .55); }

.info-card { padding: 24px; display: flex; gap: 1rem; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .92rem; }
.hours-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.today { color: var(--teal-700); font-weight: 700; }

.map-box {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; position: relative;
  background:
    linear-gradient(90deg, rgba(47,111,126,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(47,111,126,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--teal-50);
}
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.loc-tabs .chip { font-size: .85rem; }

.alert-soft { border: 1px solid; border-radius: 14px; padding: 14px 16px; font-size: .92rem; display: flex; gap: .75rem; align-items: flex-start; }
.alert-soft i { font-size: 1.25rem; margin-top: 1px; }
.alert-soft.success { background: rgba(46, 125, 91, .08); border-color: rgba(46, 125, 91, .25); color: #1F5C42; }
.alert-soft.info { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-700); }
.alert-soft.warn { background: #FBF3E7; border-color: #F0DDBF; color: #7A5424; }

/* Custom select (modern dropdown) ----------------------------------- */
.cselect { position: relative; }
.cselect.w-auto-wrap { display: inline-block; min-width: 190px; }
.cselect-native {
  position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
  opacity: 0; pointer-events: none; z-index: -1;
}
.cselect-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  text-align: left; background: #fff; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .72rem .95rem; font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cselect-btn:hover { border-color: var(--line-2); }
.cselect-btn:focus-visible, .cselect.open .cselect-btn {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 111, 126, .14);
}
.cselect-btn.is-invalid { border-color: var(--rose); }
.cselect-btn:disabled { background: var(--bg); color: var(--ink-3); }
.cselect-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect.is-placeholder .cselect-value { color: #8A9A9E; }
.cselect-caret {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 1.15rem; color: var(--ink-2); background: var(--teal-50); transition: transform .2s ease, background .2s ease;
}
.cselect.open .cselect-caret { transform: rotate(180deg); background: var(--teal); color: #fff; }
.cselect.is-pill .cselect-caret { border-radius: 50%; }
.cselect.is-pill .cselect-btn { border-radius: 999px; padding: .55rem .6rem .55rem 1.1rem; font-weight: 600; font-size: .9rem; }

.cselect-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 1060;
  min-width: max(100%, 260px); max-width: min(380px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(21, 40, 46, .28), 0 2px 6px rgba(21, 40, 46, .06);
  padding: 6px; transform-origin: top left; animation: cselectIn .16s ease both;
}
.cselect-panel.up { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; }
.cselect-panel.align-right { left: auto; right: 0; transform-origin: top right; }
@keyframes cselectIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.cselect-search { position: relative; padding: 4px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cselect-search i { position: absolute; left: 16px; top: calc(50% - 2px); transform: translateY(-50%); color: var(--ink-3); font-size: 1.05rem; }
.cselect-search input {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 10px;
  padding: .5rem .75rem .5rem 2.1rem; font-size: .88rem; color: var(--ink);
}
.cselect-search input:focus { outline: 0; border-color: var(--teal); background: #fff; }

.cselect-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.cselect-list:focus { outline: 0; }
.cselect-list::-webkit-scrollbar { width: 8px; }
.cselect-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid #fff; }
.cselect-group {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); padding: 10px 12px 4px;
}
.cselect-opt {
  display: flex; align-items: center; gap: .75rem; padding: 9px 12px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink); cursor: pointer; user-select: none;
}
.cselect-opt .o-text { flex: 1; min-width: 0; }
.cselect-opt .o-meta { font-size: .78rem; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.cselect-opt .o-check { width: 18px; font-size: 1.1rem; color: var(--teal); visibility: hidden; flex-shrink: 0; }
.cselect-opt.active { background: var(--teal-50); }
.cselect-opt[aria-selected="true"] { color: var(--teal-700); font-weight: 700; }
.cselect-opt[aria-selected="true"] .o-check { visibility: visible; }
.cselect-opt[aria-disabled="true"] { color: #B5C1C3; cursor: not-allowed; }
.cselect-empty { padding: 14px 12px; font-size: .88rem; color: var(--ink-3); text-align: center; }

/* inside the hero quick-booking bar */
.qb-field .cselect-btn {
  border: 0; background: transparent; padding: 0; box-shadow: none !important;
  font-weight: 600; font-size: .95rem; border-radius: 0;
}
.qb-field .cselect-caret { width: 22px; height: 22px; font-size: 1rem; }
.qb-field .cselect-caret i, .qb-field .cselect-panel i { font-size: inherit; color: inherit; }
.qb-field .cselect-search i { font-size: 1.05rem; color: var(--ink-3); }
.qb-field .cselect-panel { left: -50px; top: calc(100% + 18px); min-width: 340px; }
.qb-field .cselect-panel.up { top: auto; bottom: calc(100% + 18px); }
.qb-field .cselect.is-placeholder .cselect-value { color: var(--ink); }

/* Toast */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.m-toast {
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow-lg);
  animation: toastIn .25s ease both;
}
.m-toast i { font-size: 1.2rem; color: #8FD3B4; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 14. Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #A9BABD; padding: 72px 0 28px; margin-top: 96px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer a { color: #C9D6D8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; font-size: .93rem; }
.site-footer p { color: #A9BABD; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #7F9599; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .85rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18); font-size: 1.15rem; margin-right: 6px;
}
.social a:hover { background: #fff; color: var(--ink); }
.newsletter .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; border-radius: 999px; }
.newsletter .form-control::placeholder { color: #7F9599; }

/* 15. Motion & responsive ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1199.98px) {
  .float-card.fc-1 { left: 12px; }
  .float-card.fc-2 { right: 12px; }
}
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .main-nav { padding: 12px 0; }
  .main-nav .nav-link { padding: .7rem 1rem !important; }
  .hero-media { aspect-ratio: 4 / 3.4; margin-top: 32px; }
  .quick-book { margin-top: 24px; }
  .summary-sticky { position: static; }
  .collage .c-sub { right: 12px; }
  .stats-strip .col + .col { border-left: 0; }
  .cta-band { padding: 36px 28px; }
}
@media (max-width: 575.98px) {
  .section { padding: 56px 0; }
  .book-panel { padding: 22px; }
  .float-card.fc-1 { top: 14px; max-width: 200px; }
  .float-card.fc-2 { display: none; }
  .kv { grid-template-columns: 1fr; gap: .1rem; }
  .kv dd { margin-bottom: .6rem; }
  .price-table th, .price-table td { padding: 12px; }
  .toolbar { padding: 12px; }
  .search-wrap { width: 100%; }
}
