/* =====================================================================
   MINVODY — jednotný dizajn značkových podstránok
   Zladené s new.minvody.sk (Literata + Mulish, navy #0B2F5B / #043466,
   pill tlačidlá, biele pozadie). Per značka sa mení len --accent.
   ===================================================================== */

:root{
  /* --- Fixné tokeny (rovnaké pre všetky značky, prevzaté z webu) --- */
  --navy:#0B2F5B;          /* nadpisy */
  --navy-btn:#043466;      /* tlačidlá / CTA */
  --ink:#707070;           /* bežný text */
  --ink-soft:#8a8a8a;
  --line:#e7e9ee;          /* jemné linky */
  --bg:#ffffff;
  --bg-soft:#f5f7fa;       /* svetlé sekcie */
  --white:#ffffff;

  --font-display:"Literata", Georgia, serif;
  --font-body:"Mulish", -apple-system, system-ui, sans-serif;

  --wrap:1200px;
  --radius:18px;
  --radius-pill:35px;
  --shadow:0 12px 40px rgba(11,47,91,.08);
  --shadow-sm:0 6px 20px rgba(11,47,91,.06);

  --section-y:96px;

  /* --- Akcent (prepisuje sa per značka v <html data-brand>) --- */
  --accent:#0B6BB0;
  --accent-soft:#eaf3fb;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:28px;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  margin:0 0 .4em;
  font-weight:400;
}
h1{font-size:clamp(38px,5vw,58px);line-height:1.08;font-weight:300;letter-spacing:-.01em}
h2{font-size:clamp(30px,3.5vw,46px);line-height:1.14;font-weight:300}
h3{font-size:24px;line-height:1.35;font-weight:500}
p{margin:0 0 1.1em}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.section{padding:var(--section-y) 0}
.section--soft{background:var(--bg-soft)}
.lead{font-size:20px;line-height:34px;color:#4a4a4a}
.center{text-align:center}
.mt0{margin-top:0}

/* Eyebrow — malý štítok značky nad nadpisom */
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--font-body);font-weight:800;
  font-size:13px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);margin-bottom:18px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--accent);border-radius:2px}

/* ---------- Tlačidlá (pill, ako na webe) ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-body);font-weight:800;font-size:16px;
  padding:15px 32px;border-radius:var(--radius-pill);
  background:var(--navy-btn);color:var(--white);
  border:2px solid var(--navy-btn);cursor:pointer;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover{background:#02264d;transform:translateY(-2px);box-shadow:0 10px 24px rgba(4,52,102,.25)}
.btn--accent{background:var(--accent);border-color:var(--accent)}
.btn--accent:hover{background:var(--accent);filter:brightness(.92)}
.btn--ghost{background:transparent;color:var(--navy-btn)}
.btn--ghost:hover{background:var(--navy-btn);color:#fff}
.btn--sm{padding:11px 24px;font-size:15px}

/* ---------- Výhody ---------- */
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.benefit{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px;transition:transform .18s ease, box-shadow .18s ease;
}
.benefit:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}
.benefit__icon{
  width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);color:var(--accent);margin-bottom:18px;
}
.benefit__icon svg{width:26px;height:26px}
.benefit h3{font-size:20px;margin-bottom:8px}
.benefit p{margin:0;font-size:15.5px;line-height:25px}

/* ---------- Produktový rad ---------- */
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1),border-color .35s ease;
}
.product:hover{box-shadow:0 20px 40px rgba(14,32,56,.12);transform:translateY(-6px);border-color:color-mix(in srgb,var(--accent) 22%,transparent)}
.product__media{
  aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--accent-soft),#fff);
}
.product__media .bottle{width:70px;height:120px;opacity:.9}
.product__body{padding:22px 22px 26px;text-align:center;display:flex;flex-direction:column;gap:6px;flex:1}
.product__body h3{margin:0;font-size:20px}
.product__variant{font-size:14px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.product__vol{color:var(--ink);font-size:15px}
.product__body .btn{margin-top:14px;align-self:center}

/* ---------- Split (pôvod / história) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.split--rev .split__media{order:-1}
.split__media{
  aspect-ratio:5/4;border-radius:22px;overflow:hidden;box-shadow:var(--shadow-sm);
  background:linear-gradient(160deg,var(--accent-soft),#eef1f5);
}

/* ---------- Minerály / accordion (natívny <details>) ---------- */
.acc{max-width:820px;margin:0 auto;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.acc details{border-bottom:1px solid var(--line)}
.acc details:last-child{border-bottom:0}
.acc summary{
  list-style:none;cursor:pointer;padding:22px 26px;
  font-family:var(--font-display);font-size:19px;color:var(--navy);font-weight:500;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.acc summary::-webkit-details-marker{display:none}
.acc summary .chev{transition:transform .2s ease;color:var(--accent);flex:none}
.acc details[open] summary .chev{transform:rotate(180deg)}
.acc__panel{padding:0 26px 24px}
.mineral-table{width:100%;border-collapse:collapse;font-size:15.5px}
.mineral-table th,.mineral-table td{text-align:left;padding:11px 4px;border-bottom:1px solid var(--line)}
.mineral-table th{color:var(--navy);font-weight:700}
.mineral-table td:last-child{text-align:right;font-variant-numeric:tabular-nums;color:var(--navy);font-weight:700}
.mineral-table tr:last-child td{border-bottom:0}
.chartline{color:var(--ink);font-size:14px;margin-top:10px}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  :root{--section-y:64px}
  .benefits{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr;gap:30px}
  .split--rev .split__media{order:0}
}
@media (max-width:600px){
  .benefits{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}

/* =====================================================================
   ROZŠÍRENIA v2 — full hero, prepínač produktov, ochutené, predajne
   ===================================================================== */

/* Prepínač Prírodné / Ochutené */
.switch{
  display:inline-flex;background:#eef1f5;border-radius:40px;padding:5px;gap:4px;
}
.switch button{
  border:0;background:transparent;padding:12px 24px;border-radius:40px;cursor:pointer;
  font-family:var(--font-body);font-weight:800;font-size:15px;color:var(--navy);
  transition:background .2s ease,color .2s ease;
}
.switch button[aria-pressed="true"]{background:var(--accent);color:#fff}
.panel[hidden]{display:none}

/* Predajne — logá reťazcov */
.retailers{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:940px;margin:0 auto;
}
.retailer{
  height:96px;border:1px solid var(--line);border-radius:14px;background:#fff;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;
  font-family:var(--font-display);font-weight:600;font-size:19px;color:var(--navy);
}
.retailer small{display:block;font-family:var(--font-body);font-weight:700;font-size:11px;color:var(--ink-soft);letter-spacing:.08em;text-transform:uppercase}

@media (max-width:960px){
  .retailers{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:600px){
  .retailers{grid-template-columns:repeat(2,1fr)}
}

/* Hero v gride: fotka hore (v kontajneri), text pod ňou */
.hero-stack{padding-top:52px;padding-bottom:0}
.hero-stack__img{
  width:100%;aspect-ratio:16/7;border-radius:26px;overflow:hidden;box-shadow:var(--shadow);
  background:linear-gradient(160deg, var(--accent-soft), #eef1f5);
}
.hero-stack__text{max-width:820px;margin:40px auto 0;text-align:center}
.hero-stack__text h1{margin-bottom:16px}
.hero-stack__sub{font-size:20px;line-height:33px;color:#4a4a4a;max-width:52ch;margin:0 auto 26px}
@media (max-width:600px){
  .hero-stack__img{aspect-ratio:4/3}
  .hero-stack__sub{font-size:18px}
}

/* Hero v3: text (vľavo) + tlačidlo (vpravo) NAD obrázkom; obrázok 605px */
.hero-stack__head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:40px;
  margin-bottom:32px;
}
.hero-stack__head .hero-stack__text{
  text-align:left;max-width:64ch;margin:0;
}
.hero-stack__head .hero-stack__sub{
  margin:0;text-align:left;max-width:56ch;
}
.hero-stack__head .btn{flex:none;white-space:nowrap}
.hero-stack__img{aspect-ratio:auto;height:605px}
@media (max-width:760px){
  .hero-stack__head{flex-direction:column;align-items:flex-start;gap:22px}
  .hero-stack__head .btn{align-self:stretch;justify-content:center}
  .hero-stack__img{height:auto;aspect-ratio:16/10}
}

/* Hero v4: nadpis na celú šírku hore; podnadpis (vľavo) + tlačidlo (vpravo) v riadku pod ním */
.hero-stack__head{display:block}
.hero-stack__head .eyebrow{margin-bottom:16px}
.hero-stack__head h1{max-width:none;text-align:left;margin:0 0 24px}
.hero-stack__row{
  display:flex;justify-content:space-between;align-items:flex-end;gap:40px;
}
.hero-stack__row .hero-stack__sub{margin:0;text-align:left;max-width:60ch;flex:1}
.hero-stack__row .btn{flex:none;white-space:nowrap}
@media (max-width:760px){
  .hero-stack__row{flex-direction:column;align-items:flex-start;gap:20px}
  .hero-stack__row .btn{align-self:stretch;justify-content:center}
}

/* =====================================================================
   CAROUSEL produktov
   ===================================================================== */
.carousel{position:relative;padding:0 6px}
/* Soft edge mask so a partially clipped product fades into the section
   background instead of ending abruptly at the viewport/arrow. Every
   product carousel section uses the plain white .section background. */
.carousel::before,
.carousel::after{content:"";position:absolute;top:0;bottom:68px;width:clamp(60px,6vw,110px);z-index:2;pointer-events:none}
.carousel::before{left:0;background:linear-gradient(to right,#fff,transparent)}
.carousel::after{right:0;background:linear-gradient(to left,#fff,transparent)}
@media(max-width:640px){
  .carousel::before,.carousel::after{display:none}
}
.carousel__track{
  display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:20px 2px 68px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;
}
.carousel__track::-webkit-scrollbar{height:8px}
.carousel__track::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}
.carousel__track::-webkit-scrollbar-track{background:transparent}
.carousel__track .product{flex:0 0 250px;scroll-snap-align:start}
/* Visual design (glass, border, icon size, hover) is shared and lives in
   minvody-phase2.css; only structural position/z-index stay page-owned. */
.carousel__nav{
  position:absolute;top:38%;transform:translateY(-50%);z-index:4;
  display:flex;align-items:center;justify-content:center;
}
.carousel__nav--prev{left:-8px}
.carousel__nav--next{right:-8px}
/* karta produktu bez tlačidla – médiá pripravené na PNG */
.product__media img{width:auto;height:82%;object-fit:contain}
@media (max-width:600px){
  .carousel__track .product{flex:0 0 76%}
  .carousel__nav{display:none}
}

/* Carousel v2: bez scrollbaru + kontextové šípky */
.carousel__track{scrollbar-width:none;-ms-overflow-style:none}
.carousel__track::-webkit-scrollbar{display:none;height:0;width:0}
.carousel__nav{transition:opacity .2s ease,transform .35s cubic-bezier(.16,1,.3,1),background .3s ease,border-color .3s ease,box-shadow .3s ease}
.carousel__nav.off{opacity:0;pointer-events:none}

/* Farebná guľôčka v rohu karty (rozlíšenie variantu/príchute) */
.product{position:relative}
.product__dot{
  position:absolute;top:14px;right:14px;z-index:2;
  width:20px;height:20px;border-radius:50%;
  box-shadow:0 0 0 3px #fff, 0 1px 3px rgba(0,0,0,.18);
}

/* =====================================================================
   REÁLNE FOTKY – produkty, hero, sekcie
   ===================================================================== */
/* produktová fotka – fľaše sú priehľadné, prechod v pozadí ostáva */
.product__media img{width:100%;height:100%;object-fit:contain;padding:14px 12px;transition:transform .9s cubic-bezier(.16,1,.3,1)}
.product:hover .product__media img{transform:scale(1.035)}
/* hero fotka na celú šírku boxu */
.hero-stack__img{position:relative}
.hero-stack__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* sekčné fotky (pôvod, história) */
.split__media{position:relative}
.split__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* =====================================================================
   LOGÁ REŤAZCOV (300x120 .jpg) + KONTAKT (Savior)
   ===================================================================== */
.retailer{position:relative;overflow:hidden}
.retailer span{opacity:.5;font-size:14px}
.retailer small{display:none}
.retailer img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:16px 22px;background:#fff}

/* Cena pri produktovej karte (galón/dispenzor) */
.product__price{font-weight:800;color:var(--accent);font-size:15px}
.product__desc{font-size:14px;color:var(--ink);line-height:20px}

/* Kontakt + formulár */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;max-width:1000px;margin:0 auto}
.contact__card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.contact__card h3{margin:0 0 20px}
.contact__row{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.contact__row svg{width:22px;height:22px;color:var(--accent);flex:none}
.contact__row a,.contact__row span{color:var(--navy);font-weight:700;font-size:18px}
.form{display:grid;gap:14px}
.form label{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:-8px}
.form input,.form textarea{font-family:var(--font-body);font-size:15px;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);width:100%}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--accent)}
.form textarea{min-height:120px;resize:vertical}
.form .btn{justify-content:center;margin-top:4px}
/* zoznam vlastností (napr. priamy distribučný model) */
.ticklist{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.ticklist li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px;color:var(--ink)}
.ticklist li svg{width:20px;height:20px;color:var(--accent);flex:none;margin-top:3px}
@media(max-width:760px){.contact{grid-template-columns:1fr}}
