/* ==========================================================================
   TKL BauTech, s.r.o. - hlavny stylopis
   Farby prevzate z firemneho loga (azurova #1FB6E8)
   ========================================================================== */

:root {
  --brand:        #1FB6E8;
  --brand-dark:   #0E93C4;
  --brand-deep:   #0B7BA6;
  --brand-soft:   #E9F7FD;

  --ink:          #0E1519;
  --ink-2:        #16212A;
  --ink-3:        #223140;
  --text:         #1B262E;
  --muted:        #62727E;
  --muted-2:      #8A98A3;
  --line:         #E2E8ED;
  --bg:           #FFFFFF;
  --bg-alt:       #F5F8FA;

  --radius:       14px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 2px rgba(14,21,25,.06), 0 2px 8px rgba(14,21,25,.05);
  --shadow-md:    0 4px 12px rgba(14,21,25,.08), 0 12px 32px rgba(14,21,25,.08);
  --shadow-lg:    0 8px 24px rgba(14,21,25,.10), 0 24px 60px rgba(14,21,25,.12);

  --container:    1200px;
  --gap:          clamp(20px, 3vw, 32px);
  --section-y:    clamp(64px, 8vw, 112px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

/* ---------- zaklad ---------- */

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

html {
  scroll-behavior: smooth;
  /* aby kotvy neskoncili pod fixnou hlavickou */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.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;
}

/* ---------- tlacidla ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font: inherit; font-weight: 600; font-size: .97rem;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s,
              transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(31,182,232,.34);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(31,182,232,.42); }

.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-lg { padding: 17px 34px; font-size: 1.03rem; }

/* ---------- hlavicka ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10,16,20,.72), rgba(10,16,20,0));
  transition: opacity .3s;
}
.site-header.is-stuck {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(14,21,25,.07);
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 38px; width: auto; }
.logo .logo-light { display: block; }
.logo .logo-dark  { display: none; }
.site-header.is-stuck .logo .logo-light { display: none; }
.site-header.is-stuck .logo .logo-dark  { display: block; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-list {
  display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: #fff; font-weight: 500; font-size: .96rem;
  text-decoration: none; padding: 6px 0;
  position: relative; white-space: nowrap;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.site-header.is-stuck .nav-list a { color: var(--text); }

.lang {
  display: flex; align-items: center; gap: 2px;
  font-size: .88rem; font-weight: 700; letter-spacing: .04em;
}
.lang a { color: rgba(255,255,255,.72); padding: 4px 7px; border-radius: 6px; text-decoration: none; }
.lang a.is-active { color: #fff; background: rgba(255,255,255,.18); }
.lang span { color: rgba(255,255,255,.4); }
.site-header.is-stuck .lang a { color: var(--muted); }
.site-header.is-stuck .lang a.is-active { color: var(--ink); background: var(--brand-soft); }
.site-header.is-stuck .lang span { color: var(--line); }

.nav-cta { padding: 11px 22px; font-size: .92rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: inherit; border-radius: 2px; transition: transform .25s, top .25s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.site-header.is-stuck .nav-toggle span,
.site-header.is-stuck .nav-toggle span::before,
.site-header.is-stuck .nav-toggle span::after { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); background: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex; align-items: flex-end;
  padding: 150px 0 clamp(48px, 7vw, 84px);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,14,18,.94) 0%, rgba(8,14,18,.66) 42%, rgba(8,14,18,.34) 100%),
    linear-gradient(to right, rgba(8,14,18,.62), rgba(8,14,18,0) 68%);
}
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: .34em; }
.hero-sub {
  font-size: clamp(.94rem, 1.5vw, 1.09rem);
  font-weight: 600; color: var(--brand);
  letter-spacing: .01em; margin-bottom: .9em;
}
.hero-sub span { color: rgba(255,255,255,.42); margin: 0 .45em; }
.hero-text {
  max-width: 56ch; font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: rgba(255,255,255,.9); margin-bottom: 2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6em; }

.flags { display: flex; flex-wrap: wrap; gap: 10px; }
.flag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 17px 9px 13px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.flag i {
  width: 21px; height: 14px; border-radius: 2px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}
.flag-sk i { background: linear-gradient(to bottom,#fff 33.3%,#0B4EA2 33.3% 66.6%,#EE1C25 66.6%); }
.flag-de i { background: linear-gradient(to bottom,#000 33.3%,#DD0000 33.3% 66.6%,#FFCE00 66.6%); }
.flag-at i { background: linear-gradient(to bottom,#ED2939 33.3%,#fff 33.3% 66.6%,#ED2939 66.6%); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }

/* ---------- sekcie ---------- */

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--brand-dark);
  margin-bottom: 1.1em;
}
.section-dark .eyebrow { color: var(--brand); }

.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.17rem); color: var(--muted); }
.section-dark .lead { color: rgba(255,255,255,.72); }

/* ---------- o nas ---------- */

.about-grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.about-badge {
  position: absolute; right: -6px; bottom: -22px;
  background: var(--brand); color: #fff;
  padding: 18px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center; line-height: 1.2;
}
.about-badge strong { display: block; font-size: 1.9rem; font-weight: 700; }
.about-badge span { font-size: .8rem; opacity: .92; }

.facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 2em; }
.fact {
  padding: 18px 20px; background: var(--bg-alt);
  border-radius: var(--radius); border-left: 3px solid var(--brand);
}
.fact strong { display: block; font-size: 1.05rem; color: var(--ink); }
.fact span { font-size: .9rem; color: var(--muted); }

/* ---------- sluzby ---------- */

.services {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.service {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.service:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 24px 24px 28px; flex: 1; }
.service-body h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .45em; }
.service-body h3 svg { width: 21px; height: 21px; color: var(--brand); flex-shrink: 0; }
.service-body p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- komplexne TZB ---------- */

.complex-grid {
  display: grid; gap: clamp(34px, 5vw, 62px);
  grid-template-columns: 1fr; align-items: center;
}
.complex-media img {
  border-radius: var(--radius-lg); width: 100%;
  aspect-ratio: 3/2; object-fit: cover;
}
.benefits { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 14px; }
.benefits li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 1rem; color: rgba(255,255,255,.86);
}
.benefits svg {
  width: 23px; height: 23px; flex-shrink: 0; margin-top: 1px;
  color: var(--brand);
}

/* ---------- pre koho ---------- */

.segments {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.segment {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 300px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.segment img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.segment::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,14,18,.9) 8%, rgba(8,14,18,.22) 62%, rgba(8,14,18,.1));
  transition: background .3s;
}
.segment:hover img { transform: scale(1.07); }
.segment-body { padding: 26px 24px; }
.segment-body h3 { color: #fff; margin: 0 0 .3em; font-size: 1.16rem; }
.segment-body p { font-size: .9rem; color: rgba(255,255,255,.78); margin: 0; }

/* ---------- posobnost ---------- */

.countries {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.country {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  position: relative; overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
.country:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.country::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
}
.country-sk::before { background: linear-gradient(to right,#fff 0 33%,#0B4EA2 33% 66%,#EE1C25 66%); }
.country-de::before { background: linear-gradient(to right,#000 0 33%,#DD0000 33% 66%,#FFCE00 66%); }
.country-at::before { background: linear-gradient(to right,#ED2939 0 33%,#fff 33% 66%,#ED2939 66%); }
.country h3 { margin-bottom: .3em; }
.country p { font-size: .94rem; color: var(--muted); margin: 0; }
.country-tag {
  display: inline-block; margin-bottom: .8em;
  font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand-dark);
}

/* ---------- referencie / galeria ---------- */

.filters {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.filter {
  padding: 9px 19px; font: inherit; font-size: .89rem; font-weight: 600;
  color: var(--muted); background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--brand); color: var(--brand-dark); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gal-item {
  position: relative; margin: 0; padding: 0;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: zoom-in;
  background: var(--bg-alt); border: 0;
  display: block; width: 100%;
}
.gal-item.is-tall { aspect-ratio: 3/4; }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 34px 16px 15px;
  background: linear-gradient(to top, rgba(8,14,18,.88), rgba(8,14,18,0));
  color: #fff; font-size: .87rem; font-weight: 600; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s, transform .28s;
}
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-cap small { display: block; font-weight: 500; opacity: .8; font-size: .8rem; }
.gal-item.is-hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,10,13,.96);
  display: none; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 48px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: 8px; object-fit: contain;
}
.lb-figure { margin: 0; text-align: center; max-width: 1100px; }
.lb-caption { color: rgba(255,255,255,.8); font-size: .92rem; margin-top: 14px; }
.lb-caption strong { color: #fff; display: block; font-size: 1.02rem; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: clamp(10px, 2.5vw, 30px); }
.lb-next { right: clamp(10px, 2.5vw, 30px); }
.lb-close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); transform: none; }
.lb-count {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(14px, 3vw, 26px);
  color: rgba(255,255,255,.55); font-size: .85rem; font-variant-numeric: tabular-nums;
}

/* ---------- preco my ---------- */

.reasons {
  display: grid; gap: clamp(24px, 3.4vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.reason-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.reason-ico svg { width: 27px; height: 27px; }
.reason h3 { margin-bottom: .35em; }
.reason p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- CTA pas ---------- */

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(72px, 9vw, 128px);
  color: #fff; text-align: center;
}
.cta-band img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(8,14,18,.84), rgba(8,14,18,.9));
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin: 0 auto 2em; color: rgba(255,255,255,.84); font-size: 1.08rem; }

/* ---------- kontakt ---------- */

.contact-grid {
  display: grid; gap: clamp(34px, 5vw, 62px);
  grid-template-columns: 1fr;
}
.contact-card {
  background: var(--ink); color: rgba(255,255,255,.8);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px);
}
.contact-card h3 { color: #fff; }
.contact-list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list svg { width: 21px; height: 21px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.contact-list a { color: #fff; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.contact-list small { display: block; color: var(--muted-2); font-size: .8rem; margin-bottom: 1px; }
.legal-box {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .85rem; color: var(--muted-2); line-height: 1.8;
}
.legal-box b { color: rgba(255,255,255,.72); font-weight: 600; }

/* formular */
.form-grid { display: grid; gap: 17px; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #D93838; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem;
  padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31,182,232,.15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D93838; }
.field-hint { font-size: .8rem; color: var(--muted); }
.field-error { font-size: .82rem; color: #C42B2B; min-height: 0; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .88rem; color: var(--muted); line-height: 1.55;
}
.consent input { width: 19px; height: 19px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--brand); }

/* honeypot - skryte pole na chytanie robotov */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: .84rem; color: var(--muted); }

.form-msg {
  padding: 16px 20px; border-radius: 10px;
  font-size: .95rem; display: none;
}
.form-msg.is-visible { display: block; }
.form-msg.is-ok { background: #E8F7EE; color: #14663A; border: 1px solid #B6E3C8; }
.form-msg.is-err { background: #FDEBEB; color: #A32020; border: 1px solid #F3C5C5; }

/* ---------- paticka ---------- */

.site-footer {
  background: #0A1014; color: var(--muted-2);
  padding-block: clamp(46px, 6vw, 72px) 30px;
  font-size: .92rem;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-footer img.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff; font-size: .84rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .85rem;
}

/* ---------- animacie pri scrollovani ---------- */

/* Obsah je viditelny ako vychodiskovy stav. Skryjeme ho az vtedy,
   ked JavaScript potvrdi, ze vie animacie aj spustit (trieda .js-anim).
   Bez toho by pri chybe skriptu zostala cela stranka prazdna. */
.js-anim .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- podstranky (pravne texty) ---------- */

.page-head {
  padding: 138px 0 clamp(38px, 5vw, 60px);
  background: var(--ink); color: rgba(255,255,255,.75);
}
.page-head h1 { color: #fff; margin-bottom: .2em; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.9em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Responzivita
   ========================================================================== */

@media (min-width: 700px) {
  .about-grid   { grid-template-columns: 1.05fr 1fr; }
  .complex-grid { grid-template-columns: 1fr 1.05fr; }
  .contact-grid { grid-template-columns: .92fr 1.08fr; }
  .footer-grid  { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-list a { font-size: .92rem; }
  .nav { gap: 14px; }
}

/* mobilne menu */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 96px 28px 32px;
    box-shadow: -10px 0 40px rgba(8,14,18,.2);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a, .site-header.is-stuck .nav-list a {
    color: var(--ink); font-size: 1.06rem; font-weight: 600;
    padding: 15px 0; display: block;
  }
  .nav-list a::after { display: none; }
  .lang, .site-header.is-stuck .lang { margin-top: 22px; }
  .lang a, .site-header.is-stuck .lang a { color: var(--muted); font-size: 1rem; padding: 8px 12px; }
  .lang a.is-active, .site-header.is-stuck .lang a.is-active { color: var(--ink); background: var(--brand-soft); }
  .lang span { color: var(--line); }
  .nav-cta { margin-top: 18px; width: 100%; }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(8,14,18,.45);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.nav-lock { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 88vh; padding-top: 128px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .about-badge { right: 12px; bottom: -18px; padding: 14px 18px; }
  .about-badge strong { font-size: 1.5rem; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .footer-bottom { justify-content: flex-start; }
}

@media print {
  .site-header, .nav-backdrop, .lightbox, .cta-band, .scroll-hint, .filters { display: none !important; }
  .hero { min-height: auto; color: #000; }
  body { font-size: 12pt; }
}
