:root{--green:#5e8f1d;--green-dark:#31530d;--gold:#d9a51a;--ink:#20231f;--muted:#61675f;--line:#d9ded4;--paper:#fff;--shadow:0 20px 55px rgba(23,36,18,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#eaf5df;line-height:1.65}a{color:var(--green-dark)}img{max-width:100%;display:block}.site-header{position:sticky;top:0;z-index:20;min-height:76px;display:flex;align-items:center;gap:28px;padding:12px clamp(18px,4vw,70px);background:rgba(255,255,255,.95);border-bottom:1px solid rgba(49,83,13,.15);backdrop-filter:blur(12px)}.brand img{width:174px;height:auto}.site-nav{margin-left:auto;display:flex;align-items:center;gap:clamp(12px,1.7vw,28px);font-weight:700;font-size:14px}.site-nav a{color:#26301f;text-decoration:none;white-space:nowrap}.site-nav a:hover{color:var(--green)}.nav-toggle{display:none;margin-left:auto;width:42px;height:42px;border:0;background:transparent;cursor:pointer}.nav-toggle span{display:block;width:26px;height:2px;margin:6px auto;background:var(--ink)}.section{padding:clamp(56px,7vw,96px) 0}.container{width:min(1120px,calc(100% - 40px));margin:0 auto}.container.wide{width:min(1280px,calc(100% - 28px))}.section-kicker{margin:0 0 8px;color:var(--green);font-weight:800;
letter-spacing:.12em;font-size:12px}h1,h2,h3{line-height:1.15;margin:0 0 18px}h1{font-size:clamp(36px,6vw,76px)}h2{font-size:clamp(30px,4vw,52px);font-weight:700}h3{font-size:22px}p{margin:0 0 18px}.hero{position:relative;min-height:clamp(480px,72vh,760px);display:grid;place-items:center;overflow:hidden;color:#fff;text-align:center}.hero-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(30,25,8,.2),rgba(30,25,8,.34)),url('../../images/background/bgr104.jpg');background-size:cover;background-position:center;transform:scale(1.04)}.hero-content{position:relative;z-index:1;width:min(850px,calc(100% - 36px));text-shadow:0 3px 18px rgba(0,0,0,.45)}.hero .eyebrow{font-size:18px;font-weight:700;margin-bottom:8px}.hero p:last-child{font-size:clamp(18px,2.2vw,26px)}.section-light{background:var(--paper)}.split{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(300px,1.1fr);gap:clamp(32px,5vw,72px);align-items:center}.media-card img,.map-card,.project-card,.people-grid article{box-shadow:var(--shadow)}.media-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.people-grid,.cards,.project-grid{display:grid;gap:18px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px}.people-grid article,.cards article,.project-card{background:rgba(255,255,255,.92);border:1px solid rgba(49,83,13,.12);padding:24px}.people-grid p{margin-bottom:6px}.image-section{position:relative;background-image:linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)),var(--bg);background-size:cover;background-position:center;background-attachment:fixed}.translucent{background:rgba(255,255,255,.9);padding:clamp(28px,5vw,58px);box-shadow:var(--shadow)}.text-columns{columns:2 330px;column-gap:44px}.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.cards ul{padding-left:20px;margin:0}.service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}.service-list span{background:#fff;border-left:5px solid var(--gold);padding:16px 18px;font-weight:700}.gallery-section{background:#080906;color:#fff}.gallery-section .section-kicker{color:#cfe4b0}.gallery-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:30px}.gallery-grid a{display:block;overflow:hidden;background:#161913;aspect-ratio:4/3}.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease,opacity .25s ease}.gallery-grid a:hover img{transform:scale(1.05);opacity:.82}.projects-section .translucent{background:rgba(255,255,255,.94)}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-card{box-shadow:none}.project-card h3{color:var(--green-dark)}.eu-logos{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px}.eu-logos img{max-height:58px;width:auto}.project-wide,.project-doc{grid-column:1/-1}.project-wide{display:grid;grid-template-columns:1fr 280px;gap:28px;align-items:center}.project-wide>img{width:100%;border:1px solid var(--line)}.doc-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.doc-images img{width:100%;border:1px solid var(--line);background:#fff}.contact-list{display:grid;gap:10px;margin:24px 0}.contact-list div{display:grid;grid-template-columns:110px 1fr;gap:16px;padding-bottom:10px;border-bottom:1px solid var(--line)}dt{font-weight:800;color:var(--green-dark)}dd{margin:0}.map-card iframe{width:100%;height:460px;border:0;display:block}.site-footer{background:#17220f;color:#eaf5df;text-align:center;padding:28px 16px}.site-footer p{margin:0}.lightbox{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.88);display:grid;place-items:center;padding:24px}.lightbox[hidden]{display:none}.lightbox img{max-width:min(1100px,96vw);max-height:88vh;object-fit:contain}.lightbox-close{position:fixed;top:18px;right:18px;width:44px;height:44px;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.2);color:#fff;font-size:32px;cursor:pointer}.back-to-top{position:fixed;right:18px;bottom:18px;z-index:30;width:44px;height:44px;border:0;border-radius:50%;background:rgba(49,83,13,.82);color:#fff;font-size:22px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}.back-to-top.is-visible{opacity:1;pointer-events:auto}.back-to-top:hover{transform:translateY(-2px)}@media (max-width:980px){.nav-toggle{display:block}.site-nav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-bottom:1px solid var(--line)}.site-nav.is-open{display:flex}.site-nav a{padding:14px 24px;border-top:1px solid var(--line)}.split,.cards.three,.project-grid{grid-template-columns:1fr}.project-wide{grid-template-columns:1fr}.service-list{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:640px){.site-header{min-height:64px;padding:10px 14px}.brand img{width:136px}.container,.container.wide{width:min(100% - 24px,1120px)}.hero{min-height:520px}.section{padding:48px 0}.translucent{padding:24px 18px}.people-grid,.service-list,.doc-images{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(3,1fr);gap:6px}.contact-list div{grid-template-columns:1fr;gap:2px}.map-card iframe{height:360px}.image-section{background-attachment:scroll}}

#rastlinna { background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)), url("../../images/background/bgr100.jpg"); }
#zivocisna { background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)), url("../../images/background/bgr108c.jpg"); }
#mechanizacia { background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)), url("../../images/background/bgr110.jpg"); }
#projekty-eu { background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)), url("../../images/background/bgr104a.jpg"); }

.photo-carousel {
  position: relative;
  width: min(1120px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 14px;
}

.photo-stage {
  margin: 0;
  background: #050604;
}

.photo-stage img {
  width: 100%;
  max-height: 680px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #050604;
}

.photo-stage figcaption {
  color: #dfe8d7;
  text-align: center;
  padding: 10px 0 0;
  font-weight: 700;
}

.photo-arrow {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.photo-arrow:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .photo-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .photo-arrow {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .gallery-section .container.wide {
    width: 100%;
  }

  .gallery-section .section-kicker,
  .gallery-section h2 {
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  .photo-carousel {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .photo-stage {
    width: 100%;
  }

  .photo-stage img {
    width: 100%;
    max-height: none;
  }

  .photo-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .42);
    border-color: rgba(255, 255, 255, .55);
  }

  .photo-arrow:hover {
    transform: translateY(-50%);
  }

  .photo-prev {
    left: 12px;
  }

  .photo-next {
    right: 12px;
  }
}

/* Jemne doladenie hlavicky a titulkov */
.site-header {
  min-height: 88px;
}

.brand img {
  width: 220px;
}

.site-nav {
  font-size: 16px;
  font-weight: 700;
  gap: clamp(14px, 1.8vw, 32px);
}

h1,
h2 {
  font-weight: 500;
}

.hero-content {
  width: min(980px, calc(100% - 36px));
}

.hero p:last-child {
  font-weight: 400;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .brand img {
    width: 178px;
  }

  .site-nav {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 154px;
  }
}

/* Povodny plny obsah sekcie Projekty EU */
.legacy-projects-content {
  max-width: 980px;
  line-height: 1.72;
}

.legacy-projects .section-title {
  text-align: center;
}

.legacy-projects .section-title h1 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
}

.legacy-projects h3 {
  margin-top: 22px;
  color: var(--green-dark);
}

.legacy-projects hr {
  margin: 44px 0 28px;
}

.legacy-projects ul {
  padding-left: 24px;
}

.legacy-projects table {
  border-collapse: collapse;
  width: 100%;
}

.legacy-projects td {
  vertical-align: top;
  padding: 4px 8px;
}

.legacy-projects .stl1,
.legacy-projects .stl2 {
  width: min(320px, 100%);
  margin: 18px auto;
  text-align: center;
}

.legacy-projects .stl1 img,
.legacy-projects .stl2 img {
  max-width: 260px;
  height: auto;
}

.legacy-projects p[style*="center"] img,
.legacy-projects img[align="center"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  .legacy-projects-content {
    width: min(100% - 24px, 980px);
    padding: 24px 16px;
  }

  .legacy-projects table,
  .legacy-projects tbody,
  .legacy-projects tr,
  .legacy-projects td {
    display: block;
    width: 100%;
  }
}

/* Loga v sekcii Projekty EU vedla seba */
.legacy-projects .stl1,
.legacy-projects .stl2 {
  display: inline-block;
  width: min(360px, 48%);
  margin: 24px 1%;
  vertical-align: top;
}

.legacy-projects .stl1 img,
.legacy-projects .stl2 img {
  max-width: 100%;
}

@media (max-width: 700px) {
  .legacy-projects .stl1,
  .legacy-projects .stl2 {
    display: block;
    width: min(360px, 100%);
    margin: 24px auto;
  }
}

/* Textovy prepis zmluvy 041TN720008 */
.contract-text {
  margin: 36px auto;
  max-width: 920px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.62;
}

.contract-text h3 {
  color: var(--ink);
  margin: 30px 0 16px;
  text-align: center;
}

.contract-text p {
  margin: 0 0 16px;
}

.contract-parties {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 18px 28px;
  margin: 26px 0;
}

.contract-parties dt {
  font-weight: 700;
}

.contract-parties dd {
  margin: 0;
}

.contract-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  margin: 18px 0;
}

.contract-row > div:first-child {
  font-weight: 700;
}

.contract-table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
}

.contract-table th,
.contract-table td {
  border: 1px solid rgba(32, 41, 34, 0.35);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.contract-table th {
  width: 42%;
  background: rgba(133, 195, 254, 0.18);
}

@media (max-width: 700px) {
  .contract-parties,
  .contract-row {
    display: block;
  }

  .contract-parties dt,
  .contract-row > div:first-child {
    margin: 18px 0 6px;
  }

  .contract-table th,
  .contract-table td {
    display: block;
    width: 100%;
  }
}
/* Footer menu, EU flag and lighter hero */
.eu-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eu-menu-flag {
  display: inline-block;
  width: 24px;
  height: auto;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,.45);
}

.hero {
  color: #20231f;
}

.hero-bg {
  background-image: linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.18)), url('../../images/background/bgr104.jpg');
}

.hero-content {
  text-shadow: 0 2px 16px rgba(255,255,255,.78);
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: #20231f;
}

.site-footer {
  background: #9fd0ff;
  color: #20231f;
  padding: 46px 20px 28px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin: 0 auto 26px;
}

.footer-nav a {
  color: #20231f;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--green-dark);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  opacity: .75;
}

@media (max-width: 640px) {
  .footer-nav {
    gap: 12px 18px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .eu-menu-flag {
    width: 20px;
  }
}
/* Real parallax movement */
.hero-bg {
  transform: scale(1.08);
  will-change: transform;
}

.image-section {
  background-attachment: scroll;
  background-position: center center;
  will-change: background-position;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .image-section {
    will-change: auto;
  }
}
/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 22px 18px;
  background: rgba(0,0,0,.92);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.18);
}

.cookie-consent[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-consent__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cookie-consent__kicker {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}

.cookie-consent h2,
.cookie-modal h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
}

.cookie-consent p {
  max-width: 780px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-btn {
  min-width: 220px;
  border: 2px solid #fff;
  padding: 14px 22px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-btn--primary {
  border-color: #5e8f1d;
  background: #5e8f1d;
  color: #fff;
}

.cookie-btn--secondary,
.cookie-btn--ghost {
  background: transparent;
  color: #fff;
}

.cookie-btn--ghost {
  border-color: rgba(255,255,255,.55);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}

.cookie-modal__panel {
  position: relative;
  width: min(760px, 100%);
  background: #fff5f3;
  color: #20231f;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  text-align: center;
}

.cookie-modal .cookie-consent__kicker {
  color: var(--green-dark);
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #20231f;
  font-size: 34px;
  cursor: pointer;
}

.cookie-choice {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin: 20px auto;
  text-align: left;
}

.cookie-choice label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.cookie-choice input {
  width: 22px;
  height: 22px;
  accent-color: var(--green);
}

.cookie-choice p {
  margin: 0 0 0 34px;
  color: var(--muted);
}

.cookie-choice--disabled {
  opacity: .65;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 18px 14px;
  }

  .cookie-btn {
    width: 100%;
    min-width: 0;
  }
}