@import url("https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap");
/* Angel's Garage starter styles
   Change the colors in :root to adjust the whole website. */
:root {
  --brand-bright: #f82008; /* the bright red of the badge: accent bars and lines */
  --brand: #d01a0c;        /* badge red, deepened slightly so white text on it stays readable */
  --brand-dark: #a3140a;   /* button hover */
  --deep: #f5f5f5;         /* headings */
  --deep-dark: #000000;    /* footer */
  --band: #0b0b0b;         /* dark bands, like the repair status section */
  --ink: #ededed;          /* main text */
  --text-soft: #d2d2d2;    /* paragraph text */
  --muted: #a8a8a8;        /* secondary text */
  --line: #333333;         /* borders */
  --pale: #1c1c1c;         /* alternating section background */
  --surface: #212121;      /* cards, boxes and form fields */
  --white: #141414;        /* page background (charcoal, like the badge) */
  --accent: #2a2a2a;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;
  --font-heading: "Barlow Semi Condensed", "Barlow", Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); line-height: 1.6; }
a { color: inherit; }
.site-header { max-width: 1180px; margin: auto; padding: 18px 5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; color: var(--deep); }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 9px; background: var(--brand); color: white; font-weight: 800; letter-spacing: -1px; }
.brand strong, .brand small { display: block; line-height: 1.35; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .7px; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text-soft); }
.site-nav a:hover { color: var(--brand); }
.site-nav .nav-contact { background: var(--brand); color: white; padding: 10px 15px; border-radius: 6px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 6px; padding: 8px 12px; }
.hero { background: var(--pale); padding: 68px 7%; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; }
.hero-copy { max-width: 610px; }
.eyebrow { color: var(--brand); font-size: 10px; letter-spacing: 1.8px; font-weight: 800; margin: 0 0 13px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .story-quote { font-family: var(--font-heading); }
h1 { color: var(--deep); font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -1px; margin-bottom: 20px; }
h2 { color: var(--deep); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.5px; margin-bottom: 14px; }
h3 { color: var(--deep); margin-bottom: 9px; }
.hero-text { max-width: 490px; color: var(--text-soft); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 25px 0 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; border-radius: 6px; border: 1px solid transparent; padding: 12px 17px; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.button-primary { color: white; background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: white; border-color: #bdbdbd; }
.trust-note { font-size: 11px; color: var(--muted); }
.trust-note span { margin: 0 5px; color: #cccccc; }
.hero-art { aspect-ratio: 1169 / 602; overflow: hidden; border-radius: 14px; background: #e0e0e0; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section { padding: 75px 7%; }
.section-heading { max-width: 630px; margin-bottom: 28px; }
.section-heading > p:last-child, .about-section > p:last-child { color: var(--muted); max-width: 600px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));gap: 17px; }
.feature-card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 19px; border-radius: 8px; background: var(--pale); color: var(--brand); font-size: 12px; font-weight: 800; }
.feature-card p { color: var(--muted); font-size: 13px; }
.feature-card a { color: var(--brand); font-size: 12px; font-weight: 800; text-decoration: none; }
.inventory-preview { background: #f0f0f0; }
.empty-inventory { text-align: center; border: 1px dashed #b3b3b3; background: white; border-radius: 11px; padding: 36px 20px; }
.empty-inventory p { color: var(--muted); max-width: 470px; margin: 0 auto 20px; font-size: 13px; }
.inventory-icon { display: grid; place-items: center; margin: 0 auto 14px; width: 45px; height: 45px; background: var(--pale); border-radius: 50%; color: var(--brand); font-size: 24px; }
.status-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--band); color: white; }
.status-section h2 { color: white; }.status-section .eyebrow { color: #e0e0e0; }.status-copy > p:not(.eyebrow) { color: #f0f0f0; }
.small-note { color: var(--muted); font-size: 11px; }
.status-section .small-note { color: #d9d9d9; }
.status-steps { border: 1px solid #4d4d4d; border-radius: 10px; padding: 12px 22px; }
.status-steps > div { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #4d4d4d; padding: 12px 0; }
.status-steps > div:last-child { border: 0; }
.status-steps span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #e0e0e0; color: var(--deep); font-size: 12px; font-weight: 800; }
.status-steps p { margin: 0; }.status-steps strong, .status-steps small { display: block; }.status-steps strong { font-size: 13px; }.status-steps small { color: #e0e0e0; font-size: 11px; margin-top: 2px; }
.about-section { max-width: 900px; margin: auto; }
.about-section > p:last-child { font-size: 16px; }
.contact-section { background: var(--pale); display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.contact-form label { display: block; margin: 12px 0 5px; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #bdbdbd; border-radius: 5px; padding: 10px; font: inherit; font-size: 14px; background: white; }
.contact-form .button { width: 100%; margin-top: 17px; }
.form-feedback { margin: 10px 0 0; font-size: 12px; color: #245c42; }
.site-footer { background: var(--deep-dark); padding: 30px 7%; color: #f2f2f2; }
.footer-brand { color: white; }.footer-brand small { color: #dedede; }
.site-footer > p { margin: 18px 0 7px; font-size: 13px; }.site-footer > small { font-size: 10px; color: #cfcfcf; }
@media (max-width: 760px) {
 .site-header { flex-wrap: wrap; }.menu-toggle { display: block; }
 .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 3px; padding-top: 8px; }
 .site-nav.open { display: flex; }.site-nav a { padding: 10px; }.site-nav .nav-contact { text-align: center; }
 .hero { grid-template-columns: 1fr; padding: 47px 6%; gap: 28px; }
 .section { padding: 52px 6%; }.feature-grid { grid-template-columns: 1fr; }.status-section, .contact-section { grid-template-columns: 1fr; gap: 28px; }
 h1 { font-size: 43px; }.trust-note { line-height: 2; }
}


/* Vehicle inventory card */
.vehicle-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.vehicle-card {
  scroll-snap-align: start;
}

.vehicle-card {
  background: white;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}


.vehicle-photo {
  height: 210px;
  background: #e6e6e6;
  overflow: hidden;
}

.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}



.vehicle-details {
  padding: 22px;
}

.vehicle-label {
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.vehicle-meta {
  color: var(--muted);
  font-size: 13px;
}

.vehicle-price {
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  margin: 14px 0;
}

.vehicle-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.vehicle-details .button {
  margin-top: 10px;
}

/* Keep hidden things hidden, even when a class sets display */
[hidden] { display: none !important; }

/* Clickable vehicle cards on the homepage */
a.vehicle-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

a.vehicle-card:hover,
a.vehicle-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

a.vehicle-card:hover .button-primary { background: var(--brand-dark); }

/* Vehicle detail page */
.vehicle-page { max-width: 1180px; margin: auto; padding-top: 32px; }
.vehicle-page .empty-inventory h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -1px; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.vehicle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.vehicle-detail h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; margin-bottom: 8px; }

.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e6e6e6;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: 0 0 84px;
  height: 63px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: #e6e6e6;
  cursor: pointer;
  opacity: .7;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb[aria-current="true"] { border-color: var(--brand); opacity: 1; }

.vehicle-summary {
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.vehicle-summary .vehicle-price { font-size: 32px; }
.vehicle-summary .button { width: 100%; }
.vehicle-summary .small-note { margin: 12px 0 0; text-align: center; font-size: 12px; }

.vehicle-info { grid-column: 1; }
.vehicle-info section { margin-bottom: 32px; }
.vehicle-info h2 { font-size: 22px; letter-spacing: -.4px; }
.vehicle-info p { color: var(--text-soft); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; }

/* Full-screen photo view */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .92);
}

.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }

.lightbox-close, .lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: white;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 28px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .28); }

@media (max-width: 760px) {
  .vehicle-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vehicle-page { padding-top: 20px; }
  .vehicle-summary { position: static; }
  .vehicle-info { grid-column: auto; }
  .feature-list { grid-template-columns: 1fr; }
  .lightbox-nav { top: auto; bottom: 24px; transform: none; }
}

/* About Us page */
.site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }

.page-banner { position: relative; height: clamp(280px, 42vw, 520px); overflow: hidden; background: var(--deep); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; display: block; }

.story { max-width: 760px; margin: auto; padding-left: 24px; padding-right: 24px; }
.story h1 { margin-bottom: 28px; }
.story .eyebrow { color: var(--brand); font-size: 10px; line-height: 1.6; margin-bottom: 13px; }
.story p { color: var(--text-soft); font-size: 17px; line-height: 1.8; margin-bottom: 22px; }
.story-quote { margin: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brand-bright); color: var(--deep); font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.5px; }
.story-tribute { display: flex; align-items: center; gap: 36px; margin-top: 40px; }
.story-portrait { flex: 0 0 170px; margin: 0; }
.story-portrait img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.story-portrait figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 560px) {
  .story-tribute { flex-direction: column; align-items: flex-start; gap: 24px; }
  .story-portrait { flex-basis: auto; width: 150px; }
}

/* Logo in the top-left header */
.brand-logo { display: block; height: 52px; width: auto; }
@media (max-width: 760px) {
  .brand-logo { height: 40px; }
}

/* English / Spanish switch next to the logo */
.header-start { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.lang-switch button { border: 0; border-radius: 999px; padding: 5px 11px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .5px; cursor: pointer; }
.lang-switch button:hover { color: var(--brand); }
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: white; }

@media (max-width: 760px) {
  .header-start { gap: 10px; }
  .brand-logo { height: 34px; }
  .lang-switch button { padding: 4px 9px; font-size: 11px; }
}

/* Logo in the footer */
.footer-logo { display: block; height: 48px; width: auto; }

/* Services page: makes we service */
.makes-heading { margin-top: 48px; font-size: 26px; }
.makes-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.makes-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }
.makes-list img { flex: none; width: 60px; height: 32px; object-fit: contain; }
.story .makes-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

@media (max-width: 560px) {
  .makes-list { grid-template-columns: 1fr; }
}
.makes-list + .story-quote { margin-top: 40px; }
.story-quote + .makes-note { margin-top: 32px; }
.story > p + .makes-heading { margin-top: 40px; }

/* Cars for Sale page */
.inventory-page h1 { margin: 0; }

/* Keep the footer at the bottom of the window on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1; }
body > .site-header { width: 100%; }

/* Cars for Sale: body type buttons */
.body-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.body-type { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.body-type img { width: 100%; max-width: 150px; height: auto; }
.body-type span { font-size: 17px; font-weight: 600; }
.body-type:hover, .body-type:focus-visible { border-color: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .10); transform: translateY(-2px); }

/* Body type page */
.inventory-page .back-link { margin-bottom: 18px; }
.inventory-page .vehicle-grid-page { margin-top: 28px; }
.body-type-empty { margin-top: 20px; color: var(--muted); font-size: 17px; }

@media (max-width: 760px) {
  .body-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .body-type img { max-width: 92px; }
  .body-type { padding: 16px 6px 12px; gap: 10px; }
  .body-type span { font-size: 14px; }
}

/* Homepage: link to the full Cars for Sale page */
.full-list-link { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.full-list-link a { color: var(--brand); font-weight: 700; }
.services-include { margin-top: 40px; font-size: 26px; }
.services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.services-list li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }
.services-list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--brand); border-radius: 2px; }

@media (max-width: 560px) {
  .services-list { grid-template-columns: 1fr; }
}

/* About page: cream memorial band, matched to the background of Angel's portrait */
.memorial { background: #f5f1e6; padding: 64px 24px; }
.memorial .story-tribute { max-width: 712px; margin: 0 auto; }
.memorial .story-portrait img { box-shadow: 0 4px 14px rgba(80, 60, 20, .12); }
.memorial .story-portrait figcaption { color: #5c5547; }

/* Footer: contact details on the right */
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: start; }
.site-footer > :not(.footer-contact) { grid-column: 1; }
.footer-contact { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; }
.footer-contact p { margin: 0 0 12px; }
.footer-contact p:last-child { margin-bottom: 0; }
.footer-contact span { display: block; color: #cccccc; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-contact a { color: white; font-size: 15px; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: 1; grid-row: auto; margin-top: 24px; }
}

/* Repair Status page: code lookup */
.status-form h1 { margin-bottom: 18px; }
.status-form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.status-form input { flex: 1 1 260px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line-strong, #bdbdbd); border-radius: 6px; font: inherit; font-size: 18px; letter-spacing: 1px; }
.status-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.status-form .button { padding: 14px 22px; font-size: 15px; }
.story .status-message { margin: 16px 0 0; padding: 12px 16px; border-radius: 6px; background: var(--pale); color: var(--ink); font-size: 15px; }
.story .status-call { margin-top: 36px; color: var(--ink); font-weight: 600; }

/* Menu links stay on one line; switch to the Menu button before they run out of room */
.site-nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 3px; padding-top: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .site-nav .nav-contact { text-align: center; }
}

/* Buttons use the site font (browsers don't pass it on to buttons by default) */
button { font-family: inherit; }

/* Repair and estimate status: a customer's opened page */
.status-result h1 { margin-bottom: 6px; }
.story .status-vehicle { margin: 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.story .status-updated { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.status-result h2 { margin: 36px 0 14px; font-size: 24px; }
.status-steps-light { border-color: var(--line); }
.status-steps-light > div { border-bottom-color: var(--line); }
.story .status-steps-light p { margin: 0; line-height: 1.45; }
.status-steps-light strong { font-size: 16px; color: var(--ink); }
.status-steps-light small { color: var(--muted); font-size: 14px; }
.status-steps-light .is-done span { background: var(--ink); color: white; }
.status-steps-light .is-current span { background: white; color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.status-steps-light .is-upcoming { opacity: .45; }
.status-steps-light .is-upcoming span { background: var(--accent); color: var(--ink); }
.current-tag { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: white; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; vertical-align: 2px; }
.estimate-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.estimate-table td, .estimate-table th { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.estimate-table td:last-child, .estimate-table tfoot td { text-align: right; white-space: nowrap; }
.estimate-table tfoot th, .estimate-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 18px; font-weight: 700; }
.status-result .button { margin-top: 28px; }

/* Round badge logo */
.brand-logo { height: 90px; width: 90px; }
.footer-logo { height: 96px; width: 96px; }
@media (max-width: 760px) {
  .brand-logo { height: 64px; width: 64px; }
  .site-header { padding-top: 12px; padding-bottom: 12px; }
}

/* Badge-inspired accents: a red line like the badge's ring, red touches on the dark band */
.site-footer { border-top: 4px solid var(--brand-bright); }
.status-section .eyebrow { color: var(--brand-bright); }
.status-section .status-steps span { background: var(--brand-bright); color: white; }

/* Dark theme: surfaces that were white */
.menu-toggle { background: transparent; color: var(--ink); }
.button-secondary { background: transparent; color: var(--ink); border-color: #555555; }
.button-secondary:hover { border-color: var(--ink); }
.hero-art { background: var(--surface); }
.inventory-preview { background: var(--pale); }
.empty-inventory { background: var(--surface); border-color: #444444; }
.feature-card, .vehicle-card, .body-type, .contact-form { background: var(--surface); border-color: var(--line); }
.vehicle-photo, .gallery-main, .gallery-thumb { background: #262626; }
.contact-form input, .contact-form select, .contact-form textarea, .status-form input { background: var(--white); color: var(--ink); border-color: #444444; }
.contact-form input::placeholder, .status-form input::placeholder { color: #8a8a8a; }
.lang-switch { background: transparent; }
.form-feedback { color: #7fd69b; }
.memorial { background: var(--pale); }
.memorial .story-portrait figcaption { color: var(--muted); }
.memorial .story-portrait img { box-shadow: 0 6px 22px rgba(0, 0, 0, .5); }
.status-steps-light .is-done span { background: var(--ink); color: #111111; }
.status-steps-light .is-current span { background: transparent; }
.status-steps-light .is-upcoming { opacity: .4; }
.status-steps span { color: #111111; }
.site-footer { background: var(--deep-dark); }
/* Black drawings and logos turn white so they show on the dark background */
.body-type img, .makes-list img { filter: invert(1); }

/* Lets browsers draw scrollbars and form controls in dark style */
:root { color-scheme: dark; }

/* Footer: logo and tagline centered on the page, contact details on the right (desktop) */
.site-footer { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.site-footer > .footer-brand:not(.footer-contact) { grid-column: 2; grid-row: 1; justify-self: center; }
.site-footer > p:not(.footer-contact) { grid-column: 2; grid-row: 2; text-align: center; }
.footer-contact { grid-column: 3; grid-row: 1 / span 2; justify-self: end; }

/* Phones and tablets: everything stacked and centered */
@media (max-width: 760px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .site-footer > .footer-brand:not(.footer-contact), .site-footer > p:not(.footer-contact), .site-footer > .footer-contact { grid-column: 1; grid-row: auto; justify-self: center; }
}

/* About page: center Angel's portrait on phones */
@media (max-width: 560px) {
  .story-portrait { align-self: center; }
}

/* Step number circles keep their size even when the text beside them wraps */
.status-steps span { flex: none; }

/* Chalk note pointing at the EN/ES switch */
.lang-hint { display: inline-flex; align-items: center; gap: 2px; margin-left: -16px; padding: 0; border: 0; background: none; color: #f4f1e8; cursor: pointer; filter: url(#chalk); }
.lang-hint-text { font-family: "Caveat Brush", "Comic Sans MS", cursive; font-size: 21px; line-height: 1; letter-spacing: .3px; white-space: nowrap; transform: rotate(-3deg); opacity: .92; }
.lang-hint-arrow { flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.lang-hint-arrow-side { width: 44px; height: 28px; }
.lang-hint-arrow-up { display: none; width: 26px; height: 30px; }
.lang-hint:hover { color: white; }

/* Phones: the note sits under the switch, with the arrow pointing up at it */
@media (max-width: 760px) {
  .site-header .header-start { flex: 1 1 0; min-width: 0; flex-wrap: wrap; row-gap: 0; }
  .lang-hint { flex-basis: 100%; margin: -16px 0 0 99px; align-items: flex-end; }
  .lang-hint-arrow-side { display: none; }
  .lang-hint-arrow-up { display: block; margin-bottom: 8px; }
  .lang-hint-text { font-size: 18px; }
}
