/*
Theme Name: Reales Academy
Theme URI: https://academy.realesdigitalsolutions.com
Author: Reales Digital Solutions
Author URI: https://realesdigitalsolutions.com
Description: Tema de Reales Academy, la iniciativa educativa de Reales Digital Solutions. Oscuro técnico, Geist, un solo acento esmeralda, con efectos interactivos (hover reveal, botones magnéticos, tilt 3D y spotlight). Compatible con LearnPress y WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: reales-academy
*/

/* ---------- Fuentes ---------- */
@font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens (DESIGN.md) ---------- */
:root {
	--bg: #0a0f0d;
	--bg-2: #0f1613;
	--card: #16201c;
	--line: #1f2a25;
	--text: #e6edea;
	--text-2: #a7b5af;
	--muted: #7f8f88;
	--accent: #2fcb8f;
	--accent-2: #25b27e;
	--accent-on: #04110c;
	--accent-text: #2fcb8f;
	--paper: #efe9dd;

	--contrast-bg: #f4f6f5;
	--contrast-text: #0f1412;
	--contrast-text-2: #4a5852;
	--contrast-line: #d5ddd9;
	--contrast-accent: #0b7a55;
	--contrast-accent-2: #096646;
	--contrast-accent-on: #f4f6f5;

	--sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--r-sm: 6px;
	--r-md: 12px;
	--r-lg: 16px;
	--space-section: clamp(56px, 8vw, 96px);
	--nav-h: 68px;
	color-scheme: dark;
}
:root[data-theme="light"] {
	--bg: #f4f6f5;
	--bg-2: #fbfcfb;
	--card: #e8eeeb;
	--line: #d5ddd9;
	--text: #0f1412;
	--text-2: #4a5852;
	--muted: #5d6b65;
	--accent: #0b7a55;
	--accent-2: #096646;
	--accent-on: #f4f6f5;
	--accent-text: #0b7a55;
	--contrast-bg: #0a0f0d;
	--contrast-text: #e6edea;
	--contrast-text-2: #a7b5af;
	--contrast-line: #1f2a25;
	--contrast-accent: #2fcb8f;
	--contrast-accent-2: #25b27e;
	--contrast-accent-on: #04110c;
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--text); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--text); font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.045em; }
h2, .h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.035em; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--text-2); max-width: 56ch; }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--accent); color: var(--accent-on); padding: 12px 18px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(24px, 4vw, 32px); }
.narrow { max-width: 820px; }
.section { padding-block: var(--space-section); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 5vw, 48px); max-width: 720px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.35s var(--ease); will-change: transform; }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-on); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: border-color 0.2s; }
.icon-btn:hover { border-color: var(--text-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-2); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand .mark { height: 30px; width: 30px; }
.brand .node { fill: var(--accent); }
.brand-text b { font-weight: 600; }
.brand-text { font-weight: 400; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: color 0.2s, background-color 0.2s; }
.links a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun, :root:not([data-theme]) .i-sun { display: block; }
:root[data-theme="light"] .i-moon { display: block; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (max-width: 899px) {
	.menu-btn { display: inline-grid; }
	.links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px clamp(24px, 4vw, 32px) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
	.nav.open .links { display: flex; }
	.links a { min-height: 48px; border-radius: var(--r-md); }
}
@media (max-width: 479px) { .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 112px) var(--space-section); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: min(70vw, 720px); aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-copy .lead { margin-top: 24px; }
.proof { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.proof span { font-size: 0.875rem; color: var(--muted); }

.hero-art { position: relative; aspect-ratio: 5 / 4.4; max-width: 560px; width: 100%; margin-inline: auto; }
.hero-card { position: absolute; inset: 0 0 14% 6%; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); transform: translateZ(0); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.float { position: absolute; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); animation: bob 6s ease-in-out infinite; }
.f1 { left: -2%; bottom: 0; width: 30%; transform: translateZ(70px); }
.f2 { right: -3%; top: 8%; width: 26%; transform: translateZ(90px); animation-delay: -2s; }
.f3 { right: 10%; bottom: 0; width: 22%; transform: translateZ(50px); animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* ---------- Tarjetas ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color 0.3s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); transition: opacity 0.3s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.card:hover::after { opacity: 1; }
.hero-art::after { content: none; }

/* Tilt 3D */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.3s; }
[data-tilt].tilting { transition: transform 0.08s linear, border-color 0.3s; }

/* Series */
.eps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.ep { height: 100%; outline-offset: 4px; }
.ep-media { aspect-ratio: 16 / 9; background: var(--paper); overflow: hidden; }
.ep-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ep:hover .ep-media img { transform: scale(1.04); }
.ep-body { padding: 20px 24px 24px; display: grid; gap: 8px; }
.ep-body h3 { letter-spacing: -0.015em; }
.peek { display: grid; grid-template-rows: 1fr; }
.peek > div { min-height: 0; overflow: hidden; display: grid; gap: 12px; align-content: start; padding-top: 4px; }
.peek p { color: var(--text-2); max-width: 52ch; }
@media (hover: hover) and (pointer: fine) {
	.peek { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--ease), opacity 0.35s var(--ease); }
	.ep:hover .peek, .ep:focus-within .peek, .ep:focus-visible .peek,
	.char:hover .peek, .char:focus-within .peek, .char:focus-visible .peek { grid-template-rows: 1fr; opacity: 1; }
}

/* Personajes */
.chars { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.char { height: 100%; outline-offset: 4px; }
.char-stage { position: relative; aspect-ratio: 1 / 0.9; background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg-2); overflow: hidden; }
.char-stage img { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; width: auto; height: auto; max-height: 80%; max-width: 74%; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4)); transition: transform 0.6s var(--ease); }
.chars li:nth-child(2) .char-stage img { bottom: 22%; }
.char:hover .char-stage img, .char:focus-within .char-stage img { transform: translateZ(40px) scale(1.07) rotate(-2deg); }
.char-body { padding: 20px 24px 24px; display: grid; gap: 8px; }

/* Familias */
.benefits { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.benefit { padding: 28px; height: 100%; display: grid; gap: 12px; align-content: start; }
.benefit p { color: var(--text-2); }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--accent-text); }
.ico svg { width: 22px; height: 22px; }

/* Actividades y profesores */
.duo { display: grid; gap: 24px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.feature { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.feature p { max-width: 46ch; }
.feature .btn { margin-top: 8px; }
.fine { font-size: 0.875rem; color: var(--muted); }
.fine a { text-underline-offset: 3px; }

/* Formularios de suscripción (plugin Reales Academy Core) */
.ra-form-wrap { width: 100%; max-width: 440px; margin-top: 4px; }
.ra-form { display: grid; gap: 14px; }
.ra-field { display: grid; gap: 6px; }
.ra-field label { font-size: 0.9375rem; color: var(--text); font-weight: 500; }
.ra-opt { color: var(--muted); font-weight: 400; }
.ra-field input { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-strong, var(--line)); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; }
.ra-field input::placeholder { color: var(--muted); }
.ra-field input:focus-visible, .ra-consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ra-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.875rem; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.ra-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.ra-consent a { color: var(--accent-text, var(--accent)); }
.ra-form .btn { justify-self: start; border: 0; cursor: pointer; }
.ra-fine { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.ra-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ra-form-msg { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; font-size: 0.9375rem; border: 1px solid var(--line); }
.ra-form-msg.ok { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); }
.ra-form-msg.err { border-color: #ff5c5c; background: color-mix(in srgb, #ff5c5c 10%, transparent); color: var(--text); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; cursor: pointer; color: var(--text); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--accent-text); }
.faq details p { padding: 0 0 24px; max-width: 62ch; }

/* Cierre (banda de contraste) */
.cta-band { background: var(--contrast-bg); color: var(--contrast-text-2); color-scheme: light; padding-block: var(--space-section); }
:root[data-theme="light"] .cta-band { color-scheme: dark; }
.cta-in { display: grid; gap: 16px; justify-items: start; }
.cta-band h2 { color: var(--contrast-text); }
.cta-band p { max-width: 52ch; }
.cta-band .btn-primary { background: var(--contrast-accent); color: var(--contrast-accent-on); margin-top: 12px; }
.cta-band .btn-primary:hover { background: var(--contrast-accent-2); }
.cta-band a:focus-visible { outline-color: var(--contrast-accent); }

/* ---------- Pie ---------- */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding-top: var(--space-section); }
.foot-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, 1fr); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; }
.foot-brand p { max-width: 36ch; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } .foot-brand { grid-column: auto; } }
.foot-h { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.social { display: flex; gap: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 32px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-tilt].reveal { transform: translateY(18px); }
.js [data-tilt].reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- Páginas interiores, LearnPress y WooCommerce ---------- */
.page .entry + .entry { margin-top: 48px; }
.prose { margin-top: 24px; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--r-lg); height: auto; }
.prose a, .entry a { text-underline-offset: 3px; }
.page .entry h2 a { color: var(--text); text-decoration: none; }
.nav-links, .pagination { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); text-decoration: none; }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], select, textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); color: var(--text); font: inherit; }
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
label { color: var(--text); font-weight: 500; display: inline-block; margin-bottom: 6px; }

.ra .woocommerce a.button, .ra .woocommerce button.button, .ra .woocommerce input.button, .ra .woocommerce #respond input#submit,
.ra .woocommerce a.button.alt, .ra .woocommerce button.button.alt, .ra .wc-block-components-button:not(.is-link),
.ra .lp-button, .ra .learn-press-course-button, .ra button.lp-button, .ra .lp-btn, .ra .learn-press-form button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-on); font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
}
.ra .woocommerce a.button:hover, .ra .woocommerce button.button:hover, .ra .lp-button:hover, .ra .lp-btn:hover { background: var(--accent-2); color: var(--accent-on); }
.ra .woocommerce-message, .ra .woocommerce-info, .ra .woocommerce-error, .ra .learn-press-message { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; list-style: none; }
.ra .woocommerce-message::before, .ra .woocommerce-info::before { color: var(--accent-text); }
.ra .woocommerce table.shop_table, .ra table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-md); }
.ra th, .ra td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.ra .price, .ra .woocommerce-Price-amount { color: var(--text); font-weight: 500; }
.ra .learn-press-courses { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding: 0; margin: 24px 0 0; list-style: none; }
.ra .learn-press-courses .course { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 0 0 20px; }
.ra .learn-press-courses .course > *:not(.course-thumbnail) { padding-inline: 20px; }
.ra #learn-press-course, .ra .lp-content-wrap { color: var(--text-2); }
.ra .course-title, .ra .course-title a { color: var(--text); text-decoration: none; }

/* ---------- Accesibilidad y movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	[data-tilt], .js [data-tilt].reveal.in { transform: none; }
}

/* Dos formas de verlo */
.ways { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.way h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.875rem); letter-spacing: -0.03em; color: var(--text); }
.way .fine { margin: 0; }
.way .btn, .way .badge { margin-top: auto; }
.badge-accent { border-color: var(--accent); color: var(--accent-text); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); }
.ticks li { position: relative; padding-left: 26px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.nav-login { color: var(--text-2); font-weight: 500; font-size: 0.9375rem; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-login:hover { color: var(--text); }

/* Página de acceso */
.ra-acceso { max-width: 1000px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 32px); }
.ra-acceso--in { text-align: center; max-width: 560px; }
.ra-acceso__head h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; color: var(--text); }
.ra-acceso__head p { max-width: 62ch; color: var(--text-2); margin: 0 0 28px; }
.ra-acceso__cols { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .ra-acceso__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.ra-acceso__col .learn-press-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); }
.ra-acceso h3 { margin: 0 0 16px; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); }
.ra-acceso .form-fields { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.ra-acceso label { display: block; color: var(--text-2); font-size: 0.9375rem; margin-bottom: 6px; }
.ra-acceso input[type="text"], .ra-acceso input[type="password"], .ra-acceso input[type="email"] { width: 100%; min-height: 48px; padding: 0 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); font: inherit; }
.ra-acceso input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ra-acceso .ra-consent label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ra-acceso .ra-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.ra-acceso .ra-consent a { color: var(--accent-text); }
.ra-acceso .ra-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ra-acceso button[type="submit"] { min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-on); font: 500 1rem var(--sans); cursor: pointer; }
.ra-acceso button[type="submit"]:hover { background: var(--accent-2); }
.ra-acceso a { color: var(--accent-text); }
.ra-acceso .btn { color: inherit; }
.ra-acceso .learn-press-message { margin-bottom: 20px; }
.prose--full { max-width: none; }
.ra-acceso .ra-consent label { width: 100%; }
.ra-acceso .ra-consent label > span { flex: 1 1 0; min-width: 0; }
.ra-acceso .ra-consent .required { color: var(--accent-text); }
.ra-acceso .form-field { display: block; }
