/* IGI STAV – ukážka redizajnu 2026 */

:root {
  --bg: #f5f6f2;
  --surface: #ffffff;
  --sand: #eceee6;
  --ink: #2b2b2c;
  --ink-soft: #3e3e3f;
  --muted: #63666a;
  --line: #dfe2d9;
  --graphite: #3e3e3f;
  --graphite-2: #4a4a4c;
  --accent: #93c94e;
  --accent-dark: #4a7a1c;
  --accent-soft: #edf5e1;
  --on-accent: #1f2a12;

  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(31, 35, 40, .06), 0 2px 8px rgba(31, 35, 40, .05);
  --shadow: 0 2px 6px rgba(31, 35, 40, .05), 0 12px 32px rgba(31, 35, 40, .09);
  --shadow-lg: 0 24px 60px rgba(31, 35, 40, .18);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 10vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--graphite); color: #f0f1ed; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Demo pás */
.demo-bar {
  background: var(--accent-soft); color: #3c5a17;
  font-size: .85rem; line-height: 1.4; text-align: center;
  padding: 8px var(--gutter); border-bottom: 1px solid #d6e9bd;
}
.demo-bar strong { font-weight: 600; }

/* Tlačidlá */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--on-accent);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
  box-shadow: 0 6px 18px rgba(110, 160, 50, .28);
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hlavička */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31,35,40,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 48px; width: auto; }
@media (max-width: 520px) { .logo img { height: 42px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  padding: 10px 14px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sand); }
.nav .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; color: var(--on-accent); background: var(--accent); }
.nav .btn:hover { background: var(--graphite); color: #fff; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger::before { top: 15px; } .burger span { top: 22px; } .burger::after { top: 29px; }
.nav-open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  /* backdrop-filter by z hlavičky urobil kontajner pre fixed menu */
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 96px var(--gutter) 40px; background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { font: 700 1.9rem/1.1 var(--font-head); padding: 14px 8px; border-radius: 12px; color: var(--ink); }
  .nav .btn { margin: 20px 0 0; font: 600 1.05rem/1 var(--font-body); min-height: 56px; }
  .nav-open { overflow: hidden; }
}

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__text, .hero__media { animation: fade-up .9s var(--ease) both; }
.hero__media { animation-delay: .12s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: #5f9a26; }
.hero .lead { margin-bottom: 2rem; }
.hero__media { position: relative; }
.slider {
  aspect-ratio: 4 / 4.2; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.slider .slide { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: inherit; opacity: 0; transition: opacity 1.2s var(--ease); }
.slider .slide.is-active { opacity: 1; z-index: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slider .slide:first-child img { object-position: 62% 50%; }
.slider .slide.is-active img { transform: scale(1); }
.slider__dots { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: flex; gap: 6px; }
.slider__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .6); transition: width .4s var(--ease), background-color .3s;
}
.slider__dots button[aria-current="true"] { width: 28px; background: #fff; }
.hero__badge { z-index: 3; }
.hero__badge {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 280px;
  font-size: .92rem; line-height: 1.35;
}
.hero__badge b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.hero__badge .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.hero__badge .ico svg { width: 22px; height: 22px; }
.hero__points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .slider { aspect-ratio: 16 / 11; }
  .slider__dots { right: 12px; bottom: auto; top: 14px; }  .hero__badge { left: 12px; bottom: 12px; padding: 10px 14px; }
}

/* Predstavenie */
.intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.intro__text p { color: var(--ink-soft); }
.intro__text .lead { color: var(--ink); font-weight: 500; }
.intro__sign { margin-top: 1.6rem; font: 600 1.05rem/1.3 var(--font-head); }
.intro__sign small { display: block; font: 400 .9rem var(--font-body); color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value {
  background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.value .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 16px; }
.value .ico svg { width: 24px; height: 24px; }
.value h3 { margin-bottom: .35em; }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Dlaždice kategórií */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.4; text-decoration: none; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,25,0) 35%, rgba(20,22,25,.82) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.tile__count { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 999px; margin-bottom: 12px; }
.tile h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-bottom: .3em; }
.tile p { margin: 0; font-size: .95rem; opacity: .86; max-width: 34ch; }
.tile__arrow {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center;
  transform: scale(.85) rotate(-45deg); opacity: .92; transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.tile__arrow svg { width: 20px; height: 20px; }
.tile:hover img { transform: scale(1.06); }
.tile:hover .tile__arrow { transform: scale(1) rotate(0); background: var(--accent); color: var(--on-accent); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 12; } }

/* Výhody */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit { background: var(--graphite-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px 24px; }
.benefit .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(147,201,78,.16); color: #a9d872; display: grid; place-items: center; margin-bottom: 20px; }
.benefit .ico svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.15rem; color: #fff; }
.benefit p { margin: 0; color: #c3c5bf; font-size: .95rem; }
.section--dark .lead { color: #d3d5cf; }
.section--dark .section-head p { color: #c3c5bf; }
@media (max-width: 1100px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .benefits { grid-template-columns: 1fr; } }

/* Galéria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3; background: var(--sand); cursor: zoom-in;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery a::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px;
  color: #fff; font-size: .82rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: none; }
.gallery--home a:nth-child(1), .gallery--home a:nth-child(8) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery a[hidden] { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery--home a:nth-child(8) { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; } }
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery a::after { display: none; }
}

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font: 500 .95rem/1 var(--font-body); padding: 12px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { opacity: .6; margin-left: 4px; font-size: .85em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(16, 18, 21, .94); padding: 64px 16px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img {
  max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: opacity .25s;
}
.lightbox img.is-loading { opacity: .2; }
.lightbox figcaption { color: #e8e3da; font-size: .95rem; text-align: center; }
.lightbox figcaption span { color: #8f8a82; margin-left: 10px; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* Služby */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.page-hero h1 { max-width: 16ch; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.cat-nav a { text-decoration: none; }
.cat-nav .chip { display: inline-block; }
.cat { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.cat__head { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end; margin-bottom: 32px; }
.cat__head h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cat__head p { margin: .5em 0 0; color: var(--muted); }
.cat__num { font: 700 .85rem/1 var(--font-body); color: var(--accent-dark); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__photos {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20,22,25,.72); color: #fff; font: 500 .8rem/1 var(--font-body); padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.card__photos svg { width: 15px; height: 15px; }
.card__body { padding: 22px 22px 24px; flex: 1; }
.card__body h3 { margin-bottom: .4em; font-size: 1.22rem; }
.card__body p { margin: 0; color: var(--muted); font-size: .96rem; }
.placeholder {
  display: grid; place-items: center; text-align: center; gap: 6px; height: 100%; padding: 20px;
  background: repeating-linear-gradient(-45deg, var(--sand), var(--sand) 12px, #e3e6dc 12px, #e3e6dc 24px);
  color: #6f7566; font-size: .9rem; font-weight: 500;
}
.placeholder svg { width: 34px; height: 34px; margin: 0 auto; }
.note {
  display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border: 1px dashed #b9d98f; color: #3c5a17;
  border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; line-height: 1.5;
}
.note svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.note p { margin: 0; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .cat__head { grid-template-columns: 1fr; } }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.extra .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.extra .ico svg { width: 23px; height: 23px; }
.extra h3 { font-size: 1.1rem; margin-bottom: .3em; }
.extra p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }

/* Referencie – placeholder */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref {
  border: 2px dashed #cdd3c2; border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.5);
  color: #6f7566; font-size: .95rem; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between;
}
.ref__tag { font: 600 .75rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.ref__lines span { display: block; height: 10px; border-radius: 6px; background: #e1e5d9; margin-top: 10px; }
.ref__lines span:nth-child(2) { width: 85%; } .ref__lines span:nth-child(3) { width: 60%; }
@media (max-width: 900px) { .refs { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--accent); color: var(--on-accent); padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta .btn--light { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.cta .btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn--outline-light { color: var(--on-accent); border-color: rgba(31,42,18,.45); }
.cta .btn--outline-light:hover { background: var(--on-accent); color: #fff; border-color: var(--on-accent); }
.cta::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.09); box-shadow: 0 0 0 70px rgba(255,255,255,.05);
}
.cta h2 { margin-bottom: .3em; position: relative; }
.cta p { margin: 0; opacity: .92; font-size: 1.1rem; max-width: 52ch; position: relative; }
.cta .btn-row { position: relative; flex-direction: column; }
.cta__phone { font: 700 clamp(1.5rem, 3vw, 2rem)/1 var(--font-head); color: var(--on-accent); text-decoration: none; display: block; margin-bottom: 14px; letter-spacing: -.01em; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { flex-direction: row; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  text-decoration: none; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .ico svg { width: 26px; height: 26px; }
.contact-card small { color: var(--muted); font-size: .9rem; }
.contact-card strong { font: 700 1.35rem/1.2 var(--font-head); word-break: break-word; }
.contact-card span { color: var(--accent-dark); font-weight: 600; font-size: .95rem; margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.fact h3 { font-size: 1.1rem; }
.fact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 500; }
.fact ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.fact .ph { color: #6b7f3d; font-style: italic; font-weight: 400; }
@media (max-width: 900px) { .contact-grid, .facts { grid-template-columns: 1fr; } }

/* Pätička */
.footer { background: #2f2f30; color: #c8c9c4; padding-block: 64px 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer .logo img { height: 58px; }
.footer h4 { font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8e9089; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #ececea; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #8e9089; font-size: .88rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobilné tlačidlo Zavolať */
.call-fab { display: none; }
@media (max-width: 900px) {
  .call-fab {
    display: flex; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 56px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none;
    align-items: center; justify-content: center; gap: 10px; font: 600 1.05rem/1 var(--font-body);
    box-shadow: 0 10px 30px rgba(62, 62, 63, .35);
  }
  .call-fab svg { width: 22px; height: 22px; }
  .footer { padding-bottom: 104px; }
}

/* Animácie pri scrollovaní */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Vodoznak ukážky – nad celým obsahom, neblokuje klikanie */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2147483647; pointer-events: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22340%22%3E%3Ctext%20x%3D%22280%22%20y%3D%22170%22%20text-anchor%3D%22middle%22%20dominant-baseline%3D%22middle%22%20transform%3D%22rotate%28-25%20280%20170%29%22%20font-family%3D%22Arial%2CHelvetica%2Csans-serif%22%20font-size%3D%2222%22%20font-weight%3D%22700%22%20letter-spacing%3D%221%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.1%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.3%22%20stroke-width%3D%221.2%22%3EToto%20je%20uk%C3%A1%C5%BEka%20n%C3%A1vrhu%20nov%C3%A9ho%20webu%3C%2Ftext%3E%3C%2Fsvg%3E") repeat;
}
@media print { body::after { position: absolute; } }
