/* ═══════════════════════════════════════════════════════
   Omelyana Towing — site.css v1.0
   Static. No frameworks. Self-hosted fonts.
   Dark theme default. Premium positioning.
   ═══════════════════════════════════════════════════════ */

/* ─── Self-hosted fonts ─── */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/lato-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/lato-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Design tokens ─── */
:root {
  /* Dark theme is default — matches the black fleet */
  --bg: #0a0c0f;
  --surface: #10141a;
  --surface2: #161c24;
  --text: #eef1f4;
  --muted: #b0b8c4;
  --muted2: #7a8594;

  /* Brand: Navy + Gold */
  --navy: #2c3e50;
  --navy-light: #3d556b;
  --gold: #c9a84c;
  --gold-soft: #d4b96a;
  --red: #c0392b;         /* Heavy division accent */
  --white-brand: #f0f0f0; /* White truck text */

  --radius: 14px;
  --radius2: 20px;
  --shadow: 0 14px 44px rgba(0,0,0,.4);
  --shadow2: 0 8px 26px rgba(0,0,0,.3);
  --ease: cubic-bezier(.16,1,.3,1);
  --ring: 0 0 0 3px rgba(201,168,76,.22);

  color-scheme: dark;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .lato { font-family: 'Lato', ui-sans-serif, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ─── Topbar ─── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.brand {
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 22px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--text);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); padding: 10px 12px; border-radius: 12px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: color-mix(in srgb, var(--surface2) 80%, transparent); color: var(--text); }
.nav a.active { color: var(--gold); }

/* ─── Mobile nav ─── */
.menu-toggle { display: none; border: none; background: transparent; color: var(--text); cursor: pointer; padding: 8px; border-radius: 10px; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
    box-shadow: var(--shadow2); padding: 8px 22px 14px; z-index: 49;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 14px; }
  .menu-toggle { display: block; }
  .brand { font-size: 18px; letter-spacing: 4px; }
  .topbar-inner { height: 60px; }
}

/* ─── Hero ─── */
.hero {
  min-height: 85vh; display: flex; align-items: center;
  padding: 100px 0 60px; position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,15,0) 0%, rgba(10,12,15,.6) 60%, rgba(10,12,15,1) 100%);
  z-index: 1; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-tagline {
  font-family: 'Lato', sans-serif; font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900; line-height: 1.05; margin: 0 0 20px;
  letter-spacing: -.02em;
}
.hero-tagline .gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px); color: var(--muted);
  max-width: 55ch; margin: 0 0 32px; line-height: 1.7;
}

.hero-phones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── Phone CTA (primary action across the site) ─── */
.phone-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Lato', sans-serif; font-size: 18px; font-weight: 700;
  letter-spacing: 0.5px; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.phone-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.phone-cta.primary {
  background: var(--gold); color: #0a0c0f;
  border: 2px solid var(--gold);
}
.phone-cta.secondary {
  background: transparent; color: var(--text);
  border: 2px solid color-mix(in srgb, var(--text) 20%, transparent);
}
.phone-cta.secondary:hover { border-color: var(--gold-soft); }

.phone-cta svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 80px 0 50px; }
  .hero-phones { flex-direction: column; }
  .phone-cta { justify-content: center; font-size: 16px; }
}

/* ─── Section labels ─── */
.s-label {
  font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.s-label.navy { color: var(--navy-light); }
.s-label.red { color: var(--red); }
.s-label.muted { color: var(--muted2); }

/* ─── Division sections ─── */
.division {
  padding: 80px 0; position: relative;
  border-top: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
}

.div-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 900;
  letter-spacing: 6px; text-transform: uppercase;
  margin: 0 0 18px; line-height: 1.1;
}
.div-title.gold-accent { color: var(--gold); }

.div-sub {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--muted);
  max-width: 60ch; margin: 0 0 28px; line-height: 1.8;
}

/* ─── Trust bar ─── */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 24px; padding: 40px 0;
  justify-content: center; text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
}
.trust-item .trust-num {
  font-family: 'Lato', sans-serif; font-size: 36px; font-weight: 900;
  color: var(--gold); display: block;
}
.trust-item .trust-label {
  font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase;
}

/* ─── Cards (generic) ─── */
.card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  border-radius: var(--radius2); padding: 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Division card (homepage) */
.div-card {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: var(--radius2); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .3s var(--ease);
}
.div-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 30%, transparent);
}
.div-card .card-label {
  font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
}
.div-card h3 {
  font-family: 'Lato', sans-serif; font-size: 24px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase; margin: 0;
}
.div-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.div-card .card-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 700; font-size: 15px; margin-top: auto;
}

.wip-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); padding: 4px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
}

/* ─── Grids ─── */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .grid2 { grid-template-columns: 1fr; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  background: var(--surface);
  color: var(--text); text-decoration: none; min-height: 48px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow2); }
.btn.primary {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, var(--surface));
  color: var(--gold);
}
.btn.primary:hover { box-shadow: var(--shadow2), 0 0 0 3px rgba(201,168,76,.14); }
.btn.gold-solid {
  background: var(--gold); color: #0a0c0f; border-color: var(--gold);
  font-weight: 700;
}
.btn.gold-solid:hover { box-shadow: 0 6px 20px rgba(201,168,76,.3); }

/* ─── Location cards ─── */
.loc-card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  border-radius: var(--radius2); overflow: hidden;
}
.loc-card .loc-map {
  width: 100%; height: 180px; border: none;
  filter: grayscale(100%) invert(92%) contrast(83%);
}
.loc-card .loc-info { padding: 20px; }
.loc-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.loc-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.loc-card .loc-phone { color: var(--gold); font-weight: 600; }

/* ─── Quote form ─── */
.quote-form { max-width: 560px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 6px; font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  background: var(--surface2); color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: border-color .2s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: var(--ring);
}
.form-group textarea { min-height: 100px; resize: vertical; }

/* ─── Peddle section ─── */
.peddle-steps { counter-reset: pedstep; }
.peddle-step {
  position: relative; padding: 24px 24px 24px 64px; margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  border-radius: var(--radius2);
}
.peddle-step::before {
  counter-increment: pedstep;
  content: counter(pedstep);
  position: absolute; left: 20px; top: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #0a0c0f;
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 16px;
  display: grid; place-items: center;
}
.peddle-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.peddle-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ─── About timeline ─── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: color-mix(in srgb, var(--gold) 30%, transparent);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
}
.timeline-item .year {
  font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--gold); letter-spacing: 1px; margin-bottom: 4px;
}
.timeline-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ─── FAQ accordion ─── */
details.faq {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  border-radius: var(--radius2); margin-bottom: 12px; overflow: hidden;
}
details.faq summary {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  cursor: pointer; list-style: none; font-size: 16px; font-weight: 600;
  color: var(--text); transition: background .2s var(--ease);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: '+'; font-size: 20px; font-weight: 700; color: var(--gold);
  transition: transform .25s var(--ease); flex: none; width: 20px; text-align: center;
}
details.faq[open] summary::before { content: '\2212'; }
details.faq summary:hover { background: color-mix(in srgb, var(--surface2) 60%, transparent); }
.faq-body { padding: 0 20px 20px 52px; }
.faq-body p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }

/* ─── Footer ─── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.footer-brand {
  font-family: 'Lato', sans-serif; font-size: 16px; font-weight: 900;
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 6px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { font-size: 13px; color: var(--muted2); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer .small { font-size: 13px; color: var(--muted2); }

/* ─── WIP banner ─── */
.wip-banner {
  background: color-mix(in srgb, var(--red) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
  border-radius: var(--radius2); padding: 20px 24px;
  margin-bottom: 32px;
}
.wip-banner p { margin: 0; color: var(--muted); font-size: 15px; }
.wip-banner strong { color: var(--red); }

/* ─── Reveal animation ─── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
}
