/* Page CSS for Andre's Garage (pohja: auto-nordic-v4). Kitin ulkopuoliset osat: kortit, autosivu, laskuri + Andre's-kerros lopussa.
   has no part for: the owner's colour rule, the form panel, and three visuals (turntable, car dialog, brand tiles). */

/* the owner: bronze only in small details, never on a button. The kit's brand deal makes the accent the action;
   the action is the ink here, on the light ground and on the dark bar. The accent stays for small marks. */
:root { --p-action: #0f0f10; --p-action-ink: #fff; }

/* the two Google reviews merged into the statement section, 64px under the statement (layout-v4.md section 2, Fill) */
.reviews { margin-top: var(--s-8); display: grid; gap: var(--s-6); }
.reviews .quote { display: grid; gap: var(--s-3); margin: 0; }
.statement__label { margin-bottom: var(--s-4); }

/* the place's composition, wall: photographs from line to line, 2px apart, one ratio (sections.md section 4; system.md, Grid) */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.wall > a { display: block; aspect-ratio: 7 / 5; }
.wall img { width: 100%; height: 100%; object-fit: cover; }
/* a phone: the offer's pair one under the other at 4:3, so the pictures keep their share of the section */
@media (max-width: 639px) { #kauppa .grid > .tile { grid-column: 1 / -1; --tile-ratio: 4 / 3; } }
@media (max-width: 639px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* close-word: the name from line to line, its size set from the column (sections-library.md, close-word: hand-set
   per breakpoint; the kit's own size is cut for eight letters, "Auto Nordic" has eleven) */
.close__word { font-size: calc(min(100vw - 2 * var(--gut), var(--container)) / 5.04); }

/* the tablet (640 to 1023) keeps each section on one screen (layout-v4.md section 2): the rows stay across
   instead of stacking, so the page stays inside a place's seven screens */
@media (min-width: 640px) and (max-width: 1023px) {
  #cars > .tile { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); }   /* each car a row: its picture, its facts beside it */
  #cars .tile__media { grid-row: 1 / span 4; }
  #kauppa .grid > div { grid-column: auto / span 6; }
  #kauppa .tile { --tile-ratio: 16 / 9; }
  #yritys .wrap > * { grid-column: auto / span 6; }
  #yhteys .wrap > * { grid-column: auto / span 6; }
  #yhteys .card { --c-pad: 20px; }
  #yhteys .visit__cols { grid-template-columns: minmax(0, 1fr); }
  #c-msg { min-height: 96px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall > a { aspect-ratio: 3 / 2; }
}

/* inside a visual: the turntable on a car's photograph. One control size, the kit's tokens. */
.ibtn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: var(--bg); color: var(--ink); font: 400 20px/1 var(--font-text); cursor: pointer; transition: background-color var(--m-out) var(--m-ease); }
.ibtn:hover { background: color-mix(in oklab, var(--bg) 88%, var(--ink)); }
@media (max-width: 639px) { .ibtn { width: 44px; height: 44px; } }
.spin { cursor: grab; touch-action: pan-y; user-select: none; }
.spin.is-drag { cursor: grabbing; }
.spin > img { pointer-events: none; }
.spin__ui { position: absolute; right: var(--s-2); bottom: var(--s-2); display: flex; gap: var(--s-2); }
@media (max-width: 639px) { .spin__ui { display: none; } }   /* a phone turns the car by a swipe; two 44px buttons would cover a 165px picture */

/* the car's own page, a native dialog over the whole screen: the gallery left, its facts right */
.cardlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.cardlg__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.cardlg__bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); }
.gal { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; background: var(--p-surface); }
.gal__main { position: relative; min-height: 0; }
.gal__main > img { width: 100%; height: 100%; object-fit: contain; }
.gal__main > .ibtn { position: absolute; top: 50%; translate: 0 -50%; }
.gal__main > .prev { left: var(--s-3); } .gal__main > .next { right: var(--s-3); }
.gal__count { position: absolute; left: var(--s-3); bottom: var(--s-3); padding: 2px var(--s-2); background: var(--bg); font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: var(--s-1); padding: var(--s-1); overflow-x: auto; }
.thumbs > button { flex: none; width: 96px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .6; }
.thumbs > button:hover, .thumbs > button[aria-current="true"] { opacity: 1; }
.thumbs > button[aria-current="true"] { outline: 2px solid var(--accent); outline-offset: -2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet { overflow-y: auto; padding: var(--s-7); display: grid; gap: var(--s-5); align-content: start; }
.sheet .rows > li { padding-block: var(--s-3); }
.sheet details > summary { cursor: pointer; padding-block: var(--s-3); border-bottom: 1px solid var(--line); font-weight: 500; }
.sheet details > ul, .sheet .note > ul { padding: var(--s-3) 0 0 var(--s-5); list-style: disc; }
.sheet .note { display: grid; gap: var(--s-3); }
@media (max-width: 1023px) {
  .cardlg__in { display: block; overflow-y: auto; }
  .cardlg__bar { position: sticky; top: 0; z-index: 1; background: var(--bg); }
  .gal__main { aspect-ratio: 3 / 2; }
  .sheet { overflow: visible; padding: var(--s-5) var(--gut); }
}

/* inside the offer form (myyntitili.html): the brand tiles and the two-way choice, radios drawn as tiles */
.brands { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.brands > legend, .choice > legend { padding: 0; margin-bottom: var(--s-2); font-size: var(--t-small); font-weight: 500; }
.choice { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; border: 0; }
.brands label, .choice label { position: relative; display: grid; justify-items: center; align-content: center; gap: var(--s-1); min-height: 64px; padding: var(--s-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); font-size: var(--t-label); cursor: pointer; transition: border-color var(--m-out) var(--m-ease); }
.choice label { min-height: var(--btn-h); padding-inline: var(--s-5); font-size: var(--t-body); }
.brands label:hover, .choice label:hover { border-color: var(--ink); }
.brands input, .choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.brands label:has(:checked), .choice label:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.brands label:has(:focus-visible), .choice label:has(:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.brands svg { width: 24px; height: 24px; fill: currentColor; }
.wiz__top { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.wiz__step { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: var(--s-4); }
.wiz__step[hidden] { display: none; }
@media (max-width: 639px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wiz__step > .field--full { grid-column: 1 / -1; }
/* a phone: each car across the column, its picture at 2:1, so the two phone screens of the section are filled */
@media (max-width: 639px) { #cars > .tile { grid-column: 1 / -1; --tile-ratio: 2 / 1; } }

/* omistajan pyyntö 16.11.: ei tyhjää ruudun täytettä osioiden alla. Poikkeaa kitin "yksi osio per ruutu" -säännöstä. */
main > section, main > section.hero { height: auto !important; min-height: 0 !important; }
main > section.hero { padding-bottom: 8px; }
main > section:not(.hero, .aghero, .trustbar) { padding-block: clamp(56px, 6vw, 96px) !important; }
main > section:is(.aghero, .trustbar) { padding-block: 0 !important; }
main > .aghero > .aghero__in { display: grid !important; height: auto !important; flex-direction: unset; }
main > .trustbar > .trustbar__in { display: flex !important; flex-direction: row !important; height: auto !important; }
/* hero-kuvassa auto ja asfaltin logo tarvitsevat korkeamman kaistan kuin kitin oletus */
@media (min-width: 640px) { main > .hero--place { --photo: min(66svh, 46vw); } }

/* konversio 17.11.: luottamusrivi heroon, perusteet hiusviivalla, kysymykset, autokortin napit */
.proof { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0 0; padding: 0; list-style: none; font-size: var(--t-small); color: var(--muted); }
.proof a { color: var(--ink); text-decoration: none; }
.proof a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof__stars { color: var(--accent); letter-spacing: .08em; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); margin: 0; padding: 0; list-style: none; }
.points--1 { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.points > li { display: grid; gap: var(--s-2); align-content: start; padding-left: var(--s-4); border-left: 1px solid var(--accent); }
.points p { color: var(--muted); }
.wall--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wall--2 > a { aspect-ratio: 4 / 5; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; cursor: pointer; list-style: none; font-size: var(--t-card); font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; color: var(--accent); font-weight: 400; transition: rotate var(--m-out) var(--m-ease); }
.qa details[open] summary::after { rotate: 45deg; }
.qa details > p { max-width: 60ch; padding-bottom: var(--s-5); color: var(--muted); }
.tile__cta { margin-top: var(--s-1); }
@media (max-width: 639px) {
  .points { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .tile__cta > .btn { flex: 1 1 100%; }
  .proof { gap: var(--s-2) var(--s-4); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #kauppa .grid > .points { grid-column: 1 / -1; }
  #kauppa .grid > .tile { grid-column: 1 / -1; --tile-ratio: 16 / 9; }
  #myyntitili .grid > * { grid-column: auto / span 6; }
  #kysymykset .wrap > * { grid-column: 1 / -1; }
}

/* ---- Ghost-kerros 17.11. (ghost.fi: iso Urbanist, pillerinapit, kelluva musta navi, otsikko herokuvan päällä,
   valkoiset pyöristetyt autokortit faktapillereillä, paksu palkki perusteissa). Ohittaa kitin place-skaalan. */
:root[data-type="place"][data-radius] {
  --t-h1: clamp(40px, 5.4vw + 8px, 92px);
  --t-h2: clamp(30px, 2.9vw + 12px, 58px);
  --t-h3: clamp(20px, .6vw + 17px, 26px);
  --t-card: 20px; --t-lead: 19px;
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-btn: 999px;
}
h1, h2 { font-family: var(--font-display); letter-spacing: -0.03em; }
h1 { font-weight: 800; }
h2 { font-weight: 500; }
.t-card, .tile__head > h3, .points h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.btn { border-radius: 999px; font-weight: 600; }

/* autokortit */
#cars > .tile { background: #fff; border-radius: 18px; padding: 10px 10px 20px; gap: var(--s-3);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px rgb(0 0 0 / .06); }
#cars > .tile > :not(.tile__media) { padding-inline: 12px; }
#cars .tile__media { border-radius: 12px; overflow: hidden; }
#cars .tile__head > h3 { font-size: 22px; }
#cars .tile__price { font: 700 22px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips > span { padding: 4px 11px; border-radius: 999px; background: #eeede9; font-size: 13px; line-height: 1.4; }
#cars .tile__cta { margin-top: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* perusteet: paksu musta palkki kuten Ghostin "Tätä on GHOST" */
.points > li { border-left: 3px solid var(--ink); padding-left: var(--s-5); }

/* kuvat pyöristettyinä */
.tile__media, .pl-photo, .wall > a, #erikoisautot img { border-radius: var(--r-lg); overflow: hidden; }
.quote blockquote { font: 500 clamp(20px, 1vw + 12px, 26px)/1.4 var(--font-display); letter-spacing: -0.01em; }


.qa summary { display: flex; align-items: center; }
.qa summary::after { margin-left: auto; font-size: 24px; line-height: 1; }
.qa details > p { color: var(--muted); }
#cars .tile__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: var(--s-4); }
#cars .tile__cta > .link { white-space: nowrap; }
@media (min-width: 1024px) { .hero--place h1 { font-size: clamp(48px, 3.6vw + 8px, 64px); } }
h1, h2 { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 639px) {
  #cars .tile__cta { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  #cars .tile__cta > .btn { flex: none; min-height: var(--btn-h); width: 100%; }
  #cars .tile__cta > .link { align-self: center; }
  .hero--place h1 { font-size: 34px; }
}

/* rahoituslaskuri 17.11. */
.calc__in { display: grid; gap: var(--s-5); padding: var(--s-6); background: #fff; border-radius: var(--r-lg); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px rgb(0 0 0 / .06); }
.calc__row { display: grid; gap: var(--s-2); }
.calc__row > label { display: flex; justify-content: space-between; gap: var(--s-4); font-weight: 500; }
.calc__row output { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__row select, .calc__num { width: 100%; height: 48px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); font: 500 17px var(--font-text); color: var(--ink); }
.calc__num { font: 700 20px var(--font-display); }
.calc__row input[type=range] { width: 100%; height: 28px; margin: 0; accent-color: var(--ink); }
.calc__out { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-7) var(--s-6); background: #16181a; color: #f6f5f2; border-radius: var(--r-lg); }
.calc__out .t-label { color: rgb(246 245 242 / .7); }
.calc__big { font: 800 clamp(56px, 5vw + 16px, 96px)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: 22px; font-weight: 500; letter-spacing: 0; color: rgb(246 245 242 / .7); }
.calc__sum, .calc__note { color: rgb(246 245 242 / .7); }
.calc__out .btn--primary { margin-top: auto; align-self: flex-start; background: #f6f5f2; color: #16181a; }
.tile__fin { font-size: var(--t-small); color: var(--muted); text-decoration: none; margin-top: calc(-1 * var(--s-2)); }
.tile__fin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .calc > * { grid-column: 1 / -1; } }
@media (max-width: 639px) { .calc__in, .calc__out { padding: var(--s-5); } .calc__out .btn--primary { align-self: stretch; } }


/* ---- autosivu (auto.html) 18.11.: Ghostin ja Prestigen rakenne */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main > section.pdp { padding-top: calc(var(--nav) + 48px) !important; }
.pdp__crumbs { margin-bottom: var(--s-5); font-size: var(--t-small); }
.pdp__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 62rem; }
.pdp__head h1 { font-size: clamp(34px, 3.4vw + 8px, 60px); line-height: 1.04; font-weight: 700; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); grid-template-areas: "gal card" "info card"; gap: var(--s-7) var(--gutter); align-items: start; }
.pdp__gal { grid-area: gal; border-radius: var(--r-lg); overflow: hidden; }
.pdp__gal .gal__main { aspect-ratio: 3 / 2; }
.pdp__gal .gal__main > img { object-fit: cover; }
.pdp__gal .thumbs { padding: 6px 0 0; background: var(--bg); }
.pdp__gal .thumbs > button { border-radius: 8px; overflow: hidden; }
.pdp__card { grid-area: card; display: grid; gap: var(--s-5); padding: var(--s-6); background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px rgb(0 0 0 / .06); }
.pdp__price strong { display: block; font: 700 clamp(32px, 1.6vw + 18px, 42px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.pdp__price span { color: var(--muted); }
.pdp__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); margin: 0; padding-block: var(--s-5); border-block: 1px solid var(--line); }
.pdp__facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp__facts dd { margin: 2px 0 0; font-weight: 500; }
.pdp__cta { display: grid; gap: var(--s-2); }
.pdp__cta .btn, .pfin .btn { width: 100%; }
.pdp__more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--t-small); }
.pfin { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-md); background: var(--bg); }
.pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; }
.pills > legend { padding: 0; margin-bottom: var(--s-2); font-weight: 500; }
.pills label { position: relative; display: grid; place-items: center; height: 40px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; transition: background-color .15s, color .15s; }
.pills input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pills label:hover { border-color: var(--ink); }
.pills label:has(:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pills label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pfin__big { font: 800 clamp(44px, 2vw + 28px, 56px)/1 var(--font-display); letter-spacing: -0.03em; text-align: center; font-variant-numeric: tabular-nums; margin: var(--s-2) 0 0; }
.pfin__big small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pfin__rows { margin: 0; border-top: 1px solid var(--line); }
.pfin__rows > div { display: flex; justify-content: space-between; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.pfin__rows dt { color: var(--muted); } .pfin__rows dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.pdp__info { grid-area: info; display: grid; gap: var(--s-8); }
.pdp__block { display: grid; gap: var(--s-4); }
.pdp__block > h2 { font-size: clamp(26px, 1vw + 18px, 34px); }
.pdp .note { display: grid; gap: var(--s-3); max-width: 70ch; }
.pdp .note ul { columns: 2; column-gap: var(--s-6); padding-left: var(--s-5); list-style: disc; }
.pdp .note li { break-inside: avoid; padding: 2px 0; }
.qa details > ul { columns: 2; column-gap: var(--s-6); padding: 0 0 var(--s-5) var(--s-5); list-style: disc; color: var(--muted); }
.qa details > ul li { break-inside: avoid; padding: 2px 0; }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile__head > h3 > a { color: inherit; text-decoration: none; }
.tile__head > h3 > a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "card" "info"; gap: var(--s-6); }
  .points--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  main > section.pdp { padding-top: calc(var(--nav) + 20px) !important; }
  .pdp__gal { border-radius: var(--r-md); }
  .pdp__card { padding: var(--s-5); }
  .pdp .note ul, .qa details > ul { columns: 1; }
}

/* ===================================================================== Andre's Garage -kerros v2 23.11.2026
   Referenssit: suvantotrucks.com (musta, ajoneuvorivi heron kuvana, isot uppercase-otsikot, hintalaatta kortin alla,
   hunajakennopohja) + akr.fi (puhelinpalkki ylhäällä, keskitetty iso uppercase-otsikko, kaksi polkua, hakupalkki heron
   alla, "Mitä meistä sanotaan?"). Modernimpi: väljempi, pyöristetty, yksi korostusväri (keltainen), logo tarrana. */
:root { --p-action: #ffc21a; --p-action-ink: #0b0b0c; --card: #161618; --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l14 8v16L14 32 0 24V8zM14 32l14 8v16M14 32L0 40v16' fill='none' stroke='%23ffffff' stroke-opacity='.035'/%3E%3C/svg%3E"); }
html, body { background: #0b0b0c; color: #f2f2f0; }
::selection { background: #ffc21a; color: #0b0b0c; }
h1, h2, .t-h3 { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: .95; }
.t-card, .tile__head > h3, .points h3 { font-family: var(--font-display); font-stretch: 92%; font-weight: 700; letter-spacing: 0; }
.btn { font-weight: 700; }
.btn--lg { height: 56px; padding-inline: 28px; font-size: 16px; }
.btn--primary { background: #ffc21a; color: #0b0b0c; }
.btn--primary:hover { background: #ffd24d; }
.btn--secondary { background: transparent; color: #f2f2f0; border: 1.5px solid rgb(255 255 255 / .45); }
.btn--secondary:hover { background: rgb(255 255 255 / .08); border-color: #fff; }
.link { color: #f2f2f0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 700 13px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #ffc21a; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffc21a; box-shadow: 0 0 0 4px rgb(255 194 26 / .2); }
.stars { color: #ffc21a; letter-spacing: .06em; }
.t-lead { color: #c4c4c7; }
main > section:nth-of-type(even):not(.finder, .heavy, #myy) { background: #101012; }

/* yläpalkki (AKR) + täysleveä navi (molemmat referenssit) */
.topbar { background: #ffc21a; color: #0b0b0c; font: 600 14px var(--font-text); position: relative; z-index: 51; }
.topbar__in { display: flex; justify-content: flex-end; gap: 28px; height: 36px; align-items: center; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }
.topbar__g span { letter-spacing: .04em; }
.ag-logo img { display: block; height: 52px; width: auto; }
.nav.nav--tone { background: rgb(11 11 12 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgb(255 255 255 / .08); }
.nav__link { font: 700 14px var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.nav__actions .btn { height: 44px; }
@media (min-width: 1024px) and (max-width: 1240px) { .nav__actions > a.nav__link[href^="tel:"] { display: none; } .nav__link { font-size: 13px; letter-spacing: .03em; } }
@media (max-width: 639px) { .topbar__in { justify-content: space-between; gap: 12px; font-size: 13px; } .topbar__in > a:nth-child(2) { display: none; } }

/* hero */
main > section:is(.aghero, .finder) { padding-block: 0 !important; }
main > .aghero > .aghero__in { display: grid !important; height: auto !important; }
.aghero { position: relative; overflow: hidden; background:
  radial-gradient(60% 55% at 50% 72%, rgb(255 255 255 / .09), transparent 70%),
  radial-gradient(90% 70% at 50% 0%, #1c1d20 0%, transparent 70%), var(--hex), #0b0b0c; }
.aghero__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-block: calc(var(--nav) + 56px) 40px; }
.aghero__text { display: grid; justify-items: center; gap: var(--s-5); max-width: 1000px; }
.aghero h1 { font-size: clamp(48px, 6.4vw + 8px, 112px); }
.aghero__lead { font-size: clamp(17px, .5vw + 14px, 20px); line-height: 1.5; max-width: 56ch; color: #c4c4c7; margin: 0; }
.aghero .btn-row { justify-content: center; }
.aghero__media { position: relative; width: min(100%, 1200px); margin: var(--s-6) 0 0; }
.aghero__media::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -2%; height: 14%; background: radial-gradient(50% 50% at 50% 50%, rgb(255 194 26 / .18), transparent 70%); filter: blur(20px); z-index: -1; }
.aghero__media img { width: 100%; height: auto; display: block; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 12px; margin-top: var(--s-6); text-align: left; }
.stat { display: grid; align-content: start; gap: 4px; padding: 20px 22px; border-radius: 16px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); color: #f2f2f0; text-decoration: none; transition: border-color .2s, background-color .2s; }
a.stat:hover { border-color: #ffc21a; background: rgb(255 194 26 / .06); }
.stat strong { font: 800 clamp(34px, 1.8vw + 14px, 48px)/1 var(--font-display); font-stretch: 78%; }
.stat .star { font-size: .55em; color: #ffc21a; margin-left: 6px; vertical-align: .45em; }
.stat > span { font-size: 14px; color: #9c9ca0; }
.stat em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffc21a; margin-top: 8px; }
.stat--quote { margin: 0; gap: 8px; }
.stat--quote q { quotes: "”" "”"; font-weight: 500; line-height: 1.45; font-size: 15px; }
.stat--quote figcaption { font-size: 13px; color: #9c9ca0; }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat--quote { grid-column: 1 / -1; } .aghero__media { width: calc(100% + 2 * var(--gut)); margin-inline: calc(-1 * var(--gut)); } }
@media (max-width: 639px) {
  .aghero__in { padding-top: calc(var(--nav) + 28px); }
  .aghero h1 { font-size: clamp(42px, 13vw, 60px); }
  .aghero .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .stats { gap: 8px; } .stat { padding: 14px 12px; } .stat em { display: none; } .stat > span { font-size: 12.5px; line-height: 1.3; }
}

/* hakupalkki (AKR) */
.finder { position: relative; z-index: 2; background: #0b0b0c; }
.finder__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; padding: 22px; margin-top: -8px; border-radius: 18px; background: #161618; border: 1px solid rgb(255 255 255 / .09); box-shadow: 0 20px 60px rgb(0 0 0 / .45); }
.ff { display: grid; gap: 6px; }
.ff label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9c9ca0; }
.ff select { height: 52px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .14); background: #0f0f11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23ffc21a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: #f2f2f0; font: 500 16px var(--font-text); appearance: none; }
.ff select:focus-visible { outline: 2px solid #ffc21a; outline-offset: 1px; }
.finder__go { height: 52px; }
@media (max-width: 1023px) { .finder__in { grid-template-columns: 1fr 1fr; } .finder__go { grid-column: 1 / -1; } }
@media (max-width: 639px) { .finder__in { padding: 16px; gap: 10px; } .ff select { height: 48px; font-size: 15px; } }

/* osioiden otsikot */
.sechead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--head-gap); }
.sechead > div { display: grid; gap: var(--s-3); max-width: 760px; }
.sechead h2, #yhteys h2, .build h2, #faq-h { font-size: clamp(40px, 3.6vw + 12px, 76px); }
.sechead__meta { margin: 0; color: #9c9ca0; font-size: 15px; }
.sechead__meta span { color: #ffc21a; font-weight: 700; }
.sechead--sm { margin-bottom: var(--s-5); align-items: center; }
.more { margin-top: var(--s-6); text-align: center; }
.empty { margin-top: var(--s-5); padding: 24px; border-radius: 16px; border: 1px dashed rgb(255 255 255 / .2); text-align: center; color: #c4c4c7; }

/* autokortit: Suvannon hintalaatta, modernisoituna */
#cars > .tile, #vans > .tile { display: flex; flex-direction: column; gap: 14px; padding: 10px; border-radius: 20px; background: #161618; border: 1px solid rgb(255 255 255 / .08); box-shadow: none; transition: border-color .2s, transform .2s; }
#cars > .tile:hover, #vans > .tile:hover { border-color: rgb(255 194 26 / .6); transform: translateY(-3px); }
#cars > .tile[hidden] { display: none; }
#cars .tile__media, #vans .tile__media { position: relative; border-radius: 14px; overflow: hidden; background: #d6d6d5; }
.tile__head { padding-inline: 8px; }
.tile__head > h3 { font-size: 22px !important; line-height: 1.15; }
.tile__head > h3 > a { color: #f2f2f0; text-decoration: none; }
.tile__tag { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 6px 12px; border-radius: 999px; background: #0b0b0c; color: #ffc21a; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 8px; border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; overflow: hidden; }
.specrow > div { padding: 10px 12px; }
.specrow > div + div { border-left: 1px solid rgb(255 255 255 / .1); }
.specrow dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8e; }
.specrow dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pricebar { display: grid; justify-items: center; gap: 2px; margin-top: auto; padding: 16px; border-radius: 14px; background: #ffc21a; color: #0b0b0c; text-decoration: none; transition: background-color .2s; }
.pricebar:hover { background: #ffd24d; }
.pricebar strong { font: 800 32px/1 var(--font-display); font-stretch: 85%; letter-spacing: -0.01em; }
.pricebar span { font-size: 14px; font-weight: 600; opacity: .75; }
.tile__links { display: flex; justify-content: space-between; gap: 12px; padding: 2px 8px 8px; font-size: 14.5px; }
.ibtn { background: rgb(11 11 12 / .75); color: #fff; border-color: rgb(255 255 255 / .2); }
.ibtn:hover { background: #0b0b0c; }
@media (max-width: 639px) { #cars > .tile, #vans > .tile { grid-column: 1 / -1; } }

/* arvostelut (AKR "Mitä meistä sanotaan?") */
.gscore { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 16px; background: #161618; border: 1px solid rgb(255 255 255 / .1); color: #f2f2f0; text-decoration: none; line-height: 1.25; }
.gscore b { font: 800 24px var(--font-display); }
.gscore .t-small { color: #9c9ca0; }
.rgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; gap: 14px; }
.rcard { display: grid; align-content: space-between; gap: var(--s-5); margin: 0; padding: 28px; border-radius: 20px; background: #161618; border: 1px solid rgb(255 255 255 / .08); }
.rcard blockquote { margin: 0; font: 600 19px/1.45 var(--font-text); }
.rcard--big { background: #1d1d20; }
.rcard--big blockquote { font: 700 clamp(22px, .8vw + 14px, 28px)/1.3 var(--font-display); font-stretch: 90%; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.rcard .t-small { color: #9c9ca0; }
.av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2a2a2d; font-weight: 800; color: #f2f2f0; flex: none; }
.rcard--big .av { background: #ffc21a; color: #0b0b0c; }
.rcard--cta { background: #ffc21a; color: #0b0b0c; text-decoration: none; border: 0; }
.rcard--cta .link { color: #0b0b0c; }
.rcard--cta b { font: 800 30px/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
@media (max-width: 1023px) { .rgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .rgrid { grid-template-columns: 1fr; } .rcard { padding: 22px; } }

/* raskas kalusto: varoitusraita + hunajakenno (Suvanto) */
.heavy { position: relative; overflow: hidden; background: var(--hex), #0b0b0c; }
.heavy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(-45deg, #ffc21a 0 18px, #0b0b0c 18px 36px); }
.heavy h2 { font-size: clamp(42px, 4.2vw + 10px, 88px); max-width: 13ch; }
.heavy__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-8); align-items: center; margin-bottom: var(--s-9, 96px); }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kinds li { display: grid; gap: 6px; padding: 22px; border-radius: 16px; background: #161618; border: 1px solid rgb(255 255 255 / .08); }
.kinds svg { width: 42px; height: 42px; fill: none; stroke: #ffc21a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.kinds b { font: 800 20px var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.kinds span { color: #9c9ca0; font-size: 14.5px; }
.count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; margin-left: 8px; border-radius: 999px; background: #ffc21a; color: #0b0b0c; font: 800 16px var(--font-text); vertical-align: middle; }
.heavy .t-h3 { font-size: clamp(26px, 1.4vw + 14px, 38px); }
@media (max-width: 1023px) { .heavy__top { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin-bottom: var(--s-8); } }
@media (max-width: 639px) { .kinds li { padding: 16px; } .heavy .btn-row { flex-direction: column; align-items: stretch; } }

/* erikoisautot */
.build__img { margin: 0; border-radius: 20px; overflow: hidden; background: #111; }
.build__img img { width: 100%; height: auto; display: block; }
.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / .2); }
.spec li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.spec li:nth-child(odd) { padding-right: 12px; }
.spec span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8e; }
.spec b { font: 700 18px var(--font-text); }

/* perusteet */
.points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points > li { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: 18px; background: #161618; border: 1px solid rgb(255 255 255 / .08); border-left: 0; }
.points > li::before { content: none; }
.points .num { font: 800 34px/1 var(--font-display); font-stretch: 78%; color: #ffc21a; }
.points h3 { font-size: 20px; text-transform: uppercase; font-stretch: 85%; font-weight: 800; }
.points p { color: #9c9ca0; }
@media (max-width: 1023px) { .points--4 { grid-template-columns: 1fr 1fr; } .points--3 { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .points--4 { grid-template-columns: 1fr; } }

/* myy meille */
.sellband { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; padding: clamp(28px, 4vw, 60px); border-radius: 24px; background: #ffc21a; color: #0b0b0c; }
.sellband h2 { font-size: clamp(40px, 3.4vw + 12px, 74px); }
.sellband .eyebrow, .sellband .t-lead { color: #0b0b0c; }
.sellopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sellopt { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 16px; background: #0b0b0c; color: #f2f2f0; text-decoration: none; transition: transform .2s; }
.sellopt:hover { transform: translateY(-3px); }
.sellopt b { font: 800 22px var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.sellopt span { font-size: 14.5px; color: #b9b9bb; line-height: 1.45; }
.sellopt em { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; color: #ffc21a; }
@media (max-width: 1023px) { .sellband { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 639px) { .sellopts { grid-template-columns: 1fr; } }

/* kysymykset */
.qa { border-top: 1px solid rgb(255 255 255 / .12); }
.qa details { border-bottom: 1px solid rgb(255 255 255 / .12); }
.qa summary { font-weight: 600; }
.qa summary::after { color: #ffc21a; }
.qa details > p, .qa details > ul { color: #9c9ca0; }

/* yhteys */
.visit__address { font-style: normal; font-size: 20px; line-height: 1.5; }
.hours dt { color: #8a8a8e; }
.hours a { color: #f2f2f0; }
.formcard { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); padding: var(--s-6); background: #161618; border: 1px solid rgb(255 255 255 / .08); border-radius: 20px; }
.formcard .field--full, .formcard .btn-row, .formcard > p { grid-column: 1 / -1; }
.formcard label { font-weight: 600; }
.formcard :is(input, select, textarea) { background: #0f0f11; color: #f2f2f0; border: 1px solid rgb(255 255 255 / .14); border-radius: 12px; }
.formcard :is(input, select, textarea):focus-visible { outline: 2px solid #ffc21a; outline-offset: 1px; }
.formcard textarea { min-height: 120px; }
.formcard .muted { color: #8a8a8e; }
@media (max-width: 639px) { .formcard { grid-template-columns: 1fr; padding: var(--s-5); } .formcard .btn { width: 100%; } }

/* footer: Suvannon tumma footer, iso logo */
.agfoot { background: var(--hex), #070708; color: #f2f2f0; padding-block: clamp(64px, 7vw, 112px) 32px; border-top: 1px solid rgb(255 255 255 / .08); }
.agfoot__cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); padding-bottom: var(--s-8); border-bottom: 1px solid rgb(255 255 255 / .1); }
.agfoot__cta h2 { font-size: clamp(42px, 4vw + 10px, 88px); }
.agfoot__cta .t-lead { margin-top: var(--s-3); }
.agfoot__logo { display: block; width: min(100%, 720px); height: auto; margin: var(--s-8) auto; }
.agfoot__cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--s-5); padding-top: var(--s-6); border-top: 1px solid rgb(255 255 255 / .1); font-size: 15px; }
.agfoot__cols address { font-style: normal; line-height: 1.5; }
.agfoot__cols nav, .agfoot .socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.agfoot a { color: #f2f2f0; text-decoration: none; }
.agfoot a.btn--primary { color: #0b0b0c; }
.agfoot__cols nav a { text-transform: uppercase; font-weight: 700; font-size: 13.5px; letter-spacing: .06em; }
.agfoot__cols a:hover { color: #ffc21a; }
.agfoot .socials { flex-direction: column; align-items: flex-end; }
.agfoot__legal { margin-top: var(--s-6); font-size: 13px; color: #8a8a8e; }
@media (max-width: 1023px) { .agfoot__cols { grid-template-columns: 1fr; } .agfoot .socials { align-items: flex-start; } }
@media (max-width: 639px) { .agfoot { padding-bottom: 96px; } .agfoot__cta .btn-row { flex-direction: column; align-items: stretch; width: 100%; } }
.actionbar { background: rgb(11 11 12 / .94); border-top: 1px solid rgb(255 255 255 / .1); }

/* autosivu tummana */
main > section.pdp { padding-top: calc(var(--nav) + 56px) !important; }
@media (max-width: 1023px) { main > section.pdp { padding-top: calc(var(--nav) + 24px) !important; } }
.pdp__head h1 { font-size: clamp(40px, 4vw + 10px, 80px); }
.pdp__card { background: #161618; border: 1px solid rgb(255 255 255 / .08); box-shadow: none; }
.pdp__price strong { font-stretch: 85%; color: #ffc21a; }
.pdp__price strong.ask { font-size: 32px; }
.pdp__facts dt { color: #8a8a8e; }
.pfin { background: #0f0f11; }
.pills label { background: #161618; color: #f2f2f0; border-color: rgb(255 255 255 / .16); }
.pills label:has(:checked) { background: #ffc21a; border-color: #ffc21a; color: #0b0b0c; }
.calc__row input[type=range] { accent-color: #ffc21a; }
.gal { background: #d6d6d5; }
.pdp__gal .thumbs { background: #0b0b0c; }
.chips > span { background: #1f1f22; color: #e2e2e4; }
.gal__count { background: #0b0b0c; color: #fff; }
.rows > li { border-color: rgb(255 255 255 / .1); }
.muted, .t-small.muted { color: #8a8a8e; }
.topbar { position: fixed; top: 0; left: 0; right: 0; }
.nav.nav--tone { top: 36px !important; }
.aghero__in { padding-block: calc(var(--nav) + 36px + 36px) 40px; }
main > section.pdp { padding-top: calc(var(--nav) + 36px + 56px) !important; }
.aghero h1 { font-size: clamp(46px, 5vw + 8px, 92px); }
.aghero__text { gap: var(--s-4); }
.aghero__media { margin-top: var(--s-5); }
@media (max-width: 1023px) { main > section.pdp { padding-top: calc(var(--nav) + 36px + 24px) !important; } }
.stat--quote .stars, .rcard .stars { color: #ffc21a !important; }
.finder__go { gap: .3em; }
h1, h2, .t-h3 { line-height: .95 !important; }
.heavy h2, .build h2, #yhteys h2 { line-height: .92 !important; }
.agfoot__social { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 1023px) { .agfoot__social { align-items: flex-start; } }
.specrow > div { padding: 9px 10px; }
.specrow dd { font-size: 14.5px; text-overflow: clip; }
h1, h2, .t-h3, .heavy h2, .build h2, #yhteys h2 { line-height: 1 !important; }
.finder__in { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
@media (max-width: 1023px) { .finder__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ff { min-width: 0; } .ff select { width: 100%; min-width: 0; text-overflow: ellipsis; }
