/* ========================================
   STAV SÍTĚ – profi redesign 2026-04-11
   ======================================== */

.stav-wrapper {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

/* ---------- Velký status indicator ---------- */
.stav-status-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 60%);
  border: 3px solid #10b981;
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}
.stav-status-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #34d399 100%);
}
.stav-status-icon {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 12px;
}
.stav-status-title {
  font-size: 2.2rem !important;
  color: #064e3b !important;
  margin: 0 0 10px !important;
  font-weight: 800 !important;
  font-family: Ubuntu, sans-serif;
}
.stav-status-subtitle {
  color: #047857;
  font-size: 1.15rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.stav-status-updated {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Warning variant (planned maintenance) */
.stav-status-box.warning {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 60%);
  border-color: #f59e0b;
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}
.stav-status-box.warning::before {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
}
.stav-status-box.warning .stav-status-title { color: #78350f !important; }
.stav-status-box.warning .stav-status-subtitle { color: #92400e; }
.stav-status-box.warning .stav-status-updated {
  background: rgba(245, 158, 11, 0.15);
  color: #78350f;
}

/* Error variant (detected outage) */
.stav-status-box.error {
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 60%);
  border-color: #da251d;
  box-shadow: 0 20px 50px rgba(218, 37, 29, 0.18);
}
.stav-status-box.error::before {
  background: linear-gradient(90deg, #b70f07 0%, #da251d 50%, #ef4444 100%);
}
.stav-status-box.error .stav-status-title { color: #7f1d1d !important; }
.stav-status-box.error .stav-status-subtitle { color: #991b1b; }
.stav-status-box.error .stav-status-updated {
  background: rgba(218, 37, 29, 0.12);
  color: #7f1d1d;
}

/* ---------- Section title ---------- */
.stav-section-title {
  font-size: 1.8rem !important;
  color: #03274b !important;
  margin: 50px 0 16px !important;
  padding-left: 18px;
  border-left: 5px solid #0061a5;
  line-height: 1.3 !important;
}

.stav-section-lead {
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 28px;
}

/* ---------- Monitoring cards (4 pilíře) ---------- */
.stav-monitoring-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.stav-monitoring-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 28px;
  transition: all 0.25s ease;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.stav-monitoring-card:hover {
  border-color: #0061a5;
  box-shadow: 0 15px 35px rgba(0, 97, 165, 0.1);
  transform: translateY(-3px);
}
.stav-monitoring-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0061a5 0%, #067fd3 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stav-monitoring-icon svg {
  width: 28px;
  height: 28px;
}
.stav-monitoring-body h3 {
  font-size: 1.15rem !important;
  color: #03274b !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}
.stav-monitoring-body p {
  color: #4A5568;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Empty state for planned maintenance ---------- */
.stav-empty-state {
  background: #f1f7ff;
  border: 1px dashed #c4daea;
  border-radius: 14px;
  padding: 38px 32px;
  text-align: center;
  color: #4A5568;
}
.stav-empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.stav-empty-state h3 {
  font-size: 1.25rem !important;
  color: #0061a5 !important;
  margin: 0 0 8px !important;
}
.stav-empty-state p {
  margin: 0;
  line-height: 1.6;
}

/* ---------- 5 kroků řešení ---------- */
.stav-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  counter-reset: stav-step;
}
.stav-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px;
  position: relative;
  text-align: center;
}
.stav-step::before {
  counter-increment: stav-step;
  content: counter(stav-step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  background: #da251d;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-family: Ubuntu, sans-serif;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(218, 37, 29, 0.3);
}
.stav-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #03274b;
  margin: 8px 0 6px;
  line-height: 1.3;
}
.stav-step-desc {
  color: #718096;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}
.stav-steps-cta {
  text-align: center;
  margin-top: 20px;
}
.stav-steps-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0061a5;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border: 2px solid #0061a5;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.stav-steps-cta a:hover {
  background: #0061a5;
  color: #ffffff;
}

/* ---------- Stats (trust signals) ---------- */
.stav-stats {
  background: linear-gradient(135deg, #03274b 0%, #0061a5 100%);
  border-radius: 20px;
  padding: 44px 38px;
  margin: 40px 0;
  box-shadow: 0 20px 50px rgba(3, 39, 75, 0.2);
}
.stav-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stav-stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-family: Ubuntu, sans-serif;
  margin-bottom: 8px;
}
.stav-stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ---------- Info list (jak informujeme) ---------- */
.stav-info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stav-info-list li {
  background: #ffffff;
  border-left: 4px solid #0061a5;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(3, 39, 75, 0.06);
}
.stav-info-list li strong {
  display: block;
  color: #03274b;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.stav-info-list li span {
  color: #4A5568;
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.stav-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.stav-faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(3, 39, 75, 0.06);
}
.stav-faq-item summary {
  cursor: pointer;
  padding: 18px 24px 18px 52px;
  font-weight: 700;
  color: #03274b;
  font-size: 1rem;
  list-style: none;
  position: relative;
}
.stav-faq-item summary::-webkit-details-marker { display: none; }
.stav-faq-item summary::before {
  content: "?";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  background: #0061a5;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  transition: all 0.2s ease;
}
.stav-faq-item[open] summary::before {
  content: "✓";
  background: #10b981;
}
.stav-faq-item p {
  padding: 0 26px 20px 52px;
  margin: 0;
  color: #4A5568;
  line-height: 1.65;
}

/* ---------- Velký kontakt box ---------- */
.stav-contact-box {
  background: linear-gradient(135deg, #03274b 0%, #0061a5 100%);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  color: #ffffff;
  margin: 50px 0 20px;
  box-shadow: 0 25px 60px rgba(3, 39, 75, 0.25);
  position: relative;
  overflow: hidden;
}
.stav-contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #da251d;
}
.stav-contact-eyebrow {
  display: inline-block;
  background: #da251d;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.stav-contact-box h2 {
  color: #ffffff !important;
  font-size: 2rem !important;
  margin: 0 0 14px !important;
}
.stav-contact-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  line-height: 1.6;
  max-width: 680px;
}
.stav-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #da251d;
  color: #ffffff;
  padding: 20px 40px;
  border-radius: 14px;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 15px 35px rgba(218, 37, 29, 0.35);
  font-family: Ubuntu, sans-serif;
}
.stav-contact-phone:hover {
  background: #b70f07;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(218, 37, 29, 0.5);
}
.stav-contact-email {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 16px;
}
.stav-contact-email a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}
.stav-contact-hours {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.stav-contact-hours strong {
  color: #ffffff;
}

/* ---------- Hero image ---------- */
.stav-hero-image {
  margin-bottom: 36px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(3, 39, 75, 0.2);
}
.stav-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Responsivita ---------- */
@media (max-width: 900px) {
  .stav-wrapper { margin: 20px auto 40px; }
  .stav-status-box { padding: 32px 22px; }
  .stav-status-title { font-size: 1.5rem !important; }
  .stav-status-icon { font-size: 3.5rem; }
  .stav-section-title { font-size: 1.4rem !important; }
  .stav-monitoring-grid { grid-template-columns: 1fr; gap: 16px; }
  .stav-steps { grid-template-columns: repeat(2, 1fr); }
  .stav-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stav-stat-number { font-size: 2rem; }
  .stav-info-list { grid-template-columns: 1fr; }
  .stav-contact-box { padding: 36px 22px; }
  .stav-contact-box h2 { font-size: 1.5rem !important; }
  .stav-contact-phone { font-size: 1.25rem; padding: 16px 28px; }
}
@media (max-width: 520px) {
  .stav-steps { grid-template-columns: 1fr; }
}
