/* ==========================================================================
   Carling Dental — shared stylesheet
   Mobile-first, logical properties, fluid type
   ========================================================================== */

:root {
  --gold-500: #b48a3c;
  --gold-600: #8f6a26;
  --gold-700: #75561c;
  --gold-100: #f4ecdc;
  --ink-900: #16202e;
  --ink-800: #1f2b3c;
  --ink-700: #33404f;
  --ink-500: #56606d;
  --cream: #faf7f1;
  --white: #ffffff;
  --line: #e6dfd1;
  --success: #1f6b3a;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-300: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --fs-400: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-500: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-600: clamp(1.375rem, 1.2rem + 0.8vw, 1.85rem);
  --fs-700: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-800: clamp(2.1rem, 1.5rem + 3vw, 4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-6: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(22, 32, 46, 0.08);
  --shadow: 0 10px 30px -12px rgba(22, 32, 46, 0.22);
  --shadow-lg: 0 24px 50px -20px rgba(22, 32, 46, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--white);
  overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; color: var(--ink-900); margin: 0 0 var(--space-2); font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }
p { margin: 0 0 var(--space-2); }
a { color: var(--gold-700); text-underline-offset: 3px; }
a:hover { color: var(--ink-900); }
ul, ol { padding-inline-start: 1.25rem; margin: 0 0 var(--space-2); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200;
  background: var(--ink-900); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: var(--space-6); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink-900); color: #e9e4da; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: var(--fs-300); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: var(--space-1);
}
.section--dark .eyebrow { color: #e1c186; }
.section-head { max-width: 46rem; margin-bottom: var(--space-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-500); color: var(--ink-700); }
.divider { width: min(220px, 60%); aspect-ratio: 1117 / 137; margin-block: var(--space-2) var(--space-3); }
.section-head--center .divider { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: var(--fs-300); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--gold-700); color: var(--white); }
.btn--primary:hover { background: var(--ink-900); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--ink-900); background: transparent; }
.btn--ghost:hover { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.btn--light { background: var(--white); color: var(--ink-900); }
.btn--light:hover { background: var(--gold-100); color: var(--ink-900); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.8); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--ink-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(230, 223, 209, 0.9);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.topbar { display: none; background: var(--ink-900); color: #e9e4da; font-size: 0.8125rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.4rem; }
.topbar a { color: #f1dcb0; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; padding-block: 0.4rem; }
.brand img { width: 56px; height: auto; aspect-ratio: 150 / 158; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed; top: var(--nav-top, var(--header-h)); inset-inline: 0; bottom: 0;
  background: var(--white); padding: var(--space-3) clamp(1rem, 4vw, 2rem) var(--space-5);
  overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.nav-list a {
  display: flex; align-items: center; min-height: 52px; padding-inline: 0.25rem;
  font-weight: 500; font-size: 1.0625rem; color: var(--ink-900); text-decoration: none;
  border-bottom: 1px solid var(--line); position: relative;
}
.nav-list a:hover { color: var(--gold-700); }
.nav-list a[aria-current="page"], .nav-list a.active { color: var(--gold-700); font-weight: 600; }
.nav-list a[aria-current="page"]::before {
  content: ""; position: absolute; inset-inline-start: -0.75rem; top: 50%; width: 4px; height: 24px;
  transform: translateY(-50%); border-radius: 4px; background: var(--gold-600);
}
.nav-cta { width: 100%; }
.nav-contact { margin-top: var(--space-3); font-size: var(--fs-300); color: var(--ink-500); }
.nav-contact a { display: inline-flex; min-height: 44px; align-items: center; }

@media (min-width: 768px) {
  .topbar { display: block; }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .brand img { width: 68px; }
  .site-header {
    background: rgba(255, 255, 255, 0.84);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
  }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none;
    overflow: visible; display: flex; align-items: center; gap: var(--space-3);
  }
  .nav-list { display: flex; gap: 0.25rem; margin: 0; }
  .nav-list a { border: 0; min-height: 48px; padding-inline: 0.9rem; font-size: 0.975rem; border-radius: 999px; }
  .nav-list a:hover { background: var(--gold-100); color: var(--ink-900); }
  .nav-list a[aria-current="page"]::before {
    inset-inline-start: 50%; top: auto; bottom: 4px; width: 20px; height: 3px; transform: translateX(-50%);
  }
  [dir="rtl"] .nav-list a[aria-current="page"]::before { transform: translateX(50%); }
  .nav-cta { width: auto; }
  .nav-contact { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink-900); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 24, 36, 0.92) 0%, rgba(16, 24, 36, 0.78) 45%, rgba(16, 24, 36, 0.35) 100%);
}
[dir="rtl"] .hero__media::after { transform: scaleX(-1); }
.hero__inner { padding-block: clamp(4rem, 3rem + 8vw, 9rem); max-width: 44rem; }
.hero h1 { color: var(--white); font-size: var(--fs-800); }
.hero h1 span { display: block; color: #e8c98c; font-style: italic; }
.hero p { font-size: var(--fs-500); color: #e9e4da; max-width: 36rem; }
.hero .eyebrow { color: #e8c98c; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.page-hero h1 { font-size: var(--fs-800); max-width: 22ch; }
.page-hero p { max-width: 42rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--space-2); display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-300); color: var(--ink-500); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; color: var(--gold-600); }
.breadcrumb a { color: var(--ink-700); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8c8a6; }
.card h3 { font-size: var(--fs-500); font-family: var(--font-sans); font-weight: 700; }
.card p:last-child { margin-bottom: 0; }

.stat { text-align: center; }
.stat__value { font-variant-numeric: lining-nums; display: block; font-family: var(--font-serif); font-size: var(--fs-700); font-weight: 700; color: var(--gold-700); line-height: 1.1; }
.stat__label { display: block; font-weight: 700; color: var(--ink-900); margin-block: 0.25rem 0.5rem; }
.stat p { font-size: var(--fs-300); color: var(--ink-500); }

.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-100); color: var(--gold-700); margin-bottom: var(--space-2);
}
.icon-badge svg { width: 26px; height: 26px; }

.treat-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.treat-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gold-100); }
.treat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.treat-card:hover .treat-card__media img { transform: scale(1.05); }
.treat-card__body { padding: var(--space-3); display: flex; flex-direction: column; flex: 1; }
.treat-card__body h3 { font-family: var(--font-serif); font-size: var(--fs-600); font-weight: 600; }
.treat-card__link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.treat-card__link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.treat-card__link:hover svg { transform: translateX(4px); }
[dir="rtl"] .treat-card__link svg, [dir="rtl"] .arrow-icon { transform: scaleX(-1); }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
}
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--gold-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-inline-start: 2rem; margin-bottom: 0.75rem; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375561c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Treatment detail ---------- */
.treatment { scroll-margin-top: calc(var(--header-h) + 1rem); }
.treatment + .treatment { border-top: 1px solid var(--line); }
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-900); text-decoration: none; font-size: var(--fs-300); font-weight: 600;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.subnav a:hover { background: var(--gold-100); border-color: #d8c8a6; }

.params { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: var(--space-2) 0; padding: 0; }
.params div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem; min-width: 0; }
.params dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); font-weight: 600; }
.params dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink-900); font-size: var(--fs-300); }
@media (min-width: 1024px) { .params--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sub-treat { display: flex; flex-direction: column; }
.sub-treat h4 { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-500); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 3rem; min-height: 2.25rem; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink-900); color: var(--white); font-weight: 700; font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.faq details[open] { border-color: #d8c8a6; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.1rem; font-weight: 600; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; border-inline-end: 2px solid var(--gold-700); border-bottom: 2px solid var(--gold-700);
  transform: rotate(45deg); transition: transform 0.25s var(--ease); margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 1.1rem 1rem; margin: 0; color: var(--ink-700); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto var(--space-2); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-100), #e7d6b2); color: var(--gold-700);
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
}
.team-card .role { color: var(--gold-700); font-weight: 600; font-size: var(--fs-300); margin-bottom: 0.75rem; }

/* ---------- Journey ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding-inline-start: 4rem; min-width: 0; overflow-wrap: anywhere; }
.journey li::before {
  content: counter(j, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0;
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--gold-600); line-height: 1;
}
.journey h3 { font-family: var(--font-sans); font-size: var(--fs-500); font-weight: 700; margin-bottom: 0.4rem; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); } }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: var(--space-4); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: #e3b341; }
.stars svg { width: 20px; height: 20px; }
.review { display: flex; flex-direction: column; gap: 0.75rem; }
.review blockquote { margin: 0; color: var(--ink-700); font-size: var(--fs-400); }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--ink-900); }
.review figcaption span { display: block; font-weight: 500; font-size: var(--fs-300); color: var(--ink-500); }

/* ---------- Blog ---------- */
.post { display: flex; flex-direction: column; }
.post time { font-size: var(--fs-300); color: var(--ink-500); font-weight: 600; }
.post h3 { font-family: var(--font-serif); font-size: var(--fs-600); font-weight: 600; margin-top: 0.5rem; }
.post .tag { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-700); background: var(--gold-100); border-radius: 999px; padding: 0.25rem 0.75rem; }
.article { max-width: 48rem; }
.article + .article { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.article h2 { font-size: var(--fs-700); }
.article .meta { color: var(--ink-500); font-size: var(--fs-300); margin-bottom: var(--space-3); }
.compare { display: grid; gap: var(--space-2); grid-template-columns: minmax(0, 1fr); margin-block: var(--space-3); }
@media (min-width: 768px) { .compare { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.verdict { background: var(--gold-100); border-inline-start: 4px solid var(--gold-600); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink-900), var(--ink-800)); color: #e9e4da; border-radius: var(--radius-lg); padding: var(--space-5) clamp(1.25rem, 4vw, 3rem); display: grid; gap: var(--space-3); align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { margin: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) auto; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: var(--space-2); }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list li > div { min-width: 0; }
.contact-list .icon-badge { margin: 0; flex-shrink: 0; width: 46px; height: 46px; }
.contact-list strong { display: block; color: var(--ink-900); }
.contact-list a { word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: end; }

.form { display: grid; gap: var(--space-2); }
.form-row { display: grid; gap: var(--space-2); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-300); color: var(--ink-900); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem; border: 1.5px solid #cfc6b5; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-700); box-shadow: 0 0 0 3px rgba(180, 138, 60, 0.25); }
.field [aria-invalid="true"] { border-color: #a4281c; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-300); }
.consent input { width: 22px; height: 22px; flex-shrink: 0; margin: 0.15rem 0 0; accent-color: var(--gold-700); }
.form-status { padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e6f3ea; color: var(--success); border: 1px solid #b7dcc3; }
.form-status.is-error { background: #fbeae8; color: #8e2217; border: 1px solid #efc2bc; }
.map-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--cream); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Booking dialog ---------- */
.booking-dialog {
  width: min(560px, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 0; border-radius: var(--radius-lg);
  padding: 0; box-shadow: var(--shadow-lg); color: var(--ink-800); background: var(--white);
}
.booking-dialog::backdrop { background: rgba(16, 24, 36, 0.55); }
.booking-dialog__inner { padding: var(--space-4) clamp(1.25rem, 4vw, 2rem); position: relative; }
.booking-dialog h2 { font-size: var(--fs-600); padding-inline-end: 3rem; }
.dialog-close {
  position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center;
}
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { background: var(--gold-100); }
.booking-dialog .btn-row .btn { flex: 1 1 200px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #cfd3da; padding-top: var(--space-6); font-size: var(--fs-300); }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e8c98c; margin-bottom: var(--space-2); font-weight: 700; }
.site-footer a { color: #eef0f3; text-decoration: none; }
.site-footer a:hover { color: #e8c98c; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-5); }
.footer-grid > * { min-width: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 84px; aspect-ratio: 150 / 158; background: var(--white); border-radius: 14px; padding: 6px; margin-bottom: var(--space-2); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.15rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-links a[aria-current="page"] { color: #e8c98c; font-weight: 600; }
.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.social { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.social a:hover { background: var(--gold-700); border-color: var(--gold-700); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: var(--space-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; color: #aab1bb; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; inset-inline-end: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold-700); color: var(--white); box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.2s var(--ease);
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--ink-900); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Footer extras ---------- */
.site-footer .footer-sub { margin-top: var(--space-3); }
.footer-address { font-style: normal; line-height: 2; }
.center-cta { text-align: center; margin-top: var(--space-4); }
.sub-grid { margin-top: var(--space-5); align-items: start; }
.post h3 a { color: inherit; text-decoration: none; } .post h3 a:hover { color: var(--gold-700); text-decoration: underline; }
.article .post { display: block; margin-bottom: var(--space-1); }
