/* ===== WARRANTY PAGE — Modern Redesign ===== */

/* Breadcrumb overlay + mobile title-clearance come from the shared
   `hero-overlay-page` class (components/breadcumb). This page just supplies
   its own background. */
.warranty {
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
}

/* ---------- SPLIT SECTION: intro (left) + warranty cards (right) ---------- */
.warranty .war-split {
  padding: 48px 20px;
}

/* Single centered column: intro on top, cards stacked below. */
.warranty .war-split__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ----- Left column: heading, paragraphs, CTA (left-aligned) ----- */
.warranty .war-split__left .section-title {
  text-align: left;
  /* .section-title ships margin:0; add a gap so the heading isn't flush
     against the paragraph below it. */
  margin-bottom: 16px;
}

.warranty .war-split__left p {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 20px;
  text-align: left;
}

/* CTA button via .btn-cta-green in main.css. */

/* ---------- WARRANTY CARDS (stacked below the intro) ---------- */
.warranty .war-split__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* A rounded box. overflow:hidden clips the banner to the corners. */
.warranty .war-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(16, 39, 84, 0.10);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.warranty .war-card:hover {
  box-shadow: 0 16px 44px rgba(16, 39, 84, 0.18);
  transform: translateY(-3px);
}

/* Colored banner on top: slim, centered, uppercase name. */
.warranty .war-card__banner {
  padding: 10px 24px;
  text-align: center;
}

.warranty .war-card--gray .war-card__banner { background: #939598; }
.warranty .war-card--blue .war-card__banner { background: var(--brand-primary, #1d4288); }
/* Darker brand green (CTA green) so white banner text clears contrast. */
.warranty .war-card--green .war-card__banner { background: var(--brand-secondary-cta, #2f8a37); }

.warranty .war-card__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

@media (max-width: 640px) {
  .warranty .war-card__title {
    font-size: 0.95rem;
  }

  /* Full-width CTA on mobile. */
  .warranty .war-split__left .btn-cta-green {
    display: flex;
    width: 100%;
  }
}

/* White body. */
.warranty .war-card__body {
  padding: 24px 28px 28px;
}

/* Free (Promise) plan: big FREE mark beside its features so the base plan
   stands out instead of reading bare. */
.warranty .war-card--gray .war-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 48px;
  padding: 32px 28px;
}

.warranty .war-card__freemark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
}

.warranty .war-card__freemark-word {
  font-family: var(--font-primary, 'BebasNeue', sans-serif);
  font-size: 4.5rem;
  color: var(--brand-secondary-cta, #2f8a37);
  letter-spacing: 0.02em;
}

.warranty .war-card__freemark-note {
  margin-top: 4px;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b6d70;
}

/* Feature checklist: content-width columns centered as a group (kept close
   together in the middle of the card, not spread edge to edge). */
.warranty .war-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto;
  justify-content: center;
  gap: 12px 48px;
}

@media (min-width: 620px) {
  .warranty .war-card__features {
    grid-template-columns: repeat(2, auto);
  }
}

.warranty .war-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}

.warranty .war-card__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  fill: var(--brand-secondary, #3eb049);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
  .warranty .war-split {
    padding: 72px 40px;
  }
}

@media (min-width: 992px) {
  .warranty .war-split {
    padding: 80px 40px;
  }
}
