:root {
  --hp-blue: #005fec;
  --navy: #001f4e;
  --dark: #07111f;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e5eaf1;
  --soft: #f5f8fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.product-page {
  background: #fff;
}

/* =========================
   BREADCRUMB
========================= */

.product-breadcrumb {
  width: 86%;
  margin: 0 auto;
  padding: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.product-breadcrumb a {
  color: var(--muted);
}

.product-breadcrumb a:hover {
  color: var(--hp-blue);
}

.product-breadcrumb strong {
  color: var(--text);
}

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

.product-hero-section {
  width: 86%;
  margin: 0 auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 54px 0 64px;
}

.product-hero-image {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 18px;
  padding: 42px;
  border: 1px solid var(--line);
}

.product-hero-image img {
  width: 100%;
  object-fit: contain;
}

.product-category {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--hp-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-hero-info h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.product-hero-info h1 strong {
  color: var(--hp-blue);
}

.feature-icon {
  width: 48px;
  height: 48px;

  border: 1px solid #dbe3ee;
  border-radius: 12px;

  background: #fff;

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

  flex-shrink: 0;
}

.feature-icon i {
  font-size: 20px;
  color: var(--hp-blue);
}
/* =========================
   BOTONES
========================= */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--hp-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 95, 236, 0.24);
}

.btn-primary:hover {
  background: #004fc4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid #aeb7c4;
}

.btn-secondary:hover {
  border-color: var(--hp-blue);
  color: var(--hp-blue);
}

.btn-primary.small {
  min-height: 40px;
  padding: 0 18px;
}

/* =========================
   BENEFICIOS RÁPIDOS
========================= */

.product-highlights {
  width: 100%;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 7%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.product-highlights article {
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product-highlights img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-highlights h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.product-highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   TABS / NAVEGACIÓN INTERNA
========================= */

.product-tabs button {
  position: relative;
  background: transparent;
  border: 0;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  padding: 0 0 17px;
  cursor: pointer;
}

.product-tabs button.active {
  color: var(--hp-blue);
}

.product-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--hp-blue);
}
.tab-content {
  display: none;
  opacity: 0;
  transform: translateX(40px);
}

.tab-content.active {
  display: block;
  animation: slideTabIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideTabIn {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.tab-content.leaving {
  animation: slideTabOut 0.25s ease forwards;
}

@keyframes slideTabOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

.product-tabs-section {
  width: 86%;
  margin: 0 auto;
  padding: 58px 0 72px;
}

.product-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
  overflow: visible;
}

.product-tabs a {
  position: relative;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  padding-bottom: 17px;
  white-space: nowrap;
}

.product-tabs a.active {
  color: var(--hp-blue);
}

.product-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--hp-blue);
  border-radius: 3px 3px 0 0;
}

.product-tabs a:hover {
  color: var(--hp-blue);
}

/* =========================
   DESCRIPCIÓN PRODUCTO
========================= */

.product-content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.product-description h2,
.product-info-content h2,
.section-heading h2,
.product-final-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.product-description p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-detail-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================
   INFORMACIÓN / FICHA RÁPIDA
========================= */

.product-info-section {
  width: 86%;
  margin: 0 auto 70px;
  padding: 46px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: start;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--hp-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #1f2937;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hp-blue);
  font-weight: 900;
}

.product-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 18px 35px rgba(8, 31, 67, 0.08);
}

.product-info-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.product-info-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.faq-section {
  width: 86%;
  margin: 0 auto;
  padding: 30px 0 76px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 14px 28px rgba(8, 31, 67, 0.06);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.product-final-cta {
  width: 86%;
  margin: 0 auto 78px;
  padding: 40px 46px;
  border-radius: 18px;
  background: linear-gradient(135deg, #001f4e 0%, #003b8f 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.product-final-cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.product-final-cta p {
  margin: 0;
  color: #dbeafe;
}

.product-final-cta .btn-primary {
  background: #fff;
  color: var(--hp-blue);
  box-shadow: none;
}

.product-final-cta .btn-primary:hover {
  background: #eaf2ff;
}

/* =========================
   GALERÍA DE PRODUCTO
========================= */

.product-gallery {
  display: grid;
  gap: 18px;
}

.product-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.thumb-btn {
  width: 96px;
  height: 72px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.25s ease;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: var(--hp-blue);
  box-shadow: 0 10px 22px rgba(0, 95, 236, 0.16);
}

.product-hero-image img {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  border-radius: 10px;
}

.product-hero-image img.is-changing {
  opacity: 0;
  transform: translateX(18px);
}

/* =========================
   PRODUCTOS RELACIONADOS
========================= */

.related-products-section {
  width: 86%;
  margin: 0 auto 76px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(8, 31, 67, 0.07);
  transition: 0.25s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(8, 31, 67, 0.12);
}

.related-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.related-card div {
  padding: 24px;
}

.related-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--hp-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.related-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.related-card a {
  color: var(--hp-blue);
  font-weight: 900;
}
