/* ===== Design tokens ===== */
:root {
  --navy-deep: #0a1a2f;
  --navy: #0a2342;
  --navy-light: #13335c;
  --gold: #c5a572;
  --gold-bright: #d9bc87;
  --white-warm: #faf9f6;
  --white: #ffffff;
  --charcoal: #15202b;
  --line: rgba(197, 165, 114, 0.25);
  --shadow-deep: 0 24px 64px rgba(10, 26, 47, 0.45);
  --radius: 4px;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-color: var(--gold) var(--white-warm); scrollbar-width: thin; }

/* Custom scrollbar -- replaces the default OS track (which renders its own
   shading/highlight bands depending on platform) with a flat, branded one. */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--white-warm); }
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 7px;
  border: 3px solid var(--white-warm);
}
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

body {
  margin: 0;
  background: var(--white-warm);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }

[role="button"]:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Top nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(10,26,47,0.85), transparent);
  transition: background 0.3s ease;
}
.nav.scrolled { background: var(--navy); box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.nav .brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav .brand .mark { color: var(--gold); }
.brand-mark { height: 1.3em; width: auto; vertical-align: -0.32em; margin-right: 0.45em; }
.nav .brand-mark { height: 46px; vertical-align: middle; margin-right: 12px; }
@media (max-width: 560px) {
  .nav .brand-mark { height: 36px; margin-right: 8px; }
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--white-warm);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold-bright); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(197, 165, 114, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold-bright);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }
  .nav-links.open { max-height: calc(100vh - 72px); opacity: 1; overflow-y: auto; }
  .nav-links a {
    padding: 16px 40px;
    width: 100%;
    opacity: 1;
    border-bottom: 1px solid rgba(197, 165, 114, 0.12);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover, .nav-links a:focus-visible { background: rgba(197, 165, 114, 0.08); color: var(--gold-bright); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 50% 20%, var(--navy-light) 0%, var(--navy-deep) 70%);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,26,47,0.55) 0%, rgba(10,26,47,0.35) 45%, rgba(10,26,47,0.75) 100%);
}
.hero-copy-centered {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy-centered p { margin-left: auto; margin-right: auto; }
.hero-copy-centered .cta-row { justify-content: center; }
#serviceable-areas { position: relative; overflow: hidden; }
#serviceable-areas #ocean-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  z-index: 1;
}
.blueprint-stage-standalone {
  max-width: 560px;
  margin: 0 auto;
}
.hero-copy .kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero-copy p {
  color: rgba(250,249,246,0.8);
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
  appearance: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { box-shadow: 0 12px 32px rgba(197,165,114,0.35); }
.btn-outline { border-color: rgba(250,249,246,0.4); color: var(--white-warm); }
.btn-outline:hover { border-color: var(--gold-bright); }
.btn-outline-dark { border-color: rgba(10,35,66,0.3); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--navy); background: rgba(10,35,66,0.04); }

/* ===== Serviceable area zones (photo + pins + legend) ===== */
.zone-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.zone-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line);
}
/* On wide screens, stop capping the photo at a fixed 4:3 ratio and let it
   stretch to match the legend's real height instead -- with 6 zones listed,
   the legend runs taller than a fixed-ratio photo, which otherwise leaves
   dead space below the image while the list keeps going. */
@media (min-width: 881px) {
  .zone-stage { align-items: stretch; }
  .zone-photo { aspect-ratio: auto; }
}
.zone-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.zone-image.active {
  opacity: 1;
  transform: scale(1);
}
.zone-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.zone-item {
  display: flex;
  gap: 16px;
  padding: 16px 14px;
  border-radius: 6px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.zone-item:hover, .zone-item.active {
  background: rgba(197,165,114,0.08);
  border-left-color: var(--gold);
}
.zone-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zone-text .tier-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(197,165,114,0.18);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.zone-text h4 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.zone-text p { font-size: 13px; color: #5a6672; margin: 0; }

/* ===== Section shell ===== */
.section { padding: 110px 0; position: relative; }
.section-navy { background: var(--navy); color: var(--white-warm); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-navy .section-head h2 { color: var(--white); }
.section-head p { margin-top: 16px; font-size: 16px; color: #556370; }
.section-navy .section-head p { color: rgba(250,249,246,0.75); }

/* ===== Slide-out service cards ===== */
.card-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: stretch;
  overflow: visible;
}
@media (min-width: 1100px) {
  .card-rail { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1440px) {
  .card-rail { grid-template-columns: repeat(6, 1fr); }
}
.slide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(10,26,47,0.08);
  border-top: 3px solid var(--navy);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
}
.slide-card:hover { box-shadow: 0 20px 48px rgba(10,26,47,0.16); }
.slide-card .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.slide-card h3 { font-size: 22px; line-height: 1.25; color: var(--navy); margin: 10px 0 12px; min-height: 2.5em; }
.slide-card .teaser {
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
  color: #5a6672;
}
/* Pinned to the bottom of the flex column so every card's price/CTA lines
   up at the same baseline regardless of how long each card's teaser text
   runs -- this is what keeps a row of unequal-content cards looking
   deliberate instead of ragged. */
.slide-card .price-tag { margin-top: auto; padding-top: 16px; font-family: var(--serif); font-size: 20px; color: var(--navy); }
.price-note {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #64707d;
  margin-top: 4px;
}
.slide-panel .price-note { color: rgba(250,249,246,0.55); margin-top: 8px; }
.slide-card .reveal-hint {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.slide-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(440px, 92vw);
  background: var(--navy);
  color: var(--white-warm);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  z-index: 200;
  padding: 48px 40px;
  overflow-y: auto;
}
/* Shadow only applies once the panel is actually on-screen -- it was
   previously set unconditionally, and its -30px/60px-blur reach extended
   past the panel's own edge even while translateX(100%) pushed the panel
   itself off-screen, leaving a permanent dark band bleeding in from the
   right edge on every page, regardless of scroll position or content,
   since this element is position:fixed to the viewport. */
.slide-panel.open { transform: translateX(0); box-shadow: -30px 0 60px rgba(0,0,0,0.35); }
.slide-panel .close-btn {
  position: absolute;
  top: 28px; right: 32px;
  font-size: 22px;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
}
.panel-photo-stack {
  position: relative;
  height: 180px;
  margin-bottom: 28px;
}
.stack-photo {
  position: absolute;
  width: 78%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid var(--navy-deep);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stack-back {
  top: 20px; right: 0;
  transform: rotate(6deg) translateX(16px);
}
.stack-front {
  top: 0; left: 0;
  transform: rotate(-4deg) translateX(-10px);
}
.slide-panel.open .stack-back { opacity: 1; transform: rotate(6deg) translateX(0); transition-delay: 0.15s; }
.slide-panel.open .stack-front { opacity: 1; transform: rotate(-4deg) translateX(0); transition-delay: 0.3s; }
.slide-panel .num { color: var(--gold); font-family: var(--serif); letter-spacing: 0.15em; }
.slide-panel h3 { color: var(--white); font-size: 30px; margin: 14px 0 6px; }
.slide-panel .duration { color: rgba(250,249,246,0.6); font-size: 13px; margin-bottom: 24px; display: block; }
.panel-description { font-size: 15px; line-height: 1.65; color: rgba(250,249,246,0.8); margin: 0 0 24px; }
.panel-scope-label {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.slide-panel ul { padding-left: 18px; margin: 0 0 28px; }
.slide-panel li { margin-bottom: 10px; color: rgba(250,249,246,0.85); font-size: 15px; }
.slide-panel .price-tag { font-family: var(--serif); font-size: 28px; color: var(--gold-bright); }
.scrim {
  position: fixed; inset: 0;
  background: rgba(10,26,47,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 150;
}
.scrim.open { opacity: 1; pointer-events: auto; }

/* ===== Schedule ===== */
.schedule-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.schedule-cell {
  flex: 1;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.schedule-cell:last-child { border-right: none; }
.schedule-cell .months { color: var(--gold); font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 8px; }
.schedule-cell.peak { background: rgba(197,165,114,0.08); }
.schedule-cell p { font-size: 13px; color: rgba(250,249,246,0.7); margin: 0; }

/* ===== Cyprus coming soon ===== */
.cyprus-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cyprus-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 20px;
}
.callout-form {
  background: rgba(250,249,246,0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.callout-form input {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white-warm);
  font-size: 14px;
}
.callout-form input::placeholder { color: rgba(250,249,246,0.4); }

.booking-form {
  background: var(--white-warm);
  border: 1px solid rgba(10,35,66,0.12);
  max-width: 560px;
  margin: 0 auto;
}
.booking-form input {
  background: var(--white);
  border: 1px solid rgba(10,35,66,0.15);
  color: var(--navy);
}
.booking-form input::placeholder { color: #64707d; }
.booking-footnote {
  text-align: center;
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 13px;
  color: #64707d;
}
.booking-urgent-note {
  font-size: 13.5px;
  color: #64707d;
  margin-top: 10px;
}
.booking-urgent-note a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tier-picker {
  border: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tier-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(10,35,66,0.15);
  border-radius: 4px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tier-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.tier-pill-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.tier-pill-price {
  font-family: var(--serif);
  font-size: 13px;
  color: #64707d;
}
.tier-pill-duration {
  font-size: 11px;
  color: #64707d;
}
.tier-pill:hover { border-color: rgba(197,165,114,0.5); }
.tier-pill:has(input:checked) {
  border-color: var(--gold);
  background: rgba(197,165,114,0.08);
}
.tier-pill:has(input:checked) .tier-pill-price { color: var(--gold); }
.tier-pill:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) {
  .tier-picker { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tier-picker { grid-template-columns: 1fr; }
}
.tier-picker-hint {
  text-align: center;
  font-size: 12px;
  color: #9aa3ac;
  margin: 0;
}

/* ===== Portal preview ===== */
.portal-frame {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  background: var(--white);
}
.portal-swap { transition: height 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
.portal-swap-track {
  display: flex;
  align-items: flex-start;
  width: 200%;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.portal-swap.is-booking .portal-swap-track { transform: translateX(-50%); }
.portal-view { width: 50%; flex-shrink: 0; }
.portal-back-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  color: var(--white);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.portal-back-btn:hover { color: var(--gold-bright); }
.portal-form-label { display: block; margin: 0 0 8px; }
.portal-form-label:not(:first-child) { margin-top: 22px; }
#portal-booking-form input[type="date"],
#portal-booking-form textarea {
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid rgba(10,35,66,0.15);
  border-radius: 4px;
  color: var(--navy);
  font-size: 14px;
  font-family: inherit;
}
#portal-booking-form input[type="date"] {
  width: 100%;
  max-width: 240px;
}
#portal-booking-form textarea {
  width: 100%;
  resize: vertical;
}
@media (max-width: 560px) {
  #portal-booking-form input[type="date"] { max-width: none; }
}
.portal-topbar {
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.portal-topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.preview-ribbon {
  text-align: center;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px;
  font-weight: 700;
}
.portal-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.portal-teaser-item {
  background: var(--white);
  padding: 28px 24px;
}
.portal-teaser-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.portal-teaser-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.portal-teaser-item p { font-size: 14px; color: #64707d; }
.portal-teaser-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 28px 32px 32px;
}
@media (max-width: 768px) {
  .portal-teaser-grid { grid-template-columns: 1fr; }
  .portal-teaser-cta { flex-direction: column; }
}

/* ===== Portal preview — summary, specs, accordion history ===== */
.portal-vessel-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.portal-vessel-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-vessel-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,47,0.1) 0%, rgba(10,26,47,0.75) 100%);
}
.portal-vessel-hero-text {
  position: absolute;
  left: 28px;
  bottom: 18px;
}

.portal-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e8e2d6;
  flex-wrap: wrap;
}
.portal-label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64707d;
}
.portal-section-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-family: Arial, sans-serif;
  margin: 0 0 18px;
  padding-top: 8px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8e2d6;
  border: 1px solid #e8e2d6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
}
.spec-cell {
  background: var(--white);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-family: Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64707d;
}
.spec-value {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #e8e2d6;
  border: 1px solid #e8e2d6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-card strong { font-family: var(--serif); font-size: 16px; color: var(--navy); margin: 2px 0 2px; }
.contact-line { font-size: 12.5px; color: #5a6672; }
.contact-line a { color: inherit; text-decoration: none; }
.contact-line a:hover { color: var(--gold); text-decoration: underline; }

.history-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.history-count {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #64707d;
  white-space: nowrap;
}

/* ----- Timeline layout: dot/line rail + card ----- */
.history-timeline { display: flex; flex-direction: column; }
.timeline-row { display: flex; gap: 16px; }
.timeline-rail {
  width: 14px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px #e8e2d6;
  flex-shrink: 0;
}
.timeline-dot-completed { background: var(--navy); }
.timeline-dot-confirmed { background: var(--gold); box-shadow: 0 0 0 2px rgba(197,165,114,0.35); }
.timeline-line { width: 1px; flex: 1; background: #e8e2d6; margin: 4px 0; }

.history-item {
  flex: 1;
  min-width: 0;
  border: 1px solid #e8e2d6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.history-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  transition: background 0.2s ease;
}
.history-toggle:hover { background: rgba(197,165,114,0.07); }
.history-thumb {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}
.history-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.history-top-line { display: flex; align-items: center; gap: 10px; }
.history-date { font-size: 12.5px; color: #64707d; }
.history-tier { font-family: var(--serif); font-size: 17px; color: var(--navy); line-height: 1.2; }
.history-summary-inline {
  font-size: 12.5px;
  color: #5a6672;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.history-price { font-family: var(--serif); font-size: 16px; color: var(--gold); white-space: nowrap; }
.history-caret { color: var(--gold); transition: transform 0.25s ease; }
.history-item.open .history-caret { transform: rotate(180deg); }

.status-badge {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-badge-completed { background: rgba(10,35,66,0.08); color: var(--navy); }
.status-badge-confirmed { background: rgba(197,165,114,0.18); color: #8a6d3a; }

.history-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #faf9f6;
}
.history-item.open .history-detail { max-height: 400px; }
.history-detail-inner { padding: 18px 20px 20px; }
.history-detail-inner p { font-size: 13.5px; color: #5a6672; margin: 6px 0 0; line-height: 1.6; }
.history-invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e8e2d6;
}
.history-invoice-btn {
  font-family: Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa3ac;
  background: none;
  border: 1px solid #d8d2c4;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: not-allowed;
}

/* ----- Booking wizard: step indicator, summary card, confirmation ----- */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.booking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9aa3ac;
}
.booking-step.active { color: var(--navy); }
.booking-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #e8e2d6;
  color: #64707d;
}
.booking-step.active .booking-step-num { background: var(--gold); color: var(--navy-deep); }
.booking-step.done .booking-step-num { background: var(--navy); color: var(--white); }
.booking-step-sep { width: 32px; height: 1px; background: #e8e2d6; }

.booking-summary-card {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  background: #faf9f6;
  border: 1px solid #e8e2d6;
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.booking-summary-service { flex: 1; min-width: 180px; }
.booking-summary-card strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); margin: 3px 0 4px; }
.booking-summary-meta-line { display: block; font-size: 12.5px; color: #64707d; }
#booking-summary-price { font-family: var(--serif); color: var(--gold); font-size: 14px; margin-right: 8px; }
.booking-summary-date-field { flex-shrink: 0; }
.booking-summary-date-field .portal-label { margin-bottom: 6px; }
#portal-booking-form .booking-summary-date-field input[type="date"] { width: 170px; max-width: 170px; }
@media (max-width: 560px) {
  .booking-summary-date-field,
  #portal-booking-form .booking-summary-date-field input[type="date"] { width: 100%; max-width: none; }
}
.booking-change-btn {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.booking-confirm { text-align: center; padding: 20px 10px 10px; }
.booking-confirm-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 22px;
}
.booking-confirm-lede { color: #5a6672; font-size: 14px; margin: 0 0 20px; }
.booking-confirm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-confirm-steps li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: #5a6672;
  line-height: 1.5;
}
.booking-confirm-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 700px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-summary-row { flex-direction: column; gap: 16px; }
  .history-summary-inline { display: none; }
  .timeline-rail { display: none; }
  .booking-step span:not(.booking-step-num) { display: none; }
}

footer {
  background: var(--navy-deep);
  color: rgba(250,249,246,0.6);
  padding: 48px 0 32px;
  text-align: center;
  font-size: 13px;
}
footer .brand { color: var(--gold-bright); font-family: var(--serif); font-size: 18px; display: block; margin-bottom: 10px; }

@media (max-width: 880px) {
  .zone-stage { grid-template-columns: 1fr; }
  .cyprus-panel { grid-template-columns: 1fr; }
  .card-rail { grid-template-columns: 1fr; }
  .schedule-strip { flex-direction: column; }
  .schedule-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .nav { padding: 16px 20px; }
  .nav .brand { font-size: 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 10px; }
}

@media (max-width: 560px) {
  .nav-links a[href="#cyprus"] { display: none; } /* hide Cyprus link on very small screens, still reachable via scroll */
}

/* ===== Legal pages (Terms, Privacy) ===== */
.legal-page { padding: 70px 0 110px; }
.legal-page .container { max-width: 720px; }
.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-page .kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.legal-page h1 { font-size: clamp(32px, 4vw, 46px); color: var(--navy); margin: 0 0 8px; }
.legal-updated { color: #64707d; font-size: 13px; margin-bottom: 36px; }
.legal-page h2 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 40px 0 14px; }
.legal-page p { color: #3d4753; margin-bottom: 16px; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; color: #3d4753; }
.legal-page li { margin-bottom: 10px; }
.legal-footnote { margin-top: 48px; font-size: 13px; color: #64707d; font-style: italic; }
