/*
   Equipamiento Montaña — Landing Page Afiliados
   Estilos específicos: paleta outdoor, tarjetas de producto, FAQ accordion
*/

/* ── Paleta Outdoor ── */
:root {
  --eq-stone: #F5F3F0;
  --eq-white: #FFFFFF;
  --eq-forest: #1B3A2D;
  --eq-forest-light: #2D5A45;
  --eq-moss: #5A6B5E;
  --eq-cta: #E8740C;
  --eq-cta-hover: #CC6200;
  --eq-cta-glow: rgba(232, 116, 12, 0.25);
  --eq-badge: #4A7C59;
  --eq-badge-text: #FFFFFF;
  --eq-pro: #16A34A;
  --eq-con: #DC2626;
  --eq-border: #E5E0DB;
  --eq-legal: #9CA3AF;
  --eq-section-alt: #EDEAE6;
}

/* ── Hero Section ── */
.eq-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.eq-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.eq-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eq-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 58, 45, 0.75) 0%,
    rgba(27, 58, 45, 0.55) 50%,
    rgba(27, 58, 45, 0.85) 100%
  );
}

.eq-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.eq-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.eq-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.eq-hero__disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Section Layout ── */
.eq-section {
  padding: 5rem 1.5rem;
}

.eq-section--alt {
  background: var(--eq-section-alt);
}

.eq-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.eq-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(74, 124, 89, 0.1);
  color: var(--eq-badge);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eq-section__badge .material-symbols-outlined {
  font-size: 16px;
}

.eq-section__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--eq-forest);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.eq-section__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--eq-moss);
  line-height: 1.7;
}

/* ── Sub-section Title (H3) ── */
.eq-subsection__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--eq-forest);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 0.5rem;
  letter-spacing: -0.01em;
}

.eq-subsection__title .material-symbols-outlined {
  font-size: 24px;
  color: var(--eq-badge);
}

/* ── Card Use Tag ── */
.eq-card__use {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--eq-badge);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  padding: 6px 10px;
  background: rgba(74, 124, 89, 0.06);
  border-radius: 8px;
}

.eq-card__use .material-symbols-outlined {
  font-size: 16px;
}

/* ── Product Grid ── */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .eq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Product Card ── */
.eq-card {
  background: var(--eq-white);
  border-radius: 1.25rem;
  border: 1px solid var(--eq-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.eq-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(27, 58, 45, 0.12), 0 8px 16px rgba(27, 58, 45, 0.06);
  border-color: transparent;
}

/* Card Image */
.eq-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f8f7f5;
}

.eq-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.eq-card:hover .eq-card__image img {
  transform: scale(1.06);
}

/* Badge / Insignia */
.eq-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--eq-badge);
  color: var(--eq-badge-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.35);
}

.eq-card__badge .material-symbols-outlined {
  font-size: 14px;
}

/* Card Body */
.eq-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eq-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--eq-forest);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.eq-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--eq-moss);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Pros & Contras */
.eq-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eq-card__features li {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.eq-card__features li .pro {
  color: var(--eq-pro);
  font-weight: 700;
  flex-shrink: 0;
}

.eq-card__features li .con {
  color: var(--eq-con);
  font-weight: 700;
  flex-shrink: 0;
}

.eq-card__features li span:last-child {
  color: var(--eq-moss);
}

/* CTA Amazon Button */
.eq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--eq-cta);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  margin-top: auto;
  box-shadow: 0 4px 14px var(--eq-cta-glow);
}

.eq-cta:hover {
  background: var(--eq-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 116, 12, 0.35);
}

.eq-cta:active {
  transform: translateY(0);
}

.eq-cta .material-symbols-outlined {
  font-size: 18px;
}

/* ── FAQ Accordion ── */
.eq-faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eq-faq__item {
  background: var(--eq-white);
  border-radius: 1rem;
  border: 1px solid var(--eq-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.eq-faq__item:hover {
  border-color: rgba(74, 124, 89, 0.3);
}

.eq-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--eq-forest);
  line-height: 1.4;
}

.eq-faq__question .material-symbols-outlined {
  font-size: 22px;
  color: var(--eq-badge);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.eq-faq__item.active .eq-faq__question .material-symbols-outlined {
  transform: rotate(180deg);
}

.eq-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              padding 0.3s ease;
}

.eq-faq__answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--eq-moss);
  line-height: 1.75;
}

.eq-faq__item.active .eq-faq__answer {
  max-height: 600px;
}

/* ── Scroll CTA (floating) ── */
.eq-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--eq-forest);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.eq-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.eq-scroll-top:hover {
  background: var(--eq-forest-light);
  transform: translateY(-2px);
}

/* ── Divider Line ── */
.eq-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--eq-cta), var(--eq-badge));
  border-radius: 100px;
  margin: 0 auto 2rem;
}

/* ── Back to Rutas Link ── */
.eq-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--eq-badge);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.eq-back:hover {
  gap: 10px;
  color: var(--eq-forest);
}

.eq-back .material-symbols-outlined {
  font-size: 18px;
}
