/* ===================================================================
   Sammy Autos Keighley — styles
   Brand: deep red #C8102E / black #0d0d0d / white. Mobile-first.
   =================================================================== */

:root {
  --red: #C8102E;
  --red-dark: #9e0c24;
  --red-bright: #e8233f;
  --black: #0d0d0d;
  --ink: #1b1b1b;
  --grey-900: #161616;
  --grey-700: #3a3a3a;
  --grey-500: #6b6b6b;
  --grey-200: #e7e7e7;
  --grey-100: #f4f4f5;
  --white: #ffffff;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.22);
  --header-h: 64px;

  --font-head: 'Anton', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration: none; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200,16,46,.35); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 26px rgba(200,16,46,.45); }

.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn-call { background: var(--black); color: #fff; padding: 10px 18px; font-size: .95rem; }
.btn-call:hover { background: var(--red); }
.btn-inline { margin-top: 6px; }
.btn-block { width: 100%; padding: 16px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.97);
  backdrop-filter: saturate(140%) blur(6px);
  height: var(--header-h);
  border-bottom: 3px solid var(--red);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 30px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); color: #fff; font-size: 1.15rem; letter-spacing: .5px; }
.logo-sub {
  font-family: var(--font-body); font-weight: 700; font-size: .58rem; letter-spacing: 3px;
  color: var(--red); background: #fff; padding: 1px 0; text-align: center; margin-top: 2px; border-radius: 2px;
}

.nav { margin-left: auto; display: none; gap: 6px; }
.nav a {
  color: #eee; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }

.header-call { margin-left: 6px; }
.header-call-text { display: inline; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 40px; display: inline-flex; flex-direction: column;
  justify-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 859px) {
  .header-call-text { display: none; }
  .header-call { padding: 10px 12px; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: flex; flex-direction: column; gap: 0;
    background: #0d0d0d; border-bottom: 3px solid var(--red); padding: 8px 16px 18px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--black); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(200,16,46,.55), transparent 55%),
    linear-gradient(135deg, #1a0508 0%, #0d0d0d 45%, #000 100%);
}
.hero-diagonal {
  position: absolute; top: -10%; right: -20%; width: 90%; height: 130%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  transform: skewX(-14deg); transform-origin: top right; opacity: .92;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-car { position: absolute; right: -2%; bottom: -4%; width: min(64%, 720px); opacity: .96; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }

.hero-inner { position: relative; padding: 56px 20px 64px; max-width: var(--maxw); }
.badge {
  display: inline-block; background: #fff; color: var(--black); font-weight: 800; font-size: .8rem;
  letter-spacing: .3px; padding: 7px 14px; border-radius: 50px; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 400; font-size: clamp(2.3rem, 8.5vw, 4.4rem);
  letter-spacing: .5px; text-transform: uppercase; max-width: 14ch; text-shadow: 0 3px 18px rgba(0,0,0,.4);
}
.hero h1 .hl { color: #ffd34d; }
.hero-sub { font-size: clamp(1.02rem, 3.4vw, 1.25rem); max-width: 40ch; color: #f0eaea; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; font-size: .9rem; color: #e8dede; }
.hero-trust li { position: relative; }
.hero-trust li + li::before { content: ""; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-dark { background: var(--black); color: #fff; }
.section-muted { background: var(--grey-100); }

.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; color: var(--red); margin: 0 0 6px; }
.eyebrow-light { color: #ff8a9a; }
.section-title {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .5px;
  font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: .35em;
}
.section-lead { font-size: 1.08rem; color: var(--grey-500); max-width: 52ch; margin-bottom: 38px; }
.section-lead.light { color: #c9c2c2; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(200,16,46,.35); }
.card h3 { font-size: 1.25rem; font-weight: 800; }
.card p { color: var(--grey-500); margin: 0; font-size: .98rem; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  border-radius: 14px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; margin-bottom: 16px;
}
.card-ico svg { width: 30px; height: 30px; }

/* ---------- Booking form ---------- */
.booking-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--grey-500); text-align: center; margin: 12px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; text-align: center; }
.form-status.success { background: #e7f7ec; color: #136c33; border: 1px solid #b6e6c4; }
.form-status.error { background: #fdeaec; color: #a01323; border: 1px solid #f4c0c7; }

/* ---------- Reviews ---------- */
.rating-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #fff, var(--grey-100)); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 16px 22px; margin-bottom: 30px;
}
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.3rem; line-height: 1; }
.rating-text { color: var(--grey-700); }
.rating-text strong { font-size: 1.25rem; color: var(--ink); }
.review-card blockquote { margin: 8px 0 14px; font-style: italic; color: var(--ink); }
.review-card cite { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--grey-700); }
.sample-tag {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--grey-500); background: var(--grey-100); border: 1px dashed var(--grey-500); border-radius: 4px; padding: 1px 5px; margin-left: 4px;
}
.reviews-cta { margin-top: 28px; }
.link-strong { font-weight: 800; }

/* ---------- Hours & location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.location-info h3 { font-size: 1.2rem; font-weight: 800; }
.location-info h3.mt { margin-top: 24px; }
.hours-table { width: 100%; border-collapse: collapse; max-width: 380px; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 4px; border-bottom: 1px solid var(--grey-200); }
.hours-table th { font-weight: 600; color: var(--grey-700); }
.hours-table td { text-align: right; font-weight: 700; }
.hours-table tr.closed td { color: var(--red); }
address { font-style: normal; color: var(--grey-700); line-height: 1.7; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--grey-200); min-height: 300px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfcaca; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 48px 20px 34px; }
.logo-footer .logo-name { font-size: 1.05rem; }
.footer-tagline { color: #9b9494; margin-top: 12px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.footer-col a { color: #fff; font-weight: 700; }
.footer-col a:hover { color: var(--red); }
.footer-hours { color: #9b9494; font-size: .9rem; margin-top: 8px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.footer-bar p { margin: 0; font-size: .82rem; color: #8a8484; text-align: center; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 800; padding: 14px; box-shadow: 0 -6px 18px rgba(0,0,0,.25);
}
.mobile-callbar .ico { width: 1.15em; height: 1.15em; }
body { padding-bottom: 56px; } /* room for callbar on mobile */

/* ===================== Breakpoints ===================== */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-callbar { display: none; }
  body { padding-bottom: 0; }
  .hero-inner { padding: 84px 20px 96px; }
  .section { padding: 88px 0; }
  .location-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
