:root {
  --navy: #0B1A30;
  --navy-2: #12264A;
  --blue: #1E6FC1;
  --blue-2: #2B9BE3;
  --blue-soft: #E8F3FD;
  --ink: #1B2433;
  --muted: #5B6677;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 26, 48, .06), 0 8px 24px rgba(11, 26, 48, .06);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 6vw, 72px) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #185DA4; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.nav .btn { margin-left: 12px; padding: 10px 20px; color: #fff; }
.nav .btn:hover { background: #185DA4; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 10px 0 0; }
}

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
  min-height: clamp(480px, 42vw, 580px); display: flex; align-items: center; padding: 56px 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-text { max-width: 520px; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.hero h1 span { display: block; color: var(--blue-2); }
.hero .lead { color: #C3CEDD; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* photo slider on the right half, fading into the navy background */
.hero-slider { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; overflow: hidden; }
.hero-slider::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 26, 48, .7) 18%, rgba(11, 26, 48, 0) 48%),
              linear-gradient(0deg, rgba(11, 26, 48, .55) 0%, rgba(11, 26, 48, 0) 30%);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide figcaption {
  position: absolute; z-index: 2; left: 30%; right: 32px; bottom: 34px; color: #fff; font-weight: 600; font-size: 1.15rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(8px); transition: opacity .6s ease .4s, transform .6s ease .4s;
}
.slide.is-active figcaption { opacity: 1; transform: none; }
.slide figcaption b { color: #7CC4F2; }

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; padding: 40px 0 0; min-height: 0; }
  .hero .container { order: 1; }
  .hero-slider { position: relative; order: 2; width: 100%; height: 280px; margin-top: 32px; }
  .hero-slider::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(11, 26, 48, 0) 35%), linear-gradient(0deg, rgba(11, 26, 48, .6) 0%, rgba(11, 26, 48, 0) 40%); }
  .slide figcaption { left: 20px; right: 20px; bottom: 18px; font-size: .95rem; }
}

/* plan picker */
.section.picker { padding: clamp(40px, 5vw, 56px) 0; }
.picker .split { align-items: stretch; gap: 40px; }
.picker-text { display: flex; flex-direction: column; }
.picker-text h2 { margin-bottom: .35em; }
.picker-photo { flex: 1; width: 100%; min-height: 220px; height: 0; object-fit: cover; object-position: 72% 35%; border-radius: 24px; margin-top: 20px; }
.usage { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 24px 60px rgba(11, 26, 48, .1); }
.usage-title { font-size: 1.35rem; margin: 0 0 18px; }
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.use {
  display: flex; align-items: center; gap: 10px; text-align: left;
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--ink);
  background: var(--bg-alt); border: 1.5px solid transparent; border-radius: 12px;
  padding: 11px 12px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.use:hover { border-color: var(--line); }
.use:active { transform: scale(.98); }
.use svg { width: 22px; height: 22px; flex: none; color: var(--muted); transition: color .2s; }
.use[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--navy); }
.use[aria-pressed="true"] svg { color: var(--blue); }
.usage-result { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.meter { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #FFD600, #FF8A00 55%, #FF2D2D); background-size: 380px 100%; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.usage-pick { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.usage-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.usage-pick strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.usage-speed { color: var(--muted); font-size: .9rem; }
.usage-speed b { color: var(--ink); }
.usage-pick strong.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--blue); } }
@media (max-width: 420px) { .usage-grid { grid-template-columns: 1fr; } .usage { padding: 22px; } }
@media (max-width: 860px) { .picker-photo { flex: none; height: auto; aspect-ratio: 16 / 9; } }

/* pricing */
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 32px 0 40px; }
.tabs button { border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; text-align: left; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 20px 48px rgba(30, 111, 193, .15); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.price { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 30px; }
.plan li svg { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; color: var(--blue); }
.plan .btn { width: 100%; }
.plan-panel[hidden] { display: none; }
.note { color: var(--muted); font-size: .9rem; margin-top: 28px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* coverage */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coverage-list { display: grid; margin-top: 12px; }
.coverage-item { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.coverage-item:last-child { border-bottom: 0; }
.coverage-item .dot { width: 12px; height: 12px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 5px rgba(34, 197, 94, .15); flex: none; }
.coverage-item strong { display: block; }
.coverage-item span { color: var(--muted); font-size: .9rem; }
.map { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); box-shadow: 0 24px 60px rgba(11, 26, 48, .1); }
#pokrytie { padding: clamp(40px, 5vw, 56px) 0; }
#pokrytie .split { align-items: stretch; gap: 40px; }
#pokrytie .map { aspect-ratio: auto; min-height: 280px; }
#pokrytie h2 { margin-bottom: .35em; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* page header */
.page-head { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 40px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(43, 155, 227, .3), transparent 70%); }
.page-head .container { position: relative; }
.page-head .lead { color: #B9C6D8; margin: 0; max-width: 820px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .3em; }
.crumbs { font-size: .85rem; color: #B9C6D8; margin-bottom: 8px; }
.crumbs a { color: #B9C6D8; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 600; text-decoration: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 193, .12); }
.field .error { color: #C62828; font-size: .85rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #C62828; }
.field.invalid .error { display: block; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--muted); margin: 4px 0 0; }
.field .check input { width: auto; flex: none; margin-top: 4px; padding: 0; }
.form-ok { display: none; background: #ECFDF3; color: #166534; border-radius: 10px; padding: 14px 16px; margin-top: 16px; }
.form-ok.show { display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* prose & faq */
.prose { max-width: 760px; }
.prose p, .prose li { color: #3B4656; font-size: 1.05rem; }
.info-box { background: var(--blue-soft); border-radius: var(--radius); padding: 24px 28px; margin: 24px 0; }
.info-box dt { font-weight: 700; margin-top: 12px; }
.info-box dt:first-child { margin-top: 0; }
.info-box dd { margin: 4px 0 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.doc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }

/* footer */
.footer { background: var(--navy); color: #B9C6D8; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer img { height: 36px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .95rem; margin: 6px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #B9C6D8; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* why us */
.section.why { padding: clamp(40px, 5vw, 56px) 0; }
.why-head { text-align: center; margin-bottom: 32px; }
.why-head h2 { margin: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { padding: 4px 40px; display: flex; flex-direction: column; }
.tile + .tile { border-left: 1px solid var(--line); }
.tile:first-child { padding-left: 0; }
.tile:last-child { padding-right: 0; }
.tile h3 { font-size: 1.3rem; margin: 8px 0 0; }
.tile p { color: var(--muted); margin: 8px 0 0; }
.tile-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.tile .big { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; margin-top: 8px; color: var(--navy); }

.track { list-style: none; padding: 0; margin: 14px 0 0; position: relative; display: grid; gap: 8px; }
.track::before, .track::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.track::after { background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 1.2s ease .3s; }
.tile-install.in .track::after { transform: scaleY(1); }
.track li { position: relative; padding-left: 30px; color: var(--muted); }
.track .node { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); z-index: 1; }
.track li:last-child { color: var(--ink); font-weight: 600; }
.track li:last-child .node { background: var(--blue); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
  .tile, .tile:first-child, .tile:last-child { padding: 0; }
  .tile + .tile { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .track::after { transition: none; }
  .slide img { transform: none; transition: none; }
  }
