/* DC Automotives LLC — demo site for Arioun AI
   Colors are a demo approximation from the shop’s black-and-silver
   Nextdoor logo (fetched Nov 30, 2026). The brief marked the official
   brand palette as unknown. Header, hero, and footer use black with
   silver accents from that mark. The red call buttons are a contrast
   choice for this demo, not an official brand color.
   Typography and layout follow the Arioun auto-shop demo pattern. */

:root {
  --ink: #111114;
  --ink-soft: #3a3d44;
  --muted: #5c6168;
  --paper: #f2f3f5;
  --paper-2: #e6e8ec;
  --surface: #ffffff;
  --line: #d5d8de;
  --navy: #0a0a0a;
  --navy-2: #161618;
  --hero: #0a0a0a;
  --hero-2: #17171a;
  --cream: #f4f5f7;
  --brand-muted: #a8adb4;
  --rust: #c0121a;
  --rust-deep: #960e15;
  --rust-soft: #f8e8e6;
  --silver: #c8ccd3;
  --focus: #1a6fbf;
  --shadow: 0 12px 32px rgba(17, 17, 20, 0.08);
  --radius: 14px;
  --max: 1120px;
  --header-h: 4.25rem;
  --font: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--rust-deep);
}

a:hover {
  color: var(--rust);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 204, 211, 0.16);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
  line-height: 1.05;
}

.wordmark:hover {
  color: var(--cream);
}

.wordmark-logo {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: none;
  gap: 1.15rem;
  align-items: center;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--silver);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--rust);
  color: #fff;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 8px 20px rgba(192, 18, 26, 0.28);
}

.btn-primary:hover {
  background: var(--rust-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(200, 204, 211, 0.45);
  padding: 0.75rem 1.25rem;
}

.btn-ghost:hover {
  background: rgba(244, 245, 247, 0.1);
  color: #fff;
}

.btn-dark {
  background: var(--hero);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

.header-call {
  white-space: nowrap;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(200, 204, 211, 0.16), transparent 55%),
    linear-gradient(165deg, var(--hero) 0%, var(--hero-2) 55%, #0c0c0e 100%);
  color: var(--cream);
  padding: 2.35rem 1.25rem 9.75rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--silver);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: clamp(2.15rem, 7.4vw, 4.35rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: #d4d6db;
  margin: 0 0 0.75rem;
  max-width: 36rem;
}

.hero-copy {
  color: #b4b7bd;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.75rem;
  padding-top: 1.5rem;
  padding-right: 9.25rem;
  border-top: 1px solid rgba(244, 245, 247, 0.12);
  color: #c5c8ce;
  font-size: 0.95rem;
}

.trust-bar strong {
  color: var(--cream);
  font-weight: 700;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trust-item span {
  font-size: 0.8rem;
  color: #b8bbc2;
}

@media (max-width: 879px) {
  .hero {
    padding: 1.7rem 1.25rem 6.85rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.2vw, 2.55rem);
    margin-bottom: 0.7rem;
  }

  .hero-lead {
    margin-bottom: 0.45rem;
  }

  .hero-copy {
    margin-bottom: 1.1rem;
  }

  .hero-actions {
    margin-bottom: 0.85rem;
  }

  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0.65rem 0.85rem;
    padding-right: 0;
    padding-top: 1.1rem;
  }

  .trust-item-address {
    grid-column: 1 / 2;
  }

  .trust-date {
    display: none;
  }

  .trust-item strong {
    white-space: nowrap;
  }
}

/* Sections */
.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.section-alt .service-card {
  background: var(--paper);
}

.featured-card {
  border-color: #c8ccd3;
  background:
    linear-gradient(180deg, #111114 0%, #1c1c20 100%);
  color: var(--cream);
  box-shadow: 0 12px 32px rgba(17, 17, 20, 0.16);
}

.featured-card h3 {
  color: var(--cream);
}

.featured-card p {
  color: #f3f4f6;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  hyphens: none;
  overflow-wrap: normal;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.vehicle-note {
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 52rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.75rem;
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-photo {
  margin: 0;
  background: #0a0a0a;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-photo img {
  display: block;
  width: 100%;
  max-width: 28rem;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.about-photo figcaption {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #a8adb4;
  text-align: center;
}

.facts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.facts li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.section:not(.section-alt) .facts li {
  background: var(--paper);
}

.facts dt {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--rust);
  margin: 0 0 0.2rem;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Reviews */
.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin: 0 0 1.75rem;
}

.rating-score {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.rating-meta {
  color: var(--ink-soft);
  margin: 0;
  max-width: 40rem;
}

.review-extra {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 52rem;
}

/* Hours + map */
.visit-grid {
  display: grid;
  gap: 1.5rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table th {
  font-weight: 700;
  width: 40%;
}

.hours-table .closed {
  color: var(--muted);
}

.night-drop {
  margin: 1.25rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--silver);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.night-drop h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.night-drop p {
  margin: 0;
  color: var(--ink-soft);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  height: 100%;
  background: var(--paper-2);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  min-height: 320px;
  border: 0;
}

@media (min-width: 700px) {
  .visit-grid > div:last-child {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .map-frame {
    flex: 1;
  }

  .map-frame iframe {
    height: 100%;
  }
}

.address-block {
  margin: 0 0 1rem;
}

.address-block a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.address-block a:hover {
  color: var(--rust);
  text-decoration: underline;
}

.map-link {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.demo-note {
  background: var(--paper-2);
  color: var(--ink-soft);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--ink);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.demo-note a {
  color: var(--rust-deep);
  text-decoration: underline;
}

.estimate-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-check label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.field-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.contact-aside p {
  margin: 0 0 0.85rem;
}

.phone-display {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  line-height: 1.1;
  margin: 0.25rem 0 1rem;
}

.phone-display:hover {
  color: var(--rust);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--brand-muted);
  padding: 2.25rem 1.25rem 7rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.site-footer a {
  color: var(--cream);
}

.footer-wordmark .wordmark-logo {
  height: 2.6rem;
  max-width: 14rem;
}

.arioun-credit {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(244, 245, 247, 0.12);
}

.arioun-credit a {
  color: var(--silver);
  font-weight: 650;
}

/* AI receptionist reserved slot */
.ai-receptionist {
  position: fixed;
  right: 0.75rem;
  bottom: 5.15rem;
  z-index: 50;
  background: var(--hero);
  color: var(--cream);
  border: 2px solid rgba(200, 204, 211, 0.28);
  border-radius: 999px;
  padding: 0.6rem 0.7rem;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  max-width: 8.6rem;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  pointer-events: none;
}

/* Mobile sticky call bar */
.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
}

.mobile-callbar .btn {
  width: 100%;
  max-width: 28rem;
}

.section[id] {
  scroll-margin-top: 5rem;
}

a[href^="tel:"] {
  white-space: nowrap;
}

.header-call-short {
  display: inline;
}

.header-call-full {
  display: none;
}

@media (min-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .visit-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .wordmark-logo {
    height: 2.6rem;
    max-width: 13.5rem;
  }
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .header-call-short {
    display: none;
  }

  .header-call-full {
    display: inline;
  }

  .wordmark-logo {
    height: 2.75rem;
    max-width: 15rem;
  }

  .hero {
    padding: 5rem 1.5rem 4.5rem;
  }

  .hero-actions {
    margin-bottom: 2.25rem;
  }

  .trust-bar {
    gap: 0.75rem 1.75rem;
    padding-right: 0;
  }

  .section {
    padding: 4.5rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .mobile-callbar {
    display: none;
  }

  .ai-receptionist {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.92rem;
    padding: 0.85rem 1.15rem;
    max-width: none;
    white-space: nowrap;
    pointer-events: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .header-inner {
    padding: 0.7rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
