/* ==========================================================================
   page.css — Content pages: Warranty, About, Hours, Contact + stubs.
   Light theme; builds on global primitives (page-hero, prose, info-card, cards…).
   ========================================================================== */

/* Stats row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 760px){ .stat-row { grid-template-columns: 1fr 1fr; } }
.stat { padding: 1.7rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-1); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.stat__num .u { color: var(--accent); }
.stat__label { font-family: var(--font-display); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-top: .55rem; display: block; }

/* Story (text + image) */
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: center; }
@media (max-width: 860px){ .story-grid { grid-template-columns: 1fr; } }
.story-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; position: relative; box-shadow: var(--shadow-2); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media .badge { position: absolute; left: 14px; bottom: 14px; background: #fff; }

/* Two-column content + aside */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }
.split--wide-first { grid-template-columns: 1.3fr .85fr; }
@media (max-width: 860px){ .split--wide-first { grid-template-columns: 1fr; } }

/* Contact method cards */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px){ .method-grid { grid-template-columns: 1fr; } }
.method { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s, box-shadow .25s; }
.method:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.method__icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); flex-shrink: 0; }
.method b { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-size: .76rem; margin-bottom: .35rem; }
.method a.val, .method .val { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.method a.val:hover { color: var(--accent); }
.method small { display: block; color: var(--ink-3); font-size: .84rem; margin-top: .25rem; }

/* Map */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Steps (how it works) */
.steps-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 760px){ .steps-lg { grid-template-columns: 1fr; } }
.step-card { padding: 1.7rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.step-card__n { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--accent); letter-spacing: .04em; }
.step-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); margin: .6rem 0 1rem; }
.step-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.step-card p { color: var(--ink-2); font-size: .92rem; }

/* Covered / not-covered lists */
.cover-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); }
@media (max-width: 700px){ .cover-cols { grid-template-columns: 1fr; } }
.cover-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin-top: 1rem; }
.cover-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.cover-list .ic { color: var(--ok); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.cover-list.is-no .ic { color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 60rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-1); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; text-align: left; color: var(--ink); }
.faq-q .ic { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; transition: transform .3s; }
.faq-q[aria-expanded="true"] .ic { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }

/* Generic icon list for stubs */
.bullet-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 700px){ .bullet-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Request Service wizard — steps, service cards, calendar scheduler
   ========================================================================== */
/* The form card lives in a grid column — without min-width:0 wide step
   content would blow the whole page layout out to the right. */
.form-layout > * { min-width: 0; }

/* The hidden attribute must always win, even over classes that set display
   (e.g. .btn's inline-flex, .sched__confirm's flex) — otherwise "hidden"
   buttons and panels stay visible. */
[hidden] { display: none !important; }

/* --- Step progress bar --- */
.wiz-bar { list-style: none; margin: 0 0 1.9rem; padding: 0; display: flex; align-items: flex-start; }
.wiz-dot { flex: 1; display: grid; justify-items: center; gap: .35rem; position: relative; }
.wiz-dot:not(:first-child)::before { content: ""; position: absolute; top: 19px; right: calc(50% + 24px); left: calc(-50% + 24px); height: 2px; background: var(--line-2); }
.wiz-dot.is-done:not(:first-child)::before, .wiz-dot.is-current:not(:first-child)::before { background: var(--accent); }
.wiz-dot > button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink-3); cursor: default; transition: border-color .2s, background .2s, color .2s; position: relative; z-index: 1; }
.wiz-dot.is-current > button { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.wiz-dot.is-done > button { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); cursor: pointer; }
.wiz-dot.is-done > button .wiz-dot__n { font-size: 0; }
.wiz-dot.is-done > button .wiz-dot__n::before { content: "✓"; font-size: 1rem; }
.wiz-dot__label { font-family: var(--font-display); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.wiz-dot.is-current .wiz-dot__label { color: var(--accent); }
@media (max-width: 620px){ .wiz-dot__label { display: none; } .wiz-bar { margin-bottom: 1.4rem; } .wiz-dot > button { width: 34px; height: 34px; } .wiz-dot:not(:first-child)::before { top: 17px; right: calc(50% + 21px); left: calc(-50% + 21px); } }

/* --- Step sections --- */
.wiz-h { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-bottom: .3rem; }
.wiz-sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.35rem; }
.wiz-step[hidden] { display: none; }

/* --- Service icon cards --- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
@media (max-width: 860px){ .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px){ .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-card { display: grid; justify-items: center; align-content: start; gap: .55rem; padding: 1.05rem .6rem .95rem; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; position: relative; }
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.svc-card img { width: 36px; height: 36px; object-fit: contain; }
.svc-card span { font-family: var(--font-display); font-weight: 600; font-size: .85rem; line-height: 1.25; color: var(--ink); }
.svc-card.is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.svc-card.is-on::after { content: "✓"; position: absolute; top: 7px; right: 8px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }

/* "Other / Not sure" — checkbox-style pill that lives next to Continue */
.svc-other { display: inline-flex; align-items: center; gap: .6rem; padding: .78rem 1.15rem; border: 1.5px dashed var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
.svc-other:hover { border-color: var(--accent); color: var(--accent); }
.svc-other__box { width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid var(--line-2); border-radius: 5px; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.svc-other[aria-pressed="true"], .svc-other.is-on { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.svc-other.is-on .svc-other__box { background: var(--accent); border-color: var(--accent); }
.svc-other.is-on .svc-other__box::before { content: "✓"; color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; }
.wiz-nav { flex-wrap: wrap; row-gap: .7rem; }
@media (max-width: 540px){
  .svc-other { width: 100%; justify-content: center; }
  /* Mobile: nav buttons centered and full-width (Back + Continue share a row) */
  .wiz-nav { justify-content: center; }
  .wiz-nav .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}

/* --- Scheduler (month calendar) --- */
.sched { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.15rem 1.15rem 1.25rem; min-width: 0; max-width: 100%; }
.cal { max-width: 460px; margin: 0 auto; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .75rem; }
.cal__month { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.cal__nav { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s, opacity .15s; }
.cal__nav .ic { width: 16px; height: 16px; }
.cal__nav--prev .ic { transform: rotate(180deg); }
.cal__nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; justify-items: center; }
.cal__dow { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .04em; color: var(--ink); padding: .35rem 0 .55rem; }
.cal__day { width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .95rem; border-radius: 50%; border: 0; background: transparent; }
.cal__day.is-out, .cal__day.is-off { color: #C6CBD2; }
.cal__day.is-avail { color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.cal__day.is-avail:hover { background: var(--accent-soft); color: var(--accent); }
.cal__day.is-sel { background: var(--accent); color: var(--accent-ink); }
.cal__day.is-sel:hover { background: var(--accent); color: var(--accent-ink); }

/* --- Time pills --- */
.sched__times { margin-top: 1.05rem; }
.sched__times-label { font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: .55rem; text-align: center; }
.sched__times-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.time-pill { padding: .55rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg-3); font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.time-pill:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.time-pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* --- Skip link + wizard nav --- */
.wiz-skip { display: block; margin: .9rem auto 0; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.wiz-skip:hover { color: var(--accent); }
.wiz-nav { justify-content: flex-start; }
.wiz-nav .ic--back { transform: rotate(180deg); }

/* --- Review summary on the last step --- */
.wiz-summary { margin-top: 1.15rem; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.wiz-summary__title { padding: .6rem .95rem; background: var(--bg-inset); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.wiz-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .95rem; font-size: .92rem; border-bottom: 1px solid var(--bg-4); }
.wiz-summary__row:last-child { border-bottom: 0; }
.wiz-summary__row span { color: var(--ink-3); flex-shrink: 0; }
.wiz-summary__row b { color: var(--ink); text-align: right; }

/* Confirmation pill */
.sched__confirm { display: flex; align-items: center; gap: .75rem; margin-top: 1.05rem; padding: .85rem 1rem; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 11px; }
.sched__confirm-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.sched__confirm b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.sched__confirm span:not(.sched__confirm-ic) { display: block; font-size: .82rem; color: var(--ink-2); }
.sched__confirm > div { flex: 1; }
.sched__clear { font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--accent); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: .3rem; }
.sched__clear:hover { color: var(--accent-600); }

/* Loading skeleton */
.sched__skel-row { display: flex; gap: .55rem; margin-bottom: .7rem; }
.sched__skel { border-radius: 10px; background: linear-gradient(100deg, var(--bg-3) 40%, var(--bg-4) 50%, var(--bg-3) 60%); background-size: 200% 100%; animation: sched-shimmer 1.2s linear infinite; }
.sched__skel--cal { width: min(460px, 100%); height: 240px; margin: 0 auto .8rem; border-radius: 12px; }
.sched__skel--slot { flex: 1; max-width: 110px; height: 38px; border-radius: 999px; }
.sched__skel-row { justify-content: center; }
@keyframes sched-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sched__skel { animation: none; } }

/* Booked confirmation inside the success panel */
.form-success .booked-note { display: inline-block; margin: 0 auto .9rem; padding: .6rem 1.1rem; background: #fff; border: 1px solid #BCE6CD; border-radius: 999px; font-size: .95rem; color: var(--ink); }
.form-success .booked-note[hidden] { display: none; }
