/* ============================================================
   Vytyčovacie Kolíky – Hlavný štýl
   ============================================================ */

/* ── Inter – variabilný font hostovaný lokálne ─────────────────
   Jeden súbor pokrýva os wght 100–900 (všetky hrúbky 400–800).
   latin-ext je nutný pre slovenskú diakritiku (č, š, ž, ľ, ť, ď…). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --clr-primary:        #2d5a1b;
  --clr-primary-dark:   #1e3d12;
  --clr-primary-light:  #4a8a30;
  --clr-primary-xlight: #e8f5e0;
  --clr-accent:         #f0a500;
  --clr-accent-dark:    #c88c00;
  --clr-accent-light:   #fff3cd;

  --clr-text:           #1a1a2e;
  --clr-text-med:       #444;
  --clr-text-light:     #6b7280;
  --clr-bg:             #f8f9fa;
  --clr-bg-alt:         #f0f2f5;
  --clr-white:          #ffffff;
  --clr-border:         #e2e8e0;

  --clr-success:        #16a34a;
  --clr-success-bg:     #dcfce7;
  --clr-error:          #dc2626;
  --clr-error-bg:       #fee2e2;
  --clr-warn-bg:        #fef9c3;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow:     0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: 0.25s ease;
  --header-h:   70px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-primary-light); }
ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Prístupnosť ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 6px;
  background: var(--clr-primary);
  color: #fff;
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: .9rem;
}
.skip-link:focus { top: 6px; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(45,90,27,.35);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-text);
  border-color: var(--clr-accent);
}
.btn-accent:hover {
  background: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
  color: var(--clr-text);
  box-shadow: 0 6px 20px rgba(240,165,0,.35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn--sm { padding: .5rem 1.25rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--clr-text);
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.logo-text strong { font-weight: 800; color: var(--clr-primary); }
.logo--footer .logo-text { color: #fff; }
.logo--footer .logo-text strong { color: var(--clr-accent); }

.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: block;
  padding: .45rem .85rem;
  color: var(--clr-text-med);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-primary);
  background: var(--clr-primary-xlight);
}
.nav-cta { margin-left: .5rem; }
.nav-cta.active { opacity: .85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: .4rem;
  border-radius: var(--radius-sm);
  color: var(--clr-text);
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--transition);
}
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  left: 0;
  transition: transform var(--transition), top var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ── FLASH správy ───────────────────────────────────────────── */
.flash {
  padding: .9rem 0;
  animation: slideDown .3s ease;
}
.flash .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.flash p { margin: 0; font-weight: 500; }
.flash--success { background: var(--clr-success-bg); color: var(--clr-success); }
.flash--error   { background: var(--clr-error-bg);   color: var(--clr-error); }
.flash-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: currentColor;
  opacity: .6;
  padding: 0 4px;
}
.flash-close:hover { opacity: 1; }

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 55%, #2d6e1a 100%);
  overflow: hidden;
  padding: 80px 0 100px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 72% 50%, rgba(74,138,48,.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 3rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.35));
  animation: hero-img-float 6s ease-in-out infinite;
}
@keyframes hero-img-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-image img {
    max-width: 280px;
    animation: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--clr-accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
}
.hero-stat { color: rgba(255,255,255,.9); }
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
}
.hero-stat span { font-size: .85rem; opacity: .8; }

/* ── HERO WAVE (prechod do bielej) ───────────────────────────── */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 7vw, 110px);
}

/* ── PAGE HERO (sub-stránky) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ── SECTION SHARED ──────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--alt { background: var(--clr-bg); }
.section--dark { background: var(--clr-primary-dark); color: #fff; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  color: var(--clr-primary);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.section-sub {
  color: var(--clr-text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── FEATURES / PREČO MY ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Pre 3-krokový postup ("Ako to funguje") – 3 stĺpce na desktope, pod sebou na tabletu/mobile */
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.steps-grid .feature-card { text-align: center; }
.steps-grid .feature-icon {
  margin-inline: auto;
  background: #fff3cd;
  font-size: 2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.feature-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--clr-primary-light);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-primary-xlight);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--clr-text);
}
.feature-card p {
  color: var(--clr-text-light);
  font-size: .93rem;
  line-height: 1.65;
}

/* ── PRODUKTY GRID ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── CTA karta („Zobraziť všetky produkty") ─────────────────── */
.product-card--cta {
  background: linear-gradient(160deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
  border-color: var(--clr-primary-dark);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
  text-decoration: none;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.product-card--cta:hover {
  background: linear-gradient(160deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
}
.product-card--cta:hover .product-cta-icon {
  transform: translateX(6px);
}
.product-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.product-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: .5rem;
  transition: transform var(--transition);
}
.product-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.product-cta-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--clr-bg-alt);
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--clr-primary-xlight), #d4edda);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--clr-primary);
  font-size: .85rem;
  font-weight: 500;
}
.product-img-placeholder span { font-size: 3rem; line-height: 1; }

.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-primary);
  margin-bottom: .4rem;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.product-desc {
  color: var(--clr-text-light);
  font-size: .9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: .85rem;
  color: var(--clr-text-light);
  margin-bottom: 1rem;
}
.product-min-qty {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .75rem;
}
.product-price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  line-height: 1;
}
.product-price-unit {
  font-size: .85rem;
  color: var(--clr-text-light);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--clr-primary-xlight);
  border: 1px solid #c8e6c0;
  border-radius: var(--radius);
}
.product-detail-price .product-price-value {
  font-size: 2rem;
}
.product-detail-price .product-price-note {
  flex-basis: 100%;
  font-size: .8rem;
  color: var(--clr-text-light);
}

.product-actions {
  display: flex;
  gap: .6rem;
}
.product-actions .btn { flex: 1; justify-content: center; font-size: .9rem; padding: .6rem 1rem; }

/* ── PRODUCT DETAIL ──────────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-detail-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.product-detail-img .product-img-placeholder {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-detail-body .product-cat { font-size: .8rem; }
.product-detail-body .product-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.product-detail-desc {
  color: var(--clr-text-med);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.specs-table tr:nth-child(even) td { background: var(--clr-bg); }
.specs-table td {
  padding: .6rem .9rem;
  border: 1px solid var(--clr-border);
  vertical-align: middle;
}
.specs-table td:first-child {
  color: var(--clr-text-light);
  font-weight: 500;
  width: 45%;
}
.specs-table td:last-child {
  color: var(--clr-text);
  font-weight: 600;
}

.product-cta-box {
  background: var(--clr-primary-xlight);
  border: 1px solid #c8e6c0;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.product-cta-box p {
  color: var(--clr-primary-dark);
  font-size: .92rem;
  margin-bottom: 1rem;
}

/* ── FILTRE PRODUKTOV ────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border: 2px solid var(--clr-border);
  border-radius: 999px;
  background: var(--clr-white);
  font-size: .88rem;
  font-weight: 500;
  color: var(--clr-text-med);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--clr-primary);
  background: var(--clr-primary);
  color: #fff;
}

/* ── DOPYT FORMULÁR ──────────────────────────────────────────── */
.dopyt-section { padding: 60px 0; }
.dopyt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.form-card .form-intro {
  color: var(--clr-text-light);
  margin-bottom: 2rem;
  font-size: .95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .4rem;
}
.form-group label .req { color: var(--clr-error); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  color: var(--clr-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(45,90,27,.12);
}
.form-control.error { border-color: var(--clr-error); }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.form-error-msg {
  color: var(--clr-error);
  font-size: .8rem;
  margin-top: .25rem;
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.5rem; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  cursor: pointer;
  font-size: .9rem;
  color: var(--clr-text-med);
  line-height: 1.5;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
  margin-top: 2px;
  cursor: pointer;
}
.form-checkbox a { text-decoration: underline; }

/* Honeypot – skrytý pred ľuďmi, nie botmi */
.hp-field { display: none !important; visibility: hidden !important; position: absolute; left: -9999px; }

/* ── DOPYT SIDEBAR ───────────────────────────────────────────── */
.dopyt-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-text);
}
.info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .8rem;
  font-size: .9rem;
  color: var(--clr-text-med);
}
.info-card .info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 34px;
  height: 34px;
  background: var(--clr-primary-xlight);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── KONTAKT SEKCIA ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
/* Grid items musia mať min-width:0 aby ich obsah nepretiekol mimo bunky */
.contact-grid > * { min-width: 0; }

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: .75rem;
  overflow-wrap: break-word;
}
.contact-info p {
  color: var(--clr-text-light);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .97rem;
}
.contact-list li > span {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-list li svg { color: var(--clr-primary); flex-shrink: 0; margin-top: .2rem; }

/* ── ACCORDION (FAQ) ─────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: .5rem;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--clr-white);
  border: none;
  font-size: .97rem;
  font-weight: 600;
  color: var(--clr-text);
  text-align: left;
  transition: background var(--transition);
}
.accordion-btn:hover { background: var(--clr-bg); }
.accordion-btn[aria-expanded="true"] { background: var(--clr-primary-xlight); color: var(--clr-primary); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--clr-text-light);
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); color: var(--clr-primary); }
.accordion-body {
  display: none;
  padding: 0 1.25rem 1.1rem;
  background: var(--clr-primary-xlight);
  color: var(--clr-text-med);
  font-size: .93rem;
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  padding: .75rem 0;
  font-size: .85rem;
  color: var(--clr-text-light);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--clr-text-light); }
.breadcrumb a:hover { color: var(--clr-primary); }
.breadcrumb span { color: var(--clr-text-light); margin-inline: .4rem; }

/* ── LEGAL PAGES ─────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding: 60px 0;
}
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 2rem 0 .6rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content ol, .legal-content ul {
  color: var(--clr-text-med);
  line-height: 1.8;
  font-size: .96rem;
}
.legal-content ol, .legal-content ul {
  padding-left: 1.5rem;
  list-style: decimal;
  margin-bottom: .75rem;
}
.legal-content li { margin-bottom: .3rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-primary-dark);
  color: rgba(255,255,255,.8);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.85fr 0.95fr 1.6fr;
  gap: 1.5rem 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-tagline {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin: .75rem 0 1rem;
  line-height: 1.6;
}
.footer-address p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--clr-accent); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  margin-bottom: .65rem;
  color: rgba(255,255,255,.75);
}
.footer-contact a { color: rgba(255,255,255,.85); white-space: nowrap; }
.footer-contact a:hover { color: var(--clr-accent); }
.footer-contact svg { color: var(--clr-accent); flex-shrink: 0; margin-top: .2rem; }
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a {
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--clr-accent); }
.footer-legal-links a {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.8); }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 800;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--clr-primary-dark); }

/* ── COOKIE CONSENT BAR + BADGE ─────────────────────────────── */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.cookie-bar.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 640px) {
  .cookie-bar { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 420px; }
}
.cookie-bar__inner {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.25rem 1rem;
}
.cookie-bar__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.cookie-bar__emoji { font-size: 1.4rem; line-height: 1; }
.cookie-bar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
}
.cookie-bar__body {
  font-size: .85rem;
  color: var(--clr-text-light);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.cookie-bar__body a { color: var(--clr-primary); text-decoration: underline; }
.cookie-bar__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.cookie-bar__link {
  font-size: .8rem;
  color: var(--clr-text-light);
  text-decoration: underline;
}
.cookie-bar__link:hover { color: var(--clr-text); }

.cookie-badge {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  z-index: 800;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cookie-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cookie-badge[hidden] { display: none; }

/* Aby si Back-to-top a cookie-badge neprekrývali */
.cookie-badge ~ .back-to-top,
.back-to-top { bottom: 5rem; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── LOADING ─────────────────────────────────────────────────── */
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
/*
 * Breakpointy:
 *   ≤ 499px  – malý mobil
 *   500–699px – väčší mobil
 *   700–1024px – tablet
 *   ≥ 1025px – desktop (base štýly)
 */

/* ── Tablet (700 – 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-grid .product-detail-img { max-width: 560px; margin-inline: auto; }
  .dopyt-grid { grid-template-columns: 1fr; }
  .dopyt-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ── Väčší mobil + malý tablet (≤ 768px) ───────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* backdrop-filter vytvára containing block pre position:fixed potomkov –
     na mobile to láme rozbalené menu, preto ho vypneme a dáme plné pozadie */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }

  .nav-toggle { display: flex; }

  /* Dropdown z headeru – centrovaný pod ním */
  .main-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 2rem));
    max-height: calc(100dvh - var(--header-h) - 1rem);
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    z-index: 1001;
    overflow-y: auto;
    flex-direction: column;
  }
  .main-nav.open { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    width: 100%;
  }
  .nav-list > li { width: 100%; }
  .nav-link {
    display: block;
    width: 100%;
    padding: .7rem .9rem;
    font-size: .95rem;
    box-sizing: border-box;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: .35rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .hero { min-height: auto; padding: 50px 0 90px; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 50px 0; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info h2 { font-size: 1.4rem; line-height: 1.25; }
  .contact-info h2 br { display: none; }
  .contact-list li { font-size: .92rem; }

  /* Na úzkom mobile dovoľ tlačidlám zalomiť text, aby sa nerezali */
  .btn { white-space: normal; }
  .btn--lg { padding: .85rem 1.25rem; font-size: 1rem; }
  .btn--full { padding-inline: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dopyt-sidebar { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
}

/* ── Väčší mobil (500 – 699px) ─────────────────────────────── */
@media (max-width: 699px) {
  .hero { padding: 44px 0 85px; }
  .hero h1 { font-size: clamp(1.65rem, 6vw, 2.2rem); margin-bottom: 1rem; }
  .hero-badge { font-size: .8rem; padding: .3rem .85rem; margin-bottom: 1.2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 2rem; line-height: 1.6; }
  .hero-actions { gap: .75rem; }
  .hero-stats { margin-top: 2.5rem; gap: 1.25rem; }
  .hero-stat strong { font-size: 1.7rem; }
}

/* ── Malý mobil (≤ 499px) ───────────────────────────────────── */
@media (max-width: 499px) {
  :root { --header-h: 56px; }

  /* Container bočné odsadenie na úzkych displejoch */
  .container { padding-inline: 1rem; }

  /* Hero */
  .hero { padding: 36px 0 80px; }
  .hero h1 {
    font-size: clamp(1.45rem, 7.5vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: .9rem;
    letter-spacing: -.01em;
  }
  .hero-badge {
    font-size: .75rem;
    padding: .28rem .75rem;
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: .95rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
  }
  .hero-actions {
    flex-direction: column;
    gap: .65rem;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: .85rem 1rem;
    font-size: .95rem;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin-top: 2rem;
  }
  .hero-stat strong { font-size: 1.55rem; }
  .hero-stat span { font-size: .78rem; }

  /* Sekcie */
  .section { padding: 36px 0; }
  .section-header { margin-bottom: 2rem; }

  /* Gridy */
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Formuláre */
  .form-card { padding: 1.25rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }

  /* Navigácia */
  .nav-link { font-size: .95rem; padding: .75rem 1rem; }
}

/* ── Extrémne malé displeje (≤ 359px) ──────────────────────── */
@media (max-width: 359px) {
  .hero h1 { font-size: 1.3rem; }
  .hero-badge { font-size: .72rem; padding: .25rem .65rem; }
  .hero-sub { font-size: .88rem; }
  .hero-stats { gap: .75rem 1rem; }
  .hero-stat strong { font-size: 1.35rem; }
}

/* ── PRINT ───────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .back-to-top, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; min-height: auto; }
  .hero h1 { color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: .8em; }
}

/* ── Prepínač jazyka (dropdown) ──────────────────────────────── */
.lang-switch { position: relative; margin-left: .35rem; }
.lang-dd { position: relative; }
.lang-dd summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--clr-text-med);
  transition: color var(--transition), border-color var(--transition);
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::marker { content: ''; }
.lang-dd summary:hover { color: var(--clr-primary); border-color: var(--clr-primary-light); }
.lang-dd[open] summary { color: var(--clr-primary); border-color: var(--clr-primary-light); }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-caret { transition: transform var(--transition); }
.lang-dd[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  margin: 0;
  padding: .25rem;
  list-style: none;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
  z-index: 1100;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--clr-text-med);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.lang-menu a:hover { background: var(--clr-primary-xlight); color: var(--clr-primary); }
.lang-menu a.active { background: var(--clr-primary-xlight); color: var(--clr-primary); font-weight: 700; }

/* Mobil – dropdown jazyka v rozbalenom menu zobraz inline */
@media (max-width: 768px) {
  .lang-switch { margin-left: 0; margin-top: .35rem; width: 100%; }
  .lang-dd summary { width: 100%; justify-content: center; box-sizing: border-box; }
  .lang-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: .25rem;
    box-sizing: border-box;
  }
}
