/* ==========================================================================
   vagogep.hu – public site
   Graphite + steel blue, mobile first.
   --accent: backgrounds with WHITE text (5.7:1); --accent-ink: blue text on
   white (7:1); --accent-light: blue text/icons on the dark graphite (6.6:1).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable; latin + latin-ext for ő/ű) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1d2125;
  --ink-2: #2a2f35;
  --ink-3: #3b4149;
  --muted: #5a626d;
  --muted-on-dark: #b9c0c8;
  --line: #e2e5e9;
  --paper: #ffffff;
  --paper-2: #f3f4f6;
  --accent: #1f63c6;
  --accent-hover: #174f9f;
  --accent-ink: #1a56b0;
  --accent-soft: #e8f0fc;
  --accent-light: #6aa8f5;
  --on-accent: #ffffff;
  --ok: #17703a;
  --ok-soft: #e6f4ea;
  --err: #b42318;
  --err-soft: #fdecea;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 20, 24, .06), 0 8px 24px rgba(16, 20, 24, .08);
  --gutter: 16px;
  --max: 1160px;
  --stripe: var(--accent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .side-box :focus-visible { outline-color: var(--accent-light); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 8px; color: #fff; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 800px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border: 2px solid transparent; border-radius: var(--r);
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .85em 1.5em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-stack { display: grid; gap: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header::after { content: ""; display: block; height: 4px; background: var(--stripe); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; --logo-hole: var(--ink); }
.logo:hover { color: #fff; }
.logo-mark { width: 30px; height: 30px; color: var(--accent-light); transition: transform .6s ease; }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-text { font: 800 1.3rem/1 var(--font-head); letter-spacing: -.02em; }
.logo-text span { color: var(--accent-light); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 10px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav a:hover { background: var(--ink-2); color: #fff; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent-light); border-radius: 0; }
.nav-phone { display: none !important; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 14px; padding-bottom: 4px; font-size: .875rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #b3b9c1; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section--tight { padding-top: 20px; }
.section--alt { background: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-title { font-size: clamp(1.6rem, 4.5vw, 2.25rem); margin-bottom: .6em; }
.section-head .section-title { margin: 0; }
.page-title { font-size: clamp(1.9rem, 6vw, 2.9rem); }
.page-intro { font-size: 1.125rem; color: var(--muted); max-width: 60ch; margin-bottom: 28px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.fine { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.empty { padding: 24px; background: var(--paper-2); border-radius: var(--r); }
.kicker { display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.hero .kicker { color: var(--accent-light); }
.former { color: var(--muted); font-size: .95rem; margin: -.2em 0 .8em; }
.former--light { color: var(--muted-on-dark); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #343b43 0%, var(--ink) 60%); color: #fff; padding: 24px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-title { font-size: clamp(2.1rem, 8.5vw, 3.8rem); margin-bottom: .2em; }
.hero-lead { font-size: 1.125rem; color: #dfe3e8; max-width: 46ch; }
.hero-media { position: relative; background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }
.hero-media .badge { position: absolute; top: 16px; left: 16px; }
.hero .price { margin: 16px 0 20px; }
.hero .price-net { color: #fff; }
.hero .price-gross { color: var(--muted-on-dark); }
.hero .price-vat { color: var(--muted-on-dark); }

/* ---------- Value strip ---------- */
.value { background: var(--accent); color: var(--on-accent); }
.value-inner { padding: 28px var(--gutter); display: grid; gap: 6px; }
.value-title { font-size: clamp(1.3rem, 4vw, 1.75rem); margin: 0; }
.value-text { margin: 0; font-size: 1.0625rem; max-width: 70ch; }

/* ---------- Badges & price ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px;
  font: 700 .8rem/1 var(--font-body); background: var(--paper-2); color: var(--ink);
}
.badge .i { width: 14px; height: 14px; }
.badge--raktaron { background: var(--ok-soft); color: var(--ok); }
.badge--rendelheto, .badge--elorendelheto { background: var(--accent-soft); color: var(--accent-ink); }
.badge--nincs { background: #eceef1; color: var(--muted); }

.price p { margin: 0; }
.price-net { font: 800 1.9rem/1.1 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.price-vat { font: 600 1rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.price-gross { color: var(--muted); font-size: .95rem; margin-top: 4px !important; }
.price-note { margin-top: 10px !important; font-weight: 700; color: var(--accent-ink); }
.price-request { font: 800 1.4rem/1.2 var(--font-head); }
.price--compact .price-net { font-size: 1.45rem; }

/* ---------- Machine cards ---------- */
.cards { display: grid; gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.card-noimg { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--line); }
.card-noimg svg { width: 30%; --logo-hole: #fff; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-title { font-size: 1.35rem; margin-bottom: .25em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent-ink); }
.card-text { color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

/* ---------- Why us ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why-item { background: var(--paper); border-radius: var(--r-lg); padding: 22px; border-top: 4px solid var(--accent); }
.why-item h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.why-item p { margin: 0; color: var(--muted); }
.why-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--accent-light); }
.why-icon .i { width: 24px; height: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--stripe); }
.cta-inner { padding-top: 44px; padding-bottom: 44px; display: grid; gap: 20px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin-bottom: .3em; }
.cta-inner p { color: var(--muted-on-dark); margin: 0; }

/* ---------- Product page ---------- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 12px; padding-bottom: 32px; }
.product-grid > *, .product-body > *, .hero-grid > *, .contact-grid > * { min-width: 0; }
.product-title { font-size: clamp(1.9rem, 7vw, 2.8rem); margin-bottom: .2em; }
.product-lead { font-size: 1.125rem; margin: 14px 0 0; }
.buy-box { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); display: grid; gap: 18px; }

.gallery-main { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; cursor: zoom-in; touch-action: pan-y; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(29, 33, 37, .8); color: #fff; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 2px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.thumbs li { flex: none; scroll-snap-align: start; }
.thumb { display: block; width: 76px; height: 76px; padding: 4px; background: #fff; border: 2px solid var(--line); border-radius: 8px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: #b8bfc8; }
.thumb.is-active { border-color: var(--accent); }
.gallery-empty { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--paper-2); border-radius: var(--r-lg); color: var(--line); }
.gallery-empty svg { width: 30%; --logo-hole: var(--paper-2); }

.product-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 48px; }
.block + .block { margin-top: 36px; }
.block-title { font-size: 1.5rem; padding-bottom: 10px; border-bottom: 3px solid var(--ink); display: inline-block; }

.specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.specs th, .specs td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 600; color: var(--muted); width: 55%; }
.specs td { font-weight: 700; font-variant-numeric: tabular-nums; }
.specs tr:nth-child(odd) { background: var(--paper-2); }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--accent); }

.side-box { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px; }
.side-box a { color: #fff; }
.side-title { font-size: 1.15rem; margin-bottom: 14px; }
.side-box .info-list .i { color: var(--accent-light); }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .i { margin-top: 3px; color: var(--accent-ink); }
.info-list small { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.video picture, .video img, .video iframe { width: 100%; height: 100%; }
.video img { object-fit: cover; opacity: .55; }
.video iframe { border: 0; position: absolute; inset: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .15s; }
.video-play .i { width: 36px; height: 36px; margin-left: 4px; }
.video-play:hover { transform: scale(1.06); }
.video-fallback { position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: .85rem; }

/* Accessories */
.acc-grid { display: grid; gap: 16px; }
.acc { display: grid; grid-template-columns: 110px 1fr; gap: 16px; background: var(--paper); border-radius: var(--r-lg); padding: 14px; border: 1px solid var(--line); }
.acc-media { background: #fff; border-radius: var(--r); display: grid; place-items: center; color: var(--line); }
.acc-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.acc-media svg { width: 60%; --logo-hole: #fff; }
.acc h3 { font-size: 1.1rem; margin-bottom: .3em; }
.acc p { margin: 0 0 .4em; color: var(--muted); font-size: .95rem; }
.acc-price { color: var(--ink) !important; font: 800 1.2rem var(--font-head) !important; }
.acc-price span { font: 600 .85rem var(--font-body); color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.contact-big { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--ink); color: #fff; text-decoration: none; font: 800 1.25rem/1.2 var(--font-head); word-break: break-word; }
.contact-big:hover { background: var(--ink-3); color: #fff; }
.contact-big--email { font-size: clamp(.95rem, 4.2vw, 1.25rem); word-break: normal; overflow-wrap: anywhere; }
.contact-big small { display: block; font: 600 .8rem var(--font-body); color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-big-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.contact-big-icon .i { width: 24px; height: 24px; }
.contact-info .info-list { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.company { padding: 0 4px; color: var(--muted); }
.map { display: grid; gap: 4px; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-lg); }

.form-card { background: var(--paper-2); border-radius: var(--r-lg); padding: 22px 18px; border-top: 6px solid var(--accent); }
.form-title { font-size: 1.5rem; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.req { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: #fff;
  border: 2px solid #c9ced5; border-radius: var(--r); font-size: 1.0625rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(31, 99, 198, .35); outline-offset: 0; }
.field-row { display: grid; gap: 16px; }
.field-hint { margin: 0 0 -6px; font-size: .9rem; color: var(--muted); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--err); }
.field-err { margin: 0; color: var(--err); font-weight: 600; font-size: .9rem; }
.field-check { grid-template-columns: 28px 1fr; align-items: start; column-gap: 10px; }
.field-check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; }
.field-check .field-err { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--r); margin-bottom: 16px; font-weight: 600; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-err { background: var(--err-soft); color: var(--err); }

/* ---------- 404 ---------- */
.notfound-code { font: 900 clamp(5rem, 24vw, 9rem)/1 var(--font-head); margin: 0; -webkit-text-stroke: 3px var(--ink); color: transparent; letter-spacing: -.04em; }
.notfound-links { display: grid; gap: 8px; padding-left: 1.2em; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #15181b; color: var(--muted-on-dark); padding-top: 44px; padding-bottom: 84px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; gap: 30px; }
.footer-brand p { margin-top: 10px; }
.logo--light { --logo-hole: #15181b; }
.footer-h { font: 700 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-list, .footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .i { margin-top: 3px; color: var(--accent-light); }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom { margin-top: 36px; border-top: 1px solid #2a2f35; padding-top: 18px; font-size: .875rem; }

/* ---------- Floating call button (mobile) ---------- */
.fab-call {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; min-height: 56px;
  border-radius: 99px; background: var(--accent); color: var(--on-accent); font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.fab-call:hover { color: var(--on-accent); background: var(--accent-hover); }
.fab-call .i { width: 22px; height: 22px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 16, .96); display: grid; grid-template-rows: auto 1fr; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: #fff; font-weight: 600; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 8px 16px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 8px; user-select: none; -webkit-user-drag: none; transition: transform .2s ease, opacity .2s ease; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .i { width: 24px; height: 24px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
body.lb-open { overflow: hidden; }

/* ---------- Scroll reveal (only when JS hid it, and only below the fold) ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .acc-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr auto; }
  .value-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
}

@media (min-width: 900px) {
  .fab-call { display: none; }
  .site-footer { padding-bottom: 24px; }
  .nav-phone { display: inline-flex !important; margin-left: 10px; background: var(--accent); color: var(--on-accent) !important; border-radius: 8px !important; padding: 10px 14px !important; font-weight: 800 !important; }
  .nav-phone:hover { background: var(--accent-hover) !important; }
  .main-nav a { padding: 10px 14px; font-size: 1rem; }
  .header-inner { min-height: 68px; }

  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .section { padding: 72px 0; }
  .section--tight { padding-top: 28px; }

  .product-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding-top: 20px; align-items: start; }
  .product-info { position: sticky; top: 96px; }
  .product-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .product-side { position: sticky; top: 96px; align-self: start; }
  .thumb { width: 84px; height: 84px; }

  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
  .form-card { padding: 30px; }
  .why { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .card:hover, .card:hover .card-media img { transform: none; }
}

@media print {
  .site-header, .fab-call, .cta-band, .site-footer, .thumbs, .btn, .video, .map, .form-card { display: none !important; }
  .product-info, .product-side { position: static; }
  body { font-size: 12pt; }
}
