:root {
  --green-900: #0a3a24;
  --green-800: #0f5132;
  --green-600: #1f8a4c;
  --green-400: #3fbf74;
  --green-200: #7ee2a8;
  --green-50: #eef8f2;
  --ink: #15201a;
  --muted: #5b6b62;
  --line: #e2ebe5;
  --bg: #ffffff;
  --bg-alt: #f5f9f6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 58, 36, .08);
  --shadow-lg: 0 24px 60px rgba(10, 58, 36, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-800); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }

/* ===== tlačidlá ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ===== hlavička ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--green-800); }
.logo__mark { height: 50px; width: auto; transform: rotate(-12deg); }
.logo__badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; flex: none; }
.logo__badge .logo__mark { height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; }
.logo__text small { font-size: .68rem; font-weight: 600; letter-spacing: .38em; color: var(--green-600); margin-top: 4px; }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: var(--green-200); }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green-600); transition: width .2s; }
.nav a:hover::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; font: inherit; font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; color: var(--muted); cursor: pointer;
}
.lang button.active { background: var(--green-800); color: #fff; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, rgba(10,58,36,.96) 0%, rgba(15,81,50,.88) 45%, rgba(15,81,50,.55) 100%),
              url("images/hero-dialnica-alpy.jpg") center/cover no-repeat,
              var(--green-800);
  padding: 90px 0 110px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__road { position: absolute; bottom: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(126,226,168,.16); color: var(--green-200); border: 1px solid rgba(126,226,168,.35); margin-bottom: 22px;
}
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.82); margin: 22px 0 32px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .95rem; color: rgba(255,255,255,.88); }
.hero__points li { padding-left: 26px; position: relative; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--green-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.9); aspect-ratio: 4 / 3; }
.hero__photo > img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-logo { position: absolute; left: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.hero__photo-logo img { height: 46px; width: auto; transform: rotate(-12deg); }
.hero__card {
  position: absolute; right: 0; top: -20px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: 250px;
}
.hero__card-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.hero__card-flags span { font-size: .7rem; font-weight: 800; padding: 3px 6px; border-radius: 5px; background: var(--green-50); color: var(--green-800); }
.hero .btn--primary { background: var(--green-400); color: var(--green-900); }
.hero .btn--primary:hover { background: var(--green-200); color: var(--green-900); }
.hero__card-text { font-weight: 700; font-size: .92rem; margin-top: 4px; color: var(--green-800); }

/* ===== sekcie ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, var(--green-900), var(--green-800)); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--green-600); margin-bottom: 12px; }
.eyebrow--light { color: var(--green-200); }

/* o nás */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about__person, .person-card { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.about__person strong, .person-card strong { display: block; font-size: 1.05rem; }
.about__person span, .person-card span { color: var(--muted); font-size: .92rem; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff; font-weight: 800;
}
.avatar--lg { width: 60px; height: 60px; font-size: 1.1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: .2s; }
.value:hover { transform: translateY(-3px); border-color: var(--green-200); }
.value__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-bottom: 14px; }
.value__icon svg { width: 24px; height: 24px; }
.value p { color: var(--muted); font-size: .94rem; margin-top: 6px; }

/* služby */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: .25s;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--green-600); transition: width .3s; }
.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service:hover::before { width: 100%; }
.service__num { font-size: 2.2rem; font-weight: 800; color: var(--green-200); line-height: 1; margin-bottom: 18px; }
.service p { color: var(--muted); margin-top: 10px; font-size: .96rem; }

/* kroky */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 8px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; left: 72px; right: -12px; border-top: 2px dashed var(--green-200);
}
.step__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  background: var(--green-50); color: var(--green-800); border: 2px solid var(--green-200); margin-bottom: 18px;
}
.step p { color: var(--muted); margin-top: 6px; font-size: .95rem; }

/* pokrytie */
.coverage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.coverage__text p { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-bottom: 28px; }
.countries { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.countries li {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: .92rem; font-weight: 500;
}
.countries li.home { background: rgba(126,226,168,.2); border-color: var(--green-200); }
.countries .flag { font-size: .72rem; font-weight: 800; min-width: 30px; text-align: center; padding: 3px 0; border-radius: 6px; background: rgba(126,226,168,.18); color: var(--green-200); }
.countries li.home .flag { background: var(--green-200); color: var(--green-900); }

/* galéria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.gl { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--green-50); cursor: zoom-in; }
.gl.wide { grid-column: span 2; }
.gl.tall { grid-row: span 2; }
.gl.big { grid-column: span 2; grid-row: span 2; }
.gl img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gl:hover img { transform: scale(1.06); }
.gl span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(transparent, rgba(10,58,36,.88)); opacity: .95;
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,20,13,.94); display: flex; align-items: center; justify-content: center; padding: 20px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 50px; height: 50px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* kancelária pri kontaktoch */
.office { margin-top: 22px; position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #222; }
.office__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.office figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(10,58,36,.92)); }
.office figcaption strong { display: block; font-size: 1.05rem; }
.office figcaption span { font-size: .9rem; opacity: .9; }

/* dopravcovia */
.carriers__box {
  background: linear-gradient(120deg, rgba(238,248,242,.97), rgba(255,255,255,.9)),
              url("images/kamiony-rad.jpg") center/cover;
  border: 1px solid var(--line);
  border-radius: 24px; padding: 56px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; text-align: center;
}
.carriers__box p { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.checklist { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin: 26px 0 32px; }
.checklist li { padding-left: 28px; position: relative; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.08rem; }
.contact__list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.contact__list svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list a, .contact__list span { font-weight: 600; color: var(--ink); word-break: break-word; }
.contact__list a:hover { color: var(--green-600); }

.form { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-alt); color: var(--ink); transition: .15s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(31,138,76,.12); }
.form input.invalid { border-color: #d9534f; }
.form__check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted) !important; }
.form__check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--green-600); }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; }
.form__note.ok { color: var(--green-600); font-weight: 600; }
.form__note.err { color: #c0392b; font-weight: 600; }

/* mapa */
.map { margin-top: 60px; display: grid; grid-template-columns: 1fr 2fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.map__info { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.map__info p { color: var(--muted); }
.map__frame { min-height: 360px; border: 0; width: 100%; height: 100%; display: block; }

/* whatsapp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: attr(data-label); position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink);
  font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover::after { opacity: 1; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; }
.contact__list .wa-ic { color: #25d366; }

/* päta */
.footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 70px 0 0; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer p { margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--green-200); }
.footer__claim { margin-top: 18px; max-width: 320px; }
.footer__or { font-size: .84rem; color: rgba(255,255,255,.6); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.services__terms { margin-top: 30px; text-align: center; color: var(--muted); }
.services__terms a { font-weight: 600; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 26px; font-size: .85rem; }

/* animácia pri scrollovaní */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== responzivita ===== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .header__cta { display: none; }
}
.nav a, .logo__text { white-space: nowrap; }
@media (max-width: 1360px) {
  .header__cta { display: none; }
  .nav { gap: 20px; }
  .nav a { font-size: .9rem; }
}
@media (max-width: 1180px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 560px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: .95rem; }
  .nav a::after { display: none; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 560px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero__inner, .about, .coverage, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { top: auto; bottom: -10px; right: 10px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .map { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 70px 0; }
  .services, .values, .form__row, .steps, .footer__grid { grid-template-columns: 1fr; }
  .countries { grid-template-columns: 1fr 1fr; }
  .carriers__box { padding: 36px 22px; }
  .form { padding: 24px 18px; }
  .logo__text strong { font-size: .98rem; }
  .lang button { padding: 5px 8px; }
  .hero__actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gl.wide, .gl.big { grid-column: span 2; }
  .gl span { font-size: .8rem; padding: 26px 10px 10px; }
  .lightbox { padding: 60px 10px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .map__info { padding: 24px 18px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
