/* =========================================================
   iMac Trailers — palette pulled from logo.png
   Chrome silver + deep navy (#001f78) + deep red (#aa070a)
   ========================================================= */
:root {
  --navy: #16267a;
  --navy-dark: #0a1240;
  --red: #b0121a;
  --red-bright: #d81f28;
  --chrome-100: #f5f6f8;
  --chrome-300: #cdd1d8;
  --chrome-500: #8b909c;
  --chrome-700: #4a4e58;
  --bg: #0b0c10;
  --bg-alt: #101218;
  --surface: #16181f;
  --surface-border: #23262f;
  --text: #f3f4f6;
  --text-muted: #9ba0ac;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--font-head);
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-title.center { text-align: center; }
.section-lead {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-lead.center { text-align: center; }

.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #cfd3da 35%, #8b909c 55%, #ffffff 75%, #a7abb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 4px 14px rgba(176, 18, 26, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(176, 18, 26, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--chrome-300);
  color: var(--chrome-100);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-call {
  background: var(--surface);
  border-color: var(--surface-border);
  color: var(--text);
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-call:hover { border-color: var(--red-bright); color: var(--red-bright); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand { display: flex; align-items: center; height: 100%; }
.brand-logo { height: 46px; width: auto; }

.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--chrome-100);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(22, 38, 122, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(176, 18, 26, 0.18), transparent 55%),
    var(--bg);
}
.hero-stripes {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 60%;
  height: 140%;
  transform: rotate(18deg);
  pointer-events: none;
  opacity: 0.5;
}
.stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  border-radius: 40px;
}
.stripe-silver {
  left: 0;
  background: linear-gradient(180deg, #fff, #8b909c, #fff);
  opacity: 0.15;
}
.stripe-blue {
  left: 90px;
  background: linear-gradient(180deg, #2a3fb0, var(--navy-dark));
  opacity: 0.55;
}
.stripe-red {
  left: 180px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  opacity: 0.55;
}

.hero-inner { position: relative; max-width: 720px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 20px; color: var(--chrome-100); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--chrome-300);
  font-size: 0.92rem;
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 18px; height: 18px; fill: var(--red-bright); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 32px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}
.card-icon svg { width: 26px; height: 26px; fill: var(--chrome-100); }
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--chrome-100);
}
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-copy p { color: var(--text-muted); margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 30px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.about-visual { display: flex; justify-content: center; }
.visual-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.2 / 1;
  background:
    linear-gradient(135deg, rgba(22,38,122,0.35), rgba(176,18,26,0.25)),
    var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.visual-logo { width: 100%; }

/* ---------- Service area ---------- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.area-tags span {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--chrome-300);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  margin-top: 30px;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
}
.contact-item-link:hover h4 { color: var(--red-bright); }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; fill: var(--chrome-100); }
.contact-item h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}
.contact-item p { color: var(--text-muted); font-size: 0.95rem; }

.contact-map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.25) invert(0.92) contrast(0.9);
}
.map-link {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--surface-border);
  padding-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
}
.footer-logo { height: 38px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--red-bright); }
.footer-phone {
  color: var(--chrome-100);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 20px 0;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; text-align: center; }

/* ---------- Floating call button (mobile) ---------- */
.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(176,18,26,0.5);
  z-index: 90;
}
.call-fab .icon { width: 26px; height: 26px; fill: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--surface-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .call-fab { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .hero-stripes { opacity: 0.3; }
}
