@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

:root {
  --red: #ff1616;
  --red-dim: rgba(255,22,22,0.12);
  --red-glow: rgba(255,22,22,0.35);
  --black: #0a0a0a;
  --surface: #111111;
  --surface2: #181818;
  --border: rgba(255,255,255,0.06);
  --text: #e8e8e8;
  --muted: #666;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 70px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}
.logo-text span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 20px;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #cc0000 !important; box-shadow: 0 0 20px var(--red-glow) !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(255,22,22,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,22,22,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,22,22,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,22,22,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .accent { color: var(--red); }
.hero-title .outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
  color: transparent;
}

.hero-sub {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
  background: #cc0000;
  box-shadow: 0 0 40px var(--red-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  gap: 60px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.stat { text-align: right; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: #fff;
  line-height: 1;
}
.stat-num span { color: var(--red); }
.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
  pointer-events: none;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollPulse 2s infinite;
}
.scroll-text {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: horizontal-tb;
  order: -1;
}

/* ─── TICKER ─── */
.ticker {
  background: var(--red);
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.ticker-item::after { content: '◆'; font-size: 8px; }

/* ─── SECTIONS COMMON ─── */
section { padding: 120px 60px; }

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
}

/* ─── CAR SEARCH ─── */
.search-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.search-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.search-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.search-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}

.search-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.search-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--red);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.search-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 14px 16px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
}
.search-select:focus {
  outline: none;
  border-color: var(--red);
  color: var(--text);
}

.search-btn {
  grid-column: 1 / -1;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s;
  width: 100%;
}
.search-btn:hover {
  background: #cc0000;
  box-shadow: 0 0 30px var(--red-glow);
}

.search-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-note::before {
  content: '◆';
  color: var(--red);
  font-size: 8px;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  max-width: 1200px;
}

.service-card {
  background: var(--surface);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover { background: var(--surface2); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  color: rgba(255,22,22,0.08);
  line-height: 1;
  position: absolute;
  top: 24px; right: 28px;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: rgba(255,22,22,0.15); }

.service-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,22,22,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 20px;
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover .service-icon {
  background: var(--red-dim);
  border-color: var(--red);
}

.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-link {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 14px; }

/* ─── PROCESS ─── */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  max-width: 1200px;
  border: 1px solid var(--border);
}

.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-right: none; }

.process-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 20px;
}

.process-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.process-connector {
  position: absolute;
  top: 56px; right: -12px;
  width: 24px; height: 24px;
  background: var(--black);
  border: 1px solid var(--red);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-connector::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.process-step:last-child .process-connector { display: none; }

/* ─── CONTACT ─── */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,22,22,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::before { display: none; }
.contact-inner .section-title { margin-bottom: 20px; }

.contact-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 52px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  grid-column: 1 / -1;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.form-submit:hover {
  background: #cc0000;
  box-shadow: 0 0 40px var(--red-glow);
}

.form-msg {
  grid-column: 1 / -1;
  padding: 20px;
  text-align: center;
  display: none;
}
.form-msg.success {
  background: rgba(255,22,22,0.08);
  border: 1px solid var(--red);
}
.form-msg.error {
  background: rgba(255,22,22,0.08);
  border: 1px solid rgba(255,22,22,0.4);
}
.form-msg p:first-child {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
}
.form-msg p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.form-msg a { color: var(--red); }

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.footer-copy span { color: var(--red); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  .hero { padding: 100px 24px 80px; }
  .hero-stats { position: relative; bottom: auto; right: auto; margin-top: 60px; justify-content: flex-start; }
  .scroll-indicator { display: none; }
  .search-header { grid-template-columns: 1fr; gap: 40px; }
  .search-form-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer { padding: 40px 24px; }
}
