/* Sample additions: services, scroll story, coverage map, app tabs, FAQ, role fields.
   Same tokens and look as site.css. */

/* ---------- Services ---------- */
.services { padding: clamp(64px, 8vw, 112px) 0 clamp(24px, 3vw, 40px); }
.services .section-head { max-width: 760px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 300px; padding: 26px;
  border-radius: var(--radius); background: var(--soft);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.svc::before { /* soft light that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(16,199,176,.28), transparent 60%);
}
.svc:hover { background: #000; color: #fff; transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-num { font: 600 13px/1 var(--body); letter-spacing: .08em; color: var(--muted); transition: color .35s; }
.svc:hover .svc-num { color: #9a9a9a; }
.svc-icon { width: 44px; height: 44px; border-radius: 12px; background: #000; color: #fff; display: grid; place-items: center; transition: background .35s, color .35s; }
.svc:hover .svc-icon { background: #fff; color: #000; }
.svc-icon svg { width: 21px; height: 21px; }
.svc h3 { font-size: 22px; font-weight: 700; margin-top: auto; padding-top: 48px; }
.svc p { margin-top: 10px; color: var(--muted); font-size: 15px; transition: color .35s; }
.svc:hover p { color: #c7c7c7; }
.svc-tag { margin-top: 18px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.svc-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #05a357; }

/* ---------- Scroll story (How it works) ---------- */
.story { padding: clamp(64px, 8vw, 112px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-left: 2px solid var(--line); padding-left: clamp(20px, 3vw, 36px); transition: border-color .4s var(--ease); }
.story-step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 6vh; }
.story-step:last-child { min-height: 52vh; }
.story-btn { all: unset; cursor: pointer; display: block; }
.story-btn:focus-visible { outline: 3px solid #276ef1; outline-offset: 6px; border-radius: 6px; }
.story-num { font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story-step h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; margin-top: 14px; color: #b9b9b9; transition: color .4s var(--ease); }
.story-step p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 42ch; opacity: .45; transition: opacity .4s var(--ease); }
.story-step.is-active { border-color: #000; }
.story-step.is-active h3 { color: #000; }
.story-step.is-active p { opacity: 1; }
.story-inline { display: none; }

.story-sticky { position: sticky; top: 96px; }
.story-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1.08; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 70% 10%, #1f2a2a 0%, #0b0d0d 55%, #000 100%);
}
.story-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 100%);
}
.story-phone { width: min(46%, 270px); }
.story-shots { position: relative; }
.story-shot { transition: opacity .55s var(--ease), transform .7s var(--ease); }
.story-shot:not(:first-child) { position: absolute; inset: 0; }
.story-shot:not(.is-on) { opacity: 0; transform: scale(1.04); }
.story-chip { display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); animation: none; }
.story-chip.is-on { opacity: 1; transform: none; }
.story-chip strong { display: block; font-size: 15px; }
.story-chip span { display: block; font-size: 13px; color: var(--muted); }
.story-chip[data-chip="0"] { left: 5%; top: 14%; }
.story-chip[data-chip="1"] { right: 5%; top: 44%; }
.story-chip[data-chip="2"] { left: 6%; bottom: 12%; }
.chip-dot { width: 12px; height: 12px; border-radius: 50%; background: #05a357; box-shadow: 0 0 0 5px rgba(5,163,87,.15); flex: none; }
.proof { display: grid; gap: 4px; }
.proof span { color: #000; font-weight: 600; font-size: 14px; }
.story-progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--line); }
.story-progress span { font-size: 13px; font-weight: 600; color: #9a9a9a; transition: color .3s; }
.story-progress span:nth-child(2) { text-align: center; }
.story-progress span:nth-child(3) { text-align: right; }
.story-progress span.is-on { color: #000; }
.story-progress i { position: absolute; left: 0; top: -2px; height: 2px; width: 33.34%; background: #000; transition: transform .5s var(--ease); }

/* ---------- Driver app tabs ---------- */
.app-tabs { display: grid; margin-top: 32px; border-top: 1px solid #222; max-width: 460px; }
.app-tabs button {
  all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; column-gap: 6px; row-gap: 4px;
  padding: 16px 4px; border-bottom: 1px solid #222; position: relative;
}
.app-tabs button:focus-visible { outline: 3px solid #276ef1; outline-offset: 2px; border-radius: 6px; }
.app-tabs span { font: 600 13px/22px var(--body); color: #6f6f6f; }
.app-tabs strong { font: 600 18px/22px var(--head); color: #8a8a8a; transition: color .3s; }
.app-tabs em { grid-column: 2; font-style: normal; font-size: 15px; color: #a6a6a6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .4s var(--ease); }
.app-tabs button[aria-selected="true"] strong { color: #fff; }
.app-tabs button[aria-selected="true"] span { color: var(--teal); }
.app-tabs button[aria-selected="true"] em { max-height: 3em; opacity: 1; }
.app-tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--teal); }
.app-tabs button[aria-selected="true"]::after { animation: tabfill var(--tab-ms, 4500ms) linear forwards; }
.app-tabs.stopped button::after { animation: none; width: 0; }
.app-tabs.stopped button[aria-selected="true"]::after { width: 100%; }
@keyframes tabfill { to { width: 100%; } }
.phones .phone { transition: opacity .45s var(--ease), filter .45s var(--ease), transform .55s var(--ease); }
.phones[data-active] .phone { opacity: .38; filter: saturate(.4); }
.phones[data-active="a"] .phone-a, .phones[data-active="b"] .phone-b, .phones[data-active="c"] .phone-c { opacity: 1; filter: none; z-index: 3; }
.phones[data-active="a"] .phone-a { transform: rotate(-3deg) scale(1.05); }
.phones[data-active="b"] .phone-b { transform: translateX(-50%) scale(1.05); }
.phones[data-active="c"] .phone-c { transform: rotate(3deg) scale(1.05); }

/* ---------- Coverage map ---------- */
.coverage { padding: clamp(64px, 8vw, 112px) 0; }
.cov-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cov-copy h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.cov-copy > p:not(.kicker) { margin-top: 18px; font-size: 18px; color: #3d3d3d; max-width: 42ch; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.city { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--soft); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.city:hover { background: var(--soft-2); }
.city[aria-pressed="true"] { background: #000; color: #fff; }
.cov-copy .cov-hint { font-size: 14px; color: var(--muted); margin-top: 16px; }
.cov-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #050707; aspect-ratio: 3 / 2; cursor: crosshair; }
.cov-map svg { display: block; width: 100%; height: 100%; }
.map-card {
  position: absolute; right: 18px; bottom: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.96);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); display: grid; gap: 2px; min-width: 180px; pointer-events: none;
}
.map-kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #05a357; }
.map-card strong { font: 700 20px/1.2 var(--head); letter-spacing: -0.02em; }
.map-card span:last-child { font-size: 13px; color: var(--muted); }
.map-coords { position: absolute; left: 16px; top: 14px; font: 500 11px/1 var(--body); letter-spacing: .08em; color: #5d6b6b; pointer-events: none; }
/* svg parts (styled here so both the map and its labels share the tokens) */
.m-lake { fill: #0c1a20; }
.m-shore { fill: none; stroke: #1d3a44; stroke-width: 1.5; }
.m-grid { stroke: rgba(255,255,255,.035); stroke-width: 1; }
.m-hwy { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-lake-label { fill: #2b5563; font: 600 13px var(--body); letter-spacing: .3em; }
.m-city circle.dot { fill: #fff; transition: r .3s var(--ease); }
.m-city circle.halo { fill: rgba(255,255,255,.12); transition: r .3s var(--ease), fill .3s; }
.m-city text { fill: #b9c2c2; font: 600 14px var(--body); transition: fill .3s; }
.m-city.on circle.halo { fill: rgba(16,199,176,.28); }
.m-city.on text { fill: #fff; }
.m-route { fill: none; stroke: url(#routeGrad); stroke-width: 4; stroke-linecap: round; }
.m-route-glow { fill: none; stroke: rgba(16,199,176,.35); stroke-width: 12; stroke-linecap: round; filter: blur(6px); }
.m-car { fill: #fff; }
.m-hq-ring { fill: none; stroke: rgba(16,199,176,.6); stroke-width: 2; }
.m-hq-dot { fill: #10c7b0; }
.m-hq-label { fill: #10c7b0; font: 700 12px var(--body); letter-spacing: .12em; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 8vw, 112px) 0; background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-copy { position: sticky; top: 96px; }
.faq-copy h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.faq-copy > p:not(.kicker) { margin-top: 18px; font-size: 18px; color: #3d3d3d; }
.faq-list { display: grid; gap: 10px; }
.qa { background: #fff; border-radius: var(--radius); transition: box-shadow .3s var(--ease); }
.qa[open] { box-shadow: 0 18px 40px -24px rgba(0,0,0,.3); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font: 600 18px/1.3 var(--head); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 3px solid #276ef1; outline-offset: -3px; border-radius: var(--radius); }
.qa-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); flex: none; transition: background .25s, transform .35s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.qa[open] .qa-icon { background: #000; color: #fff; transform: rotate(180deg); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a { padding: 0 24px 22px; }
.qa-a p { color: #3d3d3d; font-size: 16px; max-width: 60ch; }
.qa[open] .qa-a { animation: qa-in .4s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact: role fields ---------- */
.f select {
  width: 100%; height: 52px; border: 2px solid transparent; background: #fff; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; color: inherit;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.f select:focus { outline: none; border-color: #000; }
.f[hidden] { display: none; }
.avail { display: flex; flex-wrap: wrap; gap: 6px; }
.avail label { position: relative; }
.avail input { position: absolute; opacity: 0; pointer-events: none; }
.avail span { display: inline-flex; height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.avail input:checked + span { background: #000; color: #fff; }
.avail input:focus-visible + span { outline: 3px solid #276ef1; outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .cov-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-copy { position: static; }
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .story-step, .story-step:first-child, .story-step:last-child { min-height: 0; padding: 8px 0 40px 20px; justify-content: flex-start; }
  .story-step h3 { color: #000; }
  .story-step p { opacity: 1; }
  .story-inline { display: block; width: min(62%, 240px); margin-top: 22px; border-radius: 28px; border: 7px solid #111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc h3 { padding-top: 28px; }
  .cov-map { aspect-ratio: 4 / 3.4; }
  .map-card { right: 10px; bottom: 10px; min-width: 0; padding: 8px 12px; }
  .map-card span:last-child { display: none; }
  .m-city text { font-size: 30px; }
  .m-hq-label { font-size: 24px; }
  .m-lake-label { font-size: 22px; }
  .map-coords { display: none; }
  .map-card strong { font-size: 17px; }
  .qa summary { padding: 18px; font-size: 17px; }
  .qa-a { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-tabs button::after { display: none; }
}
