/* Gtechniq service builder (ceramic-coating-builder.html). Gtechniq's auto service builder, steps and copy, in this
   site's own dress: Bebas Neue over Saira, the pink-to-coral gradient on what is chosen, the coverage block's tab
   states (#1b1b18 tiles, #291722 + a pink top rule when picked), coral checks, the contact page's glass card and
   underlined fields. Scoped to .gt. */
.gt{--gt-tile:#1b1b18;--gt-tile-hi:#24201c;--gt-pick:#291722;--gt-pink:var(--brand-pink,#ea138f);--gt-coral:var(--brand-coral,#f59154);
  --gt-grad:var(--brand-gradient,linear-gradient(405deg,#ea138f 0%,#f59154 100%));--gt-line:var(--line,#ffffff26);--gt-line2:#ffffff14;
  --gt-mut:#d8d1c8;--gt-sub:var(--text-soft,#bcb9b0);--gt-paper:var(--paper,#eeeae2);--gt-ease:cubic-bezier(.16,1,.3,1)}
.gt ::selection{background:#ea138f;color:#fff}

/* ---------- intro ---------- */
.gt-intro .section-heading{margin-bottom:34px}
.gt-intro__copy{display:grid;grid-template-columns:1fr 2fr;gap:24px}
.gt-intro__copy>div{grid-column:2;max-width:760px}
.gt-intro__copy .lead{margin:0 0 18px}
.gt-intro__copy p:not(.lead){margin:0 0 22px;color:var(--gt-sub);font-size:16px;line-height:1.7;max-width:62ch}
.gt-back{display:inline-flex;align-items:center;gap:10px;color:var(--gt-paper);font-weight:700;font-size:15px;text-decoration:none;
  border-bottom:1px solid #ffffff55;padding-bottom:6px;transition:border-color .2s}
.gt-back:hover{border-color:var(--gt-coral)}
.gt-back svg{width:14px;height:14px}

/* ---------- builder: steps beside a standing summary ---------- */
.gt-builder{padding-top:20px!important}
.gt-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:56px;align-items:start}
.gt-steps{min-width:0;display:grid;gap:96px}
.gt-step{margin:0;padding:0;border:0;min-width:0;scroll-margin-top:120px}
.gt-step__head{padding:0;margin:0 0 10px;width:100%;display:grid;gap:12px}
/* the site's own step label (.sw-step-n: "Step 1 of 3") */
.gt-step__n{font-family:var(--brand-body);font-weight:600;font-size:13px;letter-spacing:.08em;color:var(--gt-coral)}
/* no bigger than the site's section h2 (40px), under the page h1 */
.gt-step__title{font-family:var(--brand-heading);font-weight:400;font-size:clamp(28px,2.8vw,40px);line-height:1;letter-spacing:.01em;color:var(--gt-paper);text-wrap:balance}
.gt-step__intro{margin:0 0 28px;max-width:66ch;color:var(--gt-mut);font-size:16px;line-height:1.7}
.gt-step__error{margin:-12px 0 22px;padding:12px 16px;border:1px solid #ff6b8b80;background:#ff6b8b14;color:#ffd0dc;font-size:15px;line-height:1.5}
.gt-step__error[hidden]{display:none}
.gt-step__intro a{color:var(--gt-paper);text-underline-offset:4px;text-decoration-color:var(--gt-coral)}
.gt-step__bar{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.gt-clear{appearance:none;border:0;background:none;color:var(--gt-sub);font:700 12px/1 var(--brand-body);letter-spacing:.12em;text-transform:uppercase;
  cursor:pointer;padding:8px 0;border-bottom:1px solid transparent;white-space:nowrap}
.gt-clear:hover{color:#fff;border-bottom-color:var(--gt-coral)}
.gt-clear[hidden]{display:none}

/* ---------- a choice: the native input stays (keyboard, forms), the tile is its label ---------- */
.gt-choices{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--gt-min,220px)),1fr))}
/* four across, always: 3 + 1 orphan rows between 1100 and 1334px (judge) */
.gt-choices--vehicle,.gt-choices--condition{grid-template-columns:repeat(4,minmax(0,1fr))}
.gt-choices--polishing{--gt-min:320px}
.gt-choices--protection,.gt-choices--surfaces{--gt-min:240px}
.gt-choices--kit{--gt-min:300px}
.gt-choice{position:relative;display:block;cursor:pointer;min-width:0}
.gt-input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.gt-card{position:relative;display:flex;flex-direction:column;height:100%;background:var(--gt-tile);border:1px solid var(--gt-line);border-top:3px solid transparent;
  color:var(--gt-paper);transition:background .25s var(--gt-ease),border-color .25s var(--gt-ease),transform .35s var(--gt-ease)}
.gt-choice:hover .gt-card{background:var(--gt-tile-hi)}
.gt-input:checked+.gt-card{background:var(--gt-pick);border-color:#ea138f66;border-top-color:var(--gt-pink);box-shadow:0 0 0 1px var(--gt-pink)}
.gt-input:focus-visible+.gt-card{outline:2px solid #f5add1;outline-offset:3px}
/* the tile fades, its reason does not (it measured 2.7:1 faded) */
.gt-input:disabled+.gt-card{cursor:not-allowed}
.gt-input:disabled+.gt-card>:not(.gt-why){opacity:.42}
.gt-choice:has(.gt-input:disabled){cursor:not-allowed}
.gt-input:disabled+.gt-card .gt-why{display:block}
.gt-why{display:none;margin:0;padding:0 20px 18px;font-size:13px;line-height:1.5;color:#ffb3cf}

/* the tick: an empty ring until chosen, then the gradient disc with a drawn check */
.gt-tick{position:absolute;top:14px;right:14px;z-index:2;width:28px;height:28px;border-radius:50%;border:1.5px solid #ffffff8c;background:#0f0d0c99;
  display:grid;place-items:center;transition:background .25s,border-color .25s,transform .35s var(--gt-ease)}
.gt-tick svg{width:14px;height:14px;opacity:0;transform:scale(.6);transition:opacity .2s,transform .35s var(--gt-ease)}
.gt-input:checked+.gt-card .gt-tick{background:var(--gt-grad);border-color:transparent;transform:scale(1.04)}
.gt-input:checked+.gt-card .gt-tick svg{opacity:1;transform:none}
.gt-choices--polishing .gt-tick{top:20px;right:18px}

.gt-media{position:relative;display:block;overflow:hidden;background:#100c09}
.gt-media img{display:block;width:100%;height:100%;object-fit:cover}
.gt-body{display:grid;gap:8px;padding:16px 18px 18px;align-content:start}
.gt-body b{font-family:var(--brand-body);font-weight:700;font-size:17px;line-height:1.3}
.gt-body small{font-size:13.5px;line-height:1.55;color:var(--gt-sub)}

/* vehicle: the silhouette on the tile's own ground */
.gt-choices--vehicle .gt-media{aspect-ratio:365.8/200;background:none;padding:18px 18px 0}
.gt-choices--vehicle .gt-media img{object-fit:contain}
/* condition: the paint itself, edge to edge */
.gt-choices--condition .gt-media{aspect-ratio:480/263}
/* packshots and treatment photos sit on the page's paper, their white studio ground multiplied away */
.gt-paper{background:#e9e4dc}
.gt-paper img{mix-blend-mode:multiply}
.gt-choices--protection .gt-media{aspect-ratio:4/3}
.gt-choices--protection .gt-media img{object-fit:contain;padding:10px}
.gt-choices--surfaces .gt-media{aspect-ratio:1/1}
.gt-choices--kit .gt-media{aspect-ratio:4/3}
.gt-choices--kit .gt-media img{object-fit:contain;padding:8px}

/* polishing: a reading choice, no picture -- the text is the decision */
.gt-choices--polishing .gt-body{padding:22px 60px 22px 22px;gap:10px}
.gt-choices--polishing .gt-body b{font-family:var(--brand-heading);font-weight:400;font-size:28px;line-height:1;letter-spacing:.01em}
.gt-choices--polishing .gt-body>span{font-size:15px;line-height:1.65;color:var(--gt-mut)}
.gt-advice{margin-top:6px;padding-top:12px;border-top:1px solid var(--gt-line2);font-size:13.5px;line-height:1.6;color:var(--gt-sub)}
.gt-advice em{font-style:normal;font-weight:700;color:#ee9fc7;margin-right:6px}

/* protection: what Gtechniq claims for it, and Gtechniq's own 1-5 ratings */
.gt-life{font-family:var(--brand-body);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--gt-coral)}
.gt-rated{margin-top:6px;padding-top:10px;border-top:1px solid var(--gt-line2);font-size:12px;line-height:1.3;color:var(--gt-sub)}
.gt-ratings{display:grid;gap:7px}
.gt-rating{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;line-height:1.3;color:var(--gt-mut)}
.gt-pips{display:inline-grid;grid-template-columns:repeat(5,12px);gap:3px;flex:none}
.gt-pips i{height:5px;border-radius:1px;background:#ffffff1f}
.gt-pips i.on{background:var(--gt-coral)}
.gt-input:checked+.gt-card .gt-pips i.on{background:linear-gradient(90deg,#ff3fa4,#f59154)}

.gt-contents{display:block;margin:4px 0 0;padding:10px 0 0;border-top:1px solid var(--gt-line2);columns:2 150px;column-gap:18px}
.gt-contents>span{display:block;break-inside:avoid;position:relative;padding:3px 0 3px 18px;font-size:13px;line-height:1.45;color:var(--gt-mut)}
.gt-contents>span::before{content:'';position:absolute;left:2px;top:8px;width:8px;height:4px;border-left:2px solid var(--gt-coral);border-bottom:2px solid var(--gt-coral);transform:rotate(-45deg)}

.gt-step-note{margin:16px 0 0;font-size:13px;line-height:1.6;color:var(--gt-sub)}

/* ---------- the summary: standing beside the steps ---------- */
/* never taller than the screen under the header (a full package measured 773px; judge) */
.gt-summary{position:sticky;top:116px;max-height:calc(100svh - 132px);overflow:auto;overscroll-behavior:contain;padding:28px 26px 26px;background:var(--glass,rgba(23,19,17,.72));border:1px solid var(--card-line,rgba(255,217,180,.18));
  border-radius:18px}
.gt-summary h2{margin:0 0 18px;font-family:var(--brand-heading);font-weight:400;font-size:34px;line-height:1;letter-spacing:.01em}
.gt-sum{list-style:none;margin:0 0 22px;padding:0}
.gt-sum li{border-top:1px solid var(--gt-line2)}
.gt-sum li:last-child{border-bottom:1px solid var(--gt-line2)}
.gt-sum a{display:grid;grid-template-columns:18px 1fr;gap:2px 10px;padding:11px 0;text-decoration:none;color:inherit}
.gt-sum a:hover .gt-sum__k{color:#fff}
.gt-sum__dot{grid-row:span 2;width:14px;height:14px;margin-top:3px;border-radius:50%;border:1.5px solid #ffffff52;position:relative;transition:background .25s,border-color .25s}
.gt-sum li.is-set .gt-sum__dot{border-color:transparent;background:var(--gt-grad)}
.gt-sum__k{font-family:var(--brand-body);font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gt-sub)}
.gt-sum__v{font-size:14.5px;line-height:1.4;color:#ffffff7a}
.gt-sum li.is-set .gt-sum__v{color:var(--gt-paper)}
.gt-sum li.is-new .gt-sum__v{animation:gt-in .5s var(--gt-ease)}
@keyframes gt-in{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}
.gt-summary .pill{width:100%;min-width:0}
.gt-summary .fine-print{margin:16px 0 0}
@media (min-width:1100px) and (max-height:820px){
  .gt-summary{padding:20px 22px 20px}
  .gt-summary h2{font-size:28px;margin-bottom:10px}
  .gt-sum a{padding:7px 0}
  .gt-summary .fine-print{display:none}
}

/* ---------- phones and tablets: a bar instead of the column ---------- */
.gt-bar{display:none}
@media (max-width:1099px){
  .gt-layout{grid-template-columns:1fr}
  .gt-summary{display:none}
  .gt-bar{display:flex;position:fixed;left:12px;right:12px;bottom:12px;max-width:640px;margin-inline:auto;z-index:40;align-items:center;justify-content:space-between;gap:14px;
    padding:10px 10px 10px 18px;border-radius:14px;background:rgba(21,17,15,.92);border:1px solid var(--card-line,rgba(255,217,180,.18));
    box-shadow:0 10px 30px #0009;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    transition:transform .45s var(--gt-ease),opacity .3s}
  .gt-bar[data-off="1"]{transform:translateY(140%);opacity:0;pointer-events:none;visibility:hidden;transition:transform .45s var(--gt-ease),opacity .3s,visibility 0s .45s}
  .gt-bar p{margin:0;display:grid;gap:2px;min-width:0}
  .gt-bar b{font-family:var(--brand-heading);font-weight:400;font-size:22px;line-height:1;letter-spacing:.01em}
  .gt-bar span{font-size:12.5px;color:var(--gt-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .gt-bar .pill{min-width:0;padding:12px 18px;font-size:14px}
  /* the pause control for the ambient video sits bottom-right; the bar must not cover it */
  body:has(.gt-bar:not([data-off="1"])) .ambient-toggle{bottom:104px;transition:bottom .45s cubic-bezier(.16,1,.3,1)}
}
@media (min-width:1100px){.gt-review{display:none}}

/* ---------- the request: the contact page's form, with the package above it ---------- */
.gt-request{display:grid;gap:30px}
.gt-review{padding:24px 24px 8px;background:var(--glass,rgba(23,19,17,.72));border:1px solid var(--card-line,rgba(255,217,180,.18));border-radius:18px}
.gt-review .gt-review__h{margin:0 0 10px;font-family:var(--brand-heading);font-weight:400;font-size:28px;line-height:1;letter-spacing:.01em}
.gt-review .gt-sum{margin:0 0 14px}
#gt-form{display:block}
.gt-fields{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:34px;background:var(--glass,rgba(23,19,17,.72));border:1px solid var(--card-line,rgba(255,217,180,.18));border-radius:18px}
.gt-fields label{display:grid;gap:10px;font-size:12px}
.gt-fields .gt-wide{grid-column:1/-1}
.gt-fields .qf-l{display:block;font-size:12px}
.gt-fields label b{background:linear-gradient(100deg,#ff3fa4,#f59154);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}
.gt-fields .qf-optional{color:var(--gt-sub);font-size:11px;letter-spacing:.06em;margin-left:6px}
.gt-fields input,.gt-fields textarea{width:100%;margin:0;border:0;border-bottom:1px solid #ffffff50;background:#ffffff05;padding:14px;color:var(--gt-paper);border-radius:0;
  font-family:var(--brand-body);font-size:16px;line-height:normal;letter-spacing:normal;color-scheme:dark}
.gt-fields input::placeholder,.gt-fields textarea::placeholder{color:#ffffff73}
.gt-fields input:focus-visible,.gt-fields textarea:focus-visible{outline:2px solid #f5add1;outline-offset:2px}
.gt-fields input:user-invalid,.gt-fields textarea:user-invalid{border-bottom-color:#ff6b8b}
.gt-fields .qf-consent{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.55;color:var(--gt-sub)}
.gt-fields .qf-consent input{width:20px;height:20px;flex:none;margin-top:1px;padding:0;accent-color:#ea138f}
.gt-fields .qf-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.gt-fields .pill{justify-self:start;grid-column:1/-1}
.gt-status{grid-column:1/-1;margin:0;font-size:15px;line-height:1.6;color:var(--gt-mut)}
.gt-status:empty{display:none}
.gt-status strong{color:var(--gt-paper)}
.gt-status a{color:var(--gt-paper)}
.gt-status.is-error{color:#ffb3cf}
.gt-fields.is-sent{opacity:.92}
.gt-credit{margin-top:40px}

@media (max-width:800px){
  .gt-intro__copy{grid-template-columns:1fr}
  .gt-intro__copy>div{grid-column:1}
  .gt-steps{gap:72px}
  .gt-choices{gap:10px}
  .gt-choices--vehicle,.gt-choices--condition{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gt-choices--polishing .gt-body b{font-size:22px}
  .gt-choices--vehicle .gt-media{padding:12px 12px 0}
  .gt-body{padding:13px 14px 15px}
  .gt-body b{font-size:15.5px}
  .gt-tick{top:10px;right:10px;width:26px;height:26px}
  .gt-choices--polishing .gt-body{padding:18px 54px 18px 18px}
  .gt-fields{grid-template-columns:1fr;padding:22px}
  /* packshots: a wide crop on a phone, the bottle not a full screen tall */
  .gt-choices--protection .gt-media,.gt-choices--kit .gt-media{aspect-ratio:16/9}
  .gt-fields .pill{justify-self:stretch}
}
/* Phones: no step a long run of full-width cards (Jason 2026-10-06; measured before: protection 3.7 screens, other
   surfaces 3.5, polishing 1.9). Coatings and kits are a compare list rather than a rail (Jason: "除了横滑有没有更好方式"):
   all six on one screen as compact rows -- packshot, name, guarantee and the one rating that separates them most,
   durability -- in Gtechniq's own order from 6 months to 9 years. The chosen row opens to its full ratings (or a kit
   to its contents), so a visitor scans first and reads detail only for what they pick. Surfaces sit two to a row;
   long text is held to a few lines until chosen. */
@media (max-width:800px){
  .gt-choices--protection,.gt-choices--kit{grid-template-columns:1fr;gap:8px}
  .gt-choices--protection .gt-card,.gt-choices--kit .gt-card{display:grid;grid-template-columns:68px minmax(0,1fr);column-gap:14px;
    align-items:center;padding:10px 52px 10px 10px;border-radius:12px}
  .gt-choices--protection .gt-media,.gt-choices--kit .gt-media{aspect-ratio:1/1;width:68px;border-radius:9px;align-self:start}
  .gt-choices--protection .gt-media img,.gt-choices--kit .gt-media img{padding:4px}
  .gt-choices--protection .gt-body,.gt-choices--kit .gt-body{padding:2px 0;gap:5px}
  .gt-choices--protection .gt-body b,.gt-choices--kit .gt-body b{font-size:15.5px}
  .gt-choices--protection .gt-life{font-size:11px;letter-spacing:.04em}
  .gt-choices--protection .gt-tick,.gt-choices--kit .gt-tick{top:50%;right:14px;margin-top:-13px;background:rgba(15,13,12,.6);border-color:rgba(255,255,255,.55)}
  body:has(.gt) .ambient-toggle{right:auto;left:12px}
  .gt-choices--protection .gt-input:checked+.gt-card .gt-tick,.gt-choices--kit .gt-input:checked+.gt-card .gt-tick{top:14px;margin-top:0}
  /* collapsed: durability only, its label beside the pips */
  .gt-choices--protection .gt-rated{display:none}
  .gt-choices--protection .gt-ratings{gap:6px}
  .gt-choices--protection .gt-rating:not(:first-child){display:none}
  html:not(#tw-type) .gt .gt-choices--protection .gt-rating:first-child{justify-content:flex-start;gap:12px;font-size:12.5px;color:var(--gt-sub)}
  /* chosen: the whole card, across both columns */
  .gt-choices--protection .gt-input:checked+.gt-card .gt-body,.gt-choices--kit .gt-input:checked+.gt-card .gt-body{grid-column:1/-1;padding:10px 4px 4px}
  .gt-choices--protection .gt-input:checked+.gt-card .gt-rated{display:block}
  .gt-choices--protection .gt-input:checked+.gt-card .gt-rating{display:flex}
  html:not(#tw-type) .gt .gt-choices--protection .gt-input:checked+.gt-card .gt-rating:first-child{justify-content:space-between;color:var(--gt-mut);font-size:13px}
  .gt-choices--kit .gt-body small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .gt-choices--kit .gt-contents{display:none}
  .gt-choices--kit .gt-input:checked+.gt-card .gt-body small{display:block}
  .gt-choices--kit .gt-input:checked+.gt-card .gt-contents{display:block}
  .gt-choices--surfaces{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gt-choices--surfaces .gt-body small,.gt-choices--vehicle .gt-body small{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
  .gt-choices--surfaces .gt-body small{-webkit-line-clamp:3}
  .gt-choices--vehicle .gt-body small{-webkit-line-clamp:2}
  .gt-choices--surfaces .gt-body b{font-size:14.5px}
  .gt-choices--polishing .gt-body>span:not(.gt-advice){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .gt-choices--polishing .gt-card .gt-advice{display:none}
  .gt-input:checked+.gt-card .gt-body>span:not(.gt-advice){display:block;-webkit-line-clamp:unset}
  .gt-choices--polishing .gt-input:checked+.gt-card .gt-advice{display:block}
}
@media (prefers-reduced-motion:reduce){
  .gt *{transition-duration:.01ms!important;animation:none!important}
}

/* typography.css sets every `main li` to the body size on a 32px line (html:not(#tw-type), ID weight): the lists
   inside a tile are data, not reading text */
html:not(#tw-type) .gt .gt-ratings li{font-size:13px;line-height:1.3}
html:not(#tw-type) .gt .gt-contents li{font-size:13px;line-height:1.45}
html:not(#tw-type) .gt .gt-sum li{line-height:1.4}
/* on the paper-ground packshots the empty ring is drawn dark */
@media (min-width:801px){.gt-choices--protection .gt-tick,.gt-choices--kit .gt-tick{border-color:#1b1b1873;background:#ffffffb3}}

/* Prices (Jason 2026-10-08: "把价格也加进去"): Gtechniq's builder prices on each choice, by the chosen vehicle and
   condition ("From" until they are chosen), each line of the summary, and the estimated total under it. */
html:not(#tw-type) .gt .gt-body>.gt-price{display:block;font-family:var(--brand-body);font-weight:700;font-size:16px;line-height:1.2;
  letter-spacing:.01em;color:var(--gt-coral);font-variant-numeric:tabular-nums}
html:not(#tw-type) .gt .gt-choices--polishing .gt-body>.gt-price{font-size:18px;margin-top:-2px}
.gt-input:checked+.gt-card .gt-price{color:#fff}
.gt-sum a{grid-template-columns:18px minmax(0,1fr) auto}
.gt-sum__p{grid-column:3;grid-row:1 / span 2;align-self:center;padding-left:10px;font-weight:700;font-size:14.5px;color:var(--gt-paper);
  white-space:nowrap;font-variant-numeric:tabular-nums}
.gt-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:-8px 0 22px;padding:14px 0 0}
.gt-total span{font-family:var(--brand-body);font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gt-sub)}
.gt-total b{font-family:var(--brand-heading);font-weight:400;font-size:34px;line-height:1;letter-spacing:.01em;font-variant-numeric:tabular-nums;
  background:linear-gradient(100deg,#ff3fa4 0%,#f59154 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.gt-review .gt-total{margin:0 0 16px}
@media (max-width:640px){
  html:not(#tw-type) .gt .gt-body>.gt-price{font-size:14.5px}
  html:not(#tw-type) .gt .gt-choices--polishing .gt-body>.gt-price{font-size:16px}
}
