:root {
  --ink: #16211f;
  --muted: #61706b;
  --paper: #f4f1e8;
  --surface: #fffdf7;
  --accent: #d7ff5b;
  --accent-dark: #8fae20;
  --line: #cfd6cf;
  --dark: #14201e;
  --radius: 26px;
  --shadow: 0 20px 60px rgba(20, 32, 30, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(215,255,91,.20), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
.main-page,.main { width: 100%; }
.main-page { overflow: hidden; }
section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0; }
img { display:block; width:100%; height:auto; border:0; }
a { color: inherit; text-decoration: none; }
p,li { margin:0; color:var(--muted); font-weight:440; }
ul { padding-left: 1.2rem; }
h1,h2,h3,h4 { margin:0; line-height:1.05; color:var(--ink); }
h1 { max-width: 760px; font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing:-.065em; font-weight:800; }
h2 { max-width: 820px; font-size: clamp(2rem,4vw,4.2rem); letter-spacing:-.045em; font-weight:760; }
h3 { font-size:1.35rem; }
h4 { font-size:1.05rem; }

.banner {
  position: relative;
  width: 100%; max-width:none; height:min(820px,92vh); min-height:650px;
  margin:0; padding:0;
  background: linear-gradient(90deg, rgba(14,25,23,.92) 0%, rgba(14,25,23,.72) 44%, rgba(14,25,23,.14) 100%), url("../img/banner.webp") center/cover no-repeat;
  overflow:hidden;
}
.banner::after { content:"OBJAV / VYBER / PREJDI"; position:absolute; right:-2vw; bottom:-.15em; color:rgba(255,255,255,.10); font-size:clamp(4rem,11vw,10rem); font-weight:900; letter-spacing:-.07em; white-space:nowrap; pointer-events:none; }
.banner_page { height:500px !important; min-height:500px; }
.banner-items { width:min(1180px,calc(100% - 48px)); height:100%; margin:0 auto; display:flex; align-items:center; }
.banner-text { max-width:800px; padding-top:76px; display:grid; gap:24px; color:white; position:relative; z-index:2; }
.banner-text::before { content:"NEZÁVISLÁ ONLINE PLATFORMA"; width:max-content; padding:8px 12px; border:1px solid rgba(255,255,255,.45); border-radius:999px; font-size:.72rem; font-weight:800; letter-spacing:.16em; }
.banner-text h1 { color:white; }
.banner-text p { max-width:680px; color:rgba(255,255,255,.82); font-size:clamp(1rem,2vw,1.18rem); }

section:not(.banner) > h2 + br + p { max-width:800px; margin-top:24px; }
.gallery_1 { margin-top:42px; display:grid; grid-template-columns: .86fr 1.14fr; gap:18px; }
.gallery_1part { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.gallery_1part .gallery_item:first-child { grid-column:1 / -1; }
.gallery_item { position:relative; overflow:hidden; min-height:250px; border-radius:var(--radius); background:#d8ddd6; box-shadow:var(--shadow); isolation:isolate; }
.gallery_item::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(12,20,18,.72)); pointer-events:none; }
.gallery_item img { width:100%; height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.8,.2,1); }
.gallery_item:hover img { transform:scale(1.045); }
.gallery_item a { position:absolute; inset:0; z-index:2; display:flex; align-items:flex-end; padding:24px; }
.gallery_item h3 { color:white; font-size:clamp(1.25rem,2vw,1.8rem); letter-spacing:-.025em; }
.gallery_1 > .gallery_item { min-height:630px; }
.gallery_1part .gallery_item { min-height:300px; }
.gallery_2 { display:grid; grid-template-columns:1.2fr .8fr 1fr; gap:18px; }
.gallery_2 .gallery_item { min-height:340px; }

.features { width:100%; max-width:none; padding:92px max(24px, calc((100% - 1180px)/2)); background:var(--dark); }
.features-items { display:grid; grid-template-columns:.82fr 1.18fr; gap:70px; align-items:start; }
.features-text { display:grid; gap:24px; position:sticky; top:120px; }
.features-text h2,.features-text p { color:white; }
.features-text p { color:#b9c6c1; }
.features_list { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.features-item { min-height:265px; padding:28px; border-radius:22px; background:#1c2b28; border:1px solid rgba(255,255,255,.10); display:flex; flex-direction:column; gap:16px; justify-content:flex-start; }
.features-item img { width:42px; height:42px; object-fit:contain; filter:brightness(0) invert(1); opacity:.9; }
.features-item b { color:white; font-size:1.08rem; line-height:1.3; }
.features-item p { color:#b7c4c0; font-size:.94rem; }

.info-items { display:grid; gap:40px; }
.info-text { display:grid; gap:22px; padding:clamp(28px,5vw,64px); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 40px rgba(20,32,30,.06); }
.info-text h2 { font-size:clamp(2rem,4vw,3.2rem); }
.info-text h3 { margin-top:18px; padding-top:24px; border-top:1px solid var(--line); }
.info-text h4 { margin-top:10px; }
.info-text h4 a { display:inline-flex; padding:9px 14px; border-radius:999px; background:var(--accent); color:var(--ink) !important; transition:transform .2s ease; }
.info-text h4 a:hover { transform:translateX(4px); }
.about-highlights { max-width:900px; }
.info-text li { margin:.5rem 0; }
.infomain { grid-template-columns:1fr 1fr; align-items:start; }
.infomain .info-text { height:100%; }

footer { width:100%; margin-top:70px; padding:58px 24px 36px; background:#0f1816; color:white; }
.contacts-items { width:min(1180px,100%); margin:0 auto; display:grid; grid-template-columns:1fr auto; gap:28px 50px; align-items:end; }
.contacts-items h2 { color:white; font-size:clamp(1.7rem,3vw,2.7rem); letter-spacing:-.04em; }
.policy { display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:flex-end; }
.policy a { color:#d8e0dd; padding:0 !important; border-bottom:1px solid transparent; }
.policy a:hover { border-color:var(--accent); color:white; }
.legal-note { grid-column:1/-1; padding-top:24px; border-top:1px solid rgba(255,255,255,.14); color:#8fa09a; font-size:.87rem; }

@media (max-width: 900px) {
  section { width:min(100% - 36px, 760px); padding:64px 0; }
  .banner-items { width:calc(100% - 36px); }
  .gallery_1,.features-items,.infomain { grid-template-columns:1fr; }
  .gallery_1part { grid-template-columns:1fr 1fr; }
  .gallery_1 > .gallery_item { min-height:460px; }
  .features { padding:70px 18px; }
  .features-text { position:static; }
  .gallery_2 { grid-template-columns:1fr 1fr; }
  .gallery_2 .gallery_item:last-child { grid-column:1/-1; }
}
@media (max-width: 620px) {
  h1 { font-size:clamp(2.8rem,15vw,4.8rem); }
  .banner { min-height:620px; height:84vh; }
  .banner_page { min-height:430px; height:430px !important; }
  .banner-text { padding-top:70px; }
  .gallery_1part,.gallery_2,.features_list { grid-template-columns:1fr; }
  .gallery_2 .gallery_item:last-child { grid-column:auto; }
  .gallery_1 > .gallery_item,.gallery_1part .gallery_item,.gallery_2 .gallery_item { min-height:340px; }
  .contacts-items { grid-template-columns:1fr; align-items:start; }
  .policy { justify-content:flex-start; }
}


h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.banner::after {
  left: max(24px, calc((100% - 1180px) / 2));
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 24px;
  width: auto;
  max-width: none;
  font-size: clamp(3.8rem, 6.4vw, 7rem);
  line-height: .84;
  letter-spacing: -.055em;
  text-align: right;
  white-space: nowrap;
}

.banner-text {
  width: min(100%, 800px);
  min-width: 0;
}

.banner-text::before {
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

.banner-text h1,
.banner-text p {
  min-width: 0;
  max-width: 100%;
}

.banner_page .banner-text {
  width: min(100%, 940px);
  max-width: 940px;
}

.banner_page .banner-text h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: .98;
}

.info-text,
.features-item,
.gallery_item,
.contacts-items {
  min-width: 0;
}

.info-text h2,
.features-item b,
.gallery_item h3,
.legal-note,
.policy a {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.info-text a,
.legal-note {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .banner::after {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: clamp(3rem, 7.8vw, 4.8rem);
    letter-spacing: -.045em;
  }

  .banner_page .banner-text h1 {
    font-size: clamp(2.6rem, 7.5vw, 4.5rem);
  }

  .features-item {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .banner {
    min-height: 640px;
  }

  .banner::after {
    left: auto;
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    max-width: 440px;
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    line-height: .86;
    white-space: normal;
    text-align: right;
  }

  .banner_page {
    height: auto !important;
    min-height: 500px;
  }

  .banner_page .banner-items {
    height: auto;
    min-height: 500px;
  }

  .banner_page .banner-text {
    padding-top: 118px;
    padding-bottom: 88px;
  }

  .banner_page .banner-text h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.7rem);
    line-height: 1;
    letter-spacing: -.045em;
  }

  .banner-text::before {
    font-size: .64rem;
    letter-spacing: .12em;
  }

  .legal-note {
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .banner::after {
    font-size: 2.2rem;
  }

  .banner_page .banner-text h1 {
    font-size: 2.15rem;
  }

  .banner-text::before {
    font-size: .58rem;
    letter-spacing: .09em;
  }
}

a:hover {
  text-decoration: none;
}

.gallery_item a,
.gallery_item a:hover,
.gallery_item a:focus,
.gallery_item a:active {
  color: inherit;
  text-decoration: none;
}

.gallery_item a:hover h3,
.gallery_item a:focus h3,
.gallery_item a:active h3 {
  color: #fff;
  text-decoration: none;
}

.navbar a:hover,
.navbar a:focus,
.dropdown-content a:hover,
.dropdown-content a:focus,
.info-text a:hover,
.info-text a:focus,
.policy a:hover,
.policy a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery_item a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
  border-radius: var(--radius);
}




.features {
  width: 100%;
  max-width: none;
  padding: 92px max(24px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 10% 15%, rgba(215,255,91,.055), transparent 30rem),
    #111d1a;
}

.features-items {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.45fr);
  gap: 54px;
  align-items: start;
}

.features-text {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
  padding: 18px 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.features-text h2 {
  max-width: 430px;
  color: #fff;
  font-size: clamp(2.35rem, 3.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.features-text p {
  max-width: 440px;
  color: #b9c6c1;
  font-size: .98rem;
  line-height: 1.72;
}

.features_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.features-item {
  position: relative;
  min-height: 275px;
  padding: 27px;
  border-radius: 22px;
  background: #1a2926;
  border: 1px solid rgba(255,255,255,.105);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
  transform: none !important;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.features-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 27px;
  width: 42px;
  height: 2px;
  background: var(--accent);
  opacity: .75;
  transform: none;
}

.features-item::after {
  display: none;
}

.features-item:hover {
  transform: translateY(-3px) !important;
  background: #1d2d29;
  border-color: rgba(215,255,91,.2);
  box-shadow: none;
}

.features-item img {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-top: 3px;
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .82;
}

.features-item b {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.32;
  font-weight: 720;
  letter-spacing: -.015em;
  hyphens: none;
  word-break: normal;
}

.features-item p {
  color: #b7c4c0;
  font-size: .93rem;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .features-items {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .features-text {
    position: static;
    max-width: 720px;
    padding: 0;
  }

  .features-text h2 {
    max-width: 620px;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
  }

  .features-text p {
    max-width: 680px;
  }
}

@media (max-width: 700px) {
  .features {
    padding: 68px 18px;
  }

  .features-items {
    gap: 30px;
  }

  .features-text h2 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .features_list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .features-item {
    min-height: 0;
    padding: 23px 21px;
    border-radius: 19px;
  }

  .features-item::before {
    left: 21px;
  }
}


