/* DENVER AUTO REPAIR LLC — demo site for Arioun AI
   Palette is a design choice, not the shop's official brand colors (unknown). */

:root {
  --ink: #14181f;
  --ink-soft: #3e4652;
  --muted: #5c6570;
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --surface: #fffcf7;
  --line: #d9d1c2;
  --hero: #12161c;
  --hero-2: #1c232c;
  --cream: #f3efe6;
  --rust: #c53a12;
  --rust-deep: #9e2d0e;
  --rust-soft: #f8e6de;
  --gold: #9a7410;
  --gold-bg: #fff6d4;
  --gold-line: #c9a227;
  --focus: #1a6fbf;
  --shadow: 0 12px 32px rgba(20, 24, 31, 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%;
}

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;
}

/* Placeholders for unknown facts — always visually distinct */
.placeholder {
  display: inline-block;
  border: 2px dashed var(--gold-line);
  background: var(--gold-bg);
  color: #5c4508;
  padding: 0.1em 0.45em;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.4;
}

.placeholder-block {
  display: block;
  border: 2px dashed var(--gold-line);
  background: var(--gold-bg);
  color: #5c4508;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

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

.wordmark-kicker {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.wordmark-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

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

.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(197, 58, 18, 0.22);
}

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

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 239, 230, 0.45);
  padding: 0.75rem 1.25rem;
}

.btn-ghost:hover {
  background: rgba(243, 239, 230, 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;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(197, 58, 18, 0.22), transparent 55%),
    linear-gradient(165deg, var(--hero) 0%, var(--hero-2) 55%, #151a21 100%);
  color: var(--cream);
  padding: 3rem 1.25rem 3.5rem;
}

.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: #e8b09a;
  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.35rem, 8.2vw, 4.6rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  max-width: 14ch;
}

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

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

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

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 239, 230, 0.12);
  color: #c9c4ba;
  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: #8e8a82;
}

/* 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-note {
  margin: 0 0 1.5rem;
}

.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);
}

.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;
}

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

.price-row {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* 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;
}

.facts {
  list-style: none;
  margin: 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;
}

.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;
}

/* 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;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.review-card footer {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

/* 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);
}

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

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

.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;
}

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

.demo-note {
  border: 2px dashed var(--gold-line);
  background: var(--gold-bg);
  color: #5c4508;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.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;
}

.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(--hero);
  color: #c9c4ba;
  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);
}

.site-footer .wordmark-kicker {
  color: #e8b09a;
}

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

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

.arioun-credit a {
  color: #e8b09a;
  font-weight: 650;
}

/* AI receptionist reserved slot */
.ai-receptionist {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 50;
  background: var(--hero);
  color: var(--cream);
  border: 2px solid rgba(243, 239, 230, 0.2);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  max-width: calc(100vw - 2rem);
  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;
}

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

.hero {
  padding-top: 2.35rem;
}

.trust-bar {
  gap: 0.55rem 1.75rem;
  padding-right: 9.25rem;
}


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

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

/* Mobile: keep the first screen's trust row clear of the sticky call bar
   and keep the AI chip from covering hours/address. */
.hero {
  padding-bottom: 6.5rem;
}

.ai-receptionist {
  max-width: 8.6rem;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  font-size: 0.78rem;
  padding: 0.6rem 0.7rem;
  right: 0.75rem;
  bottom: 5.15rem;
}

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

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

.wordmark-name {
  font-size: 1.2rem;
}

.trust-item span {
  color: #c4bfb5;
}

.review-grid {
  align-items: start;
}

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

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

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

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

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

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

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

  .wordmark-name {
    font-size: 1.35rem;
  }

  .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;
  }

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

  .about-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .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.8rem 1.5rem;
  }
}

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

.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;
}
