/* Sun View Auto Glass: service + location page layouts ("Circle Plan"). Loaded after homepage.css. */

/* hero */
.hero-in { padding-top: clamp(28px, 4vw, 56px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 22px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--sun-ink); }
.crumbs a { color: var(--cobalt); text-decoration: none; }
.crumbs [aria-current] { color: var(--ink-2); }
.h1-in { font-size: clamp(30px, 4.1vw, 55px); }
.h1-in .l-ser { font-size: .9em; }
@media (max-width: 480px) { .h1-in { font-size: clamp(25px, 7.3vw, 36px); } }

/* location hero: the route from Sun City */
.hero-route .plan { inset: -2%; width: 104%; height: 104%; }
.rt-dot { fill: var(--cobalt); opacity: .28; }
.rt-path { fill: none; stroke: var(--cobalt); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-route.go .rt-path { animation: draw 2.4s var(--ease) forwards; }
.rt-van { fill: var(--sun); stroke: #fff; stroke-width: 3; opacity: 0; transition: opacity .3s; }
.hero-route.go .rt-van { opacity: 1; }
.rt-home circle { fill: var(--cobalt); stroke: var(--paper); stroke-width: 5; }
.rt-home text { font: 800 13px var(--f-disp); fill: #fff; text-anchor: middle; }
.rt-city circle { fill: var(--sun); stroke: #fff; stroke-width: 3; }
.rt-city .rt-pulse { fill: none; stroke: var(--sun); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.rt-city text { font: 800 26px var(--f-disp); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.hero-route .cp-band, .hero-route .cp-ring { opacity: 0; animation: fade 1s var(--ease) .3s forwards; }
@media (prefers-reduced-motion: reduce) { .rt-path { stroke-dashoffset: 0; } .rt-city .rt-pulse { display: none; } }

/* alternating grounds */
.sec.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.alt + .sec.alt { border-top: 0; }

/* prose sections: sticky heading column + body */
.prose-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.prose-side { position: sticky; top: calc(var(--bar-h) + 28px); }
.prose-body { border-top: 2px solid var(--ink); }
.chunk { padding: 26px 0; border-bottom: 1px solid var(--line); }
.chunk:last-child { border-bottom: 0; }
.chunk .h3 { margin-bottom: 10px; }
.chunk p { color: var(--ink-2); }
.chunk .call-line { color: var(--ink); }
.ticks { margin-top: 16px; display: grid; gap: 0; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line-2); color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245, 138, 7, .16); }
.spec { margin-top: 16px; counter-reset: s; }
.spec li { position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; counter-increment: s; }
.spec li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 500 12px/1.9 var(--f-mono); letter-spacing: .12em; color: var(--cobalt); }
.spec li:last-child { border-bottom: 1px solid var(--line); }
.lab { font-weight: 700; color: var(--ink); }
.ticket .lab { color: var(--ink); }
.prose-grid .tv { margin-top: 30px; }
.prose-side .call-line, .prose-side p { color: var(--ink-2); margin-top: 16px; }

/* why (labelled variant) */
.why-lab { color: var(--ink-2); }
.why-item .why-lab .lab { display: block; font: 700 clamp(19px, 1.7vw, 22px)/1.25 var(--f-disp); margin-bottom: 6px; }

/* services on location pages: two columns of rows, no photography */
.svc-in { background: var(--paper-2); }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.svc-cols .svc-row { padding-right: 8px; }
.svc-in .svc-row .svc-n { position: static; width: auto; text-align: left; }
.svc-in .svc-body { grid-column: 2; grid-row: auto; }

/* route (labelled install steps) */
.step-t { margin-bottom: 8px; }
.step-t .lab { font: 700 clamp(19px, 1.7vw, 22px)/1.25 var(--f-disp); }
.route-after { margin-top: clamp(34px, 4vw, 48px); max-width: 760px; padding: 18px 22px; border-left: 4px solid var(--sun); background: #fff; border-radius: 0 16px 16px 0; box-shadow: 0 0 0 1px var(--line); }
.route-after p { color: var(--ink); }
.steps:has(> li:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* band ticket variants */
.ticket-p { color: var(--ink-2); margin-top: 12px; }
.ticket .h3 + .ticket-list { margin-top: 12px; }

/* cost extras */
.card-wrap > p:not(.call-line) { margin-top: 16px; color: var(--ink-2); }
.cost-copy .spec, .cost-copy .ticks { margin-top: 20px; }

/* areas: chip groups */
.chip-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.chip-group { background: #fff; border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 0 0 1px var(--line); }
.chip-group .h3 { margin-bottom: 8px; }
.chip-group > p { color: var(--ink-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 7px 13px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; line-height: 1.3; }
.chips-zip li { font: 500 14px/1.3 var(--f-mono); letter-spacing: .04em; background: var(--cobalt-l); color: var(--cobalt-d); box-shadow: none; }
.chips a { color: var(--cobalt); text-decoration: none; }
.area-in .area-close { margin-top: 28px !important; }

/* map + weather */
.embeds { padding: 0 0 clamp(64px, 8vw, 104px); }
.area-in .emb-grid { margin-top: clamp(36px, 4vw, 56px); }
.emb-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.emb-grid .map-frame { margin-top: 0; aspect-ratio: auto; min-height: 340px; }
.wx { border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 14px; display: grid; align-content: center; min-height: 200px; }
.wx a.weatherwidget-io { color: var(--ink); font-weight: 700; text-decoration: none; }

/* FAQ: question headings inside summaries */
.qa summary .h3q { font: 600 17px/1.45 var(--f-body); letter-spacing: 0; color: inherit; margin: 0; }
.faq-gh { margin-top: 6px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: 700 clamp(19px, 1.7vw, 22px)/1.25 var(--f-disp); color: var(--ink); }
.inner .faq-group + .faq-group { margin-top: 40px; }
.inner .faq-grid { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }

/* closing band without a map */
.book-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; text-align: left; }

@media (max-width: 1060px) {
  .prose-grid, .emb-grid { grid-template-columns: minmax(0, 1fr); }
  .prose-side { position: static; }
  .chip-groups { grid-template-columns: minmax(0, 1fr); }
  .svc-cols { grid-template-columns: minmax(0, 1fr); }
  .svc-in .svc-row { grid-template-columns: 44px minmax(0, 1fr); }
  .steps:has(> li:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .steps:has(> li:nth-child(5)) { grid-template-columns: minmax(0, 1fr); }
  .spec li { padding-left: 40px; }
  .emb-grid .map-frame { min-height: 300px; }
}

/* rhythm fixes + cost swing tag + centred closing band */
.sec-head > div p, .why-side > div p, .ins-copy > div > p { margin-top: 16px; color: var(--ink-2); }
.sec-head > div p:first-child, .why-side > div p:first-child { font-size: 18px; }
.ins-copy .spec { margin-top: 18px; }
.tag { position: relative; display: inline-grid; gap: 6px; margin-top: 34px; padding: 26px 30px 24px 58px; background: var(--sun); color: var(--ink); border-radius: 10px 26px 26px 10px;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%); box-shadow: 0 30px 60px -30px rgba(226, 96, 10, .6); transform-origin: 0 50%; }
.tag.in { animation: swing 1.6s var(--ease) both; }
@keyframes swing { 0% { transform: rotate(-9deg); } 45% { transform: rotate(4deg); } 75% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.tag-hole { position: absolute; left: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px rgba(20, 26, 38, .25); }
.tag-k, .tag-f { font: 500 11px/1.3 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; }
.tag { max-width: 100%; }
.tag-n { font: 900 clamp(34px, 4vw, 52px)/1 var(--f-disp); letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.alt .tag-hole { background: var(--paper-2); }
.alt .step .stop { box-shadow: 0 0 0 8px var(--paper-2), 0 0 0 9.5px rgba(23, 71, 184, .35); }
.book-solo { margin: 0 auto; text-align: center; }
.book-solo .book-copy p { margin-left: auto; margin-right: auto; }
.book-solo .acts { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .tag.in { animation: none; } }

.sun-route { width: 30%; left: 0; top: 0; opacity: .95; }
.hero-route .plan { z-index: 1; }

/* location services: calm hover (client 2026-11-22: the homepage's snap was too fast here).
   No padding change (it re-wrapped the text mid-animation); the body glides on a transform,
   a soft ease-in-out curve, a longer fill, and a short intent delay so sweeping the cursor past rows doesn't flash them. */
.svc-in .svc-row { transition: none; }
.svc-in .svc-row::before { transition: transform .9s cubic-bezier(.45, 0, .2, 1) .08s, opacity .9s ease .08s; opacity: 0; }
.svc-in .svc-row > .svc-body, .svc-in .svc-row > .svc-n { transition: transform .8s cubic-bezier(.45, 0, .2, 1) .08s, color .6s ease .08s; }
@media (hover: hover) {
  .svc-in .svc-row:hover { padding-left: 0; }
  .svc-in .svc-row:hover::before { transform: scaleX(1); opacity: 1; }
  .svc-in .svc-row:hover > .svc-body, .svc-in .svc-row:hover > .svc-n { transform: translateX(10px); }
  .svc-in .svc-row:hover > .svc-n { color: var(--sun-ink); }
  .svc-in .svc-cta span, .svc-in .svc-cta svg { transition-duration: .7s; }
}
@media (prefers-reduced-motion: reduce) { .svc-in .svc-row::before, .svc-in .svc-row > .svc-body, .svc-in .svc-row > .svc-n { transition: none; } }
/* a page whose doc has a map but no weather widget (Laveen: "N/A"): the map takes the full width */
.emb-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

/* ---------- info pages (2026-11-22) ---------- */
/* hours card: same timetable card as the price card; today's row is lit (site.js, Arizona time) */
.hours-card td.hr-h { font: 600 16px/1.35 var(--f-body); color: var(--ink); white-space: nowrap; }
.hours-card thead th.hr-h { white-space: nowrap; }
.hours-card tr.is-today th, .hours-card tr.is-today td { background: linear-gradient(90deg, rgba(245, 138, 7, .16), rgba(245, 138, 7, 0)); }
.hours-card tr.is-today .sc-n span { background: var(--sun); color: var(--ink); }
.hours-card .today { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; vertical-align: 2px; }

/* legal pages: ring plan + sun hero, sticky contents beside one readable column */
.hero-plain .sun { width: 46%; left: 27%; top: 27%; }
.legal-grid { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--bar-h) + 28px); }
.legal-toc ol { margin-top: 14px; border-top: 2px solid var(--ink); counter-reset: t; }
.legal-toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.legal-toc a { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.4; transition: color .3s var(--ease); }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font: 500 12px/1.9 var(--f-mono); letter-spacing: .1em; color: var(--sun-ink); }
.legal-toc a:hover, .legal-toc a.on { color: var(--cobalt); }
.legal-doc { max-width: 760px; }
.lg-sec { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 20px); }
.lg-sec:first-child { padding-top: 0; border-top: 0; }
.lg-h2 { margin-bottom: 14px; font-size: clamp(22px, 2.2vw, 28px); }
.lg-h3 { margin: 24px 0 8px; font: 700 18px/1.35 var(--f-disp); color: var(--ink); }
.legal-doc p { color: var(--ink-2); margin-top: 12px; }
.legal-doc p:first-of-type { margin-top: 0; }
.legal-doc .call-line { color: var(--ink); }
@media (max-width: 1060px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}

/* sitemap + 404: link groups */
.smap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.smap-h { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.smap-n { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; color: var(--sun-ink); }
.smap-g li { border-bottom: 1px solid var(--line); }
.smap-g a { display: block; padding: 11px 0; color: var(--cobalt); text-decoration: none; font-weight: 500; transition: padding-left .5s cubic-bezier(.45, 0, .2, 1); }
@media (hover: hover) { .smap-g a:hover { padding-left: 8px; } }
@media (max-width: 1060px) { .smap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .smap-grid { grid-template-columns: minmax(0, 1fr); } }

/* why: summary heading in the side column; item titles that are bold lines in the doc */
.why-lede { margin-top: 18px; font: 600 clamp(18px, 1.6vw, 20px)/1.45 var(--f-body); color: var(--ink); }
.why-item .why-t { margin-bottom: 6px; }
.why-list-t .why-item .h3 { margin-bottom: 0; }

/* closing band with a details list (Contact, About): the list stays left-aligned in a centred column */
.book-solo .spec, .book-solo .ticks { max-width: 560px; margin-left: auto; margin-right: auto; text-align: left; }
.book-solo .book-copy p:not(.call-line):has(+ .ticks) { text-align: center; }
