/* =========================================================
   MAC ATTACK AUTO SALES
   EXTENDED WARRANTY PAGE
========================================================= */

.warranty-page {
  background: #070708;

  color: #fff;
}



/* =========================================================
   HERO
========================================================= */

.warranty-hero {
  position: relative;

  min-height: 430px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .98) 0%,
      rgba(0, 0, 0, .88) 38%,
      rgba(0, 0, 0, .42) 64%,
      rgba(0, 0, 0, .16) 100%
    ),
    url("images/hero/camaro-warranty-hero.webp")
    center right / cover
    no-repeat;

  border-bottom:
    2px solid
    var(--red, #ef2b2d);
}


.warranty-hero-overlay {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 88% 40%,
      rgba(237, 28, 43, .21),
      transparent 30%
    );

  pointer-events: none;
}


.warranty-hero-content {
  position: relative;

  z-index: 2;

  width: min(1400px, 100%);

  margin: 0 auto;

  padding:
    60px
    55px;

  box-sizing: border-box;
}


.warranty-kicker {
  display: block;

  margin-bottom: 8px;

  color:
    var(--red, #ef2b2d);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: .18em;

  text-transform: uppercase;
}


.warranty-hero h1 {
  max-width: 700px;

  margin: 0;

  color: #fff;

  font-size:
    clamp(
      52px,
      6vw,
      88px
    );

  font-weight: 950;

  letter-spacing: -.055em;

  line-height: .9;
}


.warranty-hero h1 strong {
  display: block;

  color:
    var(--red, #ef2b2d);

  font-weight: 950;
}


.warranty-hero h2 {
  max-width: 700px;

  margin:
    18px
    0
    12px;

  color: #fff;

  font-size:
    clamp(
      18px,
      1.8vw,
      27px
    );

  font-weight: 900;
}


.warranty-hero p {
  max-width: 660px;

  margin: 0;

  color: #d5d5d8;

  font-size: 16px;

  line-height: 1.65;
}


.warranty-hero-features {
  max-width: 720px;

  margin-top: 23px;

  display: flex;
  flex-wrap: wrap;

  gap: 9px 22px;
}


.warranty-hero-features span {
  color: #ededee;

  font-size: 12px;
  font-weight: 800;
}



/* =========================================================
   GENERAL SECTION HEADING
========================================================= */

.warranty-section {
  padding:
    65px
    45px;
}


.warranty-dark-section {
  background:
    linear-gradient(
      180deg,
      #09090a,
      #101012
    );
}


.warranty-section-heading {
  width:
    min(
      1350px,
      100%
    );

  margin:
    0
    auto
    35px;
}


.warranty-section-heading > span {
  display: block;

  margin-bottom: 7px;

  color:
    var(--red, #ef2b2d);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .17em;

  text-transform: uppercase;
}


.warranty-section-heading h2 {
  margin: 0;

  color: inherit;

  font-size:
    clamp(
      30px,
      3vw,
      43px
    );

  font-weight: 950;

  letter-spacing: -.025em;
}


.warranty-section-heading p {
  max-width: 720px;

  margin:
    10px
    0
    0;

  color: #a9a9ae;

  font-size: 14px;

  line-height: 1.6;
}



/* =========================================================
   COVERAGE CARDS
========================================================= */

.warranty-coverage-grid {
  width:
    min(
      1350px,
      100%
    );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 16px;
}


.warranty-coverage-card {
  position: relative;

  overflow: hidden;

  min-height: 405px;

  padding: 28px;

  border:
    1px solid
    #343438;

  border-radius: 8px;

  background:
    linear-gradient(
      145deg,
      #19191c,
      #101012
    );

  box-shadow:
    0
    15px
    35px
    rgba(0, 0, 0, .25);
}


.warranty-coverage-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background:
    #48484c;
}


.warranty-card-featured::before {
  background:
    #479b85;
}


.warranty-card-red::before {
  background:
    var(--red, #ef2b2d);
}


.warranty-card-icon {
  width: 59px;
  height: 59px;

  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    2px solid
    var(--red, #ef2b2d);

  border-radius: 16px;

  transform:
    rotate(45deg);
}


.warranty-card-icon svg {
  width: 31px;
  height: 31px;

  fill: none;

  stroke: #fff;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;

  transform:
    rotate(-45deg);
}


.warranty-card-featured
.warranty-card-icon {
  border-color:
    #479b85;
}


.coverage-level {
  display: block;

  margin-bottom: 7px;

  color:
    var(--red, #ef2b2d);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .08em;

  text-transform: uppercase;
}


.warranty-card-featured
.coverage-level {
  color:
    #57af96;
}


.warranty-coverage-card h3 {
  margin:
    0
    0
    12px;

  color: #fff;

  font-size: 23px;
  font-weight: 950;

  line-height: 1.05;
}


.warranty-coverage-card p {
  margin:
    0
    0
    18px;

  color: #aaaab0;

  font-size: 13px;

  line-height: 1.55;
}


.warranty-coverage-card ul {
  margin: 0;

  padding: 0;

  list-style: none;
}


.warranty-coverage-card li {
  position: relative;

  margin-bottom: 11px;

  padding-left: 19px;

  color: #e1e1e3;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;
}


.warranty-coverage-card li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color:
    var(--red, #ef2b2d);

  font-weight: 950;
}


.warranty-card-featured li::before {
  color:
    #57af96;
}


.warranty-disclaimer {
  width:
    min(
      1350px,
      100%
    );

  margin:
    17px
    auto
    0;

  color: #85858a;

  font-size: 10px;

  text-align: center;
}



/* =========================================================
   INFO PANELS
========================================================= */

.warranty-info-section {
  padding:
    20px
    45px
    65px;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 18px;

  width:
    min(
      1440px,
      100%
    );

  margin: 0 auto;

  box-sizing: border-box;
}


.warranty-info-panel {
  padding: 27px;

  border:
    1px solid
    #343438;

  border-radius: 8px;

  background:
    #131315;
}


.warranty-panel-title {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-bottom: 24px;

  padding-bottom: 12px;

  border-bottom:
    1px solid
    var(--red, #ef2b2d);
}


.warranty-panel-title > span {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border:
    2px solid
    var(--red, #ef2b2d);

  border-radius: 50%;

  color:
    var(--red, #ef2b2d);

  font-size: 13px;
  font-weight: 950;
}


.warranty-panel-title h2 {
  margin: 0;

  color: #fff;

  font-size: 20px;
  font-weight: 950;

  text-transform: uppercase;
}



/* BENEFITS */

.warranty-benefit-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    22px
    27px;
}


.warranty-benefit strong {
  display: block;

  margin-bottom: 5px;

  color: #fff;

  font-size: 12px;

  text-transform: uppercase;
}


.warranty-benefit p {
  margin: 0;

  color: #a9a9ad;

  font-size: 11px;

  line-height: 1.45;
}



/* COMPONENTS */

.warranty-component-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  border-top:
    1px solid
    #343438;

  border-left:
    1px solid
    #343438;
}


.warranty-component-grid span {
  min-height: 59px;

  display: flex;
  align-items: center;

  padding: 10px 14px;

  border-right:
    1px solid
    #343438;

  border-bottom:
    1px solid
    #343438;

  color: #eee;

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;
}


.warranty-component-grid span::before {
  content: "✓";

  margin-right: 8px;

  color:
    var(--red, #ef2b2d);

  font-size: 13px;
}


.component-disclaimer {
  margin:
    15px
    0
    0;

  color: #77777c;

  font-size: 9px;

  text-align: center;
}



/* =========================================================
   FAQ
========================================================= */

.warranty-faq-section {
  padding:
    65px
    45px;

  background: #f3f3f5;

  color: #1b1b1e;
}


.warranty-faq-grid {
  width:
    min(
      1350px,
      100%
    );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 15px;
}


.warranty-faq-grid article {
  padding: 24px;

  border:
    1px solid
    #d9d9dd;

  border-radius: 7px;

  background: #fff;
}


.warranty-faq-grid h3 {
  margin:
    0
    0
    8px;

  color: #1b1b1e;

  font-size: 15px;
  font-weight: 950;
}


.warranty-faq-grid p {
  margin: 0;

  color: #5d5d63;

  font-size: 12px;

  line-height: 1.55;
}



/* =========================================================
   CTA
========================================================= */

.warranty-cta {
  width:
    min(
      1350px,
      calc(100% - 90px)
    );

  margin:
    45px
    auto;

  padding:
    28px
    31px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;

  box-sizing: border-box;

  border:
    1px solid
    var(--red, #ef2b2d);

  border-radius: 7px;

  background:
    linear-gradient(
      120deg,
      #171719,
      #0b0b0c
    );
}


.warranty-cta > div:first-child {
  padding-left: 18px;

  border-left:
    4px solid
    var(--red, #ef2b2d);
}


.warranty-cta span {
  color:
    var(--red, #ef2b2d);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .12em;
}


.warranty-cta h2 {
  margin:
    3px
    0;

  color: #fff;

  font-size:
    clamp(
      25px,
      2.4vw,
      37px
    );

  font-weight: 950;
}


.warranty-cta p {
  margin: 0;

  color: #aaaab0;

  font-size: 12px;
}


.warranty-cta-buttons {
  display: flex;

  gap: 12px;

  flex-shrink: 0;
}


.warranty-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding:
    0
    22px;

  border-radius: 5px;

  font-size: 11px;
  font-weight: 900;

  text-decoration: none;
  text-transform: uppercase;
}


.warranty-button span {
  color: inherit;

  font-size: 19px;
}


.warranty-button-red {
  border:
    1px solid
    var(--red, #ef2b2d);

  background:
    var(--red, #ef2b2d);

  color: #fff;
}


.warranty-button-red:hover {
  background: #c81720;
}


.warranty-button-outline {
  border:
    1px solid
    var(--red, #ef2b2d);

  color: #fff;
}


.warranty-button-outline:hover {
  background:
    var(--red, #ef2b2d);
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .warranty-coverage-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .warranty-info-section {
    grid-template-columns: 1fr;
  }


  .warranty-cta {
    align-items: flex-start;

    flex-direction: column;
  }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .warranty-hero {
    min-height: 570px;

    align-items: flex-end;

    background-position:
      65% center;
  }


  .warranty-hero-content {
    padding:
      45px
      22px;
  }


  .warranty-hero h1 {
    font-size: 53px;
  }


  .warranty-hero p {
    font-size: 14px;
  }


  .warranty-hero-features {
    flex-direction: column;
  }


  .warranty-section {
    padding:
      50px
      18px;
  }


  .warranty-coverage-grid {
    grid-template-columns: 1fr;
  }


  .warranty-coverage-card {
    min-height: 0;
  }


  .warranty-info-section {
    padding:
      15px
      18px
      50px;
  }


  .warranty-benefit-grid {
    grid-template-columns: 1fr;
  }


  .warranty-component-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .warranty-faq-section {
    padding:
      50px
      18px;
  }


  .warranty-faq-grid {
    grid-template-columns: 1fr;
  }


  .warranty-cta {
    width:
      calc(
        100% - 36px
      );

    margin:
      30px
      auto;

    padding: 24px 20px;
  }


  .warranty-cta-buttons {
    width: 100%;

    flex-direction: column;
  }


  .warranty-button {
    width: 100%;

    box-sizing: border-box;
  }

}