/* ProfiPLAST SK – návrh nového webu
   Smer: technický list výrobcu okien. Teplý papier, čierna tlač, červená z loga
   len ako signál. Mono písmo pre rozmery a parametre (ako na výkrese). */

:root {
  --red: #D3222A;
  --red-ink: #A9161D;
  --ink: #17191B;
  --ink-2: #3A3F44;
  --muted: #6A7077;
  --paper: #F5F2ED;
  --paper-2: #ECE7DF;
  --white: #FFFFFF;
  --line: #D9D3C9;
  --line-2: #C6BEB1;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; font-stretch: 92%; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-stretch: 95%; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: flex; gap: 10px; align-items: center;
}
.eyebrow b { color: var(--red); font-weight: 600; }
.eyebrow--light { color: rgba(255,255,255,.75); }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .95rem/1 var(--f-sans);
  padding: 15px 22px;
  border-radius: var(--r);
  border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white:hover { background: transparent; color: #fff; }
.btn--ghost { border-color: var(--line-2); }
.btn--sm { padding: 10px 14px; font-size: .88rem; }
.btn .arr { font-family: var(--f-mono); }

/* Horná lišta */
.topbar { background: var(--ink); color: #d9d6d0; font: 500 .82rem/1 var(--f-mono); }
.topbar__in { display: flex; gap: 22px; justify-content: flex-end; align-items: center; height: 36px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar a:hover { color: #ff9a9f; }
.topbar__label { margin-right: auto; color: #9c9a95; letter-spacing: .04em; }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(23,25,27,.03), 0 6px 18px -12px rgba(23,25,27,.25);
}
.site-header__in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: block; flex: none; }
.brand .logo { width: 168px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 10px; text-decoration: none;
  font-weight: 500; font-size: .93rem; color: var(--ink-2); border-radius: var(--r);
}
.nav ul a:hover { color: var(--ink); background: var(--paper-2); }
.nav ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav__cta { padding: 12px 16px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .topbar__label { display: none; }
  .topbar__in { justify-content: center; gap: 16px; }
  .topbar a[href^="mailto"] { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    background: none; border: 1.5px solid var(--ink); border-radius: var(--r);
    padding: 10px 14px; font: 600 .9rem var(--f-sans); color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
  .nav-toggle__bars::before { content: ""; position: absolute; top: 5px; }
  .nav-toggle__bars { transform: translateY(-2.5px); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px var(--gut) 24px; gap: 14px;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
  .nav__cta { justify-content: center; }
}

/* ÚVOD – hero */
/* Fotka cez pravú časť, zľava sa plynulo stráca do pozadia */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(380px, 30vw, 620px);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: min(62%, 1180px); z-index: -1; overflow: hidden; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  opacity: 0; z-index: 0; will-change: opacity;
}
.hero__media img.is-active { opacity: 1; z-index: 1; }
/* nová fotka sa jemne prelinie cez predchádzajúcu (tá zostáva pod ňou, kým prechod neskončí) */
.hero__media img.is-front { z-index: 2; animation: hero-in 1.8s ease-in-out both; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__media img.is-front { animation: none; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0 0 0 -4px; z-index: 3;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 4%, rgba(245,242,237,.92) 16%, rgba(245,242,237,.55) 34%, rgba(245,242,237,0) 58%);
}
.hero__in { width: 100%; padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); position: relative; }
.hero__content { max-width: 560px; }
.hero h1 { font-size: clamp(2.1rem, 3.7vw, 3.1rem); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions .btn--ghost { background: var(--white); border-color: var(--ink); }
.hero__actions .btn--ghost:hover { background: var(--ink); color: #fff; }
.hero__caption {
  position: absolute; right: var(--gut); bottom: 22px; margin: 0;
  font: 500 .8rem var(--f-mono); color: #fff;
  background: rgba(23,25,27,.72); padding: 8px 12px; border-radius: 2px;
}
.hero__caption b { color: #ffb3b6; font-weight: 600; }

@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 260px; }
  .hero__media::after { background: linear-gradient(0deg, var(--paper) 0%, rgba(245,242,237,0) 45%); }
  .hero__in { padding-top: 8px; }
  .hero__caption { display: none; }
}

/* Pruh so službami zadarmo */
.hero__free { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); max-width: 46ch; font-size: .95rem; color: var(--ink-2); }
.hero__free strong { color: var(--ink); font-weight: 700; }
.free { background: var(--ink); color: #fff; }
.free__in { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding-top: 18px; padding-bottom: 18px; }
.free__label { display: flex; align-items: center; gap: 12px; margin: 0; flex: none; }
.free__label b { font: 800 clamp(1.7rem, 2.5vw, 2.1rem)/1 var(--f-sans); color: var(--red); letter-spacing: -0.03em; white-space: nowrap; }
.free__label span { font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: #a9a6a0; }
.free__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; gap: 12px 28px; }
.free__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.free__list li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  border: 1.5px solid var(--red);
  background: linear-gradient(var(--red), var(--red)) center/1.5px 100% no-repeat,
              linear-gradient(var(--red), var(--red)) center/100% 1.5px no-repeat;
}
.free__list li + li { padding-left: 28px; border-left: 1px solid #34383c; }
@media (max-width: 860px) {
  .free__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .free__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .free__list li + li { padding-left: 0; border-left: 0; }
}

/* Sekcie */
.section { padding: clamp(40px, 5.5vw, 72px) 0; }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-bottom: 32px; align-items: start; }
.section__head h2 { margin: 0; }
.section__head p { color: var(--ink-2); margin: 0; padding-top: .45em; }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.intro__text { font-size: 1.12rem; }
.intro__text p:first-child::first-line { font-weight: 600; }

/* Index ponuky na úvode */
.index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 64px 1fr 1.2fr 120px; gap: 24px; align-items: center;
  padding: 16px 0; text-decoration: none; color: var(--ink);
}
.index__n { font: 500 .85rem var(--f-mono); color: var(--muted); }
.index__t { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; }
.index__d { color: var(--muted); font-size: .95rem; }
.index__img { width: 120px; height: 84px; object-fit: contain; justify-self: end; transition: transform .25s; }
.index a:hover .index__t { color: var(--red); }
.index a:hover .index__img { transform: translateX(-6px); }

/* Vzorkovňa / kontakt blok */
.showroom { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.showroom img { border-radius: var(--r); width: 100%; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 20px 0 28px; }
.kv dt { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; }
.kv a { font-weight: 600; }

/* Podstránky – hlavička */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 28ch; margin-bottom: .35em; }
.page-hero__lead { max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; }
.page-hero__lead { margin-bottom: 0; }
.page-hero .wrap:not(:has(.subnav)) .page-hero__lead { max-width: 82ch; }
.page-hero .eyebrow { margin-bottom: 10px; }

/* Obsah stránky – číslovaný zoznam vpravo od nadpisu */
.page-hero .wrap:has(.subnav) {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  column-gap: clamp(32px, 6vw, 96px); padding-bottom: 0; align-items: end;
}
.page-hero .wrap:has(.subnav) > :not(.subnav) { grid-column: 1; }
.subnav {
  grid-column: 2; grid-row: 1 / span 3; align-self: end;
  counter-reset: sn; display: block; columns: 2; column-gap: 28px;
  margin: 0;
}
.subnav a {
  counter-increment: sn; display: flex; gap: 12px; align-items: baseline; break-inside: avoid;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: color .15s, padding .15s;
}
.subnav a::before { content: counter(sn, decimal-leading-zero); font: 500 .74rem var(--f-mono); color: var(--muted); min-width: 1.6em; }
.subnav a:hover { color: var(--red-ink); padding-left: 4px; }
.subnav a:hover::before { color: var(--red); }
@media (max-width: 960px) {
  .page-hero .wrap:has(.subnav) { grid-template-columns: 1fr; }
  .subnav { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 640px) {
  .subnav { display: none; }
  .product { gap: 18px; }
  .product > .product__media { max-width: 230px; }
  .product.product--photo > .product__media { max-width: none; }
}

/* Produktový blok */
.product { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(36px, 4.5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.product:last-child { border-bottom: 0; }
.product__media { position: sticky; top: 110px; align-self: start; }
.product__media img { width: 100%; }
.product__media .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product__media figcaption, .fig-cap { font: .76rem var(--f-mono); color: var(--muted); margin-top: 8px; }
.product__body { max-width: 720px; }
.product__body h2 { margin-bottom: .3em; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.chapter + .product { padding-top: clamp(24px, 3vw, 36px); }
.product__tag {
  display: inline-block; font: 600 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: #fff; background: var(--red); padding: 5px 8px; border-radius: 2px; margin-bottom: 14px;
}
.product__tag--ink { background: var(--ink); }
.product__body h3 { margin-top: 1.6em; font-size: 1.05rem; }
.product--wide { grid-template-columns: 1fr; }
.product__tag--inline { margin: 0 0 0 8px; vertical-align: middle; font-size: .62rem; }
/* produkty vnútri sekcie s nadpisom kapitoly – bez zdvojených okrajov */
.section .chapter__label + .product, .section .chapter__label + .figure-wide { padding-top: clamp(24px, 3vw, 36px); }
.section .product:last-child { padding-bottom: 0; }
.series { margin-top: 16px; }
.figure-wide img { margin: 0 auto; max-height: 560px; width: auto; }
.media-photo { width: 100%; border-radius: var(--r); margin-top: 14px; object-fit: cover; }
.product__media .media-tall { max-height: 460px; width: auto; margin: 0 auto; }
.product__media .duo img { max-height: 340px; width: auto; margin: 0 auto; }
.colors-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 28px; align-items: start; }
@media (max-width: 860px) { .colors-grid { grid-template-columns: 1fr; } }
.series__item { padding-top: 22px; }
.product--photo .product__media img { border-radius: var(--r); }

/* Zoznam s „okennými" odrážkami */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; columns: 2; column-gap: 32px; }
.checks--one { columns: 1; }
.checks li { position: relative; padding: 7px 0 7px 26px; break-inside: avoid; border-bottom: 1px dashed var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px;
  border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center/1.5px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center/100% 1.5px no-repeat;
}
.dash { list-style: none; padding: 0; margin: 0 0 1.2em; }
.dash li { padding: 3px 0 3px 22px; position: relative; }
.dash li::before { content: "–"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Technické parametre */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 6px 0 1.4em; border-top: 1.5px solid var(--ink); }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-2); width: 55%; }
.spec td { font-family: var(--f-mono); font-weight: 500; }
.spec caption { text-align: left; font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 10px; }

.stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); margin: 6px 0 1.6em; }
.stats div { flex: 1 1 120px; padding: 14px 18px 14px 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 600 1.45rem var(--f-mono); letter-spacing: -0.02em; }
.stats dd small { font-size: .8rem; font-weight: 500; color: var(--muted); }

.callout { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; margin: 1.4em 0; font-weight: 600; }
.doc-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin: 4px 8px 4px 0;
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 16px; background: var(--white); font-weight: 600;
}
.doc-link span { font: 600 .7rem var(--f-mono); background: var(--ink); color: #fff; padding: 3px 5px; border-radius: 2px; }
.doc-link:hover { border-color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 1.2em 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
.figure-wide { margin: 1.2em 0; background: var(--white); border: 1px solid var(--line); padding: 16px; border-radius: var(--r); }

.chapter { padding: clamp(20px, 3vw, 32px) 0 0; }
.chapter__label { display: flex; align-items: baseline; gap: 16px; border-bottom: 1.5px solid var(--ink); padding-bottom: 12px; }
.chapter__label h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.chapter__label span { font: 500 .8rem var(--f-mono); color: var(--muted); }

/* Produkty bez fotky – veľký technický údaj namiesto obrázka */
.product__media > .eyebrow {
  font: 600 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-mono); letter-spacing: -0.04em; color: var(--ink);
  text-transform: none; display: block; padding-top: 6px; border-top: 1.5px solid var(--ink);
}
.product__media > .eyebrow b { color: var(--red); font-weight: 600; margin-right: .2em; }

.series { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 28px; }
.series__item { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.series__item h3 { font-size: 1.3rem; }
.series__item p { color: var(--ink-2); font-size: .97rem; }
.series__item .spec th { width: 40%; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-form-grid--center { align-items: center; }
.contact-form-grid .kv { margin-bottom: 0; }
.qc { list-style: none; margin: 22px 0 28px; padding: 0; border-top: 1.5px solid var(--ink); }
.qc a {
  display: grid; grid-template-columns: 76px 1fr auto; align-items: baseline; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .15s, padding .15s;
}
.qc__k { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.qc__v { font: 600 clamp(1.15rem, 1.8vw, 1.4rem) var(--f-mono); letter-spacing: -0.02em; }
.qc__a { font: 500 .8rem var(--f-mono); color: var(--muted); }
.qc a:hover { background: var(--paper); padding-left: 12px; }
.qc a:hover .qc__a, .qc a:hover .qc__v { color: var(--red-ink); }
.co { color: var(--ink-2); }
@media (max-width: 480px) { .qc a { grid-template-columns: 1fr auto; } .qc__k { display: none; } }

/* Vzorkovňa: údaje vľavo, mapa vpravo – jeden spojený blok */
.locmap {
  display: grid; grid-template-columns: 360px 1fr; gap: 20px; min-height: 360px;
}
.locmap__card {
  background: var(--white); border: 1px solid var(--line-2); border-top: 3px solid var(--red);
  border-radius: 0 0 var(--r) var(--r); padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.locmap__card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.locmap__card .btn { align-self: flex-start; }
.locmap__map { width: 100%; height: 100%; min-height: 360px; border: 1px solid var(--line-2); border-radius: var(--r); display: block; filter: grayscale(.35) contrast(1.05); background: var(--paper-2); }
.kv--tight { grid-template-columns: 90px 1fr; gap: 8px 14px; margin: 14px 0 18px; font-size: .95rem; }
@media (max-width: 760px) {
  .locmap { grid-template-columns: 1fr; }
  .locmap { gap: 14px; }
  .locmap__map { min-height: 260px; height: 260px; }
}
.contact-form-grid h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cform-box { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: clamp(18px, 2.4vw, 26px); border-radius: 0 0 var(--r) var(--r); }
.cform-box h2 { margin-bottom: 4px; }
.cform-box .field input, .cform-box .field textarea { background: #fff; padding: 10px 12px; }
.cform-box .field { gap: 4px; font-size: .86rem; }
.cform-box .fgrid { gap: 12px 14px; }
.cform-lead { font-size: .93rem; margin: 0; }
.cform { margin-top: 16px; }
.cform-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.cform-foot .check { font-size: .85rem; }
.cform-foot .btn { flex: none; }
@media (max-width: 520px) { .cform-foot { flex-direction: column; align-items: flex-start; } }
.cform-done { margin-top: 24px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.map { position: sticky; top: 104px; }
.map__frame { aspect-ratio: 4/3.4; border: 1px solid var(--line-2); border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--paper-2); }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map__bar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--ink); color: #d9d6d0; padding: 12px 16px; font: .82rem var(--f-mono);
  border-radius: 0 0 var(--r) var(--r);
}
.map__bar b { color: #fff; }
.map__bar a { color: #fff; font-weight: 600; text-decoration: none; }
.map__bar a:hover { color: #ffb3b6; }
@media (max-width: 960px) { .series, .contact-grid, .contact-form-grid { grid-template-columns: 1fr; } .map { position: static; } }

/* CTA pás a pätička */
.cta-band { background: var(--red); color: #fff; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 44px) var(--gut); }
.cta-band h2 { margin: 0; max-width: 34ch; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.cta-band .eyebrow { margin-bottom: 8px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }
.cta-band__tel { font: 600 1.1rem var(--f-mono); color: #fff; text-decoration: none; }
.cta-band__tel:hover { color: #fff; text-decoration: underline; }

.site-footer { background: var(--ink); color: #c9c6c0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.brand--footer .logo { width: 150px; margin-bottom: 18px; }
.site-footer .muted { color: #9c9a95; }
.footer-h { font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: #8d8b86; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.hc { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.hc img { border-radius: 2px; width: 56px; height: auto; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #2e3134; font: .78rem var(--f-mono); color: #8d8b86; }

/* Responzívne */
@media (max-width: 960px) {
  .intro, .showroom, .section__head { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__media { position: static; max-width: 380px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header__in { height: 68px; }
  .brand .logo { width: 118px; }
  .index a { grid-template-columns: 40px 1fr 72px; gap: 14px; }
  .index__d { display: none; }
  .index__img { width: 72px; height: 56px; }
  .checks { columns: 1; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
