/* ==========================================================================
   Regal Rides, Nassau Bahamas
   Design system and stylesheet
   Built by Baha Connect
   ========================================================================== */

:root {
  /* ---------- Type ---------- */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.65;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-tight: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.06em;
  --tracking-widest: 0.18em;

  /* ---------- Colour (HSL) ---------- */
  --black: hsl(0 0% 3%);            /* #080808 */
  --black-soft: hsl(0 0% 6.7%);     /* #111111 */
  --charcoal: hsl(0 0% 10.6%);      /* #1B1B1B */
  --charcoal-lift: hsl(38 6% 14%);  /* card surface, lighter than page */
  --charcoal-hi: hsl(38 8% 18%);    /* raised card surface */

  --gold: hsl(46 65% 52%);          /* #D4AF37 */
  --gold-bright: hsl(45 88% 62%);   /* #F3C548 */
  --gold-warm: hsl(43 89% 38%);     /* #B8860B */
  --gold-deep: hsl(43 60% 22%);
  --cream: hsl(43 71% 85%);         /* #F6E7BD */
  --white: hsl(0 0% 100%);

  --text-primary: hsl(43 30% 94%);
  --text-secondary: hsl(43 12% 76%);
  --text-tertiary: hsl(43 8% 58%);

  --line: hsl(46 30% 52% / 0.24);
  --line-strong: hsl(46 55% 52% / 0.5);

  --whatsapp: hsl(142 70% 39%);

  /* ---------- Spacing (4pt grid) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---------- Radius ---------- */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-pill: 999px;

  /* ---------- Shadows (5 levels) ---------- */
  --shadow-xs: 0 1px 2px hsl(0 0% 0% / 0.5);
  --shadow-sm: 0 2px 6px hsl(0 0% 0% / 0.5);
  --shadow-md: 0 8px 20px hsl(0 0% 0% / 0.55);
  --shadow-lg: 0 18px 40px hsl(0 0% 0% / 0.6);
  --shadow-xl: 0 30px 70px hsl(0 0% 0% / 0.65);
  --glow-gold: 0 0 28px hsl(46 65% 52% / 0.28);

  --header-h: 72px;
  --maxw: 1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: var(--black);
  background-image:
    radial-gradient(1100px 620px at 50% -8%, hsl(46 40% 30% / 0.16), transparent 62%),
    url('texture.png');
  background-repeat: no-repeat, repeat;
  background-attachment: scroll, fixed;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  line-height: var(--leading-normal);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cream);
  margin: 0;
  font-weight: var(--weight-bold);
}

h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-xl); line-height: var(--leading-snug); font-weight: var(--weight-semibold); }
h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}

p { margin: 0 0 var(--space-4); max-width: 65ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-bright); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--black);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: top 0.2s ease;
}
.skip-link:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }

section { padding: var(--space-9) 0; position: relative; overflow-x: clip; }
section.tight { padding: var(--space-8) 0; }

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Ornament, eyebrow, section heading
   ========================================================================== */

.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-3);
  display: block;
}

.rule {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-6);
}
.rule::before, .rule::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.rule::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.rule i {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.rule.left { justify-content: flex-start; }
.rule.left::before { display: none; }
.rule.left::after { max-width: 160px; }

/* Signature detail: gold filigree corner brackets, drawn from the card border */
.framed { position: relative; }
.framed::before, .framed::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.framed::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.framed::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 46%, var(--gold-warm));
  color: hsl(0 0% 8%);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), var(--glow-gold); }
.btn-gold:active { transform: translateY(1px); box-shadow: var(--shadow-xs); }

.btn-outline {
  background: hsl(0 0% 100% / 0.03);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn-outline:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-bright); background: hsl(46 65% 52% / 0.08); }
.btn-outline:active { transform: translateY(1px); }

.btn-quiet {
  min-height: 40px;
  padding: 0 var(--space-4);
  background: none;
  color: var(--gold);
  font-size: var(--text-xs);
  border-color: transparent;
}
.btn-quiet:hover { color: var(--gold-bright); gap: var(--space-3); }
.btn-quiet svg { width: 14px; height: 14px; }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.center .btn-row { justify-content: center; }

/* ==========================================================================
   Top bar and header
   ========================================================================== */

.topbar {
  display: none;
  background: hsl(0 0% 0% / 0.7);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-group { display: flex; align-items: center; gap: var(--space-5); }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-tertiary); }
.topbar a:hover { color: var(--gold-bright); }
.topbar svg { width: 13px; height: 13px; color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(0 0% 3% / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled { background: hsl(0 0% 3% / 0.97); border-bottom-color: var(--line-strong); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--cream);
  display: none;
}

.nav { display: none; align-items: center; gap: var(--space-5); }
.nav a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--gold); }
.nav a.active::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Drawer slides from the top so it can never create horizontal overflow */
.drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  background: hsl(0 0% 4% / 0.99);
  border-bottom: 1px solid var(--line-strong);
  padding: calc(var(--header-h) + var(--space-5)) var(--space-5) var(--space-6);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer a {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-wide);
  color: var(--cream);
}
.drawer a:last-of-type { border-bottom: 0; }
.drawer a.active { color: var(--gold); }
.drawer .btn { margin-top: var(--space-5); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: var(--space-9) 0 var(--space-10);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -12% 0 0;
  z-index: -2;
  background-color: var(--black);
  background-image:
    radial-gradient(760px 460px at 50% 22%, hsl(46 62% 42% / 0.3), transparent 68%),
    radial-gradient(1000px 620px at 82% 84%, hsl(43 70% 30% / 0.2), transparent 66%),
    url('texture.png');
  background-repeat: no-repeat, no-repeat, repeat;
  will-change: transform;
}
/* Ambient gold light that drifts slowly behind the lockup */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, hsl(45 80% 58% / 0.09) 50%, transparent 68%);
  background-size: 260% 260%;
  animation: sheen 14s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, hsl(0 0% 3% / 0.55) 0%, hsl(0 0% 3% / 0.2) 42%, hsl(0 0% 3% / 0.92) 100%);
}

.hero-inner { text-align: center; width: 100%; }
.hero-lockup {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto var(--space-6);
  filter: drop-shadow(0 8px 26px hsl(0 0% 0% / 0.7));
}
.hero h1 { font-size: var(--text-4xl); color: var(--cream); }
.hero .lede {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 46ch;
  margin: var(--space-5) auto var(--space-6);
}
.trust-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold);
}
.trust-line i { width: 4px; height: 4px; background: var(--gold-warm); transform: rotate(45deg); }

/* Page hero for interior pages */
.page-hero {
  position: relative;
  padding: var(--space-9) 0 var(--space-8);
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(700px 320px at 50% 0%, hsl(46 55% 40% / 0.22), transparent 70%);
  text-align: center;
}
.page-hero h1 { font-size: var(--text-3xl); }
.page-hero p { color: var(--text-secondary); max-width: 60ch; margin: var(--space-4) auto 0; }

/* ==========================================================================
   Quick inquiry panel (overlaps the hero)
   ========================================================================== */

.quick-panel {
  position: relative;
  margin-top: calc(var(--space-9) * -1);
  z-index: 3;
  padding-bottom: var(--space-9);
}
.panel {
  background: linear-gradient(180deg, var(--charcoal-hi), var(--charcoal-lift));
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6) var(--space-5);
}
.panel h2 { font-size: var(--text-xl); }

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field.span-2 { grid-column: auto; }
.field-action { justify-content: flex-end; }

label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: var(--space-3);
  background: hsl(0 0% 0% / 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
textarea { min-height: 110px; resize: vertical; line-height: var(--leading-normal); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, hsl(46 65% 52%) 50%), linear-gradient(135deg, hsl(46 65% 52%) 50%, transparent 50%); background-position: right 18px center, right 12px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: var(--space-7); }
input::placeholder, textarea::placeholder { color: hsl(43 8% 45%); }
input:hover, select:hover, textarea:hover { border-color: hsl(46 40% 52% / 0.4); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: hsl(0 0% 0% / 0.6);
  box-shadow: 0 0 0 3px hsl(46 65% 52% / 0.16);
}
input:invalid:not(:placeholder-shown) { border-color: hsl(4 60% 48%); }

.form-note { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: var(--space-4); }

/* ==========================================================================
   Cards and grids
   ========================================================================== */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  background: linear-gradient(180deg, var(--charcoal-lift), hsl(0 0% 7%));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.card:hover { transform: translateY(-5px); border-color: hsl(46 50% 52% / 0.42); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--cream); }
.card p { color: var(--text-secondary); font-size: var(--text-sm); flex: 1; }
.card .btn-quiet { align-self: flex-start; margin-left: calc(var(--space-4) * -1); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 30% 25%, hsl(46 55% 40% / 0.22), transparent 70%);
  color: var(--gold);
  transition: color 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}
.icon-badge svg { width: 24px; height: 24px; }
.card:hover .icon-badge { color: var(--gold-bright); border-color: var(--gold); }

/* Why choose list */
.why-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 0; }
.why-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.why-item h4 { margin-bottom: var(--space-1); }
.why-item p { font-size: var(--text-sm); color: var(--text-tertiary); }

/* Split section */
.split { display: grid; gap: var(--space-7); grid-template-columns: 1fr; align-items: center; }

.check-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* Steps */
.step { display: flex; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: hsl(46 55% 52% / 0.55);
  line-height: 1;
  flex: none;
  width: 52px;
}
.step h4 { margin-bottom: var(--space-1); }
.step p { font-size: var(--text-sm); color: var(--text-tertiary); }

/* Vehicle cards */
.vehicle { padding: 0; overflow: hidden; }
.vehicle-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background:
    linear-gradient(180deg, hsl(0 0% 0% / 0.1), hsl(0 0% 0% / 0.7)),
    radial-gradient(420px 220px at 50% 40%, hsl(46 45% 38% / 0.2), transparent 70%),
    hsl(0 0% 8%);
  border-bottom: 1px solid var(--line);
  color: var(--gold);
}
.vehicle-photo svg { width: 46px; height: 46px; opacity: 0.75; }
.vehicle-photo span {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.vehicle-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec { display: flex; flex-direction: column; }
.spec b {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.spec span { font-size: var(--text-sm); color: var(--cream); }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.amenities li {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  font-size: 10px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-warm);
  border: 1px dashed hsl(43 60% 40% / 0.6);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
}

/* Testimonials */
.quote {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: hsl(0 0% 100% / 0.02);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-warm);
  border-radius: var(--radius-sm);
}
.quote p { font-size: var(--text-sm); color: var(--text-secondary); font-style: italic; }
.quote cite {
  display: block;
  margin-top: var(--space-4);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Feature band */
.band {
  background:
    linear-gradient(180deg, hsl(0 0% 0% / 0.55), hsl(0 0% 0% / 0.8)),
    radial-gradient(900px 400px at 20% 0%, hsl(46 55% 40% / 0.24), transparent 70%),
    url('texture.png');
  background-attachment: scroll, scroll, fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-3xl); }
.cta-band p { margin: var(--space-4) auto var(--space-6); color: var(--text-secondary); }

/* Contact tiles */
.contact-tile {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--charcoal-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-tile:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.contact-tile svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.contact-tile b { display: block; font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--text-tertiary); font-weight: var(--weight-semibold); }
.contact-tile span { color: var(--cream); font-size: var(--text-base); word-break: break-word; }

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

.site-footer {
  background: hsl(0 0% 2% / 0.9);
  border-top: 1px solid var(--line-strong);
  padding: var(--space-8) 0 var(--space-6);
  margin-bottom: 84px;
}
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.footer-grid img { height: 54px; width: auto; margin-bottom: var(--space-4); }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a, .site-footer p { color: var(--text-tertiary); font-size: var(--text-sm); }
.site-footer a:hover { color: var(--gold-bright); }
.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* ==========================================================================
   Floating actions
   ========================================================================== */

.floating {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  border-top: 1px solid var(--line-strong);
  background: hsl(0 0% 4% / 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
}
.floating a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.floating svg { width: 19px; height: 19px; }
.floating .fa-call { color: var(--cream); border-right: 1px solid var(--line); }
.floating .fa-call:hover { background: hsl(46 65% 52% / 0.12); }
.floating .fa-wa { color: hsl(142 60% 62%); }
.floating .fa-wa:hover { background: hsl(142 70% 39% / 0.16); }

/* ==========================================================================
   Motion
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-group.visible > * { opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 0.4s; }

@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;
  }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 600px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field.span-2 { grid-column: 1 / -1; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .panel { padding: var(--space-7) var(--space-6); }
}

@media (min-width: 900px) {
  :root { --text-4xl: 3rem; --text-5xl: 4.25rem; }
  .topbar { display: block; }
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .drawer { display: none; }
  .brand-text { display: block; }
  .wrap { padding: 0 var(--space-6); }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split.wide-left { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { font-size: var(--text-5xl); }
  .hero-lockup { max-width: 520px; }
  .page-hero h1 { font-size: var(--text-4xl); }
  .site-footer { margin-bottom: 0; }
  .floating { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .field-grid.three-up { grid-template-columns: repeat(3, 1fr); }
  /* Parallax only above mobile */
  .band { background-attachment: scroll, scroll, fixed; }
}

@media (max-width: 899px) {
  /* Horizontal transforms are avoided on small screens to prevent overflow */
  body { background-attachment: scroll, scroll; }
  .band { background-attachment: scroll, scroll, scroll; }
  .hero-bg { background-attachment: scroll, scroll, scroll; }
}
