/* ===================================================================
   ELEKRA — style.css
   Farby: #6db96e (primárna zelená) / #309a49 (tmavá zelená)
   Black / White, sivá podklad #ececec. Font: Open Sans.
=================================================================== */

:root{
  --green: #6db96e;
  --green-dark: #309a49;
  --black: #16181b;
  --white: #ffffff;
  --grey-bg: #ececec;
  --grey-line: #dcdcdc;
  --text: #24262a;
  --text-light: #5b5f66;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22,24,27,.08);
  --shadow-lg: 0 20px 50px rgba(22,24,27,.16);
  --max: 1220px;
  --speed: .25s;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; }
body{
  margin:0;
  font-family:"Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:"Open Sans", sans-serif; font-weight:800; line-height:1.18; margin:0 0 .5em; color:var(--black); }
p{ margin:0 0 1em; }
.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
@media (max-width:820px){ section{ padding:64px 0; } }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:all var(--speed) ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--green); color:var(--black); border-color:var(--green); }
.btn-primary:hover{ background:var(--green-dark); border-color:var(--green-dark); color:var(--white); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.7); }
.btn-outline:hover{ background:var(--white); color:var(--black); border-color:var(--white); }
.btn-dark{ background:var(--black); color:var(--white); border-color:var(--black); }
.btn-dark:hover{ background:var(--green-dark); border-color:var(--green-dark); }

.eyebrow{
  display:inline-block; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  font-size:13px; color:var(--green-dark); margin-bottom:14px;
}
.section-head{ max-width:720px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.section-head h2::after{ content:""; display:block; width:60px; height:4px; background:var(--green); border-radius:2px; margin-top:16px; }
.section-head.center h2::after{ margin-left:auto; margin-right:auto; }
.section-head p{ color:var(--text-light); font-size:17px; }

/* ---------------- Header ---------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(22,24,27,0); transition:background var(--speed) ease, box-shadow var(--speed) ease;
  padding:18px 0;
}
.site-header.solid{ background:var(--black); box-shadow:0 2px 20px rgba(0,0,0,.25); padding:12px 0; }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand img{ height:34px; width:auto; }
.brand .logo-color{ display:none; }
.site-header.solid .logo-inverz{ display:block; }
.site-header.solid .logo-color{ display:none; }

.nav-desktop{ display:flex; align-items:center; gap:34px; }
.nav-desktop a{
  color:var(--white); font-weight:600; font-size:15px; opacity:.88; position:relative; padding:6px 0;
}
.nav-desktop a:hover{ opacity:1; }
.nav-desktop a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--green);
  transform:scaleX(0); transform-origin:left; transition:transform var(--speed) ease;
}
.nav-desktop a:hover::after{ transform:scaleX(1); }

.header-right{ display:flex; align-items:center; gap:18px; }
.lang-switch{ display:flex; align-items:center; gap:2px; background:rgba(255,255,255,.12); border-radius:999px; padding:4px; }
.lang-switch a{
  color:rgba(255,255,255,.75); font-size:12.5px; font-weight:700; padding:6px 11px; border-radius:999px; letter-spacing:.03em;
}
.lang-switch a.active{ background:var(--green); color:var(--black); }
.lang-switch a:hover{ color:var(--white); }

.burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.burger span{ width:24px; height:2px; background:var(--white); display:block; border-radius:2px; }

.nav-mobile{
  display:none; position:fixed; inset:0; background:var(--black); z-index:1100;
  flex-direction:column; padding:26px 24px; overflow-y:auto;
}
.nav-mobile.open{ display:flex; }
.nav-mobile-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:40px; }
.nav-mobile-top img{ height:30px; }
.nav-mobile-close{ background:none; border:0; color:var(--white); font-size:30px; line-height:1; cursor:pointer; }
.nav-mobile a{ color:var(--white); font-size:22px; font-weight:700; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.nav-mobile .lang-switch{ margin-top:26px; align-self:flex-start; }

@media (max-width:960px){
  .nav-desktop{ display:none; }
  .burger{ display:flex; }
  .header-right .lang-switch{ display:none; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  color:var(--white); overflow:hidden; background:var(--black);
}
.hero video, .hero .hero-fallback{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(16,20,17,.72) 0%, rgba(16,20,17,.55) 40%, rgba(16,20,17,.88) 100%);
}
.hero-content{ position:relative; z-index:2; padding-top:110px; }
.hero-content h1{
  color:var(--white); font-size:clamp(34px,5.6vw,64px); max-width:920px; margin-bottom:24px;
}
.hero-content h1 em{ font-style:normal; color:var(--green); }
.hero-content p.lead{ font-size:clamp(17px,2vw,20px); max-width:620px; color:rgba(255,255,255,.88); margin-bottom:40px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{
  position:relative; z-index:2; margin-top:80px; display:grid; grid-template-columns:repeat(4,1fr);
  gap:20px; border-top:1px solid rgba(255,255,255,.18); padding-top:32px;
}
.hero-stats .stat b{ display:block; font-size:clamp(26px,3vw,36px); color:var(--green); font-weight:800; }
.hero-stats .stat span{ font-size:13.5px; color:rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.04em; }
@media (max-width:820px){
  .hero-stats{ grid-template-columns:repeat(2,1fr); margin-top:52px; }
}
.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:2;
  color:rgba(255,255,255,.7); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.scroll-cue span{ width:1px; height:34px; background:rgba(255,255,255,.5); position:relative; overflow:hidden; }
.scroll-cue span::after{ content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--green); animation:scrollcue 1.8s ease infinite; }
@keyframes scrollcue{ 0%{top:-100%;} 60%{top:100%;} 100%{top:100%;} }

/* ---------------- Services ---------------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:960px){ .services-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .services-grid{ grid-template-columns:1fr;} }
.service-card{
  background:var(--white); border:1px solid var(--grey-line); border-radius:var(--radius);
  padding:34px 28px; transition:transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.service-icon{
  width:54px; height:54px; border-radius:14px; background:var(--green);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px; color:var(--black);
  transition:background var(--speed) ease, transform var(--speed) ease;
}
.service-icon svg{ width:28px; height:28px; }
.service-card{ border-top:3px solid transparent; }
.service-card:hover{ border-top-color:var(--green); }
.service-card:hover .service-icon{ background:var(--green-dark); transform:scale(1.06); }
.service-card h3{ font-size:19px; margin-bottom:10px; }
.service-card p{ color:var(--text-light); font-size:15px; margin:0; }

.services-intro{ background:linear-gradient(180deg, #eef8ef 0%, #eaf6eb 100%); }

/* ---------------- Process ---------------- */
.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; counter-reset:step; }
@media (max-width:820px){ .process-grid{ grid-template-columns:1fr; } }
.process-step{ position:relative; padding-left:0; }
.process-num{
  width:56px; height:56px; border-radius:50%; background:var(--green);
  color:var(--black); font-size:20px; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.process-step h3{ font-size:20px; margin-bottom:10px; }
.process-step p{ color:var(--text-light); font-size:15.5px; }

/* ---------------- Qualifications ---------------- */
.quali-wrap{ background:var(--black); color:var(--white); position:relative; overflow:hidden; }
.quali-wrap .section-head h2{ color:var(--white); }
.quali-wrap .section-head p{ color:rgba(255,255,255,.7); }
.quali-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius); overflow:hidden; margin-bottom:44px; }
@media (max-width:820px){ .quali-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .quali-grid{ grid-template-columns:1fr;} }
.quali-item{ background:#1c1f23; padding:28px 24px; display:flex; gap:16px; align-items:flex-start; }
.quali-item svg{ width:24px; height:24px; flex:none; color:var(--green); margin-top:2px; }
.quali-item span{ font-weight:600; font-size:15.5px; }
.quali-cta{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background:linear-gradient(120deg, rgba(109,185,110,.14), rgba(109,185,110,.04)); border:1px solid rgba(109,185,110,.3);
  border-radius:var(--radius); padding:30px 32px;
}
.quali-cta p{ margin:0; font-size:17px; font-weight:600; max-width:520px; }
.quali-cta p small{ display:block; font-weight:400; font-size:14px; color:rgba(255,255,255,.65); margin-top:4px; }

/* ---------------- About ---------------- */
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:start; }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:36px; } }
.about-photo{ position:relative; border-radius:var(--radius); overflow:visible; }
.about-photo img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); position:relative; z-index:1; }
.about-photo::after{ content:""; position:absolute; left:16px; top:16px; right:-16px; bottom:-16px; border:4px solid var(--green); border-radius:var(--radius); z-index:0; }
.about-badge{
  position:absolute; left:-18px; bottom:-18px; background:var(--green); color:var(--black);
  padding:18px 22px; border-radius:var(--radius); box-shadow:var(--shadow-lg); font-weight:800;
}
.about-badge b{ display:block; font-size:30px; }
.about-badge span{ font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; }
.about-block h3{ font-size:20px; margin-bottom:10px; color:var(--green-dark); }
.about-block{ margin-bottom:30px; }
.about-block p{ color:var(--text-light); }

/* ---------------- Referencie preview / grid ---------------- */
.ref-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:960px){ .ref-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .ref-grid{ grid-template-columns:1fr;} }
.ref-card{
  position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; cursor:pointer;
  background:#111; box-shadow:var(--shadow);
}
.ref-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.ref-card:hover img{ transform:scale(1.08); }
.ref-card{ border-bottom:4px solid var(--green); }
.ref-card .overlay{
  position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(12,28,15,.9) 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:22px; color:var(--white);
}
.ref-card .tag{
  display:inline-block; background:var(--green); color:var(--black); font-size:11.5px; font-weight:800;
  text-transform:uppercase; letter-spacing:.04em; padding:4px 10px; border-radius:999px; margin-bottom:10px; align-self:flex-start;
}
.ref-card h3{ color:var(--white); font-size:17px; margin:0 0 4px; }
.ref-card .count{ font-size:13px; color:rgba(255,255,255,.75); }
.ref-card .play{
  position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center;
}
.ref-card .play svg{ width:14px; height:14px; color:var(--black); margin-left:2px; }
.ref-more{ text-align:center; margin-top:44px; }

/* ---------------- Contact ---------------- */
.contact-wrap{ background:linear-gradient(180deg, #eaf6eb 0%, #eef8ef 100%); }
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }
.contact-card{ background:var(--white); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); margin-bottom:18px; }
.contact-card h3{ font-size:16px; text-transform:uppercase; letter-spacing:.04em; color:var(--green-dark); margin-bottom:16px; }
.contact-person{ display:flex; align-items:center; gap:16px; margin-bottom:6px; }
.contact-avatar{
  width:52px; height:52px; border-radius:50%; background:var(--green); color:var(--black);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; flex:none;
}
.contact-line{ display:flex; align-items:center; gap:10px; font-size:15px; padding:6px 0; }
.contact-line svg{ width:18px; height:18px; color:var(--green-dark); flex:none; }
.contact-meta{ font-size:13.5px; color:var(--text-light); margin-top:14px; line-height:1.8; }

.form-card{ background:var(--white); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:540px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:7px; color:var(--text); }
.field input, .field textarea{
  width:100%; border:1.5px solid var(--grey-line); border-radius:8px; padding:13px 15px; font-family:inherit;
  font-size:15px; color:var(--text); background:var(--white); transition:border-color var(--speed) ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--green); }
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:12.5px; color:var(--text-light); margin-top:14px; }
.form-status{ margin-top:14px; font-size:14px; font-weight:600; display:none; }
.form-status.show{ display:block; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }
.btn[disabled]{ opacity:.65; cursor:not-allowed; }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--black); color:rgba(255,255,255,.75); padding:64px 0 26px; border-top:4px solid var(--green); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:540px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid img{ height:30px; margin-bottom:16px; }
.footer-grid p{ font-size:14px; color:rgba(255,255,255,.6); }
.footer-col h4{ color:var(--white); font-size:14px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.footer-col a{ display:block; font-size:14.5px; color:rgba(255,255,255,.68); padding:5px 0; }
.footer-col a:hover{ color:var(--green); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:22px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:12px; font-size:13px; color:rgba(255,255,255,.5);
}

/* ---------------- Page hero (referencie page) ---------------- */
.page-hero{
  background:var(--black); color:var(--white); padding:170px 0 70px; position:relative; overflow:hidden;
  border-bottom:4px solid var(--green);
}
.page-hero::before{
  content:""; position:absolute; right:-120px; top:-120px; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle, rgba(109,185,110,.55), transparent 70%);
}
.page-hero::after{
  content:""; position:absolute; left:-160px; bottom:-180px; width:360px; height:360px; border-radius:50%;
  background:radial-gradient(circle, rgba(48,154,73,.35), transparent 70%);
}
.page-hero h1{ color:var(--white); font-size:clamp(30px,4.4vw,48px); position:relative; z-index:1; }
.page-hero p{ color:rgba(255,255,255,.75); max-width:600px; font-size:17px; position:relative; z-index:1; }
.breadcrumb{ font-size:13px; color:rgba(255,255,255,.55); margin-bottom:18px; position:relative; z-index:1; }
.breadcrumb a{ color:rgba(255,255,255,.8); }
.breadcrumb a:hover{ color:var(--green); }

.filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:40px; }
.filter-btn{
  border:1.5px solid var(--grey-line); background:var(--white); padding:9px 18px; border-radius:999px;
  font-size:13.5px; font-weight:700; cursor:pointer; color:var(--text-light); transition:all var(--speed) ease;
}
.filter-btn.active, .filter-btn:hover{ background:var(--green); border-color:var(--green); color:var(--black); }

/* ---------------- Lightbox ---------------- */
.lightbox{
  position:fixed; inset:0; background:rgba(10,11,12,.96); z-index:2000; display:none;
  align-items:center; justify-content:center; padding:20px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{ position:relative; width:100%; max-width:1100px; }
.lightbox-media{ position:relative; width:100%; aspect-ratio:16/10; background:#000; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.lightbox-media img, .lightbox-media video{ width:100%; height:100%; object-fit:contain; background:#000; }
.lightbox-close{
  position:absolute; top:-52px; right:0; background:none; border:0; color:var(--white); font-size:34px; cursor:pointer; line-height:1;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:0; color:var(--white);
  width:48px; height:48px; border-radius:50%; cursor:pointer; font-size:22px; display:flex; align-items:center; justify-content:center;
  transition:background var(--speed) ease;
}
.lightbox-nav:hover{ background:var(--green); color:var(--black); }
.lightbox-prev{ left:-8px; } .lightbox-next{ right:-8px; }
@media (max-width:820px){ .lightbox-prev{ left:6px;} .lightbox-next{ right:6px;} .lightbox-close{ top:-44px; } }
.lightbox-caption{ text-align:center; color:rgba(255,255,255,.75); font-size:14px; margin-top:16px; }
.lightbox-count{ color:var(--green); font-weight:700; }

/* Utility */
.badge-green{ background:var(--green); color:var(--black); }
.text-center{ text-align:center; }
.mt-lg{ margin-top:60px; }
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

.whatsapp-fab{
  position:fixed; right:22px; bottom:22px; z-index:900; width:56px; height:56px; border-radius:50%;
  background:var(--green); color:var(--black); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg);
}
.whatsapp-fab svg{ width:26px; height:26px; }

/* Cookie consent banner */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:950;
  background:var(--black); border-top:3px solid var(--green); padding:16px 24px;
}
.cookie-banner[hidden]{ display:none; }
.cookie-banner-inner{ max-width:1200px; margin:0 auto; }
.cookie-banner-main{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.cookie-banner p{ color:rgba(255,255,255,.85); font-size:13.5px; line-height:1.6; margin:0; max-width:640px; }
.cookie-banner p a{ color:var(--green); font-weight:700; }
.cookie-banner-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.cookie-banner .btn{ white-space:nowrap; padding:10px 20px; font-size:13px; flex-shrink:0; }
.cookie-banner-prefs{
  margin-top:16px; padding-top:16px; border-top:1px solid rgba(255,255,255,.15);
  display:flex; flex-direction:column; gap:8px; max-width:420px;
}
.cookie-banner-prefs[hidden]{ display:none; }
.cookie-toggle-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  color:var(--black); font-size:14px; padding:5px 0;
}
.cookie-toggle-row input{ width:18px; height:18px; accent-color:var(--green); flex-shrink:0; }
.cookie-banner .cookie-toggle-row{ color:rgba(255,255,255,.9); }
.ck-consent-saved-msg{ color:var(--green-dark); font-weight:700; font-size:13.5px; }
.ck-consent-saved-msg[hidden]{ display:none; }
.cookie-banner .ck-consent-saved-msg{ color:var(--green); }
body:has(.cookie-banner:not([hidden])) .whatsapp-fab{ bottom:96px; }
@media (max-width:640px){
  .cookie-banner-main{ flex-direction:column; align-items:flex-start; }
  .cookie-banner-actions{ width:100%; }
  .cookie-banner-actions .btn{ flex:1; }
}
.whatsapp-fab:hover{ background:var(--green-dark); color:var(--white); }
