/* ==========================================================================
   Warranty Page — Modern, Minimal & Clean (#9E0C17 on White)
   ========================================================================== */

.warranty-page {
  background: #ffffff;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.warranty-hero {
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.warranty-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

.warranty-hero__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  background: #fff5f5;
  border: 1px solid #fee2e2;
}

.warranty-hero__sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #9E0C17;
}

.warranty-hero__sparkle svg {
  width: 15px;
  height: 15px;
}

.warranty-hero__eyebrow {
  color: #9E0C17;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.warranty-hero__title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.warranty-hero__title-accent {
  color: #9E0C17;
}

.warranty-hero__desc {
  margin: 0 0 28px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}

.warranty-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Button styles */
.warranty-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.warranty-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.warranty-btn__icon svg {
  width: 18px;
  height: 18px;
}

.warranty-btn__arrow {
  font-size: 16px;
  transition: transform 180ms ease;
}

.warranty-btn:hover .warranty-btn__arrow {
  transform: translateX(3px);
}

.warranty-btn--primary {
  background: #9E0C17;
  color: #ffffff;
  border: 1.5px solid #9E0C17;
}

.warranty-btn--primary:hover {
  background: #800a12;
  border-color: #800a12;
  transform: translateY(-2px);
}

.warranty-btn--secondary {
  background: #ffffff;
  color: #9E0C17;
  border: 1.5px solid #9E0C17;
}

.warranty-btn--secondary:hover {
  background: #fff5f5;
  transform: translateY(-2px);
}

.warranty-hero__visual {
  width: 100%;
}

.warranty-hero__image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.warranty-hero__image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------------------
   Shared Section Intro
   -------------------------------------------------------------------------- */
.warranty-section-intro {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 48px);
  text-align: center;
}

.warranty-section-eyebrow {
  margin: 0 0 12px;
  color: #9E0C17;
  font-size: 13.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.warranty-section-title {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.warranty-section-lead {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   2. 4 Pillars of Warranty Commitment
   -------------------------------------------------------------------------- */
.warranty-commitments {
  padding: clamp(56px, 6vw, 80px) 0;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-commitments__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.warranty-commitment-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #ffffff;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgb(15 23 42 / 0.02);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warranty-commitment-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.05);
}

.warranty-commitment-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff5f5;
  border: 1px solid #fee2e2;
  color: #9E0C17;
  margin-bottom: 18px;
}

.warranty-commitment-card__icon svg {
  width: 24px;
  height: 24px;
}

.warranty-commitment-card__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.warranty-commitment-card__desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. Coverage Matrix Section (2 Comparison Cards)
   -------------------------------------------------------------------------- */
.warranty-coverage {
  padding: clamp(56px, 6vw, 88px) 0;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-coverage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.warranty-coverage-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #e8e8e8;
  border-radius: 24px;
  background: #ffffff;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 4px 20px rgb(15 23 42 / 0.03);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warranty-coverage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.warranty-coverage-card--covered {
  border-color: #bbf7d0;
  background: #fafdfa;
}

.warranty-coverage-card--covered:hover {
  border-color: #86efac;
}

.warranty-coverage-card--excluded {
  border-color: #fed7aa;
  background: #fffdfb;
}

.warranty-coverage-card--excluded:hover {
  border-color: #fdba74;
}

.warranty-coverage-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-coverage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #dcfce7;
  color: #16a34a;
  flex-shrink: 0;
}

.warranty-coverage-card__icon svg {
  width: 26px;
  height: 26px;
}

.warranty-coverage-card__icon--excluded {
  background: #ffedd5;
  color: #ea580c;
}

.warranty-coverage-card__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.warranty-coverage-card__badge--covered {
  background: #dcfce7;
  color: #15803d;
}

.warranty-coverage-card__badge--excluded {
  background: #ffedd5;
  color: #c2410c;
}

.warranty-coverage-card__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.warranty-coverage-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.warranty-coverage-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.55;
}

.warranty-coverage-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.warranty-coverage-card__check svg {
  width: 17px;
  height: 17px;
}

.warranty-coverage-card__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #ea580c;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   4. 4 Claim Steps Section
   -------------------------------------------------------------------------- */
.warranty-steps {
  padding: clamp(56px, 6vw, 88px) 0;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: 32px;
}

.warranty-step-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.02);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warranty-step-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.05);
}

.warranty-step-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.warranty-step-card__num {
  font-size: 22px;
  font-weight: 850;
  color: #9E0C17;
  letter-spacing: -0.04em;
}

.warranty-step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid #fee2e2;
  color: #9E0C17;
}

.warranty-step-card__icon svg {
  width: 20px;
  height: 20px;
}

.warranty-step-card__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.warranty-step-card__desc {
  margin: 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.warranty-steps__notice {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 16px 24px;
  background: #ffffff;
  border: 1.5px solid #fee2e2;
  box-shadow: 0 4px 16px rgb(158 12 23 / 0.04);
}

.warranty-steps__notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #9E0C17;
  flex-shrink: 0;
}

.warranty-steps__notice-icon svg {
  width: 22px;
  height: 22px;
}

.warranty-steps__notice p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   5. FAQ Section
   -------------------------------------------------------------------------- */
.warranty-faq {
  padding: clamp(56px, 6vw, 84px) 0;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.warranty-faq__container {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(36px, 5vw, 64px);
}

.warranty-faq__intro {
  position: sticky;
  top: 96px;
}

.warranty-faq__eyebrow {
  margin: 0 0 10px;
  color: #9E0C17;
  font-size: 13.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.warranty-faq__title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.warranty-faq__lead {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.warranty-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.warranty-faq__item {
  border: 1.5px solid #e8e8e8;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.warranty-faq__item[open] {
  border-color: #9E0C17;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgb(158 12 23 / 0.05);
}

.warranty-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-size: 15.5px;
  font-weight: 750;
  line-height: 1.35;
  user-select: none;
}

.warranty-faq__summary::-webkit-details-marker {
  display: none;
}

.warranty-faq__item[open] .warranty-faq__summary {
  color: #9E0C17;
}

.warranty-faq__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), color 200ms ease;
}

.warranty-faq__chevron svg {
  width: 18px;
  height: 18px;
}

.warranty-faq__item[open] .warranty-faq__chevron {
  transform: rotate(180deg);
  color: #9E0C17;
}

.warranty-faq__answer {
  padding: 0 24px 22px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.65;
}

.warranty-faq__answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .warranty-hero__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .warranty-hero__content {
    max-width: 100%;
  }
  .warranty-commitments__grid,
  .warranty-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .warranty-faq__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .warranty-faq__intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .warranty-hero {
    padding: 36px 0 40px;
  }
  .warranty-hero__title {
    font-size: 26px;
  }
  .warranty-hero__desc {
    font-size: 14.5px;
    margin-bottom: 22px;
  }
  .warranty-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .warranty-btn {
    width: 100%;
  }
  .warranty-commitments__grid,
  .warranty-coverage__grid,
  .warranty-steps__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .warranty-commitment-card,
  .warranty-coverage-card,
  .warranty-step-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .warranty-steps__notice {
    padding: 14px 16px;
  }
  .warranty-faq__summary {
    padding: 16px 18px;
    font-size: 14.5px;
  }
  .warranty-faq__answer {
    padding: 0 18px 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .warranty-btn,
  .warranty-btn__arrow,
  .warranty-commitment-card,
  .warranty-coverage-card,
  .warranty-step-card,
  .warranty-faq__item,
  .warranty-faq__chevron {
    transition: none !important;
  }
}
