/**
 * Beta Energy — Product Page Styles (product-ev.html)
 * Section rhythm: hero (dark, video) / variants (soft) / specs (light) / accessory (dark)
 * / final CTA (soft) / footer (dark).
 */

/* =========================================
   PRODUCT HERO SECTION (dark)
   ========================================= */
.product-hero {
  background: var(--be-negro);
  padding: 64px 0 var(--be-seccion);
  overflow: hidden;
}

/* Scrim that guarantees text contrast over the video (darker on the text side) */
.product-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .45) 100%);
}

.product-hero > .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--be-lima);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span.sep {
  opacity: 0.5;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.product-hero h1 {
  margin-bottom: 16px;
}

.product-hero p.sub {
  font-size: clamp(17px, 2vw, 20px);
  margin-bottom: 32px;
  max-width: 500px;
}

.product-hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-photo-card {
  background: var(--be-blanco);
  border-radius: var(--be-radio-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo-card img {
  max-height: 380px;
  width: auto;
  margin: 0 auto;
}

/* =========================================
   VARIANTS SECTION (soft)
   ========================================= */
.variants {
  background: var(--be-lima-50);
}

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

.variant-card {
  background: var(--be-blanco);
  border: 1px solid var(--be-gris-300);
  border-radius: var(--be-radio-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.variant-card-photo {
  background: var(--be-gris-100);
  border-radius: var(--be-radio-sm);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 16px;
}

.variant-card-photo img {
  max-height: 155px;
  width: auto;
  object-fit: contain;
}

/* Badge */
.variant-card .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--be-verde-profundo);
  background: var(--be-lima-100);
  padding: 4px 12px;
  border-radius: var(--be-radio-sm);
  margin-bottom: 16px;
  align-self: flex-start;
}

.variant-card h3 {
  margin-bottom: 8px;
}

.variant-card p {
  color: var(--be-gris-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.variant-card ul {
  margin-bottom: 24px;
}

.variant-card ul li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.variant-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--be-verde-profundo);
  font-weight: 800;
}

.variant-card .btn {
  width: 100%;
}

/* =========================================
   SPECIFICATIONS SECTION (light)
   ========================================= */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-box {
  background: var(--be-blanco);
  border: 1px solid var(--be-gris-300);
  border-radius: var(--be-radio-md);
  padding: 32px;
}

/* Group titles use the overline style */
.spec-box h4 {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-box h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--be-radio-full);
  background: var(--be-lima);
  flex-shrink: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--be-gris-300);
  font-size: 16px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row .label {
  color: var(--be-gris-600);
}

.spec-row .value {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* =========================================
   ACCESSORY — DLB SENSOR (dark)
   ========================================= */
.accessory {
  background: var(--be-verde-profundo);
}

.accessory-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.accessory h2 {
  margin-bottom: 16px;
}

.accessory p {
  margin-bottom: 24px;
}

.accessory ul {
  margin-bottom: 32px;
}

.accessory ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.accessory ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: var(--be-radio-full);
  background: var(--be-lima);
}

.accessory-photo {
  background: var(--be-blanco);
  border-radius: var(--be-radio-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.accessory-photo img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.accessory-specs {
  background: var(--be-verde-800);
  border-radius: var(--be-radio-md);
  padding: 24px;
}

.accessory-specs .spec-row {
  border-bottom-color: var(--be-borde-oscuro);
}

.accessory-specs .spec-row .label {
  color: var(--be-sobre-oscuro);
}

.accessory-specs .spec-row .value {
  color: var(--be-blanco);
}

/* =========================================
   RESPONSIVE PRODUCT RULES
   ========================================= */
@media (max-width: 960px) {
  .product-hero-grid,
  .accessory-grid,
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .specs-grid {
    gap: 24px;
  }

  .variants-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
