/* =============================================
   MEJORES CORTACÉSPED — PREMIUM CRO SYSTEM v1
   Mobile-First | Alta Conversión | Afiliados Amazon
   ============================================= */

/* 1. VARIABLES */
:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-glow: rgba(22, 163, 74, 0.15);
  --amazon: #f59e0b;
  --amazon-hover: #d97706;
  --amazon-glow: rgba(245, 158, 11, 0.30);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-main: #f0f4f8;
  --bg-card: #ffffff;
  --bg-dark: #0a0f1e;
  --bg-dark-2: #111827;
  --border: #e2e8f0;
  --border-glow: rgba(22, 163, 74, 0.35);
  --green: #22c55e;
  --yellow: #eab308;
  --purple: #6366f1;
  --pro-bg: #f0fdf4;
  --pro-text: #166534;
  --con-bg: #fef2f2;
  --con-text: #991b1b;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 10px 36px rgba(22,163,74,0.18);
  --shadow-cta: 0 4px 18px rgba(245,158,11,0.35);
  --transition: 0.22s ease;
}

/* 2. RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* 3. LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 4. HEADER — Sticky Glassmorphism */
.site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 14px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  gap: 16px;
}
.logo img { height: 46px; width: auto; }
.nav-links { display: none; gap: 4px; align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 6px 11px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-glow);
  color: var(--primary-dark);
}
.header-trust {
  display: none;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@media (min-width: 1040px) { .header-trust { display: inline-flex; align-items: center; gap: 5px; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg-main); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-nav a:hover { background: var(--bg-main); }

/* 5. HERO */
.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 360px;
  height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.85) 0%, rgba(21,128,61,0.50) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 20px;
}
.hero-tag {
  display: inline-block;
  background: rgba(22,163,74,0.22);
  border: 1px solid rgba(22,163,74,0.55);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hero-content h1 {
  color: white;
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  margin-bottom: 10px;
}
.hero-sub {
  color: #cbd5e1;
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.hero-badge:hover {
  background: rgba(22,163,74,0.35);
  border-color: rgba(22,163,74,0.7);
  color: white;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: indicatorBounce 2.2s ease-in-out infinite;
  pointer-events: none;
}
.scroll-indicator svg { opacity: 0.55; }
@keyframes indicatorBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* 6. TRUST BAR */
.trust-bar {
  background: var(--bg-dark-2);
  color: #64748b;
  padding: 9px 0;
  font-size: 0.78rem;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 18px;
}
.trust-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust-item .ti-icon { color: var(--green); font-size: 0.85rem; }
.trust-item strong { color: #e2e8f0; }
.trust-sep { color: #1e293b; margin: 0 2px; }

/* 7. SECTIONS */
.section { padding: 60px 0; }
.section-white { background: white; }
.section-gray { background: var(--bg-main); }
.section-header { margin-bottom: 36px; }
.section-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 6px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 8. PRODUCT CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards-grid { grid-template-columns: 1fr 1fr 1fr; } }

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}
.product-card.card-winner { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(22,163,74,0.12), var(--shadow-card); }

.card-top-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tb-blue { background: var(--primary); color: white; }
.tb-yellow { background: var(--yellow); color: #0f172a; }
.tb-purple { background: var(--purple); color: white; }

.card-img-wrap {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  min-height: 185px;
  overflow: hidden;
}
.card-img-wrap img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card:hover .card-img-wrap img { transform: scale(1.07); }

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}
.card-type-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-main);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 14px;
}
.score-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.score-detail { display: flex; flex-direction: column; gap: 2px; }
.score-label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.score-stars { color: var(--yellow); font-size: 0.8rem; }
.score-stars span { color: var(--text-muted); font-size: 0.72rem; }

.card-pros {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.card-pro {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.5;
}
.card-pro::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

.card-cta { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }

/* 9. BUTTONS */
.btn-amazon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--amazon);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-cta);
  text-align: center;
  cursor: pointer;
  border: none;
  line-height: 1.2;
}
.btn-amazon:hover {
  background: var(--amazon-hover);
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(245,158,11,0.48);
  color: #0f172a;
}
.btn-amazon:active { transform: translateY(0); }

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: white;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-glow);
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
  text-align: center;
}
.btn-secondary:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* 10. COMPARISON TABLE */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: white;
}
@media (max-width: 480px) {
  .compare-table { min-width: 360px; }
  .compare-table td, .compare-table th { padding: 10px 10px; font-size: 0.8rem; }
  .table-prod img { width: 36px; height: 36px; }
  .table-prod-name { font-size: 0.78rem; }
}
.compare-table thead th {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 13px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
.compare-table thead th:last-child { text-align: center; }
.compare-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background var(--transition);
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: #f8fafc; }
.compare-table td {
  padding: 13px 16px;
  font-size: 0.86rem;
  color: var(--text-main);
  vertical-align: middle;
}

.table-prod {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-prod img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  flex-shrink: 0;
}
.table-prod-name { font-weight: 700; font-size: 0.88rem; display: block; margin-bottom: 2px; }
.table-prod-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tpb-1 { background: #dcfce7; color: #15803d; }
.tpb-2 { background: #fef9c3; color: #a16207; }
.tpb-3 { background: #ede9fe; color: #5b21b6; }
.tpb-4 { background: #f1f5f9; color: #475569; }

.score-pill {
  background: #f0fdf4;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

.table-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--amazon);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  margin: auto;
}
.table-cta:hover { background: var(--amazon-hover); transform: translateY(-1px); color: #0f172a; }

/* 11. ACCORDION */
.accordion { display: flex; flex-direction: column; gap: 8px; }

.acc-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.acc-item.open {
  border-color: var(--border-glow);
  box-shadow: 0 4px 14px rgba(22,163,74,0.08);
}

.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background var(--transition);
  line-height: 1.4;
}
.acc-trigger:hover { background: var(--bg-main); }

.acc-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background var(--transition), border-color var(--transition), color var(--transition);
}
.acc-item.open .acc-icon {
  transform: rotate(180deg);
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
}
.acc-item.open .acc-body { opacity: 1; }

.acc-content {
  padding: 0 18px 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}
.acc-content p { margin-bottom: 10px; font-size: 0.88rem; }
.acc-content p:last-child { margin-bottom: 0; }
.acc-content ul { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.acc-content ul li { padding-left: 18px; position: relative; font-size: 0.86rem; }
.acc-content ul li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.acc-content strong { color: var(--text-main); }

/* 12. PROS / CONTRAS */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 10px 0 4px;
}
@media (min-width: 560px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pro-box, .con-box { padding: 14px 16px; border-radius: 10px; }
.pro-box { background: var(--pro-bg); border: 1px solid #bbf7d0; }
.con-box { background: var(--con-bg); border: 1px solid #fecaca; }
.pro-box h4 { color: var(--pro-text); font-size: 0.82rem; margin-bottom: 10px; }
.con-box h4 { color: var(--con-text); font-size: 0.82rem; margin-bottom: 10px; }
.pro-box li, .con-box li { font-size: 0.82rem; margin-bottom: 5px; padding-left: 16px; position: relative; }
.pro-box li::before { content: "✓"; position: absolute; left: 0; color: var(--pro-text); font-weight: bold; }
.con-box li::before { content: "✕"; position: absolute; left: 0; color: var(--con-text); font-weight: bold; }

/* 13. FINAL CTA BLOCK */
.cta-block {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0c1b3c 100%);
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22,163,74,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.cta-block h2 {
  color: white;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-block p {
  color: #94a3b8;
  font-size: 0.97rem;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-block .btn-amazon {
  display: inline-flex;
  font-size: 1rem;
  padding: 15px 38px;
}

/* 14. FOOTER */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid #1e293b;
  padding: 28px 0 20px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy { color: #475569; font-size: 0.78rem; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #475569; font-size: 0.78rem; transition: color var(--transition); }
.footer-links a:hover { color: #94a3b8; }
.footer-disclaimer {
  color: #334155;
  font-size: 0.75rem;
  text-align: center;
  max-width: 700px;
  margin: 12px auto 0;
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid #1e293b;
}

/* 15. STICKY MOBILE CTA */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  padding: 11px 16px;
  box-shadow: 0 -4px 22px rgba(0,0,0,0.13);
  transform: translateY(110%);
  transition: transform 0.38s cubic-bezier(0.34,1.2,0.64,1);
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-cta-mobile.show { transform: translateY(0); }
.sticky-cta-label { flex: 1; }
.sticky-cta-label strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-main); }
.sticky-cta-label span { font-size: 0.72rem; color: var(--text-muted); }
.sticky-cta-mobile .btn-amazon { padding: 10px 16px; font-size: 0.82rem; flex-shrink: 0; white-space: nowrap; }
@media (min-width: 768px) { .sticky-cta-mobile { display: none !important; } }

/* 16. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* 17. TYPOGRAPHY FALLBACK */
h2 { font-size: 1.55rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
h3 { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
p { font-size: 0.97rem; margin-bottom: 14px; }

/* 18. BREADCRUMBS */
.breadcrumbs {
  font-size: 0.79rem;
  color: var(--text-muted);
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--primary); }

/* 19. UPDATED DATE CHIP */
.updated-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--pro-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* 20. CORTACÉSPED: Coverage area badge */
.coverage-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — GLOBAL FIXES
═══════════════════════════════════════════ */

/* Secciones: menos padding en móvil */
@media (max-width: 640px) {
  .section { padding: 36px 0; }
  .cta-block { padding: 36px 20px; }
}

/* Pros/Cons: 1 columna hasta 640px */
@media (max-width: 639px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* Table: 1 columna en móvil pequeño */
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* 20. ANALYSIS PAGE TEMPLATE — Product Hero */
.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0 48px;
}
@media (min-width: 768px) {
  .product-hero { grid-template-columns: 340px 1fr; gap: 48px; }
}
.hero-img-wrap {
  background: white;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(22,163,74,0.05) 0%, transparent 65%);
}
.hero-img-wrap img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-img-wrap:hover img { transform: scale(1.06); }

.hero-info { display: flex; flex-direction: column; gap: 16px; }
.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0;
}
.hero-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-score-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hero-score-meta { display: flex; flex-direction: column; gap: 4px; }
.hero-score-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.hero-score-stars { color: var(--yellow); font-size: 1.1rem; }
.hero-score-count { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.hero-highlights { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.hero-highlight {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-main); line-height: 1.5;
}
.hero-highlight::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

.hero-price-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-main); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 10px 16px; width: fit-content;
}
.hero-price-badge .price-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.hero-price-badge .price-val { font-size: 1.25rem; font-weight: 900; color: var(--text-main); }

.hero-ctas { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .hero-ctas { flex-direction: row; } }

/* 21. SPECS GRID */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.spec-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.spec-icon { font-size: 1.5rem; line-height: 1; }
.spec-label { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.spec-value { font-size: 0.97rem; font-weight: 700; color: var(--text-main); line-height: 1.3; }

/* 22. VERDICT BLOCK */
.verdict-block {
  background: linear-gradient(135deg, var(--bg-dark), #0c1b3c);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.verdict-block::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.verdict-score-big {
  font-size: 5rem; font-weight: 900; color: var(--primary);
  line-height: 1; position: relative;
}
.verdict-score-big sup { font-size: 1.8rem; top: -2rem; }
.verdict-title { color: white; font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; }
.verdict-text { color: #94a3b8; font-size: 0.95rem; max-width: 480px; line-height: 1.7; }

/* 23. RELATED PRODUCTS MINI */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.related-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.related-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: inherit;
}
.related-card img {
  width: 54px; height: 54px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  flex-shrink: 0;
}
.related-card-info { flex: 1; }
.related-card-name { font-weight: 700; font-size: 0.86rem; display: block; margin-bottom: 3px; }
.related-card-score { font-size: 0.78rem; color: var(--primary); font-weight: 700; }

/* RESPONSIVE — ANÁLISIS */
@media (max-width: 640px) {
  .verdict-block { padding: 32px 20px; }
  .verdict-score-big { font-size: 3.5rem; }
}
@media (min-width: 600px) and (max-width: 767px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .hero-score-num { font-size: 2.4rem; }
  .hero-title { font-size: 1.3rem; }
}
