/* Arbor Auto Parts — site stylesheet */

:root {
  --ink: #0b0b0c;
  --blue: #3b7dd8;
  --blue-dark: #2a5da3;
  --paper: #ffffff;
  --paper-soft: #f4f6f9;
  --grey: #5b6270;
  --line: #e3e6eb;
  --radius: 10px;
  --maxw: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

p { margin: 0 0 1em; color: var(--grey); }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand .brand-name {
  display: none; /* logo already contains the wordmark */
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, rgba(59,125,216,0.18), rgba(59,125,216,0) 60%);
  pointer-events: none;
}

.hero .wrap {
  padding: 96px 24px 88px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero h1 { color: #fff; }

.hero .eyebrow {
  display: inline-block;
  color: var(--blue);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero p.lede {
  color: #c7cbd4;
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  text-decoration: none;
}

.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

/* Sections */
section {
  padding: 72px 0;
}

section.soft { background: var(--paper-soft); }

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head .eyebrow {
  color: var(--blue-dark);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

/* Stat / value strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.value-strip .item { text-align: center; }
.value-strip .item strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.9rem;
  color: var(--ink);
}
.value-strip .item span {
  color: var(--grey);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

/* Two column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  color: var(--grey);
}

.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  clip-path: polygon(20% 0%, 100% 0%, 40% 100%, 0% 60%);
}

.panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.panel h3 { color: #fff; }
.panel p { color: #c7cbd4; }

/* CTA band */
.cta-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin-bottom: 0; }

form.contact-form label {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper-soft);
}

form.contact-form textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #b7bcc6;
  padding: 56px 0 28px;
}

footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer.site-footer img { height: 46px; margin-bottom: 14px; }

footer.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

footer.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.site-footer li { margin-bottom: 10px; }

footer.site-footer a {
  color: #b7bcc6;
}
footer.site-footer a:hover { color: #fff; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #c7cbd4; margin: 0; }

/* Breadcrumb-ish placeholder note */
.editable-note {
  background: #fff7e6;
  border: 1px dashed #e0b04d;
  color: #6b4f14;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art { order: -1; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
}
