/* =========================================================
   FARBY A PÍSMA: farby podľa loga RK Hydroizolácie
   ========================================================= */
:root {
  --navy: #0a1a5c;        /* tmavomodrá z loga */
  --deep: #071440;        /* najtmavšia (päta, sekcie) */
  --aqua: #03b3ec;        /* modré kvapky z loga */
  --aqua-dark: #0291c2;
  --ice: #eef6fb;         /* svetlé pozadie */
  --white: #ffffff;
  --ink: #0c1633;         /* text */
  --muted: #56627a;       /* vedľajší text */
  --line: #d8e3ee;
  --yellow: #f1c84b;      /* žltá fólia zo stavieb, len ako akcent */

  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-body: "Onest", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1.25rem, 4.5vw, 4rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --max: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.05rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
::selection { background: var(--aqua); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.h2 { margin: 0; font: 700 clamp(1.9rem, 4.2vw, 3.2rem)/1.1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; color: var(--navy); }
.head { max-width: var(--max); margin: 0 auto 3rem; }
.head__text { max-width: 38rem; margin: 1.1rem 0 0; color: var(--muted); }
.head--light .h2 { color: #fff; } .head--light .head__text { color: rgba(255,255,255,.72); }
section { padding: var(--section) var(--pad) 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; padding: 0 1.6rem; border: 0; border-radius: .7rem; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--aqua { background: var(--aqua); color: var(--deep); box-shadow: 0 10px 26px -12px rgba(3,179,236,.8); }
.btn--aqua:hover { background: #fff; }
.btn--glass { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- hlavička ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1.6rem; padding: .7rem var(--pad); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 500 1.05rem/1 var(--f-display); color: var(--navy); letter-spacing: -.01em; }
.nav__logo b { font-weight: 800; }
.nav__menu { display: flex; gap: 1.4rem; margin-left: auto; }
.nav__menu a { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .25s; }
.nav__menu a:hover { color: var(--navy); }
.nav__phone { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav__cta { min-height: 2.7rem; padding: 0 1.1rem; font-size: .92rem; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; }
.nav__toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; } .nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .nav__phone { display: none; } }
@media (max-width: 940px) {
  .nav { gap: .5rem; }
  .nav__toggle { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__menu { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: .5rem var(--pad) 1.4rem; background: #fff; border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility .45s; }
  .nav__menu.is-open { clip-path: inset(0); visibility: visible; }
  .nav__menu a { padding: .9rem 0; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .nav__logo span { display: none; } }

/* ---------- úvod ---------- */
.hero { position: relative; min-height: calc(100svh - 4rem); display: grid; align-items: center; padding: 5rem var(--pad) 8rem; color: #fff; overflow: hidden; isolation: isolate; background: var(--deep); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(7,20,64,.92) 0%, rgba(7,20,64,.78) 40%, rgba(7,20,64,.35) 75%, rgba(7,20,64,.25)); }
.hero__rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__content { max-width: 46rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; }
.chips span { padding: .35rem .75rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .82rem; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__title { margin: 0; font: 800 clamp(2.5rem, 6.4vw, 5.2rem)/1.02 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.hero__water { background: linear-gradient(90deg, #7fdcff, var(--aqua) 40%, #7fdcff 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__lead { max-width: 34rem; margin: 1.4rem 0 0; font-size: 1.15rem; color: rgba(255,255,255,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__hint { margin: 1.6rem 0 0; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (hover: none) { .hero__hint { display: none; } }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; } .hero__content > :nth-child(3) { animation-delay: .2s; } .hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.hero__wave .w1 { fill: rgba(3,179,236,.35); animation: wave 9s ease-in-out infinite alternate; }
.hero__wave .w2 { fill: #fff; animation: wave 7s ease-in-out infinite alternate-reverse; }
@keyframes wave { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

/* ---------- čísla ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: var(--max); margin: -1rem auto 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; position: relative; z-index: 2; }
.stats div { display: grid; gap: .2rem; padding: 1.5rem 1.4rem; background: #fff; }
.stats b { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--f-display); color: var(--navy); letter-spacing: -.02em; }
.stats span:not([data-count]) { color: var(--muted); font-size: .93rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; margin-inline: var(--pad); } }

/* ---------- služby ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: var(--max); margin: 0 auto; }
.svc__card { display: grid; grid-template-rows: auto 1fr; border-radius: 1.1rem; overflow: hidden; background: var(--ice); transition: transform .5s var(--ease), box-shadow .5s; }
.svc__card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10,26,92,.45); }
.svc__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__card:hover .svc__img img { transform: scale(1.05); }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,20,64,.45), transparent 50%); }
.svc__no { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; font: 800 1rem/1 var(--f-display); color: #fff; padding: .45rem .7rem; border-radius: .5rem; background: var(--aqua); }
.svc__body { padding: 1.5rem 1.6rem 1.7rem; }
.svc h3 { margin: 0; font: 700 1.45rem/1.15 var(--f-display); letter-spacing: -.02em; color: var(--navy); }
.svc p { margin: .7rem 0 1rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .25rem .65rem; border-radius: 999px; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 600; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* ---------- kritické detaily ---------- */
.details { margin-top: var(--section); padding-bottom: var(--section); background: var(--deep); color: #fff; }
.dx { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; max-width: var(--max); margin: 0 auto; align-items: stretch; }
.dx__scheme { position: relative; align-self: start; border-radius: 1.1rem; overflow: hidden; }
.dx__scheme svg { display: block; width: 100%; height: auto; }
.dx__drops line { animation: fall 1.6s linear infinite; }
.dx__drops line:nth-child(2n) { animation-delay: -.6s; } .dx__drops line:nth-child(3n) { animation-delay: -1.1s; }
@keyframes fall { from { transform: translateY(-20px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(140px); opacity: 0; } }
.hot { position: absolute; left: var(--x); top: var(--y); width: 2.2rem; height: 2.2rem; margin: -1.1rem 0 0 -1.1rem; border: 0; border-radius: 50%; background: var(--aqua); color: var(--deep); font: 800 .9rem/1 var(--f-display); box-shadow: 0 0 0 0 rgba(3,179,236,.7); animation: pulse 2s infinite; transition: transform .3s var(--ease), background .3s; }
.hot:hover, .hot.on { transform: scale(1.2); background: #fff; }
.hot.on { animation: none; box-shadow: 0 0 0 6px rgba(255,255,255,.25); }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(3,179,236,0); } 100% { box-shadow: 0 0 0 0 rgba(3,179,236,0); } }
.dx__panel { display: flex; flex-direction: column; padding: 1rem 1rem 1.4rem; border-radius: 1.1rem; background: #0e2266; }
.dx__panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7rem; transition: opacity .3s; }
.dx__panel.swap img, .dx__panel.swap h3, .dx__panel.swap p { opacity: 0; }
.dx__no { margin: 1rem .4rem 0; font-size: .8rem; font-weight: 600; color: var(--aqua); }
.dx__panel h3 { margin: .3rem .4rem 0; font: 700 1.5rem/1.15 var(--f-display); transition: opacity .3s; }
.dx__panel p:not(.dx__no) { margin: .6rem .4rem 0; color: rgba(255,255,255,.78); transition: opacity .3s; }
.dx__nav { display: flex; gap: .5rem; margin: auto .4rem 0; padding-top: 1.2rem; }
.dx__nav button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: none; color: #fff; font-size: 1.1rem; transition: background .3s; }
.dx__nav button:hover { background: rgba(255,255,255,.12); }
@media (max-width: 900px) { .dx { grid-template-columns: 1fr; } .hot { width: 1.9rem; height: 1.9rem; margin: -.95rem 0 0 -.95rem; font-size: .8rem; } }

/* ---------- iskrová skúška ---------- */
.spark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.spark__text > p { color: var(--muted); }
.spark__text .h2 { margin-bottom: 1.2rem; }
.spark__note { padding: .8rem 1rem; border-left: 3px solid var(--aqua); background: var(--ice); border-radius: 0 .5rem .5rem 0; font-size: .95rem; }
.spark__demo { border-radius: 1.1rem; background: linear-gradient(#0e2266, var(--deep)); padding: 1.2rem; }
.spark__demo svg { display: block; width: 100%; height: auto; }
.spark__probe { animation: probe 6s var(--ease) infinite; }
@keyframes probe { 0% { transform: translateX(60px); } 55%, 80% { transform: translateX(402px); } 100% { transform: translateX(560px); } }
.spark__bolt, .spark__flash, .spark__label { opacity: 0; }
.spark__bolt { animation: bolt 6s steps(1) infinite; }
.spark__flash { animation: flash 6s ease-out infinite; transform-origin: 402px 160px; }
.spark__label { animation: label 6s var(--ease) infinite; }
@keyframes bolt { 0%, 54% { opacity: 0; } 55% { opacity: 1; } 57% { opacity: 0; } 59% { opacity: 1; } 62% { opacity: .3; } 64%, 78% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes flash { 0%, 54% { opacity: 0; transform: scale(.3); } 56% { opacity: .55; transform: scale(1); } 70% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; } }
@keyframes label { 0%, 56% { opacity: 0; transform: translateY(8px); } 60%, 80% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; } }
.spark__status { margin: .6rem 0 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 860px) { .spark { grid-template-columns: 1fr; } }

/* ---------- materiály ---------- */
.mats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: var(--max); margin: 0 auto; }
.mat { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; transition: border-color .3s, transform .4s var(--ease); }
.mat:hover { border-color: var(--aqua); transform: translateY(-3px); }
.mat b { display: block; font: 800 1.6rem/1.1 var(--f-display); color: var(--navy); letter-spacing: -.02em; }
.mat span { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 600; color: var(--aqua-dark); }
.mat p { margin: .8rem 0 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .mats__grid { grid-template-columns: 1fr; } }

/* ---------- postup ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 1.1rem; height: 3px; border-radius: 3px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 1.1rem; top: 1.1rem; height: 3px; width: calc((100% - 2.2rem) * var(--fill, 0)); border-radius: 3px; background: linear-gradient(90deg, var(--aqua), #7fdcff); transition: width .2s linear; }
.steps li { position: relative; counter-increment: s; }
.steps__drop { position: relative; z-index: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 3px solid var(--line); transition: background .4s, border-color .4s; }
.steps__drop::after { content: counter(s); transform: rotate(45deg); font: 800 .85rem/1 var(--f-display); color: var(--muted); }
.steps li.lit .steps__drop { background: var(--aqua); border-color: var(--aqua); }
.steps li.lit .steps__drop::after { color: #fff; }
.steps h3 { margin: 1.1rem 0 0; font: 700 1.05rem/1.25 var(--f-display); color: var(--navy); letter-spacing: -.01em; }
.steps p { margin: .4rem 0 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 3.4rem; }
  .steps::before { left: 1.1rem; right: auto; top: .5rem; bottom: .5rem; width: 3px; height: auto; }
  .steps::after { left: 1.1rem; top: .5rem; width: 3px; height: calc((100% - 1rem) * var(--fill, 0)); }
  .steps__drop { position: absolute; left: -3.4rem; top: 0; }
  .steps h3 { margin-top: .2rem; }
}

/* ---------- realizácie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; max-width: var(--max); margin: -1.5rem auto 1.5rem; }
.filters button { min-height: 2.6rem; padding: 0 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .3s; }
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; max-width: var(--max); margin: 0 auto; }
.tile { position: relative; padding: 0; border: 0; border-radius: .7rem; overflow: hidden; background: var(--ice); aspect-ratio: 4 / 3; transition: opacity .4s, transform .4s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(3,179,236,.0); transition: background .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: rgba(3,179,236,.15); }
.tile.hide { display: none; }
.tile.more { display: none; }
.works__more { display: flex; justify-content: center; margin-top: 1.5rem; }
.works__more button { min-height: 3rem; padding: 0 1.4rem; border: 1.5px solid var(--navy); border-radius: .7rem; background: none; color: var(--navy); font-weight: 600; }
.works__more button:hover { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }

.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 3rem 4rem; background: rgba(5,12,40,.94); }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: .6rem; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__close { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; }
.lb__arrow { position: absolute; top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; }
.lb__prev { left: 1rem; } .lb__next { right: 1rem; }
.lb button:hover { background: var(--aqua); color: var(--deep); }
.lb__count { position: absolute; bottom: 1rem; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 600px) { .lb { padding: 3.5rem .5rem; } .lb__arrow { top: auto; bottom: .6rem; margin: 0; } }

/* ---------- o nás ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.about__media { position: relative; padding: 0 0 18% 0; }
.about__a { width: 78%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 1.1rem; }
.about__b { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 1.1rem; border: 6px solid #fff; box-shadow: 0 25px 50px -25px rgba(10,26,92,.5); }
.about__text > p { color: var(--muted); }
.about__text .h2 { margin-bottom: 1.2rem; }
.about blockquote { margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-radius: 1rem; background: var(--navy); color: #fff; font: 600 1.15rem/1.4 var(--f-display); letter-spacing: -.01em; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 30rem; } }

/* ---------- otázky ---------- */
.faq__list { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq .head { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 4.2rem; padding: .8rem 3rem .8rem 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 1.8rem; height: 1.8rem; margin-top: -.9rem; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230a1a5c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--aqua); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding-bottom: var(--section); }
.contact__info > p { color: var(--muted); }
.contact__info .h2 { margin-bottom: 1rem; }
.contact__phone { display: inline-block; margin: 1rem 0 0; font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--f-display); color: var(--aqua-dark); text-decoration: none; letter-spacing: -.02em; }
.contact__phone:hover { color: var(--navy); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; margin: 2rem 0 0; }
.contact dt { font-size: .82rem; font-weight: 600; color: var(--muted); padding-top: .15rem; }
.contact dd { margin: 0; font-weight: 500; }
.social { display: flex; gap: .6rem; margin-top: 1.6rem !important; }
.social a { padding: .5rem 1rem; border-radius: 999px; background: var(--ice); color: var(--navy) !important; font-weight: 600; font-size: .9rem; text-decoration: none; }
.social a:hover { background: var(--aqua); color: var(--deep) !important; }
.form { display: grid; gap: 1rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.2rem; background: var(--ice); }
.form__title { margin: 0; font: 700 1.3rem/1.2 var(--f-display); color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: .6rem; background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(3,179,236,.2); }
.form .invalid { border-color: #e0483e !important; }
.form__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; border: 0; }
.form__chips legend { width: 100%; margin-bottom: .45rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.form__chips label { display: block; position: relative; }
.form__chips input { position: absolute; opacity: 0; }
.form__chips span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .25s; }
.form__chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.form__chips input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; min-height: 1.5em; color: var(--navy); font-weight: 500; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- päta ---------- */
.footer { padding: 3rem var(--pad) 2rem; background: var(--deep); color: rgba(255,255,255,.7); font-size: .92rem; }
.footer__top, .footer__row { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer .nav__logo { color: #fff; }
.footer__row { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer p { margin: 0; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--aqua); }

/* ---------- tlačidlo volať (mobil) ---------- */
.callfab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: none; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--aqua); color: var(--deep); box-shadow: 0 10px 30px -6px rgba(3,179,236,.7); }
.callfab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: ring 2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 820px) { .callfab { display: grid; } }

/* objavovanie */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .spark__bolt, .spark__flash, .spark__label { opacity: 1; }
  .spark__probe { transform: translateX(402px); }
}
