/* Public site — Coastal night */
:root {
  --p-bg0: #060d12;
  --p-bg1: #0b161e;
  --p-ink: #f2f6f4;
  --p-muted: #8fa39b;
  --p-line: rgba(242, 246, 244, 0.1);
  --p-accent: #2bb8a8;
  --p-accent-ink: #041a16;
  --p-gold: #c4a574;
  --p-warn: #c4a574;
  --p-danger: #e07a6a;
  --p-panel: rgba(10, 20, 28, 0.78);
  --p-radius: 14px;
  --p-font-display: "Fraunces", "Sora", Georgia, serif;
  --p-font-body: "Sora", sans-serif;
  --p-pad: 1.15rem;
  --p-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

html, body {
  min-height: 100%;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.pub-body {
  font-family: var(--p-font-body);
  color: var(--p-ink);
  background:
    radial-gradient(720px 420px at 12% -8%, rgba(43, 184, 168, 0.1), transparent 55%),
    radial-gradient(560px 380px at 100% 8%, rgba(196, 165, 116, 0.06), transparent 50%),
    linear-gradient(168deg, var(--p-bg0), var(--p-bg1) 52%, #08141b);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

a { color: var(--p-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Fixed header */
.pub-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  position: fixed;
  top: 12px;
  left: 16px;
  right: 16px;
  width: auto;
  max-width: none;
  transform: none;
  z-index: 9999;
  padding: 0.65rem 0.75rem 0.65rem 0.95rem;
  background: rgba(6, 13, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pub-header.is-scrolled {
  background: rgba(6, 13, 18, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.36);
}

.pub-body:not(.pub-home) .pub-main {
  padding-top: 5.5rem;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  justify-self: start;
}
.pub-brand:hover { text-decoration: none; }
.pub-brand img {
  border-radius: 9px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.pub-brand strong {
  display: block;
  font-family: var(--p-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #b8955c;
  position: relative;
}
/* Decorative brand shimmer. The bright copy sits on its own layer and only
   its opacity animates, so the effect runs on the compositor (no repaint of
   colour/text-shadow every frame). Kept on even with reduce-motion, slower. */
.pub-brand strong::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #fff0c8;
  text-shadow: 0 0 14px rgba(232, 201, 138, 0.55);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  animation: pub-brand-shine 2.8s ease-in-out infinite;
}
@keyframes pub-brand-shine {
  0%, 100% { opacity: 0; }
  35% { opacity: 1; }
  55% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-brand strong::after {
    animation-duration: 5.5s;
  }
}


.pub-brand span {
  min-width: 0;
}
.pub-brand small {
  display: block;
  margin-top: 0.12rem;
  color: var(--p-gold);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.pub-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  justify-self: end;
}

.pub-nav {
  display: none;
  align-items: center;
  gap: 1.45rem;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}
.pub-nav a {
  position: relative;
  color: rgba(238, 245, 242, 0.88);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  transition: color 0.15s ease;
}
.pub-nav-soon {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  background: rgba(196, 165, 116, 0.12);
  color: #e2c99a;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.pub-nav-drawer-links .pub-nav-soon {
  margin-left: 0.45rem;
  font-size: 0.68rem;
}
.pub-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: var(--p-accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.pub-nav a:hover {
  color: #fff;
  text-decoration: none;
}
.pub-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.pub-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  min-width: 38px;
  padding: 0.4rem 0.85rem;
  border-radius: 9px;
  background: var(--p-accent);
  color: var(--p-accent-ink) !important;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.pub-header-cta-icon {
  flex-shrink: 0;
  display: block;
}
.pub-header-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 215, 196, 0.28);
  text-decoration: none !important;
}
@media (max-width: 719px) {
  /* Header stays: brand + lang + ☰. WhatsApp lives in FAB + drawer. */
  .pub-header {
    gap: 0.5rem 0.65rem;
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
  }
  .pub-header-cta {
    display: none !important;
  }
  .pub-header-actions {
    gap: 0.4rem;
  }
  .pub-header .lang-switcher select {
    max-width: 5.75rem;
    min-height: 36px;
    padding: 0.28rem 0.35rem;
    font-size: 0.74rem;
  }
  .pub-nav-toggle {
    width: 36px;
    height: 36px;
  }
  .pub-brand small {
    letter-spacing: 0.02em;
    font-size: 0.58rem;
  }
}

.pub-header .lang-switcher select {
  min-height: 38px;
  border-radius: 9px;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

/* Mobile hamburger (right) — desktop keeps the inline .pub-nav */
.pub-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(226, 201, 154, 0.35);
  border-radius: 9px;
  background: rgba(43, 184, 168, 0.12);
  color: #eef5f2;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pub-nav-toggle:hover {
  background: rgba(43, 184, 168, 0.16);
  border-color: rgba(43, 184, 168, 0.35);
}
.pub-nav-toggle-bars,
.pub-nav-toggle-bars::before,
.pub-nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.pub-nav-toggle-bars {
  position: relative;
}
.pub-nav-toggle-bars::before,
.pub-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.pub-nav-toggle-bars::before { top: -5px; }
.pub-nav-toggle-bars::after { top: 5px; }
.pub-body.is-nav-open .pub-nav-toggle-bars {
  background: transparent;
}
.pub-body.is-nav-open .pub-nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.pub-body.is-nav-open .pub-nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.pub-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 8, 12, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.pub-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pub-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  width: min(300px, 86vw);
  padding: max(1rem, env(safe-area-inset-top)) 1.1rem max(1.25rem, env(safe-area-inset-bottom));
  background:
    linear-gradient(165deg, rgba(12, 28, 34, 0.98), rgba(6, 13, 18, 0.98));
  border-left: 1px solid rgba(196, 165, 116, 0.22);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(104%);
  transition: transform 0.26s ease;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pub-nav-drawer.is-open {
  transform: translateX(0);
}
.pub-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pub-nav-drawer-title {
  font-family: var(--p-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2c99a;
}
.pub-nav-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef5f2;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.pub-nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pub-nav-drawer-links a {
  display: block;
  padding: 0.85rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(238, 245, 242, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.pub-nav-drawer-links a:hover,
.pub-nav-drawer-links a:focus-visible {
  color: #fff;
  text-decoration: none;
}
.pub-body.is-nav-open {
  overflow: hidden;
}


.pub-main-flush {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pub-hero-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 5.5rem var(--p-pad) 2rem;
  overflow: hidden;
}
.pub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pub-hero-media picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.pub-hero-fallback {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 215, 196, 0.2), transparent 55%),
    linear-gradient(135deg, #0a1620 0%, #134e5e 42%, #1a7a6d 70%, #0d1b24 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Crect fill='%230d1b24' width='800' height='600'/%3E%3Cpath fill='%231a3a44' d='M0 380c80-40 160-60 240-50s160 40 240 30 160-50 240-40v230H0z'/%3E%3Cpath fill='%2300d7c433' d='M0 420c100-30 200-20 300 0s200 20 300-10 140-20 200-10v200H0z'/%3E%3C/svg%3E") center/cover;
}
.pub-hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  filter: none;
}
.pub-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Image already has left vignette — only a light text-readability veil */
  background:
    linear-gradient(180deg, rgba(6, 13, 18, 0.12) 0%, transparent 35%, rgba(6, 13, 18, 0.28) 100%),
    linear-gradient(95deg, rgba(6, 13, 18, 0.35) 0%, rgba(6, 13, 18, 0.08) 32%, transparent 55%);
}
.pub-hero-media.is-fallback .pub-hero-img,
.pub-hero-media.is-fallback picture {
  display: none !important;
}
.pub-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 34rem;
  color: #fff;
}
.pub-hero-content .pub-eyebrow {
  color: var(--p-gold);
  text-shadow: none;
}
.pub-hero-content h1 {
  color: #fff;
  font-family: var(--p-font-display);
  font-size: clamp(1.85rem, 7vw, 3rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}
.pub-hero-content .pub-lead {
  color: rgba(242, 246, 244, 0.86);
  font-size: 1.05rem;
  max-width: 30rem;
  line-height: 1.5;
}
.pub-btn-on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
}
.pub-btn-on-dark:hover {
  border-color: var(--p-gold);
  color: var(--p-gold);
}
.pub-benefit-pills {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.pub-benefit-pills li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  background: rgba(6, 13, 18, 0.45);
  color: rgba(242, 246, 244, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Hero variant B: gold key word, price line, pill icons, entrance motion */
.pub-hero-title .hm-gold {
  position: relative;
  color: #e2c99a;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(226, 201, 154, 0.65), 0 0 46px rgba(196, 165, 116, 0.35);
}
/* Shimmer: gold gradient clipped to the letters; glow moves to drop-shadow */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pub-hero-title .hm-gold {
    color: transparent;
    background: linear-gradient(100deg, #e2c99a 0%, #e2c99a 34%, #fffaf0 50%, #e2c99a 66%, #e2c99a 100%);
    background-size: 260% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(226, 201, 154, 0.6)) drop-shadow(0 0 26px rgba(196, 165, 116, 0.35));
  }
}
.pub-btn-pulse {
  position: relative;
}
.pub-btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(43, 184, 168, 0.75), 0 0 18px rgba(43, 184, 168, 0.45);
  opacity: 0;
  pointer-events: none;
}
.pub-hero-title .hm-gold::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.02em;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c4a574, #e2c99a);
  box-shadow: 0 0 10px rgba(226, 201, 154, 0.6);
}
.pub-hero-price {
  margin: 0.95rem 0 0;
  color: #e2c99a;
  font-size: 0.92rem;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(226, 201, 154, 0.45);
}
.pub-hero-price b {
  font-family: var(--p-font-display);
  font-size: 1.18rem;
}
.pub-benefit-pills li span {
  margin-right: 0.3rem;
  color: #2bb8a8;
}
.pub-hero-sweep {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .pub-hero-img {
    transform-origin: 70% 60%;
    animation: hm-kenburns 16s ease-out both;
  }
  .pub-hero-sweep::before {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 35%;
    transform: translateX(-120%) skewX(-18deg);
    will-change: transform;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 150, 0.16), transparent);
    animation: hm-sweep 2.4s ease-in-out 1.2s both;
  }
  .pub-hero-content .hm-in {
    animation: hm-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both;
  }
  .pub-hero-title .hm-w {
    display: inline-block;
    animation: hm-word 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both;
  }
  .pub-hero-title .hm-gold {
    animation:
      hm-word 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both,
      hm-glow 4s ease-in-out 1.6s infinite;
  }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .pub-hero-title .hm-gold {
      animation:
        hm-word 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both,
        hm-glow-drop 4s ease-in-out 1.25s infinite,
        hm-shimmer 5s ease-in-out 1.4s infinite;
    }
  }
  .pub-btn-pulse::after {
    animation: hm-pulse 2.8s ease-out 2.2s infinite;
  }
  .pub-hero-title .hm-gold::after {
    transform: scaleX(0);
    transform-origin: left;
    animation: hm-line 0.9s ease-out 1.2s both;
  }
}
@keyframes hm-kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes hm-sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(350%) skewX(-18deg); } }
@keyframes hm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hm-word { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hm-line { to { transform: scaleX(1); } }
@keyframes hm-glow-drop {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(226, 201, 154, 0.5)) drop-shadow(0 0 22px rgba(196, 165, 116, 0.3)); }
  50% { filter: drop-shadow(0 0 16px rgba(240, 214, 160, 1)) drop-shadow(0 0 46px rgba(214, 178, 120, 0.7)); }
}
@keyframes hm-shimmer {
  0% { background-position: 100% 0; }
  30%, 100% { background-position: 0% 0; }
}
@keyframes hm-pulse {
  0% { opacity: 0.9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.08, 1.3); }
}
@keyframes hm-glow {
  0%, 100% { text-shadow: 0 0 14px rgba(226, 201, 154, 0.45), 0 0 34px rgba(196, 165, 116, 0.22); }
  50% { text-shadow: 0 0 22px rgba(226, 201, 154, 0.75), 0 0 60px rgba(196, 165, 116, 0.4); }
}

.pub-home .pub-section {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--p-pad);
  padding-right: var(--p-pad);
}
.pub-home .pub-section { margin-bottom: 2.5rem; }
.pub-home .pub-footer { margin-top: 0; }

@media (min-width: 900px) {
  .pub-hero-screen {
    align-items: center;
    padding: 6.5rem 4rem 4rem;
  }
  .pub-hero-content {
    max-width: min(42rem, 46vw);
  }
  .pub-hero-content h1 {
    font-size: clamp(2.6rem, 4.4vw, 3.75rem);
    max-width: 13ch;
  }
  .pub-hero-img {
    object-position: 74% center;
  }
  .pub-hero-overlay {
    background:
      linear-gradient(95deg, rgba(6, 13, 18, 0.32) 0%, rgba(6, 13, 18, 0.08) 30%, transparent 52%);
  }
}

/* Phones: portrait crop + readable bottom text stack */
@media (max-width: 719px) {
  .pub-hero-screen {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding:
      calc(4.75rem + env(safe-area-inset-top, 0px))
      max(var(--p-pad), env(safe-area-inset-right, 0px))
      calc(1.35rem + env(safe-area-inset-bottom, 0px))
      max(var(--p-pad), env(safe-area-inset-left, 0px));
  }
  .pub-hero-img {
    object-position: center 52%;
  }
  .pub-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 13, 18, 0.28) 0%,
        rgba(6, 13, 18, 0.08) 28%,
        rgba(6, 13, 18, 0.22) 48%,
        rgba(6, 13, 18, 0.78) 78%,
        rgba(6, 13, 18, 0.92) 100%
      );
  }
  .pub-hero-content {
    max-width: none;
  }
  .pub-hero-content .pub-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.45rem;
  }
  .pub-hero-content h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
    max-width: 16ch;
  }
  .pub-hero-content .pub-lead {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.15rem;
  }
  .pub-hero-content .pub-cta-row {
    margin-top: 0.85rem;
  }
  .pub-hero-content .pub-btn {
    min-height: 48px;
    font-size: 0.9rem;
  }
  .pub-hero-price {
    margin-top: 0.75rem;
    font-size: 0.85rem;
  }
  .pub-benefit-pills {
    margin-top: 0.8rem;
    gap: 0.4rem;
  }
  .pub-benefit-pills li {
    padding: 0.38rem 0.7rem;
    font-size: 0.72rem;
  }
}

/* Phone landscape: keep mobile hero crop + compact header (avoid nav overlap) */
@media (max-height: 520px) and (orientation: landscape) {
  .pub-header {
    grid-template-columns: 1fr auto;
    top: 10px;
    left: 12px;
    right: 12px;
    padding: 0.5rem 0.65rem 0.5rem 0.8rem;
  }
  .pub-nav {
    display: none;
  }
  .pub-hero-screen {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding:
      calc(3.75rem + env(safe-area-inset-top, 0px))
      max(var(--p-pad), env(safe-area-inset-right, 0px))
      calc(0.85rem + env(safe-area-inset-bottom, 0px))
      max(var(--p-pad), env(safe-area-inset-left, 0px));
  }
  .pub-hero-img {
    object-position: center 48%;
  }
  .pub-hero-content h1 {
    font-size: clamp(1.35rem, 4.8vw, 1.75rem);
    max-width: 22ch;
    margin-bottom: 0.45rem;
  }
  .pub-hero-content .pub-lead {
    display: none;
  }
  .pub-hero-content .pub-cta-row {
    margin-top: 0.55rem;
  }
  .pub-benefit-pills,
  .pub-hero-price {
    display: none;
  }
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-switcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lang-switcher select {
  border: 1px solid var(--p-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--p-ink);
  padding: 0.4rem 0.55rem;
  font: inherit;
  font-size: 0.85rem;
  color-scheme: light;
  cursor: pointer;
  min-height: 40px;
}
.lang-switcher select:focus {
  outline: 2px solid rgba(0, 215, 196, 0.35);
  outline-offset: 1px;
}
.lang-switcher select option {
  background-color: #ffffff;
  color: #111111;
}

.pub-main {
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem var(--p-pad) calc(5.5rem + var(--p-safe-bottom));
}

.pub-main.pub-main-flush {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pub-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--p-gold);
  font-weight: 600;
  margin: 0 0 0.65rem;
  font-family: var(--p-font-body);
}
.pub-hero h1,
.pub-page-head h1,
.pub-thanks h1 {
  font-family: var(--p-font-display);
  font-size: clamp(1.75rem, 7.5vw, 2.55rem);
  line-height: 1.1;
  margin: 0 0 0.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pub-lead {
  color: var(--p-muted);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.pub-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
  width: 100%;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--p-font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.pub-btn:hover { text-decoration: none; }
.pub-btn-primary {
  background: var(--p-accent);
  color: var(--p-accent-ink);
}
.pub-btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.pub-btn-ghost {
  background: transparent;
  color: var(--p-ink);
  border-color: var(--p-line);
}
.pub-btn-ghost:hover { border-color: var(--p-accent); color: var(--p-accent); }
.pub-btn-sm {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  width: 100%;
}

.pub-panel {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 1rem;
  margin: 1rem 0;
}
.pub-panel h2 {
  font-family: var(--p-font-display);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.pub-date-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.pub-date-form .pub-btn { width: 100%; }

.pub-date-form label,
.pub-field label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--p-muted);
  font-weight: 600;
}

.field-input,
.pub-date-form input,
.pub-form input,
.pub-form textarea,
.pub-form select,
.pub-date-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--p-line);
  background: rgba(7, 16, 24, 0.75);
  color: var(--p-ink);
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
}

.pub-form textarea { min-height: 96px; resize: vertical; }

.pub-section { margin: 1.75rem 0; }
.pub-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.pub-section-head h2 {
  font-family: var(--p-font-display);
  margin: 0;
  font-size: 1.2rem;
}
.pub-section-head a { font-size: 0.88rem; white-space: nowrap; }

/* Cards: single column on phone */
.pub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
  justify-items: stretch;
}

.pub-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  transition: transform 0.25s ease;
}
.pub-card:hover {
  transform: translateY(-3px);
}
.pub-card-media {
  display: block;
  width: 100%;
  /* Match typical phone car photos — fills frame without extreme crop */
  aspect-ratio: 3 / 2;
  background: #0a151c;
  overflow: hidden;
  border-radius: var(--p-radius);
}
.pub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease;
}
.pub-card-media.is-portrait {
  position: relative;
  background: #0a151c var(--portrait-bg) center / cover no-repeat;
}
.pub-card-media.is-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px) brightness(0.55);
  -webkit-backdrop-filter: blur(18px) brightness(0.55);
}
.pub-card-media.is-portrait img {
  position: relative;
  object-fit: contain;
}
.pub-card:hover .pub-card-media img {
  transform: scale(1.03);
}
.pub-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.pub-card-empty {
  width: 100%;
  height: 100%;
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(43, 184, 168, 0.1), transparent),
    #0a151c;
}
.pub-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 0.85rem;
  box-sizing: border-box;
}
.pub-card-body .pub-btn-sm {
  width: auto;
  min-width: 8.5rem;
  align-self: center;
}
.pub-card-body h3 {
  font-family: var(--p-font-display);
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.pub-meta, .pub-specs, .pub-fine, .pub-copy {
  color: var(--p-muted);
  margin: 0.25rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.pub-specs { word-break: break-word; }

.pub-price {
  margin: 0.7rem 0 0.85rem;
  font-family: var(--p-font-display);
}
.pub-price span {
  font-size: 1.55rem;
  font-weight: 600;
}
.pub-price small {
  color: var(--p-gold);
  font-size: 0.82rem;
  margin-left: 0.2rem;
  font-family: var(--p-font-body);
  font-weight: 500;
}
.pub-price-alt {
  display: block;
  margin-top: 0.25rem;
  color: var(--p-muted);
  font-size: 0.8rem;
  font-weight: 400;
  font-family: var(--p-font-body);
}

.pub-page-head { margin: 0.85rem 0 0.75rem; }
.pub-chip {
  display: inline-block;
  max-width: 100%;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--p-accent);
  color: var(--p-accent);
  font-size: 0.78rem;
  word-break: break-word;
}

/* Gallery: stack on mobile */
.pub-gallery {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  grid-template-columns: 1fr;
}
.pub-gallery-main,
.pub-gallery-thumb {
  margin: 0;
  border-radius: var(--p-radius);
  overflow: hidden;
  border: 1px solid var(--p-line);
  aspect-ratio: 16 / 10;
}

.pub-price-stack {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.85rem;
}
.pub-price-card {
  border: 1px solid var(--p-accent);
  border-radius: var(--p-radius);
  padding: 0.9rem 1rem;
  background: rgba(0, 215, 196, 0.06);
}
.pub-price-label {
  margin: 0 0 0.3rem;
  color: var(--p-muted);
  font-size: 0.82rem;
}

.pub-estimate {
  color: var(--p-ink);
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.pub-warn {
  color: var(--p-warn);
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}

/* Sticky primary CTA on detail/book — phone */
.pub-cta-sticky {
  position: sticky;
  bottom: calc(0.75rem + var(--p-safe-bottom));
  z-index: 30;
  margin: 1.25rem 0 0;
  padding: 0.65rem;
  border-radius: 18px;
  background: rgba(7, 16, 24, 0.92);
  border: 1px solid var(--p-line);
  backdrop-filter: blur(10px);
}

.pub-form { display: grid; gap: 0.9rem; }
.pub-extras {
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  border: 1px solid rgba(43, 184, 168, 0.32);
  border-radius: var(--p-radius);
  background:
    linear-gradient(180deg, rgba(43, 184, 168, 0.07), rgba(6, 13, 18, 0.2)),
    rgba(10, 20, 28, 0.55);
  display: grid;
  gap: 0.7rem;
}
.pub-extras legend {
  font-family: var(--p-font-display);
  color: var(--p-gold);
  padding: 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
}
.pub-extras .pub-fine {
  margin: 0;
  color: var(--p-muted);
}
.pub-extras-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.pub-extras .pub-field label {
  color: var(--p-ink);
  font-weight: 600;
}
.pub-extras-price-note {
  margin: -0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--p-gold);
  font-weight: 500;
}
.pub-field.has-error .field-input,
.pub-field.has-error input,
.pub-field.has-error textarea,
.pub-field.has-error select {
  border-color: var(--p-danger);
}
.pub-field-error, .pub-errors {
  color: var(--p-danger);
  font-size: 0.85rem;
  margin: 0.3rem 0 0;
}
.pub-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--p-ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.pub-check input {
  width: auto;
  min-height: auto;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pub-thanks {
  text-align: left;
  padding: 1.25rem 1rem;
}
.pub-ref {
  font-size: 0.82rem;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--p-line);
}
.pub-ref code { color: var(--p-accent); }

.pub-empty {
  text-align: center;
  padding: 2rem 0.75rem;
}
.pub-empty h2 {
  font-family: var(--p-font-display);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.pub-footer {
  border-top: 1px solid var(--p-line);
  padding: 1.25rem var(--p-pad) calc(1.5rem + var(--p-safe-bottom));
  margin-top: auto;
}
.pub-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}
.pub-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 0.5rem;
  font-size: 0.9rem;
}
.pub-legal-links a {
  color: var(--p-muted);
  text-decoration: none;
}
.pub-legal-links a:hover {
  color: var(--p-accent);
  text-decoration: underline;
}

.pub-legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}
.pub-legal-block {
  margin: 0 0 1.75rem;
}
.pub-legal-block h2 {
  font-family: var(--p-font-display);
  font-size: 1.15rem;
  color: var(--p-accent);
  margin: 0 0 0.65rem;
}
.pub-legal-block p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.55;
}
.pub-legal .pub-check-list {
  margin: 0;
}
.pub-legal-cta {
  margin: 1.5rem 0 0;
}
.pub-check a {
  color: var(--p-accent);
}
.pub-footer-brand {
  font-family: var(--p-font-display);
  font-weight: 600;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--p-ink);
  letter-spacing: -0.01em;
}
.pub-contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

/* Tablet+ */
@media (min-width: 560px) {
  .pub-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pub-btn,
  .pub-btn-sm {
    width: auto;
  }
  .pub-price-stack {
    grid-template-columns: 1fr 1fr;
  }
  .pub-extras-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pub-thanks { text-align: center; }
  .pub-contact-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (min-width: 720px) {
  :root { --p-pad: 1.25rem; --p-radius: 20px; }

  .pub-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    top: 16px;
    left: 24px;
    right: 24px;
    padding: 0.7rem 1rem 0.7rem 1.15rem;
    gap: 1rem 1.25rem;
  }
  .pub-nav {
    display: flex;
    justify-self: center;
  }
  .pub-nav-toggle,
  .pub-nav-backdrop,
  .pub-nav-drawer {
    display: none !important;
  }
  .pub-header-actions {
    justify-self: end;
  }
  .pub-brand img { width: 40px; height: 40px; }
  .pub-brand strong { font-size: 1.15rem; }
  .pub-brand small { font-size: 0.66rem; letter-spacing: 0.06em; }

  .pub-main {
    padding: 0.5rem var(--p-pad) 3rem;
  }
  .pub-main.pub-main-flush {
    padding: 0;
    max-width: none;
    margin: 0;
  }
  .pub-body:not(.pub-home) .pub-main {
    padding-top: 6rem;
  }

  .pub-hero {
    padding: 2.25rem 0 1.25rem;
    max-width: 40rem;
  }
  .pub-date-form {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
  .pub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .pub-gallery {
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
  }
  .pub-gallery-main { grid-row: span 2; }
  .pub-cta-sticky {
    position: static;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
  }
  .pub-section-head h2 { font-size: 1.4rem; }
}

@media (min-width: 960px) {
  .pub-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-body {
    background:
      radial-gradient(900px 520px at 10% -10%, rgba(43, 184, 168, 0.12), transparent 55%),
      radial-gradient(680px 420px at 100% 0%, rgba(196, 165, 116, 0.07), transparent 50%),
      linear-gradient(168deg, var(--p-bg0), var(--p-bg1) 55%, #08141b);
    background-attachment: fixed;
  }
}

/* Fleet page banner + home handover strip */
.pub-page-banner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 180px;
  margin: -0.5rem calc(-1 * var(--p-pad)) 1rem;
  width: calc(100% + 2 * var(--p-pad));
}
.pub-page-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.pub-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 24, 0.75), rgba(7, 16, 24, 0.25));
}
.pub-page-banner-copy {
  position: absolute;
  left: var(--p-pad);
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}
.pub-page-banner-copy h1 {
  margin: 0;
  font-family: var(--p-font-display);
  font-size: 1.6rem;
}
.pub-page-head-after-banner { margin-top: 0; }

/* Fleet page banner: title + stats on the left, small Gagea Rent key on the right */
.pub-fleet-brand {
  height: 300px;
  background: radial-gradient(90% 140% at 85% 20%, #123441 0%, #0b161e 50%, #060d12 100%);
  border-bottom: 1px solid rgba(226, 201, 154, 0.18);
}
.pub-fleet-brand .pub-page-banner-copy {
  left: var(--p-pad);
  right: var(--p-pad);
  bottom: 1.1rem;
  z-index: 2;
}
/* the generic banner rules size every <img> as a photo; keep the key's images natural */
.pub-fleet-brand .pub-keyart img { min-height: 0; height: auto; object-fit: contain; }
.pub-fleet-brand .pub-page-banner-copy h1 { text-shadow: 0 0 22px rgba(226, 201, 154, 0.35); }
.pub-fleet-brand .pub-keyart-mini {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 56%;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pub-fleet-brand .pub-keyart-mini .pub-keyart-stage { padding-top: 16%; font-size: 4px; font-size: 3.1cqh; }
.pub-fleet-brand-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
  padding: 0;
}
.pub-fleet-brand-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 20, 28, 0.75);
  border: 1px solid rgba(226, 201, 154, 0.35);
  color: var(--p-ink);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(43, 184, 168, 0.15);
}
.pub-fleet-brand-chips li span { color: var(--p-accent); }
.pub-fleet-brand-chips li.is-gold {
  color: #e2c99a;
  border-color: rgba(226, 201, 154, 0.6);
  text-shadow: 0 0 10px rgba(226, 201, 154, 0.45);
  box-shadow: 0 0 18px rgba(226, 201, 154, 0.2);
}
.pub-fleet-brand-chips li.is-gold span { color: #e2c99a; }
@media (min-width: 720px) {
  .pub-fleet-brand .pub-page-banner-copy { bottom: 50%; transform: translateY(50%); right: 40%; }
  .pub-fleet-brand { height: 250px; }
  .pub-fleet-brand .pub-keyart-mini { width: 46%; height: 100%; }
  .pub-fleet-brand .pub-keyart-mini .pub-keyart-stage { padding-top: 5%; font-size: 2.6cqh; }
  .pub-fleet-brand-chips li { font-size: 0.85rem; }
}

.pub-handover {
  max-width: 1320px;
  margin: 0 auto 2.5rem;
  padding: 0 var(--p-pad);
  display: grid;
  gap: 1rem;
}
.pub-handover-media {
  border-radius: var(--p-radius);
  overflow: hidden;
  border: 1px solid var(--p-line);
  aspect-ratio: 16 / 10;
}
.pub-handover-media picture,
.pub-page-banner picture {
  display: block;
  height: 100%;
}
.pub-handover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-handover-copy h2 {
  font-family: var(--p-font-display);
  font-size: 1.4rem;
  margin: 0 0 0.65rem;
}
@media (min-width: 800px) {
  .pub-page-banner,
  .pub-page-banner img { min-height: 240px; height: 240px; }
  .pub-handover {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 1.75rem;
  }
}

/* Handover section: floating Gagea Rent car key (replaces the stock photo) */
.pub-keyart {
  position: relative;
  container-type: size;
  border-color: rgba(226, 201, 154, 0.2);
  background: radial-gradient(80% 70% at 30% 20%, #123441 0%, #0b161e 55%, #060d12 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.pub-keyart-bokeh i {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.35;
}
.pub-keyart-bokeh i:nth-child(1) { left: 8%; top: 20%; width: 14%; aspect-ratio: 1; background: rgba(43, 184, 168, 0.35); }
.pub-keyart-bokeh i:nth-child(2) { left: 78%; top: 12%; width: 18%; aspect-ratio: 1; background: rgba(226, 201, 154, 0.25); }
.pub-keyart-bokeh i:nth-child(3) { left: 72%; top: 68%; width: 11%; aspect-ratio: 1; background: rgba(43, 184, 168, 0.3); }
.pub-keyart-bokeh i:nth-child(4) { left: 12%; top: 66%; width: 16%; aspect-ratio: 1; background: rgba(226, 201, 154, 0.22); }
.pub-keyart-bokeh i:nth-child(5) { left: 44%; top: 4%; width: 8%; aspect-ratio: 1; background: rgba(255, 190, 120, 0.35); }
.pub-keyart-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 9%;
  perspective: 900px;
  /* key is sized in em; 1em follows the panel height */
  font-size: 10px;
  font-size: 2.05cqh;
}
.pub-keyart-key {
  position: relative;
  transform: rotateZ(-6deg);
  transform-style: preserve-3d;
}
.pub-keyart-fob {
  position: relative;
  width: 23em;
  height: 29em;
  border-radius: 6em;
  background:
    radial-gradient(70% 50% at 40% 38%, rgba(43, 184, 168, 0.22), transparent 70%),
    linear-gradient(160deg, #1a2a33 0%, #0a1218 60%, #05090c 100%);
  border: 2px solid rgba(226, 201, 154, 0.8);
  box-shadow:
    0 0 0 0.6em rgba(10, 18, 24, 0.9),
    0 0 0 0.7em rgba(226, 201, 154, 0.35),
    0 2.5em 6em rgba(0, 0, 0, 0.6),
    0 0 5em rgba(43, 184, 168, 0.3);
  overflow: hidden;
  outline: 1px solid transparent; /* smoother edges while rotating */
  backface-visibility: hidden;
}
.pub-keyart-fob .pub-keyart-logo {
  position: absolute;
  left: 2.9em;
  top: 1.6em;
  width: 19.4em;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 0 0.9em rgba(43, 184, 168, 0.55)) drop-shadow(0 0.4em 0.8em rgba(0, 0, 0, 0.6));
}
.pub-keyart-fob::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 240, 210, 0.26) 50%, transparent 60%);
  transform: translateX(-60%);
  pointer-events: none;
}
.pub-keyart-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2em;
  display: flex;
  justify-content: center;
  gap: 1.1em;
}
.pub-keyart-btns b {
  display: grid;
  place-items: center;
  width: 3.1em;
  height: 3.1em;
  border-radius: 50%;
  background: #0e1a21;
  border: 1px solid rgba(242, 246, 244, 0.15);
}
.pub-keyart-btns svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: var(--p-muted);
  stroke-width: 2;
  stroke-linecap: round;
}
.pub-keyart-btns b.is-on {
  box-shadow: 0 0 1.2em rgba(43, 184, 168, 0.75);
}
.pub-keyart-btns b.is-on svg { stroke: var(--p-accent); }
/* key ring through the fob's top-left corner, palm charm hanging straight down from it */
/* hole punched in the fob's top-left corner; the key ring goes through it */
.pub-keyart-hole {
  position: absolute;
  z-index: 1;
  left: 2.6em;
  top: 2.2em;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: #04080b;
  box-shadow: inset 0 0.15em 0.3em rgba(0, 0, 0, 0.9), 0 0 0 0.25em rgba(201, 176, 127, 0.9);
}
.pub-keyart-ring {
  position: absolute;
  z-index: 3;
  left: calc(50% - 14.8em);
  top: -2em;
  width: 7.2em;
  height: 7.2em;
  border-radius: 50%;
  border: 0.42em solid #c9b07f;
  box-shadow: 0 0 1em rgba(226, 201, 154, 0.55), inset 0 0 0.4em rgba(0, 0, 0, 0.5);
  transform: translateZ(3px);
  pointer-events: none;
}
.pub-keyart-charm {
  position: absolute;
  z-index: 2;
  left: calc(50% - 11.2em);
  top: 5em;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  transform: translateZ(2px);
}
.pub-keyart-link {
  position: absolute;
  left: -0.7em;
  width: 1.4em;
  height: 2.2em;
  border-radius: 0.7em;
  border: 0.3em solid #c9b07f;
  box-shadow: 0 0 0.6em rgba(226, 201, 154, 0.5);
}
.pub-keyart-link:nth-child(1) { top: 0; }
.pub-keyart-link:nth-child(2) { top: 1.6em; }
.pub-keyart-link:nth-child(3) { top: 3.2em; }
.pub-keyart-link.is-edge {
  left: -0.2em;
  width: 0.4em;
  border-width: 0;
  background: linear-gradient(90deg, #a88d5c, #e8d3a4, #a88d5c);
}
.pub-keyart-charm img {
  position: absolute;
  left: -4.6em;
  top: 4.4em;
  width: 7.6em;
  height: auto;
  filter: drop-shadow(0 0 0.7em rgba(240, 200, 120, 0.85)) drop-shadow(0 0.3em 0.5em rgba(0, 0, 0, 0.6));
}
.pub-keyart-floor {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 34%;
  height: 6%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 184, 168, 0.35), transparent);
  filter: blur(6px);
}
.pub-keyart-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 20, 28, 0.8);
  border: 1px solid rgba(226, 201, 154, 0.35);
  color: var(--p-ink);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(43, 184, 168, 0.18);
}
.pub-keyart-chip span { color: var(--p-accent); }
.pub-keyart-chip-1 { left: 6%; top: 12%; }
.pub-keyart-chip-2 { right: 6%; top: 42%; }
.pub-keyart-chip-3 { left: 8%; bottom: 14%; }
@media (max-width: 719px) {
  /* taller panel on phones so the key and logo read well */
  .pub-keyart { aspect-ratio: 1 / 1; }
  .pub-keyart-stage { font-size: 10px; font-size: 2.05cqh; padding-top: 6%; }
  .pub-keyart-chip { font-size: 0.68rem; padding: 0.35rem 0.6rem; }
  .pub-keyart-chip-1 { left: 4%; top: 8%; }
  .pub-keyart-chip-2 { right: 4%; top: auto; bottom: 8%; }
  .pub-keyart-chip-3 { left: 4%; bottom: 8%; }
}
/* Motion only while the section is on screen (is-live set by public.js) */
@media (prefers-reduced-motion: no-preference) {
  .pub-keyart.is-live .pub-keyart-key { animation: ka-spin 7s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-fob::after { animation: ka-sheen 4s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-logo { animation: ka-glow 4s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-btns b.is-on { animation: ka-blink 2.4s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-charm { animation: ka-swing 3s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-floor { animation: ka-floor 7s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-bokeh i { animation: ka-bokeh 9s ease-in-out infinite; }
  .pub-keyart.is-live .pub-keyart-bokeh i:nth-child(2) { animation-delay: -3s; }
  .pub-keyart.is-live .pub-keyart-bokeh i:nth-child(3) { animation-delay: -5s; }
  .pub-keyart.is-live .pub-keyart-bokeh i:nth-child(4) { animation-delay: -1.5s; }
  .pub-keyart.is-live .pub-keyart-bokeh i:nth-child(5) { animation-delay: -7s; }
  .pub-keyart.is-live .pub-keyart-chip { animation: ka-chip 6s ease-in-out infinite both; }
  .pub-keyart.is-live .pub-keyart-chip-2 { animation-delay: 2s; }
  .pub-keyart.is-live .pub-keyart-chip-3 { animation-delay: 4s; }
}
@keyframes ka-spin {
  0%, 100% { transform: translateY(-0.6em) rotateY(-12deg) rotateZ(-7deg); }
  50% { transform: translateY(0.8em) rotateY(12deg) rotateZ(-4deg); }
}
@keyframes ka-sheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
@keyframes ka-glow {
  50% { filter: drop-shadow(0 0 1.6em rgba(43, 184, 168, 0.95)) drop-shadow(0 0.4em 0.8em rgba(0, 0, 0, 0.6)); }
}
@keyframes ka-blink { 50% { box-shadow: 0 0 2.2em rgba(43, 184, 168, 1); } }
@keyframes ka-swing { 0%, 100% { transform: translateZ(2px) rotate(7deg); } 50% { transform: translateZ(2px) rotate(-5deg); } }
@keyframes ka-floor { 50% { transform: translateX(-50%) scaleX(0.8); opacity: 0.6; } }
@keyframes ka-bokeh {
  0%, 100% { opacity: 0.1; transform: translateY(10px) scale(0.9); }
  40%, 60% { opacity: 0.55; transform: translateY(-10px) scale(1); }
}
@keyframes ka-chip {
  0% { opacity: 0; transform: translateY(8px); }
  10%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Marketing bands */
.pub-facts {
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--p-line);
}
.pub-facts-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem var(--p-pad);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.pub-fact-label {
  display: block;
  color: var(--p-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.pub-fact strong {
  font-family: var(--p-font-display);
  font-size: 1.05rem;
}
.pub-fact small { color: var(--p-gold); font-size: 0.8rem; }

.pub-band {
  padding: 3.25rem 0;
}
.pub-band-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--p-line);
  border-bottom: 1px solid var(--p-line);
}
.pub-band-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--p-pad);
}
.pub-section-intro {
  max-width: 38rem;
  margin-bottom: 1.85rem;
}
.pub-section-intro h2 {
  font-family: var(--p-font-display);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  margin: 0 0 0.7rem;
  line-height: 1.12;
  font-weight: 600;
}
.pub-date-form-lg {
  margin: 0;
}
.pub-grid-featured {
  margin-bottom: 1.5rem;
}
.pub-more-fleet {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--p-line);
}
.pub-more-fleet h3 {
  font-family: var(--p-font-display);
  margin: 0 0 0.35rem;
}
.pub-more-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pub-more-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--p-line);
  background: var(--p-panel);
  color: inherit;
  text-decoration: none;
}
.pub-more-list a:hover { border-color: var(--p-accent); }
.pub-more-list span { color: var(--p-muted); font-size: 0.88rem; }

.pub-check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.pub-check-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--p-muted);
}
.pub-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--p-accent);
}

.pub-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.pub-step-num {
  display: block;
  color: var(--p-accent);
  font-family: var(--p-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.pub-steps h3 {
  font-family: var(--p-font-display);
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.pub-steps p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.45;
}

.pub-essentials {
  display: grid;
  gap: 1rem;
}
.pub-essentials article {
  padding: 1.1rem 1.15rem;
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
  background: var(--p-panel);
}
.pub-essentials h3 {
  font-family: var(--p-font-display);
  margin: 0 0 0.45rem;
  color: var(--p-accent);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.pub-ess-icon {
  width: 30px;
  height: 30px;
  flex: none;
  padding: 6px;
  border-radius: 10px;
  fill: none;
  stroke: var(--p-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(43, 184, 168, 0.12);
  border: 1px solid rgba(43, 184, 168, 0.35);
}
.pub-gold-glow {
  color: var(--p-gold);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(226, 201, 154, 0.5);
}
.pub-essentials p {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.45;
}

.pub-cta-final {
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(0, 215, 196, 0.18), transparent 55%),
    linear-gradient(165deg, #0a1620, #0d1b24);
  border-top: 1px solid var(--p-line);
}
.pub-cta-final-inner {
  max-width: 40rem;
}
.pub-cta-final h2 {
  font-family: var(--p-font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 0.65rem;
}

.pub-home .pub-handover {
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 720px) {
  .pub-facts-inner { grid-template-columns: repeat(3, 1fr); }
  .pub-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .pub-essentials { grid-template-columns: repeat(3, 1fr); }
  .pub-more-list { grid-template-columns: 1fr 1fr; }
}

/* FAB + scroll top */
.pub-fab-whatsapp {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, calc(14px + var(--p-safe-bottom)));
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.pub-fab-whatsapp:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
  text-decoration: none !important;
}

.pub-scroll-top {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(78px, calc(78px + var(--p-safe-bottom)));
  z-index: 9997;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px 0 0 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.pub-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.pub-scroll-top:hover {
  background: rgba(0, 0, 0, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .pub-fab-whatsapp,
  .pub-scroll-top,
  .pub-card,
  .pub-card-media img,
  .pub-reveal {
    transition: none;
  }
  .pub-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Section reveal */
.pub-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.pub-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Cookie consent banner (Coastal night) */
.pub-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + var(--p-safe-bottom));
  z-index: 60;
  padding: 1rem 1.15rem;
  background: rgba(8, 16, 22, 0.97);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: pub-cookie-in 0.4s ease both;
}
.pub-cookie[hidden] { display: none; }
.pub-cookie-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}
@keyframes pub-cookie-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.pub-cookie-text {
  flex: 1 1 320px;
  min-width: 0;
}
.pub-cookie-text strong {
  display: block;
  font-family: var(--p-font-display);
  font-size: 1.02rem;
  color: var(--p-ink);
  margin-bottom: 0.2rem;
}
.pub-cookie-text p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--p-muted);
}
.pub-cookie-text a {
  color: var(--p-accent);
  white-space: nowrap;
}
.pub-cookie-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}
.pub-cookie-btn {
  font-family: var(--p-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--p-line);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.pub-cookie-btn:hover { transform: translateY(-1px); }
.pub-cookie-reject {
  background: transparent;
  color: var(--p-ink);
}
.pub-cookie-reject:hover { border-color: var(--p-muted); }
.pub-cookie-accept {
  background: var(--p-accent);
  color: var(--p-accent-ink);
  border-color: var(--p-accent);
}
.pub-cookie-accept:hover { background: #34cdba; }
.pub-cookie-reopen {
  font-family: var(--p-font-body);
  font-size: inherit;
  color: var(--p-accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.pub-cookie-reopen:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .pub-cookie-actions {
    width: 100%;
    margin-left: 0;
  }
  .pub-cookie-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-cookie-inner { animation: none; }
  .pub-cookie-btn:hover { transform: none; }
}

/* Gallery lightbox (click a photo to view full size) */
.pub-gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.pub-gallery-open:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}

.pub-noscroll { overflow: hidden; }

.pub-lightbox {
  position: fixed;
  inset: 0;
  /* Above the fixed header (9999) and WhatsApp FAB so controls aren't covered. */
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem calc(1rem + var(--p-safe-bottom));
  background: rgba(3, 8, 11, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pub-cookie-in 0.2s ease both;
}
.pub-lightbox[hidden] { display: none; }
.pub-lightbox-img {
  max-width: 95vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.pub-lightbox-close,
.pub-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--p-line);
  background: rgba(10, 20, 28, 0.72);
  color: var(--p-ink);
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pub-lightbox-img { position: relative; z-index: 1; }
.pub-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
}
.pub-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}
.pub-lightbox-prev { left: 1rem; }
.pub-lightbox-next { right: 1rem; }
.pub-lightbox-close:hover,
.pub-lightbox-nav:hover { background: rgba(43, 184, 168, 0.25); }
@media (prefers-reduced-motion: reduce) {
  .pub-lightbox { animation: none; }
}

/* ------------------------------------------------------------------
   Car detail page (vehicle_detail.html): spec chips, hero gallery with
   thumbnails, booking card (sticky on desktop), bottom bar on phone.
   ------------------------------------------------------------------ */
.pub-vd-head { margin-bottom: 1rem; }
.pub-vd-head h1 { margin-bottom: 0.85rem; }

.pub-vd-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pub-vd-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--p-line);
  background: var(--p-panel);
  font-size: 0.82rem;
  color: var(--p-ink);
  animation: pub-vd-rise 0.5s ease both;
  animation-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.pub-vd-chip svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--p-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pub-vd-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

/* Hero photo: whole car visible (contain) over a blurred copy of itself,
   so portrait phone photos are never cropped to a headlight. */
.pub-vd-hero {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--p-radius);
  overflow: hidden;
  border: 1px solid var(--p-line);
  background: #0a151c;
  animation: pub-vd-fade 0.6s ease both;
}
.pub-vd-hero-fill {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(26px) brightness(0.55) saturate(1.1);
  transform: scale(1.05);
}
.pub-vd-hero-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.pub-vd-hero-open:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: -3px;
}
.pub-vd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.28s ease, transform 0.6s ease;
}
.pub-vd-hero-img.is-swapping { opacity: 0; }
.pub-vd-hero:hover .pub-vd-hero-img { transform: scale(1.02); }
.pub-vd-empty { position: absolute; inset: 0; }

.pub-vd-nav,
.pub-vd-count,
.pub-vd-zoom {
  position: absolute;
  z-index: 2;
  background: rgba(8, 20, 27, 0.72);
  border: 1px solid rgba(242, 246, 244, 0.16);
  color: var(--p-ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pub-vd-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pub-vd-nav:hover { background: rgba(43, 184, 168, 0.3); }
.pub-vd-nav:active { transform: translateY(-50%) scale(0.94); }
.pub-vd-prev { left: 0.7rem; }
.pub-vd-next { right: 0.7rem; }
.pub-vd-count {
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  pointer-events: none;
}
.pub-vd-zoom {
  left: 0.7rem;
  bottom: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pub-vd-zoom svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.pub-vd-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pub-vd-thumbs::-webkit-scrollbar { display: none; }
.pub-vd-thumb {
  flex: 0 0 auto;
  width: 5.5rem;
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #0a151c;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.pub-vd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-vd-thumb:hover { opacity: 0.85; }
.pub-vd-thumb.is-active {
  opacity: 1;
  border-color: var(--p-accent);
}
.pub-vd-thumb:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}

/* Short description + "perfect for" tags under the gallery */
.pub-vd-about {
  margin-top: 1.5rem;
  animation: pub-vd-rise 0.55s ease both 0.25s;
}
.pub-vd-about h2 {
  font-family: var(--p-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.pub-vd-about > p:not(.pub-vd-for-label) {
  color: #c9d6d3;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  max-width: 42rem;
}
.pub-vd-for-label {
  margin: 1rem 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-muted);
  font-weight: 600;
}
.pub-vd-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pub-vd-tags li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.4);
  color: var(--p-gold);
  font-size: 0.8rem;
}

/* "You might also like" — other cars at the end of the car page */
.pub-vd-more { margin-top: 2.5rem; }
.pub-vd-more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.pub-vd-more-head h2 {
  font-family: var(--p-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}
.pub-vd-more-head a {
  font-size: 0.85rem;
  white-space: nowrap;
}
.pub-vd-more-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.25rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pub-vd-more-list::-webkit-scrollbar { display: none; }
.pub-vd-more-card { scroll-snap-align: start; }
.pub-vd-more-card > a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.pub-vd-more-card .pub-card-body { align-items: flex-start; text-align: left; }
.pub-vd-more-card .pub-specs { font-size: 0.8rem; }
.pub-vd-more-price {
  margin-top: 0.35rem;
  color: var(--p-muted);
  font-size: 0.85rem;
}
.pub-vd-more-price strong {
  color: var(--p-ink);
  font-family: var(--p-font-display);
  font-size: 1.15rem;
}
@media (min-width: 720px) {
  .pub-vd-more-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
}

/* Booking card */
.pub-vd-book {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: calc(var(--p-radius) + 4px);
  padding: 1.15rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  animation: pub-vd-rise 0.55s ease both 0.15s;
}
.pub-vd-price {
  margin: 0;
  font-family: var(--p-font-display);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.pub-vd-price-num {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
}
.pub-vd-price small {
  font-family: var(--p-font-body);
  color: var(--p-muted);
  font-size: 0.85rem;
}
.pub-vd-deal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.4);
  background: rgba(196, 165, 116, 0.1);
  color: var(--p-gold);
  font-size: 0.8rem;
  font-weight: 600;
}
/* Gold glow on the 7+ day rate (car page badge + fleet cards). The pulse is
   an extra glow layer whose opacity animates (compositor-only). */
.pub-vd-deal {
  position: relative;
  text-shadow: 0 0 10px rgba(226, 201, 154, 0.55);
  box-shadow:
    0 0 12px rgba(196, 165, 116, 0.22),
    inset 0 0 8px rgba(196, 165, 116, 0.1);
}
.pub-vd-deal::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow:
    0 0 22px rgba(196, 165, 116, 0.45),
    inset 0 0 12px rgba(196, 165, 116, 0.18);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  animation: pub-gold-pulse 3.2s ease-in-out infinite;
}
@keyframes pub-gold-pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
.pub-vd-deal svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.pub-vd-dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pub-vd-dates label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-muted);
  font-weight: 600;
}
.pub-vd-dates input {
  font-size: 0.88rem;
  padding: 0.55rem 0.6rem;
  min-width: 0;
}
.pub-vd-calc {
  width: 100%;
  min-height: 42px;
  font-size: 0.85rem;
}

.pub-vd-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0.95rem 0.1rem 0;
  font-size: 0.9rem;
  color: var(--p-muted);
  animation: pub-vd-fade 0.4s ease both;
}
.pub-vd-total strong {
  color: var(--p-ink);
  font-size: 1.2rem;
  font-family: var(--p-font-display);
}
.pub-vd-hint {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px dashed rgba(43, 184, 168, 0.4);
  background: rgba(43, 184, 168, 0.07);
  color: var(--p-muted);
  font-size: 0.8rem;
}
.pub-vd-hint strong { color: var(--p-accent); }

.pub-vd-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pub-vd-actions .pub-btn { width: 100%; }
.pub-vd-phone {
  text-align: center;
  font-size: 0.82rem;
  color: var(--p-muted);
  padding: 0.25rem 0;
}

.pub-vd-trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--p-line);
  display: grid;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--p-muted);
}
.pub-vd-trust li::before {
  content: "✓";
  color: var(--p-accent);
  font-weight: 700;
  margin-right: 0.55rem;
}

/* Phone: price + CTA pinned to the bottom (room left for the WhatsApp FAB). */
.pub-vd-bar {
  position: sticky;
  bottom: calc(0.75rem + var(--p-safe-bottom));
  z-index: 30;
  margin: 1.25rem 0 0;
  margin-right: 60px;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-radius: 18px;
  background: rgba(7, 16, 24, 0.94);
  border: 1px solid var(--p-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pub-vd-bar-price {
  margin: 0;
  line-height: 1.15;
  min-width: 0;
}
.pub-vd-bar-price strong {
  font-family: var(--p-font-display);
  font-size: 1.25rem;
}
.pub-vd-bar-price small { color: var(--p-muted); }
.pub-vd-bar-price span {
  display: block;
  font-size: 0.72rem;
  color: var(--p-gold);
}
.pub-vd-bar .pub-btn {
  width: auto;
  flex: none;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Car name glow: plays when the car page opens and again when the name is
   tapped; the fleet cards glow the name on hover / tap. */
.pub-vd-title {
  cursor: default;
  animation: pub-vd-glow 1.8s ease-out both 0.1s;
}
.pub-vd-title.is-glowing { animation: pub-vd-glow-again 1.4s ease-out both; }
.pub-card-body h3 {
  transition: text-shadow 0.35s ease, color 0.35s ease;
}
.pub-card:hover .pub-card-body h3,
.pub-card:active .pub-card-body h3,
.pub-card:focus-within .pub-card-body h3 {
  color: #fff;
  text-shadow:
    0 0 10px rgba(43, 184, 168, 0.55),
    0 0 26px rgba(43, 184, 168, 0.3);
}
@keyframes pub-vd-glow {
  0% { text-shadow: 0 0 0 rgba(43, 184, 168, 0); }
  35% {
    text-shadow:
      0 0 12px rgba(43, 184, 168, 0.75),
      0 0 34px rgba(43, 184, 168, 0.45),
      0 0 60px rgba(196, 165, 116, 0.25);
  }
  100% { text-shadow: 0 0 14px rgba(43, 184, 168, 0.18); }
}
/* Same curve under a second name so re-adding the class restarts it. */
@keyframes pub-vd-glow-again {
  0% { text-shadow: 0 0 14px rgba(43, 184, 168, 0.18); }
  35% {
    text-shadow:
      0 0 12px rgba(43, 184, 168, 0.75),
      0 0 34px rgba(43, 184, 168, 0.45),
      0 0 60px rgba(196, 165, 116, 0.25);
  }
  100% { text-shadow: 0 0 14px rgba(43, 184, 168, 0.18); }
}

@keyframes pub-vd-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes pub-vd-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 720px) {
  .pub-vd-thumb { width: 6.5rem; }
  .pub-vd-hero { aspect-ratio: 16 / 10; }
}

@media (min-width: 960px) {
  .pub-vd-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.75rem;
  }
  .pub-vd-book {
    position: sticky;
    top: 6.5rem;
  }
  .pub-vd-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pub-vd-title,
  .pub-vd-title.is-glowing { animation: none; text-shadow: 0 0 14px rgba(43, 184, 168, 0.18); }
  .pub-card-body h3 { transition: none; }
  .pub-vd-deal::after { animation: none; }
  .pub-vd-about,
  .pub-vd-chip,
  .pub-vd-hero,
  .pub-vd-book,
  .pub-vd-total { animation: none; }
  .pub-vd-hero-img,
  .pub-vd-thumb,
  .pub-vd-nav { transition: none; }
  .pub-vd-hero:hover .pub-vd-hero-img { transform: none; }
}

/* Fleet cards: the 7+ day rate sat inside .pub-price and inherited the big
   price size (".pub-price span"); keep it a small gold line with a glow. */
.pub-price .pub-price-alt {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--p-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--p-gold);
  text-shadow: 0 0 10px rgba(226, 201, 154, 0.5);
}
.pub-vd-bar-price span { text-shadow: 0 0 10px rgba(226, 201, 154, 0.5); }

/* Screen-reader-only heading (keeps the H1 → H2 → H3 outline on /cars/). */
.pub-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Phone landscape (≥720px wide but short): the 720px desktop header rules come
   later in this file and would show the inline nav over the brand, so restore
   the compact header with the hamburger menu here. */
@media (min-width: 720px) and (max-height: 520px) and (orientation: landscape) {
  .pub-header {
    grid-template-columns: 1fr auto;
  }
  .pub-nav,
  .pub-header-cta {
    display: none !important;
  }
  .pub-nav-toggle {
    display: inline-flex !important;
  }
  .pub-nav-backdrop {
    display: block !important;
  }
  .pub-nav-drawer {
    display: flex !important;
  }
}

/* Very narrow phones (iPhone SE 1st gen, 320px): keep brand and language picker apart */
@media (max-width: 359px) {
  .pub-brand img { width: 28px; height: 28px; }
  .pub-brand strong { font-size: 0.88rem; }
  .pub-brand small { font-size: 0.48rem; }
  .pub-header .lang-switcher select { max-width: 5.6rem; font-size: 0.7rem; }
  /* leave room for the WhatsApp button on the hero pills */
  .pub-benefit-pills { padding-right: 3.6rem; }
  .pub-keyart-chip-2 { right: 2%; bottom: 3%; }
  .pub-keyart-chip-1 { left: 2%; top: 3%; }
  .pub-keyart-stage { font-size: 6px; font-size: 1.85cqh; }
}

/* Honeypot field for the booking form: invisible to people, tempting to bots */
.pub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Home fleet: filter chips + one grid of equal cards (4 / 3 / 2 columns) */
.pub-fleet-chips {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  padding: 0.1rem 0 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.pub-fleet-chips::-webkit-scrollbar { display: none; }
.pub-fleet-chip {
  flex: none;
  font: inherit;
  font-size: 0.82rem;
  color: var(--p-ink);
  background: rgba(10, 20, 28, 0.6);
  border: 1px solid var(--p-line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pub-fleet-chip:hover { border-color: rgba(43, 184, 168, 0.55); }
.pub-fleet-chip.is-on {
  background: var(--p-accent);
  border-color: var(--p-accent);
  color: var(--p-accent-ink);
  font-weight: 600;
}
.pub-fleet-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, 1fr);
}
.pub-fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(10, 20, 28, 0.72);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pub-fleet-card[hidden] { display: none; }
.pub-fleet-card .pub-card-media {
  position: relative;
  aspect-ratio: 1 / 0.82;
  border-radius: 0;
}
.pub-fleet-badge {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.55);
  background: rgba(6, 13, 18, 0.85);
  color: var(--p-gold);
  font-size: 0.66rem;
  font-weight: 600;
}
.pub-fleet-badge.is-teal { border-color: rgba(43, 184, 168, 0.55); color: var(--p-accent); }
.pub-fleet-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem 0.7rem 0.8rem;
}
.pub-fleet-kicker {
  margin: 0;
  overflow: hidden;
  color: var(--p-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-fleet-body h3 {
  margin: 0;
  font-family: var(--p-font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.15;
}
.pub-fleet-pills {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.3rem;
  min-height: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pub-fleet-pills li {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(242, 246, 244, 0.07);
  font-size: 0.69rem;
}
.pub-fleet-pills li:nth-child(n + 3) { display: none; }
.pub-fleet-body .pub-price { margin: auto 0 0; padding-top: 0.3rem; }
.pub-fleet-body .pub-price .pub-price-alt { min-height: 1.2em; }
.pub-fleet-body .pub-btn-sm { width: 100%; min-width: 0; margin-top: 0.45rem; }
.pub-fleet-grid + .pub-more-fleet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.4rem;
  padding-top: 0;
  border-top: 0;
}
.pub-fleet-expand[hidden] { display: none; }
@media (min-width: 700px) {
  .pub-fleet-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .pub-fleet-card .pub-card-media { aspect-ratio: 4 / 3; }
  .pub-fleet-body { gap: 0.4rem; padding: 0.85rem 0.95rem 1rem; }
  .pub-fleet-body h3 { font-size: 1.12rem; }
  .pub-fleet-pills li { font-size: 0.7rem; }
  .pub-fleet-pills li:nth-child(n + 3) { display: block; }
}
@media (min-width: 1000px) {
  .pub-fleet-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (hover: hover) {
  .pub-fleet-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 184, 168, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
  .pub-fleet-card:hover .pub-card-media img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: no-preference) {
  .pub-fleet-card { animation: pub-fleet-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
}
@keyframes pub-fleet-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Home hero: one static scene. Clear photo (whole picture on desktop, zoomed out on
   phones), the Gagea Rent key hanging from the gold word of the title (placed by
   public.js), and the fleet drifting along the bottom (phones: under the photo).
   Without JS the key simply stays at its default spot on the right.
   ========================================================================== */
.pub-hero-dusk { position: absolute; inset: 0; z-index: 1; }
.pub-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #060d12;
  opacity: 0.08;
  pointer-events: none;
}
.pub-hero-bokeh { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pub-hero-bokeh i {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.4;
  animation: ka-bokeh 9s ease-in-out infinite;
}
.pub-hero-bokeh i:nth-child(1) { left: 8%; top: 20%; width: 14vmin; height: 14vmin; background: rgba(43, 184, 168, 0.35); }
.pub-hero-bokeh i:nth-child(2) { left: 62%; top: 8%; width: 18vmin; height: 18vmin; background: rgba(226, 201, 154, 0.28); animation-delay: -3s; }
.pub-hero-bokeh i:nth-child(3) { left: 84%; top: 66%; width: 12vmin; height: 12vmin; background: rgba(43, 184, 168, 0.3); animation-delay: -5s; }
.pub-hero-bokeh i:nth-child(4) { left: 30%; top: 72%; width: 16vmin; height: 16vmin; background: rgba(226, 201, 154, 0.22); animation-delay: -1.5s; }
.pub-hero-bokeh i:nth-child(5) { left: 46%; top: 4%; width: 8vmin; height: 8vmin; background: rgba(255, 190, 120, 0.35); animation-delay: -7s; }

/* The key: small, hangs from the gold word. public.js sets left/top/rotation. */
.pub-hero-keywrap {
  position: absolute;
  z-index: 4;
  left: auto;
  right: 3.5%;
  top: 35%;
  bottom: auto;
  width: 9.5%;
  height: 21%;
  perspective: 1100px;
}
.pub-hero-screen.key-pending .pub-hero-keywrap { opacity: 0; animation: pub-key-fallback 0s 3s forwards; }
.pub-hero-screen.key-ready .pub-hero-keywrap { opacity: 1; transition: opacity 0.45s ease; }
@keyframes pub-key-fallback { to { opacity: 1; } }
.pub-hero-keyturn { position: absolute; inset: 0; transform-origin: 50% 46%; }
.pub-hero-key.pub-keyart {
  position: absolute;
  inset: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.pub-hero-key .pub-keyart-stage { padding-top: 4%; }

/* Fleet drifting over the photo: two equal sets, the track moves by exactly one set (seamless). */
.pub-hero-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.pub-hero-fx::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(6, 13, 18, 0.8), rgba(6, 13, 18, 0.3) 55%, transparent);
}
.pub-fx-row {
  position: absolute;
  left: -4%;
  right: 0;
  bottom: 1.2%;
  overflow: hidden;
  transform: perspective(1200px) rotateX(9deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 52%, #000 84%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 52%, #000 84%, transparent 97%);
}
.pub-fx-track { display: flex; width: max-content; padding: 4px 0 8px; animation: pub-fx-drift 80s linear infinite; will-change: transform; }
.pub-hero-screen.fx-paused .pub-fx-track { animation-play-state: paused; }
.pub-fx-set { display: flex; gap: clamp(12px, 1.3vw, 20px); padding-right: clamp(12px, 1.3vw, 20px); }
@keyframes pub-fx-drift { to { transform: translateX(-50%); } }
.pub-fx-card {
  position: relative;
  flex: none;
  display: block;
  width: min(12.5vw, 23vh);
  min-width: 140px;
  border-radius: 15px;
  overflow: hidden;
  background: #0a141b;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(226, 201, 154, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pub-fx-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pub-fx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%, transparent 55%, rgba(6, 13, 18, 0.88));
  pointer-events: none;
}
.pub-fx-price {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 13, 18, 0.82);
  border: 1px solid rgba(226, 201, 154, 0.55);
  color: #e2c99a;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.1;
  white-space: nowrap;
}
.pub-fx-price small { font-weight: 600; opacity: 0.8; font-size: 0.62rem; margin-left: 2px; }
.pub-fx-name {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  z-index: 2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.pub-hero-label {
  position: absolute;
  left: 4rem;
  bottom: 5%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 30vw;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(6, 13, 18, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 201, 154, 0.4);
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}
.pub-hero-label b { color: #e2c99a; }
.pub-hero-label i { font-style: normal; color: #2bb8a8; }

/* Desktop: the whole photo (zoomed out), melting into the dark page on the left and top/bottom */
@media (min-width: 900px) {
  .pub-hero-fallback { display: none; }
  .pub-hero-media, .pub-hero-screen { background: #060d12; }
  .pub-hero-img {
    object-fit: contain;
    object-position: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 6%, #000 26%), linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, transparent 6%, #000 26%), linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent 100%);
    mask-composite: intersect;
  }
}

/* Tablets: key at the word (public.js), fleet row over the sky */
@media (min-width: 720px) and (max-width: 899px) {
  .pub-hero-keywrap { right: 4%; top: 14%; width: 18%; height: 20%; }
  .pub-hero-fx::before, .pub-hero-label { display: none; }
  .pub-fx-row {
    top: 30%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
  }
  .pub-fx-card { width: 132px; min-width: 0; }
  .pub-fx-set .pub-fx-card:nth-child(n + 8) { display: none; }
}

/* Phones: zoomed-out photo on top, fleet row under it, then the (unchanged) text */
@media (max-width: 719px) {
  .pub-hero-screen, .pub-hero-media { background: #07111a; }
  .pub-hero-fallback { display: none; }
  .pub-hero-dusk, .pub-hero-media picture, .pub-hero-img { height: 44dvh; bottom: auto; }
  .pub-hero-dusk { overflow: hidden; }
  .pub-hero-img { object-position: 92% 50%; }
  .pub-hero-overlay {
    bottom: auto;
    height: 44dvh;
    background: linear-gradient(180deg, rgba(6, 13, 18, 0.3) 0, transparent 18%, transparent 70%, #07111a 100%);
  }
  .pub-hero-keywrap { right: 4%; top: 13%; width: 26%; height: 16%; }
  .pub-hero-fx::before, .pub-hero-label { display: none; }
  .pub-fx-row {
    top: 46.5%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent);
  }
  .pub-fx-track { animation-duration: 48s; }
  .pub-fx-set { gap: 10px; padding-right: 10px; }
  .pub-fx-set .pub-fx-card:nth-child(n + 7) { display: none; }
  .pub-fx-card { width: 112px; min-width: 0; border-radius: 13px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(226, 201, 154, 0.4); }
  .pub-fx-card::after { background: linear-gradient(180deg, transparent 45%, rgba(6, 13, 18, 0.88)); }
  .pub-fx-price { top: 5px; right: 5px; padding: 2px 6px; font-size: 0.6rem; }
  .pub-fx-price small { font-size: 0.54rem; }
  .pub-fx-name { left: 8px; right: 8px; bottom: 6px; font-size: 0.62rem; }
  .pub-hero-screen .pub-benefit-pills,
  .pub-hero-screen .pub-hero-content .pub-lead { display: none; }
}
/* Landscape phones: the scene stays as in the original hero, no fleet row */
@media (max-height: 520px) and (orientation: landscape) { .pub-hero-fx { display: none; } }
@media (prefers-reduced-motion: reduce) { .pub-hero-bokeh i, .pub-fx-track { animation: none; } }

/* Handover: island map with the Selva base (replaces the second key) */
.pub-map {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border: 1px solid rgba(226, 201, 154, 0.22);
  background: radial-gradient(90% 80% at 62% 38%, #143a47 0%, #0b1c25 52%, #050b10 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 80px rgba(0, 0, 0, 0.35);
  perspective: 1200px;
}
.pub-map-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 38%, rgba(43, 184, 168, 0.16), transparent 58%),
    radial-gradient(circle at 20% 90%, rgba(226, 201, 154, 0.08), transparent 50%);
}
.pub-map-plane {
  position: absolute;
  inset: 2% 2% 13% 2%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s ease-out;
}
.pub-map-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pub-map-svg .lbl { opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.pub-map-svg .lbl.on { opacity: 1; }
.pub-map-svg .lbl rect { fill: rgba(6, 14, 20, 0.78); stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.pub-map-svg .lbl text { font-family: var(--p-font-body); font-size: 15.5px; font-weight: 500; fill: #f2f6f4; }
.pub-map-svg .lbl tspan.t { fill: #e2c99a; font-size: 12.5px; font-weight: 600; }
.pub-map-svg .lbl.base rect { stroke: rgba(226, 201, 154, 0.55); fill: rgba(20, 16, 8, 0.8); }
.pub-map-svg .lbl.base text { fill: #fff3d6; font-weight: 600; }
.pub-map-svg .land { stroke: rgba(226, 201, 154, 0.7); stroke-width: 2; stroke-linejoin: round; }
.pub-map-svg .ring { fill: none; stroke: #2bb8a8; stroke-linejoin: round; }
.pub-map-svg .ridge { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pub-map-svg .rt { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0.1, 0.2, 1); }
.pub-map-svg .rt-main { stroke: #f0d9a6; stroke-width: 4.5; filter: drop-shadow(0 0 7px rgba(226, 201, 154, 0.9)); transition-duration: 1.5s; }
.pub-map-svg .rt-br { stroke: #2bb8a8; stroke-width: 2.6; filter: drop-shadow(0 0 6px rgba(43, 184, 168, 0.8)); }
.pub-map-svg .flow { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 17; opacity: 0; transition: opacity 0.6s; }
.pub-map-svg .flow.on { opacity: 0.9; animation: pub-map-flow 1.6s linear infinite; }
.pub-map-svg .flow.gold { stroke: #fff3d6; stroke-width: 3.5; }
@keyframes pub-map-flow { to { stroke-dashoffset: -72; } }
.pub-map-svg .pin { opacity: 0; transition: opacity 0.5s; }
.pub-map-svg .pin.on { opacity: 1; }
.pub-map-svg .pin .core { fill: #2bb8a8; stroke: #06141a; stroke-width: 2.5; }
.pub-map-svg .pin .halo { fill: rgba(43, 184, 168, 0.22); }
.pub-map-svg .pin.base .core { fill: #f0d9a6; }
.pub-map-svg .pin.base .halo { fill: rgba(226, 201, 154, 0.25); }
.pub-map-svg .sonar { fill: none; stroke: #f0d9a6; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hm-pulse 2.4s ease-out infinite; }
.pub-map-svg .sonar.s2 { animation-delay: 1.2s; }
.pub-map-svg .car { fill: #fff; filter: drop-shadow(0 0 8px #fff); opacity: 0; }
.pub-map-svg .compass text { font-family: var(--p-font-body); font-size: 14px; font-weight: 600; fill: rgba(242, 246, 244, 0.75); }
.pub-map-svg .tag { font-family: var(--p-font-body); font-size: 12.5px; letter-spacing: 0.12em; fill: rgba(242, 246, 244, 0.45); }
.pub-map-svg .rname { font-family: var(--p-font-display); font-style: italic; font-size: 15px; fill: rgba(226, 201, 154, 0.7); letter-spacing: 0.06em; }
.pub-map-legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 0.6rem;
}
.pub-map-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 20, 28, 0.82);
  border: 1px solid rgba(226, 201, 154, 0.35);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.pub-map-chip span { color: var(--p-accent); }
@media (max-width: 719px) {
  .pub-map { aspect-ratio: 1 / 1.02; }
  .pub-map-plane { inset: 1% 1% 14% 1%; }
  .pub-map-svg .lbl:not(.key) { display: none; }
  .pub-map-svg .lbl text { font-size: 30px; }
  .pub-map-svg .lbl tspan.t { font-size: 23px; }
  .pub-map-svg .tag, .pub-map-svg .compass { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pub-map-svg .flow.on, .pub-map-svg .sonar { animation: none; } }

/* Car list: events on the island during the dates the client picked */
.pub-events-note {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--p-radius);
  border: 1px solid rgba(226, 201, 154, 0.35);
  background: rgba(10, 20, 28, 0.6);
}
.pub-events-note-title { margin: 0 0 0.4rem; color: var(--p-gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pub-events-note ul { margin: 0 0 0.4rem; padding: 0; list-style: none; display: grid; gap: 0.25rem; }
.pub-events-note li span { color: var(--p-muted); font-size: 0.88rem; margin-left: 0.3rem; }
