/* =============================================
   RESET & VARIABLES
   ============================================= */
:root{
  --dark:#1c1c1c;
  --gray:#767676;
  --light-gray:#e5e5e5;
  --line:#c9c9c9;
  --tile:#d9d9d9;
  --sage:#c7cd9f;
  --sage-hover:#8f9b77;
  --max-width:1280px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family:'Inter',sans-serif;
  color:var(--dark);
  line-height:1.6;
  overflow-x:hidden;
}

h1,h2{ font-family:'Playfair Display',serif; font-weight:500; }
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }


/* =============================================
   DESKTOP (1280px a viac) - SPOLOCNE PRVKY
   ============================================= */

/* ----- HEADER ----- */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:transparent;
  padding:20px 0;
}

.header-inner{
  max-width:var(--max-width);
  margin:0 auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 76px;
  max-height:70px;
}

.logo-icon{
  display:block;
  width:200px;
  height:200px;
  padding-top: 50px;
  transition:opacity .3s ease, transform .3s ease;
}
.logo-icon img{ width:100%; height:100%; }

.burger{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:32px;
  height:32px;
  background:none;
  border:none;
  cursor:pointer;
  z-index:1001;
}
.burger span{
  display:block;
  width:24px;
  height:2px;
  background:var(--dark);
  border-radius:2px;
  transition:transform .3s ease, opacity .3s ease;
}
.burger.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

nav{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  display:flex;
  gap:40px;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(30px) saturate(180%);
  -webkit-backdrop-filter:blur(30px) saturate(180%);
  padding:16px 36px;
  border-radius:60px;
  box-shadow:0 10px 40px rgba(0,0,0,0.07);
  transition:background .3s, box-shadow .3s;
  z-index:10;
}
nav a{
  font-size:15px;
  font-weight:500;
  transition:color .3s;
  white-space:nowrap;
}
nav a:hover{ color:#555; }
nav a.nav-cta{ display:none; }

.socials{
  display:flex;
  gap:16px;
  transition:opacity .3s ease, transform .3s ease;
}
.socials img{
  width:20px;
  height:20px;
  opacity:0.5;
  transition:opacity .3s;
}
.socials a:hover img{ opacity:1; }

/* po scrolle ostane len menu */
header.scrolled .logo-icon,
header.scrolled .socials{
  opacity:0;
  transform:translateY(-10px);
  pointer-events:none;
}
header.scrolled nav{ box-shadow:0 10px 40px rgba(0,0,0,0.1); }

/* ----- BUTTON (hover: tmavsia zelena + biely text) ----- */
.btn{
  display:inline-block;
  background:var(--sage);
  color:var(--dark);
  padding:16px 28px;
  border-radius:30px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:none;
  transition:background .3s, color .3s;
  white-space:nowrap;
}
.btn:hover,
nav a.btn:hover{
  background:var(--sage-hover);
  color:#fff;
}

/* ----- HERO (spolocny zaklad) ----- */
.hero{
  padding:150px 76px 10px;
  max-width:var(--max-width);
  margin:0 auto;
  display:flex;
  gap:60px;
  align-items:center;
}
.hero-left,
.hero-right{ flex:1; }
.hero h1{
  font-size:48px;
  line-height:1.2;
  margin-bottom:32px;
}
.hero-right img{
  border-radius:16px;
  width:100%;
  height:440px;
  object-fit:cover;
}

/* ----- SECTION ----- */
.section{
  max-width:var(--max-width);
  margin:0 auto;
  padding:40px 76px;
}
.section h2{
  font-size:36px;
  margin-bottom:32px;
}

/* ----- CONTACT (spolocne pre vsetky stranky) ----- */
.contact-section{
  display:flex;
  gap:60px;
  padding-bottom:40px;
}
.contact-left{ flex:1; }
.contact-left img{
  border-radius:16px;
  width:100%;
  height:560px;
  object-fit:cover;
}
.contact-right{
  flex:1;
  border-top:1px solid var(--light-gray);
  padding-top:20px;
}
.contact-right h2{
  font-size:36px;
  margin-bottom:30px;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin-bottom:40px;
}
.contact-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.contact-item img{
  width:37px;
  height:37px;
  flex-shrink:0;
  margin-top:2px;
}
.contact-item strong{
  display:block;
  font-size:15px;
  margin-bottom:4px;
}
.contact-item span{
  font-size:14px;
  color:var(--gray);
}
.contact-item.full{ grid-column:1 / -1; }

.footer-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom: 0px;
}
.footer-logo img{ width:220px; height:220px; }

.footer-socials{
  display:flex;
  justify-content:center;
  gap:10px;
}
.footer-socials img{
  width:28px;
  height:28px;
  opacity:0.55;
  transition:opacity .3s;
}
.footer-socials a:hover img{ opacity:1; }

/* ----- BOTTOM FOOTER ----- */
.bottom-footer{
  max-width:var(--max-width);
  margin:0 auto;
  padding:24px 76px 40px;
  border-top:1px solid var(--light-gray);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.bottom-footer p{ font-size:13px; color:var(--gray); }
.bottom-footer .footer-links{ display:flex; gap:8px; align-items:center; }
.bottom-footer .footer-links a{ font-size:13px; color:var(--gray); transition:color .3s; }
.bottom-footer .footer-links a:hover{ color:var(--dark); }
.bottom-footer .dot{ color:var(--light-gray); font-size:13px; }

/* ----- COOKIE ICON (stale vlavo dole) ----- */
.cookie-icon{
  position:fixed;
  bottom:35px;
  left:35px;
  width:52px;
  height:52px;

  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:999;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  transition:transform .3s ease, box-shadow .3s ease;
}
.cookie-icon:hover{
  transform:scale(1.08);
  box-shadow:0 6px 20px rgba(0,0,0,0.3);
}
.cookie-icon img{ width:50px; height:50px; }

/* ----- SCROLL ANIMACIE: galeria + gdpr (.reveal) ----- */
.reveal{
  opacity:0;
  transition:opacity .9s ease, transform .9s ease;
}
.reveal.from-left{  transform:translateX(-70px); }
.reveal.from-right{ transform:translateX(70px); }
.reveal.from-up{    transform:translateY(60px); }
.reveal.animate{
  opacity:1;
  transform:translate(0,0);
}

/* ----- SCROLL ANIMACIE: hlavna stranka (.fade-left / .fade-right) ----- */
.fade-left, .fade-right{
  opacity:0;
  transition:opacity .9s ease, transform .9s ease;
}
.fade-left{  transform:translateX(-70px); }
.fade-right{ transform:translateX(70px); }
.fade-left.animate, .fade-right.animate{
  opacity:1;
  transform:translateX(0);
}


/* =============================================
   DESKTOP - HLAVNA STRANKA (index.html)
   ============================================= */
.page-home .hero{ align-items:flex-start; }
.page-home .hero h1{ margin-bottom:24px; }
.page-home .hero-subtitle{
  font-size:20px;
  color:var(--gray);
  margin-bottom:36px;
}
.page-home .hero-right img{ height:420px; }

.page-home .hero + .section{ padding-top:5px; }

.text-block p{
  font-size:17px;
  color:#444;
  margin-bottom:20px;
  max-width:900px;
}

/* ----- CO VZNIKA V NASEJ DIELNI ----- */
.dielna{
  border-top:1px solid var(--light-gray);
  padding-top:35px;
}
.dielna-header{ margin-bottom:30px; }
.dielna-grid{ position:relative; }
.dielna-row{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.dielna-cell{
  padding:30px;
  display:flex;
  align-items:center;
  gap:24px;
  opacity:0;
  transition:opacity .8s ease, transform .8s ease;
}
.dielna-cell:not(.empty){ border-top:1px solid var(--light-gray); }
.dielna-cell.left{  transform:translateX(-60px); }
.dielna-cell.right{ transform:translateX(60px); }
.dielna-cell.animate{
  opacity:1;
  transform:translateX(0);
}
.dielna-cell.empty{ visibility:hidden; }
.dielna-cell.col-left-pos{ flex-direction:row; justify-content:flex-end; }
.dielna-cell.col-right-pos{ flex-direction:row; }

.dielna-icon{
  width:110px;
  height:110px;
  flex-shrink:0;
}
.dielna-icon img{ width:100%; height:100%; }

.dielna-text h3{
  font-size:18px;
  margin-bottom:8px;
  font-family:'Inter',sans-serif;
  font-weight:600;
}
.dielna-text p{
  font-size:15px;
  color:var(--gray);
  max-width:280px;
}

/* ----- AKO PREBIEHA SPOLUPRACA ----- */
.spolupraca{
  display:flex;
  gap:60px;
  align-items:stretch;
}
.spolupraca-img{
  flex:1;
  display:flex;
}
.spolupraca-img img{
  border-radius:16px;
  width:100%;
  height:100%;
  object-fit:cover;
  flex:1;
}
.spolupraca-right{
  flex:1;
  border-top:1px solid var(--light-gray);
  padding-top:20px;
  display:flex;
  flex-direction:column;
}
.spolupraca-right h2{ margin-bottom:20px; }
.spolupraca-right .btn{
  margin-bottom:30px;
  align-self:flex-start;
}

.step{
  border-top:1px solid var(--light-gray);
  padding:22px 0;
  display:flex;
  gap:24px;
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
}
.step.animate{
  opacity:1;
  transform:translateY(0);
}
.step-num{
  font-size:14px;
  color:var(--gray);
  font-weight:600;
  min-width:30px;
}
.step-content h4{
  font-size:18px;
  margin-bottom:8px;
  font-weight:600;
}
.step-content p{
  font-size:15px;
  color:var(--gray);
}

/* ----- QUOTE ----- */
.quote-section{
  display:flex;
  gap:60px;
  align-items:flex-start;
}
.quote-left{
  flex:1;
  border-top:1px solid var(--light-gray);
  padding-top:12px;
}
.quote-left p{
  font-family:'Playfair Display',serif;
  font-size:32px;
  line-height:1.4;
}
.quote-right{ flex:1; }
.quote-right img{
  border-radius:16px;
  width:100%;
  height:450px;
  object-fit:cover;
}


/* =============================================
   DESKTOP - GALERIA (galeria.html)
   ============================================= */
.page-galeria #kontakt{ padding-top:90px; }

/* ----- 5 IKON (typy vyrobkov) ----- */
.types{
  max-width:var(--max-width);
  margin:0 auto;
  padding:65px 76px 0;
  display:flex;
  gap:18px;
  align-items:stretch;
}
.type{
  flex-basis:0;
  flex-shrink:1;
  text-align:center;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.type:nth-child(1){ flex-grow:247; }
.type:nth-child(2){ flex-grow:205; }
.type:nth-child(3){ flex-grow:206; }
.type:nth-child(4){ flex-grow:184; }
.type:nth-child(5){ flex-grow:223; }

.type-icon{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.type-icon img{
  width:155px;
  height:150px;
}
.type h3{
  font-size:18px;
  margin-bottom:8px;
  font-weight:600;
}
.type p{
  font-size:15px;
  color:var(--gray);
}

/* ----- GALERIA: bloky s nadpisom a 4 stvorcami ----- */
.gal-block{ width:100%; }
.gal-head{
  border-bottom:1px solid var(--line);
  margin-top:50px;
}
.gal-head h2{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 76px 10px;
  font-size:42px;
  line-height:1.2;
}
.gal-tiles{
  max-width:var(--max-width);
  margin:0 auto;
  padding:30px 76px 0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
.gal-item{
  aspect-ratio:269 / 230;
  background:var(--tile);
  border-radius:60px;
  overflow:hidden;
}
.gal-item img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* =============================================
   DESKTOP - OCHRANA OSOBNYCH UDAJOV (gdpr.html)
   ============================================= */
.page-gdpr .hero h1{
  font-size:52px;
  line-height:1.15;
  margin-bottom:34px;
}
.page-gdpr #kontakt{ padding-top:80px; }

.legal{
  max-width:var(--max-width);
  margin:0 auto;
  padding:80px 76px 20px;
}
.legal-intro{
  font-size:30px;
  line-height:1.3;
  color:#555;
  font-weight:400;
  max-width:1100px;
  margin-bottom:30px;
}
.legal h2{
  font-size:40px;
  line-height:1.15;
  font-weight:700;
  margin:42px 0 22px;
}
.legal p{
  font-size:18px;
  line-height:1.7;
  color:#666;
  margin-bottom:22px;
  max-width:1100px;
}


/* =============================================
   TABLET (max-width: 1024px)
   ============================================= */
@media(max-width:1024px){

  .header-inner{ padding-left:40px; padding-right:40px; }
  .section{ padding-left:40px; padding-right:40px; }
  .hero{ padding:140px 40px 10px; }
  .hero h1{ font-size:38px; }
  .contact-section{ gap:40px; }
  .bottom-footer{ padding:24px 40px 40px; }

  /* home */
  .dielna-cell{ padding:25px; }
  .spolupraca,
  .quote-section{ gap:40px; }

  /* galeria */
  .types{ padding:55px 40px 0; }
  .gal-head h2{ padding:0 40px 10px; font-size:38px; }
  .gal-tiles{ padding:30px 40px 0; }

  /* gdpr */
  .page-gdpr .hero h1{ font-size:42px; }
  .legal{ padding:70px 40px 20px; }
  .legal-intro{ font-size:27px; }
  .legal h2{ font-size:36px; }
}


/* =============================================
   NARROW TABLET (max-width: 900px)  ->  napr. 800 x 839
   ============================================= */
@media(max-width:900px){

  /* ----- SPOLOCNE ----- */
  .header-inner{ padding-left:56px; padding-right:56px; }

  .hero{ padding:95px 56px 0; gap:40px; align-items:center; }
  .hero h1{ font-size:34px; margin-bottom:30px; }
  .hero-right img{ height:290px; }

  .section{ padding:30px 56px; }

  .contact-section{
    flex-direction:row;
    align-items:stretch;
    gap:60px;
    padding-bottom:40px;
  }
  .contact-left{ flex:0 0 150px; position:relative; }
  .contact-left img{
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    border-radius:75px;
    object-fit:cover;
  }
  .contact-right{ flex:1; }
  .footer-logo img{ width:80px; height:80px; }
  .footer-logo span{ font-size:34px; }

  .bottom-footer{ padding:24px 56px 40px; }

  /* ----- HLAVNA STRANKA ----- */
  .page-home .hero{ align-items:center; }
  .page-home .hero-subtitle{ font-size:18px; margin-bottom:30px; }
  .page-home .hero-right img{ height:320px; }
  .page-home .hero + .section{ padding-top:30px; }
  .page-home #kontakt{ padding-top:90px; }

  .dielna{ padding-top:40px; }
  .dielna-header{ margin-bottom:40px; }
  .dielna-grid{ margin:0 -56px; }
  .dielna-row{ grid-template-columns:1fr; }
  .dielna-cell.empty{ display:none; }
  .dielna-cell{ padding:35px 40px; }
  .dielna-cell.right{
    width:75%;
    justify-self:end;
    justify-content:flex-start;
    gap:105px;
  }
  .dielna-cell.left{
    width:68%;
    justify-self:start;
    justify-content:space-between;
    padding:35px 32px 35px 54px;
  }
  .dielna-icon{ width:150px; height:150px; }
  .dielna-cell.left .dielna-text p{ max-width:215px; }
  .dielna-cell.right .dielna-text p{ max-width:245px; }

  .spolupraca{
    flex-direction:column-reverse;
    align-items:stretch;
    gap:8px;
  }
  .spolupraca-img{ flex:none; display:block; }
  .spolupraca-img img{ flex:none; width:100%; height:350px; }
  .spolupraca-right{ flex:none; padding-top:24px; }

  .quote-section{
    flex-direction:column;
    align-items:stretch;
    gap:30px;
  }
  .quote-left{
    flex:none;
    padding:44px 0 38px;
    border-bottom:1px solid var(--light-gray);
  }
  .quote-left p{ font-size:22px; line-height:1.45; }
  .quote-right{ flex:none; }
  .quote-right img{ height:355px; }

  /* ----- GALERIA ----- */
  .types{
    padding:100px 56px 0;
    gap:12px;
    flex-wrap:nowrap;
  }
  .type,
  .type:nth-child(n){
    flex:1 1 0;
    min-width:0;
    padding-bottom:20px;
  }
  .type-icon{ margin-bottom:14px; }
  .type-icon img{ width:100px; height:100px; }
  .type h3{ font-size:16px; margin-bottom:6px; line-height:1.3; }
  .type p{ font-size:12px; line-height:1.4; }

  .gal-head{ margin-top:40px; }
  .gal-head h2{ padding:0 56px 10px; font-size:36px; }
  .gal-tiles{
    padding:30px 56px 0;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
  }
  .gal-item{
    aspect-ratio:206 / 200;
    border-radius:50px;
  }
  .gal-item:nth-child(4){ display:none; }
  /* prostredny stvorec ide zdola */
  .page-galeria .gal-item.reveal:nth-child(2):not(.animate){
    transform:translateY(60px);
  }

  /* ----- GDPR ----- */
  .page-gdpr .hero h1{ font-size:34px; margin-bottom:30px; line-height:1.15; }
  .legal{ padding:70px 56px 10px; }
  .legal-intro{ font-size:26px; line-height:1.3; margin-bottom:24px; }
  .legal h2{ font-size:32px; margin:34px 0 18px; }
  .legal p{ font-size:16px; line-height:1.65; margin-bottom:18px; }
}


/* =============================================
   MOBILE (max-width: 767px)  ->  napr. 369 x 839
   ============================================= */
@media(max-width:767px){

  /* ----- HEADER: cela hlavicka ostava hore ----- */
  header{
    padding:14px 0;
    background:#fff;
    border-radius:0 0 28px 28px;
    box-shadow:0 6px 24px rgba(0,0,0,0.08);
  }
  .header-inner{ padding:0 20px; min-height:36px; }
  .logo-icon{ width:36px; height:36px; position:relative; z-index:20; }
  .burger{ display:flex; position:relative; z-index:20; }
  .socials{ display:none; }

  header.scrolled .logo-icon{
    opacity:1;
    transform:none;
    pointer-events:auto;
  }

  /* ----- MENU PANEL (3 ciary / X) ----- */
  nav{
    position:fixed;
    top:0; left:0; right:0;
    bottom:auto;
    width:auto;
    height:auto;
    transform:translateY(-120%);
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    padding:104px 20px 28px;
    background:#fff;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border-radius:0 0 28px 28px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    transition:transform .35s ease;
    z-index:10;
  }
  nav.open{ transform:translateY(0); }
  nav a{
    display:block;
    padding:28px 0;
    line-height:24px;
    font-size:15px;
    font-weight:600;
    border-top:1px solid var(--light-gray);
  }
  nav a.nav-cta{
    display:block;
    margin-top:46px;
    padding:16px 28px;
    line-height:1.6;
    text-align:center;
    border:none;
  }

  /* ----- SPOLOCNE: HERO ----- */
  .hero{
    flex-direction:column;
    align-items:stretch;
    padding:100px 20px 0;
    gap:28px;
  }
  .hero-left{ text-align:center; }
  .hero .btn,
  .dielna-header .btn,
  .spolupraca-right .btn{
    display:block;
    width:100%;
    text-align:center;
    align-self:stretch;
  }
  .hero-right{ margin:0 -20px; }
  .hero-right img{ height:312px; border-radius:60px; }

  /* ----- SPOLOCNE: SEKCIE ----- */
  .section{ padding:30px 20px; }
  .section h2{
    font-size:27px;
    text-align:center;
    margin-bottom:24px;
  }

  /* ----- animacie na mobile: zdola ----- */
  .fade-left, .fade-right{ transform:translateY(40px); }
  .fade-left.animate, .fade-right.animate{ transform:translateY(0); }

  .reveal.from-left:not(.animate),
  .reveal.from-right:not(.animate),
  .reveal.from-up:not(.animate){
    transform:translateY(40px);
  }

  /* ----- SPOLOCNE: KONTAKT (text -> logo -> socials -> obrazok) ----- */
  .contact-section{
    flex-direction:column;
    align-items:stretch;
    gap:36px;
    padding-bottom:20px;
  }
  .contact-right{ order:1; flex:none; padding-top:24px; }
  .contact-right h2{
    font-size:27px;
    text-align:center;
    margin-bottom:30px;
  }
  .contact-left{ order:2; flex:none; position:static; }
  .contact-left img{
    position:static;
    width:100%;
    height:480px;
    border-radius:50px;
  }
  .contact-grid{ grid-template-columns:1fr; gap:22px; margin-bottom:36px; }
  .contact-item{ gap:16px; align-items:center; }
  .contact-item img{ width:28px; height:28px; margin-top:0; }

  .footer-logo{ gap:10px; margin-bottom:34px; }
  .footer-logo img{ width:72px; height:72px; }
  .footer-logo span{ font-size:34px; line-height:1.05; font-weight:700; }
  .footer-socials{ gap:24px; }
  .footer-socials img{ width:32px; height:32px; }

  /* ----- SPOLOCNE: PATA ----- */
  .bottom-footer{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:16px;
    padding:20px 20px 90px;
    border-top:none;
  }
  .bottom-footer .footer-links{ order:1; flex-wrap:wrap; justify-content:center; }
  .bottom-footer .copy{ order:2; }
  .bottom-footer .wmb{ order:3; }
  .bottom-footer p,
  .bottom-footer .footer-links a,
  .bottom-footer .dot{ font-size:14px; color:var(--dark); }

  /* ----- COOKIE ICON ----- */
  .cookie-icon{ bottom:20px; left:20px; width:46px; height:46px; }

  /* ----- HLAVNA STRANKA ----- */
  .page-home .hero{
    align-items:stretch;
    padding:96px 20px 0;
    gap:30px;
  }
  .page-home .hero h1{
    font-size:32px;
    line-height:1.15;
    margin-bottom:16px;
  }
  .page-home .hero-subtitle{ font-size:17px; margin-bottom:26px; }
  .page-home .hero-right{ margin:0; }
  .page-home .hero-right img{ height:290px; border-radius:40px; }

  .page-home .hero + .section{ padding-top:28px; }
  .page-home #kontakt{ padding-top:4px; }

  .text-block{ text-align:center; }
  .text-block p{
    font-size:15px;
    line-height:1.65;
    margin-bottom:22px;
    max-width:100%;
  }

  /* dielna */
  .dielna{ padding-top:34px; padding-bottom:0; }
  .dielna-header{ margin-bottom:0; }
  .dielna-header h2{ margin-bottom:24px; }
  .dielna-grid{ margin:0; }
  .dielna-row{ grid-template-columns:1fr; }
  .dielna-cell.empty{ display:none; }

  .dielna-cell,
  .dielna-cell.left,
  .dielna-cell.right,
  .dielna-cell.col-left-pos,
  .dielna-cell.col-right-pos{
    width:100%;
    justify-self:stretch;
    padding:44px 0 30px;
    gap:14px;
    align-items:center !important;
    justify-content:flex-start !important;
    text-align:center;
    transform:translateY(30px) !important;
  }
  .dielna-cell.right,
  .dielna-cell.col-right-pos{ flex-direction:column !important; }
  .dielna-cell.left,
  .dielna-cell.col-left-pos{ flex-direction:column-reverse !important; }

  .dielna-cell:not(.empty){
    border-top:none;
    border-bottom:1px solid var(--light-gray);
  }
  .dielna-cell.animate{ transform:translateY(0) !important; }

  .dielna-icon{ width:160px; height:160px; }
  .dielna-text h3{ font-size:18px; }
  .dielna-text p,
  .dielna-cell.left .dielna-text p,
  .dielna-cell.right .dielna-text p{
    max-width:100%;
    font-size:15px;
  }

  /* spolupraca */
  #spolupraca{ padding-top:24px; padding-bottom:0; }
  .spolupraca{
    flex-direction:column;
    align-items:stretch;
    gap:46px;
  }
  .spolupraca-img{ flex:none; display:block; }
  .spolupraca-img img{ flex:none; height:340px; border-radius:40px; }
  .spolupraca-right{ flex:none; padding-top:28px; }
  .spolupraca-right h2{ margin-bottom:24px; }
  .spolupraca-right .btn{ margin-bottom:28px; }
  .step{ padding:24px 0; gap:16px; }
  .step-num{ min-width:28px; }
  .step-content h4{ font-size:17px; }
  .step-content p{ font-size:14px; }

  /* quote */
  #spolupraca + .section{ padding-top:24px; }
  .quote-section{
    flex-direction:column;
    align-items:stretch;
    gap:44px;
  }
  .quote-left{
    flex:none;
    padding:34px 0 0;
    border-bottom:none;
    text-align:center;
  }
  .quote-left p{ font-size:22px; line-height:1.4; }
  .quote-right{ flex:none; }
  .quote-right img{ height:210px; border-radius:40px; }

  /* ----- GALERIA ----- */
  .page-galeria .hero h1{
    font-size:26px;
    line-height:1.2;
    margin-bottom:24px;
    white-space:nowrap;
  }
  .page-galeria #kontakt{ padding-top:50px; padding-bottom:20px; }

  .types{
    padding:30px 20px 0;
    flex-direction:column;
    flex-wrap:nowrap;
    gap:0;
  }
  .type,
  .type:nth-child(n){
    flex:none;
    width:100%;
    padding:40px 0 30px;
  }
  .type:first-child{ padding-top:20px; }
  .type-icon img{ width:160px; height:155px; }
  .type h3{ font-size:18px; margin-bottom:8px; }
  .type p{ font-size:15px; line-height:1.6; }

  .gal-head{ margin-top:44px; }
  .gal-head h2{
    padding:0 12px 8px;
    font-size:19px;
    text-align:left;
  }
  .gal-tiles{
    padding:24px 12px 0;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
  }
  .gal-item{
    aspect-ratio:95 / 100;
    border-radius:26px;
  }
  /* stvorce: lavy zlava, prostredny zdola, pravy sprava */
  .page-galeria .gal-item.from-left:not(.animate){  transform:translateX(-40px); }
  .page-galeria .gal-item.from-right:not(.animate){ transform:translateX(40px); }
  .page-galeria .gal-item.reveal:nth-child(2):not(.animate){ transform:translateY(40px); }

  /* ----- GDPR ----- */
  .page-gdpr .hero h1{
    font-size:30px;
    line-height:1.2;
    margin-bottom:24px;
  }
  .page-gdpr #kontakt{ padding-top:50px; padding-bottom:20px; }

  .legal{ padding:60px 20px 0; }
  .legal-intro{ font-size:22px; line-height:1.3; margin-bottom:20px; }
  .legal h2{ font-size:26px; margin:30px 0 16px; }
  .legal p{ font-size:14px; line-height:1.65; margin-bottom:16px; }
}


/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner{
  position:fixed;
  left:30px;
  bottom:96px;
  width:340px;
  max-height:calc(100vh - 120px);
  overflow-y:auto;
  background:#fff;
  border-radius:28px;
  box-shadow:0 12px 50px rgba(0,0,0,0.16);
  padding:28px 26px 24px;
  text-align:center;
  z-index:1100;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:opacity .35s ease, transform .35s ease, visibility .35s;
}
.cookie-banner.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.cc-icon{
  width:48px;
  height:48px;
  margin:0 auto 16px;
  background:#ffffff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cc-icon img{ width:70px; height:70px; }

.cookie-banner h3{
  font-family:'Inter',sans-serif;
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  color:#1c1c1c;
  margin-bottom:14px;
}
.cookie-banner .cc-text{
  font-size:14px;
  line-height:1.6;
  color:#1c1c1c;
  margin-bottom:22px;
}

.cc-accept{
  display:block;
  width:100%;
  background:#8f9b77;
  color:#fff;
  border:none;
  border-radius:30px;
  padding:15px 20px;
  font-family:'Inter',sans-serif;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:background .3s;
}
.cc-accept:hover{ background:#7d8a66; }

.cc-reject{
  display:block;
  width:100%;
  background:none;
  border:none;
  margin-top:16px;
  font-family:'Inter',sans-serif;
  font-size:16px;
  font-weight:600;
  color:#1c1c1c;
  cursor:pointer;
}
.cc-reject:hover{ color:#767676; }

.cc-settings-link{
  display:inline-block;
  background:none;
  border:none;
  margin-top:14px;
  font-family:'Inter',sans-serif;
  font-size:12px;
  color:#1c1c1c;
  text-decoration:underline;
  cursor:pointer;
}

.cc-settings{ display:none; text-align:left; margin-top:6px; }
.cookie-banner.settings-open .cc-settings{ display:block; }

.cc-option{ margin-top:16px; }
.cc-option label{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  font-weight:700;
  color:#1c1c1c;
  cursor:pointer;
}
.cc-option p{
  font-size:12px;
  line-height:1.5;
  color:#555;
  margin-top:8px;
}
.cc-option input[type="checkbox"]{
  -webkit-appearance:none;
  appearance:none;
  flex:none;
  width:22px;
  height:22px;
  border:2px solid #1c1c1c;
  border-radius:5px;
  background:#fff;
  cursor:pointer;
  transition:background .2s;
}
.cc-option input[type="checkbox"]:checked{
  background:#1c1c1c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/80% no-repeat;
}
.cc-option input[type="checkbox"]:disabled{
  opacity:.55;
  cursor:not-allowed;
}

@media(max-width:900px){
  .cookie-banner{ width:320px; }
}

@media(max-width:767px){
  .cookie-banner{
    left:14px;
    right:14px;
    width:auto;
    bottom:80px;
    max-height:calc(100vh - 110px);
    padding:24px 20px 20px;
    border-radius:26px;
  }
  .cc-icon{ width:44px; height:44px; margin-bottom:14px; }
  .cookie-banner h3{ font-size:19px; }
  .cookie-banner .cc-text{ font-size:13.5px; margin-bottom:18px; }
  .cc-accept{ padding:14px 20px; font-size:15px; }
  .cc-reject{ font-size:15px; margin-top:14px; }
}
