/* ==========================================================================
   El Mister — estilos de la web comercial (paginaweb.html)
   ========================================================================== */

:root {
  --bg: #0a1512;
  --bg-alt: #0d1c17;
  --surface: #11221c;
  --surface-2: #16281f;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #eef4f1;
  --text-secondary: #b7c4bd;
  --text-muted: #7f8f88;
  --accent: #22b57a;
  --accent-hover: #29c988;
  --accent-soft: rgba(34,181,122,0.14);
  --on-accent: #06130e;
  --warn: #e0a72e;
  --danger: #e0554f;
  --blue: #3b82f6;
  --rose: #f4649a;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --dur: 220ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Botones ---------- */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 14.5px; padding: 13px 22px; border-radius: 999px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 8px 24px rgba(34,181,122,0.25);
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button b { font-weight: 700; transition: transform var(--dur) var(--ease); }
.button:hover b { transform: translateX(3px); }
.button-small { padding: 9px 16px; font-size: 13px; box-shadow: none; }
.button-outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; }
.button-outline:hover { background: var(--surface-2); border-color: var(--accent); }
.light-button { background: #fff; color: #0a1512; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.light-button:hover { background: #e9efec; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--text-secondary); transition: color var(--dur) var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link b { transition: transform var(--dur) var(--ease); }
.text-link:hover b { transform: translateY(2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,21,18,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.login { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.login:hover { color: var(--text); }
.menu-button { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.menu-button i { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 76px 24px 90px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 20px; font-size: 17.5px; color: var(--text-secondary); max-width: 46ch; }
.hero-buttons { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.microcopy { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* Mockup de la app en el hero */
.product-stage { position: relative; }
.app-window {
  display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; min-height: 460px;
}
.app-sidebar {
  width: 58px; flex: 0 0 58px; background: var(--bg-alt); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; padding: 18px 0; gap: 18px;
}
.app-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.app-sidebar .active-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.app-sidebar span:not(.app-logo):not(.active-dot) { width: 22px; height: 22px; border-radius: 7px; background: var(--surface-2); }
.app-sidebar small { margin-top: auto; color: var(--text-muted); font-size: 13px; }
.app-main { flex: 1; min-width: 0; padding: 22px 24px; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-top strong { display: block; font-size: 15px; }
.app-top small { color: var(--text-muted); font-size: 12px; }
.app-top .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: var(--text-secondary); }
.app-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-title small { color: var(--text-muted); font-size: 10.5px; letter-spacing: 0.06em; font-weight: 700; }
.app-title h3 { font-size: 18px; }
.app-title button { background: var(--accent-soft); color: var(--accent); border: none; border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; }
.app-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-bottom: 16px; }
.next-session, .squad-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.next-session p, .squad-card p, .board-header p { color: var(--text-muted); font-size: 10px; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 6px; }
.next-session h4 { font-size: 14.5px; margin-bottom: 6px; }
.next-session span { color: var(--text-secondary); font-size: 12px; }
.session-line { display: flex; gap: 12px; margin-top: 10px; font-size: 11.5px; color: var(--text-muted); }
.session-line b { color: var(--text); }
.squad-num { display: flex; align-items: baseline; gap: 6px; }
.squad-num b { font-size: 26px; }
.squad-num span { font-size: 11px; color: var(--text-muted); line-height: 1.3; }
.faces { display: flex; margin-top: 10px; }
.faces i { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--bg-alt); margin-left: -7px; font-style: normal; font-size: 9.5px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.faces i:first-child { margin-left: 0; }
.board-preview { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.board-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.board-header strong { font-size: 14px; }
.board-header span { font-size: 12px; color: var(--accent); font-weight: 600; }
.pitch { position: relative; height: 160px; border-radius: 10px; background: linear-gradient(160deg,#0f2b1f,#123321); overflow: hidden; }
.pitch-box { position: absolute; top: 20%; bottom: 20%; width: 15%; border: 1.5px solid rgba(255,255,255,0.18); }
.pitch-box.left { left: 0; border-left: none; }
.pitch-box.right { right: 0; border-right: none; }
.pitch-circle { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; border: 1.5px solid rgba(255,255,255,0.18); border-radius: 50%; transform: translate(-50%,-50%); }
.pitch .p { position: absolute; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,0.3); }
.pitch .p.green { background: var(--accent); }
.pitch .p.orange { background: var(--warn); }
.pitch .p1 { top: 30%; left: 22%; } .pitch .p2 { top: 60%; left: 30%; } .pitch .p3 { top: 42%; left: 45%; } .pitch .p4 { top: 70%; left: 55%; }
.pitch .p5 { top: 35%; left: 65%; } .pitch .p6 { top: 62%; left: 72%; }
.pitch .ball { position: absolute; top: 46%; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(255,255,255,0.55); stroke-width: 2; fill: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 10px 14px; box-shadow: var(--shadow);
}
.progress-card { top: -18px; right: -18px; }
.task-card { bottom: 30px; left: -24px; }
.progress-card small, .task-card small { display: block; color: var(--text-muted); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; }
.progress-card strong, .task-card strong { font-size: 13.5px; }
.icon-badge { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.task-card span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.progress-ring { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); margin-left: auto; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 20px 0; }
.trust-strip .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.trust-strip span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); }
.trust-items { display: flex; align-items: center; gap: 22px; }
.trust-items b { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--text-secondary); }
.trust-items i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); display: block; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 96px 24px; }
.section-intro { max-width: 620px; margin-bottom: 48px; }
.section-intro.centered { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-intro h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 10px; }
.section-intro p { margin-top: 14px; color: var(--text-secondary); font-size: 16px; }

/* ---------- Problema ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.problem-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; }
.problem-grid span { font-size: 13px; font-weight: 800; color: var(--accent); }
.problem-grid h3 { font-size: 17.5px; margin: 12px 0 8px; }
.problem-grid p { color: var(--text-secondary); font-size: 14.5px; }
.solution-line { display: flex; align-items: center; gap: 18px; padding: 26px; background: var(--accent-soft); border-radius: var(--radius-md); }
.solution-line p { font-size: 15.5px; color: var(--text-secondary); }
.solution-line strong { color: var(--text); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 800; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.brand-logo { height: 28px; width: auto; display: block; flex: 0 0 auto; }
.solution-line .brand-logo { height: 38px; width: auto; }

/* ---------- Beneficios ---------- */
.benefits { background: var(--bg-alt); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-grid article { padding: 22px 0; border-top: 1px solid var(--border); }
.line-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--surface-2); color: var(--accent); font-size: 16px; margin-bottom: 14px; }
.benefit-grid p { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.benefit-grid h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-grid span { font-size: 14px; color: var(--text-secondary); }

/* ---------- Funcionalidades ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 88px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 14px; }
.feature-copy h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.feature-copy p { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 16px; }
.feature-copy ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.feature-copy li { font-size: 14.5px; color: var(--text-secondary); padding-left: 22px; position: relative; }
.feature-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.tactic-mockup, .team-mockup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.tool-rail { display: flex; gap: 8px; margin-bottom: 14px; }
.tool-rail b, .tool-rail span { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-secondary); }
.tool-rail b { background: var(--accent); color: var(--on-accent); }
.tactic-pitch { position: relative; height: 240px; border-radius: 12px; background: linear-gradient(160deg,#0f2b1f,#123321); overflow: hidden; }
.half-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255,255,255,0.18); }
.center-circle { position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; border: 1.5px solid rgba(255,255,255,0.18); border-radius: 50%; transform: translate(-50%,-50%); }
.tactic-pitch .area { position: absolute; top: 25%; bottom: 25%; width: 60px; border: 1.5px solid rgba(255,255,255,0.16); }
.tactic-pitch .a1 { left: 0; border-left: none; } .tactic-pitch .a2 { right: 0; border-right: none; }
.tactic-pitch .cone { position: absolute; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 12px solid var(--warn); }
.tactic-pitch .c1 { top: 30%; left: 35%; } .tactic-pitch .c2 { top: 55%; left: 50%; } .tactic-pitch .c3 { top: 40%; left: 68%; }
.dot-player { position: absolute; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; color: #06130e; box-shadow: 0 0 0 2px rgba(0,0,0,0.3); }
.dot-player.blue { background: var(--blue); color: #fff; }
.dot-player.rose { background: var(--rose); color: #fff; }
.dot-player.d1 { top: 25%; left: 18%; } .dot-player.d2 { top: 55%; left: 22%; } .dot-player.d3 { top: 72%; left: 40%; }
.dot-player.d4 { top: 30%; left: 62%; } .dot-player.d5 { top: 58%; left: 75%; }
.football { position: absolute; top: 45%; left: 46%; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.tactic-pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(255,255,255,0.55); stroke-width: 2; fill: none; }
.board-note { margin-top: 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.board-note small { display: block; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 3px; }

.team-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.crest { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.team-head small { display: block; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.team-head b { font-size: 14.5px; }
.team-head button { margin-left: auto; background: none; border: none; color: var(--text-muted); font-size: 16px; }
.player-list { display: flex; flex-direction: column; gap: 10px; }
.player-list > div { display: flex; align-items: center; gap: 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.player-photo { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); flex: 0 0 auto; }
.player-photo.one { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.player-photo.two { background: linear-gradient(135deg,#22b57a,#0f7a52); }
.player-photo.three { background: linear-gradient(135deg,#f4649a,#c23d73); }
.player-list b { color: var(--accent); font-size: 13px; width: 20px; flex: 0 0 auto; }
.player-list span { flex: 1; font-size: 13.5px; font-weight: 600; }
.player-list span small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11.5px; }
.player-list em { font-style: normal; font-size: 11.5px; color: var(--accent); font-weight: 600; }
.player-list em.warn { color: var(--warn); }

.real-session-wrap { margin: 0; position: relative; }
.real-session-wrap img { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.real-task-shot { position: absolute; width: 46%; right: -8%; bottom: -10%; border-radius: var(--radius-md); border: 3px solid var(--bg); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.real-session-wrap figcaption { margin-top: 14px; font-size: 12px; color: var(--text-muted); text-align: center; }

/* ---------- Partidos / phone mockup ---------- */
.match-section { background: var(--bg-alt); }
.match-layout { display: grid; grid-template-columns: 1fr 0.75fr; gap: 60px; align-items: center; }
.match-steps { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.match-steps > div { flex: 1 1 140px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.match-steps b { display: block; font-size: 11px; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 6px; }
.match-steps span { font-size: 13px; color: var(--text-secondary); }
.phone { justify-self: center; }
.phone-screen {
  width: 260px; background: #08120f; border: 6px solid #1a2b25; border-radius: 34px; padding: 16px;
  box-shadow: var(--shadow);
}
.phone-status { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); margin-bottom: 10px; }
.phone-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.phone-screen small { display: block; color: var(--text-muted); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.phone-screen h3 { font-size: 16px; margin-bottom: 8px; }
.phone-screen h3 em { font-style: normal; color: var(--text-muted); font-weight: 500; }
.stadium { font-size: 11.5px; color: var(--text-secondary); margin-bottom: 14px; }
.callup { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.callup p { font-size: 9.5px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.callup b { font-size: 15px; }
.callup b small { color: var(--text-muted); font-size: 11px; font-weight: 500; }
.callup button, .m-people + button { background: var(--accent-soft); color: var(--accent); border: none; border-radius: 7px; padding: 7px 10px; font-size: 11.5px; font-weight: 700; }
.lineup p { font-size: 9.5px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.mini-pitch { height: 90px; border-radius: 10px; background: linear-gradient(160deg,#0f2b1f,#123321); position: relative; margin-bottom: 16px; }
.mini-pitch i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.mini-pitch i:nth-child(1) { top: 20%; left: 30%; } .mini-pitch i:nth-child(2) { top: 20%; left: 65%; }
.mini-pitch i:nth-child(3) { top: 50%; left: 15%; } .mini-pitch i:nth-child(4) { top: 50%; left: 50%; }
.mini-pitch i:nth-child(5) { top: 50%; left: 82%; } .mini-pitch i:nth-child(6) { top: 78%; left: 45%; }
.phone-cta { display: block; width: 100%; background: var(--accent); color: var(--on-accent); border: none; border-radius: 10px; padding: 12px; font-weight: 700; font-size: 13.5px; }

/* ---------- Estadísticas ---------- */
.stats { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.stats-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.stat-top small { display: block; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.stat-top h3 { font-size: 16px; }
.stat-top button { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary); border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.stat-cards article { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.stat-cards small { display: block; color: var(--text-muted); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 6px; }
.stat-cards b { font-size: 22px; display: block; }
.stat-cards span { font-size: 10.5px; color: var(--accent); }
.chart { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.chart-head b { font-size: 13.5px; }
.chart-head span { font-size: 11px; color: var(--text-muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(34,181,122,0.35)); border-radius: 5px 5px 2px 2px; }
.stats-copy .button { margin-top: 22px; }

/* ---------- Móvil ---------- */
.mobile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 26px; }
.check-list span { font-size: 14.5px; color: var(--text-secondary); }
.phone-cluster { position: relative; height: 420px; }
.mini-phone {
  position: absolute; width: 190px; background: #08120f; border: 5px solid #1a2b25; border-radius: 26px; padding: 14px;
  box-shadow: var(--shadow);
}
.mini-phone.main { left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; width: 210px; }
.mini-phone.back { left: 8%; top: 6%; z-index: 1; opacity: 0.75; }
.mini-phone.front { right: 4%; bottom: 4%; z-index: 2; opacity: 0.9; }
.mini-phone small { display: block; color: var(--text-muted); font-size: 9px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 6px; }
.mini-phone b { font-size: 20px; }
.score-lines { height: 40px; margin: 10px 0; border-radius: 8px; background: var(--surface-2); }
.m-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mini-phone h4 { font-size: 14px; margin-bottom: 10px; }
.available { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.available b { font-size: 20px; }
.available span { font-size: 9.5px; color: var(--text-muted); line-height: 1.3; }
.m-people { display: flex; margin-bottom: 12px; }
.m-people i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 2px solid #08120f; margin-left: -6px; font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.mini-phone.main button { width: 100%; background: var(--accent); color: var(--on-accent); border: none; border-radius: 8px; padding: 9px; font-weight: 700; font-size: 12px; }
.tiny-pitch { height: 70px; border-radius: 8px; background: linear-gradient(160deg,#0f2b1f,#123321); position: relative; margin: 8px 0; }
.tiny-pitch i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tiny-pitch i:nth-child(1) { top: 25%; left: 25%; } .tiny-pitch i:nth-child(2) { top: 25%; left: 70%; }
.tiny-pitch i:nth-child(3) { top: 60%; left: 20%; } .tiny-pitch i:nth-child(4) { top: 60%; left: 50%; }
.tiny-pitch i:nth-child(5) { top: 60%; left: 80%; } .tiny-pitch b { position: absolute; top: 40%; left: 46%; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ---------- Para quién ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.audience-grid b { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.audience-grid h3 { font-size: 17px; margin: 10px 0 8px; }
.audience-grid p { font-size: 13.5px; color: var(--text-secondary); }

/* ---------- Comparativa ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.compare-grid article { border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--border); }
.compare-grid .before { background: var(--surface); }
.compare-grid .after { background: var(--accent-soft); border-color: transparent; }
.compare-grid header span { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); }
.compare-grid .after header span { color: var(--accent); }
.compare-grid header h3 { font-size: 18px; margin-top: 6px; margin-bottom: 16px; }
.compare-grid li { font-size: 14px; color: var(--text-secondary); padding: 7px 0; border-top: 1px solid var(--border); }
.compare-grid .before li:first-child { border-top: none; }
.compare-grid .after li { border-top-color: rgba(34,181,122,0.18); }
.compare-grid .after li:first-child { border-top: none; }
.compare-arrow { font-size: 22px; color: var(--accent); justify-self: center; }

/* ---------- Precios ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.recommended { position: absolute; top: -13px; left: 26px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; padding: 5px 11px; border-radius: 999px; }
.price-card h3 { font-size: 19px; }
.price-card > p { color: var(--text-secondary); font-size: 13.5px; margin: 8px 0 20px; }
.price-card strong { display: flex; align-items: baseline; gap: 3px; font-size: 40px; margin-bottom: 20px; }
.price-card strong small { font-size: 18px; font-weight: 700; align-self: flex-start; margin-top: 6px; }
.price-card strong em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.price-card li { font-size: 13.5px; color: var(--text-secondary); padding-left: 20px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.price-note { display: block; margin-top: -10px; margin-bottom: 20px; font-size: 12px; color: var(--text-muted); }
.billing-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px; margin: 0 auto 40px; }
.billing-toggle button { background: none; border: none; color: var(--text-secondary); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.billing-toggle button.active { background: var(--accent); color: var(--on-accent); }
.billing-toggle-wrap { display: flex; justify-content: center; }

/* ---------- Tabla comparativa de planes ---------- */
.pricing-compare { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-compare-table { width: 100%; min-width: 480px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pricing-compare-table th, .pricing-compare-table td { padding: 13px 16px; text-align: center; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.pricing-compare-table th:first-child, .pricing-compare-table td:first-child { text-align: left; color: var(--text-secondary); font-weight: 500; }
.pricing-compare-table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 700; background: var(--bg); }
.pricing-compare-table thead th:first-child { color: transparent; }
.pricing-compare-table tbody tr:last-child td { border-bottom: none; }
.pricing-compare-table tbody td:not(:first-child) { font-weight: 600; }

/* ---------- Testimonio ---------- */
.testimonial { text-align: center; padding: 70px 24px; max-width: 720px; }
.quote-mark { font-size: 56px; color: var(--accent); font-family: Georgia, serif; line-height: 1; margin-bottom: 8px; }
.testimonial p { font-size: 20px; font-weight: 600; }
.testimonial span { display: block; margin-top: 16px; color: var(--text-secondary); font-size: 14px; }
.testimonial small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 11.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary b { font-weight: 400; color: var(--text-muted); font-size: 20px; transition: transform var(--dur) var(--ease); }
.faq-list details[open] summary b { transform: rotate(45deg); color: var(--accent); }
.faq-list p { padding: 0 0 18px; color: var(--text-secondary); font-size: 14.5px; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; padding: 96px 24px; background: radial-gradient(circle at 50% 0%, rgba(34,181,122,0.16), transparent 60%); }
.final-cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0 30px; }
.final-cta p { margin-top: 16px; color: var(--text-muted); font-size: 13px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 24px 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid p { margin-top: 14px; color: var(--text-muted); font-size: 13px; max-width: 30ch; }
.footer-grid h3 { font-size: 12px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 13.5px; color: var(--text-secondary); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 8px; }

/* ---------- Páginas de autenticación (login.html / register.html) ---------- */
body.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 50% -10%, rgba(34,181,122,0.14), transparent 55%); }
.auth-back { position: fixed; top: 22px; left: 24px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.auth-back:hover { color: var(--text); }
.auth-shell { width: 100%; max-width: 420px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow); }
.auth-card .brand-mark { margin: 0 auto 20px; }
.auth-card .brand-logo { height: 44px; width: auto; margin: 0 auto 20px; display: block; }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-sub { text-align: center; color: var(--text-secondary); font-size: 14px; margin-top: 8px; margin-bottom: 26px; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-card label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.auth-card input[type="text"], .auth-card input[type="email"], .auth-card input[type="password"] {
  background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 13px;
  color: var(--text); font-size: 14.5px; font-weight: 500; font-family: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.auth-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-error { font-size: 13px; color: var(--danger); min-height: 1px; margin: 0; }
.auth-error.is-success { color: var(--accent); }
.auth-card .button { margin-top: 4px; }
.auth-forgot { display: block; margin: 18px auto 0; background: none; border: none; padding: 0; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--text-secondary); }
.auth-switch a { color: var(--accent); font-weight: 700; }
.auth-plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.auth-plan-picker button { background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 6px; text-align: center; }
.auth-plan-picker button.active { border-color: var(--accent); background: var(--accent-soft); }
.auth-plan-picker b { display: block; font-size: 13px; }
.auth-plan-picker span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.auth-plan-picker button.active span { color: var(--accent); }
.auth-terms { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--text-secondary); font-weight: 500; }
.auth-terms input { margin-top: 3px; }
.auth-terms a { color: var(--accent); font-weight: 600; }
.auth-checklist { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 18px; }
.auth-checklist span { font-size: 12.5px; color: var(--text-secondary); }
.auth-card.is-loading .button { opacity: 0.7; pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1.is-visible { transition-delay: 90ms; }
.reveal.delay-2.is-visible { transition-delay: 180ms; }
.reveal.delay-3.is-visible { transition-delay: 270ms; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .match-layout, .stats, .mobile-layout { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-row .feature-copy { order: 1; }
  .problem-grid, .benefit-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 62px 16px auto 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); flex-direction: column; align-items: flex-start; padding: 18px; gap: 16px; box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .menu-button { display: flex; }
  .nav-actions .login { display: none; }
  .section { padding: 64px 20px; }
  .hero { padding: 48px 20px 64px; }
  .problem-grid, .benefit-grid, .audience-grid, .footer-grid { grid-template-columns: 1fr; }
  .real-task-shot { display: none; }
  .phone-cluster { height: 360px; }
}

/* ---------- Aviso de cookies ---------- */
/* Barra discreta e informativa: El Mister no usa cookies de seguimiento ni
   publicidad, solo almacenamiento técnico necesario (mantener la sesión
   iniciada), así que no hace falta un banner de "aceptar/rechazar" con
   categorías -- basta con informar y dejar cerrarlo. Se recuerda con
   localStorage para no volver a mostrarlo en la misma visita/dispositivo. */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999;
  max-width: 620px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow);
}
.cookie-banner p { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.cookie-banner p a { color: var(--text); text-decoration: underline; }
.cookie-banner button { flex: 0 0 auto; }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner button { width: 100%; justify-content: center; }
}
