/* ==========================================================================
   casasdeapuestasbalonmano.com  |  sistema de diseño
   Replica el mockup aprobado: hoja blanca sobre azul claro, cabeceras navy,
   CTA azul, badge dorado, cajas pros/contras verde y roja.
   ========================================================================== */

:root {
  /* color */
  --navy: #123a63;
  --navy-dark: #0d2b4a;
  --navy-soft: #1d4c7c;
  --blue: #2b7fd4;
  --blue-dark: #1a63ab;
  --blue-50: #eaf3fb;
  --blue-100: #d9e8f6;
  --gold: #f6b21b;
  --orange: #ee8c26;
  --green: #2f9e51;
  --green-bg: #eaf7ee;
  --red: #cf4a3f;
  --red-bg: #fdeeec;
  --ink: #1b2836;
  --ink-soft: #35485c;
  --muted: #64768a;
  --line: #e1ebf4;
  --line-strong: #c9dbec;
  --white: #fff;
  --page-bg: #e8f1fa;

  /* forma */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 58, 99, .06);
  --shadow-md: 0 4px 16px rgba(18, 58, 99, .08);
  --sheet: 1000px;

  /* tipografía */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.7;
  font-size: 16px;
  padding-bottom: 76px; /* espacio para la barra CTA móvil */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* ---------- cabecera ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.hdr-inner {
  max-width: var(--sheet);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { text-decoration: none; }
/* Solo el logo: el nombre ya está dentro de la imagen */
.brand-logo { height: 52px; width: auto; max-width: 300px; object-fit: contain; }
.hdr-nav { display: flex; gap: 16px; }
.hdr-nav a { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.hdr-flag {
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  color: var(--muted); border: 1px solid var(--line-strong);
  border-radius: 100px; padding: 2px 9px; text-transform: uppercase;
}

/* ---------- hoja de contenido ---------- */
.sheet {
  max-width: var(--sheet);
  margin: 18px auto 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 30px 38px 42px;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.22;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.3px;
}
h2, h3, h4, .tab-panel, .brand-block, .toc { scroll-margin-top: 84px; }
h2 {
  font-family: var(--font-head);
  font-size: clamp(1.24rem, 2.6vw, 1.6rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  margin: 42px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}
h3 {
  font-family: var(--font-head);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  color: var(--navy-soft);
  font-weight: 600;
  margin: 28px 0 10px;
}
h4 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 600;
  margin: 20px 0 10px;
}
p { margin: 0 0 14px; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
.sheet > p:first-of-type { font-size: 1.03rem; }

ul, ol { margin: 0 0 16px 20px; color: var(--ink-soft); }
li { margin-bottom: 6px; }

/* ---------- firma ---------- */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 14px;
  margin: 8px 0 22px;
}
.byline-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-100); color: var(--navy);
  display: grid; place-items: center;
  font-weight: 700; font-size: 11px; font-family: var(--font-head);
}
.byline b { color: var(--ink); }
.byline span.sep { color: var(--line-strong); }

/* ---------- índice ---------- */
.toc {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 22px 0 28px;
}
.toc h2 {
  all: unset;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .5px; text-transform: uppercase; color: var(--navy);
  display: block; margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 26px; }
.toc li { font-size: 14px; margin-bottom: 5px; break-inside: avoid; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--blue-dark); }

/* ---------- veredicto rápido ---------- */
.verdict {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 22px 0 6px;
}
.verdict-card {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 15px; background: var(--white); box-shadow: var(--shadow-sm);
}
.verdict-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--blue-dark); display: block; margin-bottom: 6px;
}
.verdict-card .who { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem; }
.verdict-card p { font-size: 13px; margin: 4px 0 0; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   TABLA COMPARATIVA (filas tipo tarjeta, como el mockup)
   ========================================================================== */
.cmp {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 18px 0 10px;
  background: var(--white);
}
.cmp-head {
  display: grid;
  grid-template-columns: 190px 1fr 210px 208px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
}
.cmp-head > div { padding: 9px 14px; }
.cmp-row {
  display: grid;
  grid-template-columns: 190px 1fr 210px 208px;
  border-top: 1px solid var(--line);
  position: relative;
}
.cmp-row:nth-child(even) { background: #fbfdff; }
.cmp-row > div { padding: 16px 14px; }

.cmp-brand { display: flex; flex-direction: column; align-items: center; gap: 7px; border-right: 1px solid var(--line); }
.rank-badge {
  position: absolute; top: 0; left: 0;
  background: var(--gold); color: #4a3200;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 2px 9px; border-bottom-right-radius: var(--r-sm);
}
.cmp-logo { height: 34px; width: auto; max-width: 132px; object-fit: contain; margin-top: 6px; }
/* Logos claros (blancos o amarillos) sobre pastilla oscura: sin ella no se ven en la hoja blanca */
img.on-dark {
  background: var(--navy);
  border-radius: 6px;
  padding: 5px 9px;
  box-sizing: content-box;
  max-width: 116px;
}
.logo-text {
  height: 34px; display: grid; place-items: center; margin-top: 6px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px;
}
.score { width: 100%; }
.score-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.score-top b { color: var(--ink); font-family: var(--font-head); }
.score-bar { height: 6px; border-radius: 100px; background: var(--blue-100); overflow: hidden; }
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--orange)); }
.cmp-brand .review { font-size: 11.5px; color: var(--blue-dark); }

.cmp-feats ul { margin: 0; list-style: none; }
.cmp-feats li {
  font-size: 13px; line-height: 1.5; color: var(--ink-soft);
  padding-left: 22px; position: relative; margin-bottom: 7px;
}
.cmp-feats li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e51' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}

.cmp-meta { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.meta-row { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: start; margin-bottom: 9px; }
.meta-row:last-child { margin-bottom: 0; }
.meta-row dt { font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  font-size: 10.5px; line-height: 1.5;
  border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 1px 5px; color: var(--ink-soft); background: var(--white);
  white-space: normal; overflow-wrap: anywhere; max-width: 100%;
}
.chip.more { border-style: dashed; color: var(--muted); }
.chip.lic { border-color: var(--blue-100); background: var(--blue-50); color: var(--navy); font-weight: 600; white-space: normal; }
.chip.dgoj { border-color: #cfe8d6; background: var(--green-bg); color: #1d6b36; font-weight: 600; }

.cmp-offer { display: flex; flex-direction: column; gap: 8px; background: var(--blue-50); }
.offer-tag { font-size: 11px; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.offer-bonus { font-size: 13px; line-height: 1.45; color: var(--ink); }
.offer-terms { font-size: 10.5px; color: var(--muted); line-height: 1.45; }
.btn {
  display: block; text-align: center;
  background: var(--blue); color: #fff !important;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 11px 14px; border-radius: var(--r-sm);
  border: none; cursor: pointer; min-height: 44px;
  transition: background .15s, transform .1s;
  text-decoration: none !important;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn.ghost {
  background: var(--white); color: var(--navy) !important;
  border: 1px solid var(--line-strong); font-weight: 600;
}
.btn.ghost:hover { background: var(--blue-50); }
.btn-sub { font-size: 10.5px; color: var(--muted); text-align: center; }

/* ==========================================================================
   BLOQUES DE MARCA
   ========================================================================== */
.brand-block { margin: 34px 0 0; scroll-margin-top: 70px; }
.brand-head {
  display: flex; align-items: center; gap: 11px;
  background: var(--navy); color: #fff;
  border-radius: var(--r-sm);
  padding: 10px 16px;
}
.brand-head .num {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
}
.brand-head h3 { all: unset; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; }
.brand-head .score-pill {
  margin-left: auto; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  background: var(--gold); color: #45300a; border-radius: 100px; padding: 2px 10px;
}
.brand-body { padding: 16px 2px 0; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 14px; margin: 6px 0 4px; align-items: start; }
.pc-box { border-radius: var(--r-md); padding: 13px 15px; font-size: 13.5px; }
.pc-box h5 {
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; margin-bottom: 8px;
}
.pc-box ul { margin: 0; list-style: none; }
.pc-box li { padding-left: 20px; position: relative; margin-bottom: 7px; line-height: 1.5; }
.pc-pros { background: var(--green-bg); border: 1px solid #cbe9d4; }
.pc-pros h5 { color: #1d6b36; }
.pc-pros li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e51' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pc-cons { background: var(--red-bg); border: 1px solid #f3d3cf; }
.pc-cons h5 { color: #9c3227; }
.pc-cons li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf4a3f' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* carrusel de capturas */
.shots { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--blue-50); }
.shots-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track img { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 9; object-fit: cover; }
.shots-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--line-strong);
  display: grid; place-items: center; cursor: pointer; color: var(--navy);
  font-size: 15px; line-height: 1; padding: 0;
}
.shots-nav.prev { left: 7px; } .shots-nav.next { right: 7px; }
.shots-cap { font-size: 10.5px; color: var(--muted); padding: 6px 10px; background: var(--white); border-top: 1px solid var(--line); }
.mini-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; margin-top: 10px; background: var(--white); }
.mini-card .meta-row { grid-template-columns: 58px 1fr; }
.mini-card .btn { margin-top: 10px; }

.tip {
  border-left: 3px solid var(--gold);
  background: #fffaf0;
  padding: 11px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 4px;
}
.tip b { color: var(--navy); }

/* fichas cortas (marcas secundarias y DGOJ) */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 12px; margin: 16px 0; }
.mini-brand {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px;
  display: flex; flex-direction: column; gap: 8px; background: var(--white);
}
.mini-brand img { height: 28px; width: auto; max-width: 118px; object-fit: contain; }
.mini-brand .name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.mini-brand dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; font-size: 12.5px; margin: 0; }
.mini-brand dt { color: var(--muted); }
.mini-brand dd { color: var(--ink-soft); margin: 0; }
.mini-brand p { font-size: 12.5px; margin: 0; }

/* ==========================================================================
   MÓDULOS DE DATOS
   ========================================================================== */
.data-block { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; margin: 18px 0 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 2px; background: var(--blue-50); border-bottom: 1px solid var(--line-strong); padding: 6px 6px 0; }
.tab {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  border: 1px solid transparent; border-bottom: none;
  background: transparent; color: var(--ink-soft);
  padding: 8px 13px; border-radius: var(--r-sm) var(--r-sm) 0 0; cursor: pointer;
  min-height: 40px;
}
.tab[aria-selected="true"] { background: var(--white); border-color: var(--line-strong); color: var(--navy); }
.tab-panel { padding: 14px 16px 16px; }
.tab-panel[hidden] { display: none; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 12px; background: #fbfdff; }
.kpi .v { font-family: var(--font-head); font-size: 1.32rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.kpi .k { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; display: block; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 700px; background: var(--white); }
table.data thead th {
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: .3px; text-transform: uppercase;
  padding: 8px 9px; text-align: right; white-space: nowrap; position: sticky; top: 0;
}
table.data thead th:first-child, table.data thead th:nth-child(2) { text-align: left; }
table.data td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: right; color: var(--ink-soft); white-space: nowrap; }
table.data td:nth-child(2) { text-align: left; }
table.data tbody tr:nth-child(even) { background: #fbfdff; }
table.data tbody tr:hover { background: var(--blue-50); }
table.data .pos { color: var(--muted); text-align: center; width: 34px; }
table.data .team { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
table.data .team img { width: 18px; height: 18px; object-fit: contain; flex: none; }
table.data .pts { font-weight: 700; color: var(--navy); }
table.data td.pos-eu { box-shadow: inset 3px 0 0 var(--green); }
table.data td.pos-el { box-shadow: inset 3px 0 0 var(--blue); }
table.data td.pos-down { box-shadow: inset 3px 0 0 var(--red); }
.form-pills { display: inline-flex; gap: 2px; }
.form-pills i {
  width: 16px; height: 16px; border-radius: 3px; font-style: normal;
  font-size: 9.5px; font-weight: 700; color: #fff;
  display: grid; place-items: center; font-family: var(--font-head);
}
.form-pills i.V { background: var(--green); }
.form-pills i.E { background: var(--muted); }
.form-pills i.D { background: var(--red); }

.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.rank-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 13px; }
.rank-card h5 { font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--navy); margin-bottom: 9px; }
.rank-card ol { margin: 0; list-style: none; }
.rank-card li { display: grid; grid-template-columns: 15px 1fr auto; gap: 7px; align-items: center; font-size: 13px; margin-bottom: 7px; }
.rank-card li span.n { color: var(--muted); font-size: 11px; }
.rank-card li b { font-family: var(--font-head); color: var(--navy); font-size: 13px; }
.meter { height: 5px; border-radius: 100px; background: var(--blue-100); overflow: hidden; margin-top: 3px; grid-column: 2 / -1; }
.meter i { display: block; height: 100%; background: var(--blue); }

.source-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.source-note code { background: var(--blue-50); padding: 1px 5px; border-radius: 3px; font-size: 11px; }

.fixtures { list-style: none; margin: 12px 0 0; }
.fixtures li {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 11px; margin-bottom: 7px; font-size: 13px;
}
.fixtures .when { font-size: 11.5px; color: var(--muted); }
.fixtures .who { color: var(--ink); font-weight: 600; }
.fixtures .comp { font-size: 11px; color: var(--navy); background: var(--blue-50); border-radius: 100px; padding: 2px 9px; white-space: nowrap; }

/* tabla de definiciones (taxonomía de estadísticas) */
table.defs { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 12px 0 18px; }
table.defs th {
  text-align: left; background: var(--blue-50); color: var(--navy);
  font-family: var(--font-head); font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px;
  padding: 8px 10px; border-bottom: 1px solid var(--line-strong);
}
table.defs td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
table.defs td:first-child { font-weight: 600; color: var(--ink); width: 30%; }
table.defs td:last-child { color: var(--muted); }
table.defs tbody tr:nth-child(even) { background: #fbfdff; }

/* ---------- avisos y compliance ---------- */
.warn {
  border: 1px solid #f2d9a0; background: #fdf7e8; border-radius: var(--r-md);
  padding: 14px 16px; margin: 18px 0; font-size: 13.5px; color: #6b4e12;
}
.warn h4 { color: #6b4e12; margin: 0 0 6px; font-size: .98rem; }
.warn ul { margin: 8px 0 0 18px; color: #6b4e12; }
.warn a { color: #6b4e12; text-decoration: underline; }

.disclosure {
  font-size: 12px; color: var(--muted); background: var(--blue-50);
  border: 1px dashed var(--blue-100); border-radius: var(--r-sm);
  padding: 9px 12px; margin: 14px 0;
}

/* ---------- Expert Advisor: los consejos firmados de Elena ---------- */
.expert {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  margin: 22px 0;
  padding: 15px 17px;
  background: linear-gradient(180deg, #fbfdff 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
}
.expert .ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.expert .label {
  display: block; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 4px;
}
.expert p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.62; }
.expert cite {
  display: block; margin-top: 7px; font-size: 12px; font-style: normal; color: var(--muted);
}

/* ---------- bloques de monetización adicionales ---------- */
.week-pick {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; border-radius: var(--r-md); padding: 16px 18px; margin: 22px 0;
}
.week-pick .tag {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 5px;
}
.week-pick .logo-box {
  background: rgba(255,255,255,.94); border-radius: 8px; padding: 9px 12px;
  display: grid; place-items: center; min-width: 120px;
}
.week-pick .logo-box img { height: 30px; width: auto; max-width: 112px; object-fit: contain; }
.week-pick .logo-box .logo-text { color: var(--navy); font-size: 15px; height: auto; margin: 0; }
.week-pick h4 { color: #fff; margin: 0 0 3px; font-size: 1.05rem; }
.week-pick p { color: rgba(255,255,255,.86); font-size: 13px; margin: 0; }
.week-pick .btn { background: var(--gold); color: #3d2a00 !important; white-space: nowrap; }
.week-pick .btn:hover { background: #ffc22e; }

.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--line-strong); border-left: 4px solid var(--blue);
  border-radius: var(--r-md); padding: 14px 17px; margin: 20px 0; background: #fbfdff;
}
.cta-band .txt strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 15px; }
.cta-band .txt span { font-size: 13px; color: var(--muted); }
.cta-band .brands { display: flex; align-items: center; gap: 10px; }
.cta-band .brands img { height: 24px; width: auto; max-width: 88px; object-fit: contain; }

.mini-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 18px 0; }
.mini-cmp .card {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: var(--white);
  display: flex; flex-direction: column; gap: 8px; text-align: center; box-shadow: var(--shadow-sm);
}
.mini-cmp .card .pos {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--blue-dark);
}
.mini-cmp .card img { height: 28px; width: auto; max-width: 108px; object-fit: contain; margin: 0 auto; }
.mini-cmp .card .logo-text { height: auto; margin: 0; font-size: 15px; }
.mini-cmp .card .dato { font-size: 13px; color: var(--ink-soft); }
.mini-cmp .card .dato b { color: var(--navy); font-family: var(--font-head); }

.rot-note { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; margin: 16px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer; padding: 13px 16px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy); font-size: 14.5px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 19px; color: var(--blue); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { background: var(--blue-50); }
.faq .answer { padding: 4px 16px 15px; font-size: 14px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- autor ---------- */
.author-card {
  display: grid; grid-template-columns: 62px 1fr; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px; margin: 30px 0 0; background: #fbfdff;
}
.author-card .ava {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--blue-100); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px;
}
.author-card h4 { margin: 0 0 4px; }
.author-card p { font-size: 13px; margin: 0; }

/* ---------- barra CTA móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -2px 14px rgba(18,58,99,.1);
  padding: 9px 14px;
  display: none; align-items: center; gap: 12px;
}
.sticky-cta .txt { flex: 1; min-width: 0; }
.sticky-cta .txt b { display: block; font-family: var(--font-head); font-size: 13px; color: var(--navy); }
.sticky-cta .txt span {
  font-size: 11px; color: var(--muted);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-cta .btn { padding: 10px 18px; font-size: 13.5px; }

/* ---------- pie ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 30px 20px 22px; font-size: 13px; }
.footer-inner { max-width: var(--sheet); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 5px; }
.footer-legal {
  max-width: var(--sheet); margin: 22px auto 0; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; line-height: 1.65;
}
.age {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #fff; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px;
  margin-right: 10px; float: left;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .pc-media { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hdr-nav a { display: none; }
  .hdr-inner { padding: 10px 14px; }
  .brand-logo { height: 42px; }
}

/* En móvil las tablas de definiciones se apilan: tres columnas de texto no caben
   en 360 px y provocaban desbordamiento horizontal de toda la página. */
@media (max-width: 700px) {
  table.defs { display: block; width: 100%; }
  table.defs thead { display: none; }
  table.defs tbody, table.defs tr, table.defs td { display: block; width: 100%; }
  table.defs tr {
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 11px 13px; margin-bottom: 9px; background: var(--white);
  }
  table.defs tbody tr:nth-child(even) { background: #fbfdff; }
  table.defs td { border: none; padding: 3px 0; }
  table.defs td:first-child { width: auto; color: var(--navy); font-family: var(--font-head); font-size: 14px; }
  table.defs td:nth-child(2)::before { content: "Qué mide: "; font-weight: 600; color: var(--muted); }
  table.defs td:last-child::before { content: "Al apostar: "; font-weight: 600; color: var(--muted); }

  .shots-nav { width: 36px; height: 36px; font-size: 17px; }
  .shots-cap { font-size: 11.5px; }
  .source-note, .rot-note { font-size: 12px; }
  .cmp-brand .review { padding: 7px 6px; display: inline-block; }
}

@media (max-width: 880px) {
  .sheet { padding: 22px 18px 32px; margin: 12px 10px 26px; border-radius: var(--r-sm); }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; padding-top: 6px; }
  .cmp-row > div { padding: 12px; }
  .cmp-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; border-right: none; border-bottom: 1px solid var(--line); padding-top: 20px; }
  .cmp-logo, .logo-text { margin-top: 0; }
  .cmp-brand .score { max-width: 190px; margin-left: auto; }
  .cmp-feats { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .cmp-meta { border-left: none; border-right: none; grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .cmp-offer { grid-column: 1 / -1; }
  .verdict { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 82px; }
}

@media (max-width: 700px) {
  .week-pick { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .week-pick .logo-box { justify-self: start; }
  .week-pick .btn { width: 100%; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .brands { justify-content: flex-start; }
  .cta-band .btn { width: 100%; }
}

@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; }
  .expert { grid-template-columns: 1fr; gap: 9px; }
  .expert .ava { width: 34px; height: 34px; font-size: 12px; }
  .brand-head { flex-wrap: wrap; }
  .brand-head .score-pill { margin-left: 0; }
  .author-card { grid-template-columns: 1fr; }
  .author-card .ava { margin-bottom: 4px; }
  h2 { margin-top: 34px; }
}
