/* Auton parts automotive LLC — corporate website styles */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy-950: #0a1220;
  --navy-900: #0f1b2d;
  --navy-800: #16263d;
  --navy-700: #22395a;
  --steel-500: #6b7c93;
  --steel-300: #b7c2d0;
  --steel-100: #e8edf3;
  --paper: #f6f8fb;
  --white: #ffffff;
  --accent: #e8892b;
  --accent-dark: #c96f17;
  --ink: #142033;
  --muted: #55657a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 18, 32, 0.16);
  --max: 1180px;
  --header-h: 74px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section--alt { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--steel-100); }
.section--dark .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--steel-300); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--navy-950); }
.btn--primary:hover { background: #f19a42; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 18, 32, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; }
.brand-sub { font-size: .7rem; color: var(--steel-300); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--steel-100); text-decoration: none; font-size: .95rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav .btn { padding: 10px 20px; font-size: .9rem; }
.nav .btn::after { display: none; }
.nav .btn--primary, .nav .btn--primary:hover { color: var(--navy-950); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px auto; transition: transform .25s, opacity .25s; border-radius: 2px; }
.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); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  padding: calc(var(--header-h) + 96px) 0 110px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("assets/hero-automotive.svg");
  background-size: cover; background-position: center right;
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(10,18,32,.96) 0%, rgba(10,18,32,.82) 45%, rgba(10,18,32,.25) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--steel-300); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; font-size: .88rem; color: var(--steel-300); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Features */
.features { margin-top: -54px; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--steel-100);
}
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(232,137,43,.12); color: var(--accent-dark);
}
.icon svg { width: 24px; height: 24px; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.split h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.split p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1220' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .tag { display: inline-block; margin-top: 18px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent);
  display: block; margin-bottom: 14px; line-height: 1;
}
.step h3 { color: var(--white); font-size: 1.06rem; }
.step p { color: var(--steel-300); font-size: .93rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--steel-100); box-shadow: var(--shadow);
}
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--steel-100); }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item:first-child { padding-top: 0; }
.contact-item .icon { flex: 0 0 46px; margin: 0; }
.contact-item h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-500); margin-bottom: 4px; font-family: var(--font); }
.contact-item p, .contact-item a { margin: 0; color: var(--ink); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-item a:hover { color: var(--accent-dark); }

/* Info table (About) */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--steel-100); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 34%; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); font-weight: 600; background: #fbfcfd; }
.info-table td { font-weight: 500; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { padding: 36px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--steel-100); border-top: 4px solid var(--accent); }
.mv p { color: var(--muted); margin: 0; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: #35445a; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--steel-500); font-size: .92rem; }
.disclaimer {
  margin-top: 48px; padding: 20px 24px; border-radius: var(--radius-sm);
  background: var(--paper); border-left: 4px solid var(--accent); font-size: .95rem; color: var(--muted);
}

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: var(--white); border-radius: 20px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: var(--steel-300); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding: 72px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-family: var(--font); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--steel-300); }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--steel-500); }
.footer-bottom a { color: var(--steel-300); text-decoration: none; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 920px; margin: 0 auto;
  background: var(--navy-900); color: var(--steel-100);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--steel-300); }
.cookie-banner a { color: var(--white); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 22px; font-size: .9rem; }
.btn--outline-light { border-color: rgba(255,255,255,.3); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 24px 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 13px 20px; }
  .split, .contact-grid, .mv-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 96px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,18,32,.9) 0%, rgba(10,18,32,.88) 100%); }
  .section { padding: 72px 0; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .features-grid, .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand-sub { display: none; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions .btn { flex: 1; }
  .contact-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 600px) { .hero h1 { font-size: 1.85rem; } }
