/* ============================================================
   HOTEL NIA — design tokens
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm coastal cream, echoing the stucco facade */
  --color-bg: #f8f3ec;
  --color-surface: #fffcf8;
  --color-surface-2: #fbf6ef;
  --color-surface-offset: #f0e6d8;
  --color-surface-offset-2: #e9dcc7;
  --color-surface-dynamic: #e2d3ba;
  --color-divider: #e3d5c0;
  --color-border: #d7c4a4;

  /* Text */
  --color-text: #2b1f24;
  --color-text-muted: #6d5c60;
  --color-text-faint: #a6949790;
  --color-text-faint: #a89599;
  --color-text-inverse: #f8f3ec;

  /* Primary Accent — deep aubergine / wine, from the villa facade */
  --color-primary: #5c2740;
  --color-primary-hover: #451d30;
  --color-primary-active: #331523;
  --color-primary-highlight: #e6d3dc;

  /* Gold — Georgian wrought-iron & premium accent */
  --color-gold: #ab7f2e;
  --color-gold-hover: #8c6722;
  --color-gold-active: #6f501a;
  --color-gold-highlight: #ecdfc0;

  /* Sea (secondary accent, used sparingly) */
  --color-sea: #2c5f63;
  --color-sea-hover: #234b4e;
  --color-sea-highlight: #d4e2e1;

  /* Success (ratings / confirmations) */
  --color-success: #4c6b3a;
  --color-success-highlight: #dbe3cf;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.6rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — warm tinted */
  --shadow-sm: 0 1px 2px oklch(0.25 0.03 350 / 0.08);
  --shadow-md: 0 6px 18px oklch(0.25 0.03 350 / 0.12);
  --shadow-lg: 0 18px 46px oklch(0.25 0.03 350 / 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1280px;
  --content-full: 100%;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Switzer', 'Work Sans', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #201319;
  --color-surface: #271820;
  --color-surface-2: #2c1c24;
  --color-surface-offset: #33222b;
  --color-surface-offset-2: #3b2731;
  --color-surface-dynamic: #47303c;
  --color-divider: #3a2732;
  --color-border: #4d3541;
  --color-text: #f1e6ea;
  --color-text-muted: #c6aeb8;
  --color-text-faint: #8d7480;
  --color-text-inverse: #2b1f24;

  --color-primary: #d68aab;
  --color-primary-hover: #e2a3bf;
  --color-primary-active: #eab8cf;
  --color-primary-highlight: #4a2f3b;

  --color-gold: #d9ac52;
  --color-gold-hover: #e6c07a;
  --color-gold-active: #f0d296;
  --color-gold-highlight: #4a3d24;

  --color-sea: #7fb0af;
  --color-sea-hover: #9cc4c3;
  --color-sea-highlight: #29393b;

  --color-success: #9bb682;
  --color-success-highlight: #33402a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 18px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 18px 46px oklch(0 0 0 / 0.5);
}

/* Fluid type scale */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  max-width: 62ch;
}
.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 600;
}

h2 {
  font-size: var(--text-xl);
  letter-spacing: 0.01em;
}
h3 {
  font-size: var(--text-lg);
}

p {
  max-width: 68ch;
  color: var(--color-text-muted);
}

.lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: oklch(from var(--color-text) l c h / 0.22);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--on-dark {
  border-color: oklch(1 0 0 / 0.4);
  color: #fff;
}
.btn--on-dark:hover {
  background: oklch(1 0 0 / 0.12);
  border-color: #fff;
}
.btn--gold {
  background: var(--color-gold);
  color: #241a08;
}
.btn--gold:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}
.btn--sm {
  padding: var(--space-3) var(--space-5);
  min-height: 40px;
}
.btn--block {
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s;
}
.site-header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.nav-primary {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: nowrap;
}
.nav-primary a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.nav-primary a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.phone-chip {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.phone-chip svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}

/* Hide the header CTA button on narrow phones to prevent overflow —
   booking is still reachable via the sticky mobile call/WhatsApp bar
   and the drawer menu's "Забронировать" nav access. */
@media (max-width: 639px) {
  .header-actions .btn--primary {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
  }
  .phone-chip {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-10);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-8);
}
.mobile-nav-contacts a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.15 0.03 340 / 0.35) 0%,
    oklch(0.15 0.03 340 / 0.35) 35%,
    oklch(0.12 0.03 340 / 0.86) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(var(--space-16), 12vw, var(--space-24)) var(--space-16);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f3e6cf;
  margin-bottom: var(--space-5);
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: #fff;
  font-weight: 600;
  line-height: 1;
  max-width: 16ch;
}
.hero-sub {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: #ecdfe3;
  max-width: 48ch;
  font-family: var(--font-body);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.22);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #f0d99a; /* fixed light gold — hero always has a dark photo scrim, regardless of theme */
  font-weight: 600;
}
.hero-meta-item .label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #d9c9ce;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 1;
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: #f2e8ea;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 46px;
  background: oklch(1 0 0 / 0.5);
  display: block;
}
@media (min-width: 900px) {
  .scroll-cue {
    display: flex;
  }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-block: var(--space-3);
}
.strip-track {
  display: flex;
  gap: var(--space-10);
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.strip span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.strip span::after {
  content: '✦';
  color: var(--color-gold-highlight, #e9c877);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  grid-template-columns: 1fr;
}
.about-media {
  position: relative;
}
.about-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-media-tag {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.about-media-tag .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  display: block;
}
.about-media-tag .label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.about-copy p + p {
  margin-top: var(--space-4);
}
.about-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.about-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.about-badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-badge .t {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  display: block;
}
.about-badge .d {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.85fr 1fr;
  }
}

/* ============================================================
   ADVANTAGES GRID
   ============================================================ */
.advantages {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .adv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.adv-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.adv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.adv-icon svg {
  width: 24px;
  height: 24px;
}
.adv-card h3 {
  margin-bottom: var(--space-2);
}
.adv-card p {
  font-size: var(--text-sm);
}

/* ============================================================
   ROOMS
   ============================================================ */
.room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 860px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.room-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.room-card:hover {
  box-shadow: var(--shadow-lg);
}
.room-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.room-card:hover .room-media img {
  transform: scale(1.05);
}
.room-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: oklch(from var(--color-bg) l c h / 0.92);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}
.room-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.room-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}
.room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.room-specs span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.room-specs svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.pill {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.room-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.room-price .num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
}
.room-price .label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 700px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.amenity-group h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
}
.amenity-group .icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-gold-highlight);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.amenity-group .icon-wrap svg {
  width: 17px;
  height: 17px;
}
.amenity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.amenity-list li svg {
  width: 15px;
  height: 15px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
}
.gallery-item.tall {
  aspect-ratio: 1/1.35;
  grid-row: span 1;
}
@media (min-width: 640px) {
  .gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
  }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0.1 0.02 340 / 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-cap {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-cap {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.08 0.02 340 / 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 84vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close svg {
  width: 20px;
  height: 20px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav svg {
  width: 20px;
  height: 20px;
}
.lightbox-nav--prev {
  left: var(--space-5);
}
.lightbox-nav--next {
  right: var(--space-5);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 960px) {
  .location-wrap {
    grid-template-columns: 1fr 1.05fr;
  }
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.location-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.location-row:last-child {
  border-bottom: none;
}
.location-row svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.location-row .t {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  display: block;
}
.location-row a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.location-row a:hover {
  color: var(--color-primary);
}
.distance-table {
  width: 100%;
}
.distance-table tr {
  border-bottom: 1px solid var(--color-divider);
}
.distance-table tr:last-child {
  border-bottom: none;
}
.distance-table td {
  padding-block: var(--space-2);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}
.distance-table td:first-child {
  color: var(--color-text-muted);
}
.distance-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-text);
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 420px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, oklch(1 0 0 / 0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, oklch(1 0 0 / 0.06), transparent 50%);
}
.testimonial-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .testimonial-inner {
    grid-template-columns: 1fr 0.8fr;
  }
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  max-width: 34ch;
}
.testimonial cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: #e6d6dc;
}
.score-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.score-card {
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.score-card .num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-gold-highlight, #f0d99a);
  display: block;
}
.score-card .label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #e6d6dc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CONTACT / BOOKING
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  align-items: center;
}
.contact-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-card .icon-wrap svg {
  width: 26px;
  height: 26px;
}
.contact-card .phone-num {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1, "onum" 0;
}
.contact-card a.phone-link {
  text-decoration: none;
}
.contact-card .note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-surface-offset-2);
  border-top: 1px solid var(--color-divider);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.footer-brand svg {
  width: 36px;
  height: 36px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.footer-col a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* Sticky mobile call bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar a.primary {
  background: var(--color-primary);
  color: #fff;
}
.mobile-bar svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
}
body {
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section divider ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.ornament svg {
  width: 20px;
  height: 20px;
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--color-gold);
  opacity: 0.5;
}

/* ============================================================
   NUMERAL FIX — force lining/tabular figures for all stat numbers
   Cormorant Garamond can render oldstyle figures where 1/0 look
   like I/O at display sizes; force lining numerals for clarity.
   ============================================================ */
.num {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1, "onum" 0;
  letter-spacing: 0;
}
