/**
 * The Hemp House — Home Inmersiva: Ola 2
 * Secciones 4 (producto destacado), 5 (stats), 6 (testimonios)
 *
 * Carga después de home-sections.css (hereda :root del base).
 * Mantenido bajo 16 KB para pasar el WAF de Webempresa.
 */

/* ===
SECCIÓN 4 — PRODUCTO DESTACADO (spotlight) === */
.thh-spotlight {
  position: relative;
  background: var(--thh-bg-deep);
  border-top: 1px solid var(--thh-border);
  padding: var(--thh-space-24) var(--thh-space-6);
  overflow: hidden;
}

.thh-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(201, 169, 97, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(92, 140, 104, 0.06), transparent 70%);
  pointer-events: none;
}

.thh-spotlight__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.thh-spotlight__header {
  text-align: center;
  margin-bottom: var(--thh-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thh-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--thh-space-16);
  align-items: center;
}

/* Visual / imagen del producto */
.thh-spotlight__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--thh-radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.12), transparent 60%),
    var(--thh-bg-card);
  border: 1px solid var(--thh-border);
}

.thh-spotlight__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.1), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(10, 14, 10, 0.5) 100%);
  pointer-events: none;
}

.thh-spotlight__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8%;
  z-index: 0;
  transition: transform 800ms var(--thh-ease-out);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .thh-spotlight__visual:hover .thh-spotlight__image {
    transform: scale(1.04);
  }
}

.thh-spotlight__badge {
  position: absolute;
  top: var(--thh-space-6);
  left: var(--thh-space-6);
  z-index: 3;
  font-family: var(--thh-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--thh-bg-deep);
  background: var(--thh-gold);
  padding: 8px 14px;
  border-radius: var(--thh-radius-sm);
}

/* Detalles del producto */
.thh-spotlight__details {
  padding: var(--thh-space-4) 0;
}

.thh-spotlight__category {
  font-family: var(--thh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--thh-sage-bright);
  margin: 0 0 var(--thh-space-4) 0;
}

.thh-spotlight__title {
  font-family: var(--thh-font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--thh-text-primary);
  margin: 0 0 var(--thh-space-4) 0;
}

.thh-spotlight__subtitle {
  font-family: var(--thh-font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--thh-text-secondary);
  margin: 0 0 var(--thh-space-6) 0;
}

.thh-spotlight__desc {
  font-family: var(--thh-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--thh-text-secondary);
  margin: 0 0 var(--thh-space-8) 0;
  max-width: 50ch;
}

.thh-spotlight__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--thh-space-8) 0;
  display: grid;
  gap: 10px;
}

.thh-spotlight__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--thh-font-body);
  font-size: 14px;
  color: var(--thh-text-primary);
}

.thh-spotlight__features li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--thh-gold);
  border-radius: 50%;
}

.thh-spotlight__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--thh-space-8);
}

.thh-spotlight__price-from {
  font-family: var(--thh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--thh-text-muted);
}

.thh-spotlight__price {
  font-family: var(--thh-font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--thh-gold);
  line-height: 1;
}

/* ===
SECCIÓN 4.5 — CANNABINOIDES (video bg + glass pills) === */
.thh-cannabinoids {
  position: relative;
  min-height: 100vh;
  background: var(--thh-bg-deep);
  border-top: 1px solid var(--thh-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thh-cannabinoids__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.thh-cannabinoids__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, transparent 0%, rgba(10, 14, 10, 0.55) 70%),
    linear-gradient(180deg, rgba(10, 14, 10, 0.7) 0%, rgba(10, 14, 10, 0.4) 40%, rgba(10, 14, 10, 0.85) 100%);
}

.thh-cannabinoids__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: var(--thh-space-24) var(--thh-space-6);
  text-align: center;
}

.thh-cannabinoids__title {
  font-family: var(--thh-font-heading);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--thh-text-primary);
  margin: 0 0 var(--thh-space-6) 0;
}

.thh-cannabinoids__title .word {
  display: inline-block;
  margin-right: 0.18em;
  will-change: transform, opacity;
}

.thh-cannabinoids__title .italic {
  font-style: italic;
  color: var(--thh-gold-bright);
}

.thh-cannabinoids__subtitle {
  font-family: var(--thh-font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--thh-text-secondary);
  max-width: 60ch;
  margin: 0 auto var(--thh-space-12) auto;
}

/* Pills — Liquid Glass style */
.thh-cannabinoids__pills {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--thh-space-12) 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--thh-space-4);
}

.thh-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(20, 36, 27, 0.45);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(201, 169, 97, 0.28);
  border-radius: var(--thh-radius-xl);
  padding: 18px 28px;
  min-width: 180px;
  will-change: transform, opacity;
  transition:
    border-color 320ms var(--thh-ease-out),
    transform 320ms var(--thh-ease-out),
    background 320ms var(--thh-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .thh-pill:hover {
    border-color: var(--thh-gold-bright);
    transform: translateY(-4px);
    background: rgba(20, 36, 27, 0.65);
  }
}

.thh-pill__symbol {
  font-family: var(--thh-font-heading);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--thh-gold-bright);
  letter-spacing: -0.01em;
  line-height: 1;
}

.thh-pill__detail {
  font-family: var(--thh-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--thh-text-secondary);
  margin-top: 2px;
}

/* ===
SECCIÓN 5 — STATS (counters animados) === */
.thh-stats {
  position: relative;
  background: var(--thh-bg-forest);
  border-top: 1px solid var(--thh-border);
  padding: var(--thh-space-24) var(--thh-space-6);
  overflow: hidden;
}

.thh-stats__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.thh-stats__header {
  text-align: center;
  margin-bottom: var(--thh-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--thh-space-6);
}

.thh-stat {
  text-align: center;
  padding: var(--thh-space-8) var(--thh-space-4);
  border-left: 1px solid var(--thh-border);
}

.thh-stat:first-child {
  border-left: none;
}

.thh-stat__number,
.thh-stat__number-text {
  display: block;
  font-family: var(--thh-font-heading);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--thh-gold-bright);
  margin-bottom: var(--thh-space-4);
  font-variant-numeric: tabular-nums;
}

.thh-stat__number-text {
  font-style: italic;
}

.thh-stat__label {
  font-family: var(--thh-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--thh-text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* ===
SECCIÓN 6 — TESTIMONIOS (grid 2x2) === */
.thh-testimonials {
  position: relative;
  background: var(--thh-bg-deep);
  border-top: 1px solid var(--thh-border);
  padding: var(--thh-space-24) var(--thh-space-6);
}

.thh-testimonials__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.thh-testimonials__header {
  text-align: center;
  margin-bottom: var(--thh-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thh-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--thh-space-6);
}

.thh-testimonial {
  background: var(--thh-bg-card);
  border: 1px solid var(--thh-border);
  border-radius: var(--thh-radius-lg);
  padding: var(--thh-space-8);
  position: relative;
  transition: border-color 300ms var(--thh-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .thh-testimonial:hover {
    border-color: var(--thh-gold-dim);
  }
}

.thh-testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--thh-font-heading);
  font-size: 80px;
  line-height: 1;
  color: var(--thh-gold);
  opacity: 0.18;
  pointer-events: none;
}

.thh-testimonial__rating {
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--thh-gold);
  margin-bottom: var(--thh-space-4);
}

.thh-testimonial__quote {
  font-family: var(--thh-font-heading);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--thh-text-primary);
  margin: 0 0 var(--thh-space-6) 0;
  font-style: italic;
  quotes: none;
}

.thh-testimonial__quote::before,
.thh-testimonial__quote::after {
  content: none;
}

.thh-testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--thh-space-4);
  border-top: 1px solid var(--thh-border);
}

.thh-testimonial__author {
  font-family: var(--thh-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--thh-text-primary);
}

.thh-testimonial__product {
  font-family: var(--thh-font-body);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--thh-text-muted);
}

/* ===
SECCIÓN 6.5 — MEDIOS / "Nos Recomiendan" === */
.thh-media {
  position: relative;
  background: var(--thh-bg-forest);
  border-top: 1px solid var(--thh-border);
  padding: var(--thh-space-24) var(--thh-space-6);
}

.thh-media__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.thh-media__header {
  text-align: center;
  margin-bottom: var(--thh-space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thh-media__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--thh-space-6);
}

.thh-media-card {
  display: flex;
  flex-direction: column;
  gap: var(--thh-space-4);
  background: var(--thh-bg-card);
  border: 1px solid var(--thh-border);
  border-radius: var(--thh-radius-lg);
  padding: var(--thh-space-8);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 300ms var(--thh-ease-out),
    transform 300ms var(--thh-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .thh-media-card:hover {
    border-color: var(--thh-gold);
    transform: translateY(-3px);
  }
  .thh-media-card:hover .thh-media-card__cta {
    color: var(--thh-gold-bright);
  }
}

.thh-media-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--thh-space-4);
}

.thh-media-card__medium {
  font-family: var(--thh-font-heading);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--thh-gold-bright);
  margin: 0;
  letter-spacing: -0.01em;
}

.thh-media-card__tag {
  flex-shrink: 0;
  font-family: var(--thh-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--thh-radius-full);
  background: rgba(245, 240, 229, 0.06);
  color: var(--thh-text-muted);
  border: 1px solid var(--thh-border);
}

.thh-media-card__tag--direct {
  background: rgba(201, 169, 97, 0.12);
  color: var(--thh-gold-bright);
  border-color: rgba(201, 169, 97, 0.4);
}

.thh-media-card__quote {
  font-family: var(--thh-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--thh-text-primary);
  margin: 0;
  flex-grow: 1;
}

.thh-media-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--thh-space-4);
  border-top: 1px solid var(--thh-border);
}

.thh-media-card__date {
  font-family: var(--thh-font-body);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--thh-text-muted);
}

.thh-media-card__cta {
  font-family: var(--thh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--thh-gold);
  transition: color 250ms var(--thh-ease-out);
}

/* ===
RESPONSIVE — secciones 4, 5, 6 === */
@media (max-width: 900px) {
  .thh-spotlight__grid {
    grid-template-columns: 1fr;
    gap: var(--thh-space-8);
  }
  .thh-spotlight__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .thh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--thh-space-8) var(--thh-space-4);
  }
  .thh-stat {
    border-left: none;
    border-top: 1px solid var(--thh-border);
    padding-top: var(--thh-space-8);
  }
  .thh-stat:nth-child(-n+2) {
    border-top: none;
  }

  .thh-testimonials__grid,
  .thh-media__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .thh-spotlight,
  .thh-stats,
  .thh-testimonials,
  .thh-media {
    padding: var(--thh-space-16) var(--thh-space-4);
  }
  .thh-spotlight__header,
  .thh-stats__header,
  .thh-testimonials__header {
    margin-bottom: var(--thh-space-12);
  }
  .thh-cannabinoids__inner {
    padding: var(--thh-space-16) var(--thh-space-4);
  }
  .thh-pill {
    min-width: 140px;
    padding: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thh-cannabinoids__video {
    display: none;
  }
  .thh-cannabinoids {
    background:
      radial-gradient(circle at 50% 30%, rgba(201, 169, 97, 0.08), transparent 60%),
      var(--thh-bg-deep);
  }
}
