/* ============================================================
   Ceres Dental — Site styles
   A Selene Dental brand · Potts Point, Sydney
   Palette taken from the Ceres logo (wine + stone grey).
   ============================================================ */

:root {
  --wine: #7a0a16;          /* "CERES" wordmark */
  --wine-600: #8e3440;      /* tooth mark */
  --wine-700: #5e0711;
  --wine-050: #f8efed;
  --blush: #f3e4e1;
  --ivory: #fbf8f5;
  --paper: #ffffff;
  --ink: #241517;
  --ink-2: #4a3a3c;
  --muted: #736567;
  --stone: #9a9a9a;         /* "DENTAL" wordmark */
  --line: #eadfdc;
  --ok: #2f7d4f;
  --warn: #b0561b;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(36, 21, 23, .06), 0 2px 8px rgba(36, 21, 23, .05);
  --shadow: 0 10px 30px -12px rgba(94, 7, 17, .22), 0 2px 6px rgba(36, 21, 23, .05);
  --shadow-lg: 0 30px 60px -24px rgba(94, 7, 17, .35);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h1 em, h2 em { font-style: italic; color: var(--wine); font-weight: 400; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--wine-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wine); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--white { background: var(--paper); }
.section--blush { background: var(--wine-050); }
.section--wine { background: var(--wine); color: #f7e9e7; }
.section--wine h2, .section--wine h3 { color: #fff; }
.section--wine h2 em { color: #f3c9c4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--wine .eyebrow { color: #f3c9c4; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--wine); --fg: #fff; --bd: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 700 .95rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { --bg: var(--wine-700); --bd: var(--wine-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--wine); --bd: rgba(122, 10, 22, .35); }
.btn--ghost:hover { --bg: var(--wine); --fg: #fff; color: #fff; }
.btn--light { --bg: #fff; --fg: var(--wine); --bd: #fff; }
.btn--light:hover { --bg: var(--blush); --bd: var(--blush); color: var(--wine-700); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { --bg: #fff; --bd: #fff; color: var(--wine); }
.btn--sm { padding: .7em 1.2em; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #e9dcda; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #f3c9c4; }
.topbar-items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); display: inline-block; }
.status-dot.is-open { background: #4cc27a; box-shadow: 0 0 0 4px rgba(76, 194, 122, .2); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 245, .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(36, 21, 23, .4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.nav a:not(.btn):hover { background: var(--wine-050); color: var(--wine); }
.nav a[aria-current="page"] { color: var(--wine); background: var(--wine-050); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ivory); padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}
@media (max-width: 720px) {
  .topbar-hide-sm { display: none !important; }
  .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -18vw; top: -22vw; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 52, 64, .12), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--wine-600); }

.hero-visual { position: relative; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background:
    var(--photo, none) center / cover no-repeat,
    radial-gradient(120% 80% at 30% 20%, #a54552 0%, var(--wine) 45%, var(--wine-700) 100%);
}
.arch-mark {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.arch-mark img { width: 46%; opacity: .16; }
.arch.has-photo .arch-mark { display: none; }

.float-card {
  position: absolute; background: rgba(255, 255, 255, .96); border-radius: 18px; box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--ink);
  border: 1px solid rgba(234, 223, 220, .8);
}
.float-card strong { display: block; font-size: 1rem; }
.float-card small { color: var(--muted); font-size: .82rem; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--wine-050); color: var(--wine); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card--hours { left: -28px; bottom: 16%; }
.float-card--dr { right: -18px; top: 12%; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 16px auto 0; width: 100%; }
  .float-card--hours { left: -8px; }
  .float-card--dr { right: -8px; }
}
@media (max-width: 480px) {
  .float-card { padding: 12px 14px; font-size: .85rem; }
  .float-card .ic { width: 36px; height: 36px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  background: url("../img/favicon.png") center / contain no-repeat; opacity: .06; pointer-events: none;
}
.page-hero .lead { margin-top: .5rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs span { margin: 0 .5em; opacity: .5; }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; display: flex; gap: 14px; align-items: flex-start; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 28px; height: 28px; color: var(--wine-600); flex: none; margin-top: 2px; }
.trust-item strong { display: block; color: var(--ink); font-size: 1rem; }
.trust-item span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 20px 4px; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin-bottom: .4em; }
.card h3 > svg { width: 1.05em; height: 1.05em; vertical-align: -3px; margin-right: 4px; color: var(--wine); }
.card p { color: var(--muted); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(142, 52, 64, .25); }
a.card .link-arrow { margin-top: auto; padding-top: 12px; color: var(--wine); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--wine-050); color: var(--wine);
}
.icon-badge svg { width: 28px; height: 28px; }

.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; }
.tags li, .tag {
  font-size: .78rem; font-weight: 600; color: var(--wine-700); background: var(--wine-050);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow);
  background:
    var(--photo, none) center / cover no-repeat,
    linear-gradient(145deg, var(--blush), #ead2ce);
}
.photo-frame .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--wine-600); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
}
.photo-frame .placeholder img { width: 84px; opacity: .55; margin: 0 auto 10px; }
.photo-frame.has-photo .placeholder { display: none; }
.photo-frame--tall { aspect-ratio: 4 / 5; }

.checks { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--wine-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a0a16' 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 / 13px no-repeat;
}
.checks strong { color: var(--ink); }

/* ---------- Values ---------- */
.value { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.value-num { font-family: var(--font-display); font-size: .95rem; color: #f3c9c4; margin-bottom: 10px; font-style: italic; }
.value h3 { margin-bottom: .35em; }
.value p { color: #e7cfcc; font-size: .98rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 2.1rem; color: var(--wine); font-style: italic; line-height: 1;
}
.step::after { content: ""; position: absolute; top: 18px; left: 58px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 980px) { .step::after { display: none; } }

/* ---------- Doctor ---------- */
.doctor {
  display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px);
}
.doctor .photo-frame { aspect-ratio: 4 / 5; }
.doctor .role { color: var(--wine); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.doctor blockquote {
  margin: 1.4rem 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--wine-600);
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink); line-height: 1.45;
}
@media (max-width: 860px) { .doctor { grid-template-columns: 1fr; } .doctor .photo-frame { max-width: 360px; } }

/* ---------- Themes (patient feedback) ---------- */
.theme-card { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.theme-card .q { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--wine-600); display: block; margin-bottom: 14px; }
.theme-card h3 { font-size: 1.25rem; }
.theme-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Tiers ---------- */
.tier {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 24px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.tier:last-child { border-bottom: 1px solid var(--line); }
.tier-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--wine-050); color: var(--wine); display: grid; place-items: center; }
.tier-icon svg { width: 34px; height: 34px; }
.tier h3 { margin-bottom: .2em; }
.tier h3 small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-left: 10px; vertical-align: middle; }
.tier p { color: var(--muted); margin: 0; max-width: 62ch; }
.tier .tags { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 12px 0 0; }
.tier--current { background: linear-gradient(90deg, var(--wine-050), transparent 80%); border-radius: var(--radius); padding-inline: 20px; border-top-color: transparent; }
.tier--current + .tier { border-top-color: transparent; }
.badge-live { font-size: .78rem; font-weight: 700; color: #fff; background: var(--wine); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 720px) {
  .tier { grid-template-columns: 1fr; gap: 14px; }
  .tier h3 small { display: block; margin: 6px 0 0; }
}

/* ---------- Treatments page ---------- */
.treat-nav {
  position: sticky; top: var(--header-h); z-index: 50; background: rgba(251, 248, 245, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.treat-nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.treat-nav ul::-webkit-scrollbar { display: none; }
.treat-nav a {
  display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.treat-nav a:hover, .treat-nav a.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }

.treat-group { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.treat-group:last-of-type { border-bottom: 0; }
.treat-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); margin-bottom: 36px; align-items: end; }
.treat-head p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .treat-head { grid-template-columns: 1fr; } }
.treat-item h3 { font-size: 1.25rem; }
.treat-item .expect { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.treat-item .expect b { color: var(--wine); }

/* ---------- Hours / contact ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours-table th, .hours-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-table th { color: var(--ink); font-weight: 600; }
.hours-table td { text-align: right; color: var(--muted); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--wine); font-weight: 700; }
.hours-table tr.is-today th::after { content: "Today"; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--wine-050); color: var(--wine); padding: 3px 8px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--wine-050); color: var(--wine); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a, .contact-list span.val { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { color: var(--wine); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--blush); min-height: 360px; height: 100%; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Form ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine-600); background: #fff; box-shadow: 0 0 0 4px rgba(142, 52, 64, .12); }
.field .err { display: none; color: #a0192b; font-size: .82rem; margin-top: 5px; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2334a; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  margin: 0; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ivory);
  font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink-2); transition: all .2s ease;
}
.chips input:checked + label { background: var(--wine); border-color: var(--wine); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--wine-600); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-success {
  display: none; text-align: center; padding: 28px 12px;
}
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--wine-050); color: var(--wine); display: grid; place-items: center; margin: 0 auto 16px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }

/* Online booking on the contact page. Hidden until main.js has a booking key;
   then it replaces the request form, which stays one click away. */
.booking-widget, .booking-back { display: none; }
.form-card.has-widget:not(.show-request) > .booking-widget { display: block; }
.form-card.has-widget:not(.show-request) > form,
.form-card.has-widget:not(.show-request) > .form-success { display: none; }
.form-card.has-widget .booking-back { display: inline-block; margin-bottom: .75rem; }
.booking-widget [data-booking-widget] { margin: 1.25rem 0 .5rem; min-height: 120px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--wine); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--wine-700); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--wine-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a0a16' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 0% 0%, #a54552 0%, var(--wine) 45%, var(--wine-700) 100%);
  color: #f7e9e7; padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 300px; height: 300px;
  background: url("../img/tooth-mark-white.png") center / contain no-repeat; opacity: .1; pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 em { color: #f3c9c4; }
.cta-band p { margin: 0; color: #f0d9d6; max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .photo-frame { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }

.prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .callout { background: var(--wine-050); border-radius: var(--radius); padding: 22px 24px; margin: 1.8em 0; }
.prose .callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdbdbb; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.site-footer a { color: #e9dcda; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { font-family: var(--font-body); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9f8f8d; }
.selene-mark { display: inline-flex; align-items: center; gap: 8px; }
.selene-mark b { color: #e9dcda; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.social a:hover { background: var(--wine); border-color: var(--wine); }
.social svg { width: 18px; height: 18px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 245, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { width: 100%; padding: .9em 1em; }
  body { padding-bottom: 76px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s 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 { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
