
/*   TADY ZACINA CSS INDEXU (FANDA 20.11.2025) */

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    padding-left: 0;
  }

  .feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.5s ease-out forwards;
    animation-delay: var(--delay);
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  @keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
  }

  /* 1. úroveň */
  .level-1 {
    margin-left: 0;
    width: 100%;
    width: 50%;
    background-color: rgba(155, 155, 155, 0.6);
  }

  /* 2. úroveň */
  .level-2 {
    width: 60%;
    background-color: rgba(123, 123, 123, 0.6);
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    padding: 0.45rem 0.7rem;
  }

  /* 3. úroveň */
  .level-3 {
    width: 70%;
    background-color: rgba(100,100,100,0.6);
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    padding: 0.4rem 0.65rem;
  }

  .level-1,
.level-2,
.level-3 {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

    .level-1:hover {
    background-color: rgba(155, 155, 155, 0.8);
    }

    .level-2:hover {
    background-color: rgba(123, 123, 123, 0.8);
    }

    .level-3:hover {
    background-color: rgba(100, 100, 100, 0.8);
    }

  .feature-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  .feature-btn:hover {
    background: rgba(255,255,255,0.1);
  }

  /* mobilní úpravy */
  @media (max-width: 600px) {
    .level-1 {
      font-size: 1.3rem;
      padding: 0.4rem 0.6rem;
    }
    .level-2 {
      margin-left: 0.8cm;
      width: calc(100% - 0.8cm);
      font-size: 1.3rem;
      padding: 0.4rem 0.6rem;
    }
    .level-3 {
      margin-left: 1.6cm;
      width: calc(100% - 1.6cm);
      font-size: 1.3rem;
      padding: 0.4rem 0.6rem;
    }
  }


  /* ================== pocitadlo ==================== */
  
.counter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}
.counter-container {
  padding: 1rem 1.5rem;
  display: inline-block;
}

/* --- Cifry --- */
.digits {
  display: flex;
}
.digit {
  position: relative;
  width: 1ch;
  height: 1.2em;
  overflow: hidden;
  margin: 0 0.2ch;
}

/* --- Animace --- */
@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-100%);opacity: 0; }
}
.new-digit {
  position: absolute;
  top: 100%;
  left: 0;
  animation: slideIn 0.8s ease-in-out forwards;
}
.old-digit {
  position: absolute;
  top: 0;
  left: 0;
  animation: slideOut 0.8s ease-in-out forwards;
}

/* --- Popisek --- */
.counter-label {
  font-size: 1rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.digit span {
    color: #fff !important;
}

/* popisek – bílá barva */
.counter-label {
    color: #fff !important;
}

.time-box-wrapper {
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.1);
    text-align: center;
    border: 2px solid white;
  }

  .time-box-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 25px;
    font-family: "poppins", sans-serif;
  }

  .time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .time-tile {
    background-color: #fff3f3;
    border-radius: 12px;
    padding: 21px 10px;
    box-shadow: inset 0 0 10px rgba(211, 47, 47, 0.1);
    font-family: "poppins", sans-serif;
  }

  .time-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b31c1c;
  }

  .time-label {
    font-size: 0.85rem;
    color: #333;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  @media (max-width: 576px) {
    .time-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .timeline-horizontal-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 40px 10px 20px;
  position: relative;
  scroll-snap-type: x mandatory;
}

.timeline-horizontal-item {
  position: relative;
  min-width: 280px;
  background: #fff;
  border: 2px solid #b11817;
  border-radius: 8px;
  padding: 20px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.timeline-horizontal-item:hover {
  transform: translateY(-5px);
}

.timeline-horizontal-item .hexa {
  width: 16px;
  height: 10px;
  background: #b11817;
  margin: 0 auto 10px;
  position: relative;
}

.timeline-horizontal-item .hexa:before,
.timeline-horizontal-item .hexa:after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.timeline-horizontal-item .hexa:before {
  top: -4px;
  border-bottom: 4px solid #b11817;
}

.timeline-horizontal-item .hexa:after {
  bottom: -4px;
  border-top: 4px solid #b11817;
}

.timeline-horizontal-item .flag {
  font-weight: bold;
  background: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-horizontal-item .time {
  background: #b11817;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-horizontal-item .desc {
  font-size: 0.95rem;
  color: #333;
  text-align: justify;
}

/* Responsivita */
@media (max-width: 768px) {
  .timeline-horizontal-item {
    min-width: 80%;
  }
}

/* timeline */

.process-timeline {
  background: #fafafa;
}
.timeline-title {
  color: #b31c1c;
  font-size: 2rem;
}
.timeline-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
  padding-bottom: 20px;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e0e0e0;
  z-index: 1;
}
.step {
  position: relative;
  width: 16%;
  text-align: center;
  z-index: 2;
}
.step .icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #b31c1c;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.step .card {
  position: relative;
  margin-top: 55px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

/* nejprve větší trojúhelník pro border */
.step .card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid rgba(0,0,0,0.1); /* barva okraje */
  z-index: 1;
}

/* pak menší bílý trojúhelník pro výplň */
.step .card::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff; /* barva pozadí karty */
  z-index: 2;
}

.step .card h4 {
  margin: 0 0 8px;
  color: #b31c1c;
  font-weight: 600;
  font-size: 1.1rem;
}
.step .card p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}
.step:hover .card {
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  .timeline-steps {
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .step {
    width: 45%;
    margin-bottom: 40px;
  }
  .timeline-steps::before { display: none; }
}
@media (max-width: 576px) {
  .step { width: 100%; }
}

/* odpočítávadlo */

@media (min-width: 768px) {
  .counter-custom-wrapper {
    margin-top: -115px;
    margin-right: -75px;
    margin-left: 18px;
  }
}

@media (max-width: 767px) {
  .counter-custom-wrapper {
    margin-top: 30px;
  }
}

.counter-custom-wrapper h6{
    color: #b31c1c;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 1.4em;
    margin-top: 1.4em;

    font-size: 30px;
    font-family: "poppins", sans-serif;
}

.counter-custom-wrapper .btn-outline-danger{
    color: #b11817;
    background-color: transparent;
    background-image: none;
    border-color: #b11817;
}

.counter-custom-wrapper .btn-outline-danger:hover {
  color: #fff;
  background-color: #b11817;
  border-color: #b11817;
}

.counter-custom-wrapper .icon-bordered{
    border: none;
}

.counter-custom-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15),
              0 2px 2px rgba(0, 0, 0, 0.15),
              0 4px 4px rgba(0, 0, 0, 0.15),
              0 8px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  font-family: "poppins", sans-serif;
}

.counter-custom-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 20px;
  font-family: "poppins", sans-serif;
}

.counter-custom-value {
  border-radius: 5px;
  padding: 20px 15px;
  width: 100px;
  background-color: #b11817;
  color: white;
  text-align: center;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15),
              0 2px 2px rgba(0, 0, 0, 0.15),
              0 4px 4px rgba(0, 0, 0, 0.15),
              0 8px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.counter-custom-value:hover {
  transform: scale(1.05);
}

.counter-text {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .counter-custom-value {
    width: 80px;
    padding: 15px 10px;
  }

  .counter-text {
    font-size: 24px;
  }

  .counter-custom-box h6 {
    font-size: 22px;
  }
}

:root{
	--brand:#b31c1c;              /* základní červeň */
	--muted:#6c757d;              /* text podtitulku */
}
.features{padding-block:3rem}
.feature-card{
	text-align:center;
	padding:2rem 1rem;
	height:100%;
	border:1px solid rgba(0,0,0,.06);
	border-radius:10px;
	background:#fff;
	transition:transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
	border-color: #efd8d8;
}
.feature-card:hover{
	transform:translateY(-2px);
}
.feat-num{
	font-weight:800;
	font-size:2.75rem;
	letter-spacing:.02em;
	line-height:1;
	margin-bottom:.35rem;
}
.feat-title{
	font-size:1.1rem;
	font-weight:700;
	letter-spacing:.08em;
	text-transform:uppercase;
	margin-bottom:.4rem;
	color:#1f1f1f;
}
.feat-text{
	color: black;
	font-size: 1rem;
	margin:0;
}

/* odstíny #b31c1c pro 01..06 */
.v1{ color:#d94444; }  /* světlejší */
.v2{ color:#c93636; }
.v3{ color:#b31c1c; }  /* základ */
.v4{ color:#9f1919; }
.v5{ color:#8a1515; }
.v6{ color:#761212; }  /* tmavší */

/* mobilní mezery */
@media (max-width: 575.98px){
	.feature-card{ padding:1.5rem 1rem }
	.feat-num{ font-size:2.25rem }
}

.feat-title {
	font-size:1.1rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: .8rem; /* místo pro čáru */
	color: #1f1f1f;
	position: relative;
	display: inline-block; /* aby čára nebyla přes celou šířku */
}

.feat-title::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	background-color: #b31c1c;
	margin: .4rem auto 0; /* odsazení od textu a zarovnání doprostřed */
	border-radius: 2px;
	opacity: 0.8;
}

/* Minimal, lokální styly (scoped k #proc) */

#proc .k-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	padding: 2rem 1rem;
	height: 100%;
	border: 1px solid rgba(0,0,0,.06);
	border-top-color: rgba(0, 0, 0, 0.06);
	border-right-color: rgba(0, 0, 0, 0.06);
	border-bottom-color: rgba(0, 0, 0, 0.06);
	border-left-color: rgba(0, 0, 0, 0.06);
	border-radius: 10px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
	border-color: #efd8d8;
}
#proc .k-card:hover{ transform: translateY(-4px);}

#proc .k-num{
	font-weight:700; font-size:25px; letter-spacing:.6px; color:#b31c1c;
	border:1px solid #f0d6d6; border-radius:999px; padding:6px 10px; line-height:1;
	background: #fff;
}
#proc .k-title{
	font-weight:600; font-size:18px; color:#1f1f1f;
}
#proc .k-line{
	width:100%; height:2px; background:linear-gradient(90deg,#b31c1c,rgba(179,28,28,.25));
	border-radius:999px; margin-top:6px;
}

#proc .p-block{
	display: flex;
	flex-direction: column;
	padding: 2rem 1rem;
	height: 100%;
	border: 1px solid rgba(0,0,0,.06);
	border-top-color: rgba(0, 0, 0, 0.06);
	border-right-color: rgba(0, 0, 0, 0.06);
	border-bottom-color: rgba(0, 0, 0, 0.06);
	border-left-color: rgba(0, 0, 0, 0.06);
	border-radius: 10px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
	border-color: #efd8d8;
}

#proc .p-block:hover{ transform: translateY(-4px);}

#proc h6{
	font-weight: 700;
	font-size: 25px;
	letter-spacing: .6px;
	color: #b31c1c;
	line-height: 1;
	background: #fff;
	margin: 0px;
}

#proc .p-head{
	display:flex; align-items:center; gap:10px; margin-bottom:10px;
}
#proc .p-dot{
	width:10px; height:10px; border-radius:50%; background:#b31c1c; display:inline-block;
}
#proc p{ text-align: justify; }

.decorative-icon {
position: absolute;
left: -10%; /* posune ven vlevo */
bottom: -20%; /* posune ven dolů */
font-size: 230px; /* velká ikona – uprav podle velikosti dlaždice */
opacity: 0.15;
color: currentColor; /* nebo si nastav jinou barvu */
pointer-events: none;
z-index: 0;
}

.icon-box-sup {
position: relative;
z-index: 1;
overflow: hidden; /* ořízne ikonu, co je mimo */
min-height: 100%;
}

/* Upravené tlačítko v přesném rohu */
.corner-button {
position: absolute;
right: 0;
bottom: 0;
width: 48px;
height: 48px;
background-color: #b11817;
color: white;
border-top-left-radius: 10px; /* jen jeden roh */
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
box-shadow: -2px -2px 6px rgba(0,0,0,0.1);
transition: background-color 0.3s;
z-index: 2;
}

.corner-button:hover {
background-color: #730302;
color: white;
}

#co h6{
	color: #b11817;
}

#co li{
	color: black;
}