/* ============================================================
   RP Boutique Housing — Guest Guide
   Mediterranean boutique editorial system
   ============================================================ */

:root {
  /* Palette — Mediterranean Portugal: limewash walls, terracotta tile, olive, honey */
  --ink: #1d1815;          /* deep umber black */
  --ink-soft: #574c42;     /* warm grey-brown */
  --ink-mute: #8c7e6f;     /* dusty olive-grey */
  --paper: #f5ecd9;        /* warm honeyed limewash */
  --paper-deep: #ecddc1;   /* deeper honey */
  --sand: #ddc69a;         /* sun-bleached ochre */
  --line: rgba(29, 24, 21, 0.16);
  --line-soft: rgba(29, 24, 21, 0.08);

  /* Accents — pulled from Algarve/Minho landscape */
  --terracotta: #b54a2c;          /* roof-tile red */
  --terracotta-deep: #8a3520;     /* fired clay */
  --terracotta-soft: #d68b6a;     /* sun-faded tile */
  --olive: #6f7a47;               /* olive tree green */
  --olive-soft: #9da97a;          /* sage */
  --atlantic: #234b56;            /* deep Atlantic */
  --atlantic-deep: #14323a;
  --gold: #c89858;                /* honey gold */
  --gold-soft: #e6c98f;           /* pale gold */
  --cream-glow: #fbf4e2;          /* warmest highlight */

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --sect: clamp(72px, 9vw, 128px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background:
    /* subtle limewash grain */
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 152, 88, 0.07), transparent 70%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Limewash texture overlay — fine grain, barely there */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.5  0 0 0 0 0.38  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Containers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1480px; }

/* Type ---------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.96; letter-spacing: -0.025em; font-weight: 300; }
h2 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.04; font-weight: 300; }
h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18; }
h4 { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.35; font-weight: 500; font-family: var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--center::before, .eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.body-md { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.cap { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }

/* TOPBAR -------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 236, 217, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.topbar__logo img { height: 52px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 28px; }

.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 4px;
  color: var(--ink);
}
.lang__btn::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.lang[data-open="true"] .lang__btn::after { transform: translateY(1px) rotate(-135deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px;
  display: none;
  box-shadow: 0 12px 32px -16px rgba(31, 27, 23, 0.2);
}
.lang[data-open="true"] .lang__menu { display: block; }
.lang__item {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--ink-soft);
}
.lang__item:hover, .lang__item[aria-current="true"] { color: var(--terracotta); background: var(--paper-deep); }

.concierge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.concierge:hover { background: var(--ink); color: var(--paper); }
.concierge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

/* HERO ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(29, 24, 21, 0.32) 55%, rgba(29, 24, 21, 0.85) 100%),
    linear-gradient(115deg, rgba(181, 74, 44, 0.18) 0%, transparent 45%),
    linear-gradient(220deg, rgba(35, 75, 86, 0.22) 0%, transparent 60%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-soft);
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero__title { color: var(--paper); max-width: 14ch; }
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  color: rgba(245, 236, 217, 0.78);
  max-width: 36ch;
}
.hero__badge {
  align-self: end;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  background: rgba(245, 236, 217, 0.08);
  border: 1px solid rgba(245, 236, 217, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero__badge span:first-child { color: var(--gold-soft); font-size: 10px; letter-spacing: 0.24em; }

/* ESSENTIALS BAR ----------------------------------------- */
.essentials {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.essentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.essential {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(245, 236, 217, 0.12);
  min-height: 132px;
}
.essential:last-child { border-right: 0; }
.essential__label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.essential__value {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--paper);
}
.essential__hint {
  font-size: 12px;
  color: rgba(245, 236, 217, 0.6);
  margin-top: auto;
}
.essential code {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(245, 236, 217, 0.08);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.essential .copy {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 4px 0;
  border-bottom: 1px solid rgba(226, 205, 153, 0.4);
  transition: color .2s, border-color .2s;
}
.essential .copy:hover { color: var(--paper); border-color: var(--paper); }
.essential .copy.copied { color: var(--gold); }

/* Weather mini ------------------------------------------- */
.wx { display: flex; align-items: center; gap: 14px; }
.wx__temp {
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 300;
  line-height: 1;
  color: var(--paper);
}
.wx__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--gold-soft);
}
.wx__desc {
  font-size: 12px;
  color: rgba(245, 236, 217, 0.68);
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

/* Ensure content sits above the limewash texture overlay */
.topbar, .hero, .essentials, .sect, .foot, .lightbox, .fab { position: relative; z-index: 2; }
.topbar { z-index: 50; }
.lightbox { z-index: 100; }
.fab { z-index: 40; }

/* SECTIONS ----------------------------------------------- */
.sect { padding-block: var(--sect); position: relative; }
.sect--tight { padding-block: clamp(56px, 7vw, 96px); }
.sect--deep {
  background: var(--paper-deep);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(181, 74, 44, 0.06), transparent 60%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(111, 122, 71, 0.06), transparent 60%);
}
.sect--ink {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(181, 74, 44, 0.16), transparent 50%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(35, 75, 86, 0.28), transparent 60%);
  color: var(--paper);
}
.sect--ink h2, .sect--ink h3, .sect--ink h4 { color: var(--paper); }
.sect--ink .eyebrow { color: var(--gold-soft); }
.sect--ink .body-md { color: rgba(245, 236, 217, 0.72); }

/* Ornamental tile band — sits between sections */
.tile-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  height: 1px;
  background: var(--line);
  position: relative;
}
.tile-band::before {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  background: var(--terracotta);
  transform: rotate(45deg);
  border: 1px solid var(--paper);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.sect__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 72px);
}
.sect__head--center { grid-template-columns: 1fr; text-align: center; place-items: center; gap: 16px; }
.sect__head--solo { grid-template-columns: 1fr; gap: 12px; margin-bottom: clamp(40px, 4vw, 56px); }
.sect__head h2 { max-width: 18ch; }
.sect__head .lede { max-width: 52ch; }

/* WELCOME ------------------------------------------------ */
.welcome {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.welcome .ornament {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--terracotta);
  align-self: center;
  justify-self: center;
}
.welcome .ornament::before, .welcome .ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.welcome .ornament span { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

/* TWO-COL EDITORIAL ------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.editorial__media { position: relative; }
.editorial__media .stack {
  position: relative;
  aspect-ratio: 4/5;
}
.editorial__media .stack img {
  width: 100%; height: 100%; object-fit: cover;
}
.editorial__media .badge {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--paper);
  padding: 18px 22px;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  max-width: 240px;
  line-height: 1.35;
}

/* GALLERY ------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
}
.gallery__col { display: grid; gap: 16px; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: opacity .3s ease;
}
.gallery img:hover { opacity: 0.92; }
.gallery .tall { aspect-ratio: 4 / 5.2; }
.gallery .wide { aspect-ratio: 16 / 9; }

/* STAY (check-in + rules) -------------------------------- */
.stay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sect--deep .card { background: var(--paper); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card h3 { font-size: clamp(24px, 2vw, 32px); }
.card .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}
.timing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.timing__cell { padding: 18px 0; border-top: 1px solid var(--line); }
.timing__label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.timing__time { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--ink); }

.rules { list-style: none; padding: 0; margin: 0; }
.rules li {
  padding: 14px 0 14px 36px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.rules li:first-child { border-top: 1px solid var(--line); }
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  counter-increment: rule;
  position: absolute;
  left: 0; top: 14px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}
.rules { counter-reset: rule; }

/* LOCATION ----------------------------------------------- */
.location {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
}
.location__map {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.location__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(0.95);
}
.poi-list { list-style: none; padding: 0; margin: 0; }
.poi {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left .25s ease;
}
.poi:last-child { border-bottom: 1px solid var(--line); }
.poi:hover { padding-left: 6px; }
.poi:hover .poi__arrow { transform: translateX(4px); color: var(--terracotta); }
.poi__num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--terracotta);
  font-style: italic;
}
.poi__body { display: flex; flex-direction: column; gap: 2px; }
.poi__name { font-size: 16px; color: var(--ink); font-weight: 500; }
.poi__meta { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; }
.poi__arrow { color: var(--ink-mute); transition: transform .25s, color .25s; font-size: 18px; }

/* DINING + DO ------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  background: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.sect--deep .tile { background: var(--paper); }
.tile__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}
.tile__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}
.tile__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
a.tile--link { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
a.tile--link:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(40,34,28,0.10); }
a.tile--link:hover .tile__name { color: var(--terracotta); }
.tile__map { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--terracotta); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
a.tile--link:hover .tile__map { opacity: 1; transform: translateX(0); }
.tile__index {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* APPLIANCES -------------------------------------------- */
.appliances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2vw, 40px);
}
.appliance {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.appliance__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--terracotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}
.appliance h3 { font-size: 22px; }
.seasonal {
  margin: 30px auto 0;
  max-width: 60ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(216,167,43,0.10), rgba(216,167,43,0.04));
  border: 1px solid rgba(216,167,43,0.35);
  border-radius: 6px;
}
.seasonal__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a87a12;
}
.seasonal__tag::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #d8a72b;
  box-shadow: 0 0 0 4px rgba(216,167,43,0.22);
}
.seasonal__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.appliance__img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--paper-deep, #ecddc1);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.appliance__steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.appliance__steps li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.appliance__steps li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--terracotta);
}
.appliance__videos {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.appliance__video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--paper);
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.appliance__video:hover { background: var(--terracotta); color: var(--paper); }
.appliance__video svg { width: 14px; height: 14px; flex: none; }

/* Video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 14, 12, 0.88);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-modal[data-open="true"] { display: flex; }
.video-modal__inner {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  display: flex; flex-direction: column;
  gap: 14px;
}
.video-modal video,
.video-modal__iframe {
  width: 100%;
  max-height: 80vh;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  outline: none;
  border: 0;
  display: block;
}
.video-modal__iframe { aspect-ratio: 16/9; height: auto; }
.video-modal__close {
  position: absolute;
  top: -44px; right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.12);
  border: 1px solid rgba(245, 236, 217, 0.35);
  color: var(--paper);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.video-modal__close:hover { background: rgba(245, 236, 217, 0.22); }
.video-modal__title {
  color: rgba(245, 236, 217, 0.78);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 640px) {
  .video-modal__close { top: 8px; right: 8px; background: rgba(15,14,12,0.55); }
}

.appliance kbd {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper-deep);
  padding: 1px 6px;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* CONTACT ----------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(245, 236, 217, 0.16);
}
.contact__list li:last-child { border-bottom: 1px solid rgba(245, 236, 217, 0.16); }
.contact__label { font-size: 13px; color: rgba(245, 236, 217, 0.72); }
.contact__val {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 300;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.contact__val a { transition: color .2s; }
.contact__val a:hover { color: var(--gold); }

.host-card {
  background: rgba(245, 236, 217, 0.05);
  border: 1px solid rgba(245, 236, 217, 0.16);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.host-card h3 { color: var(--paper); }
.host-card .hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.host { padding: 16px 0; }
.host__name { font-family: var(--serif); font-size: 22px; color: var(--paper); font-weight: 300; }
.host__role { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.host__phone { font-family: var(--mono); font-size: 14px; color: rgba(245, 236, 217, 0.85); margin-top: 4px; }

/* FAREWELL ---------------------------------------------- */
.farewell {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.farewell h2 { max-width: 18ch; }
.farewell .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--terracotta);
  margin-top: 8px;
}
.farewell__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
}
.farewell__step {
  background: var(--paper);
  padding: 32px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.farewell__step .n { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 28px; font-weight: 300; }
.farewell__step h4 { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 500; }
.farewell__step p { font-size: 14px; color: var(--ink-soft); }

/* INSTALL PROMPT (PWA add-to-home-screen) -------------- */
.install-prompt {
  margin-top: 32px;
  width: 100%;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  padding: clamp(24px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}
.install-prompt[hidden] { display: none; }
.install-prompt__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.install-prompt__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.install-prompt__close {
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color .2s;
}
.install-prompt__close:hover { color: var(--ink); }
.install-prompt__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  max-width: 26ch;
}
.install-prompt__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
.install-prompt__steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: install;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.install-prompt__steps li {
  counter-increment: install;
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.install-prompt__steps li::before {
  content: counter(install);
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-prompt__steps li strong { font-weight: 500; color: var(--ink); }
.install-prompt__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 18px;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease;
}
.install-prompt__cta:hover { transform: translateY(-1px); }

/* NEWSLETTER ------------------------------------------- */
.newsletter {
  margin-top: 32px;
  width: 100%;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}
.newsletter__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.newsletter__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.newsletter__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  max-width: 48ch;
}
.newsletter__form {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 4px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.newsletter__input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193, 100, 64, 0.16);
}
.newsletter__input::placeholder { color: var(--ink-mute); }
.newsletter__btn {
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.newsletter__btn:hover { transform: translateY(-1px); background: var(--terracotta); }
.newsletter__hint {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 4px 0 0;
}
.newsletter__hint.is-ok    { color: #1F8A5B; }
.newsletter__hint.is-error { color: #B33A2A; }
@media (max-width: 480px) {
  .install-prompt, .newsletter { padding: 22px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__btn { width: 100%; padding: 14px; }
}

/* REBOOK COUPON ----------------------------------------- */
.rebook {
  margin-top: 48px;
  width: 100%;
  max-width: 640px;
  background: var(--paper-deep);
  border: 1px solid var(--terracotta);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: visible;
}
.rebook__chip {
  position: absolute;
  top: -22px; right: -16px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 0 0 4px var(--paper);
  z-index: 2;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rebook__chip:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5), 0 0 0 4px var(--paper);
}
.rebook__chip svg {
  width: 28px; height: 28px;
  position: relative;
  z-index: 1;
}
.rebook__chip-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: rp-rebook-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes rp-rebook-pulse {
  0%   { transform: scale(0.85); opacity: 0.55; }
  70%  { transform: scale(1.7);  opacity: 0;    }
  100% { transform: scale(1.7);  opacity: 0;    }
}
.rebook::before,
.rebook::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: 32px;
  width: 22px;
  height: 22px;
  background: var(--paper);
  border: 1px solid var(--terracotta);
  border-radius: 50%;
}
.rebook::before { left: -12px; }
.rebook::after  { right: -12px; }
@media (max-width: 640px) {
  .rebook__chip { top: -18px; right: -8px; width: 48px; height: 48px; }
  .rebook__chip svg { width: 24px; height: 24px; }
}
.rebook__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.rebook__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}
.rebook__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0;
}
.rebook__code {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px dashed var(--terracotta);
  width: min(100%, 440px);
}
.rebook__code-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 2px;
}
.rebook__code code {
  font-family: var(--mono);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: transparent;
  padding: 0;
}
.rebook__copy {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--terracotta);
  background: transparent;
  color: var(--terracotta);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.rebook__copy:hover,
.rebook__copy.copied {
  background: var(--terracotta);
  color: var(--paper);
}
.rebook__cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  margin-top: 6px;
  transition: background .2s ease, color .2s ease;
}
.rebook__cta:hover {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 640px) {
  .rebook { margin-top: 32px; }
  .rebook__code { padding: 14px 16px; gap: 10px; }
  .rebook__code code { font-size: 15px; letter-spacing: 0.06em; }
}

.next {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.next p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); max-width: 44ch; }
.next__row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.next__link {
  padding: 14px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all .25s ease;
}
.next__link:hover { background: var(--ink); color: var(--paper); }

/* FOOTER ------------------------------------------------ */
.foot {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 48px;
}
.foot h5 {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.foot a:hover { color: var(--terracotta); }
.foot__copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
}
.foot__logo img { height: 44px; }
.foot__tag { font-style: italic; font-family: var(--serif); font-size: 16px; color: var(--ink-soft); margin-top: 12px; max-width: 30ch; }

/* LIGHTBOX --------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 18, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  color: var(--paper);
  background: rgba(245, 236, 217, 0.08);
  border: 1px solid rgba(245, 236, 217, 0.24);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(245, 236, 217, 0.16); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* WI-FI ESSENTIAL — clickable to reveal QR ---------- */
.essential--wifi {
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
  position: relative;
  border: 1px solid rgba(212, 169, 96, 0.55);
  background:
    radial-gradient(circle at top right, rgba(212,169,96,0.10), transparent 70%),
    transparent;
  font: inherit;
  text-align: left;
  width: 100%;
  color: inherit;
}
.essential--wifi:hover {
  background:
    radial-gradient(circle at top right, rgba(212,169,96,0.18), transparent 70%),
    rgba(245, 236, 217, 0.04);
  border-color: var(--gold-soft);
}
.essential--wifi:hover .wifi__hint { color: var(--gold-soft); }

/* QR badge top-right corner with pulse */
.wifi-cta {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(212, 169, 96, 0.35);
}
.wifi-cta__qr { width: 22px; height: 22px; position: relative; z-index: 2; }
.wifi-cta__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0;
  animation: rp-wifi-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes rp-wifi-pulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  70%  { transform: scale(1.55); opacity: 0;   }
  100% { transform: scale(1.55); opacity: 0;   }
}

.wifi__speed {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  align-self: flex-start;
}
.wifi__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(212, 169, 96, 0.16);
  border: 1px solid rgba(212, 169, 96, 0.45);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  align-self: flex-start;
  transition: color .2s, background .2s, border-color .2s;
}
.wifi__hint svg { width: 14px; height: 14px; flex: none; }
.essential--wifi:hover .wifi__hint {
  background: rgba(212, 169, 96, 0.28);
  border-color: var(--gold-soft);
}
  text-align: left;
  width: 100%;
  border: 0;
  font-family: inherit;
  color: inherit;
}
.essential--wifi:hover {
  background: rgba(245, 236, 217, 0.04);
}
.essential--wifi:hover .wifi__hint {
  color: var(--gold-soft);
}
.wifi__speed {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  align-self: flex-start;
}
.wifi__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: auto;
  transition: color .2s;
}
.wifi__hint svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

/* WI-FI MODAL ------------------------------------------ */
.wifi-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 18, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 24px;
  overflow-y: auto;
}
.wifi-modal[data-open="true"] {
  display: flex;
  opacity: 1;
}
.wifi-modal { opacity: 1; transition: opacity .25s ease; }

.wifi-card {
  background: var(--paper);
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(20, 18, 16, 0.4);
  transform: translateY(0) scale(1);
  transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wifi-modal[data-open="false"] .wifi-card { transform: translateY(20px) scale(0.96); }

.wifi-card__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(29, 24, 21, 0.08);
  color: var(--ink);
  z-index: 2;
  transition: background .2s;
}
.wifi-card__close:hover { background: rgba(29, 24, 21, 0.16); }

.wifi-card__head {
  padding: 32px 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wifi-card__eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
}
.wifi-card__eyebrow::before, .wifi-card__eyebrow::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
}
.wifi-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 2px;
}
.wifi-card__sub {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 auto;
}

.wifi-card__qr {
  padding: 16px 32px 20px;
  display: flex;
  justify-content: center;
}
.wifi__alt-badge{display:block;margin-top:6px;font-family:var(--sans);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--terracotta)}
.img-missing{background:linear-gradient(135deg,#efe9df 0%,#e2d8c8 100%);min-height:220px}
.wifi-alt{border-top:1px solid var(--line);margin:4px 32px 0;padding-top:18px}
.wifi-alt[hidden]{display:none}
.wifi-alt__note{font-size:13px;line-height:1.5;color:var(--ink-mute);text-align:center;margin:0 0 14px}
.wifi-alt__qr{display:flex;justify-content:center;margin-bottom:14px}
.wifi-alt .wifi-card__qr-frame{width:168px;height:168px;padding:12px}
.wifi-alt .wifi-card__details{padding:0}
.wifi-card__qr-frame {
  background: #fff;
  padding: 16px;
  border-radius: 4px;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--line);
}
.wifi-card__qr-frame svg,
.wifi-card__qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
}
.wifi-card__qr-frame::before {
  /* RP mark in the centre of the QR — safe with M-level error correction */
  content: "RP";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--paper);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  border: 2px solid var(--terracotta);
  z-index: 2;
  pointer-events: none;
}

.wifi-card__details {
  padding: 0 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wifi-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--paper-deep);
  border-radius: 4px;
}
.wifi-row__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.wifi-row__value {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.4;
}
.wifi-row__copy {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.wifi-row__copy:hover { background: var(--ink); color: var(--paper); }
.wifi-row__copy.copied { background: var(--terracotta); color: var(--paper); border-color: var(--terracotta); }

.wifi-card__share {
  margin: 0 32px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s, color .2s, transform .15s ease;
}
.wifi-card__share:hover { transform: translateY(-1px); }
.wifi-card__share:active { transform: translateY(0); }
.wifi-card__share.copied { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.wifi-card__share svg { width: 16px; height: 16px; flex: none; }

.wifi-card__footer {
  padding: 0 32px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .wifi-card { max-width: 100%; }
  .wifi-card__head { padding: 28px 24px 12px; }
  .wifi-card__qr { padding: 12px 24px 16px; }
  .wifi-card__qr-frame { width: 220px; height: 220px; }
  .wifi-card__details { padding: 0 24px 24px; gap: 10px; }
  .wifi-card__footer { padding: 0 24px 24px; }
  .wifi-card__share { margin: 0 24px 16px; padding: 13px 16px; font-size: 11px; letter-spacing: 0.08em; }
  .wifi-row { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
}

/* BRAND FAB (floating logo, left side) ------------------ */
.brand-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 40;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(31, 27, 23, 0.12);
  transition: transform .25s ease, box-shadow .25s ease;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(31, 27, 23, 0.18);
}
.brand-fab img {
  height: 22px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .brand-fab { bottom: 16px; left: 16px; padding: 9px 14px 9px 12px; }
  .brand-fab img { height: 18px; }
  .brand-fab span { font-size: 10px; letter-spacing: 0.12em; }
}
@media (max-width: 480px) {
  .brand-fab span { display: none; }
  .brand-fab { padding: 10px; border-radius: 50%; }
  .brand-fab img { height: 22px; }
}

/* WHATSAPP FAB ------------------------------------------ */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px -16px rgba(20, 18, 16, 0.45);
  transition: transform .25s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 18px; height: 18px; }

/* SOCIAL ICONS ---------------------------------------- */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.socials svg { width: 16px; height: 16px; }

/* WEATHER PANEL (in essentials) ------------------------ */
.wx-panel { display: flex; flex-direction: column; gap: 12px; }
.wx-now { display: flex; align-items: baseline; gap: 14px; }
.wx-panel .wx-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.wx-day {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(245, 236, 217, 0.7);
  text-align: center;
}
.wx-day__name { text-transform: uppercase; margin-bottom: 4px; color: var(--gold-soft); }
.wx-day__icon { font-size: 14px; margin: 2px 0; color: var(--gold-soft); }
.wx-day__temp { color: var(--paper); font-family: var(--serif); font-size: 13px; letter-spacing: 0; }

/* DIVIDER -------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--terracotta);
  padding: clamp(24px, 3vw, 40px) 0;
}
.divider::before, .divider::after { content: ""; height: 1px; width: 80px; background: currentColor; }
.divider span { width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); }

/* RESPONSIVE ---------------------------------------- */
@media (max-width: 1024px) {
  .editorial__media .badge { bottom: -14px; right: -14px; font-size: 16px; padding: 14px 18px; }
}

@media (max-width: 960px) {
  :root {
    --gutter: 20px;
    --sect: clamp(56px, 7vw, 80px);
  }
  .topbar { background: rgba(245, 236, 217, 0.94); }
  .topbar__inner { height: 60px; }
  .topbar__logo img { height: 36px; }
  .concierge { display: none; }
  .lang__btn { padding: 12px 8px; }
  .hero { min-height: 72vh; align-items: flex-end; }
  .hero__media::after {
    /* Stronger bottom gradient on mobile so the text card has solid contrast */
    background:
      linear-gradient(180deg, rgba(20, 18, 16, 0.15) 0%, rgba(20, 18, 16, 0.0) 25%, rgba(20, 18, 16, 0.55) 60%, rgba(20, 18, 16, 0.92) 100%),
      linear-gradient(115deg, rgba(181, 74, 44, 0.18) 0%, transparent 45%);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 16px; padding-bottom: 32px; }
  .hero__title {
    max-width: 100%;
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    word-break: keep-all;
    hyphens: none;
    text-wrap: balance;
  }
  .hero__sub {
    font-size: 16px;
    max-width: 100%;
    line-height: 1.5;
    color: rgba(247, 240, 222, 0.95);
    text-shadow: 0 1px 12px rgba(20, 18, 16, 0.55);
  }
  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--gold-soft);
    text-shadow: 0 1px 8px rgba(20, 18, 16, 0.6);
  }
  .hero__badge {
    align-self: stretch;
    padding: 14px 18px;
    font-size: 10px;
    background: rgba(20, 18, 16, 0.48);
    border-color: rgba(245, 236, 217, 0.28);
    backdrop-filter: blur(14px);
  }
  .essentials__grid { grid-template-columns: repeat(2, 1fr); }
  .essential {
    padding: 22px 18px;
    min-height: 116px;
    border-right: 1px solid rgba(245, 236, 217, 0.12);
    border-bottom: 1px solid rgba(245, 236, 217, 0.12);
  }
  .essential:nth-child(even) { border-right: 0; }
  .essential:nth-child(n+3) { border-bottom: 0; }
  .essential__value { font-size: 18px; line-height: 1.25; }
  .essential--wifi { padding-right: 60px; }
.essential code { font-size: 12px; padding: 2px 6px; }
  .wifi__hint { font-size: 10px; gap: 6px; padding: 5px 10px; }
  .wifi__hint svg { width: 12px; height: 12px; flex: 0 0 12px; }
  .wifi-cta { top: 10px; right: 10px; width: 34px; height: 34px; }
  .wifi-cta__qr { width: 18px; height: 18px; }
  .wx__temp { font-size: 26px; }
  .wx-now { gap: 8px; }
  .wx-days { gap: 3px; margin-top: 4px; }
  .wx-day { font-size: 9px; }
  .wx-day__temp { font-size: 11px; }
  .sect__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .sect__head h2 { max-width: 100%; }
  .sect__head .lede { max-width: 100%; font-size: 17px; }
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial[style*="0.95fr"] { grid-template-columns: 1fr !important; }
  .editorial__media .badge {
    position: relative;
    bottom: auto; right: auto;
    margin: -28px 16px 0 16px;
    display: block;
    max-width: none;
    z-index: 2;
    font-size: 17px;
  }
  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery img.tall { aspect-ratio: 4 / 3.4; }
  .gallery img.wide { aspect-ratio: 16 / 10; }
  .stay { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 24px 22px; gap: 16px; }
  .card__head { gap: 12px; }
  .card h3 { font-size: 22px; line-height: 1.2; }
  .timing { grid-template-columns: 1fr 1fr; gap: 12px; }
  .timing__cell { padding: 14px 0; }
  .timing__time { font-size: 22px; }
  .location { grid-template-columns: 1fr; gap: 28px; }
  .location__map { min-height: 280px; order: -1; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 24px 22px; gap: 10px; }
  .tile__name { font-size: 22px; }
  .tile__desc { font-size: 14px; }
  .appliances { grid-template-columns: 1fr; gap: 14px; }
  .appliance { padding: 24px 22px; gap: 14px; }
  .appliance__steps li { font-size: 14px; }
  .contact { grid-template-columns: 1fr; gap: 24px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .contact__val { font-size: 19px; }
  .host-card { padding: 24px; gap: 14px; }
  .host-card .hosts { grid-template-columns: 1fr; gap: 14px; }
  .host__name { font-size: 20px; }
  .farewell__steps { grid-template-columns: 1fr; }
  .farewell__step { padding: 22px 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .foot__copy { flex-direction: column; gap: 10px; align-items: flex-start; }
  .fab {
    padding: 12px 16px 12px 14px;
    bottom: 16px;
    right: 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .fab svg { width: 16px; height: 16px; }
  .socials a { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --sect: 52px; }
  .topbar__inner { height: 54px; }
  .topbar__logo img { height: 28px; }
  .topbar__right { gap: 10px; }
  .lang__btn { font-size: 10px; letter-spacing: 0.16em; }
  .hero { min-height: 70vh; }
  .hero__inner { padding-bottom: 28px; gap: 14px; }
  h1 { font-size: clamp(36px, 12vw, 52px); }
  h2 { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.08; }
  h3 { font-size: 20px; }
  .lede { font-size: 17px; line-height: 1.5; }
  .body-md { font-size: 15px; line-height: 1.65; }
  .essentials__grid { grid-template-columns: 1fr; }
  .essential {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(245, 236, 217, 0.12);
    padding: 20px 18px;
    min-height: 0;
  }
  .essential:last-child { border-bottom: 0; }
  .essential__value { font-size: 17px; }
  .essential__label { font-size: 9px; letter-spacing: 0.24em; }
  .wifi__hint { font-size: 9px; letter-spacing: 0.18em; }
  .wx-days { gap: 4px; }
  .wx-day { font-size: 9px; }
  .timing { grid-template-columns: 1fr 1fr; gap: 10px; }
  .timing__time { font-size: 20px; }
  .timing__label { font-size: 9px; letter-spacing: 0.2em; }
  .rules li { padding: 12px 0 12px 30px; font-size: 14px; }
  .rules li::before { font-size: 11px; }
  .poi { grid-template-columns: 28px 1fr auto; gap: 12px; padding: 16px 0; }
  .poi__num { font-size: 18px; }
  .poi__name { font-size: 15px; }
  .poi__meta { font-size: 11px; }
  .tile__name { font-size: 21px; }
  .appliance kbd { font-size: 11px; }
  .farewell .signature { font-size: 16px; }
  .next { margin-top: 36px; }
  .next p { font-size: 17px; }
  .next__row { gap: 8px; }
  .next__link { padding: 12px 16px; font-size: 10px; letter-spacing: 0.18em; }
  .foot__grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .foot { padding: 36px 0 20px; }
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  /* Make FAB icon-only on tiny screens to free space */
  .fab span { display: none; }
  .fab { padding: 12px; border-radius: 50%; }
  .fab svg { width: 20px; height: 20px; }
}

/* Touch targets — accessibility */
@media (hover: none) {
  .poi:hover { padding-left: 0; }
  .poi:hover .poi__arrow { transform: none; color: var(--ink-mute); }
  .gallery img:hover { opacity: 1; }
  .next__link, .lang__item, .copy, .concierge { min-height: 44px; display: inline-flex; align-items: center; }
}
