/*
Theme Name: EnAlemania
Theme URI: https://en-alemania.com
Author: EnAlemania
Description: Tema B2C. No crea tablas. Las solicitudes se guardan en wp_posts. Textos en Apariencia → Textos. Editable con Elementor.
Version: 1.5.4
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: enalemania
*/

/* ---------- Base: paleta canon, Outfit 600 + Inter 400/500, columna 1120px ---------- */
:root {
  --ea-black: #000;
  --ea-red: #dd0000;
  --ea-gold: #ffce00;
  --ea-paper: #fafafa;
  --ea-muted: #4a4a4a;
  --ea-ink: #000;
  --ea-line: rgba(0,0,0,.08);
  --ea-card: #fff;
  --ea-max: 1120px;
  --ea-g: 18px;
  --ea-radius: 24px;
  --ea-shadow: 0 10px 30px rgba(0,0,0,.06);
  --ea-head: Outfit, system-ui, sans-serif;
  --ea-body: Inter, system-ui, sans-serif;
}
@media (min-width: 640px) { :root { --ea-g: 24px; } }
@media (min-width: 1024px) { :root { --ea-g: 32px; } }

* { box-sizing: border-box; }
body { margin: 0; background: var(--ea-paper); color: var(--ea-ink); font-family: var(--ea-body); font-weight: 400; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
strong, b { font-weight: 500; }
h1, h2, h3, h4 { font-family: var(--ea-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0.35rem 0 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
:focus-visible { outline: 3px solid var(--ea-gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.ea-top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ea-line); }
.admin-bar .ea-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .ea-top { top: 46px; } }
.ea-flag { display: flex; height: 4px; }
.ea-flag span { flex: 1; }
.ea-flag span:nth-child(1) { background: #000; }
.ea-flag span:nth-child(2) { background: var(--ea-red); }
.ea-flag span:nth-child(3) { background: var(--ea-gold); }
.ea-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding: 0.7rem max(var(--ea-g), calc((100% - var(--ea-max)) / 2 + var(--ea-g))); }
.ea-brand { flex: 0 0 auto; }
.ea-brand img { height: 40px; width: auto; max-width: none; }
.ea-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-left: auto; }
.ea-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ea-muted); }
.ea-nav a:hover, .ea-nav a[aria-current="page"] { color: var(--ea-ink); }
.ea-nav-cta { flex: 0 0 auto; text-decoration: none; border-radius: 999px; padding: 0.5rem 1rem; font-family: var(--ea-head); font-weight: 600; font-size: 0.95rem; background: var(--ea-red); color: #fff; }
@media (max-width: 720px) {
  .ea-brand img { height: 34px; }
  .ea-nav { order: 3; width: 100%; margin-left: 0; gap: 0.3rem 0.9rem; }
  .ea-nav a { font-size: 0.9rem; }
  .ea-nav-cta { margin-left: auto; }
}

/* ---------- Column ---------- */
.ea-wrap { max-width: var(--ea-max); margin: 0 auto; padding: 3rem var(--ea-g); }
.ea-narrow > * { max-width: 46rem; }
.ea-section { padding-top: 0; }

/* ---------- Type helpers ---------- */
.ea-kicker { margin: 0; color: var(--ea-red); font-family: var(--ea-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ea-lead { font-size: 1.1rem; color: var(--ea-muted); max-width: 62ch; }
.ea-prose p { color: var(--ea-muted); font-size: 1.05rem; }
.ea-quote { color: var(--ea-muted); max-width: 62ch; border-left: 4px solid var(--ea-gold); padding-left: 1rem; }
.ea-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; margin-top: 1.2rem; }
.ea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3rem; padding: 0.6rem 1.25rem; border-radius: 999px; background: var(--ea-red); color: #fff; text-decoration: none; font-family: var(--ea-head); font-weight: 600; font-size: 0.98rem; border: 0; cursor: pointer; }
.ea-btn:hover { filter: brightness(.94); }
.ea-btn-ghost { background: #fff; color: var(--ea-ink); border: 1px solid rgba(0,0,0,.18); }
.ea-link { color: var(--ea-ink); font-weight: 500; }
.ea-band { background: transparent; }
.ea-price { font-family: var(--ea-head); font-size: 3rem; font-weight: 600; margin: 0.4rem 0; }

/* ---------- Hero = card inside the column (Studio style) ---------- */
.ea-hero-wrap { padding-top: 1.5rem; padding-bottom: 1rem; }
.ea-hero { display: grid; gap: 1.5rem; align-items: center; background: var(--ea-card); border: 1px solid var(--ea-line); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); padding: 1.25rem; }
.ea-hero-copy { padding: 0.25rem; }
.ea-hero-copy h1 { margin-top: 0.6rem; }
.ea-hero-media { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--ea-line); background: #eee; aspect-ratio: 4 / 3; }
.ea-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .ea-hero { padding: 1.75rem; } }
@media (min-width: 1024px) { .ea-hero { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; padding: 2.5rem; } }

/* ---------- Cards & grids ---------- */
.ea-cols { display: grid; gap: 1rem; }
@media (min-width: 800px) { .ea-cols { grid-template-columns: 1fr 1fr; } }
.ea-card { background: var(--ea-card); border: 1px solid var(--ea-line); border-radius: var(--ea-radius); padding: 1.4rem; }
.ea-card.dark { background: #000; color: #fff; border-color: #000; }
.ea-card.dark p { color: rgba(255,255,255,.8); }
.ea-card.dark p.ea-kicker { color: var(--ea-gold); }
.ea-shadow { box-shadow: var(--ea-shadow); }
.ea-tiles { display: grid; gap: 0.7rem; margin: 1rem 0; }
@media (min-width: 700px) { .ea-tiles { grid-template-columns: 1fr 1fr; } }
.ea-tiles div { background: var(--ea-paper); border-radius: 1rem; padding: 0.9rem; }
.ea-tiles strong { font-family: var(--ea-head); font-weight: 600; }
.ea-card.dark .ea-tiles div { background: rgba(255,255,255,.1); }
.ea-tiles p { margin: 0.25rem 0 0; }

/* ---------- Home: El recorrido (5 pasos) ---------- */
.ea-rec { background: var(--ea-card); border: 1px solid var(--ea-line); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); padding: 1.25rem; }
@media (min-width: 640px) { .ea-rec { padding: 1.75rem; } }
.ea-rec-head { margin-bottom: 1.1rem; }
.ea-rec-head h2 { margin-top: 0.3rem; }
.ea-rec-head p:not(.ea-kicker) { margin: 0.5rem 0 0; color: var(--ea-muted); max-width: 52ch; }
.ea-rec-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.1rem; }
@media (min-width: 800px) { .ea-rec-tabs { grid-template-columns: repeat(5, 1fr); } }
.ea-rec-tab { background: #fff; border: 1px solid var(--ea-line); border-radius: 14px; padding: 12px; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,.03); cursor: pointer; color: var(--ea-ink); }
.ea-rec-tab[aria-selected="true"] { border-color: var(--ea-red); box-shadow: 0 0 0 1px var(--ea-red); }
.ea-rec-tab .n { display: block; font-size: 0.72rem; color: var(--ea-muted); font-weight: 500; }
.ea-rec-tab[aria-selected="true"] .n { color: var(--ea-red); }
.ea-rec-tab .t { display: block; font-family: var(--ea-head); font-weight: 600; font-size: 0.95rem; margin-top: 4px; }
.ea-rec-tab .s { display: block; font-size: 0.75rem; color: var(--ea-muted); margin-top: 2px; }
.ea-rec-grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 800px) { .ea-rec-grid { grid-template-columns: 1.15fr 0.85fr; } }
.ea-rec-panel { background: var(--ea-paper); border: 1px solid var(--ea-line); border-radius: 18px; padding: 1.25rem; }
.ea-rec-panel + .ea-rec-panel { margin-top: 1rem; }
.js .ea-rec-panel + .ea-rec-panel { margin-top: 0; }
.ea-pill { display: inline-block; background: #fff; border: 1px solid var(--ea-line); border-radius: 999px; padding: 4px 10px; font-size: 0.72rem; font-weight: 500; margin-bottom: 10px; }
.ea-rec-panel h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.ea-rec-panel .lead { color: var(--ea-muted); margin: 0 0 0.9rem; }
.ea-dots { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.ea-dots li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--ea-muted); margin-bottom: 8px; }
.ea-dots li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fde8e8; box-shadow: inset 0 0 0 3px var(--ea-red); }
.ea-photo { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--ea-line); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.08); display: flex; flex-direction: column; align-self: start; }
.ea-photo img { width: 100%; height: 220px; object-fit: cover; }
.ea-photo figcaption { padding: 12px 14px; font-size: 0.8rem; color: var(--ea-muted); }
.ea-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.ea-trust li { background: #fff; border: 1px solid var(--ea-line); border-radius: 999px; padding: 8px 14px; font-size: 0.8rem; font-weight: 500; color: var(--ea-muted); }

/* ---------- Page head (inner pages) ---------- */
.ea-page-head { padding-bottom: 1.5rem; }
.ea-page-head h1 { margin-top: 0.6rem; }
.ea-page-head .ea-lead { margin-bottom: 0; }

/* ---------- Programa: tabs (variante B) ---------- */
.ea-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.4rem; border-bottom: 1px solid var(--ea-line); padding-bottom: 12px; }
.ea-tab { font-family: var(--ea-head); font-weight: 600; font-size: 0.9rem; background: #fff; border: 1px solid var(--ea-line); border-radius: 999px; padding: 10px 18px; cursor: pointer; color: var(--ea-muted); }
.ea-tab[aria-selected="true"] { background: #000; color: #fff; border-color: #000; }
.ea-tabpanel + .ea-tabpanel { margin-top: 2rem; }
.js .ea-tabpanel + .ea-tabpanel { margin-top: 0; }
.ea-tabpanel-title { font-size: 1.2rem; margin: 0 0 0.9rem; }
.js .ea-tabpanel-title { display: none; }
.ea-moment { display: grid; gap: 14px; }
@media (min-width: 700px) { .ea-moment { grid-template-columns: 1fr 1fr; } }
.ea-step-card { background: #fff; border: 1px solid var(--ea-line); border-radius: 16px; padding: 18px 20px; }
.ea-step-card .num { margin: 0 0 4px; font-family: var(--ea-head); font-weight: 600; font-size: 0.75rem; color: var(--ea-red); letter-spacing: .04em; }
.ea-step-card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.ea-step-card p { margin: 0; font-size: 0.92rem; color: var(--ea-muted); }
.ea-honesty { background: #fff; border-left: 4px solid var(--ea-gold); border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 16px 0 0; font-size: 0.92rem; color: var(--ea-muted); }
.ea-honesty strong { color: var(--ea-ink); font-family: var(--ea-head); font-weight: 600; }
.ea-price-box { background: #fff; border: 1px solid var(--ea-line); border-radius: 16px; padding: 22px 24px; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ea-price-box strong { font-family: var(--ea-head); font-weight: 600; font-size: 1.4rem; }
.ea-price-box p { margin: 0.2rem 0 0; color: var(--ea-muted); font-size: 0.92rem; }

/* ---------- Por qué: lista 01-04, mapa con hotspots ---------- */
.ea-ol { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .ea-ol { grid-template-columns: 1fr 1fr; } }
.ea-ol li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.6rem; padding: 1rem; background: #fff; border: 1px solid var(--ea-line); border-radius: 16px; }
.ea-ol span { color: var(--ea-red); font-family: var(--ea-head); font-weight: 600; }
.ea-map-shell { background: #fff; border: 1px solid var(--ea-line); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); padding: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .ea-map-shell { padding: 1.75rem; } }
.ea-map-layout { display: grid; gap: 1.5rem; align-items: start; margin-top: 1rem; }
@media (min-width: 900px) { .ea-map-layout { grid-template-columns: 1.1fr 0.9fr; } }
.ea-map-frame { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.ea-map-frame svg { width: 100%; height: auto; display: block; }
.ea-de-land { fill: var(--ea-paper); stroke: #000; stroke-width: 1.6; stroke-linejoin: round; }
.ea-hs { -webkit-tap-highlight-color: transparent; position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.ea-hs::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--ea-red); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ea-hs::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--ea-red); opacity: .35; animation: ea-pulse 2s ease-out infinite; }
.ea-hs[aria-expanded="true"]::before, .ea-hs:focus-visible::before { border-color: var(--ea-gold); border-width: 3px; }
.ea-hs:focus-visible { outline: none; }
@keyframes ea-pulse { 0% { transform: scale(1); opacity: .4; } 70% { transform: scale(2.3); opacity: 0; } 100% { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ea-hs::after { animation: none; } }
.ea-tip { position: absolute; z-index: 5; width: min(260px, 80%); background: #000; color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 0.85rem; line-height: 1.45; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.ea-tip[hidden] { display: none; }
.ea-tip h3 { font-size: 0.95rem; margin: 0 0 4px; color: var(--ea-gold); }
.ea-tip p { margin: 0; color: rgba(255,255,255,.88); }
.ea-map-note { font-size: 0.85rem; color: var(--ea-muted); margin: 0.9rem 0 0; text-align: center; }
.ea-city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ea-city-list button { width: 100%; background: var(--ea-paper); border: 1px solid var(--ea-line); border-radius: 12px; padding: 12px 14px; text-align: left; cursor: pointer; color: var(--ea-ink); }
.ea-city-list button:hover, .ea-city-list button[aria-pressed="true"] { border-color: #000; }
.ea-city-list strong { display: block; font-family: var(--ea-head); font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.ea-city-list span { font-size: 0.78rem; color: var(--ea-muted); }

/* ---------- Quiénes somos: 2 columnas ---------- */
.ea-two { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .ea-two { grid-template-columns: 1.05fr 1fr; gap: 2rem; } }
.ea-two.card { background: #fff; border: 1px solid var(--ea-line); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); padding: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .ea-two.card { grid-template-columns: 1fr 1.15fr; padding: 1.5rem; } }
.ea-media { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--ea-line); background: #eee; aspect-ratio: 4 / 3; }
.ea-media img { width: 100%; height: 100%; object-fit: cover; }
.ea-two p:not(.ea-kicker) { color: var(--ea-muted); }
.ea-two .ea-lead { color: var(--ea-ink); }
.ea-pillars { display: grid; gap: 14px; margin-top: 2rem; }
@media (min-width: 640px) { .ea-pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ea-pillars { grid-template-columns: repeat(3, 1fr); } }
.ea-pillar { background: #fff; border: 1px solid var(--ea-line); border-radius: 16px; padding: 20px 18px; }
.ea-pillar .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--ea-gold); display: flex; align-items: center; justify-content: center; font-family: var(--ea-head); font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; }
.ea-pillar h3 { font-size: 1.05rem; margin: 0 0 6px; }
.ea-pillar p { margin: 0; font-size: 0.9rem; color: var(--ea-muted); }

/* ---------- Legacy blocks still used by other templates ---------- */
.ea-time { margin-top: 1.5rem; border-left: 2px solid #eee; padding-left: 1rem; }
.ea-time article { padding: 0.8rem 0 1.2rem; }
.ea-zig article { max-width: 34rem; margin: 1.6rem 0; }
.ea-zig .right { margin-left: auto; border-left: 4px solid var(--ea-gold); padding-left: 1rem; }
.ea-zig .line { border-left-color: #000; }
.ea-mod { display: grid; gap: 0.8rem; margin: 1rem 0; }
.ea-mod div { border-top: 1px solid #eee; padding-top: 0.8rem; }
.ea-mod p { margin: 0.3rem 0; color: var(--ea-muted); }
.ea-mod b { font-family: var(--ea-head); font-weight: 600; }

/* ---------- /v2/ puerta: dos tarjetas dentro de la columna ---------- */
.ea-gate { display: grid; gap: 1rem; max-width: var(--ea-max); margin: 0 auto; padding: 1.5rem var(--ea-g) 3rem; }
@media (min-width: 800px) { .ea-gate { grid-template-columns: 1fr 1fr; } }
.ea-gate a { position: relative; min-height: 60svh; display: flex; align-items: flex-end; overflow: hidden; padding: 1.5rem; color: #fff; text-decoration: none; border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); }
.ea-gate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ea-gate .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.2) 60%, rgba(0,0,0,.1)); }
.ea-gate .copy { position: relative; max-width: 28rem; display: grid; gap: 0.6rem; }
.ea-gate .ea-kicker { color: var(--ea-gold); }
.ea-gate strong { font-family: var(--ea-head); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.ea-gate .line { font-size: 1.05rem; }
.ea-gate .pill { display: inline-flex; height: 3rem; align-items: center; padding: 0 1.2rem; border-radius: 999px; background: var(--ea-gold); color: #000; font-family: var(--ea-head); font-weight: 600; width: max-content; }
.ea-gate .pill.light { background: #fff; }

/* ---------- Formulario (sin anchos forzados) ---------- */
.ea-field { display: grid; gap: 0.25rem; margin: 0.7rem 0; font-size: 0.9rem; color: var(--ea-muted); }
.ea-field input, .ea-field select { height: 3rem; border: 1px solid #ddd; border-radius: 0.8rem; padding: 0 0.8rem; background: #fff; }
.ea-form { margin-top: 1.2rem; }
.ea-check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0; font-size: 0.95rem; }
.ea-field input[type="file"] { height: auto; padding: 0.6rem 0; border: 0; }

/* ---------- Footer ---------- */
.ea-foot { display: grid; gap: 1.5rem; padding: 2.5rem max(var(--ea-g), calc((100% - var(--ea-max)) / 2 + var(--ea-g))); background: #000 !important; color: #fff; font-size: 0.95rem; margin-top: 2rem; }
.ea-foot nav, .ea-foot div:last-child { display: grid; gap: 0.35rem; align-content: start; }
.ea-foot a { font-weight: 500; text-decoration: none; color: #fff; }
.ea-foot p { color: rgba(255,255,255,.7); }
@media (min-width: 800px) { .ea-foot { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ---------- Valores 1.5.1: variante V2 «Un camino, dos partes» (todo bajo .ea-valores) ---------- */
.ea-valores { padding-top: 2.5rem; }
.ea-valores .ea-v-head { margin-bottom: 1.75rem; }
.ea-valores .ea-v-head h1 { margin: 0.6rem 0 0.75rem; }
.ea-valores .ea-v-head .ea-lead { margin: 0; }
.ea-valores .ea-kicker { margin: 0 0 10px; }

/* Recorrido */
.ea-valores .ea-v-journey { background: #fff; border: 1px solid var(--ea-line); border-radius: 20px; padding: 28px 28px 30px; }
.ea-valores .ea-v-band { display: grid; grid-template-columns: 62fr 132px 38fr; column-gap: 0; }
.ea-valores .ea-v-pin1 { grid-column: 1; grid-row: 1; padding-bottom: 14px; position: relative; }
.ea-valores .ea-v-pin2 { grid-column: 3; grid-row: 1; padding-bottom: 14px; display: flex; align-items: flex-end; justify-content: center; }
.ea-valores .ea-v-price { display: inline-block; position: relative; margin-left: 8px; background: #000; color: #fff; border-radius: 14px; padding: 14px 18px; }
.ea-valores .ea-v-price::after { content: ""; position: absolute; left: 34px; bottom: -14px; width: 2px; height: 14px; background: #000; }
.ea-valores .ea-v-amount { display: block; font-family: var(--ea-head); font-weight: 600; font-size: 34px; line-height: 1; }
.ea-valores .ea-v-amount small { font-size: 14px; color: var(--ea-gold); margin-right: 6px; vertical-align: 6px; }
.ea-valores .ea-v-split { display: block; font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 6px; }
.ea-valores .ea-v-split b { color: #fff; font-weight: 500; }
.ea-valores .ea-v-written { display: block; font-size: 12px; color: rgba(255,255,255,.58); margin-top: 2px; }
.ea-valores .ea-v-employer { position: relative; background: var(--ea-gold); color: #000; border-radius: 999px; padding: 7px 14px; font-family: var(--ea-head); font-weight: 600; font-size: 13px; }
.ea-valores .ea-v-employer::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 2px; height: 14px; background: rgba(0,0,0,.35); }

.ea-valores .ea-v-seg { grid-row: 2; position: relative; }
.ea-valores .ea-v-seg1 { grid-column: 1; }
.ea-valores .ea-v-seg2 { grid-column: 3; }
.ea-valores .ea-v-bar { position: absolute; left: 0; right: 0; top: 9px; height: 8px; border-radius: 8px; }
.ea-valores .ea-v-seg1 .ea-v-bar { background: #000; }
.ea-valores .ea-v-seg2 .ea-v-bar { background: transparent; border-top: 3px dashed rgba(0,0,0,.35); height: 0; top: 11px; border-radius: 0; }
.ea-valores .ea-v-stations { position: relative; display: grid; list-style: none; margin: 0; padding: 0; }
.ea-valores .ea-v-seg1 .ea-v-stations { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ea-valores .ea-v-seg2 .ea-v-stations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ea-valores .ea-v-stations li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 4px; min-width: 0; }
.ea-valores .ea-v-dot { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid #000; display: flex; align-items: center; justify-content: center; font-family: var(--ea-head); font-weight: 600; font-size: 10px; }
.ea-valores .ea-v-seg2 .ea-v-dot { border: 2px dashed rgba(0,0,0,.4); background: var(--ea-paper); }
.ea-valores .ea-v-lbl { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: #000; overflow-wrap: break-word; hyphens: auto; }
.ea-valores .ea-v-seg2 .ea-v-lbl { color: var(--ea-muted); }

.ea-valores .ea-v-handover { grid-column: 2; grid-row: 2; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ea-valores .ea-v-handover::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 3px solid var(--ea-red); }
.ea-valores .ea-v-ring { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--ea-red); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--ea-red); }
.ea-valores .ea-v-hl { font-family: var(--ea-head); font-weight: 600; font-size: 12.5px; color: var(--ea-red); text-align: center; line-height: 1.25; margin-top: 4px; }
.ea-valores .ea-v-hl span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ea-muted); }

.ea-valores .ea-v-name { grid-row: 3; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ea-line); font-family: var(--ea-head); font-weight: 600; font-size: 15px; }
.ea-valores .ea-v-name small { display: block; font-family: var(--ea-body); font-weight: 400; font-size: 13px; color: var(--ea-muted); }
.ea-valores .ea-v-n1 { grid-column: 1; }
.ea-valores .ea-v-gap { grid-column: 2; }
.ea-valores .ea-v-n2 { grid-column: 3; color: var(--ea-muted); }
.ea-valores .ea-v-contact { grid-column: 1; grid-row: 4; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ea-muted); }
.ea-valores .ea-v-contact i { display: block; height: 0; width: 100%; border-top: 2px solid var(--ea-red); }

/* Dos columnas «En qué consiste» */
.ea-valores .ea-v-explain { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 22px; }
.ea-valores .ea-v-col { background: #fff; border: 1px solid var(--ea-line); border-radius: 20px; padding: 26px; }
.ea-valores .ea-v-c2 { background: var(--ea-paper); border: 2px dashed rgba(0,0,0,.22); }
.ea-valores .ea-v-c2 .ea-kicker { color: var(--ea-muted); }
.ea-valores .ea-v-col h2 { font-size: 22px; margin: 0 0 4px; }
.ea-valores .ea-v-sub { margin: 0 0 14px; color: var(--ea-muted); font-size: 14px; }
.ea-valores .ea-v-col dl { margin: 0; }
.ea-valores .ea-v-col dt, .ea-valores .ea-v-list li { font-family: var(--ea-head); font-weight: 600; font-size: 15px; margin-top: 12px; }
.ea-valores .ea-v-col dt:first-child, .ea-valores .ea-v-list li:first-child { margin-top: 0; }
.ea-valores .ea-v-col dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ea-muted); }
.ea-valores .ea-v-list { list-style: none; margin: 0; padding: 0; }
.ea-valores .ea-v-note { margin: 16px 0 0; font-size: 14px; color: var(--ea-muted); }

/* Devolución: bloque negro */
.ea-valores .ea-v-refund { margin-top: 22px; background: #000; color: #fff; border-radius: 20px; padding: 26px; }
.ea-valores .ea-v-refund .ea-kicker { color: var(--ea-gold); }
.ea-valores .ea-v-refund h2 { font-size: 22px; margin: 0 0 16px; }
.ea-valores .ea-v-refund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; }
.ea-valores .ea-v-refund-grid div { background: #111; padding: 16px 18px; font-size: 14px; color: rgba(255,255,255,.78); }
.ea-valores .ea-v-refund-grid strong { display: block; color: #fff; font-family: var(--ea-head); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.ea-valores .ea-v-foot { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

/* CTA */
.ea-valores .ea-v-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.ea-valores .ea-v-cta p { margin: 0; color: var(--ea-muted); font-size: 14px; }

/* Pantallas medianas: recorrido más compacto */
@media (min-width: 901px) and (max-width: 1100px) {
  .ea-valores .ea-v-journey { padding: 24px 20px 26px; }
  .ea-valores .ea-v-band { grid-template-columns: 62fr 112px 38fr; }
  .ea-valores .ea-v-lbl { font-size: 12px; }
  .ea-valores .ea-v-stations li { padding: 0 2px; }
  .ea-valores .ea-v-seg2 .ea-v-lbl { font-size: 11.5px; }
}

/* Móvil y tablet: el recorrido se apila en vertical */
@media (max-width: 900px) {
  .ea-valores { padding-top: 2rem; }
  .ea-valores .ea-v-journey { padding: 22px 18px; }
  .ea-valores .ea-v-band { grid-template-columns: minmax(0, 1fr); }
  .ea-valores .ea-v-pin1, .ea-valores .ea-v-pin2, .ea-valores .ea-v-seg1, .ea-valores .ea-v-seg2, .ea-valores .ea-v-handover, .ea-valores .ea-v-name, .ea-valores .ea-v-contact { grid-column: 1; grid-row: auto; }
  .ea-valores .ea-v-pin1 { order: 1; padding-bottom: 12px; }
  .ea-valores .ea-v-price { margin-left: 0; }
  .ea-valores .ea-v-price::after { display: none; }
  .ea-valores .ea-v-n1 { order: 2; margin-top: 0; border-top: 0; padding-top: 0; margin-bottom: 10px; }
  .ea-valores .ea-v-seg1 { order: 3; }
  .ea-valores .ea-v-handover { order: 4; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 0; }
  .ea-valores .ea-v-handover::before { left: 12px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px solid var(--ea-red); }
  .ea-valores .ea-v-hl { text-align: left; margin-top: 0; }
  .ea-valores .ea-v-n2 { order: 5; margin-top: 4px; }
  .ea-valores .ea-v-pin2 { order: 6; justify-content: flex-start; padding: 8px 0 10px; }
  .ea-valores .ea-v-employer::after { display: none; }
  .ea-valores .ea-v-seg2 { order: 7; }
  .ea-valores .ea-v-gap { display: none; }
  .ea-valores .ea-v-contact { order: 8; }
  .ea-valores .ea-v-contact i { width: 48px; }
  .ea-valores .ea-v-bar { left: 12px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; border-radius: 3px; }
  .ea-valores .ea-v-seg2 .ea-v-bar { border-top: 0; border-left: 3px dashed rgba(0,0,0,.35); width: 0; top: 0; height: auto; }
  .ea-valores .ea-v-seg1 .ea-v-stations, .ea-valores .ea-v-seg2 .ea-v-stations { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .ea-valores .ea-v-stations li { flex-direction: row; text-align: left; padding: 0; gap: 12px; }
  .ea-valores .ea-v-lbl { font-size: 14px; }
  .ea-valores .ea-v-explain { grid-template-columns: minmax(0, 1fr); }
  .ea-valores .ea-v-col { padding: 22px 20px; }
  .ea-valores .ea-v-refund { padding: 22px 20px; }
  .ea-valores .ea-v-refund-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Valores 1.5.3: aviso examen B1 con precios por país (todo bajo .ea-b1) ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ea-valores .ea-b1 { margin-top: 22px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; background: var(--ea-card); border: 1px solid var(--ea-line); border-radius: 20px; box-shadow: var(--ea-shadow); padding: 28px; position: relative; overflow: hidden; }
.ea-valores .ea-b1::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(#000 0 33.33%, var(--ea-red) 33.33% 66.66%, var(--ea-gold) 66.66% 100%); }
.ea-valores .ea-b1-copy h2 { font-size: 26px; margin: 0 0 10px; }
.ea-valores .ea-b1-copy p:not(.ea-kicker) { margin: 0; font-size: 16px; color: var(--ea-muted); max-width: 52ch; }
.ea-valores .ea-b1-costs { background: var(--ea-paper); border: 1px solid var(--ea-line); border-radius: 16px; padding: 18px; }
.ea-valores .ea-b1-label { display: block; font-family: var(--ea-head); font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.ea-valores .ea-b1-select { position: relative; }
.ea-valores .ea-b1-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); pointer-events: none; }
.ea-valores .ea-b1-select select { -webkit-appearance: none; appearance: none; width: 100%; min-height: 48px; padding: 10px 44px 10px 16px; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; background: #fff; font-family: var(--ea-body); font-weight: 500; font-size: 16px; color: var(--ea-ink); cursor: pointer; }
.ea-valores .ea-b1-select select:hover { border-color: rgba(0,0,0,.35); }
.ea-valores .ea-b1-select select:focus-visible { outline: 3px solid var(--ea-red); outline-offset: 2px; }
.ea-valores .ea-b1-panels { margin-top: 12px; display: grid; gap: 10px; }
.ea-valores .ea-b1-panel { background: #fff; border: 1px solid var(--ea-line); border-radius: 12px; padding: 14px 16px; }
.ea-valores .ea-b1-panel[hidden] { display: none; }
.ea-valores .ea-b1-country { margin: 0; font-size: 12px; font-family: var(--ea-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ea-muted); }
.ea-valores .ea-b1-panels.is-js .ea-b1-country { display: none; }
.ea-valores .ea-b1-price { margin: 2px 0 4px; font-family: var(--ea-head); font-weight: 600; font-size: 28px; line-height: 1.1; color: #000; }
.ea-valores .ea-b1-price--na { font-size: 19px; color: var(--ea-ink); }
.ea-valores .ea-b1-src { margin: 0 0 10px; font-size: 13.5px; color: var(--ea-muted); }
.ea-valores .ea-b1-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-family: var(--ea-head); font-weight: 600; font-size: 14.5px; color: var(--ea-red); text-decoration: underline; text-underline-offset: 3px; }
.ea-valores .ea-b1-link:hover { text-decoration-thickness: 2px; }
.ea-valores .ea-b1-link:focus-visible { outline: 3px solid var(--ea-red); outline-offset: 2px; border-radius: 4px; }
.ea-valores .ea-b1-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ea-muted); }
@media (max-width: 900px) {
  .ea-valores .ea-b1 { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 20px 22px 24px; }
  .ea-valores .ea-b1-copy h2 { font-size: 22px; }
  .ea-valores .ea-b1-costs { padding: 16px 14px; }
}

/* 1.5.4 · identidad legal en Quiénes somos */
.ea-legal{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--ea-line);font-family:var(--ea-body);font-size:.9rem;color:var(--ea-muted)}
.ea-legal a{color:inherit;text-decoration:underline}
