/* ============================================================
   TARMAC DETAIL COMPANY — shared stylesheet
   Deep navy / cream / gold. Serif display, sans body.
   ============================================================ */

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

:root {
  --bg: #070d18;
  --bg-2: #0a1322;
  --panel: #0e1828;
  --card: #101c30;
  --line: rgba(198, 168, 110, 0.16);
  --line-soft: rgba(216, 222, 233, 0.08);
  --gold: #c6a15b;
  --gold-bright: #d9bc85;
  --cream: #f2ece0;
  --cream-2: #e9e1d2;
  --ink: #131a28;
  --ink-soft: #3c4557;
  --text: #d8dee9;
  --muted: #93a0b4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --brand: "Cinzel", serif;
  --nav-h: 84px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.display em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}
h1.display { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lede { color: var(--muted); max-width: 56ch; }

.light .display, .light h1, .light h2, .light h3 { color: var(--ink); }
.light .display em { color: #a3803f; }
.light .lede, .light p { color: var(--ink-soft); }

/* ---------- layout ---------- */

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }

.light { background: var(--cream); color: var(--ink-soft); }
.panel { background: var(--bg-2); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; }
.split-center { align-items: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- nav ---------- */

.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topnav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-mark {
  width: 44px; height: 44px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: var(--panel);
}
.brand-mark img, .brand-mark svg { width: 22px; height: 22px; object-fit: contain; }
.brand-name {
  font-family: var(--brand); font-size: 0.95rem; letter-spacing: 0.28em;
  color: var(--cream); font-weight: 600; line-height: 1.2;
}
.brand-name small {
  display: block; font-family: var(--sans); font-size: 0.55rem;
  letter-spacing: 0.3em; color: var(--gold); font-weight: 500;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text);
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a.active { color: var(--cream); border-bottom-color: var(--gold); }

.nav-phone {
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-phone:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--cream); font-size: 1.2rem; width: 44px; height: 44px;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 28px; cursor: pointer; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translate(3px, -3px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }

.btn-line { border-color: rgba(216, 222, 233, 0.28); color: var(--cream); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); }

.light .btn-line { border-color: rgba(19, 26, 40, 0.35); color: var(--ink); }
.light .btn-line:hover { border-color: var(--ink); color: var(--ink); }
.light .btn-dark { background: var(--ink); color: var(--cream); }
.light .btn-dark:hover { background: #1f2939; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- hero ---------- */

.hero {
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  overflow: hidden;
}
.hero-page { min-height: 0; padding: calc(var(--nav-h) + 90px) 0 90px; }

.hero-art {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(198, 161, 91, 0.14), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(30, 77, 183, 0.10), transparent 65%),
    linear-gradient(180deg, #081020 0%, var(--bg) 55%, #060b14 100%);
}
.hero-art::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 161, 91, 0.35), transparent);
}
.hero-art svg { position: absolute; right: -4%; bottom: 0; width: 62%; min-width: 520px; opacity: 0.5; }

.hero-badges { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-tag {
  border: 1px solid var(--line); padding: 9px 16px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-bright);
}
.hero-tag-soft { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.hero p.lede { margin: 28px 0 40px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
  margin-top: 84px; padding-top: 32px; border-top: 1px solid var(--line-soft);
}
.hero-facts h5 {
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.hero-facts p { font-size: 0.92rem; color: var(--text); }

/* ---------- hero photo layer ---------- */

.hero-photo {
  position: absolute; inset: 0; z-index: -2;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 13, 24, 0.96) 0%, rgba(7, 13, 24, 0.86) 42%, rgba(7, 13, 24, 0.45) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

/* ---------- before / after slider ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ba {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--line); background: var(--card);
  --pos: 50%;
}
.ba img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: var(--gold); transform: translateX(-1px); pointer-events: none;
}
.ba .ba-line::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba-label {
  position: absolute; bottom: 12px;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 10px; pointer-events: none;
}
.ba-label-b { left: 12px; background: rgba(7, 13, 24, 0.8); color: var(--cream); }
.ba-label-a { right: 12px; background: var(--gold); color: var(--ink); }
.ba-caption {
  margin-top: 12px; font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); text-align: center;
}

/* ---------- cards ---------- */

.card {
  border: 1px solid var(--line); background: var(--card);
  padding: 36px 30px; position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(198, 161, 91, 0.4); transform: translateY(-3px); }
.card-num {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.card-num .ic { color: var(--gold); }
.card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--cream); margin-bottom: 12px; }
.card p { font-size: 0.92rem; color: var(--muted); }

.light .card { background: rgba(255, 255, 255, 0.55); border-color: rgba(19, 26, 40, 0.14); }
.light .card h3 { color: var(--ink); }
.light .card p { color: var(--ink-soft); }

/* ---------- package cards ---------- */

.pkg {
  border: 1px solid var(--line); background: var(--card);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.pkg:hover { border-color: rgba(198, 161, 91, 0.45); transform: translateY(-3px); }
.pkg-badge {
  position: absolute; top: -13px; right: 22px;
  background: var(--gold); color: var(--ink);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px;
}
.pkg.featured { border-color: rgba(198, 161, 91, 0.5); background: #13203a; }
.pkg-meta {
  display: flex; justify-content: space-between;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.pkg-class { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pkg h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; color: var(--cream); }
.pkg-sub { font-size: 0.9rem; color: var(--muted); margin: 10px 0 24px; min-height: 44px; }
.pkg-price {
  display: flex; align-items: baseline; gap: 10px;
  padding: 22px 0; margin-bottom: 24px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.pkg-price .from { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pkg-price .amt { font-family: var(--serif); font-size: 2.3rem; color: var(--cream); }
.pkg ul { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.pkg ul li {
  display: flex; gap: 12px; font-size: 0.88rem; color: var(--text); line-height: 1.5;
}
.pkg ul li::before { content: "✓"; color: var(--gold); font-size: 0.8rem; flex-shrink: 0; }
.pkg .btn { justify-content: center; }

.size-head {
  display: flex; align-items: baseline; gap: 18px;
  margin: 90px 0 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.size-head:first-of-type { margin-top: 0; }
.size-head .num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.size-head h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--cream); }
.size-head p { font-size: 0.85rem; color: var(--muted); margin-left: auto; }

.fine { font-size: 0.8rem; color: var(--muted); margin-top: 28px; }

/* ---------- feature band / big CTA ---------- */

.band {
  border: 1px solid var(--line); background:
    radial-gradient(900px 400px at 85% 80%, rgba(198, 161, 91, 0.12), transparent 60%),
    var(--panel);
  padding: 90px 70px; position: relative; overflow: hidden;
}
.band svg.jet { position: absolute; right: -30px; bottom: -20px; width: 46%; opacity: 0.35; }

/* ---------- lists / faq / prose ---------- */

.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 14px; font-size: 0.95rem; }
.checklist li::before { content: "✓"; color: var(--gold); flex-shrink: 0; }

.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 26px 4px; font-family: var(--serif); font-size: 1.25rem; color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }

.prose { max-width: 72ch; }
.prose p { margin-bottom: 22px; color: var(--muted); }
.prose h2, .prose h3 {
  font-family: var(--serif); font-weight: 500; color: var(--cream);
  font-size: 1.5rem; margin: 38px 0 14px;
}
.prose a { color: var(--gold-bright); border-bottom: 1px solid rgba(198, 161, 91, 0.4); }

.breadcrumb { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); padding: 34px 28px; background: var(--card); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2rem; color: var(--gold);
  display: block; margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--cream); margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft); color: var(--cream);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 300;
  padding: 15px 16px; transition: border-color 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--panel); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(147, 160, 180, 0.55); }

.form-note { font-size: 0.8rem; color: var(--muted); }
.form-status { display: none; padding: 18px 20px; font-size: 0.9rem; margin-top: 20px; border: 1px solid; }
.form-status.ok { display: block; border-color: rgba(120, 190, 130, 0.5); color: #a9d8b0; }
.form-status.err { display: block; border-color: rgba(220, 120, 110, 0.5); color: #e5a9a0; }

.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-line .ic { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-line h5 { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-line a:hover { color: var(--gold-bright); }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line-soft); background: #060b14; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 56px; padding-bottom: 64px; }
.footer-grid p { font-size: 0.9rem; color: var(--muted); }
.footer-head {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-base { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 22px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding: 26px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
}

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

@media (max-width: 900px) {
  .split, .grid-3, .grid-2, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .section { padding: 80px 0; }
  .band { padding: 60px 32px; }
  .hero-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 60px; }
  .pkg-sub { min-height: 0; }
  .size-head { flex-wrap: wrap; }
  .size-head p { margin-left: 0; width: 100%; }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(7, 13, 24, 0.98); border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 600px) {
  .topnav .btn-quote { display: none; }
}
