/* =========================================================
   HNATH – okná, dvere, brány
   Motív: okenný rám v antracite (RAL 7016), biela fasáda,
   žltá = rozsvietené okno a skladací meter.
   Najmenšie písmo na webe je 16 px.
   ========================================================= */

/* Archivo – variabilné písmo (šírka 62–125 %, hrúbka 400–900), hostované lokálne */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; 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: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; 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;
}
/* Slovenský výrez (šírka 100–125 %, hrúbka 400–900, 61 kB): jeden súbor pre bežné texty.
   Je uvedený posledný, takže má prednosť; dva súbory vyššie sa stiahnu iba vtedy,
   keď sa na stránke objaví znak mimo tohto výrezu. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-sk.woff2") format("woff2");
  unicode-range: U+20-7E, U+A0-FF, U+104-107, U+10C-10F, U+118-11B, U+139-13A, U+13D-13E, U+141-144, U+147-148, U+150-151, U+154-155, U+158-15B, U+160-161, U+164-165, U+16E-171, U+179-17E, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2030, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2212;
}

:root {
  --ram: #383e42;          /* antracit, farba rámov */
  --ram-tmavy: #2a2f33;
  --kridlo: #4d555a;       /* krídlo okna, o tón svetlejšie */
  --omietka: #f2f3f1;      /* biela fasáda */
  --biela: #fff;
  --sklo: #dfe8eb;
  --svetlo: #ffc53a;       /* rozsvietené okno / meter */
  --svetlo-tmave: #eaab0c;
  --text: #22272a;
  --text-jemny: #555d62;
  --ciara: #d3d7d4;
  --focus: #1464c8;
  --f: "Archivo", "Segoe UI", system-ui, sans-serif;
  --zrno: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--f);
  font-size: 1.1875rem;          /* 19 px */
  line-height: 1.6;
  color: var(--text);
  background: var(--biela);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.5rem; font-stretch: 110%; line-height: 1.15; letter-spacing: -.005em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.obal { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }

.preskocit {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; background: var(--svetlo); color: var(--text); font-weight: 700;
}
.preskocit:focus { top: 1rem; }

.perex { font-size: 1.3125rem; line-height: 1.5; color: var(--text-jemny); max-width: 36em; }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.45rem;
  border: 2px solid var(--ram); border-radius: 6px;
  background: transparent; color: var(--ram);
  font-size: 1.125rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ram); color: #fff; }
.btn--hlavne { background: var(--svetlo); border-color: var(--svetlo); color: var(--text); }
.btn--hlavne:hover { background: var(--svetlo-tmave); border-color: var(--svetlo-tmave); color: var(--text); }
.tlacidla { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.odkaz { font-weight: 700; text-decoration: underline; text-decoration-color: var(--svetlo-tmave); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.odkaz:hover { text-decoration-color: var(--ram); }

/* ---------- horná lišta ---------- */
.listok { background: var(--ram-tmavy); color: #dde2e4; font-size: 1rem; }
.listok__in { display: flex; align-items: center; gap: .25rem 2.25rem; min-height: 2.75rem; }
.listok__in > * { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.listok svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--svetlo); }
.listok a { text-decoration: none; transition: color .15s; }
.listok a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--svetlo); text-decoration-thickness: 2px; }
.listok__vpravo { margin-left: auto; }
.listok :focus-visible { outline-color: var(--svetlo); }

/* ---------- hlavička ---------- */
/* Antracitový pás ako horný rám okna; na spodnej hrane má rysky metra. */
.hlavicka {
  position: sticky; top: 0; z-index: 50;
  background: var(--ram); color: #fff;
  transition: box-shadow .25s;
}
.hlavicka::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .17) 0 1px, transparent 1px 12px);
  background-size: 100% 100%, 100% 4px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
.hlavicka :focus-visible { outline-color: var(--svetlo); }
.hlavicka.je-zrolovana { box-shadow: 0 16px 30px -18px rgba(12, 16, 18, .8); }
.hlavicka__in { display: flex; align-items: stretch; gap: 1.5rem; min-height: 5.75rem; transition: min-height .25s; }
.logo { flex: none; display: flex; align-items: center; }
.logo img { height: 58px; width: auto; transition: height .25s; }

.menu { display: flex; align-items: stretch; margin-left: auto; }
.menu__odkaz {
  position: relative; display: flex; align-items: center;
  padding: 0 .85rem;
  font-size: 1.0625rem; font-weight: 600; color: #e4e8ea; text-decoration: none; white-space: nowrap;
  transition: color .15s;
}
/* žltý meter, ktorý sa pod položkou vytiahne zľava */
.menu__odkaz::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 0; z-index: 1; height: 7px;
  background-color: var(--svetlo);
  background-image: repeating-linear-gradient(90deg, rgba(34, 39, 42, .85) 0 1px, transparent 1px 12px);
  background-size: 100% 4px; background-position: 0 100%; background-repeat: no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .3s cubic-bezier(.2, .7, .2, 1);
}
.menu__odkaz:hover, .menu__odkaz[aria-current="page"] { color: #fff; }
.menu__odkaz:hover::after, .menu__odkaz:focus-visible::after, .menu__odkaz[aria-current="page"]::after { clip-path: inset(0); }

.menu__tel {
  display: flex; align-items: center; gap: .7rem; align-self: center;
  margin-left: 1.1rem; padding: .3rem 0 .3rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: #fff; text-decoration: none; white-space: nowrap;
}
.menu__tel-ikona {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, .3); border-radius: 50%;
  color: var(--svetlo);
  transition: background-color .15s, border-color .15s, color .15s;
}
.menu__tel:hover .menu__tel-ikona { background: var(--svetlo); border-color: var(--svetlo); color: var(--text); }
.menu__tel-text { display: grid; line-height: 1.2; }
.menu__tel-popis { font-size: 1rem; color: #c5ccd0; }
.menu__tel strong { font-size: 1.3125rem; font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.menu__ponuka { align-self: center; margin-left: 1.5rem; padding: .8rem 1.25rem; font-size: 1.0625rem; white-space: nowrap; }
.menu__info, .hlavicka__volat { display: none; }

.menu-tlacidlo {
  display: none; align-items: center; align-self: center; gap: .65rem;
  min-height: 3rem; padding: .55rem 1rem;
  background: none; border: 2px solid rgba(255, 255, 255, .42); border-radius: 6px;
  color: #fff; font-size: 1.0625rem; font-weight: 700; cursor: pointer;
  transition: border-color .15s;
}
.menu-tlacidlo:hover, .menu-tlacidlo[aria-expanded="true"] { border-color: #fff; }
.menu-tlacidlo__ciary, .menu-tlacidlo__ciary::before, .menu-tlacidlo__ciary::after {
  display: block; width: 20px; height: 2px; background: currentColor;
  transition: transform .2s, background-color .2s;
}
.menu-tlacidlo__ciary { position: relative; }
.menu-tlacidlo__ciary::before, .menu-tlacidlo__ciary::after { content: ""; position: absolute; left: 0; }
.menu-tlacidlo__ciary::before { top: -6px; }
.menu-tlacidlo__ciary::after { top: 6px; }
.menu-tlacidlo[aria-expanded="true"] .menu-tlacidlo__ciary { background: transparent; }
.menu-tlacidlo[aria-expanded="true"] .menu-tlacidlo__ciary::before { transform: translateY(6px) rotate(45deg); }
.menu-tlacidlo[aria-expanded="true"] .menu-tlacidlo__ciary::after { transform: translateY(-6px) rotate(-45deg); }

/* na počítači sa hlavička po odrolovaní zníži */
@media (min-width: 75.0625rem) {
  .hlavicka.je-zrolovana .hlavicka__in { min-height: 4.5rem; }
  .hlavicka.je-zrolovana .logo img { height: 46px; }
}
/* užšie monitory: bez popisu pri telefóne, tesnejšie menu */
@media (min-width: 75.0625rem) and (max-width: 80rem) {
  .hlavicka__in { gap: 1rem; }
  .logo img { height: 50px; }
  .menu__odkaz { padding-inline: .6rem; }
  .menu__odkaz::after { left: .6rem; right: .6rem; }
  .menu__tel { margin-left: .6rem; padding-left: 1rem; }
  .menu__tel-ikona, .menu__tel-popis { display: none; }
  .menu__ponuka { margin-left: 1rem; padding-inline: 1rem; }
}

/* ---------- okno (hlavný motív) ---------- */
.okno {
  position: relative;
  display: grid; gap: 12px; padding: 12px;
  background: var(--ram);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 50px -28px rgba(20, 26, 30, .55);
  perspective: 1400px;
  margin-bottom: 1.25rem;
}
/* parapet */
.okno::after {
  content: ""; position: absolute; left: -1.1rem; right: -1.1rem; top: 100%;
  height: 1rem;
  background: linear-gradient(#fff, #dcdfdd);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 18px -12px rgba(20, 26, 30, .4);
}
.okno--tri { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 5 / 4; }
.okno--tri .tabula--velka { grid-row: 1 / span 2; }
.okno--jedno { aspect-ratio: 4 / 3; }
.okno--jedno.okno--vyska { aspect-ratio: 4 / 5; }

.tabula {
  position: relative; display: block; min-height: 0;
  background: var(--kridlo);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: var(--text); text-decoration: none;
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
}
.tabula__sklo { position: absolute; inset: 7px; overflow: hidden; background: var(--sklo); border-radius: 1px; }
.tabula__sklo img { width: 100%; height: 100%; object-fit: cover; }
.tabula__stitok {
  position: absolute; left: 7px; bottom: 7px; max-width: calc(100% - 14px);
  padding: .5rem .95rem;
  background: #fff;
  font-size: 1.125rem; font-weight: 700; font-stretch: 110%; line-height: 1.25;
  transition: background-color .2s;
}
a.tabula:hover, a.tabula:focus-visible {
  transform: rotateX(-7deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 26px 30px -16px rgba(0, 0, 0, .55);
  z-index: 2;
}
a.tabula:hover .tabula__stitok, a.tabula:focus-visible .tabula__stitok { background: var(--svetlo); }

/* kľučka: zatvorené = dole, vyklopené = hore */
.klucka {
  position: absolute; right: -2px; top: 50%; z-index: 3;
  width: 11px; height: 30px; margin-top: -15px;
  background: linear-gradient(90deg, #f3f4f5, #b4bbc0);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.klucka::after {
  content: ""; position: absolute; left: 1.5px; top: 11px;
  width: 8px; height: 44px;
  background: linear-gradient(90deg, #f6f7f8, #a7afb4);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  transform-origin: 4px 4px;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
a.tabula:hover .klucka::after, a.tabula:focus-visible .klucka::after { transform: rotate(180deg); }

/* ---------- úvod ---------- */
.uvod { background: var(--omietka) var(--zrno); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.uvod__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.uvod h1 + .perex { margin-top: 1.5rem; }

.hodnotenie {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem;
  margin-top: 1.75rem; font-size: 1.0625rem; font-weight: 600; text-decoration: none;
}
.hodnotenie:hover span { text-decoration: underline; }
.hviezdy { display: inline-flex; gap: 2px; color: var(--svetlo-tmave); }
.hviezdy svg { width: 1.25rem; height: 1.25rem; }

/* záhlavie podstránok */
.zahlavie { background: var(--omietka) var(--zrno); padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(3.25rem, 5.5vw, 5rem); overflow: hidden; }
.zahlavie__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.zahlavie--bez { padding-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.zahlavie--bez .zahlavie__in { grid-template-columns: 1fr; }
.zahlavie h1 + .perex { margin-top: 1.4rem; }
.drobky { margin-bottom: 1.1rem; font-size: 1rem; color: var(--text-jemny); }
.drobky a { text-decoration-color: var(--ciara); }

/* ---------- sekcie ---------- */
.sekcia { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.sekcia--omietka { background: var(--omietka) var(--zrno); }
.sekcia__hlava { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sekcia__hlava p { margin-top: 1.1rem; font-size: 1.25rem; color: var(--text-jemny); }

/* voľba staviam / prerábam: dve farebné polovice bez rámu */
.volba { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; }
.volba__pol {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  min-height: 22rem; padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--omietka); color: var(--text); text-decoration: none;
  transition: background-color .25s;
}
.volba__pol--tmava { background: var(--ram); color: #fff; }
.volba__stitok { padding: .3rem .85rem; border-radius: 99rem; background: #fff; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.volba__pol--tmava .volba__stitok { background: rgba(255, 255, 255, .13); }
.volba__pol h3 { margin-top: .4rem; font-size: clamp(1.75rem, 2.7vw, 2.375rem); font-stretch: 116%; line-height: 1.08; }
.volba__pol p { margin: 0; max-width: 27em; color: var(--text-jemny); }
.volba__pol--tmava p { color: #d5dadd; }
.volba__dalej {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; align-self: stretch;
  margin-top: auto; padding-top: 1.5rem;
  font-size: 1.125rem; font-weight: 700;
}
.volba__sipka {
  flex: none; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--ram); color: #fff;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background-color .2s, color .2s;
}
.volba__pol--tmava .volba__sipka { background: var(--svetlo); color: var(--text); }
.volba__pol:hover { background: #e8eae7; }
.volba__pol--tmava:hover { background: var(--ram-tmavy); }
.volba__pol:hover .volba__sipka, .volba__pol:focus-visible .volba__sipka { transform: translateX(.45rem); background: var(--svetlo); color: var(--text); }
.volba__pol--tmava:hover .volba__sipka, .volba__pol--tmava:focus-visible .volba__sipka { background: #fff; }
.volba__pol:focus-visible { outline-offset: -6px; }
.volba__pol--tmava:focus-visible { outline-color: var(--svetlo); }

/* striedavé riadky foto + text */
.riadok { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.riadok + .riadok { margin-top: clamp(3rem, 6vw, 5.5rem); }
.riadok--naopak { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.riadok--naopak .riadok__foto { order: 2; }
.riadok__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.riadok__foto--dve { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.riadok__foto--dve img { aspect-ratio: 3 / 4; }
.riadok__text h2 + p, .riadok__text h3 + p { margin-top: 1.1rem; }
.riadok__text .odkaz { display: inline-block; margin-top: .5rem; }

/* zoznam s odrážkou v tvare okienka */
.body { display: grid; gap: .85rem; margin: 1.5rem 0; }
.body li { position: relative; padding-left: 2.1rem; }
.body li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1.05rem; height: 1.05rem;
  border: 3px solid var(--ram); border-radius: 2px;
  background: var(--svetlo);
}
.body strong { font-weight: 700; }

/* ---------- kroky s metrom ---------- */
.kroky {
  position: relative; counter-reset: krok;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2.25rem;
  padding-top: 3.25rem;
}
.kroky::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5rem;
  background-color: var(--svetlo);
  background-image:
    repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 12px);
  background-size: 100% 100%, 100% 42%;
  background-repeat: no-repeat;
  border-radius: 2px;
}
.kroky li { counter-increment: krok; }
.kroky li::before {
  content: counter(krok);
  display: block; margin-bottom: .35rem;
  font-size: 4rem; font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--ram);
}
.kroky h3 { margin-bottom: .6rem; }
.kroky p { color: var(--text-jemny); }

/* ---------- galéria ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 19vw, 17rem); gap: .75rem; }
.galeria__polozka { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--sklo); }
.galeria__polozka--sirka { grid-column: span 2; }
.galeria__polozka--vyska { grid-row: span 2; }
.galeria__polozka button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria__polozka img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galeria__polozka button:hover img { transform: scale(1.04); }
.galeria__polozka figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(24, 28, 31, .88));
  color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.3;
  pointer-events: none;
}
.galeria__viac { margin-top: 1.75rem; }

.svetlik { width: min(96vw, 70rem); max-height: 94vh; padding: 0; border: 12px solid var(--ram); border-radius: 8px; background: var(--ram); color: #fff; }
.svetlik::backdrop { background: rgba(24, 28, 31, .82); }
.svetlik img { width: 100%; max-height: calc(94vh - 8.5rem); object-fit: contain; background: #1f2326; }
.svetlik__popis { margin: 0; padding: .9rem .5rem .3rem; font-size: 1.0625rem; }
.svetlik__zavriet { position: absolute; right: .75rem; top: .75rem; padding: .5rem .9rem; background: #fff; color: var(--text); border: 0; border-radius: 4px; font-size: 1rem; font-weight: 700; cursor: pointer; }

/* ---------- recenzie ---------- */
.recenzie { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.recenzie__suhrn .cislo { display: block; margin-top: 1.75rem; font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 800; font-stretch: 125%; line-height: .95; letter-spacing: -.03em; }
.recenzie__suhrn .hviezdy { margin: .9rem 0 .6rem; }
.recenzie__suhrn .hviezdy svg { width: 1.75rem; height: 1.75rem; }
.recenzie__suhrn p { margin-bottom: 1rem; }
.recenzie__zoznam { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.recenzia { margin: 0; padding: 1.5rem 0; border-top: 2px solid var(--ram); }
.recenzia--velka { grid-column: 1 / -1; }
.recenzia blockquote { margin: 0 0 .9rem; }
.recenzia--velka blockquote { font-size: 1.5rem; line-height: 1.4; font-weight: 500; }
.recenzia figcaption { font-size: 1rem; color: var(--text-jemny); }
.recenzia figcaption strong { color: var(--text); font-weight: 700; }

/* ---------- profily okien ---------- */
.profil {
  display: grid; grid-template-columns: 13.5rem minmax(0, 1fr) 19rem; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-top: 2px solid var(--ram);
}
.profil:last-of-type { border-bottom: 2px solid var(--ram); }
.profil__obr { display: grid; place-items: center; aspect-ratio: 1; padding: .75rem; background: #fff; border: 1px solid var(--ciara); border-radius: 4px; }
.profil__obr img { max-height: 100%; width: auto; object-fit: contain; }
.profil__text h3 { font-size: 1.75rem; }
.profil__text h3 + p { margin-top: .9rem; }
.profil__text .btn { margin-top: .6rem; }
.udaje { margin: 0; }
.udaje div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--ciara); }
.udaje div:first-child { padding-top: 0; }
.udaje dt { color: var(--text-jemny); font-size: 1.0625rem; }
.udaje dd { margin: 0; font-weight: 700; font-size: 1.0625rem; text-align: right; }

.skupina + .skupina { margin-top: clamp(3.5rem, 7vw, 6rem); }
.skupina__hlava { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.skupina__hlava p { color: var(--text-jemny); }

/* štyri poznámky vedľa seba */
.stvorica { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; }
.stvorica--tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stvorica h3 { margin-bottom: .6rem; padding-top: 1rem; border-top: 6px solid var(--ram); font-size: 1.3125rem; }
.stvorica p { color: var(--text-jemny); }

/* ---------- dopyt ---------- */
.dopyt { background: var(--ram); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.dopyt :focus-visible { outline-color: var(--svetlo); }
.dopyt__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.dopyt__text > p { margin-top: 1.25rem; font-size: 1.25rem; color: #d9dee0; max-width: 28em; }
.dopyt__tel {
  display: inline-block; margin-top: 2rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; font-stretch: 116%; line-height: 1.1; letter-spacing: -.01em;
  color: var(--svetlo); text-decoration: none; font-variant-numeric: tabular-nums;
}
.dopyt__tel:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.dopyt__info { display: grid; gap: .35rem; margin-top: 1.25rem; color: #d9dee0; }
.dopyt__info a { color: #fff; }

.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; color: var(--text); border-radius: 6px; }
.formular :focus-visible { outline-color: var(--focus); }
.pole { display: grid; gap: .4rem; }
.pole--cele { grid-column: 1 / -1; }
.pole label, .pole legend { font-size: 1.0625rem; font-weight: 700; }
.pole .nepovinne { font-weight: 400; color: var(--text-jemny); }
.pole input[type="text"], .pole input[type="tel"], .pole input[type="email"], .pole textarea {
  width: 100%; padding: .8rem .9rem;
  border: 2px solid #a9b0b5; border-radius: 4px; background: #fff;
  font-size: 1.125rem; line-height: 1.4;
}
.pole textarea { min-height: 8rem; resize: vertical; }
.pole input:hover, .pole textarea:hover { border-color: var(--ram); }
.pole input[aria-invalid="true"], .pole textarea[aria-invalid="true"] { border-color: #b3261e; }
.pole__chyba { color: #b3261e; font-size: 1rem; font-weight: 600; }
fieldset.pole { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.pole legend { padding: 0; margin-bottom: .5rem; }
.volby { display: flex; flex-wrap: wrap; gap: .55rem; }
.volby label {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  border: 2px solid #a9b0b5; border-radius: 4px;
  font-size: 1.0625rem; font-weight: 600; cursor: pointer;
}
.volby input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ram); }
.volby label:has(input:checked) { border-color: var(--ram); background: var(--svetlo); }
.formular__spodok { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.formular__spodok p { margin: 0; flex: 1 1 16rem; font-size: 1rem; color: var(--text-jemny); }
.formular__stav { grid-column: 1 / -1; margin: 0; padding: 1rem 1.15rem; border-radius: 4px; font-weight: 600; }
.formular__stav[hidden] { display: none; }
.formular__stav--ok { background: #e3f3e6; color: #17512a; }
.formular__stav--info { background: #fff3cf; color: #5b4300; }
.formular__stav--chyba { background: #fde7e5; color: #8c1d18; }
.med { position: absolute; left: -9999px; }

/* ---------- kontakt ---------- */
.kontakty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.kontakty > div { padding-top: 1.1rem; border-top: 6px solid var(--ram); }
.kontakty h2 { margin-bottom: .6rem; font-size: 1.3125rem; font-stretch: 110%; letter-spacing: 0; }
.kontakty .velke { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; text-decoration: none; overflow-wrap: anywhere; }
.kontakty .velke--email { font-size: 1.25rem; }
.kontakty a.velke:hover { text-decoration: underline; }
.hodiny { margin: 0; }
.hodiny div { display: flex; justify-content: space-between; gap: 1rem; }
.hodiny dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.mapa { position: relative; display: grid; place-items: center; min-height: 26rem; padding: 2rem; background: var(--sklo); border: 12px solid var(--ram); border-radius: 8px; text-align: center; overflow: hidden; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa__text { max-width: 30rem; }
.mapa__text p { margin: .6rem 0 1.25rem; }
.mapa__text small { display: block; margin-top: 1rem; font-size: 1rem; color: var(--text-jemny); }

.fakturacne { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.fakturacne dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.5rem; }
.fakturacne dt { color: var(--text-jemny); }
.fakturacne dd { margin: 0; font-weight: 600; }

/* ---------- bežný text (právne stránky z WordPressu) ---------- */
.text { max-width: 48rem; overflow-wrap: break-word; }
.text > * + * { margin-top: 1em; }
.text h2 { margin-top: 2.5rem; font-size: 1.75rem; }
.text h3 { margin-top: 2rem; }
.text h4, .text h5, .text h6 { margin: 1.5rem 0 0; font-size: 1.1875rem; font-weight: 700; }
.text ul, .text ol { padding-left: 1.4em; }
.text ul { list-style: disc; }
.text ol { list-style: decimal; }
.text li + li { margin-top: .4em; }
.text a { text-decoration: underline; text-decoration-color: var(--svetlo-tmave); text-decoration-thickness: 2px; }
.text table { width: 100%; border-collapse: collapse; }
.text th, .text td { padding: .6rem .75rem; border: 1px solid var(--ciara); text-align: left; vertical-align: top; }
.text details { padding: .75rem 0; border-bottom: 1px solid var(--ciara); }
.text summary { cursor: pointer; font-weight: 700; }

/* Právne dokumenty doplnku Complianz majú vlastné 14 px písmo – zjednotiť s webom */
.text #cmplz-document { max-width: none; font-size: 1.0625rem; }
.text #cmplz-document p, .text #cmplz-document li, .text #cmplz-document td, .text #cmplz-document th,
.text #cmplz-document a, .text #cmplz-document span, .text #cmplz-document summary, .text #cmplz-document details { font-size: 1.0625rem; line-height: 1.6; }
.text #cmplz-document h2 { margin-top: 2.25rem; font-size: 1.5rem; line-height: 1.2; }
.text #cmplz-document h3, .text #cmplz-document h4 { font-size: 1.25rem; line-height: 1.25; }

/* WordPress: lišta správcu nad prilepenou hlavičkou, odkazy doplnku Auto Terms sú už v pätičke */
.admin-bar .hlavicka { top: 32px; }
@media (max-width: 782px) { .admin-bar .hlavicka { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hlavicka { top: 0; } }
.wpautoterms-footer { display: none; }

/* ---------- pätička ---------- */
.paticka { background: var(--ram-tmavy); color: #d9dee0; font-size: 1.0625rem; }
.paticka :focus-visible { outline-color: var(--svetlo); }
.paticka a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.paticka a:hover { text-decoration-color: var(--svetlo); }
.paticka__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem; }
.paticka__logo { margin-bottom: 1.1rem; font-size: 2.6rem; font-weight: 900; font-stretch: 125%; line-height: .9; letter-spacing: -.02em; color: #fff; }
.paticka__logo span { display: block; margin-top: .5rem; font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: .04em; color: #d9dee0; }
.paticka__stlpec h2 { margin-bottom: 1rem; font-size: 1.125rem; font-stretch: 110%; letter-spacing: 0; color: #fff; }
.paticka__stlpec ul { display: grid; gap: .55rem; }
.paticka__spodok { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1rem; }
.paticka__spodok p { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* ---------- menšie obrazovky ---------- */
@media (max-width: 75rem) {
  .listok { display: none; }
  .hlavicka__in { gap: .75rem; min-height: 4.75rem; }
  .logo img { height: 48px; }
  .hlavicka__volat {
    display: grid; place-items: center; align-self: center;
    width: 3rem; height: 3rem; margin-left: auto;
    background: var(--svetlo); color: var(--text); border-radius: 6px;
  }
  .hlavicka__volat:hover { background: var(--svetlo-tmave); }
  .menu-tlacidlo { display: inline-flex; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; margin: 0;
    max-height: calc(100vh - 4.75rem); max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    padding: .25rem 1.25rem 1.5rem;
    background: var(--ram-tmavy);
    box-shadow: 0 30px 40px -24px rgba(12, 16, 18, .85);
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .menu.je-otvorene { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu__odkaz { padding: 1rem .25rem; font-size: 1.1875rem; border-bottom: 1px solid rgba(255, 255, 255, .13); transition: color .15s, padding-left .15s; }
  .menu__odkaz::after { display: none; }
  .menu__odkaz[aria-current="page"] { padding-left: 1rem; box-shadow: inset 4px 0 0 var(--svetlo); }
  .menu__tel { align-self: stretch; margin: 1.35rem 0 0; padding: 0; border-left: 0; }
  .menu__ponuka { align-self: stretch; margin: 1.1rem 0 0; padding: .95rem 1.25rem; font-size: 1.125rem; }
  .menu__info { display: block; margin: 1.25rem 0 0; font-size: 1rem; line-height: 1.6; color: #c5ccd0; }
}

@media (max-width: 68rem) {
  .profil { grid-template-columns: 11rem minmax(0, 1fr); }
  .profil .udaje { grid-column: 1 / -1; }
  .stvorica, .kontakty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paticka__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 56rem) {
  .uvod__in, .zahlavie__in, .dopyt__in, .recenzie, .riadok, .riadok--naopak, .skupina__hlava, .fakturacne { grid-template-columns: 1fr; }
  .riadok--naopak .riadok__foto { order: 0; }
  .kroky { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2rem; }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(10rem, 38vw, 16rem); }
  .skupina__hlava { gap: 1rem; }
}

@media (max-width: 40rem) {
  body { font-size: 1.125rem; }
  .perex { font-size: 1.1875rem; }
  .hlavicka__in { min-height: 4.25rem; }
  .logo img { height: 42px; }
  .menu { max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem); }
  .okno { gap: 8px; padding: 8px; }
  .okno--tri { grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; aspect-ratio: 1 / 1.05; }
  .okno--tri .tabula--velka { grid-row: auto; grid-column: 1 / -1; }
  .tabula__stitok { font-size: 1rem; padding: .4rem .7rem; }
  .okno::after { left: -.6rem; right: -.6rem; }
  .volba, .recenzie__zoznam, .formular, .stvorica, .stvorica--tri, .kontakty, .kroky, .paticka__in { grid-template-columns: 1fr; }
  .volba__pol { min-height: 0; }
  .kroky li::before { font-size: 3.25rem; }
  .profil { grid-template-columns: 1fr; }
  .profil__obr { max-width: 14rem; }
  .tlacidla .btn { flex: 1 1 100%; }
  .recenzia--velka blockquote { font-size: 1.3125rem; }
  .fakturacne dl { grid-template-columns: 1fr; gap: 0; }
  .fakturacne dd { margin-bottom: .75rem; }
  .mapa { min-height: 22rem; border-width: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  a.tabula:hover, a.tabula:focus-visible { transform: none; }
  .galeria__polozka button:hover img { transform: none; }
}
