/* ================================================
   GUARANTEE & CERTIFICATION PAGE
   ================================================ */

.nav__link--active { color: #fff !important; }

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */

.guarantee-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #fffdf8 28%,
    #f7efd2 68%,
    #ECE6C6 100%
  );
}

.guarantee-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(255, 255, 255, 0.95) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 78% 72%, rgba(140, 3, 3, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 18% 78%, rgba(236, 230, 198, 0.7) 0%, transparent 65%);
  pointer-events: none;
}

.guarantee-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  max-width: 760px;
  width: 100%;
  text-align: center;
  margin: 3.5rem auto 0;
}

.guarantee-hero .eyebrow {
  animation: fadeUp 0.8s var(--eout) 0.15s both;
}

.guarantee-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  color: #590303;
  margin: 1.1rem 0 1.4rem;
  line-height: 1.02;
  letter-spacing: 0.01em;
  animation: fadeUp 0.9s var(--eout) 0.3s both;
}

.guarantee-hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  opacity: 0.55;
}

.guarantee-hero__sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp 0.9s var(--eout) 0.5s both;
}

/* ------------------------------------------------
   5-YEAR GUARANTEE BLOCK
   ------------------------------------------------ */

.guarantee-block {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}

.guarantee-block__mark {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.guarantee-block__years {
  font-family: var(--serif);
  font-size: clamp(7rem, 14vw, 10rem);
  line-height: 0.85;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.guarantee-block__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 0.85rem;
}

.guarantee-block__rule {
  width: 1px;
  height: 100%;
  min-height: 140px;
  background: rgba(140, 3, 3, 0.28);
  align-self: stretch;
}

.guarantee-block__text {
  padding-left: 0.5rem;
}

.guarantee-block__text h2,
.guarantee-block__text h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 1.25rem;
  color: #590303;
  font-family: var(--serif);
  font-weight: 400;
}

.guarantee-block__text p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.guarantee-block__text p:last-child {
  margin-bottom: 0;
}

.sec-head--spaced {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

/* ------------------------------------------------
   CERTIFICATION CARDS
   ------------------------------------------------ */

#certifications {
  background: #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.cert-card {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card__logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cert-card__logo img {
  height: 55px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.cert-card:nth-child(3) .cert-card__logo img {
  height: 72px;
  max-width: 200px;
}

.cert-card:nth-child(4) .cert-card__logo img {
  height: 62px;
  max-width: 240px;
}

.cert-card h3 {
  font-size: 1.35rem;
  color: #590303;
  margin-bottom: 0.6rem;
}

.cert-card p {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.7;
}

.cert-footnote {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ------------------------------------------------
   CTA
   ------------------------------------------------ */

.guarantee-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.guarantee-cta h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
}

.guarantee-cta p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */

@media (max-width: 960px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .guarantee-block__mark {
    justify-content: center;
  }

  .guarantee-block__rule {
    width: 64px;
    height: 1px;
    min-height: 0;
    margin: 0 auto;
  }

  .guarantee-block__text {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-hero { min-height: 48vh; }

  .guarantee-hero__content {
    padding: 2.5rem 0;
  }
}
