/* ==========================================================================
   PMC · Poperinge Metal Construction
   Dizajnový systém: technický výkresový list, pokojná editorial typografia.
   Jedna rodina písma (Archivo, variabilná hrúbka aj šírka), teplý papier,
   navy ako hlavná farba, oranžová iba pre akcie a drobné značky.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url(../fonts/archivo-variable.woff2) format("woff2-variations"),
       url(../fonts/archivo-variable.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokeny – FARBY ZNAČKY UPRAV TU ---------- */
:root {
  --navy-950: #0b1a2e;
  --navy-900: #0f2440;      /* hlavná tmavá */
  --navy-800: #173255;
  --navy-600: #2e4b73;
  --steel-400: #8797ad;
  --steel-300: #a9b6c7;
  --steel-200: #d3dae4;

  --orange: #ef7d1a;        /* akcent značky */
  --orange-ink: #a45003;    /* oranžová pre text na svetlom podklade (≥ 4,5:1 aj na papieri) */

  --paper: #f5f2ec;         /* teplá papierová */
  --paper-2: #ebe6dc;
  --white: #ffffff;
  --ink: #15202e;
  --ink-2: #4b5667;
  --ink-3: #5f6979;         /* popisky – ≥ 4,5:1 na bielej aj na papieri */
  --rule: #d9d2c5;          /* linka na papieri */
  --rule-cool: #dde2e9;     /* linka na bielej */

  --f: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --space: clamp(72px, 9vw, 136px);
  --header-h: 72px;
  --radius: 2px;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.62 var(--f); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy-950); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Typografia ---------- */
h1, h2, h3 { margin: 0 0 .45em; font-weight: 700; text-wrap: balance; }
.display {
  font-size: clamp(2.7rem, 5.6vw, 5.1rem); line-height: .98;
  font-stretch: 74%; font-weight: 740; letter-spacing: -.018em; word-spacing: .07em;
}
h2, .h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.02;
  font-stretch: 78%; font-weight: 700; letter-spacing: -.012em; word-spacing: .05em;
}
h3, .h3 { font-size: 1.24rem; line-height: 1.25; font-stretch: 92%; font-weight: 650; letter-spacing: -.004em; }
.label {
  display: inline-block; font-size: .7rem; line-height: 1.3; font-weight: 600; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3);
}
.lead { font-size: 1.16rem; line-height: 1.58; color: var(--ink-2); max-width: 38em; }
.statement {
  font-size: clamp(1.45rem, 2.45vw, 2.1rem); line-height: 1.32; font-weight: 440; font-stretch: 94%;
  letter-spacing: -.006em; color: var(--ink); max-width: 30em; margin: 0;
  text-wrap: pretty;
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--ink-3); }

/* ---------- Tlačidlá a odkazy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em; border: 1.5px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: .98rem; font-stretch: 100%; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .18s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--orange); color: var(--navy-950); }
.btn-accent:hover { background: #ff8f2e; }
.btn-line { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.call-link { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 500; }
.call-link strong { font-weight: 650; border-bottom: 1px solid currentColor; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy-950); color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.5rem; font-weight: 780; font-stretch: 80%; letter-spacing: .02em; }
.brand-text small { font-size: .6rem; font-weight: 600; font-stretch: 118%; letter-spacing: .11em; text-transform: uppercase; color: var(--steel-400); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav ul a { position: relative; padding: 6px 0; font-size: .96rem; font-weight: 500; color: #d7dee8; text-decoration: none; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.main-nav ul a:hover { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); }
.main-nav ul a[aria-current] { color: #fff; }
.lang-switch { display: flex; gap: 2px; font-size: .74rem; font-weight: 600; font-stretch: 115%; letter-spacing: .06em; }
.lang-switch a { padding: 6px 7px; color: var(--steel-400); text-decoration: none; border-bottom: 1.5px solid transparent; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current] { color: #fff; border-bottom-color: var(--orange); }
.nav-cta { min-height: 42px; padding: 0 1.05em; font-size: .92rem; }
.header-phone { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .9rem; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); color: #fff; cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-900); color: #fff; }
.hero-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: center; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-copy { grid-column: 1 / span 6; }
.hero-place { display: block; margin-bottom: 26px; color: var(--steel-300); }
.hero .display { margin-bottom: 28px; max-width: 15ch; }
.hero-sub { font-size: 1.12rem; line-height: 1.6; color: #c9d3e0; max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-actions .call-link { color: #dfe6ef; }
.hero-actions .call-link:hover { color: #fff; }
.hero-media { grid-column: 8 / span 5; margin: 0; position: relative; }
.sheet {
  position: relative; padding: 18px 18px 0;
  border: 1px solid rgba(233,238,245,.18);
  background-color: rgba(11,26,46,.35);
  background-image:
    linear-gradient(rgba(169,182,199,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,182,199,.08) 1px, transparent 1px);
  background-size: 20px 20px;
}
.sheet::before, .sheet::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--orange); border-style: solid; }
.sheet::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.sheet::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.sheet > img { width: 100%; height: auto; }
.hero-media .photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Popisové pole výkresu (ISO rohové razítko) */
.title-block { margin: 18px -18px 0; border-top: 1px solid rgba(233,238,245,.22); font-size: .78rem; }
.tb-row { display: grid; grid-template-columns: 1fr 1fr; }
.tb-row > div { padding: 9px 14px 10px; border-right: 1px solid rgba(233,238,245,.14); border-bottom: 1px solid rgba(233,238,245,.14); min-width: 0; }
.tb-row > div:last-child { border-right: 0; }
.tb-row.tb-3 { grid-template-columns: 1.4fr .8fr .8fr; }
.title-block .tb-row:last-child > div { border-bottom: 0; }
.title-block dt { font-size: .6rem; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 3px; }
.title-block dd { margin: 0; color: #eef2f7; font-weight: 500; overflow-wrap: anywhere; }
.title-block .tb-name dd { font-size: 1.05rem; font-weight: 700; font-stretch: 84%; color: #fff; }
.title-block .accent { color: var(--orange); }
.hero-media.has-photo .title-block { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; background: rgba(11,26,46,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.facts { border-top: 1px solid rgba(233,238,245,.12); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px 30px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(233,238,245,.12); }
.fact-n { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; font-weight: 700; font-stretch: 76%; color: #fff; margin-bottom: 8px; }
.fact-l { display: block; font-size: .9rem; line-height: 1.4; color: var(--steel-300); }

/* ---------- Sekcie ---------- */
.section { padding: var(--space) 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy .lead, .bg-navy p { color: #c9d3e0; }
.bg-navy .label { color: var(--steel-400); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .label { margin-bottom: 14px; }
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head > :first-child { grid-column: 1 / span 5; }
.split-head > :last-child { grid-column: 7 / span 6; margin-bottom: .35em; }

/* Úvod – veta ako z ľudskej ruky + tri body */
.intro .statement { margin-bottom: clamp(48px, 6vw, 80px); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.point { border-top: 1px solid var(--ink); padding-top: 18px; }
.point h3 { margin-bottom: .5em; }
.point p { color: var(--ink-2); margin: 0; }

/* Stuklijst (kusovník) – služby ako na výkrese */
.bom-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
.bom-side { grid-column: 1 / span 4; }
.bom-side-inner { position: sticky; top: calc(var(--header-h) + 32px); }
.bom-side .lead { font-size: 1.06rem; margin-bottom: 26px; }
.bom-side .photo { margin-top: 34px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bom { grid-column: 5 / span 8; border-top: 2px solid var(--ink); }
.bom-head, .bom-row a { display: grid; grid-template-columns: 58px minmax(0, .9fr) minmax(0, 1.25fr) 22px; gap: 0 22px; align-items: baseline; }
.bom-head { padding: 12px 0 11px; border-bottom: 1px solid var(--ink); }
.bom-head span:last-child { visibility: hidden; }
.bom-row a { padding: 22px 0; border-bottom: 1px solid var(--rule-cool); text-decoration: none; transition: background-color .18s; }
.bom-row a:hover { background: var(--paper); }
.bom-pos { font-size: .82rem; font-weight: 600; color: var(--ink-3); padding-left: 2px; }
.bom-name { font-size: 1.28rem; line-height: 1.2; font-weight: 680; font-stretch: 86%; }
.bom-desc { font-size: .97rem; line-height: 1.5; color: var(--ink-2); }
.bom-go { align-self: center; color: var(--ink-3); transition: transform .18s, color .18s; }
.bom-go .icon { width: 18px; height: 18px; }
.bom-row a:hover .bom-go { color: var(--orange-ink); transform: translateX(4px); }

/* Postup */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step-n { display: block; font-size: 2.4rem; line-height: 1; font-weight: 700; font-stretch: 72%; color: var(--orange-ink); margin-bottom: 18px; }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* Región */
.region-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.region-copy { grid-column: 1 / span 5; }
.region-copy .lead { margin-bottom: 40px; }
.sector-list li { padding: 13px 0; border-top: 1px solid rgba(233,238,245,.13); color: #e3e9f1; }
.sector-list li:last-child { border-bottom: 1px solid rgba(233,238,245,.13); }
.region-copy .label { margin-bottom: 12px; }
.region-map-wrap { grid-column: 7 / span 6; border: 1px solid rgba(233,238,245,.14); background: var(--navy-950); }
.region-map { width: 100%; height: auto; color: #fff; }
.rm-sea { fill: rgba(169,182,199,.07); }
.rm-coast { fill: none; stroke: var(--steel-400); stroke-width: 1.1; }
.rm-border { fill: none; stroke: var(--orange); stroke-width: 1.3; stroke-dasharray: 6 4; }
.rm-ring { fill: none; stroke: rgba(233,238,245,.3); stroke-width: 1; stroke-dasharray: 2 4; }
.rm-km { fill: var(--steel-400); font: 600 11px var(--f); font-stretch: 110%; letter-spacing: .06em; }
.rm-country { fill: rgba(233,238,245,.16); font: 700 44px var(--f); font-stretch: 80%; }
.rm-town { fill: #e9eef5; }
.rm-label { fill: #d7dee8; font: 500 13px var(--f); }
.rm-home { fill: var(--orange); stroke: var(--navy-950); stroke-width: 2; }
.rm-pulse { fill: none; stroke: var(--orange); stroke-width: 1.2; opacity: .6; }
.rm-home-label { fill: var(--orange); font: 700 14px var(--f); font-stretch: 90%; }

/* Skupina */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site { border-top: 1px solid var(--ink); padding-top: 16px; position: relative; }
.site.is-current { border-top: 3px solid var(--orange); padding-top: 14px; }
.site .label { margin-bottom: 10px; }
.site h3 { margin-bottom: .4em; }
.site p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.site-here { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--orange-ink); font-size: .7rem; font-weight: 650; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; }
.site-here::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.motto { margin-top: 40px; color: var(--ink-3); font-style: italic; }

/* Kvalita */
.quality-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; }
.quality-main { grid-column: 1 / span 7; }
.quality-side { grid-column: 9 / span 4; }
.certs { border-top: 1px solid var(--ink); }
.cert { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.cert-code { font-size: 1.18rem; font-weight: 700; font-stretch: 84%; }
.cert-desc { color: var(--ink-2); }
.eco h3 { margin-top: 6px; }
.eco p { color: var(--ink-2); }
.eco-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 0; }
.eco-facts dt { font-size: 2rem; line-height: 1; font-weight: 700; font-stretch: 76%; margin-bottom: 6px; }
.eco-facts dd { margin: 0; color: var(--ink-3); font-size: .9rem; }
.eco-facts > div { border-top: 1px solid var(--rule); padding-top: 12px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.faq-grid > header { grid-column: 1 / span 4; }
.faq { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule-cool); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { color: var(--ink-3); transition: transform .22s; }
.faq details[open] .faq-i { transform: rotate(45deg); color: var(--orange-ink); }
.faq details p { margin: 0; padding: 0 44px 22px 0; color: var(--ink-2); }

/* Dopyt (navy) */
.quote-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
.quote-copy { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); }
.quote-copy .lead { margin-bottom: 38px; }
.quote-form { grid-column: 7 / span 6; }
.contact-lines { display: grid; gap: 18px; }
.contact-lines .label { display: block; margin-bottom: 4px; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--orange); }
.big-phone { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; font-weight: 700; font-stretch: 80%; color: #fff; letter-spacing: .01em; }

/* ---------- Formulár ---------- */
.rfq { background: var(--white); color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); box-shadow: 0 24px 60px -28px rgba(0,0,0,.5); }
.rfq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.rfq-head h3 { margin: 0; font-size: 1.5rem; font-stretch: 84%; font-weight: 700; }
.rfq-types { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 8px 12px; border: 1px solid var(--rule-cool); border-radius: var(--radius); font-size: .88rem; transition: background-color .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field abbr { color: var(--orange-ink); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72em .85em; background: var(--white);
  border: 1px solid #c9d0da; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(46,75,115,.16); }
.field .is-invalid, .field input.is-invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.rfq-tech { border-top: 1px solid var(--rule-cool); border-bottom: 1px solid var(--rule-cool); padding-top: 16px; margin-bottom: 16px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; text-align: center; border: 1.5px dashed #b7c0cc; border-radius: var(--radius); cursor: pointer; transition: border-color .18s, background-color .18s; }
.drop:hover, .drop.is-over { border-color: var(--orange); background: #fff7ef; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon { width: 26px; height: 26px; color: var(--navy-600); }
.drop-btn { font-weight: 600; font-size: .94rem; }
.drop small { color: var(--ink-3); font-size: .8rem; }
.file-list { display: grid; gap: 6px; margin-top: 8px; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; background: var(--paper); font-size: .84rem; font-variant-numeric: tabular-nums; }
.file-list li.bad { background: #fbeae8; color: #8f1e17; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; font-size: .86rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy-900); }
.consent a { color: var(--navy-800); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius); font-size: .95rem; }
.alert .icon { width: 22px; height: 22px; flex: none; }
.alert-ok { background: #e9f3eb; color: #1d5230; border: 1px solid #bcd9c3; }
.alert-err { background: #fbeae8; color: #8f1e17; border: 1px solid #f0c2bd; }
.rfq.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.rfq.is-done .rfq-types, .rfq.is-done .grid-2, .rfq.is-done > .field, .rfq.is-done .consent, .rfq.is-done button[type=submit] { display: none; }

/* ---------- Podstránky ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: clamp(52px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1; font-stretch: 76%; font-weight: 730; letter-spacing: -.015em; word-spacing: .07em; max-width: 18ch; margin-bottom: 22px; }
.page-hero .lead { color: #c9d3e0; }
.crumbs { display: flex; gap: 10px; margin-bottom: 30px; font-size: .7rem; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; }
.jump a { display: inline-flex; gap: 8px; align-items: baseline; color: #dfe6ef; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(233,238,245,.22); padding-bottom: 3px; }
.jump a:hover { color: #fff; border-color: var(--orange); }
.jump a span { font-size: .78rem; color: var(--steel-400); font-variant-numeric: tabular-nums; }

/* Detail služieb */
.svc-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule-cool); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-item:first-child { border-top: 2px solid var(--ink); }
.svc-title { grid-column: 1 / span 4; }
.svc-title .label { display: block; margin-bottom: 10px; }
.svc-title h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.svc-title .photo { margin-top: 22px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { grid-column: 5 / span 4; }
.svc-body .svc-short { font-size: 1.12rem; font-weight: 550; line-height: 1.5; margin-bottom: .8em; }
.svc-body p { color: var(--ink-2); }
.svc-specs { grid-column: 10 / span 3; }
.svc-specs .label { display: block; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.svc-specs li { padding: 10px 0; border-bottom: 1px solid var(--rule-cool); font-size: .96rem; }
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.machines .cert { grid-template-columns: 220px 1fr; }
.material { border-top: 1px solid var(--ink); padding-top: 16px; }
.material p { margin: 0; color: var(--ink-2); }

/* O nás */
.about-intro .statement { max-width: 32em; }
.about-photo { margin-top: clamp(40px, 5vw, 64px); }
.about-photo .photo { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); }
.block { border-top: 1px solid var(--ink); padding-top: 16px; }
.block p { color: var(--ink-2); margin: 0; }

/* Revízna tabuľka (história) */
.rev-table { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); background: var(--white); }
.rev-table th, .rev-table td { border: 1px solid var(--rule); padding: 14px 18px; text-align: left; vertical-align: top; }
.rev-table thead th { border-bottom: 1.5px solid var(--ink); background: var(--paper); font-size: .7rem; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rev-table .rev-r { width: 64px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.rev-table .rev-y { width: 130px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rev-table td strong { display: block; font-weight: 650; margin-bottom: 2px; }
.rev-table td span { color: var(--ink-2); }
.rev-table tbody tr:last-child .rev-r { color: var(--orange-ink); }

.jobs { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.jobs > div { max-width: 640px; }
.jobs p { color: var(--ink-2); margin: 0; }

/* CTA pás */
.cta-band { background: var(--navy-950); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: #c9d3e0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.cta-actions .call-link { color: #dfe6ef; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.contact-form-wrap { grid-column: 1 / span 7; scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-form-wrap .rfq { box-shadow: none; border: 1px solid var(--rule-cool); }
.contact-card { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 28px); }
.contact-card h2 { font-size: 1.6rem; font-stretch: 84%; }
.info { margin: 0 0 26px; border-top: 1px solid var(--ink); }
.info > div { padding: 14px 0; border-bottom: 1px solid var(--rule-cool); }
.info dt { margin-bottom: 4px; }
.info dd { margin: 0; }
.info a { text-decoration: none; }
.info a:hover { color: var(--orange-ink); }
.info .big-phone { color: var(--ink); font-size: 1.9rem; }
.map-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: center; }
.map-grid > div:first-child { grid-column: 1 / span 4; }
.map-box { grid-column: 6 / span 7; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-950); color: #fff; }
.map-box .region-map { width: 100%; height: 100%; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; background: linear-gradient(transparent, rgba(11,26,46,.92)); }
.map-overlay small { color: var(--steel-300); font-size: .74rem; text-align: center; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; font-stretch: 84%; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--navy-800); }
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Realizácie (referencie) – karty, bloky s galériou, zoznamy */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ref-card { display: block; color: inherit; text-decoration: none; border-top: 1px solid var(--ink); padding-top: 16px; }
.ref-card .photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.ref-card .label { margin-bottom: 8px; }
.ref-card h3 { margin-bottom: .35em; transition: color .18s; }
.ref-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.ref-card:hover h3 { color: var(--orange-ink); }
.refs-foot { margin: 36px 0 0; }
.ref-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 32px; align-items: start; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule-cool); scroll-margin-top: calc(var(--header-h) + 16px); }
.ref-block:first-child { border-top: 2px solid var(--ink); }
.ref-block--plain, .ref-block--plain:first-child { border-top: 0; padding: 0; }
.ref-text { grid-column: 1 / span 5; }
.ref-text > .label { display: block; margin-bottom: 10px; }
.ref-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.ref-text p { color: var(--ink-2); }
.ref-text .point + .point { margin-top: 30px; }
.ref-text .point h2 { font-size: 1.24rem; line-height: 1.25; font-stretch: 92%; font-weight: 650; letter-spacing: -.004em; word-spacing: normal; margin-bottom: .5em; }
.ref-gallery { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ref-gallery figure, .gallery figure { margin: 0; }
.ref-gallery figure:first-child { grid-column: 1 / -1; }
.ref-gallery .photo, .gallery .photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ref-gallery .is-tall .photo { aspect-ratio: 9 / 10; }
.ref-list li { position: relative; padding: 9px 0 9px 16px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: .97rem; }
.ref-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 1.5px; background: var(--orange); }
.ref-note { margin: 14px 0 0; font-size: .88rem; color: var(--ink-3); }
.sites-4 { grid-template-columns: repeat(4, 1fr); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.page-hero-actions { margin-top: 32px; }

/* ---------- Pätička ---------- */
.site-footer { background: var(--navy-950); color: #b9c4d2; padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.f-brand p { margin: 20px 0 0; max-width: 30em; }
.f-h { font-size: .7rem; font-weight: 600; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.f-list { display: grid; gap: 8px; font-style: normal; line-height: 1.6; }
address.f-list { display: block; line-height: 1.85; }
.f-list a { text-decoration: none; }
.f-list a:hover { color: #fff; }
.with-icon { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: var(--steel-400); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobilná lišta, cookie, staging ---------- */
.mobile-bar { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px -12px rgba(0,0,0,.35); font-size: .92rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.stage-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--navy-900); }
.stage-box { width: 100%; max-width: 380px; padding: 34px; background: var(--white); border-radius: var(--radius); }
.stage-box img { margin-bottom: 18px; }
.stage-box h1 { font-size: 2rem; font-stretch: 78%; color: var(--navy-900); }
.stage-box p { color: var(--ink-2); font-size: .96rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .main-nav, .main-nav ul { gap: 22px; }
  .bom-side { grid-column: 1 / -1; }
  .bom-side-inner { position: static; max-width: 640px; }
  .bom { grid-column: 1 / -1; }
  .svc-specs { grid-column: 9 / span 4; }
  .sites-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .site-header { background: var(--navy-950); }
  .menu-toggle { display: inline-flex; margin-left: 8px; }
  .header-phone { display: inline-flex; margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 26px;
    padding: 28px var(--gutter) 40px; background: var(--navy-950); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility 0s linear .22s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .22s, transform .22s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.9rem; font-weight: 700; font-stretch: 78%; color: #fff; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current] { color: var(--orange); }
  .lang-switch { font-size: .9rem; }
  .lang-switch a { padding: 10px 12px 10px 0; }
  .nav-cta { min-height: 52px; }
  body.nav-open { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media { max-width: 620px; }
  .hero .display { max-width: 14ch; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(233,238,245,.12); }
  .split-head > :first-child, .split-head > :last-child { grid-column: 1 / -1; }
  .points, .sites, .materials, .blocks { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .region-copy, .region-map-wrap, .quality-main, .quality-side, .quote-copy, .quote-form,
  .contact-form-wrap, .contact-card, .map-grid > div:first-child, .map-box, .faq-grid > header, .faq { grid-column: 1 / -1; }
  .contact-card, .quote-copy { position: static; }
  .svc-title { grid-column: 1 / -1; }
  .svc-body { grid-column: 1 / span 7; }
  .svc-specs { grid-column: 8 / span 5; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .jobs { flex-direction: column; align-items: flex-start; }
  .refs { grid-template-columns: 1fr 1fr; }
  .ref-text, .ref-gallery { grid-column: 1 / -1; }
  .ref-gallery { max-width: 760px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
  .brand-text small { display: none; }
  .hero-actions .btn { width: 100%; }
  .title-block { font-size: .72rem; }
  .tb-row.tb-3 { grid-template-columns: 1fr 1fr; }
  .tb-row.tb-3 > div:first-child { grid-column: 1 / -1; border-right: 0; }
  .fact { padding: 20px 14px 22px 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .bom-head { display: none; }
  .bom-row a { grid-template-columns: 40px minmax(0, 1fr) 20px; grid-template-areas: "pos name go" ". desc go"; gap: 4px 12px; padding: 18px 0; }
  .bom-pos { grid-area: pos; }
  .bom-name { grid-area: name; }
  .bom-desc { grid-area: desc; }
  .bom-go { grid-area: go; }
  .cert, .machines .cert { grid-template-columns: 1fr; gap: 2px; }
  .refs, .gallery { grid-template-columns: 1fr; }
  .svc-body, .svc-specs { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .rev-table thead { display: none; }
  .rev-table, .rev-table tbody, .rev-table tr, .rev-table td { display: block; width: 100%; }
  .rev-table tr { display: grid; grid-template-columns: 52px 1fr; border-bottom: 1px solid var(--rule); }
  .rev-table td { border: 0; padding: 12px 14px; }
  .rev-table .rev-r { width: auto; grid-row: span 2; border-right: 1px solid var(--rule); display: flex; align-items: flex-start; justify-content: center; }
  .rev-table .rev-y { width: auto; padding-bottom: 0; color: var(--ink-3); font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: var(--radius); font-weight: 600; font-size: .92rem; text-decoration: none; }
  .mb-call { color: #fff; border: 1px solid rgba(255,255,255,.25); }
  .mb-quote { background: var(--orange); color: var(--navy-950); }
  .cookie { bottom: 80px; }
}
@media print {
  .site-header, .mobile-bar, .cookie, .rfq { display: none; }
  body { color: #000; }
}
