/* =============================================================
   RacketZone · styles.css · v20260910
   Premium tennis racket affiliate site
   ============================================================= */

/* 1. Custom Properties */
:root {
  /* Fondos — gris carbón cálido, sin tinte azul */
  --bg: #0d0c0b;
  --bg-card: #141310;
  --bg-elevated: #1a1815;
  --bg-header: rgba(13,12,11,0.93);

  /* Texto */
  --text: #f2ede8;
  --text-muted: #9a9086;
  --text-dim: #5a5248;

  /* Bordes */
  --border: rgba(255,248,240,0.08);
  --border-hover: rgba(255,248,240,0.2);

  /* Acento principal — naranja clay court */
  --accent: #E8622A;
  --accent-dim: rgba(232,98,42,0.13);
  --accent-glow: rgba(232,98,42,0.28);

  /* Acento secundario — amarillo pelota de tenis */
  --ball: #C8D400;
  --ball-dim: rgba(200,212,0,0.12);

  /* Soporte */
  --red: #D93025;
  --gold: #E8A020;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --gutter: clamp(16px, 4vw, 40px);
  --max-w: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.25s var(--ease-out);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
ul { list-style: none; padding: 0; }

/* 3. Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* 4. Typography */
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ============================================================
   5. Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.logo-sub { font-size: 0.75rem; color: var(--text-muted); display: none; }
@media (min-width: 720px) { .logo-sub { display: inline; } }

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,0.06); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.compare-btn-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(232,98,42,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}
.compare-btn-header:hover { background: var(--accent-glow); border-color: var(--accent); }
.compare-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Compare bar */
.compare-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--accent);
  padding: 10px var(--gutter);
}
.compare-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.compare-bar p { color: var(--text-muted); font-size: 0.875rem; }
.compare-bar strong { color: var(--text); }

/* Mobile nav */
@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 24px var(--gutter);
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 1.1rem; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .logo-sub { display: none !important; }
}

/* ============================================================
   6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #00e060; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-amazon { background: linear-gradient(135deg, #FF9500, #E05500); color: #fff; font-weight: 700; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-amazon:hover { background: linear-gradient(135deg, #FFa200, #E06200); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,98,42,0.45); }

/* ============================================================
   7. Badges
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-potencia { background: rgba(0,94,184,0.2); color: #5aa3ff; border: 1px solid rgba(90,163,255,0.3); }
.badge-control { background: rgba(26,92,26,0.2); color: #6fff6f; border: 1px solid rgba(111,255,111,0.3); }
.badge-spin { background: rgba(126,200,227,0.15); color: #7EC8E3; border: 1px solid rgba(126,200,227,0.3); }
.badge-polivalente { background: rgba(255,179,0,0.15); color: #FFB300; border: 1px solid rgba(255,179,0,0.3); }
.badge-featured { background: rgba(255,179,0,0.15); color: var(--gold); font-size: 0.7rem; border-radius: 50px; padding: 3px 10px; }
.badge-nivel { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }
.stars { color: var(--gold); font-size: 0.9rem; }
.stars em { font-style: normal; color: var(--text); font-size: 0.85rem; margin-left: 4px; }

/* ============================================================
   8. Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(232,98,42,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(200,212,0,0.04) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, rgba(10,10,20,1) 100%);
}
.hero-bg::after {
  content: '🎾';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(200px, 35vw, 500px);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.hero-content {
  position: relative;
  padding: 80px 0;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   9. Product Grid & Cards
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-image-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: var(--bg-elevated);
  overflow: hidden;
}
.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.product-card:hover .card-img { transform: scale(1.04); }
.card-image-link .badge { position: absolute; top: 12px; left: 12px; }
.badge-featured { position: absolute; top: 12px; right: 12px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-brand { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.card-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.card-specs span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 2px 8px;
  color: var(--text-muted);
}
.card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.card-price { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-compare {
  padding: 6px 12px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(232,98,42,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-compare:hover, .btn-compare.is-selected { background: var(--accent); color: var(--bg); }

/* ============================================================
   10. Sections
   ============================================================ */
.section-featured, .section-all, .section-cta { padding: 60px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.section-header h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.see-all { color: var(--accent); font-size: 0.875rem; font-weight: 600; }
.see-all:hover { text-decoration: underline; }

/* Filter bar */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.filter-pill {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--border-hover); color: var(--text); }
.filter-pill.active { background: var(--accent-dim); border-color: rgba(232,98,42,0.4); color: var(--accent); }
.product-card.hidden { display: none; }

/* Trust block */
.trust-block { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.trust-item { text-align: center; }
.trust-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.trust-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.trust-item p { font-size: 0.875rem; color: var(--text-muted); }

/* CTA card */
.cta-card {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(232,98,42,0.06) 100%);
  border: 1px solid rgba(232,98,42,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-card h2 { font-family: var(--serif); font-size: 1.8rem; }
.cta-card p { color: var(--text-muted); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; }

/* ============================================================
   11. Ficha page
   ============================================================ */
.ficha-page { padding-bottom: 80px; }
.ficha-hero { background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 24px 0; }
.ficha-breadcrumb { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.ficha-breadcrumb a { color: var(--text-muted); }
.ficha-breadcrumb a:hover { color: var(--accent); }
.ficha-layout { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .ficha-layout { grid-template-columns: 1fr; gap: 24px; } }

/* Gallery */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery-img-main { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--bg-card);
  padding: 0;
}
.thumb:hover, .thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Ficha info */
.ficha-brand { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 6px; }
.ficha-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.ficha-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.review-count { font-size: 0.8rem; color: var(--text-muted); }
.ficha-price { font-size: 1.3rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.price-note { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; display: block; margin-top: 2px; }

.ficha-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}
.qs-item {
  background: var(--bg-card);
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qs-item strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.qs-item span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Ficha body */
.ficha-body { padding-top: 48px; }
.ficha-main { display: grid; grid-template-columns: 1fr; gap: 0; }
.ficha-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.ficha-section:last-child { border-bottom: none; }
.ficha-section h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }

/* Radar */
.radar-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; margin-top: 20px; }
@media (max-width: 600px) { .radar-wrap { grid-template-columns: 1fr; } }
.radar-chart { background: var(--bg-elevated); border-radius: var(--radius); border: 1px solid var(--border); padding: 8px; }
.score-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.score-row span { font-size: 0.8rem; color: var(--text-muted); width: 100px; flex-shrink: 0; }
.score-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.score-bar div { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.8s var(--ease-out); }
.score-row strong { font-size: 0.8rem; color: var(--text); width: 36px; text-align: right; flex-shrink: 0; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.specs-table th, .specs-table td { padding: 10px 14px; font-size: 0.875rem; border-bottom: 1px solid var(--border); text-align: left; }
.specs-table th { color: var(--text-muted); font-weight: 500; width: 40%; background: rgba(255,255,255,0.02); }
.specs-table td { color: var(--text); font-weight: 600; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

/* Editorial */
.ficha-editorial p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.ficha-editorial p:last-child { margin-bottom: 0; }

/* Pros/Contras */
.proscons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
@media (max-width: 540px) { .proscons-grid { grid-template-columns: 1fr; } }
.pros-box, .contras-box { background: var(--bg-elevated); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.pros-box { border-top: 3px solid var(--accent); }
.contras-box { border-top: 3px solid var(--red); }
.pros-box h3, .contras-box h3 { font-size: 0.9rem; margin-bottom: 12px; }
.pros-box li, .contras-box li { font-size: 0.875rem; color: var(--text-muted); padding: 4px 0; padding-left: 16px; position: relative; }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.contras-box li::before { content: '✗'; position: absolute; left: 0; color: var(--red); }
.ideal-para { background: rgba(0,200,83,0.06); border: 1px solid rgba(0,200,83,0.2); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }
.ideal-para strong { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ideal-para p { color: var(--text); margin-top: 6px; font-size: 0.9rem; }

/* Reviews */
.review-summary { font-family: var(--serif); font-size: 1.1rem; color: var(--text); font-style: italic; border-left: 3px solid var(--accent); padding-left: 20px; margin: 16px 0; line-height: 1.6; }
.review-source { font-size: 0.8rem; color: var(--text-muted); }
.review-source a { color: var(--accent); }

/* CTA bottom */
.ficha-cta-bottom { display: flex; gap: 12px; flex-wrap: wrap; padding: 24px 0; }

/* Disclosure */
.affiliate-disclosure {
  background: rgba(255,179,0,0.06);
  border: 1px solid rgba(255,179,0,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.affiliate-disclosure strong { color: var(--gold); }

/* ============================================================
   12. Comparador
   ============================================================ */
.comparador-page { padding: 48px 0 80px; }
.comparador-header { text-align: center; margin-bottom: 40px; }
.comparador-header h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.comparador-header p { color: var(--text-muted); font-size: 1rem; }
.comparador-selector { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 40px; }
.selector-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.selector-row select {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--sans);
}
.selector-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }

.comparador-empty { }
.mini-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.comparador-radar-section, .comparador-table-section { margin-bottom: 48px; }
.comparador-radar-section h2, .comparador-table-section h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }
#comparador-radar-wrap { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; margin-top: 20px; }
.radar-big { width: 320px; max-width: 100%; }
.radar-legend { display: flex; flex-direction: column; gap: 8px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* Compare table */
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 0.85rem; text-align: left; }
.compare-table thead th { background: var(--bg-elevated); font-weight: 700; }
.compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.compare-table .spec-label { color: var(--text-muted); font-weight: 500; }
.compare-table .best-val { color: var(--accent); font-weight: 700; }
.compare-table .product-col-header { font-weight: 700; color: var(--text); }
.comparador-buy-row { display: flex; gap: 16px; flex-wrap: wrap; padding: 24px; background: var(--bg-elevated); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.buy-col { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.buy-col .product-name { font-size: 0.85rem; font-weight: 600; }
.buy-col .product-price { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   13. Calculadora
   ============================================================ */
.calculadora-page { padding: 48px 0 80px; }
.calculadora-header { text-align: center; margin-bottom: 40px; }
.calculadora-header h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.calculadora-header p { color: var(--text-muted); }
.calculadora-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 60px; }
@media (max-width: 720px) { .calculadora-layout { grid-template-columns: 1fr; } }

.calc-panel, .calc-visual-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.calc-form { display: flex; flex-direction: column; gap: 24px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.form-group label strong { color: var(--accent); font-size: 1.1rem; }
.tension-slider { width: 100%; accent-color: var(--accent); height: 6px; cursor: pointer; }
.tension-scale { display: flex; justify-content: space-between; margin-top: 8px; }
.tension-scale span { font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.tension-scale small { display: block; font-size: 0.65rem; color: var(--text-dim); }
.form-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--sans);
}
.calc-results { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result-item { background: var(--bg-elevated); border-radius: var(--radius); padding: 14px; text-align: center; border: 1px solid var(--border); }
.result-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.result-value { font-size: 1.6rem; font-weight: 700; margin: 4px 0; }
.result-value.good { color: var(--accent); }
.result-value.mid { color: var(--gold); }
.result-value.low { color: #ff6b6b; }
.result-desc { font-size: 0.7rem; color: var(--text-muted); }

#tension-chart { border-radius: var(--radius); background: var(--bg-elevated); max-width: 100%; }
.calc-recommendation { margin-top: 20px; background: var(--accent-dim); border: 1px solid rgba(0,200,83,0.25); border-radius: var(--radius); padding: 16px; }
.calc-recommendation h3 { font-size: 0.9rem; margin-bottom: 8px; }
#rec-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Calc guide */
.calc-guide { margin-top: 40px; }
.calc-guide h2 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 24px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.guide-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.guide-card h3 { font-size: 1rem; margin-bottom: 12px; }
.guide-card ul { padding-left: 16px; list-style: disc; }
.guide-card li { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 6px; }
.guide-card strong { color: var(--text); }
.tension-tips { background: rgba(0,200,83,0.06); border: 1px solid rgba(0,200,83,0.2); border-radius: var(--radius); padding: 20px 24px; }
.tension-tips h3 { font-size: 1rem; margin-bottom: 8px; color: var(--ball); }
.tension-tips p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   14. Guía de compra
   ============================================================ */
.guia-page { padding-bottom: 80px; }
.guia-hero { background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 60px 0; text-align: center; }
.guia-hero h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
.guia-intro { font-size: 1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.guia-body { padding-top: 48px; display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .guia-body { grid-template-columns: 1fr; } }
.guia-toc { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 80px; }
.guia-toc h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.guia-toc ol { padding-left: 20px; list-style: decimal; }
.guia-toc li { margin-bottom: 6px; }
.guia-toc a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.guia-toc a:hover { color: var(--accent); }
.guia-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.guia-section:last-child { border-bottom: none; }
.guia-section h2 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 16px; }
.guia-section p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.level-grid, .style-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.level-card, .style-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.level-card h3, .style-card h3 { font-size: 1rem; margin-bottom: 10px; }
.level-card p, .style-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.level-card a, .style-card a { color: var(--accent); }
.specs-explainer { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; }
.spec-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.spec-item h3 { font-size: 0.95rem; margin-bottom: 8px; color: var(--accent); }
.spec-item p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.spec-item ul { padding-left: 16px; list-style: disc; }
.spec-item li { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.guia-section ul { padding-left: 20px; list-style: disc; margin: 12px 0; }
.guia-section li { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 6px; line-height: 1.6; }
.guia-section li strong { color: var(--text); }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-size: 0.9rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 14px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   15. Marca page
   ============================================================ */
.marca-page { padding: 48px 0 80px; }
.marca-hero { margin-bottom: 48px; }
.marca-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.marca-hero p { color: var(--text-muted); font-size: 1rem; max-width: 600px; }
.lineas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 40px; }
.linea-info { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.linea-info h3 { font-size: 0.95rem; color: var(--accent); margin-bottom: 6px; }
.linea-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   16. Legal pages
   ============================================================ */
.legal-page { padding: 60px 0 80px; max-width: 760px; }
.legal-page h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--text); }
.legal-page p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; font-size: 0.95rem; }
.legal-page a { color: var(--accent); }
.legal-page strong { color: var(--text); }

/* ============================================================
   17. Footer
   ============================================================ */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-links h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-legal h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.footer-legal li { margin-bottom: 6px; }
.footer-legal a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); border-top: 1px solid var(--border); padding-top: 24px; }
.affiliate-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; padding: 12px 16px; background: rgba(255,179,0,0.04); border-radius: var(--radius-sm); border-left: 3px solid rgba(255,179,0,0.3); }
.affiliate-note strong { color: var(--gold); }
.copyright { font-size: 0.78rem; color: var(--text-dim); }

/* ============================================================
   18. Ofertas
   ============================================================ */
.ofertas-page { padding: 48px 0 80px; }

/* ============================================================
   19. Responsive
   ============================================================ */
@media (max-width: 540px) {
  .ficha-quick-specs { grid-template-columns: repeat(2, 1fr); }
  .cta-card { flex-direction: column; }
  .cta-actions { width: 100%; flex-direction: column; }
  .hero-actions { flex-direction: column; }
}
@media (min-width: 1280px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   20. Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-bg::after { display: none; }
}

/* View transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } }
