/* ================================
   PÁGINA GARANTÍA HP
================================ */

.warranty-page {
  background: #ffffff;
}

/* HERO */

.warranty-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      rgba(2, 12, 32, 0.96) 0%,
      rgba(3, 18, 46, 0.88) 36%,
      rgba(3, 18, 46, 0.48) 66%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    url("https://www.hp.com/content/dam/sites/worldwide/printers/large-formats/designjet-t850-t950-plotters/jpg/HP_DesignJet_T850-T950_PDP-Technical_banner.jpg");
  background-size: cover;
  background-position: center;
}

.warranty-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.warranty-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 150, 214, 0.35), transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 34, 68, 0.35));
}

.warranty-hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.warranty-hero-content h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #ffffff;
}

.warranty-hero-content h1 span {
  color: #8ee7ff;
}

.warranty-hero-content p {
  max-width: 720px;
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.warranty-benefits-mini {
  margin-top: 42px;
  max-width: 900px;
}

/* TRUST */

.warranty-trust {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

/* STEPS */

.warranty-steps-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.warranty-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.warranty-step-card {
  position: relative;
  min-height: 270px;
  background: #ffffff;
  border: 1px solid rgba(0, 115, 170, 0.12);
  border-radius: 24px;
  padding: 34px 26px;
  box-shadow: 0 18px 50px rgba(0, 42, 82, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.warranty-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 65px rgba(0, 42, 82, 0.14);
}

.warranty-step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #0073c6, #00a6d6);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(0, 150, 214, 0.12);
}

.step-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
  background: linear-gradient(135deg, #0057a8, #00a6d6);
  box-shadow: 0 12px 28px rgba(0, 123, 194, 0.28);
}

.warranty-step-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  color: #102033;
}

.warranty-step-card p {
  margin: 0;
  line-height: 1.7;
  color: #667085;
}

/* IFRAME SECTION */

.warranty-check-section {
  background: #f5f9fc;
  padding-top: 70px;
}

.warranty-frame-card {
  margin-top: 44px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 42, 82, 0.14);
  border: 1px solid rgba(0, 115, 170, 0.12);
  overflow: hidden;
}

.warranty-frame-header {
  height: 82px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(90deg, #062b52, #0073c6);
  color: #ffffff;
}

.warranty-frame-header span {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 3px;
}

.warranty-frame-header strong {
  font-size: 18px;
}

.warranty-frame-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0067b1;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.warranty-frame-wrapper {
  width: 100%;
  height: 900px;
  overflow: hidden;
  background: #ffffff;
}

.warranty-frame {
  width: 100%;
  height: 1250px;
  border: 0;
  display: block;
  transform: translateY(-125px);
  transform-origin: top left;
}

/* HELP SECTION */

.warranty-help-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 150, 214, 0.12), transparent 30%),
    linear-gradient(135deg, #062b52, #081827);
  color: #ffffff;
}

.warranty-help-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.warranty-help-copy h2 {
  max-width: 720px;
  margin: 16px 0 20px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -1.5px;
  color: #ffffff;
}

.warranty-help-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.warranty-help-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(14px);
}

.warranty-help-card h3 {
  margin: 0 0 24px;
  font-size: 24px;
  color: #ffffff;
}

.warranty-help-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.warranty-help-card li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.warranty-help-card i {
  color: #8ee7ff;
}

/* RESPONSIVE */

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

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

@media (max-width: 768px) {
  .warranty-hero {
    min-height: 680px;
    padding: 80px 0;
  }

  .warranty-benefits-mini {
    display: grid;
    grid-template-columns: 1fr;
  }

  .warranty-frame-header {
    height: auto;
    padding: 18px;
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .warranty-frame-wrapper {
    height: 820px;
  }

  .warranty-frame {
    height: 1220px;
    transform: translateY(-120px);
  }
}

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

  .warranty-step-card {
    min-height: auto;
  }

  .warranty-hero-content h1 {
    letter-spacing: -1px;
  }

  .warranty-frame-card {
    border-radius: 18px;
  }

  .warranty-frame-wrapper {
    height: 760px;
  }
}