/* ==========================================================================
   En construcción — Contra el Estrés (319). 2026-11-22.
   Colores del logo: navy #04285A · turquesa #00786C→#009C90 · naranja #F97A00
   · azul ola #005DBC · verde hoja #629B13. Manrope (títulos) + Inter (texto).
   ========================================================================== */
:root {
    --navy: #04285A; --turq: #009C90; --turq-fuerte: #00786C; --turq-hover: #005F55;
    --turq-suave: #E2F3F1; --naranja: #F97A00; --azul: #005DBC; --verde: #629B13;
    --texto: #1E2B3C; --texto-2: #5B6B80; --borde: #DCE6EC; --blanco: #fff;
    --f-titulo: 'Manrope', system-ui, sans-serif; --f-texto: 'Inter', system-ui, sans-serif;
    --g: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
    font-family: var(--f-texto); font-size: 16px; line-height: 1.6; color: var(--texto);
    background: linear-gradient(165deg, #F3FBFA 0%, #FFFFFF 45%, #FFF6EC 100%); overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 8px; }
.ec-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Fondo: burbujas suaves con los colores del loto */
.ec-fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ec-burbuja { position: absolute; border-radius: 50%; filter: blur(2px); }
.ec-burbuja--1 { width: 520px; height: 520px; right: -180px; top: -180px; background: radial-gradient(circle, rgba(0, 156, 144, .18), rgba(0, 156, 144, 0) 70%); }
.ec-burbuja--2 { width: 380px; height: 380px; left: -160px; bottom: -140px; background: radial-gradient(circle, rgba(249, 122, 0, .14), rgba(249, 122, 0, 0) 70%); }
.ec-burbuja--3 { width: 260px; height: 260px; left: 45%; top: 55%; background: radial-gradient(circle, rgba(0, 93, 188, .08), rgba(0, 93, 188, 0) 70%); }

.ec-cab { width: 100%; max-width: 1200px; margin: 0 auto; padding: 22px var(--g) 0; }
.ec-logo { height: 46px; width: auto; }

.ec-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px var(--g) 40px; display: grid; gap: 36px; align-items: center; }
.ec-main > * { min-width: 0; }

.ec-estado { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--borde); box-shadow: 0 6px 18px rgba(4, 40, 90, .06); font-size: 13.5px; font-weight: 700; color: var(--navy); }
.ec-punto { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); }
.ec-punto::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--naranja); opacity: 0; animation: latido 2s ease-out infinite; }
@keyframes latido { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.ec-titulo { margin: 0; font-family: var(--f-titulo); font-size: 32px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--navy); }
.ec-titulo em { font-style: normal; color: var(--turq-fuerte); position: relative; }
.ec-titulo em::after { content: ""; display: block; height: .22em; margin-top: -.06em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c20-6 40-6 58-2s38 4 58-2' fill='none' stroke='%23F97A00' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / min(100%, 340px) 100%; }
.ec-bajada { margin: 16px 0 0; max-width: 540px; font-size: 17px; color: var(--texto-2); }

.ec-pilares { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ec-pilares li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--turq-suave); color: var(--navy); font-size: 14px; font-weight: 600; }
.ec-pilares svg { width: 17px; height: 17px; color: var(--turq-fuerte); }
.ec-pilares li:nth-child(2) { background: #EDF5E1; } .ec-pilares li:nth-child(2) svg { color: #4A7A0C; }
.ec-pilares li:nth-child(3) { background: #FFF0E0; } .ec-pilares li:nth-child(3) svg { color: #B35600; }

/* Aviso de apertura (newsletter) */
.ec-aviso { margin-top: 28px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--borde); box-shadow: 0 14px 40px rgba(4, 40, 90, .08); max-width: 560px; }
.ec-aviso-titulo { margin: 0 0 12px; font-family: var(--f-titulo); font-size: 18px; font-weight: 800; color: var(--navy); }
.ec-form { display: grid; gap: 10px; }
.ec-form input { width: 100%; min-width: 0; height: 50px; padding: 0 16px; border: 1.5px solid var(--borde); border-radius: 14px; background: #F7FAFC; font: inherit; color: var(--texto); transition: border-color .2s, box-shadow .2s, background .2s; }
.ec-form input:focus { outline: 0; border-color: var(--turq); background: #fff; box-shadow: 0 0 0 4px rgba(0, 156, 144, .15); }
.ec-boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--turq-fuerte); color: #fff; font: 700 16px/1 var(--f-texto); cursor: pointer; transition: background .2s, transform .2s; }
.ec-boton:hover { background: var(--turq-hover); }
.ec-boton:active { transform: translateY(1px); }
.ec-boton[disabled] { opacity: .75; cursor: progress; }
.ec-boton svg { width: 18px; height: 18px; }
.ec-mensaje:empty { display: none; }
.ec-mensaje { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--turq-suave); color: var(--turq-hover); font-size: 14.5px; font-weight: 600; }
.ec-mensaje--error { background: #FDECEC; color: #B42318; }
.ec-privacidad { margin: 10px 0 0; font-size: 13px; color: var(--texto-2); }

/* Contacto y redes */
.ec-contacto { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ec-contacto a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px 8px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--borde); text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14.5px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ec-contacto a:hover { border-color: var(--turq); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4, 40, 90, .08); }
.ec-contacto svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--turq-suave); color: var(--turq-fuerte); box-sizing: border-box; }
.ec-contacto-wsp svg { background: #25D366; color: #fff; padding: 6px; }
.ec-contacto span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.ec-contacto small { font-size: 12px; font-weight: 600; color: var(--texto-2); }
.ec-redes { display: flex; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ec-redes a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; transition: background .2s, transform .2s; }
.ec-redes a:hover { background: var(--turq-fuerte); transform: translateY(-2px); }

/* Visual: loto en círculo con chips del lema */
.ec-visual { position: relative; margin: 0 auto; width: min(100%, 420px); aspect-ratio: 1; }
.ec-aro { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(0, 156, 144, .35); animation: girar 60s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.ec-circulo { position: absolute; inset: 9%; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #E2F3F1 70%); box-shadow: 0 30px 60px rgba(4, 40, 90, .12), inset 0 0 0 10px rgba(255, 255, 255, .7); }
.ec-circulo img { width: 56%; height: auto; animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-8px); } }
.ec-chip { position: absolute; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 12px 28px rgba(4, 40, 90, .12); font-family: var(--f-titulo); font-weight: 800; font-size: 14px; white-space: nowrap; }
.ec-chip--1 { left: -2%; top: 18%; color: var(--turq-fuerte); }
.ec-chip--2 { right: -4%; top: 44%; color: var(--azul); }
.ec-chip--3 { left: 10%; bottom: 8%; color: #B35600; }
.ec-chip::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: middle; }

.ec-pie { padding: 18px var(--g) 26px; text-align: center; font-size: 13.5px; color: var(--texto-2); }
.ec-pie a { color: var(--navy); font-weight: 600; }

.ec-wsp { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); transition: transform .2s; }
.ec-wsp:hover { transform: scale(1.06); }
.ec-wsp svg { width: 30px; height: 30px; }

@media (min-width: 560px) {
    .ec-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }
    .ec-aviso { padding: 24px; }
}
@media (min-width: 900px) {
    :root { --g: 40px; }
    .ec-logo { height: 54px; }
    .ec-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; padding-top: 40px; }
    .ec-titulo { font-size: 46px; }
    .ec-bajada { font-size: 18px; }
}
@media (min-width: 1200px) { .ec-titulo { font-size: 52px; } }
@media (max-width: 559px) { .ec-visual { width: min(72%, 260px); margin-top: 4px; } .ec-chip { font-size: 12px; padding: 5px 11px; } .ec-titulo { font-size: 30px; } .ec-main { gap: 28px; padding-top: 22px; } }
@media (prefers-reduced-motion: reduce) { .ec-aro, .ec-circulo img, .ec-punto::after { animation: none; } }

/* La cinta del panel (complemento "Cinta", #dscCinta) también se inyecta en esta página y su script
   la metía en la grilla, desplazando el loto. Aquí no corresponde: se oculta solo en en construcción. */
html body #dscCinta, html body .dsc-cinta { display: none !important; }
/* Cualquier otro elemento que la plataforma inyecte dentro de la grilla va a lo ancho */
.ec-main > :not(.ec-texto):not(.ec-visual) { grid-column: 1 / -1; }
