/* ══════════════════════════════════════════════════════════════════
   Select-Drive v4 — STANHATTIE LLC
   Clean, premium, light. Professional vehicle transport platform.
   ══════════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #fafaf8;
  --bg2: #ffffff;
  --bg3: #f2f1ed;
  --ink: #1a1a1a;
  --border: rgba(0,0,0,0.06);
  --border-bright: rgba(0,0,0,0.12);
  --blue: #3b7dd8;
  --blue-light: #e8f0fb;
  --blue-dim: rgba(59,125,216,0.08);
  --navy: #2c5a9e;
  --accent: #c47315;
  --accent-light: #fef3e2;
  --accent-dim: rgba(196,115,21,0.08);
  --green: #16a34a;
  --green-light: #dcfce7;
  --muted: #6b6b6b;
  --faint: #a3a3a3;
  --mono: 'DM Mono', monospace;
  --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-hover: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  /* account.html compatibility */
  --card: var(--bg2);
  --line: var(--border);
  --line-strong: var(--border-bright);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; color: var(--muted); }
strong { color: var(--ink); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; }
ul { margin: 0; padding-left: 0; list-style: none; }
li + li { margin-top: .45rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

/* ── Skip Link ─────────────────────────────────────────────────── */
.skip-link { position: absolute; top: -40px; left: 1rem; z-index: 200; padding: .5rem 1rem; background: var(--ink); color: #fff; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ── Navigation ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 110px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.nav a { font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .15s; white-space: nowrap; letter-spacing: .01em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-cta { flex: 0 0 auto; }

.mobile-toggle { display: none; background: none; border: none; color: var(--ink); width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; flex: 0 0 auto; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-toggle span + span { margin-top: 5px; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel { display: none; padding: .75rem 20px 1.2rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-panel.open { display: block; }
.mobile-panel nav { display: grid; gap: .7rem; }
.mobile-panel nav a { font-size: .95rem; font-weight: 600; color: var(--ink); }
.mobile-quote { margin-top: .4rem; }

/* ── Language Toggle ───────────────────────────────────────────── */
.lang-toggle { display: inline-flex; border: 1px solid var(--border-bright); border-radius: 6px; overflow: hidden; flex: 0 0 auto; }
.lang-option { border: none; background: transparent; color: var(--muted); font-family: var(--mono); font-size: .7rem; font-weight: 500; padding: .35rem .55rem; cursor: pointer; letter-spacing: .06em; transition: background .15s, color .15s; }
.lang-option.active { background: var(--blue); color: #fff; }
.lang-option:hover:not(.active) { background: var(--blue-dim); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--body); font-size: .875rem; font-weight: 700;
  padding: 12px 24px; border-radius: 8px; border: 1px solid transparent;
  transition: transform .12s, box-shadow .12s, background .12s; cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { box-shadow: 0 4px 16px rgba(196,115,21,0.3); }
.btn.secondary { border-color: var(--border-bright); color: var(--ink); background: var(--bg2); }
.btn.secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn.light { background: var(--accent); color: #fff; }
.btn.light:hover { box-shadow: 0 4px 16px rgba(196,115,21,0.3); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn.ghost:hover { background: var(--bg3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.6); }
.section.dark .kicker { color: var(--accent); }
.kicker { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: clamp(.95rem, 1.6vw, 1.08rem); color: var(--muted); line-height: 1.75; max-width: 560px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 2rem; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { padding: 7rem 0 0; }
.hero-copy { max-width: 620px; margin-bottom: 2.5rem; }
.hero-img { width: 100%; border-radius: 0; overflow: hidden; }
.hero-img img { width: 100%; height: auto; display: block; }

.hero-notes {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem;
}
.hero-notes span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 600; color: var(--navy);
  padding: .4rem .7rem; border-radius: 6px;
  background: var(--blue-light);
}
.hero-notes span i { width: 14px; height: 14px; }

/* ── Page Hero (inner pages) ──────────────────────────────────── */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

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

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ── Cards ─────────────────────────────────────────────────────── */
.stat-card, .feature-card, .faq-item, .contact-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .2s, border-color .2s; box-shadow: var(--shadow);
}
.stat-card:hover, .feature-card:hover, .faq-item:hover { box-shadow: var(--shadow-hover); border-color: var(--border-bright); }
.stat-card h3 { color: var(--blue); font-size: 1.35rem; font-weight: 800; }
.feature-card p, .stat-card p, .faq-item p { margin-bottom: 0; }
.feature-card i[data-lucide] { color: var(--accent); margin-bottom: 10px; display: block; }

/* ── Step Card (numbered) ─────────────────────────────────────── */
.step-card { position: relative; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); overflow: visible; margin-top: 12px; }
.step-card .step-num { position: absolute; top: -14px; left: 20px; font-family: var(--mono); font-size: .78rem; font-weight: 600; background: var(--accent); color: #fff; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .06em; z-index: 1; }
.step-card h3 { margin-top: .25rem; font-size: 1.15rem; }
.step-card p { margin-bottom: 0; }

/* ── Full-Width Images ─────────────────────────────────────────── */
.full-img { width: 100%; overflow: hidden; }
.full-img img { width: 100%; height: auto; display: block; }
.full-img.rounded { border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }

.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; border-radius: var(--radius); }

/* ── Panel (info box) ──────────────────────────────────────────── */
.panel { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.form-shell { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }

/* ── Checks List ───────────────────────────────────────────────── */
.checks li { position: relative; padding-left: 1.3rem; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .58rem; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* ── Trust / Credentials Strip ─────────────────────────────────── */
.trust-strip { padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.trust-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.trust-badge { display: flex; align-items: center; gap: 10px; padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); }
.trust-badge i { color: var(--blue); flex: 0 0 auto; }
.trust-badge-text { font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.trust-badge-sub { font-size: .7rem; font-weight: 400; color: var(--muted); display: block; }

/* ── Pricing ───────────────────────────────────────────────────── */
.price-number { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: .95; letter-spacing: -0.04em; color: var(--blue); }
.price-unit { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: .25rem; letter-spacing: .04em; }

.route-table-wrap { overflow-x: auto; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); background: var(--bg3); }
td { font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--bg3); }

/* ── CTA Shell ─────────────────────────────────────────────────── */
.cta-shell {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: 2.5rem; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow);
}
.cta-shell h2 { color: #fff; max-width: 18ch; }
.cta-shell .kicker { color: var(--accent); }
.cta-shell p, .cta-shell .lead { color: rgba(255,255,255,0.6); }

/* ── Highlight Banner ─────────────────────────────────────────── */
.highlight-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2927 100%);
  border-radius: var(--radius); padding: 2.5rem; margin-top: 2rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.highlight-banner h3 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.highlight-banner p { color: rgba(255,255,255,0.6); margin-bottom: 0; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1rem; }
label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
label span { color: var(--muted); }
label.full { grid-column: 1 / -1; }
input, textarea, select { width: 100%; border: 1px solid var(--border-bright); background: var(--bg); color: var(--ink); border-radius: 8px; padding: .75rem .9rem; font-family: var(--body); font-size: .9rem; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-dim); }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { resize: vertical; min-height: 130px; }

/* ── Contact Grid ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: .8rem; font-weight: 600; color: var(--muted); transition: color .15s; }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { font-size: .78rem; color: var(--faint); margin-top: .25rem; }

/* ── Thank You ─────────────────────────────────────────────────── */
.thankyou-wrap { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 0 4rem; }
.thankyou-inner { max-width: 540px; }
.thankyou-inner h1 { max-width: 100%; }
.thankyou-inner .lead { max-width: 100%; }
.check-circle { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.check-circle svg { width: 28px; height: 28px; }

/* ── Legal Pages ───────────────────────────────────────────────── */
.legal-body { max-width: 720px; margin: 0 auto; }
.legal-body h1 { margin-bottom: .3rem; }
.legal-body .last-updated { font-size: .88rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal-body h2 { font-size: 1.1rem; margin-top: 2.2rem; margin-bottom: .5rem; }
.legal-body p, .legal-body ul { font-size: .95rem; line-height: 1.75; color: var(--muted); margin-bottom: .85rem; }
.legal-body ul { padding-left: 1.3rem; list-style: disc; }
.legal-body ul li { margin-bottom: .3rem; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body strong { color: var(--ink); }

/* ── Scroll Reveal ─────────────────────────────────────────────── */
.reveal { opacity: 1; }
.reveal.animated { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; animation: revealFallback 0s 2s forwards; }
.reveal.animated.visible { opacity: 1; transform: translateY(0); animation: none; }
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }

/* ── Focus ─────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero { padding: 6rem 0 0; }
  .grid-2, .grid-3, .grid-4, .split, .page-hero, .contact-grid { grid-template-columns: 1fr; }
  .section-head, .cta-shell, .highlight-banner { flex-direction: column; align-items: flex-start; }
  .highlight-banner { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.5rem 0; }
  .trust-grid { gap: 12px; }
  h2 { max-width: 100%; }
  .hero + .section .split-img { display: none; }
}
@media (max-width: 680px) {
  .hero { padding: 5rem 0 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .form-grid { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; font-size: .95rem; padding: 14px 24px; }
  .brand img { width: 90px; }
  .header-bar { gap: 12px; padding: 0 14px; }
  .header-cta { padding: 10px 16px; font-size: .85rem; }
  th, td { padding: .6rem .65rem; font-size: .85rem; }
  .route-table-wrap { margin: 0 -14px; border-radius: 0; border-left: none; border-right: none; }
  p { font-size: .95rem; }
  .mobile-panel nav a { font-size: 1.05rem; padding: .5rem 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 4.5rem 0 0; }
  h1 { font-size: 1.8rem; }
  .lead { font-size: 1rem; }
  .section { padding: 2.5rem 0; }
  .hero-notes { gap: 6px; }
  .hero-notes span { font-size: .72rem; padding: .3rem .55rem; background: transparent; border: 1px solid var(--border-bright); color: var(--muted); }
  .hero-notes span i { display: none; }
  .trust-badge { padding: .45rem .7rem; }
  .trust-badge-text { font-size: .78rem; }
  .cta-shell { padding: 1.5rem; }
  .highlight-banner { padding: 1.5rem; }
  .footer-nav { gap: 14px; }
  .footer-copy { font-size: .75rem; }
  .feature-card p, .stat-card p, .faq-item p, .step-card p { font-size: .9rem; }
  .checks li { font-size: .9rem; }
}
@media (min-width: 941px) { .mobile-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
