/* ==========================================================================
   Delgroce Holdings — Shared Design System  (v2 "Slate & Emerald" theme)
   Colour tokens sampled pixel-exact from the approved reference design:
   slate-navy base #0F172A, emerald #00D976, cyan #00D9F4,
   teal glow lower-left, green glow right, serif display headlines.
   ========================================================================== */

:root {
  /* --- Brand colour tokens (sampled from approved reference) --- */
  --color-green: #00D976;        /* emerald text / accents  */
  --color-green-bright: #00D946; /* nav active, CTAs        */
  --color-green-deep: #04A85C;
  --color-cyan: #00D9F4;         /* cyan display accent     */
  --color-cyan-deep: #0891B2;
  --color-grey: #7A818B;
  --color-grey-light: #BCC0C5;   /* small body text         */

  /* legacy aliases so older markup keeps working */
  --color-blue: #00D9F4;
  --color-blue-dark: #0891B2;

  /* --- Backgrounds (sampled) --- */
  --bg-base: #0F172A;            /* header + page base      */
  --bg-hero: #121B2D;
  --glow-teal: #135B73;          /* lower-left glow         */
  --glow-green: #16433A;         /* right-side glow         */

  /* --- Surfaces --- */
  --surface-base: #0C1322;
  --surface-raised: #141E33;
  --surface-raised-hover: #182640;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.30);

  /* --- Text --- */
  --text-primary: #FFFFFF;
  --text-secondary: #BCC0C5;
  --text-muted: rgba(188, 192, 197, 0.62);
  --text-on-accent: #06281A;

  /* --- Typography --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- 8-point spacing system --- */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 500ms;
  --dur-slow: 900ms;

  --max-width: 1280px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Vehicle card photo — consistent landscape shape at every breakpoint.
   `height: auto` is required: an <img> with both width/height HTML attributes
   gets an implicit CSS height from that attribute, which silently overrides
   `aspect-ratio` (aspect-ratio only computes a dimension left as `auto`).
   Without it these boxes render at the attribute's raw height regardless of
   the actual rendered width — square or portrait instead of landscape. */
.vehicle-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #E9EEF2; /* matches the light backdrop baked into the processed image */
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ==========================================================================
   Typography — serif display, sans everything else
   ========================================================================== */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.accent-green { color: var(--color-green); }
.accent-cyan { color: var(--color-cyan); }
.accent-gradient {
  background: linear-gradient(90deg, var(--color-green) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green);
}

.lede {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 720px;
}

.text-muted { color: var(--text-muted); }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.section-head h2 { margin-top: var(--space-2); }
.section-head p { margin-top: var(--space-2); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-green-bright);
  color: var(--text-on-accent);
}
.btn-primary:hover {
  background: var(--color-green);
  box-shadow: 0 6px 24px rgba(0, 217, 118, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--color-cyan); background: rgba(0, 217, 244, 0.07); }

.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), background var(--dur-base);
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--surface-raised-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  background: rgba(0, 217, 118, 0.10);
  color: var(--color-green);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: var(--space-1); }
.card p { color: var(--text-secondary); font-size: 0.95rem; }

.card-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: var(--space-2);
}
.card-status.is-live { background: rgba(0, 217, 118, 0.14); color: var(--color-green); }
.card-status.is-soon { background: rgba(148, 163, 184, 0.16); color: var(--color-grey-light); }
.card-status.is-rented { background: rgba(245, 166, 35, 0.16); color: #F5A623; }
.card-status.is-maintenance { background: rgba(255, 107, 107, 0.16); color: #FF6B6B; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 96px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-stack .brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.brand-stack .brand-name .dim { color: var(--color-grey-light); }
.brand-stack .brand-name .lift { color: var(--color-green); }
.brand-stack .brand-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--color-cyan);
  text-transform: uppercase;
}

/* legacy inline brand word */
.brand-word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-word span { color: var(--color-green); }

.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--dur-fast);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--color-green-bright); }

.header-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.header-contact a:hover { color: var(--color-green); }
.header-contact svg { width: 16px; height: 16px; color: var(--color-green); }
.header-contact .divider {
  width: 1px; height: 28px;
  background: var(--border-subtle);
}

.nav-cta { display: flex; align-items: center; gap: var(--space-2); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  width: 40px; height: 40px;
}

/* ==========================================================================
   Hero — dark slate with teal glow lower-left, green glow right
   ========================================================================== */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 8% 100%, rgba(19, 91, 115, 0.55), transparent 70%),
    radial-gradient(ellipse 55% 65% at 96% 78%, rgba(0, 217, 118, 0.20), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 100%, rgba(22, 67, 58, 0.9), transparent 75%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-hero) 100%);
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-inner .lede { margin-left: auto; margin-right: auto; }

.hero-sub {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-top: var(--space-3);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 150px 0 var(--space-8); }
}

/* ==========================================================================
   Mobile nav panel
   ========================================================================== */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3) var(--space-3);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .mobile-nav.is-open { display: flex; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-8) 0 var(--space-4);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--surface-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-grid h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.footer-grid ul li { margin-bottom: var(--space-1); }
.footer-grid ul li a:hover { color: var(--color-green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-bottom .brand img { height: 28px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Utility grids
   ========================================================================== */

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stat { text-align: center; }
.stat .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-green);
}
.stat .num.alt { color: var(--color-cyan); }
.stat .label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ==========================================================================
   Form fields (shared component)
   ========================================================================== */

.field { margin-bottom: var(--space-3); }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--surface-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

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

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23BCC0C5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(0, 217, 118, 0.16);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}

.hp-field {
  display: none !important;
}

/* ==========================================================================
   Feature list
   ========================================================================== */

.feature-list { margin-top: var(--space-2); }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
}

.feature-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-green);
}

/* ==========================================================================
   Step flow
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}

.step {
  position: relative;
  padding: var(--space-3);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 118, 0.4);
  background: rgba(0, 217, 118, 0.08);
  margin-bottom: var(--space-2);
}

.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); }

@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer wordmark sizing
   ========================================================================== */

.footer-wordmark { width: 128px; height: auto; }
.footer-bottom .footer-wordmark { width: 96px; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* Clips hit-testing to the visible circle, not just its paint — the square anchor box's
     transparent corners no longer swallow clicks meant for whatever sits behind them. */
  clip-path: circle(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--dur-fast) var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

@media (max-width: 600px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .header-contact { display: none; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-8) 0; }
  .site-header .container { height: 80px; }
}

/* ==========================================================================
   v2.1 additions — components for the full multi-page site
   ========================================================================== */

/* Sub-page hero (shorter than homepage hero) */
.page-hero {
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 8% 100%, rgba(19, 91, 115, 0.5), transparent 70%),
    radial-gradient(ellipse 55% 65% at 96% 78%, rgba(0, 217, 118, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-hero) 100%);
}
.page-hero .hero-inner { max-width: 880px; }
@media (max-width: 720px) { .page-hero { min-height: auto; padding: 140px 0 var(--space-8); } }

/* Media block atop solution cards (swap the gradient for a real photo later) */
.card-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(140deg, #16433A 0%, #0E2A3E 55%, #135B73 100%);
  color: rgba(0, 217, 118, 0.65);
}
.card-media svg { width: 72px; height: 72px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-flush { padding: 0; overflow: hidden; }
.card-flush .card-body { padding: var(--space-4); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-green);
  margin-top: var(--space-2);
  transition: gap var(--dur-fast);
}
.link-more:hover { gap: 12px; }
.link-more svg { width: 16px; height: 16px; }

/* Circular icon for "Why Choose" rows */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  background: rgba(0, 217, 118, 0.12);
  border: 1px solid rgba(0, 217, 118, 0.35);
  color: var(--color-green);
}
.icon-circle svg { width: 28px; height: 28px; }
.why-item { text-align: center; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* Green gradient CTA band with dark text */
.cta-band {
  background: linear-gradient(100deg, var(--color-green) 0%, #00C9A7 55%, var(--color-cyan) 100%);
  color: #06281A;
  padding: var(--space-10) 0;
  text-align: center;
}
.cta-band h2 { color: #06281A; }
.cta-band p { color: rgba(6, 40, 26, 0.8); margin-top: var(--space-2); font-size: 1.05rem; }
.cta-band .hero-actions { justify-content: center; }
.btn-dark {
  background: var(--bg-base);
  color: #FFFFFF;
}
.btn-dark:hover { background: #1A2540; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.4); }
.btn-dark-outline {
  background: transparent;
  color: #06281A;
  border-color: rgba(6, 40, 26, 0.5);
}
.btn-dark-outline:hover { border-color: #06281A; background: rgba(6, 40, 26, 0.08); }

/* 4-column step flow */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step-big-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  background: var(--color-green-bright);
  color: var(--text-on-accent);
  margin-bottom: var(--space-2);
}
@media (max-width: 1080px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .steps-4 { grid-template-columns: 1fr; } }

/* Price / earnings cards */
.price-card { text-align: center; }
.price-card .price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-green);
  margin-top: var(--space-1);
}
.price-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.price-card .models { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

/* Legal / policy prose pages */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.97rem;
}
.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: var(--space-6) 0 var(--space-2);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: var(--space-2); }
.legal-body ul { list-style: disc; padding-left: var(--space-4); margin-bottom: var(--space-2); }
.legal-body ul li { margin-bottom: 6px; }
.legal-body .legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.legal-body a { color: var(--color-green); }

/* Social icons */
.social-row { display: flex; gap: 12px; margin-top: var(--space-2); }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.social-row a:hover { color: var(--color-green); border-color: var(--color-green); }
.social-row svg { width: 17px; height: 17px; }

/* ==========================================================================
   v3 additions — wizard, tabs, tables, hero scroll cue
   ========================================================================== */

.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
}

.checkline { display: flex; align-items: flex-start; gap: 14px; margin-top: var(--space-2); }
.checkline svg { width: 22px; height: 22px; color: var(--color-green); flex-shrink: 0; margin-top: 3px; }
.checkline h3 { font-size: 0.98rem; margin-bottom: 2px; }
.checkline p { color: var(--text-secondary); font-size: 0.85rem; }

/* Wizard */
.wizard-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin: 0 auto var(--space-6);
  max-width: 560px;
}
.wizard-progress .wp-step {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
}
.wizard-progress .wp-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.wizard-progress .wp-step.is-current .wp-dot,
.wizard-progress .wp-step.is-done .wp-dot {
  background: var(--color-green-bright);
  border-color: var(--color-green-bright);
  color: var(--text-on-accent);
}
.wizard-progress .wp-step.is-current { color: var(--text-primary); }
.wizard-progress .wp-bar {
  flex: 1; height: 2px;
  min-width: 32px;
  background: var(--border-subtle);
  margin: 0 10px;
}
.wizard-progress .wp-bar.is-done { background: var(--color-green-bright); }
.wizard-progress .wp-label { display: none; }
@media (min-width: 720px) { .wizard-progress .wp-label { display: inline; } }

.wizard-panel { display: none; }
.wizard-panel.is-active { display: block; animation: wiz-in 400ms var(--ease-out); }
@keyframes wiz-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.option-card {
  cursor: pointer;
  position: relative;
  text-align: left;
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: var(--text-primary);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.option-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.option-card.is-selected {
  border-color: var(--color-green-bright);
  background: rgba(0, 217, 118, 0.06);
  box-shadow: 0 0 0 1px var(--color-green-bright);
}
.option-card .oc-check {
  position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.option-card.is-selected .oc-check {
  background: var(--color-green-bright);
  border-color: var(--color-green-bright);
  color: var(--text-on-accent);
}
.option-card .oc-check svg { width: 14px; height: 14px; }
.option-card h3 { font-size: 1.05rem; margin-bottom: 4px; padding-right: 32px; }
.option-card p { color: var(--text-secondary); font-size: 0.88rem; }
.option-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--color-green); margin-top: var(--space-1); }
.option-card .price small { color: var(--text-muted); font-weight: 500; }

.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--space-5);
  gap: var(--space-2);
}

.review-list { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.review-list .rl-row {
  display: flex; justify-content: space-between; gap: var(--space-3);
  padding: 14px var(--space-3);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-subtle);
}
.review-list .rl-row:last-child { border-bottom: none; }
.review-list .rl-row span:first-child { color: var(--text-muted); }
.review-list .rl-row span:last-child { color: var(--text-primary); text-align: right; }

/* Legal tabs */
.tab-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: var(--surface-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  margin-bottom: var(--space-5);
}
.tab-bar button {
  flex: 1;
  min-width: 130px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.tab-bar button:hover { color: var(--text-primary); }
.tab-bar button.is-active {
  background: var(--color-green-bright);
  color: var(--text-on-accent);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.data-table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0 var(--space-3); font-size: 0.9rem; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table th { color: var(--text-primary); font-family: var(--font-heading); font-size: 0.82rem; }
.data-table td { color: var(--text-secondary); }

/* ==========================================================================
   v4 additions — booking widget, trust bar, loyalty band, SEO links
   ========================================================================== */

/* Scroll cue: in normal flow so it can never overlap content */
.scroll-cue {
  position: static;
  transform: none;
  margin: var(--space-8) auto 0;
}

.booking-widget {
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
  max-width: 980px;
  margin: var(--space-6) auto 0;
}
.booking-widget .bw-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: var(--space-2);
  align-items: end;
}
.booking-widget .field { margin-bottom: 0; }
.booking-widget .bw-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.booking-widget .bw-meta label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.booking-widget input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--color-green-bright);
}
@media (max-width: 1000px) {
  .booking-widget .bw-grid { grid-template-columns: 1fr 1fr; }
  .booking-widget .bw-grid .bw-submit { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .booking-widget .bw-grid { grid-template-columns: 1fr; }
}

.trust-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-base);
  padding: var(--space-4) 0;
}
.trust-bar .grid { gap: var(--space-3); }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item svg { width: 26px; height: 26px; color: var(--color-green); flex-shrink: 0; margin-top: 2px; }
.trust-item h3 { font-family: var(--font-heading); font-size: 0.92rem; margin-bottom: 2px; }
.trust-item p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }

.founder-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.founder-note blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
}
.founder-note cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-green);
}

.loyalty-band {
  background: linear-gradient(100deg, rgba(0, 217, 118, 0.12), rgba(0, 217, 244, 0.10));
  border: 1px solid rgba(0, 217, 118, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.loyalty-band h3 { font-size: 1.3rem; }
.loyalty-band p { color: var(--text-secondary); margin-top: 4px; }

.seo-links {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-5) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.seo-links h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.seo-links ul { display: flex; flex-wrap: wrap; gap: 8px var(--space-3); }

/* ==========================================================================
   Cart widget (Cyber Security / Compliance package checkout)
   ========================================================================== */

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--dur-fast);
}
.cart-toggle:hover { border-color: var(--color-cyan); }
.cart-toggle svg { width: 18px; height: 18px; }
.cart-toggle .cart-count {
  background: var(--color-green-bright);
  color: var(--text-on-accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}

.cart-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: var(--space-3);
  z-index: 60;
  display: none;
}
.cart-panel.is-open { display: block; }
.cart-panel h4 { font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: var(--space-2); }
.cart-panel .cart-empty { color: var(--text-muted); font-size: 0.85rem; padding: var(--space-2) 0; }

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-line:last-of-type { border-bottom: none; }
.cart-line .cart-line-name { font-size: 0.88rem; font-weight: 500; }
.cart-line .cart-line-meta { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; }
.cart-line .cart-line-price { font-family: var(--font-heading); font-weight: 600; color: var(--color-green); font-size: 0.85rem; white-space: nowrap; }
.cart-line .cart-line-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  padding: 0;
  margin-top: 4px;
}
.cart-line .cart-line-remove:hover { color: #FF8B8B; }

.cart-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-strong);
  font-family: var(--font-heading);
  font-weight: 600;
}
.cart-panel-total .amount { color: var(--color-green); }

.package-group { margin-bottom: var(--space-6); }
.package-group:last-child { margin-bottom: 0; }
.package-group-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}
.package-card { display: flex; flex-direction: column; }
.package-card .package-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-green);
  font-size: 1.3rem;
  margin: var(--space-2) 0;
}
.package-card .package-price small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.package-card .btn { margin-top: auto; justify-content: center; }
.package-card .btn.is-added { background: var(--color-green-deep); }

.checkout-summary {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}
.checkout-summary .cart-line-price { color: var(--color-green); }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-strong);
}
.checkout-total-row .amount { color: var(--color-green); }

.confirmation-box {
  background: rgba(0, 217, 118, 0.08);
  border: 1px solid rgba(0, 217, 118, 0.35);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.confirmation-box .reference {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-green);
  letter-spacing: 0.02em;
}
.banking-details-table { width: 100%; border-collapse: collapse; margin-top: var(--space-3); }
.banking-details-table td { padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.92rem; }
.banking-details-table td:first-child { color: var(--text-muted); width: 40%; }
.banking-details-table td:last-child { font-weight: 600; }

/* ==========================================================================
   Per-division page themes (accent-colour override only — same layout and
   structure everywhere; every "accent" rule above is already written against
   --color-green/--color-green-bright/--color-green-deep, so overriding just
   those three custom properties re-themes buttons, highlights, headings, and
   the cart/CTA buttons without touching a single existing rule).
   ========================================================================== */

/* Delgroce Cyber Services — blue/cyan-led (security & technology). */
body.theme-cyber {
  --color-green: var(--color-cyan);
  --color-green-bright: var(--color-cyan);
  --color-green-deep: var(--color-cyan-deep);
}

/* Compliance & Consulting — leafy-green-led (trust & growth). This already
   matches the site-wide default, kept explicit for symmetry with theme-cyber. */
body.theme-compliance {
  --color-green: #00D976;
  --color-green-bright: #00D946;
  --color-green-deep: #04A85C;
}
.seo-links a:hover { color: var(--color-green); }

/* ==========================================================================
   Holdings homepage header — scoped fix (via .holdings-header, present ONLY
   on layouts/holdings.blade.php) for the extra division nav links no longer
   fitting the shared .nav-links/.header-contact layout at desktop widths.
   Nothing here touches the base .nav-links/.header-contact/.brand rules, so
   the Car Rentals / Cyber Services / Compliance headers are unaffected.
   ========================================================================== */
.holdings-header .nav-links {
  gap: var(--space-4);
  margin-left: var(--space-4);
}
.holdings-header .nav-links a,
.holdings-header .header-contact a {
  white-space: nowrap;
}
.holdings-header .header-contact {
  gap: var(--space-2);
}

@media (max-width: 1320px) {
  .holdings-header .nav-links { gap: var(--space-3); }
  .holdings-header .nav-links a { font-size: 0.88rem; }
  .holdings-header .header-contact a { font-size: 0.82rem; }
}

@media (max-width: 1180px) {
  .holdings-header .nav-links { gap: var(--space-2); }
}

/* ==========================================================================
   Cookie notice banner — lightweight, dismissible, site-wide.
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 200;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: var(--space-3);
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
}
.cookie-banner p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
  flex: 1 1 320px;
}
.cookie-banner a { color: var(--color-green); }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.85rem; flex-shrink: 0; }
