/*
 * ATV Centrum — zaruka.css — Stránka Záruka
 * Závisí na: base.css, components.css
 */

/* ============================================
   WARRANTY TABLES — přehled záruky
   ============================================ */
.warranty-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.warranty-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}
.warranty-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.warranty-card-body .warranty-card-note {
  margin-top: auto;
}
.warranty-card-header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.warranty-card-header--cfmoto {
  background: linear-gradient(135deg, #177d8b 0%, var(--teal) 100%);
}
.warranty-card-header--goes {
  background: linear-gradient(135deg, #d4550a 0%, #ff671f 100%);
}
.warranty-card-header img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.warranty-card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.warranty-card-body {
  padding: 0;
}
.warranty-table {
  width: 100%;
  border-collapse: collapse;
}
.warranty-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.warranty-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.5;
}
.warranty-table tr:last-child td {
  border-bottom: none;
}
.warranty-table td strong {
  color: var(--navy);
}
.warranty-table td small {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}
.warranty-table td:nth-child(3) strong {
  color: var(--teal);
}
.warranty-card-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
.warranty-card-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 1px;
}
.warranty-card-note p {
  margin: 0;
}
.warranty-card-note strong {
  color: var(--navy);
}

/* ============================================
   CONDITIONS — podmínky záruky
   ============================================ */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.condition-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}
.condition-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
  border-color: var(--teal-light);
}
.condition-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  transition: all var(--transition-base);
}
.condition-card:hover .condition-icon {
  background: var(--teal);
  color: var(--white);
}
.condition-icon svg {
  width: 26px;
  height: 26px;
}
.condition-card h3 {
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.condition-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   COVERAGE — co pokrývá / nepokrývá
   ============================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 680px;
  margin: 0 auto;
}
.coverage-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.coverage-card-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.coverage-card-header svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.coverage-card-header h3 {
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.coverage-card--yes .coverage-card-header {
  background: var(--teal);
  color: var(--white);
}
.coverage-card--no .coverage-card-header {
  background: var(--red, #E53E3E);
  color: var(--white);
}
.coverage-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: var(--white);
}
.coverage-list li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.5;
}
.coverage-list li:last-child {
  border-bottom: none;
}
.coverage-card--yes .coverage-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.coverage-card--no .coverage-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red, #E53E3E);
  flex-shrink: 0;
}
.coverage-note {
  padding: 16px 28px;
  background: var(--gray-50);
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
  border-top: 1px solid var(--gray-100);
}

/* ============================================
   CLAIM — jak reklamovat
   ============================================ */
.claim-steps {
  max-width: 720px;
  margin: 0 auto;
}
.claim-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.claim-step:last-child {
  border-bottom: none;
}
.claim-step-num {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  opacity: .35;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}
.claim-step-content h3 {
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.claim-step-content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}
.claim-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: #FFF8E6;
  border: 1px solid #E08C00;
  border-radius: 12px;
}
.claim-warning svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #E08C00;
  margin-top: 1px;
}
.claim-warning p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}
.claim-warning strong {
  color: #B05000;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .warranty-tables { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .conditions-grid { grid-template-columns: 1fr; }
  .warranty-table th,
  .warranty-table td { padding: 12px 16px; font-size: 13px; }
  .warranty-card-header { padding: 20px 20px; }
  .claim-step { gap: 16px; }
  .claim-step-num { font-size: 28px; width: 40px; }
}
