/* Zambrano's Tire Shop — Sonoran sunset: adobe terracotta, sun gold, saguaro green, sand.
   Signature: sun-arc dial that tracks today's open hours in Arizona time. */
:root {
  --c-primary: #a8481f;
  --c-primary-dark: #7d3a22;
  --c-accent: #f2a73b;
  --c-ink: #2a1a12;
  --c-muted: #5e4636;
  --c-bg: #f3e3c7;
  --c-surface: #ecd5ae;
  --c-dark: #1e2140;
  --c-on-dark: #f3e3c7;
  --c-border: #d9bd8f;
  --adobe: #a8481f;
  --sun: #f2a73b;
  --saguaro: #2f5d46;
  --sand: #f3e3c7;
  --night: #1e2140;
  --f-head: "Bowlby One", Impact, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --fw-head: 400;
  --radius: 3px;
  --radius-sm: 3px;
}
h1, h2, h3 { letter-spacing: 0; line-height: 1.08; }
h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.3rem; }
:focus-visible { outline-color: var(--sun); }
a { color: var(--adobe); }

/* Buttons: chunky "adobe step" tiles with a thick bottom edge */
.btn { border-radius: 3px; box-shadow: none; font-family: var(--f-body); font-weight: 800; border: 0; border-bottom: 5px solid rgba(0,0,0,.28); }
.btn:hover { transform: none; filter: brightness(1.06); }
.btn:active { border-bottom-width: 2px; margin-top: 3px; }
.btn--sun { background: var(--sun); color: var(--c-ink); }
.btn--sun:hover { color: var(--c-ink); }
.btn--sand { background: var(--sand); color: var(--c-ink); }
.btn--sand:hover { color: var(--c-ink); }

/* Header: adobe band, two-line wordmark */

/* HERO: night-to-sunset sky, centered arc */
.zt-hero { position: relative; color: var(--sand); text-align: center; background: linear-gradient(180deg, var(--night) 0%, #4a2b45 45%, #a8481f 85%, #c9622c 100%); padding-top: clamp(28px, 5vw, 56px); }
.zt-hero-inner { max-width: 860px; padding-bottom: 40px; }
.arc-wrap { max-width: 420px; margin: 0 auto 10px; }
.arc { width: 100%; height: auto; overflow: visible; }
.arc-t { fill: #f3e3c7; font: 700 14px "Figtree", sans-serif; }
#arc-sun { filter: drop-shadow(0 0 14px rgba(242,167,59,.9)); }
#arc-sun.is-moon { fill: #e9e3d4; filter: drop-shadow(0 0 10px rgba(233,227,212,.6)); }
.arc-status { font-weight: 800; font-size: 1rem; background: rgba(30,33,64,.55); display: inline-block; padding: 6px 14px; border-radius: 3px; margin: 4px 0 0; }
.zt-hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 22px auto 16px; max-width: 20ch; }
.zt-lead { font-size: 1.12rem; max-width: 58ch; margin: 0 auto; color: #fbead0; }
.zt-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.horizon { display: block; width: 100%; height: clamp(60px, 9vw, 120px); }

/* WHAT WE FIX: full-width bands with a big left label */
.flats { padding: clamp(48px, 8vw, 96px) 0; }
.flats h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); max-width: 22ch; }
.bands { margin-top: 28px; border-top: 3px solid var(--c-ink); }
.band { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.band > * { min-width: 0; }
.band-n { font-family: var(--f-head); font-size: clamp(1.4rem, 3.6vw, 2.2rem); color: var(--adobe); line-height: 1; }
.band p { margin: 0; }
.band-note { font-size: .88rem; color: var(--c-muted); margin-top: 14px; }
@media (min-width: 768px) { .band { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; } }

/* FAMILY */
.family { background: var(--saguaro); color: var(--sand); padding: clamp(56px, 8vw, 100px) 0; }
.family-grid { display: grid; gap: 36px; }
.family-grid > * { min-width: 0; }
.family-photo { position: relative; background: #24493a; border-radius: 3px; overflow: hidden; }
.family-photo img { width: 100%; aspect-ratio: 9/10; object-fit: cover; }
.family-photo .photo-note { position: absolute; left: 12px; bottom: 12px; margin: 0; }
.family h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.said { list-style: none; padding: 0; margin: 20px 0; }
.said li { padding: 12px 0; border-bottom: 1px dashed rgba(243,227,199,.35); font-size: 1.08rem; }
.said b { color: var(--sun); font-family: var(--f-head); font-weight: 400; margin-right: 6px; }
.src { font-size: .85rem; color: #d7e3d6; }
.src a { color: #ffd9a3; }
@media (min-width: 900px) { .family-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; align-items: center; } }

/* WEEK: 7-tile strip, today highlighted by site.js */
.week { padding: clamp(48px, 7vw, 88px) 0; background: var(--c-surface); }
.week h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.days { list-style: none; padding: 0; margin: 22px 0 10px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
@media (min-width: 640px) { .days { grid-template-columns: repeat(7, minmax(0,1fr)); } }
.days li { background: var(--sand); border-bottom: 5px solid var(--c-border); padding: 12px 6px; text-align: center; border-radius: 3px; }
.days b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.15rem; color: var(--adobe); }
.days span { font-size: .9rem; font-weight: 600; }
.days li.is-today { background: var(--sun); border-bottom-color: var(--adobe); }
.days li.is-today b { color: var(--c-ink); }
.week-note { font-size: .88rem; color: var(--c-muted); }

/* YARD gallery: offset two-up */

/* ASK */
.ask { background: var(--night); color: var(--sand); padding: clamp(56px, 8vw, 100px) 0; }
.ask h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.ask-grid { display: grid; gap: 28px; }
.ask-grid > * { min-width: 0; }
.ask .field label { color: var(--sand); }
.ask .field input, .ask .field select, .ask .field textarea { background: #2b2f57; color: var(--sand); border: 1.5px solid #4b5089; border-radius: 3px; }
.ask .field input::placeholder { color: #a9a7c2; }
.ask .field-error { color: #ffb4a2; }
.ask .btn { justify-self: start; }
.ask .form-success { text-align: left; padding: 0; }
@media (min-width: 900px) { .ask-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; } }

/* FOOTER: sand horizon cut into adobe */
.zt-footer { background: var(--adobe); color: var(--sand); padding: 0 0 26px; }
.foot-horizon { display: block; width: 100%; height: 60px; background: var(--adobe); }
.zt-foot { text-align: center; padding-top: 26px; }
.foot-name { font-family: var(--f-head); font-size: clamp(1.8rem, 6vw, 3rem); margin: 0 0 6px; }
.zt-foot a { color: #fff; }
.small { font-size: .85rem; opacity: .85; }

/* WEEK sits right under the hero now */
.week { background: var(--sand); }

/* HEADER: green interstate sign with an exit tab (own markup) */
.roadsign { position: sticky; top: 0; z-index: 100; background: var(--saguaro); color: #fff; border-bottom: 4px solid var(--sand); box-shadow: inset 0 -7px 0 var(--saguaro), inset 0 -8px 0 rgba(255,255,255,.6); }
.rs-bar { position: relative; max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter) 12px; display: flex; align-items: center; gap: 14px; min-height: 64px; }
.rs-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--f-head); font-size: 1.2rem; line-height: 1.05; }
.rs-brand small { display: block; font-family: var(--f-body); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #d9e6dc; }
.rs-mark { width: 36px; height: 36px; flex: none; }
.rs-exit { display: inline-flex; flex-direction: column; align-items: center; background: #fff; color: var(--saguaro); border-radius: 6px; padding: 2px 9px 3px; font-family: var(--f-head); font-size: 1.15rem; line-height: 1; margin-left: auto; }
.rs-exit small { font-family: var(--f-body); font-size: .55rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rs-links { display: none; gap: 4px; margin-left: 18px; }
.rs-links a { color: #fff; text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 4px; }
.rs-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.rs-toggle { background: #fff; border: 0; border-radius: 6px; }
.rs-toggle span, .rs-toggle span::before, .rs-toggle span::after { background: var(--saguaro); }
.rs-toggle[aria-expanded="true"] span { background: transparent; }
.rs-demo { margin: 0; padding: 3px var(--gutter); text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); color: var(--c-ink); }
@media (min-width: 960px) { .rs-links { display: flex; } .rs-exit { margin-left: 0; order: 3; } .rs-links { margin-left: auto; } }
/* Menu drops from the bottom of the sign */
.rs-drawer { position: absolute; inset: auto 0 auto 0; top: 100%; max-height: calc(100dvh - 110px); overflow-y: auto; background: var(--sand); border-bottom: 4px solid var(--saguaro); padding: 6px var(--gutter) 20px; }
.rs-drawer a:not(.btn) { color: var(--c-ink); font-weight: 800; border-bottom-color: rgba(47,93,70,.25); }

/* LOCATION: full-bleed map, address card floating over it */
.where { position: relative; background: var(--night); }
.where-map iframe { display: block; width: 100%; height: 360px; border: 0; filter: saturate(.85); }
.where-card-wrap { position: relative; margin-top: -90px; padding-bottom: 40px; pointer-events: none; }
.where-card { pointer-events: auto; background: var(--sand); color: var(--c-ink); border-top: 8px solid var(--adobe); padding: 24px; max-width: 460px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.exit { display: inline-block; background: var(--saguaro); color: var(--sand); font-weight: 800; padding: 6px 12px; border-radius: 4px; letter-spacing: .04em; }
.where h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); margin-top: 14px; }
.where-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; }
.where-tel { font-weight: 800; font-size: 1.15rem; }
@media (min-width: 900px) {
  .where-map iframe { height: 520px; }
  .where-card-wrap { position: absolute; inset: 0; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; }
}
.ask-demo { font-size: .85rem; color: #a9a7c2; margin: 0; }

/* Mobile action: sun-dot "open now" pill */
.sun-pill { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--night); color: var(--sand); text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.sun-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.sun-pill.is-closed .sun-dot { background: #e9e3d4; box-shadow: none; }
.sun-pill b { background: var(--sun); color: var(--c-ink); padding: 7px 14px; border-radius: 999px; }
@media (min-width: 960px) { .sun-pill { display: none; } }
.zt-footer { padding-bottom: 96px; }
@media (min-width: 960px) { .zt-footer { padding-bottom: 26px; } }
.foot-horizon { background: var(--adobe); }
