/* ==========================================================
   GRIMETECH — UNDERCOATING PAGE

   MOBILE FIRST
   Base:   Mobile / Small Screens
   Medium: 769px+
   Large:  1100px+

   main.css handles global:
   - Colors
   - Fonts
   - Header / footer
   - Main page structure

   GOOD TIMES:
   Used only for the main hero heading.
========================================================== */


/* ==========================================================
   PAGE BASE
========================================================== */

body.undercoatingPage * {
  box-sizing: border-box;
}

body.undercoatingPage main {
  margin-top: 0;
}

body.undercoatingPage h2,
body.undercoatingPage h3,
body.undercoatingPage h4,
body.undercoatingPage p,
body.undercoatingPage span,
body.undercoatingPage a,
body.undercoatingPage button,
body.undercoatingPage li,
body.undercoatingPage strong {
  font-family: var(--ff);
}

body.undercoatingPage h1,
body.undercoatingPage h2,
body.undercoatingPage h3,
body.undercoatingPage h4,
body.undercoatingPage p {
  margin-top: 0;
}

body.undercoatingPage a {
  text-decoration: none;
}

body.undercoatingPage a:focus-visible,
body.undercoatingPage button:focus-visible {
  outline: 2px solid var(--grimeGreen);
  outline-offset: 4px;
}

body.undercoatingPage #what-is-undercoating,
body.undercoatingPage #pricing {
  scroll-margin-top: calc(var(--headerHeight) + 15px);
}


/* ==========================================================
   PAGE BACKGROUND
   MOBILE
========================================================== */

body.undercoatingPage .background {
  background-image: url('../img/undercoatingBg.jpg');

  /*
   * Make the image taller than the viewport.
   * This creates vertical crop room so we can push
   * Holden's face above the visible area.
   */
  background-size: auto 130%;

  /*
   * Anchor toward the bottom of the photo so we see
   * more vehicle/frame and less of the person.
   */
  background-position: center bottom;

  background-repeat: no-repeat;
}

body.undercoatingPage .bg-cover {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.68) 100%
    );
}

/* ==========================================================
   SHARED SECTION STYLING
========================================================== */

body.undercoatingPage .services-section {
  width: 100%;

  padding:
    48px
    18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  border-bottom:
    1px solid rgba(0, 0, 0, 0.28);
}

body.undercoatingPage .section-heading {
  width: 100%;
  max-width: 760px;

  margin:
    0 auto
    30px;

  text-align: center;
}

body.undercoatingPage .section-heading h2 {
  margin-bottom: 10px;

  font-family: var(--ff);

  font-size: 1.9rem;
  line-height: 1.15;
}

body.undercoatingPage .section-heading p {
  max-width: 68ch;

  margin: 0 auto;

  color: #c4c4c4;

  font-size: 0.95rem;
  line-height: 1.65;
}

body.undercoatingPage .section-kicker,
body.undercoatingPage .eyebrow,
body.undercoatingPage .small-label {
  display: block;

  margin-bottom: 8px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* ==========================================================
   BUTTONS
========================================================== */

body.undercoatingPage .btn-primary,
body.undercoatingPage .btn-secondary {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    12px
    20px;

  border-radius: 10px;

  font-family: var(--ff);

  font-size: 0.95rem;
  font-weight: 800;

  line-height: 1.2;

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

body.undercoatingPage .btn-primary {
  background-color: var(--grimeGreen);
  color: var(--gray10);

  border:
    1px solid var(--grimeGreen);

  box-shadow:
    0 8px 24px
    rgba(66, 232, 133, 0.18);
}

body.undercoatingPage .btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(66, 232, 133, 0.28);
}

body.undercoatingPage .btn-secondary {
  background-color:
    rgba(0, 0, 0, 0.18);

  color: var(--grimeGreen);

  border:
    1px solid
    rgba(66, 232, 133, 0.55);
}

body.undercoatingPage .btn-secondary:hover {
  background-color: var(--grimeGreen);

  color: var(--gray10);

  border-color: var(--grimeGreen);
}


/* ==========================================================
   HERO
   MOBILE
========================================================== */

body.undercoatingPage .hero {
  position: relative;

  width: 100%;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    calc(var(--headerHeight) + 52px)
    18px
    52px;

  text-align: center;
}

body.undercoatingPage .hero-text {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 360px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  /* Slight visual drop without pushing the content too low. */
  transform: translateY(20px);
}

body.undercoatingPage .hero .eyebrow {
  display: block;

  width: 100%;
  margin:
    0 auto
    11px;

  color: var(--grimeGreen);

  font-size: 0.70rem;
  font-weight: 800;
  line-height: 1.25;

  letter-spacing: 0.13em;

  text-align: center;
  text-transform: uppercase;

  text-shadow:
    1px 2px 5px
    rgba(0, 0, 0, 0.90);
}


/* GOOD TIMES ONLY HERE */

body.undercoatingPage .hero h1 {
  width: 100%;
  max-width: 100%;

  margin:
    0 auto
    16px;

  color: white;

  font-family: var(--ffh);

  /* Keeps UNDERCOATING centered and safely inside iPhone widths. */
  font-size: clamp(1.85rem, 9.3vw, 2.35rem);
  font-weight: normal;

  line-height: 1;
  letter-spacing: -0.015em;

  text-align: center;
  text-transform: uppercase;

  white-space: nowrap;

  text-shadow:
    2px 3px 8px
    rgba(0, 0, 0, 0.90);
}

body.undercoatingPage .hero p {
  width: 100%;
  max-width: 340px;

  margin:
    0 auto
    26px;

  color: white;

  font-family: var(--ff);

  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.6;

  text-align: center;

  text-shadow:
    1px 2px 6px
    rgba(0, 0, 0, 0.95);
}

body.undercoatingPage .hero-actions {
  width: 100%;
  max-width: 280px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 10px;
}

body.undercoatingPage .hero-actions .btn-primary,
body.undercoatingPage .hero-actions .btn-secondary {
  width: 100%;
  min-height: 50px;
}


/* ==========================================================
   WOOLWAX EXPLAINED SECTION
   MOBILE
========================================================== */

body.undercoatingPage .woolwax-explained {
  background-color: var(--secondaryGrey);
}


/* ==========================================================
   MAIN WOOLWAX INTRO
========================================================== */

body.undercoatingPage .woolwax-intro {
  width: 100%;
  max-width: 1120px;

  margin:
    0 auto
    52px;

  display: grid;

  grid-template-columns: 1fr;

  gap: 16px;
}


/* LEFT EXPLANATION */

body.undercoatingPage .woolwax-intro-copy {
  padding: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 20, 20, 0.55),
      rgba(20, 20, 20, 0.28)
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .woolwax-label {
  display: block;

  margin-bottom: 10px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

body.undercoatingPage .woolwax-intro-copy h3 {
  max-width: 550px;

  margin-bottom: 16px;

  font-family: var(--ff);

  font-size: 1.65rem;
  line-height: 1.2;
}

body.undercoatingPage .woolwax-intro-copy p {
  margin-bottom: 14px;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.65;
}

body.undercoatingPage .woolwax-intro-copy p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   WHAT MAKES WOOLWAX DIFFERENT
========================================================== */

body.undercoatingPage .woolwax-difference {
  padding: 24px;

  background-color:
    rgba(14, 14, 14, 0.52);

  border:
    1px solid
    rgba(66, 232, 133, 0.28);

  border-radius: 16px;
}

body.undercoatingPage .woolwax-difference > h3 {
  margin-bottom: 20px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 1.35rem;
  line-height: 1.2;
}

body.undercoatingPage .woolwax-difference-item {
  display: grid;

  grid-template-columns:
    36px
    1fr;

  gap: 12px;

  align-items: start;

  padding:
    14px
    0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);
}

body.undercoatingPage .woolwax-difference-item:first-of-type {
  padding-top: 0;
}

body.undercoatingPage .woolwax-difference-item:last-child {
  padding-bottom: 0;

  border-bottom: 0;
}

body.undercoatingPage .difference-mark {
  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  color: var(--grimeGreen);

  background-color:
    rgba(66, 232, 133, 0.08);

  border:
    1px solid
    rgba(66, 232, 133, 0.32);

  border-radius: 50%;

  font-family: var(--ff);

  font-size: 0.7rem;
  font-weight: 800;
}

body.undercoatingPage .woolwax-difference-item strong {
  display: block;

  margin-bottom: 4px;

  color: white;

  font-family: var(--ff);

  font-size: 1rem;
  font-weight: 800;

  line-height: 1.3;
}

body.undercoatingPage .woolwax-difference-item p {
  margin: 0;

  color: #bdbdbd;

  font-family: var(--ff);

  font-size: 0.88rem;
  line-height: 1.5;
}


/* ==========================================================
   WHY RUST PROTECTION MATTERS
========================================================== */

body.undercoatingPage .woolwax-benefits-heading {
  width: 100%;
  max-width: 720px;

  margin:
    0 auto
    28px;

  text-align: center;
}

body.undercoatingPage .woolwax-benefits-heading h2 {
  margin-bottom: 10px;

  font-family: var(--ff);

  font-size: 1.75rem;
  line-height: 1.2;
}

body.undercoatingPage .woolwax-benefits-heading p {
  max-width: 600px;

  margin: 0 auto;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.6;
}


/* ==========================================================
   WOOLWAX BENEFITS
   MOBILE: ICON ABOVE TEXT
========================================================== */

body.undercoatingPage .woolwax-benefit-grid {
  width: 100%;
  max-width: 1120px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.undercoatingPage .woolwax-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 14px;

  padding: 22px;

  background-color:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 12px;

  text-align: center;

  transition:
    transform 0.15s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

body.undercoatingPage .woolwax-benefit:hover {
  transform: translateY(-2px);

  border-color:
    rgba(66, 232, 133, 0.25);

  background-color:
    rgba(255, 255, 255, 0.035);
}

body.undercoatingPage .woolwax-benefit-icon {
  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 64px;
}

body.undercoatingPage .woolwax-benefit-icon img {
  display: block;

  width: 56px;
  height: 56px;

  object-fit: contain;
  object-position: center;
}

body.undercoatingPage .woolwax-benefit-copy {
  width: 100%;
}

body.undercoatingPage .woolwax-benefit-copy h3 {
  margin-bottom: 7px;

  font-family: var(--ff);

  font-size: 1.08rem;
  line-height: 1.3;
}

body.undercoatingPage .woolwax-benefit-copy p {
  margin: 0;

  color: #bdbdbd;

  font-family: var(--ff);

  font-size: 0.9rem;
  line-height: 1.55;
}


/* ==========================================================
   WOOLWAX SUMMARY
========================================================== */

body.undercoatingPage .woolwax-summary {
  width: 100%;
  max-width: 900px;

  margin:
    42px auto
    0;

  text-align: center;
}

body.undercoatingPage .woolwax-summary-line {
  width: 80px;
  height: 2px;

  margin:
    0 auto
    20px;

  background-color: var(--grimeGreen);
}

body.undercoatingPage .woolwax-summary-copy span {
  display: block;

  margin-bottom: 7px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

body.undercoatingPage .woolwax-summary-copy h3 {
  margin-bottom: 8px;

  font-family: var(--ff);

  font-size: 1.4rem;
  line-height: 1.25;
}

body.undercoatingPage .woolwax-summary-copy p {
  max-width: 650px;

  margin: 0 auto;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.92rem;
  line-height: 1.6;
}


/* ==========================================================
   PRICING SECTION
   MOBILE
========================================================== */

body.undercoatingPage .pricing-section {
  background-color: var(--primaryGrey);
}

body.undercoatingPage .main-pricing-card {
  width: 100%;
  max-width: 1120px;

  margin:
    0 auto
    20px;

  padding: 22px;

  background-color:
    rgba(20, 20, 20, 0.38);

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .main-pricing-header {
  margin-bottom: 24px;

  text-align: center;
}

body.undercoatingPage .main-pricing-header h3 {
  margin-bottom: 8px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 1.8rem;
  font-weight: 800;

  line-height: 1.2;
}

body.undercoatingPage .main-pricing-header p {
  margin: 0;

  color: #d0d0d0;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.55;
}


/* ==========================================================
   VEHICLE PRICING
========================================================== */

body.undercoatingPage .vehicle-pricing-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;
}

body.undercoatingPage .vehicle-pricing-item {
  padding: 20px;

  text-align: center;

  background-color:
    rgba(13, 13, 13, 0.88);

  border:
    1px solid
    rgba(255, 255, 255, 0.05);

  border-radius: 12px;
}

body.undercoatingPage .vehicle-icon {
  width: 120px;
  height: 54px;

  margin:
    0 auto
    12px;
}

body.undercoatingPage .vehicle-icon img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

body.undercoatingPage .vehicle-pricing-item h4 {
  margin-bottom: 8px;

  color: white;

  font-family: var(--ff);

  font-size: 1.3rem;
  line-height: 1.2;
}

body.undercoatingPage .price-range {
  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 2rem;
  font-weight: 800;

  line-height: 1.1;
}


/* ==========================================================
   WHAT'S INCLUDED / ANNUAL INSPECTION
========================================================== */

body.undercoatingPage .split-info-grid {
  width: 100%;
  max-width: 1120px;

  margin:
    0 auto
    20px;

  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;
}

body.undercoatingPage .info-panel {
  padding: 22px;

  background-color:
    rgba(20, 20, 20, 0.38);

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .info-panel h3 {
  margin-bottom: 16px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 1.55rem;
  font-weight: 800;

  line-height: 1.2;
}


/* CHECK LIST */

body.undercoatingPage .check-list {
  margin: 0;

  padding: 0;

  list-style: none;
}

body.undercoatingPage .check-list li {
  position: relative;

  margin-bottom: 10px;

  padding-left: 22px;

  color: white;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.55;
}

body.undercoatingPage .check-list li:last-child {
  margin-bottom: 0;
}

body.undercoatingPage .check-list li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--grimeGreen);

  font-weight: 900;
}


/* ANNUAL INSPECTION */

body.undercoatingPage .inspection-panel {
  text-align: center;
}

body.undercoatingPage .inspection-free {
  margin-bottom: 14px;

  color: white;

  font-family: var(--ff);

  font-size: 2.2rem;
  font-weight: 800;

  line-height: 1;
}

body.undercoatingPage .inspection-panel p {
  max-width: 550px;

  margin:
    0 auto
    12px;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.94rem;
  line-height: 1.6;
}

body.undercoatingPage .inspection-panel p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   MAINTENANCE TOUCH-UPS
========================================================== */

body.undercoatingPage .touchup-section {
  width: 100%;
  max-width: 1120px;

  margin: 0 auto;
}

body.undercoatingPage .touchup-heading {
  margin-bottom: 16px;

  text-align: center;
}

body.undercoatingPage .touchup-heading h3 {
  margin: 0;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 1.6rem;
  font-weight: 800;

  line-height: 1.2;
}

body.undercoatingPage .touchup-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;
}

body.undercoatingPage .touchup-card {
  padding: 20px;

  text-align: center;

  background-color:
    rgba(20, 20, 20, 0.38);

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 14px;
}

body.undercoatingPage .touchup-card h4 {
  margin-bottom: 6px;

  color: white;

  font-family: var(--ff);

  font-size: 1.3rem;
  line-height: 1.2;
}

body.undercoatingPage .touchup-card p {
  margin-bottom: 12px;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.92rem;
}

body.undercoatingPage .touchup-price {
  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 2rem;
  font-weight: 800;

  line-height: 1;
}


/* ==========================================================
   RUST PROTECTION PLANS
   MOBILE
========================================================== */

body.undercoatingPage .plans-section {
  background-color: var(--secondaryGrey);
}

body.undercoatingPage .plan-grid {
  width: 100%;
  max-width: 1120px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr;

  gap: 14px;
}

body.undercoatingPage .plan-card {
  overflow: hidden;

  background-color:
    rgba(20, 20, 20, 0.38);

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .plan-card.featured {
  border-color:
    rgba(66, 232, 133, 0.42);
}

body.undercoatingPage .plan-top {
  padding:
    14px
    16px;

  background-color: var(--grimeGreen);

  color: var(--gray10);

  font-family: var(--ff);

  font-size: 1.2rem;
  font-weight: 800;

  line-height: 1.2;

  text-align: center;

  text-transform: uppercase;
}

body.undercoatingPage .plan-top.standard {
  background-color:
    rgba(255, 255, 255, 0.14);

  color: white;
}

body.undercoatingPage .plan-body {
  padding: 22px;
}

body.undercoatingPage .plan-body h3 {
  margin-bottom: 16px;

  font-family: var(--ff);

  font-size: 1.15rem;
  line-height: 1.35;

  text-align: center;
}

body.undercoatingPage .plan-price {
  margin-bottom: 18px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 2rem;
  font-weight: 800;

  line-height: 1;

  text-align: center;
}


/* ==========================================================
   SECONDARY WOOLWAX SECTION
========================================================== */

body.undercoatingPage .woolwax-section {
  background-color: var(--primaryGrey);
}

body.undercoatingPage .woolwax-grid {
  width: 100%;
  max-width: 1120px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;

  gap: 18px;
}


/* IMAGE CARD */

body.undercoatingPage .woolwax-image {
  position: relative;

  width: 100%;
  height: 280px;

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .woolwax-image img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 35%;

  border-radius: inherit;
}


/* COPY CARD */

body.undercoatingPage .woolwax-copy {
  width: 100%;

  padding: 22px;

  background-color:
    rgba(20, 20, 20, 0.38);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;
}

body.undercoatingPage .feature-list {
  margin:
    0 0
    20px;

  padding: 0;

  list-style: none;
}

body.undercoatingPage .feature-list li {
  position: relative;

  margin-bottom: 12px;

  padding-left: 22px;

  color: white;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.55;
}

body.undercoatingPage .feature-list li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--grimeGreen);

  font-weight: 900;
}

body.undercoatingPage .feature-list li:last-child {
  margin-bottom: 0;
}

body.undercoatingPage .woolwax-note {
  padding: 16px;

  background-color:
    rgba(0, 0, 0, 0.18);

  border-left:
    4px solid var(--grimeGreen);

  border-radius: 10px;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================
   FINAL CTA
   MOBILE
========================================================== */

body.undercoatingPage .undercoating-cta {
  width: 100%;

  padding:
    58px
    18px;

  background:
    linear-gradient(
      180deg,
      var(--primaryGrey),
      var(--gray10)
    );

  border-top:
    1px solid
    rgba(255, 255, 255, 0.05);

  text-align: center;
}

body.undercoatingPage .cta-inner {
  width: 100%;
  max-width: 700px;

  margin: 0 auto;
}

body.undercoatingPage .cta-inner h2 {
  margin-bottom: 12px;

  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 2rem;
  font-weight: 800;

  line-height: 1.2;
}

body.undercoatingPage .cta-inner p {
  max-width: 60ch;

  margin:
    0 auto
    20px;

  color: #c4c4c4;

  font-family: var(--ff);

  font-size: 0.95rem;
  line-height: 1.65;
}

body.undercoatingPage .cta-price {
  margin-bottom: 18px;

  color: white;

  font-family: var(--ff);

  font-size: 0.9rem;
  font-weight: 600;
}

body.undercoatingPage .cta-price strong {
  color: var(--grimeGreen);

  font-family: var(--ff);

  font-size: 1.25rem;
  font-weight: 800;
}

body.undercoatingPage .cta-inner .btn-primary {
  width: 100%;
  max-width: 330px;
}


/* ==========================================================
   MEDIUM SCREENS
   769px+
========================================================== */

@media (min-width: 769px) {

  body.undercoatingPage .background {
    /* Reset the mobile crop for tablet and larger screens. */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  body.undercoatingPage .hero-text {
    max-width: 850px;
    transform: none;
  }

  body.undercoatingPage .hero h1 {
    font-size: 4rem;
    white-space: normal;
  }


  /* ========================================================
     SHARED
  ======================================================== */

  body.undercoatingPage .services-section {
    padding:
      64px
      28px;
  }

  body.undercoatingPage .section-heading {
    margin-bottom: 38px;
  }

  body.undercoatingPage .section-heading h2 {
    font-size: 2.3rem;
  }

  body.undercoatingPage .section-heading p {
    font-size: 1rem;
  }

  body.undercoatingPage .section-kicker,
  body.undercoatingPage .eyebrow,
  body.undercoatingPage .small-label {
    font-size: 0.8rem;
  }


  /* ========================================================
     HERO
  ======================================================== */

  body.undercoatingPage .hero {
    padding:
      calc(var(--headerHeight) + 55px)
      30px
      70px;
  }

  body.undercoatingPage .hero h1 {
    font-size: 4rem;
  }

  body.undercoatingPage .hero p {
    font-size: 1.1rem;
  }

  body.undercoatingPage .hero-actions {
    flex-direction: row;
  }

  body.undercoatingPage .hero-actions .btn-primary,
  body.undercoatingPage .hero-actions .btn-secondary {
    width: auto;

    min-width: 175px;
  }


  /* ========================================================
     WOOLWAX EXPLANATION
  ======================================================== */

  body.undercoatingPage .woolwax-intro {
    grid-template-columns:
      1.08fr
      0.92fr;

    gap: 18px;

    margin-bottom: 64px;
  }

  body.undercoatingPage .woolwax-intro-copy,
  body.undercoatingPage .woolwax-difference {
    padding: 30px;
  }

  body.undercoatingPage .woolwax-intro-copy h3 {
    font-size: 2rem;
  }

  body.undercoatingPage .woolwax-intro-copy p {
    font-size: 1rem;
  }

  body.undercoatingPage .woolwax-difference > h3 {
    font-size: 1.5rem;
  }


  /* Benefits */

  body.undercoatingPage .woolwax-benefits-heading {
    margin-bottom: 34px;
  }

  body.undercoatingPage .woolwax-benefits-heading h2 {
    font-size: 2.1rem;
  }

  body.undercoatingPage .woolwax-benefit-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 14px;
  }

  body.undercoatingPage .woolwax-benefit {
    display: grid;

    grid-template-columns:
      80px
      1fr;

    align-items: center;

    gap: 18px;

    padding: 22px;

    text-align: left;
  }

  body.undercoatingPage .woolwax-benefit-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: center;
    justify-self: center;

    flex: 0 0 80px;
  }

  body.undercoatingPage .woolwax-benefit-icon img {
    width: 72px;
    height: 72px;

    object-fit: contain;
    object-position: center;
  }

  body.undercoatingPage .woolwax-summary {
    margin-top: 52px;
  }

  body.undercoatingPage .woolwax-summary-copy h3 {
    font-size: 1.7rem;
  }


  /* ========================================================
     PRICING
  ======================================================== */

  body.undercoatingPage .main-pricing-card {
    padding: 28px;
  }

  body.undercoatingPage .main-pricing-header p {
    font-size: 1rem;
  }

  body.undercoatingPage .vehicle-pricing-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 16px;
  }

  body.undercoatingPage .vehicle-pricing-item {
    padding:
      22px
      14px;
  }

  body.undercoatingPage .split-info-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }

  body.undercoatingPage .touchup-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }


  /* ========================================================
     PLANS
  ======================================================== */

  body.undercoatingPage .plan-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }


  /* ========================================================
     WHY WOOLWAX
  ======================================================== */

  body.undercoatingPage .woolwax-grid {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;

  align-items: stretch;
}


/*
   Important:
   The image is removed from normal height calculation.
   The copy controls the row height instead.
*/

body.undercoatingPage .woolwax-image {
  position: relative;

  height: auto;
  min-height: 0;

  align-self: stretch;
}

body.undercoatingPage .woolwax-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  min-height: 0;

  object-fit: cover;
  object-position: center 35%;
}

body.undercoatingPage .woolwax-copy {
  height: auto;

  padding: 26px;
}


  /* ========================================================
     CTA
  ======================================================== */

  body.undercoatingPage .undercoating-cta {
    padding:
      76px
      28px;
  }

  body.undercoatingPage .cta-inner h2 {
    font-size: 2.6rem;
  }

  body.undercoatingPage .cta-inner p {
    font-size: 1rem;
  }

  body.undercoatingPage .cta-inner .btn-primary {
    width: auto;
  }


  /* ========================================================
     MODAL
  ======================================================== */

  body.undercoatingPage .gt-modal {
    padding: 24px;
  }

  body.undercoatingPage .gt-modal__panel {
    padding: 28px;
  }

  body.undercoatingPage .gt-modal__header h3 {
    font-size: 1.4rem;
  }

  body.undercoatingPage .gt-modal__map {
    height: 220px;
  }

  body.undercoatingPage .gt-modal__row {
    grid-template-columns:
      90px
      1fr;
  }

  body.undercoatingPage .gt-modal__footer {
    flex-direction: row;

    justify-content: center;
  }

  body.undercoatingPage .gt-modal__footer .btn-primary,
  body.undercoatingPage .gt-modal__footer .btn-secondary {
    width: auto;
  }

}


/* ==========================================================
   LARGE SCREENS
   1100px+
========================================================== */

@media (min-width: 1100px) {

  body.undercoatingPage .background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  body.undercoatingPage .hero h1 {
    font-size: 5rem;
  }


  /* ========================================================
     SHARED
  ======================================================== */

  body.undercoatingPage .services-section {
    padding:
      82px
      36px;
  }

  body.undercoatingPage .section-heading {
    margin-bottom: 44px;
  }

  body.undercoatingPage .section-heading h2 {
    font-size: 2.7rem;
  }


  /* ========================================================
     HERO
  ======================================================== */

  body.undercoatingPage .hero {
    padding:
      calc(var(--headerHeight) + 60px)
      40px
      80px;
  }

  body.undercoatingPage .hero h1 {
    font-size: 5rem;
  }

  body.undercoatingPage .hero p {
    max-width: 680px;

    font-size: 1.15rem;
  }


  /* ========================================================
     WOOLWAX EXPLANATION
  ======================================================== */

  body.undercoatingPage .woolwax-intro {
    gap: 22px;

    margin-bottom: 72px;
  }

  body.undercoatingPage .woolwax-intro-copy,
  body.undercoatingPage .woolwax-difference {
    padding: 36px;
  }

  body.undercoatingPage .woolwax-intro-copy h3 {
    font-size: 2.25rem;
  }

  body.undercoatingPage .woolwax-difference > h3 {
    font-size: 1.65rem;
  }


  /* Benefits */

  body.undercoatingPage .woolwax-benefits-heading h2 {
    font-size: 2.4rem;
  }

  body.undercoatingPage .woolwax-benefit {
    grid-template-columns:
      92px
      1fr;

    align-items: center;

    gap: 22px;

    padding: 26px;
  }

  body.undercoatingPage .woolwax-benefit-icon {
    width: 92px;
    height: 92px;

    align-self: center;
    justify-self: center;

    flex: 0 0 92px;
  }

  body.undercoatingPage .woolwax-benefit-icon img {
    width: 82px;
    height: 82px;
  }

  body.undercoatingPage .woolwax-benefit-copy h3 {
    font-size: 1.18rem;
  }

  body.undercoatingPage .woolwax-benefit-copy p {
    font-size: 0.95rem;
  }

  body.undercoatingPage .woolwax-summary {
    margin-top: 62px;
  }

  body.undercoatingPage .woolwax-summary-copy h3 {
    font-size: 2rem;
  }


  /* ========================================================
     PRICING
  ======================================================== */

  body.undercoatingPage .main-pricing-card {
    padding: 34px;
  }

  body.undercoatingPage .main-pricing-header h3 {
    font-size: 2.1rem;
  }

  body.undercoatingPage .vehicle-pricing-item {
    padding:
      26px
      18px;
  }

  body.undercoatingPage .vehicle-pricing-item h4 {
    font-size: 1.45rem;
  }

  body.undercoatingPage .price-range {
    font-size: 2.25rem;
  }

  body.undercoatingPage .info-panel {
    padding: 28px;
  }

  body.undercoatingPage .info-panel h3 {
    font-size: 1.7rem;
  }

  body.undercoatingPage .touchup-card {
    padding: 24px;
  }


  /* ========================================================
     PLANS
  ======================================================== */

  body.undercoatingPage .plan-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));

    gap: 16px;
  }

  body.undercoatingPage .plan-body {
    padding: 24px;
  }


  /* ========================================================
     SECONDARY WOOLWAX SECTION
  ======================================================== */
body.undercoatingPage .woolwax-grid {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 26px;

  align-items: stretch;
}

body.undercoatingPage .woolwax-image {
  height: auto;
  min-height: 0;
}

body.undercoatingPage .woolwax-image img {
  min-height: 0;
}

body.undercoatingPage .woolwax-copy {
  padding: 28px;
}

  /* ========================================================
     FINAL CTA
  ======================================================== */

  body.undercoatingPage .undercoating-cta {
    padding:
      100px
      36px;
  }

  body.undercoatingPage .cta-inner h2 {
    font-size: 3.1rem;
  }

}




/* ==========================================================
   LIFETIME PLAN — BEST VALUE
========================================================== */
body.undercoatingPage .plan-card.lifetime-plan {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8ad35;
  background:
    linear-gradient(145deg, rgba(73, 55, 10, 0.34), rgba(20, 20, 20, 0.58));
  box-shadow:
    0 0 0 1px rgba(255, 215, 100, 0.12),
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(216, 173, 53, 0.12);
}

body.undercoatingPage .plan-card.lifetime-plan::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -45%;
  width: 55%;
  height: 240%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.17), transparent);
  transform: rotate(18deg);
}

body.undercoatingPage .lifetime-top {
  position: relative;
  padding-top: 34px;
  background:
    linear-gradient(135deg, #b88917 0%, #f1cf68 45%, #c6921d 100%);
  color: #17120a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}

body.undercoatingPage .plan-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(23, 18, 10, 0.86);
  color: #f6d875;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.undercoatingPage .plan-card.lifetime-plan .plan-price {
  color: #f0c857;
  text-shadow: 0 0 18px rgba(240, 200, 87, 0.16);
}

body.undercoatingPage .plan-card.lifetime-plan .check-list li::before {
  color: #f0c857;
}

/* ==========================================================
   UNDERCOATING BEFORE / AFTER SLIDER
========================================================== */
body.undercoatingPage .undercoat-ba-slider {
  position: relative;
  isolation: isolate;
  cursor: ew-resize;
}

body.undercoatingPage .undercoat-ba-slider .undercoat-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: inherit;
  pointer-events: none;
}

body.undercoatingPage .undercoat-ba-after {
  z-index: 1;
}

body.undercoatingPage .undercoat-ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

body.undercoatingPage .undercoat-ba-handle {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  cursor: ew-resize;
}

body.undercoatingPage .undercoat-ba-handle::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
  background: transparent;
}

body.undercoatingPage .undercoat-ba-handle::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--grimeGreen);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 0 0 4px rgba(66, 232, 133, 0.16);
}

body.undercoatingPage .undercoat-ba-handle::-moz-range-track {
  width: 100%;
  height: 100%;
  background: transparent;
}

body.undercoatingPage .undercoat-ba-handle::-moz-range-thumb {
  width: 34px;
  height: 34px;
  border: 2px solid var(--grimeGreen);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 0 0 4px rgba(66, 232, 133, 0.16);
}

body.undercoatingPage .undercoat-ba-label {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

body.undercoatingPage .undercoat-ba-label.before-label {
  left: 12px;
}

body.undercoatingPage .undercoat-ba-label.after-label {
  right: 12px;
}

/* Make SUV icon visually match the other vehicle icons */
body.undercoatingPage
.vehicle-pricing-item:nth-child(2)
.vehicle-icon img {
  transform: scale(1.55);
}
/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  body.undercoatingPage * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}