/* =========================================================
   Destin Elite Carts — Main Stylesheet
   Coastal / beach theme: ocean blue + white + warm sand
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --ocean: #0096c7;
  --ocean-light: #48cae4;
  --ocean-pale: #ade8f4;
  --deep-sea: #023e8a;
  --navy: #03045e;

  /* Warm sand accents */
  --sand: #e9c46a;
  --sand-deep: #e76f51;
  --coral: #f4a261;

  /* Neutrals */
  --foam: #f0fbff;
  --cloud: #f7fafc;
  --white: #ffffff;
  --ink: #1b2733;
  --slate: #51606e;
  --line: #e3ebf0;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(2, 62, 138, 0.08), 0 1px 2px rgba(2, 62, 138, 0.06);
  --shadow-md: 0 6px 20px rgba(2, 62, 138, 0.10);
  --shadow-lg: 0 18px 50px rgba(2, 62, 138, 0.16);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  /* Typography */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--deep-sea);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

ul {
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tint {
  background: var(--foam);
}

.section--sand {
  background: linear-gradient(180deg, #fff8ec 0%, #fdf3e3 100%);
}

/* Collapse the bottom pad so an adjacent same-color section doesn't double the gap */
.section--flush-bottom {
  padding-bottom: 0;
}

/* Reduced top pad — pulls a section up closer to the one above it */
.section--tight-top {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 150, 199, 0.32);
}

.btn--primary:hover {
  background: var(--deep-sea);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(2, 62, 138, 0.34);
}

.btn--sand {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

.btn--sand:hover {
  background: var(--sand-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
}

.btn--outline:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn--lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

.btn--light {
  background: var(--white);
  color: var(--deep-sea);
}

.btn--light:hover {
  background: var(--foam);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--navy);
}

.brand__logo {
  display: block;
  height: clamp(48px, 6vw, 58px);
  width: auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean), var(--deep-sea));
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--coral);
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__menu a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}

.nav__menu a:hover {
  color: var(--ocean);
  background: var(--foam);
}

.nav__menu a.active {
  color: var(--ocean);
  font-weight: 600;
}

.nav__cta {
  margin-left: 0.5rem;
}

/* Header CTA: white text on a solid blue background in EVERY state.
   Overrides the base `a` / `a:hover` / `.nav__menu a:hover` link colors via specificity,
   which would otherwise turn the text blue (invisible) on the blue button. */
.nav__cta .btn,
.nav__cta .btn:link,
.nav__cta .btn:visited,
.nav__cta .btn:focus,
.nav__cta .btn:active {
  background: var(--ocean);
  color: #ffffff;
}

.nav__cta .btn:hover {
  background: var(--deep-sea);
  color: #ffffff;
}

/* Header "Checkout" CTA — sand/coral accent so it stands apart from the blue
   "Reserve a Cart" button. Shown only when a cart is in localStorage (via main.js). */
.nav__cta--checkout .btn,
.nav__cta--checkout .btn:link,
.nav__cta--checkout .btn:visited,
.nav__cta--checkout .btn:focus,
.nav__cta--checkout .btn:active {
  background: var(--coral);
  color: #ffffff;
}

.nav__cta--checkout .btn:hover {
  background: var(--sand-deep);
  color: #ffffff;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  /* Semi-transparent ocean-blue overlay layered on top of a full-width beach photo —
     coastal blue tint, photo still visible through it (--ocean → --deep-sea).
     NOTE: Unsplash URL is a temporary placeholder — swap for a final asset before launch. */
  background:
    linear-gradient(180deg, rgba(0, 150, 199, 0.48) 0%, rgba(2, 62, 138, 0.55) 100%),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2400&q=80") center / cover no-repeat;
  overflow: hidden;
}

/* Full-bleed background video — sits behind the hero content (z-index 0),
   below the wave (1) and the glass card / text (2). */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  /* layered "waves" at the bottom */
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,40 C240,90 480,0 720,30 C960,60 1200,90 1440,45 L1440,90 L0,90 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.4rem;
  align-content: center;
  justify-items: center;
  text-align: center;
  min-height: clamp(440px, 68vh, 660px);
  padding-block: clamp(4rem, 11vw, 8rem) clamp(6rem, 12vw, 9rem);
  max-width: 760px;
  margin-inline: auto;
}

/* Hero logo — centered above the heading */
.hero__logo {
  height: 150px;
  width: auto;
  margin-inline: auto;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 6.5vw, 4.2rem);
  line-height: 1.05;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Feature / Value cards ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--foam);
  color: var(--ocean);
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--slate);
  font-size: 0.96rem;
}

/* SVG icons inside the rounded icon tile */
.card__icon svg {
  width: 28px;
  height: 28px;
}

/* Center the icon, heading & body text in the home "Our Commitment To You"
   cards; keep the pricing card's checklist left-aligned. */
.commitment-grid .card {
  text-align: center;
}

.commitment-grid .card__icon {
  margin-inline: auto;
}

.commitment-grid .check-list {
  text-align: left;
}

/* ---------- Cart preview (home, circular photos) ---------- */
.cart-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
}

.cart-preview {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.9rem;
  text-align: center;
}

.cart-preview__photo {
  display: grid;
  place-items: center;
  width: clamp(132px, 14vw, 170px);
  height: clamp(132px, 14vw, 170px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, var(--ocean-light), transparent 55%),
    linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 100%);
  color: var(--white);
  font-size: clamp(3rem, 7vw, 4rem);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}

.cart-preview:hover .cart-preview__photo {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cart-preview h3 {
  font-size: 1.15rem;
}

/* Drop a real photo in by replacing the emoji with <img>; it auto-crops to the circle. */
.cart-preview__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Fleet card photo fills the media box (badges stay on top; gradient shows if image fails). */
.cart-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Cart carousel (home) ---------- */
/* Shared layout: arrows flank the viewport, vertically centered on the cards */
[data-carousel] {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-carousel {
  --visible: 4;
  --gap: 2rem;
}

.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-block: 0.5rem;
}

.carousel-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.carousel-track > * {
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
}

.carousel-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ocean);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.carousel-arrow:hover {
  background: var(--ocean);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 940px) {
  .cart-carousel { --visible: 2; }
}

@media (max-width: 560px) {
  .cart-carousel { --visible: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

/* ---------- Customer reviews ---------- */
.review-carousel {
  --visible: 2;
  --gap: 1.5rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  text-align: left;
}

.review-card__name {
  font-size: 1.15rem;
}

.stars {
  color: var(--sand);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

.review-card__text {
  margin: 0;
  color: var(--slate);
  line-height: 1.7;
  /* Truncate to ~4 lines; full text shown in the modal */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__more {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ocean);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.review-card__more:hover {
  color: var(--deep-sea);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .review-carousel { --visible: 1; }
}

/* ---------- Review modal ---------- */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.review-modal[hidden] {
  display: none;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 40, 0.55);
  backdrop-filter: blur(2px);
}

.review-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 5vw, 2.6rem);
}

.review-modal__dialog .stars {
  font-size: 1.2rem;
}

.review-modal__dialog h3 {
  font-size: 1.35rem;
  margin: 0.4rem 0 0.9rem;
}

.review-modal__dialog p {
  margin: 0;
  color: var(--slate);
  line-height: 1.75;
}

.review-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--cloud);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.review-modal__close:hover {
  background: var(--ocean);
  color: var(--white);
}

/* ---------- Fleet preview cards ---------- */
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.fleet-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ocean-light), var(--deep-sea));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 3rem;
}

.fleet-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-sea);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.fleet-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.fleet-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.fleet-card__body p {
  color: var(--slate);
  font-size: 0.92rem;
}

/* ---------- Steps (How it works) ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 1.6rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sand-deep));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ---------- Split / Info section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__visual {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 360px;
  background:
    radial-gradient(circle at 70% 30%, var(--sand), transparent 55%),
    linear-gradient(135deg, var(--ocean), var(--deep-sea));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 5rem;
}

.split h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: 1rem;
}

.split p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0 1.8rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ocean-pale);
  color: var(--deep-sea);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------- Logistics / info strip ---------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.info-strip .info {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-strip .info:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .info-strip {
    grid-template-columns: 1fr;
  }
}

.info-strip .info .ico {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.info-strip .info h4 {
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.info-strip .info p {
  color: var(--slate);
  font-size: 0.92rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 60%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.cta-band p {
  color: var(--ocean-pale);
  max-width: 520px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  /* Same blue gradient as the .cta-band */
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 60%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand__logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
}

.footer-col a:hover {
  color: var(--ocean-pale);
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.05rem;
  transition: all 0.25s var(--ease);
}

.social-row a:hover {
  background: var(--ocean);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 62, 138, 0.6), rgba(3, 4, 94, 0.78)),
    linear-gradient(135deg, var(--ocean), var(--deep-sea));
  padding-block: clamp(3rem, 8vw, 5rem);
  text-align: center;
}

/* Photo-backed page hero. The image is set PER PAGE via an inline style on the hero
   <section>, e.g.  style="background-image: linear-gradient(<overlay>), url(<photo>);"
   No background-image is defined here so pages don't all share one photo; only the
   sizing is set, which applies to whatever inline image each page provides. Pages that
   don't set an inline image fall back to the base .page-hero blue gradient. */
.page-hero--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Rules page content ---------- */
.rules-prose {
  max-width: 980px;
  margin-inline: auto;
}

.rules-prose h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.1rem;
}

.rules-prose p {
  margin-bottom: 1rem;
}

.rules-prose p:last-child {
  margin-bottom: 0;
}

.rules-prose a {
  font-weight: 600;
  text-decoration: underline;
}

.prohibited-list {
  columns: 3;
  column-gap: 2.5rem;
  margin: 1.4rem 0;
  list-style: none;
}

.prohibited-list li {
  break-inside: avoid;
  position: relative;
  padding: 0.32rem 0 0.32rem 1.1rem;
  font-size: 0.95rem;
}

.prohibited-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-weight: 700;
}

.asterisk-note {
  font-size: 0.9rem;
  color: var(--slate);
}

.rule-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  list-style: none;
}

.rule-list li {
  position: relative;
  padding-left: 1.5rem;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocean);
}

.notice-band {
  margin-top: 1.6rem;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 60%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  /* Roomier horizontal padding; vertical unchanged */
  padding: clamp(1.1rem, 3vw, 1.7rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  /* Keep the whole notice (incl. the « « arrows) on one line; font scales down to fit */
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.4rem, 1.65vw, 1.2rem);
  box-shadow: var(--shadow-md);
}

.map-note {
  text-align: center;
  font-style: italic;
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  text-align: center;
  border: 2px dashed var(--ocean-light);
  border-radius: var(--radius);
  background: var(--cloud);
  color: var(--slate);
  font-family: var(--font-head);
  font-weight: 600;
}

.map-link {
  display: block;
}

.map-link img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Service & Storage page ---------- */
.service-subhead {
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.service-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}

.price-list {
  margin: 1.2rem 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

.price-row__note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--slate);
}

.price-row__price {
  flex: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ocean);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .prohibited-list { columns: 2; }
}

@media (max-width: 560px) {
  .prohibited-list { columns: 1; }
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.6rem;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
}

.page-hero p {
  color: var(--ocean-pale);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ocean-pale);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Placeholder note (scaffold pages) ---------- */
.placeholder-note {
  border: 2px dashed var(--ocean-pale);
  background: var(--foam);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--slate);
}

.placeholder-note strong {
  color: var(--deep-sea);
}

/* ---------- Fleet: power-type explainer ---------- */
.type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.type-card {
  display: flex;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}

.type-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.6rem;
}

.type-card--electric .type-card__icon {
  background: var(--foam);
  color: var(--ocean);
}

.type-card--gas .type-card__icon {
  background: #fff3e6;
  color: var(--sand-deep);
}

.type-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.type-card p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ---------- Fleet: filter bar ---------- */
.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.filter-btn.active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 150, 199, 0.28);
}

.fleet-empty {
  text-align: center;
  color: var(--slate);
  padding: 2rem;
  grid-column: 1 / -1;
}

/* ---------- Fleet: detailed cart cards ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.8rem;
}

.cart-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cart-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cart-card[hidden] {
  display: none;
}

.cart-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  font-size: 3.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.cart-card__media--electric {
  background: linear-gradient(135deg, var(--ocean-light), var(--deep-sea));
}

.cart-card__media--gas {
  background: linear-gradient(135deg, var(--coral), var(--sand-deep));
}

.cart-card__badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  gap: 0.4rem;
}

.badge {
  background: rgba(255, 255, 255, 0.94);
  color: var(--deep-sea);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* Power-type badge color variants (legible on light backgrounds) */
.badge--electric {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 100%);
  color: var(--white);
}

.badge--gas {
  background: linear-gradient(135deg, var(--coral) 0%, var(--sand-deep) 100%);
  color: var(--white);
}

.cart-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}

.cart-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.cart-card__blurb {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.cart-specs {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0;
  margin-bottom: 1.1rem;
  border-block: 1px solid var(--line);
}

.cart-specs div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.cart-specs .ico {
  font-size: 1.05rem;
}

.cart-specs strong {
  color: var(--navy);
}

.cart-card__cta {
  margin-top: auto;
}

.cart-card__cta .btn {
  width: 100%;
}

/* "More Info" — subtle centered text link below the Book CTA (not a button) */
.cart-card__more {
  display: block;
  width: 100%;
  margin-top: 0.7rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  color: var(--ocean);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.cart-card__more:hover,
.cart-card__more:focus,
.cart-card__more:visited {
  color: var(--deep-sea);
  text-decoration: none;
}

/* ---------- Cart info modal ---------- */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.cart-modal[hidden] {
  display: none;
}

.cart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 40, 0.55);
  backdrop-filter: blur(2px);
}

.cart-modal__dialog {
  position: relative;
  width: 100%;
  max-width: min(800px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cart-modal__img {
  width: 100%;
  height: clamp(220px, 38vh, 340px);
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

.cart-modal__content {
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.cart-modal__name {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.cart-modal__blurb {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.cart-modal__full p {
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.cart-modal__cta {
  margin-top: 0.6rem;
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.cart-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-modal__close:hover {
  background: var(--ocean);
  color: var(--white);
}

/* ---------- Booking page ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.form-step {
  display: grid;
  gap: 1.1rem;
}

.form-step__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.2rem;
}

.form-step__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--foam);
  color: var(--ocean);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-step__head h3 {
  font-size: 1.12rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.field label .opt {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--slate);
  font-size: 0.82rem;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-pale);
  background: var(--white);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--slate);
}

#deliveryNote {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--foam);
  color: var(--deep-sea);
}

#deliveryNote[data-tone="good"] {
  background: #e8f7ee;
  color: #1b7a43;
}

/* ---------- Booking summary sidebar ---------- */
.booking-summary {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.booking-summary__head {
  background: linear-gradient(135deg, var(--ocean), var(--deep-sea));
  color: var(--white);
  padding: 1.2rem 1.5rem;
}

.booking-summary__head h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.booking-summary__head p {
  color: var(--ocean-pale);
  font-size: 0.85rem;
}

.booking-summary__body {
  padding: 1.4rem 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.94rem;
  color: var(--slate);
}

.summary-line span:last-child {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

.summary-line--total {
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
}

.summary-line--total span:last-child {
  font-size: 1.35rem;
  color: var(--ocean);
}

.summary-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.5;
}

.summary-includes {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.summary-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.summary-includes li::before {
  content: "✓";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ocean-pale);
  color: var(--deep-sea);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.booking-form__submit {
  margin-top: 0.4rem;
}

.booking-form__submit .btn {
  width: 100%;
}

@media (max-width: 880px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-summary {
    position: static;
  }
}

/* =========================================================
   Booking flow v2 — multi-step reservation builder
   ========================================================= */
.booking-flow {
  display: grid;
  gap: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

/* ---- Step indicator ---- */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.step-indicator__count {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate);
}

.step-indicator__count strong {
  color: var(--ocean);
}

.step-indicator__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.step-dots {
  display: flex;
  gap: 0.4rem;
}

.step-dots span {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.25s var(--ease);
}

.step-dots span.is-active {
  background: var(--ocean);
}

.step-dots span.is-done {
  background: var(--ocean-light);
}

/* ---- Step panels ---- */
.booking-step {
  display: grid;
  gap: 1.1rem;
}

.booking-step[hidden] {
  display: none;
}

.booking-step__head h3 {
  font-size: 1.25rem;
}

.booking-step__head p {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

/* ---- Calendar (Step 1) ---- */
.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem clamp(0.6rem, 2vw, 1.1rem) 1.1rem;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.calendar__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.calendar__nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ocean);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.calendar__nav:hover {
  background: var(--ocean);
  color: var(--white);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar__dow {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 0.3rem;
}

.calendar__day {
  /* min-height is a hard floor so the cells always have height even where
     aspect-ratio on a grid child collapses to 0 (e.g. some Safari versions),
     which would otherwise leave the date grid blank. aspect-ratio keeps them
     square where it's supported. */
  min-height: clamp(40px, 6vw, 54px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.calendar__day--empty {
  pointer-events: none;
}

/* Available dates — green highlight */
.calendar__day--available {
  background: #e8f7ee;
  color: #1b7a43;
  font-weight: 600;
}

.calendar__day--available:hover {
  background: #c9efd8;
}

/* Unavailable / past dates */
.calendar__day--disabled {
  color: var(--line);
  background: transparent;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Today — circled */
.calendar__day--today {
  box-shadow: inset 0 0 0 2px var(--ocean);
}

/* Selected date — distinct solid fill */
.calendar__day--selected,
.calendar__day--selected:hover {
  background: var(--ocean);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 150, 199, 0.35);
}

.calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--slate);
}

.calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.calendar__legend i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.calendar__legend .swatch-avail { background: #e8f7ee; box-shadow: inset 0 0 0 1px #b6e3c6; }
.calendar__legend .swatch-today { box-shadow: inset 0 0 0 2px var(--ocean); }
.calendar__legend .swatch-sel { background: var(--ocean); }

/* ---- Length options (Step 2) ---- */
.length-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}

.length-option {
  text-align: left;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.length-option:hover {
  border-color: var(--ocean-light);
  transform: translateY(-2px);
}

.length-option.is-selected {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-pale);
}

.length-option__name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.length-option__price {
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.length-option__avail {
  color: var(--slate);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

/* ---- Nights stepper ---- */
.stepper-field {
  display: grid;
  gap: 0.5rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stepper__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cloud);
  color: var(--ocean);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.stepper__btn:hover:not(:disabled) {
  background: var(--ocean);
  color: var(--white);
}

.stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 64px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--white);
}

/* ---- Step navigation buttons ---- */
.booking-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.booking-nav .btn {
  min-width: 120px;
}

.booking-nav__spacer {
  flex: 1;
}

/* ---- Order summary additions ---- */
.order-summary__cart {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

/* Sidebar cart picker — matches the cart block's spacing/divider.
   The explicit [hidden] rules override the .field grid / .cart flex display. */
.order-summary__cart-picker {
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.order-summary__cart[hidden],
.order-summary__cart-picker[hidden] {
  display: none;
}

.order-summary__cart img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--foam);
  flex-shrink: 0;
}

.order-summary__cart-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.order-summary__cart-meta {
  color: var(--slate);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.summary-line--addon span:first-child {
  font-weight: 400;
}

.summary-line--due {
  border-top: 1px dashed var(--line);
  margin-top: 0.2rem;
  padding-top: 0.8rem;
  color: var(--navy);
  font-family: var(--font-head);
}

.summary-line--due span:last-child {
  color: var(--coral);
}

.summary-promo {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.summary-promo input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--ink);
}

.summary-promo input:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-pale);
  background: var(--white);
}

.summary-promo .btn {
  flex-shrink: 0;
  padding: 0.6rem 1.1rem;
}

.summary-promo__msg {
  font-size: 0.8rem;
  color: #1b7a43;
  margin-top: 0.5rem;
}

/* Order summary as a bottom sheet on mobile */
@media (max-width: 880px) {
  .booking-summary.order-summary {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 40;
    max-height: 70vh;
    overflow-y: auto;
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -10px 30px rgba(2, 62, 138, 0.18);
  }
}

/* ---------- Checkout page ---------- */
.checkout-layout {
  max-width: 640px;
  margin-inline: auto;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.checkout-actions .btn {
  flex: 1 1 auto;
}

.checkout-empty {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 3.5rem) 0;
}

.checkout-empty h2 {
  margin-bottom: 0.8rem;
}

.checkout-empty p {
  color: var(--slate);
  margin-bottom: 1.6rem;
}

/* ---------- Rules: quick-glance cards ---------- */
.rule-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.3rem;
}

.rule-glance .card {
  text-align: center;
}

.rule-glance .card__icon {
  margin-inline: auto;
}

/* ---------- Rules: accordion ---------- */
.accordion {
  display: grid;
  gap: 0.9rem;
  max-width: 840px;
  margin-inline: auto;
}

.policy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.policy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  transition: background 0.2s var(--ease);
}

.policy summary::-webkit-details-marker {
  display: none;
}

.policy summary:hover {
  background: var(--foam);
}

.policy summary .chev {
  flex-shrink: 0;
  color: var(--ocean);
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
}

.policy[open] summary .chev {
  transform: rotate(180deg);
}

.policy summary .label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.policy summary .label .ico {
  font-size: 1.25rem;
}

.policy__body {
  padding: 0 1.4rem 1.4rem;
  color: var(--slate);
}

.policy__body p {
  margin-bottom: 0.7rem;
}

.policy__body .check-list {
  margin: 0.5rem 0 0;
}

.policy__body .check-list li {
  font-size: 0.95rem;
}

/* ---------- Callout / disclaimer box ---------- */
.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: 840px;
  margin: 2rem auto 0;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--ocean);
  background: var(--foam);
}

.callout--warn {
  border-left-color: var(--coral);
  background: #fff6ec;
}

.callout .ico {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.callout h4 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.callout p {
  color: var(--slate);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Service area: map + areas ---------- */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--foam);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.area-chips li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.area-chips li:hover {
  transform: translateY(-2px);
  border-color: var(--ocean);
}

.area-chips li::before {
  content: "📍";
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .service-split {
    grid-template-columns: 1fr;
  }
  .service-split .map-embed {
    order: -1;
  }
}

/* ---------- Partners: logo grid ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
}

.logo-tile {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  text-align: center;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--slate);
  padding: 1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.logo-tile .logo-mark {
  font-size: 1.8rem;
  color: var(--ocean);
}

.logo-tile span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

/* ---------- Partners: directory cards (mirror .cart-card on fleet) ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.partner-card[hidden] {
  display: none;
}

/* Logo area — same proportions as the cart photo, logo contained on a light bg */
.partner-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
  background: var(--foam);
  border-bottom: 1px solid var(--line);
}

.partner-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

/* Category badge — positioned + pill-styled like the cart type badges */
.partner-card__badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  gap: 0.4rem;
}

.badge--category {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep-sea) 100%);
  color: var(--white);
}

.partner-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}

.partner-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.partner-card__blurb {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

/* CTA pinned to the bottom of every card */
.partner-card__cta {
  margin-top: auto;
}

.partner-card__cta .btn {
  width: 100%;
}

.partner-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--slate);
  padding: 2rem;
}

/* 3 columns desktop → 2 tablet → 1 mobile */
@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
}

.contact-aside .map-embed {
  aspect-ratio: 5 / 4;
}

.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}

.hours-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hours-card dl {
  display: grid;
  gap: 0.55rem;
}

.hours-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.93rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.hours-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-card dt {
  color: var(--slate);
}

.hours-card dd {
  color: var(--navy);
  font-weight: 600;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.8rem;
  background: #e8f7ee;
  border: 1px solid #b6e3c6;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: #1b7a43;
  font-size: 0.95rem;
}

.form-success.show {
  display: flex;
}

.form-success .ico {
  font-size: 1.2rem;
}

.contact-form__submit .btn {
  width: 100%;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.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;
}

/* ---------- Reveal-on-scroll animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem var(--gutter) 1.25rem;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .nav__menu a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav__cta {
    margin: 0.75rem 0 0;
  }

  .nav__cta .btn {
    width: 100%;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__visual {
    min-height: 240px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
}
