/* ============================================================================
   VIENNA PALAIS RESIDENCE  —  shared stylesheet
   Operated by Mepro GmbH · Ringstrasse, Vienna
   ----------------------------------------------------------------------------
   DESIGN SYSTEM — swap these values for your own. Everything below the
   :root block is built only from these variables.
   ========================================================================== */

:root {
  /* ---- Colour : soft blue · gold · cream --------------------------------- */
  --cream:        #F4F0E7;   /* page canvas — warm ivory, never pure white   */
  --cream-2:      #ECE6D9;   /* alternate band                                */
  --paper:        #FFFFFF;   /* cards lift off the cream                      */

  --blue-900:     #1E2D3A;   /* deep slate-blue — dark sections, footer       */
  --blue-800:     #27384733; /* (used inline only)                            */
  --blue-700:     #345067;   /* primary blue — buttons, links                 */
  --blue-600:     #3F6181;   /* primary hover (lighter on dark / darker rule) */
  --blue-400:     #7E9DB4;   /* mid blue                                      */
  --blue-300:     #A8C1D2;   /* soft blue                                     */
  --blue-100:     #E3ECF1;   /* soft blue tint background                     */

  --gold:         #B5934E;   /* accent — eyebrows, rules, highlights          */
  --gold-soft:    #CDB079;   /* lighter gold on dark grounds                  */

  --ink:          #1B2730;   /* near-black, warm-cool neutral — body text     */
  --ink-700:      #36454F;
  --muted:        #5E6B75;   /* supporting text                               */
  --muted-light:  #9AA6AE;   /* muted text on dark grounds                    */
  --line:         #E2DBCD;   /* faint warm hairline borders                   */
  --line-dark:    #3A4A57;   /* hairlines on dark grounds                     */

  /* ---- Type -------------------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow:   0.72rem;
  --fs-body:      1.0625rem;   /* 17px */
  --fs-lead:      1.25rem;
  --tracking:     0.26em;      /* eyebrow / mono label letter-spacing          */

  /* ---- Spacing ----------------------------------------------------------- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --gutter:    clamp(1.25rem, 5vw, 2.5rem);
  --container: 1280px;
  --container-narrow: 920px;

  /* ---- Radius ------------------------------------------------------------ */
  --radius:      4px;
  --radius-lg:   8px;
  --radius-pill: 999px;

  /* ---- Elevation & motion ----------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(30,45,58,.05), 0 6px 18px rgba(30,45,58,.06);
  --shadow-lg: 0 12px 40px rgba(30,45,58,.14);
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .35s;
}

/* ============================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }

/* ============================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--cream2 { background: var(--cream-2); }
.section--blue { background: var(--blue-900); color: var(--cream); }
.section--blue .muted { color: var(--muted-light); }

/* ---- Typographic helpers ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}
.display { font-family: var(--font-display); letter-spacing: -0.015em; }
.display-1 { font-family: var(--font-display); font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.02; font-weight: 500; }
.display-2 { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.06; font-weight: 500; }
.display-3 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 500; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-700); }
.muted { color: var(--muted); }
.italic { font-style: italic; }
.center { text-align: center; }
.measure { max-width: 56ch; }
.measure-narrow { max-width: 42ch; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; }
.section-head .display-2 { margin-top: .6rem; }
.section-head p { margin-top: 1.1rem; }

/* gold hairline accent */
.rule-gold { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.rule-gold.center { margin-inline: auto; }

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-700); color: var(--cream); }
.btn--primary:hover { background: var(--blue-900); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9d7d3d; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(244,240,231,.5); }
.btn--ghost-light:hover { background: var(--cream); color: var(--blue-900); border-color: var(--cream); }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-700); padding-bottom: .3rem; border-bottom: 1px solid var(--gold);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.textlink:hover { gap: .85rem; color: var(--blue-900); }
.section--blue .textlink { color: var(--gold-soft); }

/* ============================================================================
   HEADER  /  NAV   (CSS-only mobile menu, no JavaScript)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,240,231,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
       min-height: clamp(74px, 9vw, 108px); }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; letter-spacing: .02em; }
.brand__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.9vw, 2.7rem); font-weight: 600; color: var(--ink); white-space: nowrap; line-height: 1; }
.brand__name .cap { color: var(--gold); font-size: 1.18em; font-weight: 500; }
.brand__sub { font-family: var(--font-body); font-size: clamp(.58rem, .85vw, .72rem); font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold); margin-top: .55rem; padding-top: .5rem; border-top: 1px solid var(--line); align-self: stretch; text-align: center; }

.nav__toggle, .nav__toggle-label { display: none; }

.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__menu .btn { display: none; }   /* in-menu CTA shows on mobile only */
.nav__link {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-700);
  position: relative; padding: .35rem 0;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--blue-900); }
.nav__link[aria-current="page"] { color: var(--blue-900); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.nav__actions { display: flex; align-items: center; gap: var(--space-2); }
.nav__actions .btn { padding: .66rem 1.2rem; font-size: .66rem; letter-spacing: .14em; }

/* hamburger */
.nav__burger { display: none; }

@media (max-width: 1100px) {
  .nav__actions .btn { display: none; }
  .nav__burger {
    display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 10px; margin-right: -10px;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: var(--dur) var(--ease); }
  .nav__menu {
    position: fixed; inset: clamp(74px, 9vw, 108px) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--gutter) var(--space-4);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .nav__menu .nav__link { width: 100%; padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { display: inline-flex; margin-top: var(--space-2); }
  .nav__toggle:checked ~ .nav__menu { max-height: 100vh; opacity: 1; pointer-events: auto; }
  .nav__toggle:checked ~ .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle:checked ~ .nav__burger span:nth-child(2) { opacity: 0; }
  .nav__toggle:checked ~ .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: clamp(560px, 86vh, 880px); display: flex; align-items: flex-end;
        color: var(--cream); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,40,.30) 0%, rgba(20,30,40,.18) 38%, rgba(20,30,40,.72) 100%); }
.hero__inner { position: relative; padding-block: clamp(2.5rem, 7vw, 5.5rem); width: 100%; }
.hero__inner .eyebrow { color: var(--gold-soft); }
.hero h1 { margin: 1rem 0 1.4rem; max-width: 16ch; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: rgba(244,240,231,.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* compact page hero (interior pages) */
.pagehero { position: relative; color: var(--cream); overflow: hidden; min-height: clamp(360px, 50vh, 520px); display: flex; align-items: flex-end; }
.pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,40,.34), rgba(20,30,40,.66)); }
.pagehero__inner { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem); }
.pagehero h1 { margin-top: .8rem; max-width: 18ch; }
.crumbs { font-size: .76rem; letter-spacing: .04em; color: rgba(244,240,231,.7); margin-top: 1rem; }
.crumbs a:hover { color: var(--cream); }
.crumbs--onlight { color: var(--muted); }
.crumbs--onlight a:hover { color: var(--ink); }

/* ============================================================================
   GRID / CARDS
   ========================================================================== */
.grid { display: grid; gap: var(--space-3); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
        overflow: hidden; display: flex; flex-direction: column;
        transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 20 / 17; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(244,240,231,.92);
  color: var(--ink); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: var(--radius-pill); }
.card__body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__meta { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.card__desc { color: var(--muted); font-size: .98rem; }
.card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-size: 1.4rem; }
.price small { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: .35rem; }

/* ---- alternating feature rows ---- */
.feature { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: 1fr; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { margin: .7rem 0 1rem; }

/* ---- stat row ---- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-2); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); color: var(--gold); line-height: 1; }
.stat__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
.section--blue .stat__label { color: var(--muted-light); }

/* ---- amenity / service list ---- */
.svc { display: grid; gap: 0; }
.svc__item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.svc__item:last-child { border-bottom: 1px solid var(--line); }
.svc__no { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.svc__item h3 { font-size: 1.5rem; margin-bottom: .5rem; }

/* ---- quote ---- */
.quote { text-align: center; max-width: 760px; margin-inline: auto; }
.quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.28; }
.quote cite { display: block; font-style: normal; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-top: 1.6rem; }

/* ============================================================================
   GALLERY (photos page) — pure CSS columns
   ========================================================================== */
.gallery { columns: 1; column-gap: var(--space-2); }
.gallery figure { break-inside: avoid; margin-bottom: var(--space-2); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem .9rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(20,30,40,.7)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gallery figcaption strong { display: block; font-weight: 700; }
.gallery figcaption span { display: block; font-weight: 400; }
.gallery figure:hover figcaption { opacity: 1; }
.gallery figure a { display: block; cursor: zoom-in; }

/* ============================================================================
   LIGHTBOX (pure CSS, no JavaScript) — target the figure's #lbN anchor
   ========================================================================== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 4rem);
}
.lightbox:target { display: flex; }
.lightbox__scrim {
  position: absolute; inset: 0; background: rgba(20,20,24,.92); cursor: zoom-out;
}
.lightbox__frame {
  position: relative; z-index: 1; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__frame img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__frame figcaption {
  margin-top: 1.1rem; text-align: center; color: var(--cream);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.lightbox__frame figcaption strong { display: block; color: var(--gold-soft); font-weight: 600; margin-bottom: .3rem; }
.lightbox__frame figcaption span { color: rgba(244,240,231,.75); letter-spacing: .04em; }
.lightbox__close {
  position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); z-index: 2;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: rgba(244,240,231,.12); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.lightbox__close:hover { background: rgba(244,240,231,.22); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: rgba(244,240,231,.12); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; line-height: 1; text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.lightbox__nav:hover { background: rgba(244,240,231,.22); }
.lightbox__nav--prev { left: clamp(.5rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(.5rem, 3vw, 2rem); }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
}

/* ============================================================================
   CALENDAR
   ========================================================================== */
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem,4vw,2.5rem); box-shadow: var(--shadow-sm); }
.cal__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; margin-bottom: 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.cal__titles { text-align: center; display: flex; flex-direction: column; gap: .3rem; }
.cal__apt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.05; color: var(--ink); }
.cal__month { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cal__nav { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink-700); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.cal__nav:hover { background: var(--blue-900); color: var(--cream); border-color: var(--blue-900); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__nav:disabled:hover { background: var(--paper); color: var(--ink-700); border-color: var(--line); }
.cal__nav svg { width: 17px; height: 17px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: .6rem; }
.cal__day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-size: .9rem; border: 1px solid transparent; }
.cal__day--out { color: var(--line); }
.cal__day--free { background: var(--blue-100); color: var(--blue-700); font-weight: 600; }
.cal__day--booked { background: repeating-linear-gradient(135deg, var(--cream-2), var(--cream-2) 5px, #e1d8c6 5px, #e1d8c6 10px); color: var(--muted); }
.cal__day--checkin { background: var(--gold); color: #fff; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; font-size: .82rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { width: 16px; height: 16px; border-radius: 3px; display: inline-block; }

/* ============================================================================
   FORMS
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-700); }
.field input, .field select, .field textarea {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .95rem 1rem; font-size: 1rem; color: var(--ink); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }

/* contact detail rows */
.detail { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail__k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); align-self: center; }
.detail__v { font-family: var(--font-display); font-size: 1.4rem; }
.detail__v a:hover { color: var(--blue-700); }

/* ============================================================================
   SURROUNDINGS / DISTANCES
   ========================================================================== */
.dist { display: grid; gap: var(--space-4) var(--space-5); grid-template-columns: 1fr; }
.dist__group h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: .4rem; }
.dist__group .eyebrow { margin-bottom: 1.1rem; }
.dist__list { display: grid; }
.dist__row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .5rem;
  padding: .85rem 0; border-top: 1px solid var(--line); }
.dist__row:last-child { border-bottom: 1px solid var(--line); }
.dist__place { font-size: 1.02rem; color: var(--ink-700); position: relative; }
.dist__lead { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); margin: 0 .2rem; }
.dist__km { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .dist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .dist { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { background: var(--cream-2); text-align: center; }
.newsletter__form { display: flex; gap: 0; max-width: 620px; margin: var(--space-4) auto 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; }
.newsletter__form input { flex: 1; border: 0; background: transparent; padding: .9rem 1.1rem; font-size: 1rem; }
.newsletter__form input:focus { outline: none; }
.newsletter__form .btn { white-space: nowrap; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--blue-900); color: var(--cream); padding-top: var(--section-y); }
.footer__top { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding-bottom: var(--space-5); align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.footer__brand .brand__name { color: var(--cream); }
.brand--footer .brand__sub { border-top-color: var(--line-dark); }
.footer__loc .k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.footer__loc .v { font-family: var(--font-display); font-size: 1.4rem; margin-top: .4rem; }
.footer__sub { color: var(--gold-soft); border-top: none; padding-top: 0; margin-top: .5rem; align-self: auto; text-align: left; }
.footer__details { display: grid; gap: var(--space-3); align-content: start; }
.footer__details .k { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.footer__details .v { font-family: var(--font-display); font-size: 1.4rem; margin-top: .4rem; }
.footer__details .v a:hover { color: var(--gold-soft); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
.footer__col .no { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--gold-soft); }
.footer__col a.big { display: inline-block; font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.1rem); margin-top: .5rem; transition: color var(--dur) var(--ease); }
.footer__col a.big:hover { color: var(--gold-soft); }
.footer__brand .social { margin-top: var(--space-1); }
.social { display: flex; gap: .7rem; margin-top: var(--space-3); }
.social a { width: 42px; height: 42px; border-radius: var(--radius-pill); border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center; transition: var(--dur) var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.social svg { width: 17px; height: 17px; }
.footer__bar { border-top: 1px solid var(--line-dark); padding-block: var(--space-3);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--muted-light); }
.footer__bar a:hover { color: var(--cream); }
.footer__legal { display: flex; gap: 1.4rem; }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--blue-900); color: var(--cream); padding: .8rem 1.2rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

/* ============================================================================
   RESPONSIVE — tablet & desktop
   ========================================================================== */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (min-width: 768px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .feature--rev .feature__media { order: 2; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.5fr 1fr; }
  .footer__details { justify-items: end; text-align: right; }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .gallery { columns: 3; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}
