/* =========================================================
   Ubuntu Palace Hotel: static site stylesheet
   Brand colours & fonts carried over from the original site
   ========================================================= */
:root {
  --blue: #27408D;        /* primary */
  --blue-dark: #1d3170;
  --gold: #CB9034;        /* accent */
  --gold-dark: #b07a26;
  --navy: #082D41;        /* dark sections / footer */
  --taupe: #C2B1A7;
  --soft: #F8F7F7;        /* light section background */
  --slate: #F1F5F9;
  --line: #E5E5E5;
  --text: #3A3B3B;
  --muted: #717171;
  --white: #fff;

  --font-head: "Libre Franklin", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 45, 65, .08);
  --shadow-lg: 0 20px 50px rgba(8, 45, 65, .14);
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: .02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 5vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #cfd8de; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 500; font-size: .95rem; line-height: 1.2;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--blue); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8,45,65,.07); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
/* Logo hangs below the bar as a badge; the bar height stays fixed */
.brand { position: relative; flex: none; align-self: flex-start; width: 196px; height: var(--header-h); z-index: 3; }
.brand img {
  position: absolute; top: 0; left: 0; height: 128px; width: auto;
  background: #fff; padding: 12px 16px 16px; border-radius: 0 0 20px 20px;
  box-shadow: 0 14px 30px rgba(8,45,65,.14);
  transition: height .25s ease;
}
.site-header.is-scrolled .brand img { height: 104px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-list a, .nav-drop-btn {
  display: flex; align-items: center; gap: .3em;
  padding: .55em .9em; border-radius: 8px;
  color: var(--navy); font-weight: 500; font-size: .86rem;
  text-transform: uppercase; letter-spacing: .08em;
  background: none; border: 0; cursor: pointer;
}
.nav-list a:hover, .nav-drop-btn:hover, .nav-list a[aria-current="page"] { color: var(--blue); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.has-drop { position: relative; }
.nav-drop-btn .ico { width: 1em; height: 1em; transition: transform .2s; }
.drop {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.drop a { padding: .6em .9em; }
.drop a:hover { background: var(--soft); }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav-drop-btn .ico, .has-drop.is-open .nav-drop-btn .ico { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; padding-left: 18px; margin-left: 12px; border-left: 1px solid var(--line); }
.managed { height: 70px; width: auto; margin: -6px 0; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--soft); border: 0; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }
.nav-mobile-extra, .nav-backdrop { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } /* blur would trap the fixed menu */
  .brand { width: 132px; }
  .brand img { height: 96px; padding: 8px 12px 12px; border-radius: 0 0 16px 16px; }
  .site-header.is-scrolled .brand img { height: 84px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* Mobile menu: panel covering the right half of the screen */
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; z-index: 2;
    width: max(50vw, 250px);
    background: #fff; overflow-y: auto; border-left: 1px solid var(--line);
    padding: 8px 18px 32px;
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .3s ease, visibility .3s;
  }
  .nav-open .nav { clip-path: inset(0); visibility: visible; }
  .nav-backdrop {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 1;
    background: rgba(8,45,65,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .nav-drop-btn { padding: 1em .1em; font-size: .85rem; letter-spacing: .06em; width: 100%; justify-content: space-between; text-align: left; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .drop { position: static; box-shadow: none; padding: 0 0 8px 12px; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; }
  .has-drop.is-open .drop { display: block; }
  .has-drop:hover .drop { display: none; }
  .has-drop.is-open:hover .drop { display: block; }
  .drop { padding: 0 0 8px 10px; }
  .drop a { padding: .7em .1em; font-size: .8rem; }
  .nav-mobile-extra { display: block; margin-top: 28px; }
  .nav-mobile-extra .managed { display: block; margin: 0 auto; height: 60px; }
}

/* ---------- Home hero (background video) ---------- */
.hero--video {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  display: flex; align-items: center;
  background: var(--navy) url("../img/hero-poster.webp") center / cover no-repeat;
  color: #fff;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--video::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,45,65,.85) 0%, rgba(8,45,65,.55) 55%, rgba(8,45,65,.25) 100%);
}
.hero-content { padding-top: 80px; padding-bottom: 80px; }
.hero--video h1 { color: #fff; max-width: 780px; }
.hero--video h1 span { color: var(--gold); }
.hero--video p { font-size: 1.08rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-pause {
  position: absolute; left: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(8,45,65,.35); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.hero-pause:hover { background: var(--gold); border-color: var(--gold); }
.hero-pause .ico { width: 14px; height: 14px; }
.hero-pause .ico-play, .hero-pause.is-paused .ico-pause { display: none; }
.hero-pause.is-paused .ico-play { display: block; }
@media (max-width: 700px) {
  .hero--video { min-height: calc(92svh - var(--header-h)); align-items: flex-end; }
  .hero--video::after { background: linear-gradient(180deg, rgba(8,45,65,.35) 0%, rgba(8,45,65,.9) 70%); }
  .hero-content { padding-top: 120px; padding-bottom: 72px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* Arched photo (Welcome section) */
.hero-media { position: relative; z-index: 0; max-width: 480px; justify-self: center; width: calc(100% - 24px); }
.hero-media img { border-radius: 200px 200px var(--radius) var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.hero-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 1.5px solid var(--gold); border-radius: 200px 200px var(--radius) var(--radius); z-index: -1;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  background: var(--navy);
}
.page-hero picture, .page-hero > img { position: absolute; inset: 0; z-index: -2; }
.page-hero picture img, .page-hero > img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,45,65,.55), rgba(8,45,65,.8)); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.88); max-width: 720px; }
.page-hero--plain::after { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.crumbs { font-size: .85rem; margin-bottom: 1rem; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 .5em; }

/* ---------- Essentials ---------- */
.essentials-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 36px; }
.essential { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.essential .ico { width: 64px; height: 64px; padding: 15px; border-radius: 50%; border: 1px solid rgba(203,144,52,.45); color: var(--gold); margin: 0 auto 16px; stroke-width: 1.4; transition: background .25s, color .25s; }
.essential:hover .ico { background: var(--gold); color: #fff; }
.essential p { margin: 0; color: #fff; font-weight: 500; font-size: .95rem; line-height: 1.4; }
@media (max-width: 980px) { .essentials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .essentials-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; margin-top: 40px; }
.gallery a { position: relative; border-radius: 12px; overflow: hidden; display: block; background: var(--slate); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery--home a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery--home a:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery--home a:nth-child(3) { grid-column: span 3; }
.gallery--home a:nth-child(n+4) { grid-column: span 2; grid-row: span 2; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; }
@media (max-width: 760px) {
  .gallery, .gallery--3, .gallery--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery--home a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery--home a:nth-child(1), .gallery--home a:nth-child(6) { grid-column: span 2; grid-row: span 2; }
  .gallery--3 a:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery--2 { grid-auto-rows: 220px; }
}
@media (max-width: 420px) { .gallery--2 { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4,20,30,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.lb-btn:hover { background: var(--gold); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-btn .ico { width: 22px; height: 22px; }

/* ---------- Room cards ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 24px; }
.room-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-card:hover .room-card__img img { transform: scale(1.05); }
.price-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,.95); color: var(--navy);
  padding: .35em .85em; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.price-tag small { font-weight: 400; color: var(--muted); }
.room-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room-card__body h3 { margin-bottom: .4em; }
.room-card__body h3 a { color: var(--navy); }
.room-card__body h3 a:hover { color: var(--blue); }
.room-card__body p { color: var(--muted); font-size: .93rem; }
.meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--navy); }
.meta li { display: flex; align-items: center; gap: .4em; }
.meta .ico { color: var(--gold); width: 1.15em; height: 1.15em; }
.room-card__body .link-arrow { margin-top: auto; }

/* Rooms listing: wide cards */
.room-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room-row + .room-row { margin-top: 28px; }
.room-row .room-card__img { aspect-ratio: auto; min-height: 300px; }
.room-row .room-card__body { padding: clamp(22px, 4vw, 40px); }
.room-row .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue); margin-bottom: .6em; }
.room-row .price small { font-size: .9rem; color: var(--muted); font-family: var(--font-body); }
.room-row .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.room-row:nth-child(even) .room-card__img { order: 2; }
@media (max-width: 820px) {
  .room-row { grid-template-columns: 1fr; }
  .room-row:nth-child(even) .room-card__img { order: 0; }
  .room-row .room-card__img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: .75em .9em; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; min-height: 48px;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Service tiles ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8,45,65,.88)); }
.service:hover img { transform: scale(1.05); }
.service div { padding: 32px; }
.service h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.service .link-arrow { color: var(--gold); }
@media (max-width: 680px) { .services { grid-template-columns: 1fr; } .service { min-height: 360px; } }

/* ---------- Room detail ---------- */
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 52vw, 560px); margin-bottom: 48px; }
.room-gallery a { border-radius: 12px; overflow: hidden; display: block; }
.room-gallery a:first-child { grid-row: span 2; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; height: auto; }
  .room-gallery a:first-child { grid-column: span 2; grid-row: span 1; }
}
.room-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.room-layout h2 { font-size: 1.6rem; margin-top: 1.6em; }
.room-layout h2:first-child { margin-top: 0; }
@media (max-width: 960px) { .room-layout { grid-template-columns: minmax(0, 1fr); } }
.params { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.param { background: var(--soft); border-radius: 12px; padding: 16px; text-align: center; }
.param .ico { color: var(--gold); width: 28px; height: 28px; margin: 0 auto 6px; }
.param span { display: block; font-size: .8rem; color: var(--muted); }
.param strong { color: var(--navy); font-weight: 600; }
@media (max-width: 520px) { .params { grid-template-columns: repeat(2, 1fr); } }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.amenities li { display: flex; align-items: center; gap: .7em; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .93rem; color: var(--navy); }
.amenities .ico { color: var(--blue); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-table th { font-weight: 500; color: var(--muted); width: 50%; }
.info-table td { color: var(--navy); font-weight: 500; }
.note { background: var(--slate); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .93rem; margin-top: 20px; }

.booking {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px; display: grid; gap: 14px; border-top: 4px solid var(--gold);
}
.booking h2 { font-size: 1.4rem; margin: 0; }
.booking .promo { margin: -6px 0 4px; font-size: .88rem; color: var(--gold-dark); font-weight: 500; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.booking-total span { color: var(--muted); font-size: .9rem; }
.booking-total strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--blue); font-weight: 500; }
.booking .small { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.form-error { color: #b42318; font-size: .85rem; margin: 0; }
@media (max-width: 960px) { .booking { position: static; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 2; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px 24px; text-align: center; }
.contact-card .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--soft); color: var(--gold); margin: 0 auto 14px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); word-break: break-word; }
.contact-card a:hover { color: var(--blue); }
@media (max-width: 820px) { .contact-cards { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--slate); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(to bottom, transparent 0, transparent 90px, var(--soft) 90px);
  color: var(--text); font-size: .95rem;
}
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff;
  border-radius: var(--radius); padding: clamp(28px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(203,144,52,.35); }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band .eyebrow { margin-bottom: .5rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(40px, 6vw, 56px); }
.footer-brand img { height: 92px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 360px; }
.site-footer h4 {
  font-size: .82rem; letter-spacing: .16em; font-weight: 600;
  color: var(--navy); margin: 0 0 1.2em; padding-bottom: .7em; position: relative;
}
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.footer-brand h4 { margin-top: 1.8em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--text); display: inline-flex; align-items: center; gap: .6em; transition: color .2s, transform .2s; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); transition: background .2s; }
.footer-links a:hover { color: var(--blue); transform: translateX(3px); }
.footer-links a:hover::before { background: var(--gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer-contact li { display: flex; gap: 14px; align-items: center; }
.footer-contact small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-contact a { color: var(--navy); font-weight: 500; word-break: break-word; }
.footer-contact a:hover { color: var(--blue); }
.fc-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { background: var(--navy); color: #b9c6ce; font-size: .85rem; }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-credits { display: flex; align-items: center; gap: 20px; }
.footer-credits .runati-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-credits a { display: block; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.15); }
/* Razertech logo is blue on a solid white background: invert it and screen-blend so the white drops out and the lettering shows white */
.razertech-logo { height: 46px; width: auto; display: block; filter: grayscale(1) invert(1) contrast(1.4); mix-blend-mode: screen; opacity: .85; transition: opacity .2s; }
.footer-credits a:hover .razertech-logo { opacity: 1; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
}

/* ---------- WhatsApp: sticky, right-centre ---------- */
.wa-float {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
.wa-float:hover { color: #fff; background: #1ebe5a; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float span {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: .82rem; font-weight: 500; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 520px) { .wa-float { right: 12px; width: 50px; height: 50px; } .wa-float .ico { width: 26px; height: 26px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
