/* Xyncema Garage — industrial precision, specification-led. Tokens: [data-theme="automotive"] */

[data-theme="automotive"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.ga-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.ga-kicker { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; color: var(--primary-ink); display: flex; align-items: center; gap: .6rem; }
.ga-kicker::before { content: ""; width: 18px; height: 3px; background: var(--primary); }
.ga-h1 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .9; letter-spacing: -0.01em; }
.ga-h2 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: .95; }
.ga-h3 { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; letter-spacing: .01em; }
.ga-lead { font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.6; color: var(--muted); max-width: 38rem; }
.ga-muted { color: var(--muted); }
.ga-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.ga-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; border-bottom: 2px solid var(--text); padding-bottom: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.ga-head > div { display: grid; gap: .6rem; max-width: 46rem; }
.ga-dark { background: var(--surface-2); color: var(--on-surface-2); }
.ga-dark .ga-kicker { color: var(--primary-on-dark); }
.ga-dark .ga-muted, .ga-dark .ga-lead { color: #AFB8C2; }
.ga-dark .ga-head { border-color: #39424C; }

.ga-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.4rem; border-radius: var(--radius-btn); border: 2px solid var(--primary); background: var(--primary); color: #14181C; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; text-decoration: none; cursor: pointer; }
.ga-btn:hover { background: #C24C1D; border-color: #C24C1D; }
.ga-btn svg { width: 18px; height: 18px; }
.ga-btn--dark { background: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }
.ga-btn--dark:hover { background: #2B333C; border-color: #2B333C; }
.ga-btn--line { background: transparent; border-color: currentColor; color: inherit; }
.ga-btn--line:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.ga-dark .ga-btn--line:hover { background: var(--on-surface-2); color: var(--surface-2); border-color: var(--on-surface-2); }
.ga-btn--sm { min-height: 44px; font-size: .92rem; padding: .4rem .9rem; }
.ga-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ga-link { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-ink); display: inline-flex; gap: .4rem; align-items: center; }
.ga-link svg { width: 16px; height: 16px; }
.ga-tag { display: inline-block; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding: .1rem .5rem; border: 1.5px solid currentColor; }
.ga-tag--fill { background: var(--primary); border-color: var(--primary); color: #14181C; }

/* Header */
.ga-header { position: sticky; top: 0; z-index: 40; background: var(--surface-2); color: var(--on-surface-2); }
.ga-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 66px; }
.ga-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.75rem; letter-spacing: .02em; color: #fff; }
.ga-logo i { width: 12px; height: 26px; background: var(--primary); transform: skewX(-12deg); }
.ga-logo small { font-family: var(--font-body); font-size: .68rem; letter-spacing: .12em; color: #AFB8C2; font-weight: 500; text-transform: none; }
.ga-nav { display: flex; gap: 1.6rem; }
.ga-nav a { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: 1.05rem; text-decoration: none; padding-block: .35rem; border-bottom: 3px solid transparent; }
.ga-nav a:hover, .ga-nav a[aria-current] { border-bottom-color: var(--primary); }
.ga-header .ga-btn { min-height: 42px; font-size: .95rem; padding: .35rem 1rem; }
.ga-header :focus-visible { outline-color: var(--primary); }
.ga-toggle { display: none; width: 44px; height: 44px; border: 2px solid #39424C; background: transparent; color: #fff; place-items: center; }
.ga-toggle svg { width: 22px; height: 22px; }
.ga-mobile { display: none; }
@media (max-width: 900px) {
  .ga-nav { display: none; }
  .ga-toggle { display: inline-grid; }
  .is-nav-open .ga-mobile { display: grid; padding-block: .2rem 1rem; }
  .ga-mobile a { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; text-decoration: none; padding: .45rem 0; border-top: 1px solid #39424C; }
}
@media (max-width: 520px) { .ga-header .ga-btn { display: none; } }

/* Hero */
.ga-hero { position: relative; background: var(--surface-2); color: #fff; overflow: hidden; }
.ga-hero__img { position: absolute; inset: 0; }
.ga-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.ga-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 34, 41, .95) 0%, rgba(27, 34, 41, .55) 60%, rgba(27, 34, 41, .25) 100%); }
.ga-hero__inner { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); display: grid; gap: 1.3rem; }
.ga-hero .ga-kicker { color: var(--primary); }
.ga-hero .ga-lead { color: #D3D9DF; }
.ga-hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.ga-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid #39424C; margin-top: 1rem; max-width: 46rem; }
.ga-specs div { padding: 1rem 1rem 0 0; }
.ga-specs div + div { padding-left: 1rem; border-left: 1px solid #39424C; }
.ga-specs dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #AFB8C2; }
.ga-specs dd { margin: .15rem 0 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
@media (max-width: 620px) { .ga-specs { grid-template-columns: 1fr; } .ga-specs div + div { padding-left: 0; border-left: 0; border-top: 1px solid #39424C; } }

/* Service cards */
.ga-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ga-card { position: relative; background: var(--surface); border: 2px solid var(--text); display: grid; grid-template-rows: auto 1fr; }
.ga-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--text); }
.ga-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ga-card__img .ga-tag { position: absolute; left: 0; bottom: 0; background: var(--text); color: var(--bg); border: 0; padding: .25rem .6rem; }
.ga-card__body { padding: 1.2rem; display: grid; gap: .7rem; align-content: start; }
.ga-card h3 a { text-decoration: none; }
.ga-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ga-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; margin: .2rem 0 0; border-top: 1px solid var(--border); padding-top: .7rem; }
.ga-card dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ga-card dd { margin: 0 0 .4rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
@media (max-width: 900px) { .ga-grid { grid-template-columns: 1fr; } }

/* Feature service */
.ga-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border: 2px solid var(--text); background: var(--surface); }
.ga-feature__media { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--text); border-right: 2px solid var(--text); }
.ga-feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.ga-feature__body { padding: clamp(1.4rem, 3.5vw, 2.5rem); display: grid; gap: 1rem; align-content: center; }
.ga-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; }
.ga-steps li { counter-increment: st; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1rem; padding-block: .8rem; border-top: 1px solid var(--border); }
.ga-steps li::before { content: "0" counter(st); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--primary-ink); }
.ga-steps b { display: block; font-family: var(--font-heading); text-transform: uppercase; font-size: 1.15rem; }
.ga-steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .ga-feature { grid-template-columns: 1fr; } .ga-feature__media { grid-template-rows: none; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 2px solid var(--text); } }

/* Process */
.ga-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.ga-process li { list-style: none; padding: 1.5rem clamp(.8rem, 2vw, 1.5rem) 0 0; display: grid; gap: .5rem; align-content: start; counter-increment: pr; }
.ga-process { counter-reset: pr; }
.ga-process li + li { padding-left: clamp(.8rem, 2vw, 1.5rem); border-left: 1px solid var(--border); }
.ga-process li::before { content: counter(pr, decimal-leading-zero); font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--primary); }
@media (max-width: 860px) { .ga-process { grid-template-columns: 1fr 1fr; } .ga-process li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .ga-process { grid-template-columns: 1fr; } .ga-process li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 1.2rem; } }

/* Equipment */
.ga-equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ga-equip figure { margin: 0; display: grid; gap: .7rem; }
.ga-equip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ga-equip figcaption h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.2rem; margin-bottom: .2rem; }
@media (max-width: 800px) { .ga-equip { grid-template-columns: 1fr; } }

/* Visit preview */
.ga-visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border: 2px solid var(--text); background: var(--surface); }
.ga-visit__form { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
.ga-visit fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .6rem; }
.ga-visit legend { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; margin-bottom: .5rem; padding: 0; }
.ga-opts { display: grid; gap: .5rem; }
.ga-opts--2 { grid-template-columns: 1fr 1fr; }
.ga-opts label { position: relative; display: grid; gap: .15rem; padding: .85rem 1rem; border: 2px solid var(--border); background: var(--surface); cursor: pointer; }
.ga-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ga-opts b { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1.1rem; }
.ga-opts span { font-size: .88rem; color: var(--muted); }
.ga-opts label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.ga-opts label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 560px) { .ga-opts--2 { grid-template-columns: 1fr; } }
.ga-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .4rem; }
.ga-slots button { min-height: 44px; border: 2px solid var(--border); background: var(--surface); font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; color: var(--text); }
.ga-slots button:hover:not(:disabled) { border-color: var(--primary); }
.ga-slots button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #14181C; }
.ga-slots button:disabled { border-style: dashed; color: #99A2AB; cursor: not-allowed; }
.ga-days { display: flex; gap: .4rem; overflow-x: auto; padding: 5px 5px calc(5px + 0.3rem); margin: -5px -5px calc(-5px); }
.ga-days button { flex: 0 0 72px; display: grid; gap: .1rem; justify-items: center; padding: .55rem .3rem; border: 2px solid var(--border); background: var(--surface); font: inherit; cursor: pointer; color: var(--text); }
.ga-days b { font-family: var(--font-heading); font-size: 1.4rem; }
.ga-days small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ga-days button[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.ga-days button[aria-pressed="true"] small { color: #AFB8C2; }
.ga-days button:disabled { border-style: dashed; color: #99A2AB; cursor: not-allowed; }
.ga-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .ga-row { grid-template-columns: 1fr; } }
[data-theme="automotive"] .xy-input { border-radius: 0; border-width: 2px; }
.ga-ticket { background: var(--secondary); color: var(--on-secondary); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.ga-ticket h3 { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.5rem; color: #fff; }
.ga-ticket dl { margin: 0; display: grid; }
.ga-ticket dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px dashed #39424C; }
.ga-ticket dt { color: #AFB8C2; font-size: .9rem; }
.ga-ticket dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; text-align: right; }
.ga-ticket .is-total dd { color: var(--primary); font-size: 1.7rem; }
.ga-ticket .ga-btn { width: 100%; }
@media (max-width: 860px) { .ga-visit { grid-template-columns: 1fr; } }
.ga-ok { display: flex; gap: .5rem; align-items: flex-start; color: var(--primary-ink); font-weight: 700; }
.ga-ok svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.ga-sum { margin: 0; display: grid; border: 2px solid var(--text); }
.ga-sum div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; }
.ga-sum div + div { border-top: 1px solid var(--border); }
.ga-sum dt { color: var(--muted); }
.ga-sum dd { margin: 0; font-weight: 700; text-align: right; }
.ga-sum .is-total { background: var(--primary); }
.ga-sum .is-total dt, .ga-sum .is-total dd { color: #14181C; font-family: var(--font-heading); font-size: 1.25rem; }
.ga-sum .is-total dt { text-transform: uppercase; }

/* FAQ */
.ga-faq details { border-top: 1px solid var(--border); }
.ga-faq details:last-child { border-bottom: 1px solid var(--border); }
.ga-faq summary { list-style: none; cursor: pointer; padding-block: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 1.2rem; }
.ga-faq summary::-webkit-details-marker { display: none; }
.ga-faq summary::after { content: "+"; color: var(--primary-ink); font-family: var(--font-body); }
.ga-faq details[open] summary::after { content: "–"; }
.ga-faq details > p { padding-bottom: 1.05rem; color: var(--muted); max-width: 44rem; }
.ga-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .ga-two { grid-template-columns: 1fr; } }

/* Collection */
.ga-pagehead { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2.5rem, 6vw, 4rem); }
.ga-crumbs { display: flex; gap: .45rem; flex-wrap: wrap; font-size: .88rem; color: #AFB8C2; margin-bottom: .9rem; }
.ga-crumbs a { color: inherit; }
.ga-filter { display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--text); padding-block: 1.1rem; margin-bottom: 1.5rem; }
.ga-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.ga-chips button { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; min-height: 44px; padding: .35rem .9rem; border: 2px solid var(--text); background: transparent; cursor: pointer; color: var(--text); }
.ga-chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.ga-rows { display: grid; gap: 1rem; }
.ga-rowcard { display: grid; grid-template-columns: 300px minmax(0, 1fr) 240px; border: 2px solid var(--text); background: var(--surface); }
.ga-rowcard img { width: 100%; height: 100%; object-fit: cover; min-height: 210px; border-right: 2px solid var(--text); }
.ga-rowcard__body { padding: 1.35rem; display: grid; gap: .7rem; align-content: start; }
.ga-rowcard__side { padding: 1.35rem; border-left: 2px solid var(--text); background: var(--secondary); color: var(--on-secondary); display: grid; gap: .6rem; align-content: center; }
.ga-rowcard__side .ga-price { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--primary); line-height: 1; }
.ga-rowcard__side small { color: #AFB8C2; }
.ga-rowcard__side .ga-btn { width: 100%; }
@media (max-width: 980px) { .ga-rowcard { grid-template-columns: 220px minmax(0, 1fr); } .ga-rowcard__side { grid-column: 1 / -1; border-left: 0; border-top: 2px solid var(--text); } }
@media (max-width: 620px) { .ga-rowcard { grid-template-columns: 1fr; } .ga-rowcard img { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--text); } }
.ga-empty { border: 2px dashed var(--text); padding: 2.5rem 1rem; text-align: center; display: grid; gap: .8rem; justify-items: center; }

/* Detail */
.ga-dhead { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2rem, 5vw, 3.5rem); }
.ga-dhead__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ga-dhead__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--primary); }
@media (max-width: 860px) { .ga-dhead__grid { grid-template-columns: 1fr; } .ga-dhead__grid img { order: -1; } }
.ga-spec { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.ga-spec div { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--border); }
.ga-spec div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--border); }
.ga-spec dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ga-spec dd { margin: .15rem 0 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; }
@media (max-width: 520px) { .ga-spec { grid-template-columns: 1fr; } .ga-spec div:nth-child(even) { padding-left: 0; border-left: 0; } }
.ga-dgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.ga-dgal button { padding: 0; border: 2px solid var(--text); background: none; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; display: grid; }
.ga-dgal img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .ga-dgal { grid-template-columns: 1fr 1fr; } }
.ga-pricetable { width: 100%; border-collapse: collapse; background: var(--surface); border: 2px solid var(--text); }
.ga-pricetable th, .ga-pricetable td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.ga-pricetable thead th { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.05rem; border-bottom: 2px solid var(--text); }
.ga-pricetable td:last-child, .ga-pricetable th:last-child { text-align: right; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }

/* Footer */
.ga-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.ga-footer a { color: inherit; }
.ga-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #39424C; margin-bottom: 1.5rem; }
.ga-footer h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--primary); margin-bottom: .6rem; }
.ga-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.ga-footer p { color: #AFB8C2; }
.ga-footer .xy-attribution, .ga-footer .xy-attribution * { color: #C9D1D9; }
@media (max-width: 800px) { .ga-footer__grid { grid-template-columns: 1fr 1fr; } .ga-footer__grid > :first-child { grid-column: 1 / -1; } }
