/* ============================================================
   Hot Shot Texas — design system
   BMW-adapted. Alternating light / dark bands, single blue accent.
   Oswald is used for HEADINGS ONLY; everything else is a system
   font stack. Tricolor retired (M-only per BMW guide).
   ============================================================ */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/oswald-500.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/oswald-600.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-700.woff2") format("woff2"); }

:root {
  /* --- Brand --- */
  --accent: #1c69d4;          /* BMW blue: button fills, blue-on-light text */
  --accent-hover: #0653b6;    /* pressed */
  --accent-bright: #5b9bf0;   /* readable blue for text/marks on dark */

  /* --- Light surface set (default page canvas) --- */
  --canvas: #ffffff;
  --surface: #f5f6f8;         /* soft card / band tint */
  --surface-2: #ececf0;       /* nested / stronger */
  --ink: #14181f;             /* headings */
  --body-strong: #262b33;     /* lead / emphasized */
  --body: #4a505b;            /* running body */
  --muted: #737985;           /* captions, fine print */
  --hairline: #e2e4e9;        /* 1px dividers */

  /* --- Dark band set (deep engineered navy-black, not pure black) --- */
  --dark-bg: #12161d;
  --dark-surface: #1a1f28;
  --dark-surface-2: #222834;
  --dark-ink: #ffffff;
  --dark-body-strong: #dfe2e7;
  --dark-body: #a9afba;
  --dark-muted: #767d8a;
  --dark-hairline: #2b313c;

  --wrap: 1200px;
  --section: 96px;
  --font-display: "Oswald", system-ui, sans-serif;   /* headings only */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- Local band tokens (a band overrides these; components read them) --- */
  --bg: var(--canvas);
  --fg: var(--body);
  --fg-strong: var(--body-strong);
  --fg-ink: var(--ink);
  --fg-muted: var(--muted);
  --line: var(--hairline);
  --card: var(--surface);
  --card-2: var(--surface-2);
  --eyebrow: var(--accent);
  --mark: var(--accent);
  --outline-border: rgba(20,24,31,.28);
  --outline-hover: var(--ink);
  --outline-color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- Band modes ---------- */
.band { background: var(--bg); color: var(--fg); }
.band-light {
  --bg: var(--canvas); --fg: var(--body); --fg-strong: var(--body-strong);
  --fg-ink: var(--ink); --fg-muted: var(--muted); --line: var(--hairline);
  --card: var(--surface); --card-2: var(--surface-2);
  --eyebrow: var(--accent); --mark: var(--accent);
  --outline-border: rgba(20,24,31,.28); --outline-hover: var(--ink); --outline-color: var(--ink);
}
.band-tint { --bg: var(--surface); --card: #ffffff; }
.band-dark {
  --bg: var(--dark-bg); --fg: var(--dark-body); --fg-strong: var(--dark-body-strong);
  --fg-ink: var(--dark-ink); --fg-muted: var(--dark-muted); --line: var(--dark-hairline);
  --card: var(--dark-surface); --card-2: var(--dark-surface-2);
  --eyebrow: var(--accent-bright); --mark: var(--accent-bright);
  --outline-border: rgba(255,255,255,.5); --outline-hover: #fff; --outline-color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-ink);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.95rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; }
p { margin: 0 0 1rem; color: var(--fg); }
.lead { font-size: 1.18rem; color: var(--fg-strong); line-height: 1.6; font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; color: var(--eyebrow);
  margin-bottom: 18px;
}

.section { padding-block: var(--section); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--fg); font-size: 1.08rem; font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); text-transform: uppercase; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.08em;
  padding: 15px 30px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--outline-color); border-color: var(--outline-border); }
.btn-outline:hover { border-color: var(--outline-hover); background: rgba(127,127,127,.08); }

.textlink {
  font-family: var(--font-body); text-transform: uppercase; font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.08em; color: var(--eyebrow);
  display: inline-flex; align-items: center; gap: 8px;
}
.textlink::after { content: "→"; transition: transform .15s ease; }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Header (light, sticky) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark { flex: none; color: var(--accent); }
.logo-word-row { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.logo-word-row .tx { color: var(--accent); }
.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a {
  font-family: var(--font-body); text-transform: uppercase; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.07em; color: var(--body-strong);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-desktop a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 22px; }

.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; cursor: pointer; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: .2s; }

.navsheet { position: fixed; inset: 0; z-index: 50; background: var(--dark-bg); transform: translateY(-100%); transition: transform .28s ease; padding: 90px 32px 40px; }
.navsheet nav { display: flex; flex-direction: column; gap: 6px; }
.navsheet nav a { font-family: var(--font-body); text-transform: uppercase; font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; color: #fff; padding: 14px 0; border-bottom: 1px solid var(--dark-hairline); }
.navsheet-cta { margin-top: 24px; }
body.nav-open .navsheet { transform: translateY(0); }
body.nav-open { overflow: hidden; }

/* ---------- Hero (full-bleed photo, dark) ---------- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: stretch; overflow: hidden; background: var(--dark-bg); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,11,15,.94) 0%, rgba(9,11,15,.78) 26%, rgba(9,11,15,.32) 54%, rgba(9,11,15,0) 76%),
    linear-gradient(to top, rgba(9,11,15,.8) 0%, rgba(9,11,15,.15) 38%, rgba(9,11,15,0) 62%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: space-between; min-height: inherit; }
.hero-content { max-width: 620px; padding-top: clamp(116px, 15vh, 190px); }
.hero .eyebrow { color: var(--accent-bright); }
.hero h1 { color: #fff; }
.hero p { color: var(--dark-body-strong); font-size: 1.2rem; max-width: 520px; margin-top: 24px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Hero stats bar (bottom of hero) ---------- */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; padding-bottom: clamp(28px, 4vh, 44px); border-top: 1px solid rgba(255,255,255,.16); }
.spec-cell { padding: 26px 30px 4px; border-left: 1px solid rgba(255,255,255,.12); }
.spec-cell:first-child { border-left: 0; padding-left: 0; }
.spec-cell .val { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: #fff; }
.spec-cell .val span { color: var(--accent-bright); }
.spec-cell .lbl { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--dark-body); margin-top: 12px; font-weight: 600; }

/* ---------- Editorial (text + detail photo) ---------- */
.editorial .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.editorial p { font-size: 1.08rem; font-weight: 300; }
.editorial .checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.editorial .checks li { position: relative; padding-left: 32px; color: var(--fg-strong); }
.editorial .checks li::before {
  content: ""; position: absolute; left: 4px; top: 3px; width: 8px; height: 14px;
  border: solid var(--mark); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.editorial-photo { aspect-ratio: 3/2; object-fit: cover; width: 100%; }

/* ---------- Equipment: photo tiles, text over image ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.equip-card { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--dark-surface); }
.equip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.equip-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,11,15,.92) 0%, rgba(9,11,15,.55) 32%, rgba(9,11,15,.05) 62%, rgba(9,11,15,0) 100%);
}
.equip-card .body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; }
.equip-card h3 { font-size: 1.32rem; color: #fff; }
.equip-card .spec { color: var(--accent-bright); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-top: 6px; }
.equip-card .note { color: var(--dark-body); font-size: 0.9rem; margin-top: 8px; max-width: 30ch; }

/* ---------- Full-bleed photo CTA band ---------- */
.photoband { position: relative; min-height: 58vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--dark-bg); }
.photoband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photoband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,11,15,.62), rgba(9,11,15,.76)); }
.photoband .inner { position: relative; z-index: 2; max-width: 760px; padding: 40px 24px; }
.photoband .eyebrow { color: var(--accent-bright); }
.photoband h2 { color: #fff; }
.photoband p { color: var(--dark-body-strong); font-size: 1.12rem; margin-top: 16px; font-weight: 300; }
.photoband .btn { margin-top: 28px; color: #fff; border-color: rgba(255,255,255,.55); }
.photoband .btn:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Services: taller photo tiles, text over image ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.svc-card { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--dark-surface); }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,11,15,.95) 0%, rgba(9,11,15,.82) 24%, rgba(9,11,15,.32) 56%, rgba(9,11,15,0) 84%);
}
.svc-card .body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 28px; }
.svc-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.svc-card p { color: var(--dark-body-strong); font-size: 0.92rem; font-weight: 300; margin: 0 0 16px; }
.svc-card .svc-link { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--accent-bright); }
.svc-card .svc-link::after { content: "→"; transition: transform .15s ease; }
.svc-card:hover .svc-link::after { transform: translateX(4px); }

/* ---------- Areas we serve ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 40px; margin-top: 8px; }
.area-item { display: flex; align-items: flex-start; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.area-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); flex: none; transform: translateY(7px); }
.area-text { display: flex; flex-direction: column; gap: 5px; }
.area-item .nm { font-family: var(--font-body); text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-ink); font-size: 1rem; line-height: 1.15; }
.area-item .nt { color: var(--fg-muted); font-size: 0.82rem; line-height: 1.35; }
.area-item:hover .nm { color: var(--mark); }

/* ---------- Reviews / testimonials ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rev-card { position: relative; margin: 0; background: var(--card); padding: 32px 30px 30px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.rev-quote { width: 38px; height: auto; display: block; fill: var(--accent); margin-bottom: 18px; }
.rev-card .q { color: var(--fg-strong); font-size: 1.12rem; line-height: 1.6; font-weight: 300; margin: 0; flex: 1; }
.rev-card .who { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; color: var(--fg-ink); font-weight: 700; }
.rev-card .role { color: var(--fg-muted); text-transform: none; letter-spacing: 0; font-size: 0.85rem; font-weight: 400; margin-top: 5px; }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; text-align: center; overflow: hidden; background: var(--dark-bg); }
.finalcta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finalcta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,11,15,.66), rgba(9,11,15,.88)); }
.finalcta .inner { position: relative; z-index: 2; padding: 116px 24px; max-width: 720px; margin-inline: auto; }
.finalcta h2 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.finalcta p { color: var(--dark-body-strong); margin-top: 16px; font-size: 1.14rem; font-weight: 300; }
.finalcta .btn { margin-top: 30px; }

/* ---------- Footer (light) ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--hairline); padding-top: 72px; color: var(--body); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-tag { color: var(--muted); font-size: 0.92rem; max-width: 320px; margin-bottom: 22px; font-weight: 300; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--body); font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; align-items: center; gap: 20px; margin-top: 60px; padding-block: 26px 34px; border-top: 1px solid var(--hairline); }
.footer-base p { margin: 0; color: var(--muted); font-size: 0.82rem; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; min-height: 54vh; display: flex; align-items: center; overflow: hidden; background: var(--dark-bg); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,11,15,.94) 0%, rgba(9,11,15,.72) 34%, rgba(9,11,15,.28) 66%, rgba(9,11,15,.05) 100%),
    linear-gradient(to top, rgba(9,11,15,.85) 0%, rgba(9,11,15,.1) 46%);
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero-inner { max-width: 720px; padding-block: 88px 64px; }
.page-hero .eyebrow { color: var(--accent-bright); }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--dark-body-strong); font-size: 1.18rem; font-weight: 300; margin-top: 20px; max-width: 620px; }
.page-hero .btn { margin-top: 30px; }
.breadcrumb { font-size: 0.82rem; color: var(--dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent-bright); }
.breadcrumb span { color: var(--dark-muted); margin: 0 8px; }

/* ---------- Overview (text + points) ---------- */
.overview .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.overview .lead { margin-bottom: 18px; }
.overview p { font-size: 1.06rem; font-weight: 300; color: var(--fg); }
.points { list-style: none; padding: 28px 30px; margin: 0; background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.points li { position: relative; padding-left: 30px; color: var(--fg-strong); font-size: 0.98rem; }
.points li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 8px; height: 14px; border: solid var(--mark); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.step { padding: 8px 28px 8px 0; }
.step .n { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--accent-bright); line-height: 1; display: block; margin-bottom: 16px; }
.step h3 { color: var(--fg-ink); margin-bottom: 10px; }
.step p { color: var(--fg); font-size: 0.95rem; font-weight: 300; margin: 0; }

/* ---------- Simple prose (privacy etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--fg); margin-bottom: 1rem; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- Contact form ---------- */
.formwrap { max-width: 680px; margin-inline: auto; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; font-weight: 700; color: var(--fg-ink); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--hairline-strong, #cccccc); padding: 13px 15px; border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.contact-form .btn { width: 100%; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .overview .wrap { grid-template-columns: 1fr; gap: 32px; }
  :root { --section: 72px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .header-cta .btn-accent { display: none; }
  .editorial .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .spec-cell { padding: 22px 22px 4px; }
  .spec-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
}
@media (max-width: 560px) {
  :root { --section: 56px; }
  .svc-grid, .rev-grid, .equip-grid, .area-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero-content { padding-block: 108px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
