/* Nish Vehicle Sourcing — site styles */
:root {
  --red: #ce2026;
  --red-dark: #a8181d;
  --ink: #1c1c1e;
  --text: #3d3d40;
  --muted: #6b6b70;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --charcoal: #2f2e2e;
  --black: #161616;
  --white: #fff;
  --radius: 10px;
  --max: 1140px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Roboto", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { width: 180px; height: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a[aria-current="page"], .site-nav a:not(.btn):hover { color: var(--red); }
.site-nav .btn { padding: .6em 1.2em; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 20px 110px; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero .eyebrow { color: #ff6b70; }
.hero p { font-size: 1.15rem; max-width: 34em; color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero-sm .hero-inner { padding: 90px 20px 80px; }

/* USP strip */
.usp { background: var(--red); color: var(--white); }
.usp ul { list-style: none; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); }
.usp li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 20px; font-weight: 600; text-align: left; line-height: 1.35; }
.usp li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.usp svg { flex: none; width: 28px; height: 28px; }

/* Sections */
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.lead { font-size: 1.15rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.card-icon { width: 54px; height: 54px; border-radius: 50%; background: #fdecec; color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; }
.card p { font-size: .98rem; }
.card details { margin-top: .4em; }
.card summary { cursor: pointer; font-weight: 600; color: var(--red); list-style: none; display: inline-flex; align-items: center; gap: .4em; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
.card details[open] summary::after { content: "–"; }
.card details[open] summary { margin-bottom: .8em; }
.card details[open] .more-label { display: none; }
.card details:not([open]) .less-label { display: none; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.steps p { font-size: .97rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--black); color: var(--white); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .card-icon { margin: 0; flex: none; width: 46px; height: 46px; }
.info-list .card-icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.info-list a { text-decoration: none; font-weight: 600; }
.map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfcfd4; border-radius: 6px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(206, 32, 38, .15); }
.field textarea { min-height: 150px; resize: vertical; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #15803d; }
.form-status.error { color: var(--red-dark); }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 64px 20px 48px; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #ff8a8e; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: .5em; }
.footer-bottom { background: var(--black); padding: 18px 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .site-nav li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { width: 150px; }
  .hero-inner { padding: 80px 16px 72px; }
  .hero::after { background: rgba(0, 0, 0, .62); }
  .usp ul { grid-template-columns: 1fr; }
  .usp ul { padding: 0; }
  .usp li { justify-content: flex-start; padding: 16px; }
  .usp li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 16px 36px; }
  .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
