/* =========================================================
   Odklidime.cz – INDEX (bez menu, bez loaderů)
   ========================================================= */

:root{
  --blue:#0066cc;
  --blue2:#004c99;
  --navy:#003366;

  --green:#1e7c31;
  --green2:#186a29;

  --bg:#f5f7fa;
  --panel:#ffffff;
  --muted:#64748b;
  --text:#0f172a;
  --line:rgba(15, 23, 42, 0.10);

  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow2: 0 14px 40px rgba(0,0,0,0.12);

  --r12:12px;
  --r16:16px;
  --r20:20px;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */
.hero{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.16), transparent 60%),
              linear-gradient(135deg, var(--blue), var(--blue2));
  color:#fff;
  padding: 42px 0 34px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 26px;
  align-items: start;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight:700;
  font-size: 13px;
  letter-spacing:.2px;
  margin: 0 0 14px;
}

.hero-title{
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.06;
  margin: 0 0 12px;
  font-weight: 900;
}

.hero-subtitle{
  font-size: 1.1rem;
  color: rgba(255,255,255,.92);
  margin: 0 0 18px;
  max-width: 620px;
}

.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.hero-trust{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-pill{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight:800;
  font-size: 13px;
}

/* Buttons */
.btn-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: var(--green);
  color:#fff;
  font-weight:800;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  text-decoration:none;
  border: none;
  box-shadow: none;
  transition: transform .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn-cta:hover{
  background: var(--green2);
  transform: translateY(-1px);
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight:800;
  font-size: 16px;
  text-decoration:none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  transition: background .2s ease, transform .15s ease;
}
.btn-secondary:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

/* Hero side card */
.hero-card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.hero-card-top h2{
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 900;
}
.hero-card-top p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 13px;
}

.hero-card-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 0 0 14px;
}
.hc-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  font-size: 14px;
}
.hc-dot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.70);
  margin-top: 6px;
  flex: 0 0 auto;
}

.hero-card-bottom{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  font-size: 14px;
}
.btn-mini.outline{ background: transparent; }

/* Sections */
.services,
.how,
.partners-section{
  padding: 54px 0;
}

.services{ background: var(--panel); }
.how{ background: #f0f4f8; }

.section-head{
  text-align:center;
  margin: 0 0 26px;
}
.section-head h2{
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 950;
  color: var(--navy);
}
.section-head p{
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-weight: 600;
}

/* Service card */
.service-grid{
  display:flex;
  justify-content:center;
  gap: 18px;
}
.service-grid.single{
  justify-content:center;
}
.service-card{
  width: min(980px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: var(--text);
  overflow:hidden;
  display:grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid rgba(15,23,42,.06);
}

/* Media: nech dole 0, aby link opticky navazoval pod fotkou */
.service-media{
  background: linear-gradient(135deg, rgba(0,102,204,.10), rgba(0,76,153,.10));
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 14px 0;
}
.service-media img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

/* FIX: badge níž v kartě (ne nalepené na text) */
.service-body{
  padding: 18px 18px 10px;
  display:flex;
  flex-direction:column;
  min-height: 240px; /* můžeš doladit 220–280 podle pocitu */
}
.service-body h3{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 950;
  color: var(--navy);
}
.service-body p{
  margin: 0 0 14px;
  color: #334155;
  font-weight: 600;
}
.service-badges{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top:auto;   /* posune badge dolů */
  padding-top: 10px; /* mezera nad badge */
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,102,204,.08);
  color: rgba(0,76,153,1);
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(0,102,204,.12);
}
.badge.subtle{
  background: rgba(30,124,49,.08);
  border-color: rgba(30,124,49,.12);
  color: rgba(24,106,41,1);
}

/* Zobrazit detail → POD FOTKOU (levý sloupec) */
.service-action{
  grid-column: 1 / 2;          /* levý sloupec */
  padding: 10px 18px 18px;     /* zarovnání s kartou */
  display:flex;
  justify-content:flex-start;
  text-align:left;
}
.service-action .service-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 950;
  color: var(--blue2);
}

/* Inline note */
.inline-note{
  margin: 18px auto 0;
  width: min(980px, 100%);
  background: rgba(30,124,49,.08);
  border: 1px solid rgba(30,124,49,.12);
  color: #0f3d1b;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 650;
}

/* CTA row */
.cta-row{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* How cards */
.how-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how-card{
  background:#fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.06);
}
.how-num{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  background: rgba(0,102,204,.10);
  color: rgba(0,76,153,1);
  margin-bottom: 10px;
}
.how-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 950;
  color: var(--navy);
}
.how-card p{
  margin: 0;
  color: #334155;
  font-weight: 600;
}

/* Partners */
.partners-section{
  background: #fff;
  text-align:center;
}
.partners-section h2{
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 950;
}
.logo-slider-wrapper{
  width: 100%;
  overflow: hidden;
}
.logo-slider{
  display:flex;
  gap: 40px;
  align-items:center;
  animation: slideLogos 28s linear infinite;
  width: max-content;
  padding: 10px 0;
}
.logo-slider img{
  height: 58px;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform .2s ease, opacity .2s ease;
}
.logo-slider img:hover{
  transform: translateY(-2px) scale(1.04);
  opacity: 1;
}
@keyframes slideLogos{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer */
.site-footer{
  background: var(--navy);
  color:#fff;
  padding: 22px 0;
  margin-top: 0;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer p{
  margin:0;
  color: rgba(255,255,255,.92);
  font-weight: 650;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links span{
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 14px;
}
#cookieConsent{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #0f172a;
  color: #fff;
  padding: 14px 14px;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}
#cookieConsent .cc-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
#cookieConsent .cc-text{
  font-weight: 600;
  opacity: .92;
}
#cookieConsent .cc-actions{
  display:flex;
  gap: 10px;
}
#cookieConsent button{
  border: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
#ccNecessary{ background: rgba(255,255,255,.14); color:#fff; }
#ccMarketing{ background: #1e7c31; color:#fff; }
#ccMarketing:hover{ background:#186a29; }


/* RESPONSIVE */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card{ order: 2; }
}
@media (max-width: 820px){
  .hero-cta .btn-cta,
  .hero-cta .btn-secondary{ width: 100%; }

  .service-card{ grid-template-columns: 1fr; }
  .service-media img{ height: 220px; }

  /* na mobile vrať padding u media + link pod fotkou normálně v toku */
  .service-media{ padding: 14px; }
  .service-action{ grid-column: 1 / -1; }

  .how-grid{ grid-template-columns: 1fr; }

  .logo-slider-wrapper{ overflow-x: auto; }
  .logo-slider{ animation: none; }
}
@media (max-width: 520px){
  .container{ width: min(var(--container), calc(100% - 28px)); }
}

/* Link hover pro "Zobrazit detail →" */
.service-link{
  text-decoration: none;
}
.service-link:hover{
  text-decoration: underline;
}

/* Hover pro mini tlačítka v hero-card */
.btn-mini:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.btn-mini{
  transition: background .2s ease, transform .15s ease;
}
