/*
Theme Name: RecurreYa
Theme URI: https://recurreya.com
Author: Blixel Group S.L.
Author URI: https://blixel.ai
Description: Tema oficial de RecurreYa.es — landing y blog para el SaaS de IA que analiza multas de tráfico de la DGT y genera recursos administrativos fundamentados. Diseño bespoke (Playfair Display + DM Mono + Instrument Sans) sobre fondo negro con acento rojo de marca.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recurreya
Tags: landing, business, one-column, custom-colors, custom-menu, full-width-template
*/

:root {
  /* Paleta de marca RecurreYa (del logo): azul "Recurre" + verde "YA". */
  --black: #0a0e14;
  --off-white: #eef3f7;
  --cream: #dbe4ec;
  --red: #1b78c2;        /* azul de marca — acento principal (se conserva el nombre var por compatibilidad). */
  --red-light: #2a93de;  /* azul claro / hover. */
  --green: #57b22e;      /* verde de marca. */
  --green-light: #7ed957;
  --cyan: #29abe2;       /* cian del loro. */
  --muted: #76828f;
  --border: rgba(238,243,247,0.12);
  --surface: #0e141b;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Instrument Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(240,237,230,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.08s ease;
}

/* Noise texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--off-white);
  text-decoration: none;
}

.logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--off-white); }

.nav-cta {
  background: var(--red);
  color: var(--off-white) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--red-light) !important; color: var(--off-white) !important; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,237,230,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,237,230,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  top: 140px; right: 48px;
  width: 140px; height: 140px;
  border: 3px solid var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(15deg);
  opacity: 0.85;
  animation: stampPulse 3s ease-in-out infinite;
}

@keyframes stampPulse {
  0%, 100% { opacity: 0.85; transform: rotate(15deg) scale(1); }
  50% { opacity: 0.6; transform: rotate(15deg) scale(0.97); }
}

.hero-stamp-text {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  line-height: 1.6;
}

.hero-stamp-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  max-width: 900px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--red);
}

.hero-subtitle {
  margin-top: 32px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-subtitle strong { color: var(--off-white); font-weight: 600; }

/* Counter */
.counter-block {
  margin-top: 56px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  animation: fadeUp 0.6s ease 0.3s both;
}

.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  color: var(--off-white);
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  max-width: 160px;
  line-height: 1.5;
  text-transform: uppercase;
}

.counter-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
  align-self: center;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Upload CTA */
.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.4s both;
}

.btn-primary {
  background: var(--red);
  color: var(--off-white);
  padding: 16px 36px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,101,87,0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: none;
}

.btn-ghost:hover { color: var(--off-white); border-color: var(--off-white); }

/* Stats bar */
.stats-bar {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  animation: fadeUp 0.6s ease 0.5s both;
}

.stat-item { }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--off-white);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-num span { color: var(--red); }

.stat-desc {
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}

/* SECTION: Problema */
.section {
  padding: 100px 48px;
  position: relative;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--red);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 700px;
}

.section-title em { font-style: italic; color: var(--red); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.split-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.split-text p strong { color: var(--off-white); }

.big-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  color: var(--off-white);
  border-left: 3px solid var(--red);
  padding-left: 28px;
}

/* Facts grid */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.fact-cell {
  background: var(--surface);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.fact-cell:hover { background: #141410; }

.fact-cell::before {
  content: attr(data-n);
  position: absolute;
  top: 16px; right: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(107,101,87,0.4);
  letter-spacing: 1px;
}

.fact-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--off-white);
  letter-spacing: -2px;
  line-height: 1;
}

.fact-num sup { font-size: 24px; color: var(--red); vertical-align: super; }

.fact-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.fact-text strong { color: var(--off-white); }

/* VS block */
.vs-block {
  margin-top: 80px;
  padding: 60px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.vs-col h3 {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.vs-col.bad h3 { color: var(--muted); }
.vs-col.good h3 { color: var(--red); }

.vs-list { list-style: none; }

.vs-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.vs-list li::before {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
}

.vs-col.bad .vs-list li::before { content: '✕'; color: rgba(107,101,87,0.5); }
.vs-col.good .vs-list li::before { content: '✓'; color: var(--red); }
.vs-col.good .vs-list li { color: var(--off-white); }

.vs-divider {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  color: var(--border);
  text-align: center;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
}

.step-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
}

.step-item:last-child { border-right: none; }
.step-item:hover { background: var(--surface); }

.step-n {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(240,237,230,0.06);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Upload demo */
.upload-demo {
  margin-top: 80px;
  padding: 56px;
  border: 1px dashed rgba(240,237,230,0.15);
  text-align: center;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
}

.upload-demo:hover {
  border-color: rgba(200,0,26,0.4);
  background: rgba(200,0,26,0.03);
}

.upload-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.upload-demo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.upload-demo p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.plan-card {
  background: var(--surface);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
}

.plan-card.featured {
  background: #0f0d0d;
  border-left: 3px solid var(--red);
}

.plan-card:hover { background: #141410; }

.plan-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,0,26,0.1);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 20px;
}

.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}

.plan-target {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.plan-price {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-price .amount {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.plan-price .amount span { font-size: 20px; color: var(--muted); }
.plan-price .period {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.plan-features { list-style: none; }
.plan-features li {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(240,237,230,0.05);
  display: flex;
  gap: 10px;
}

.plan-features li::before { content: '—'; color: rgba(107,101,87,0.4); flex-shrink: 0; }
.plan-card.featured .plan-features li { color: var(--off-white); }
.plan-card.featured .plan-features li::before { color: var(--red); }

.plan-cta {
  display: block;
  margin-top: 28px;
  text-align: center;
  padding: 13px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: none;
}

.plan-cta.outline {
  border: 1px solid var(--border);
  color: var(--muted);
}

.plan-cta.outline:hover {
  border-color: var(--off-white);
  color: var(--off-white);
}

.plan-cta.solid {
  background: var(--red);
  color: var(--off-white);
  border: 1px solid var(--red);
}

.plan-cta.solid:hover { background: var(--red-light); }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial {
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s;
}

.testimonial:hover { border-color: rgba(240,237,230,0.25); }

.test-quote {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--off-white);
}

.test-result {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--red);
  background: rgba(200,0,26,0.1);
  padding: 4px 10px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.test-author {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* FAQ */
.faq { margin-top: 56px; }

.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  cursor: none;
}

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle {
  font-family: 'DM Mono', monospace;
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 16px;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); display: inline-block; transition: transform 0.3s; }
.faq-toggle { display: inline-block; transition: transform 0.3s; }

/* FINAL CTA */
.final-cta {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,0,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.final-cta h2 em { font-style: italic; color: var(--red); }

.final-cta p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Footer */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--off-white);
}

.footer-logo span { color: var(--red); }

.footer-note {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--off-white); }

/* Divider */
.section-divider-full {
  height: 1px;
  background: var(--border);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrolling ticker */
.ticker-wrap {
  overflow: hidden;
  background: var(--red);
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,237,230,0.9);
  padding: 0 40px;
}

.ticker-dot {
  color: rgba(240,237,230,0.4);
  margin: 0 16px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-stamp { display: none; }
  .section { padding: 72px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .facts-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
  .final-cta { padding: 80px 24px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-divider { display: none; }
  .upload-demo { padding: 40px 24px; }
}

/* =======================================================================
 * Marca RecurreYa — degradados azul→verde y ajustes del logo.
 * Refleja el logotipo: "Recurre" azul + "YA" verde, con el motivo de las
 * flechas (degradado azul→verde) en botones, CTA y ticker.
 * ===================================================================== */

/* Botones y CTAs: degradado azul→verde. */
.btn-primary,
.plan-cta.solid { background: linear-gradient(135deg, var(--red) 0%, var(--green) 100%); }
.btn-primary:hover,
.plan-cta.solid:hover { background: linear-gradient(135deg, var(--red-light) 0%, var(--green-light) 100%); }

.nav-cta { background: linear-gradient(135deg, var(--red) 0%, var(--green) 100%) !important; }
.nav-cta:hover { background: linear-gradient(135deg, var(--red-light) 0%, var(--green-light) 100%) !important; }

/* Ticker con degradado de marca. */
.ticker-wrap { background: linear-gradient(90deg, var(--red) 0%, var(--green) 100%); }

/* Wordmark: "YA" en verde como en el logo. */
.logo span,
.footer-logo span { color: var(--green); }

/* Columna "RecurreYa" (lo positivo) en verde. */
.vs-col.good h3,
.vs-col.good .vs-list li::before { color: var(--green); }

/* Acentos translúcidos antes rojos → azul de marca. */
.plan-badge,
.test-result { background: rgba(27,120,194,0.12); }
.upload-demo:hover { border-color: rgba(27,120,194,0.45); background: rgba(27,120,194,0.04); }
.final-cta::before { background: radial-gradient(circle, rgba(27,120,194,0.12) 0%, transparent 70%); }

/* Logo en imagen (custom-logo de WordPress). Sube un PNG/SVG con fondo
   transparente para que luzca sobre la barra oscura. */
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.custom-logo { height: 40px; width: auto; display: block; }
@media (max-width: 900px) { .custom-logo { height: 32px; } }

/* ---- Formulario de captación de la landing ---- */
.ry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
.ry-input, .ry-file {
  width: 100%;
  background: rgba(238,243,247,0.04);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  padding: 14px 16px;
  border-radius: 2px;
  cursor: auto;
  transition: border-color 0.2s, background 0.2s;
}
.ry-input::placeholder { color: var(--muted); }
.ry-input:focus, .ry-file:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(238,243,247,0.06);
}
.ry-file { padding: 11px 16px; color: var(--muted); }
.ry-file::file-selector-button {
  background: rgba(238,243,247,0.06);
  color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  margin-right: 12px;
  cursor: pointer;
}
.ry-submit { justify-content: center; width: 100%; border: none; cursor: pointer; }
.ry-msg {
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  min-height: 18px;
}
.ry-msg.ok { color: var(--green-light); }
.ry-msg.err { color: #ff5a5a; }

/* ---- Hero a dos columnas: texto + imagen a la derecha ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-content { min-width: 0; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 24px 70px rgba(27,120,194,0.30));
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-img { max-width: 340px; margin: 0 auto; }
}

/* ---- Páginas estándar (legal, contacto, etc.) vía page.php: fondo claro ---- */
.ry-page { background: #f3f7fc; color: #11253b; min-height: 60vh; }
.ry-page-inner { max-width: 1120px; margin: 0 auto; padding: 48px 24px; }
