/* ==========================================
   LANDING PAGE — MOBILE-FIRST REDESIGN
   ========================================== */

/* ---------- GENERAL FIXES ---------- */
[id] { scroll-margin-top: 140px; }
.lp-hero-sub,
.lp-section-desc,
.lp-alerta-msg {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ---------- HERO ---------- */
.lp-hero {
    position: relative;
    background: var(--navy);
    padding: 5.5rem 1.25rem 2.5rem;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

/* Mesh gradient */
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14,165,233,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 70%, rgba(13,148,136,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(14,165,233,0.05) 0%, transparent 70%);
    animation: heroMesh 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroMesh {
    0%   { opacity: 1; transform: scale(1) translate(0, 0); }
    50%  { opacity: 0.8; transform: scale(1.05) translate(-1%, 2%); }
    100% { opacity: 1; transform: scale(1) translate(1%, -1%); }
}

/* Grid lines */
.lp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.lp-hero-split {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.lp-hero-content { display: flex; flex-direction: column; gap: 0; }

.lp-hero-date {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
    text-transform: capitalize;
    justify-content: center;
}
.lp-hero-date svg { opacity: 0.5; }

.lp-hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 800;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.lp-hero h1 .accent { color: var(--accent); }
.lp-hero h1 .accent-teal { color: var(--teal); }

.lp-hero-sub {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.lp-hero-actions {
    display: flex; align-items: center;
    gap: 0.75rem; flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}
.lp-hero-actions .btn-primario {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 52px; padding: 0 1.75rem;
    border-radius: 14px;
    font-weight: 700; font-size: 0.92rem;
    background: var(--accent);
    color: #fff; border: none;
    box-shadow: 0 8px 30px rgba(14,165,233,0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none; cursor: pointer;
    font-family: var(--font-body);
}
.lp-hero-actions .btn-primario:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14,165,233,0.45), 0 0 0 4px rgba(14,165,233,0.1);
}
.lp-hero-actions .btn-outline {
    display: inline-flex; align-items: center;
    min-height: 52px; padding: 0 1.5rem;
    border-radius: 14px;
    font-weight: 600; font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    transition: var(--transicion);
    text-decoration: none; cursor: pointer;
    font-family: var(--font-body);
}
.lp-hero-actions .btn-outline:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
}

/* Trust badges */
.lp-hero-trust {
    display: flex; align-items: center;
    gap: 1.5rem; flex-wrap: wrap;
    justify-content: center;
}
.lp-hero-trust-item {
    display: flex; align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
}
.lp-hero-trust-item svg { color: var(--accent); opacity: 0.7; flex-shrink: 0; }

/* -- Widget en vivo -- */
.lp-hero-widget {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    max-width: 580px;
    margin: 0 auto;
}
.lp-hero-widget::before {
    content: '';
    position: absolute;
    top: -60%; right: -40%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.lp-widget-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-widget-title {
    font-family: var(--font-heading);
    font-size: 0.75rem; font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* Indicadores econ — 2 filas: 3 arriba + 2 abajo */
.lp-widget-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.lp-widget-indicators-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
}
.lp-widget-ind {
    text-align: center;
    padding: 0.6rem 0.4rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transicion);
}
.lp-widget-ind:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.lp-widget-ind-label {
    display: block;
    font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.lp-ind-fecha {
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    text-transform: none;
    letter-spacing: normal;
}
.lp-widget-ind-value {
    font-family: var(--font-heading);
    font-size: 1.05rem; font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
@media (min-width: 500px) {
    .lp-widget-ind-value { font-size: 1.15rem; }
}

/* Widget rows */
.lp-widget-rows { display: flex; flex-direction: column; gap: 0.6rem; }

.lp-widget-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transicion);
}
.lp-widget-row:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.lp-widget-row-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-widget-row-icon.clima { background: rgba(14,165,233,0.15); color: var(--accent); }
.lp-widget-row-icon.farmacia { background: rgba(13,148,136,0.15); color: var(--teal); }

.lp-widget-row-info { flex: 1; min-width: 0; }
.lp-widget-row-primary {
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 700;
    color: #fff; line-height: 1.2;
}
.lp-widget-row-secondary {
    font-size: 0.78rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-top: 0.15rem;
}
.lp-widget-row-action {
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-size: 0.75rem; font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transicion);
    min-height: 44px; min-width: 44px;
    justify-content: center;
}
.lp-widget-row-action:hover { color: #fff; text-decoration: none; }

/* Widget fonos de emergencia */
.lp-widget-emergency {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-widget-emergency-title {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.7rem; font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}
.lp-widget-emergency-title svg { color: #EF4444; opacity: 0.8; }
.lp-widget-phones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}
.lp-widget-phone {
    display: flex; flex-direction: column; align-items: center;
    padding: 0.45rem 0.3rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 44px;
    justify-content: center;
}
.lp-widget-phone:hover {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.2);
    text-decoration: none;
}
.lp-phone-num {
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.lp-phone-label {
    font-size: 0.58rem; font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-align: center;
    line-height: 1.2;
    margin-top: 0.1rem;
}
@media (max-width: 374px) {
    .lp-widget-phones { grid-template-columns: repeat(3, 1fr); gap: 0.25rem; }
    .lp-widget-phone { padding: 0.35rem 0.2rem; }
    .lp-phone-num { font-size: 0.88rem; }
    .lp-phone-label { font-size: 0.52rem; }
}

/* ---------- SECCION DATOS EN VIVO ---------- */
.lp-datos-section {
    padding: 3.5rem 1.25rem;
    background: var(--fondo);
    position: relative;
}
.lp-datos-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--borde), transparent);
}
.lp-datos-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lp-datos-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.lp-datos-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}
.lp-datos-label .lp-pulse {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.lp-datos-title {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800;
    color: var(--texto);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.lp-datos-sub {
    font-size: 0.95rem;
    color: var(--texto-secundario);
    max-width: 500px;
    margin: 0 auto;
}

/* Grid de tarjetas */
.lp-datos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.lp-dato-card {
    background: var(--fondo-card);
    border: 1px solid var(--borde);
    border-radius: 18px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.lp-dato-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}
@media (hover: hover) {
.lp-dato-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-xl, 0 20px 40px rgba(0,0,0,0.1));
    border-color: transparent;
}
}
.lp-dato-card:hover::before { opacity: 1; }

/* Variantes de color */
.lp-dato-card--clima::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.lp-dato-card--clima-full::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.lp-dato-card--clima-full { grid-column: 1 / -1; padding: 1.25rem 1.5rem; }
.lp-dato-card--farmacias::before { background: linear-gradient(90deg, var(--teal), #2DD4BF); }
.lp-dato-card--sismo::before { background: linear-gradient(90deg, var(--navy), #1B4F72); }
.lp-dato-card--electrico::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.lp-dato-card-icon.ico-electrico { background: #FEF3C7; color: #D97706; }
.lp-dato-card--salud::before { background: linear-gradient(90deg, #10B981, #34D399); }
.lp-dato-card-icon.ico-salud { background: #D1FAE5; color: #059669; }
.lp-dato-card--seguridad::before { background: linear-gradient(90deg, #166534, #22C55E); }
.lp-dato-card-icon.ico-seguridad { background: #DCFCE7; color: #166534; }
.lp-dato-card--energia::before { background: linear-gradient(90deg, #F97316, #FB923C); }
.lp-dato-card-icon.ico-energia { background: #FFF7ED; color: #EA580C; }

.lp-dato-card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.lp-dato-card-icon.ico-clima { background: #FEF3C7; color: #D97706; }

/* --- Clima Regiones --- */
@keyframes bulletGrow {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.lp-clima-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.lp-clima-fecha {
    font-size: 0.78rem;
    color: var(--texto-terciario, #9CA3AF);
    margin-top: 0.15rem;
}

.lp-clima-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(8, auto);
    grid-auto-flow: column;
    gap: 0 1.5rem;
}
.lp-clima-row {
    display: grid;
    grid-template-columns: 90px 34px 1fr 34px 48px;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: background 0.15s ease;
    position: relative;
    cursor: default;
}
.lp-clima-row:hover {
    background: var(--gris-50, #F9FAFB);
}
.lp-clima-city {
    font-weight: 600;
    color: var(--texto, #1F2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
}
.lp-clima-min {
    text-align: right;
    font-size: 0.74rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #3B82F6;
}
.lp-clima-max {
    text-align: left;
    font-size: 0.74rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #EA580C;
}
/* Bullet chart: rango fijo -10 a 40 (50 grados) */
.lp-clima-bullet {
    position: relative;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}
.lp-clima-bullet-bg {
    position: absolute;
    inset: 0;
    background: var(--gris-100, #F3F4F6);
    border-radius: 5px;
}
/* Gradiente fijo de temperatura sobre toda la barra */
.lp-clima-bullet-gradient {
    position: absolute;
    inset: 0;
    border-radius: 5px;
    background: linear-gradient(90deg,
        #3B82F6 0%,     /* -10 */
        #06B6D4 20%,    /*   0 */
        #10B981 36%,    /*   8 */
        #84CC16 48%,    /*  14 */
        #FBBF24 62%,    /*  21 */
        #F59E0B 74%,    /*  27 */
        #EF4444 90%,    /*  35 */
        #991B1B 100%    /*  40 */
    );
    /* Mask: solo muestra la zona entre min y max */
    -webkit-mask: var(--bullet-mask);
    mask: var(--bullet-mask);
    animation: bulletGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--row, 0) * 0.04s);
}
.lp-clima-row:hover .lp-clima-bullet-gradient {
    filter: brightness(1.1) saturate(1.2);
}
/* Tooltip */
.lp-clima-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy, #0B2545);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    pointer-events: none;
}
.lp-clima-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--navy, #0B2545);
}
.lp-clima-row:hover .lp-clima-tooltip {
    display: block;
}
@media (max-width: 640px) {
    .lp-clima-tooltip {
        white-space: normal;
        min-width: 140px;
        max-width: 200px;
        left: 0;
        transform: none;
    }
    .lp-clima-tooltip::after {
        left: 20px;
        transform: none;
    }
    .lp-hero::before { animation: none; }
}
.lp-clima-rain {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    color: var(--gris-400, #9CA3AF);
    justify-content: flex-end;
}
.lp-clima-rain svg { flex-shrink: 0; }
.lp-clima-rain--high { color: #2563EB; font-weight: 700; }

.lp-clima-row:hover .lp-clima-bullet-bar {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.lp-clima-rain {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    color: var(--gris-400, #9CA3AF);
    justify-content: flex-end;
}
.lp-clima-rain svg { flex-shrink: 0; }
.lp-clima-rain--high { color: #2563EB; font-weight: 700; }

@media (max-width: 768px) {
    .lp-clima-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 0;
    }
    .lp-clima-row {
        grid-template-columns: 68px 28px 1fr 28px 40px;
        padding: 0.3rem 0.25rem;
        font-size: 0.74rem;
    }
    .lp-clima-city { font-size: 0.72rem; }
    .lp-clima-min, .lp-clima-max { font-size: 0.7rem; }
    .lp-dato-card--clima-full { padding: 1rem; }
    .lp-clima-tooltip { font-size: 0.68rem; padding: 0.4rem 0.6rem; }
}
@media (min-width: 769px) {
    .lp-clima-row {
        grid-template-columns: 100px 36px 1fr 36px 52px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lp-clima-bullet-gradient { animation: none; clip-path: inset(0); }
}

.lp-dato-card-icon.ico-farmacias { background: var(--teal-light, #CCFBF1); color: var(--teal); }
.lp-dato-card-icon.ico-sismo { background: var(--gris-100, #F3F4F6); color: var(--gris-600, #4B5563); }

.lp-dato-card-title {
    font-family: var(--font-heading);
    font-size: 0.75rem; font-weight: 700;
    color: var(--texto-secundario);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}


/* Clima en tarjeta */
.lp-dato-clima-main {
    display: flex; align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}
.lp-dato-clima-temp {
    font-family: var(--font-heading);
    font-size: 3.5rem; font-weight: 800;
    color: var(--texto);
    letter-spacing: -0.04em;
    line-height: 1;
}
.lp-dato-clima-unit {
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 600;
    color: var(--texto-secundario);
    margin-top: 0.3rem;
}
.lp-dato-clima-cond {
    font-size: 0.95rem; font-weight: 500;
    color: var(--texto-secundario);
    margin-bottom: 0.5rem;
}
.lp-dato-clima-range {
    display: flex; gap: 1rem;
    font-size: 0.85rem;
    color: var(--texto-secundario);
}
.lp-dato-clima-range span { font-weight: 600; color: var(--texto); }

/* Farmacia */
.lp-dato-farm-big {
    font-family: var(--font-heading);
    font-size: 3.5rem; font-weight: 800;
    color: var(--teal);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.lp-dato-farm-label {
    font-size: 0.95rem;
    color: var(--texto-secundario);
    margin-bottom: 1rem;
}
.lp-dato-farm-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.88rem; font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: var(--transicion);
    min-height: 44px;
}
.lp-dato-farm-link:hover { color: var(--accent); text-decoration: none; }
.lp-dato-farm-link svg { transition: transform 0.25s ease; }
.lp-dato-farm-link:hover svg { transform: translateX(3px); }

/* Sismo tarjeta */
.lp-dato-sismo-main {
    display: flex; align-items: flex-start; gap: 0.25rem;
    margin-bottom: 0.35rem;
}
.lp-dato-sismo-mag {
    font-family: var(--font-heading);
    font-size: 3rem; font-weight: 800;
    color: var(--texto);
    letter-spacing: -0.04em;
    line-height: 1;
}
.lp-dato-sismo-deg {
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 600;
    color: var(--texto-secundario);
    margin-top: 0.35rem;
}
.lp-dato-sismo-loc {
    font-size: 0.88rem; font-weight: 500;
    color: var(--texto-secundario);
    margin-bottom: 0.2rem;
    line-height: 1.4;
}
.lp-dato-sismo-date {
    font-size: 0.78rem;
    color: var(--gris-400, #9CA3AF);
}
.lp-dato-sismo-none {
    font-size: 0.95rem;
    color: var(--texto-secundario);
    display: flex; align-items: center; gap: 0.5rem;
}
.lp-dato-sismo-none-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--verde);
    flex-shrink: 0;
}

/* Sismos expandido — fondo claro */
.lp-dato-card--sismo-expanded {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #F0F4F8 0%, #E2E8F0 100%);
    border-color: #CBD5E1;
}
.lp-dato-card--sismo-expanded .lp-dato-card-title {
    color: var(--texto, #1E293B);
}
.lp-dato-card--sismo-expanded .lp-dato-card-icon {
    color: #D97706;
}
.lp-dato-card--sismo-expanded .lp-dato-sismo-none {
    color: var(--texto-secundario, #64748B);
}
.lp-dato-card--sismo-expanded .lp-dato-sismo-none-dot {
    background: #22C55E;
}
/* Layout: 2x2 izquierda + mayor derecha */
.lp-sismos-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
@media (min-width: 700px) {
    .lp-sismos-layout {
        flex-direction: row;
        align-items: stretch;
    }
}
.lp-sismos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    flex: 1;
}
@media (min-width: 480px) {
    .lp-sismos-grid { grid-template-columns: 1fr 1fr; }
}
/* Panel mayor del día — derecha */
.lp-sismo-mayor-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFBEB;
    border: 2px solid #D97706;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    min-width: 180px;
    position: relative;
    box-shadow: 0 2px 8px rgba(217,119,6,0.10);
}
@media (min-width: 700px) {
    .lp-sismo-mayor-panel {
        width: 220px;
        flex-shrink: 0;
    }
}
.lp-sismo-mayor-panel .lp-sismo-mayor-badge {
    position: absolute;
    top: -8px; left: 50%; transform: translateX(-50%);
}
.lp-sismo-mayor-panel .lp-sismo-mayor-mag {
    display: flex; align-items: flex-start; gap: 2px;
    justify-content: center;
    margin: 0.5rem 0 0.35rem;
}
.lp-sismo-mayor-panel .lp-sismo-mayor-num {
    font-family: var(--font-heading);
    font-size: 3rem; font-weight: 800;
    line-height: 1; letter-spacing: -0.03em;
}
.lp-sismo-mayor-panel .lp-sismo-mayor-deg {
    font-size: 1.1rem; font-weight: 600;
    margin-top: 4px;
}
.lp-sismo-mayor-panel .lp-sismo-mayor-loc {
    font-size: 0.82rem; font-weight: 500;
    color: var(--texto, #1E293B);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}
.lp-sismo-mayor-panel .lp-sismo-mayor-date {
    font-size: 0.72rem;
    color: var(--texto-secundario, #64748B);
}
.lp-sismo-mayor-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #92400E;
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    line-height: 1.4;
}
/* Items individuales (grid 2x2) */
.lp-sismo-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.lp-sismo-item:hover { background: #F8FAFC; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.lp-sismo-item-mag {
    display: flex; align-items: flex-start; gap: 1px;
    flex-shrink: 0;
    min-width: 48px; justify-content: center;
}
.lp-sismo-item-num {
    font-family: var(--font-heading);
    font-size: 1.65rem; font-weight: 800;
    line-height: 1; letter-spacing: -0.03em;
}
.lp-sismo-item-deg {
    font-size: 0.8rem; font-weight: 600;
    margin-top: 2px;
}
.lp-sismo-item-info { min-width: 0; }
.lp-sismo-item-loc {
    font-size: 0.78rem; font-weight: 500;
    color: var(--texto, #1E293B);
    line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lp-sismo-item-date {
    font-size: 0.7rem;
    color: var(--texto-secundario, #64748B);
    margin-top: 0.15rem;
}
/* Colores por magnitud */
.lp-sismo-leve .lp-sismo-item-num,
.lp-sismo-leve .lp-sismo-item-deg,
.lp-sismo-leve .lp-sismo-mayor-num,
.lp-sismo-leve .lp-sismo-mayor-deg { color: #15803D; }
.lp-sismo-moderado .lp-sismo-item-num,
.lp-sismo-moderado .lp-sismo-item-deg,
.lp-sismo-moderado .lp-sismo-mayor-num,
.lp-sismo-moderado .lp-sismo-mayor-deg { color: #B45309; }
.lp-sismo-fuerte .lp-sismo-item-num,
.lp-sismo-fuerte .lp-sismo-item-deg,
.lp-sismo-fuerte .lp-sismo-mayor-num,
.lp-sismo-fuerte .lp-sismo-mayor-deg { color: #EA580C; }
.lp-sismo-severo .lp-sismo-item-num,
.lp-sismo-severo .lp-sismo-item-deg,
.lp-sismo-severo .lp-sismo-mayor-num,
.lp-sismo-severo .lp-sismo-mayor-deg { color: #DC2626; }
.lp-sismo-severo.lp-sismo-mayor-panel { border-color: rgba(220,38,38,0.5); background: rgba(220,38,38,0.04); }
.lp-sismo-fuerte.lp-sismo-mayor-panel { border-color: rgba(234,88,12,0.4); background: #FFF7ED; }
.lp-sismo-severo.lp-sismo-item { border-color: rgba(220,38,38,0.25); background: rgba(220,38,38,0.04); }
.lp-sismo-fuerte.lp-sismo-item { border-color: rgba(234,88,12,0.2); }

/* ---------- ALERTAS ACTIVAS ---------- */
.lp-alertas-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-alertas-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .lp-alertas-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2.5rem;
    }
}

.lp-alerta-ejemplo-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--texto-terciario);
    background: rgba(0,0,0,0.06);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radio-full);
}

/* ---------- TENDENCIAS CHILE ---------- */
.lp-dato-card--tendencias {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 50%, #F5F3FF 100%);
    border: 1px solid #DDD6FE;
}
.lp-dato-card--tendencias::before { background: linear-gradient(90deg, #6366F1, #818CF8); }
.lp-dato-card--tendencias .lp-dato-card-title {
    color: var(--texto, #1E293B);
}
.lp-dato-card-icon.ico-tendencias { background: rgba(99,102,241,0.12); color: #6366F1; }
.lp-dato-card--tendencias .lp-dato-sismo-none { color: #475569; }
.lp-dato-card--tendencias .lp-dato-sismo-none-dot { background: #6366F1; }

.tendencias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
@media (min-width: 640px) {
    .tendencias-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.6rem;
    }
}

.tendencia-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tendencia-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366F1, #818CF8);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.tendencia-item:hover {
    background: #F5F3FF;
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(99,102,241,0.1);
}
.tendencia-item:hover::before { opacity: 1; }

.tendencia-rank {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-weight: 800;
    color: #6366F1;
    line-height: 1;
}
.tendencia-titulo {
    font-weight: 600;
    color: var(--texto, #1E293B);
    line-height: 1.3;
    text-transform: capitalize;
}
.tendencia-cat {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* Colores por categoría — todos ≥4.5:1 sobre su fondo */
.tendencia-cat--deportes { background: #DCFCE7; color: #166534; }
.tendencia-cat--clima { background: #E0F2FE; color: #075985; }
.tendencia-cat--politica { background: #FFEDD5; color: #9A3412; }
.tendencia-cat--sucesos { background: #FEE2E2; color: #991B1B; }
.tendencia-cat--entretenimiento { background: #F3E8FF; color: #6B21A8; }
.tendencia-cat--economia { background: #FEF9C3; color: #854D0E; }
.tendencia-cat--salud { background: #CCFBF1; color: #115E59; }
.tendencia-cat--tecnologia { background: #E0E7FF; color: #3730A3; }
.tendencia-cat--efemerides { background: #FCE7F3; color: #9D174D; }
.tendencia-cat--actualidad { background: #F1F5F9; color: #334155; }

.tendencia-count {
    font-size: 0.65rem;
    color: var(--texto-secundario, #64748B);
    font-weight: 500;
}

/* Tooltip de tendencia */
.tendencia-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max(200px, calc(100% + 40px));
    max-width: 320px;
    background: #1E293B;
    color: #F1F5F9;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 50;
    text-transform: none;
    letter-spacing: normal;
    pointer-events: none;
}
.tendencia-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1E293B;
}
.tendencia-item:hover .tendencia-tooltip {
    display: block;
}
/* En mobile, tooltip debajo */
@media (max-width: 639px) {
    .tendencia-tooltip {
        position: relative;
        bottom: auto; left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin-top: 0.4rem;
        display: none;
        background: #F1F5F9;
        color: #334155;
        box-shadow: none;
        border: 1px solid #E2E8F0;
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }
    .tendencia-tooltip::after { display: none; }
    .tendencia-item:hover .tendencia-tooltip {
        display: block;
    }
}
/* Top 1 tooltip color ajustado */
.tendencia-pos-1 .tendencia-tooltip {
    background: #1E1B4B;
    color: #E0E7FF;
}
.tendencia-pos-1 .tendencia-tooltip::after {
    border-top-color: #1E1B4B;
}

/* Top 1: destacado — fondo indigo sólido, texto blanco (contraste 8.6:1) */
.tendencia-pos-1 {
    background: #4338CA;
    border-color: #4338CA;
    box-shadow: 0 4px 14px rgba(67,56,202,0.3);
}
.tendencia-pos-1 .tendencia-rank { font-size: 1.15rem; color: rgba(255,255,255,0.7); }
.tendencia-pos-1 .tendencia-titulo { font-size: 1rem; color: #fff; }
.tendencia-pos-1 .tendencia-count { color: rgba(255,255,255,0.78); }
.tendencia-pos-1 .tendencia-cat { background: rgba(255,255,255,0.18); color: #fff; }
.tendencia-pos-1:hover {
    background: #3730A3;
    border-color: #3730A3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67,56,202,0.35);
}

/* Top 2-3: tamaño medio */
.tendencia-pos-2 .tendencia-rank,
.tendencia-pos-3 .tendencia-rank { font-size: 0.95rem; }
.tendencia-pos-2 .tendencia-titulo,
.tendencia-pos-3 .tendencia-titulo { font-size: 0.92rem; }

/* Top 4-5 */
.tendencia-pos-4 .tendencia-rank,
.tendencia-pos-5 .tendencia-rank { font-size: 0.88rem; }
.tendencia-pos-4 .tendencia-titulo,
.tendencia-pos-5 .tendencia-titulo { font-size: 0.85rem; }

/* Top 6-10: más discreto pero legible (contraste mínimo 4.6:1) */
.tendencia-pos-6 .tendencia-rank, .tendencia-pos-7 .tendencia-rank,
.tendencia-pos-8 .tendencia-rank, .tendencia-pos-9 .tendencia-rank,
.tendencia-pos-10 .tendencia-rank { font-size: 0.82rem; color: #6366F1; }
.tendencia-pos-6 .tendencia-titulo, .tendencia-pos-7 .tendencia-titulo,
.tendencia-pos-8 .tendencia-titulo, .tendencia-pos-9 .tendencia-titulo,
.tendencia-pos-10 .tendencia-titulo { font-size: 0.8rem; color: #475569; }


/* ---------- SECCION PUENTE: QUE ES ---------- */
.lp-bridge-section {
    padding: 3.5rem 1.25rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.lp-bridge-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 30%, rgba(14,165,233,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 70%, rgba(13,148,136,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.lp-bridge-section .lp-section-label {
    color: rgba(14,165,233,0.92);
}
.lp-bridge-section .lp-section-title {
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}
.lp-bridge-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}
.lp-bridge-text { text-align: center; }
.lp-bridge-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 1rem;
}
.lp-bridge-desc strong {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
}
.lp-bridge-desc:last-child { margin-bottom: 0; }
.lp-bridge-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto;
}
.lp-bridge-feat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, border-color 0.2s;
}
.lp-bridge-feat:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
}
.lp-bridge-feat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-bridge-feat-icon--red { background: rgba(220,38,38,0.15); color: #F87171; }
.lp-bridge-feat-icon--blue { background: rgba(14,165,233,0.15); color: var(--accent); }
.lp-bridge-feat-icon--teal { background: rgba(13,148,136,0.15); color: #2DD4BF; }
.lp-bridge-feat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.92rem; font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.15rem;
}
.lp-bridge-feat span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}
@media (min-width: 768px) {
    .lp-bridge-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 3.5rem;
        align-items: center;
    }
    .lp-bridge-text { text-align: left; }
    .lp-bridge-desc { margin-left: 0; margin-right: 0; }
    .lp-bridge-section { padding: 4.5rem 2rem; }
}

/* ---------- FUNCIONALIDADES ---------- */
.lp-feat-section {
    padding: 3.5rem 1.25rem;
    background: #FFFFFF;
    position: relative;
}
.lp-feat-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--teal));
}

.lp-feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-feat-card {
    background: #FFFFFF;
    border: 1.5px solid var(--gris-200, #E5E7EB);
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.lp-feat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0 0 18px 18px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
@media (hover: hover) {
.lp-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(11,37,69,0.10), 0 8px 20px rgba(11,37,69,0.06);
    border-color: var(--accent);
}
}
.lp-feat-card:hover::after { opacity: 1; }

.lp-feat-card:nth-child(1)::after { background: linear-gradient(90deg, #DC2626, #EF4444); }
.lp-feat-card:nth-child(2)::after { background: linear-gradient(90deg, #0EA5E9, #38BDF8); }
.lp-feat-card:nth-child(3)::after { background: linear-gradient(90deg, #0D9488, #14B8A6); }
.lp-feat-card:nth-child(4)::after { background: linear-gradient(90deg, #16A34A, #22C55E); }
.lp-feat-card:nth-child(5)::after { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.lp-feat-card:nth-child(6)::after { background: linear-gradient(90deg, #0B2545, #1B4F72); }

.lp-feat-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.lp-feat-icon--red    { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: #DC2626; }
.lp-feat-icon--blue   { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); color: #0284C7; }
.lp-feat-icon--teal   { background: linear-gradient(135deg, #CCFBF1, #99F6E4); color: #0D9488; }
.lp-feat-icon--green  { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); color: #16A34A; }
.lp-feat-icon--purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #7C3AED; }
.lp-feat-icon--navy   { background: linear-gradient(135deg, #E0F2FE, #DBEAFE); color: #0B2545; }

.lp-feat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}
.lp-feat-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gris-500, #6B7280);
    line-height: 1.65;
    margin: 0;
}


/* ---------- COMO FUNCIONA ---------- */
.lp-how-section {
    padding: 3.5rem 1.25rem;
    background: var(--gris-50, #F9FAFB);
    position: relative;
    overflow: hidden;
}

.lp-how-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.lp-how-step {
    flex: 1;
    max-width: 100%;
    text-align: center;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: stepReveal 0.6s ease forwards;
}
.lp-how-step:nth-child(1) { animation-delay: 0.1s; }
.lp-how-step:nth-child(3) { animation-delay: 0.35s; }
.lp-how-step:nth-child(5) { animation-delay: 0.6s; }

@keyframes stepReveal {
    to { opacity: 1; transform: translateY(0); }
}

.lp-how-icon-wrap {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 1.25rem;
}
.lp-how-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0B2545 0%, #13395E 50%, #1B4F72 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(11,37,69,0.30), 0 0 0 4px rgba(14,165,233,0.10);
    position: relative;
    z-index: 1;
}
.lp-how-num {
    position: absolute;
    top: -4px; right: -4px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.82rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--gris-50, #F9FAFB);
    box-shadow: 0 4px 12px rgba(14,165,233,0.35);
    z-index: 2;
}
.lp-how-step h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 700;
    color: var(--texto);
    margin-bottom: 0.45rem;
}
.lp-how-step p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gris-500, #6B7280);
    line-height: 1.65;
    margin: 0;
}

.lp-how-connector {
    display: none;
    align-items: center;
    padding-top: 32px;
    flex-shrink: 0;
    width: 70px;
    opacity: 0;
    animation: connectorFade 0.4s ease forwards;
}
.lp-how-connector:nth-child(2) { animation-delay: 0.25s; }
.lp-how-connector:nth-child(4) { animation-delay: 0.5s; }

@keyframes connectorFade {
    to { opacity: 1; }
}
.lp-how-connector-line {
    width: 100%;
    height: 0;
    border-top: 2.5px dashed rgba(14,165,233,0.25);
    position: relative;
}
.lp-how-connector-line::after {
    content: '';
    position: absolute;
    right: -3px; top: -5px;
    width: 8px; height: 8px;
    border-top: 2.5px solid rgba(14,165,233,0.35);
    border-right: 2.5px solid rgba(14,165,233,0.35);
    transform: rotate(45deg);
}


/* ---------- REGISTRO ---------- */
.lp-reg-section {
    padding: 3.5rem 1.25rem;
    background: linear-gradient(160deg, #0B2545 0%, #13395E 40%, #0B2545 100%);
    position: relative;
    overflow: hidden;
}
.lp-reg-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.lp-reg-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-reg-section .lp-section-label { color: rgba(14,165,233,0.92); }
.lp-reg-section .lp-section-title { color: #FFFFFF; }
.lp-reg-section .lp-section-desc { color: rgba(255,255,255,0.55); }

.lp-reg-card {
    max-width: 540px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}

.lp-reg-motivacional {
    display: flex; align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.7rem 0.85rem;
    background: rgba(14,165,233,0.08);
    border-radius: 10px;
    border: 1px solid rgba(14,165,233,0.12);
}
.lp-reg-motivacional svg { flex-shrink: 0; color: #38BDF8; }
.lp-reg-motivacional span {
    font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.lp-reg-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-reg-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.lp-reg-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.lp-reg-group label {
    font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 600;
    color: rgba(255,255,255,0.65);
}
.lp-reg-group input,
.lp-reg-group select {
    padding: 0.8rem 0.9rem;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: #FFFFFF;
    background: rgba(255,255,255,0.06);
    transition: all 0.25s ease;
    min-height: 50px;
}
.lp-reg-group input:focus,
.lp-reg-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(14,165,233,0.15);
    background: rgba(255,255,255,0.08);
}
.lp-reg-group input::placeholder { color: rgba(255,255,255,0.3); }
.lp-reg-group select option { background: #0B2545; color: #FFFFFF; }

.lp-reg-prefix {
    display: flex; align-items: stretch;
}
.lp-reg-prefix span {
    display: flex; align-items: center;
    padding: 0 0.8rem;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 0.9rem; font-weight: 600;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.lp-reg-prefix input {
    border-radius: 0 10px 10px 0;
    flex: 1; min-width: 0;
}

.lp-reg-submit {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(14,165,233,0.30), 0 0 0 1px rgba(14,165,233,0.20);
    margin-top: 0.25rem;
}
.lp-reg-submit:hover {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(14,165,233,0.40), 0 0 0 1px rgba(14,165,233,0.30);
}
.lp-reg-submit:active { transform: translateY(0); }
.lp-reg-submit svg { flex-shrink: 0; }


/* ---------- CTA FINAL ---------- */
.lp-cta-final {
    background: linear-gradient(135deg, #0B2545 0%, #13395E 60%, #0D4A6B 100%);
    padding: 3.5rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.lp-cta-final-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.lp-cta-final-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(14,165,233,0.10);
    border: 1.5px solid rgba(14,165,233,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.lp-cta-final h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem; font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}
.lp-cta-final-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.lp-cta-final-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 0.85rem; flex-wrap: wrap;
}

.lp-cta-btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #FFFFFF;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(14,165,233,0.30);
    min-height: 52px;
}
.lp-cta-btn-primary:hover {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(14,165,233,0.40);
    text-decoration: none;
}

.lp-cta-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
}
.lp-cta-btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
    color: #FFFFFF;
    text-decoration: none;
}


/* ---------- FOOTER ---------- */
.lp-footer-v2 {
    background: #070F1E;
    padding: 2.5rem 1.25rem 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.lp-footer-v2-inner {
    max-width: 900px;
    margin: 0 auto;
}
.lp-footer-v2-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.25rem;
    gap: 1.25rem;
}
.lp-footer-v2-brand {
    display: flex; align-items: center; gap: 0.6rem;
}
.lp-footer-v2-brand span {
    font-family: var(--font-heading);
    font-size: 1.05rem; font-weight: 700;
    color: rgba(255,255,255,0.6);
}
.lp-footer-v2-brand em {
    font-style: normal;
    color: var(--accent);
}
.lp-footer-v2-nav {
    display: flex; align-items: center;
    gap: 1.5rem; flex-wrap: wrap;
    justify-content: center;
}
.lp-footer-v2-nav a {
    font-family: var(--font-body);
    font-size: 0.88rem; font-weight: 500;
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: color 0.25s ease;
    min-height: 44px;
    display: inline-flex; align-items: center;
}
.lp-footer-v2-nav a:hover {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.lp-footer-v2-bottom {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.50);
    line-height: 1.6;
}


/* ==========================================
   RESPONSIVE — TABLET+
   ========================================== */
@media (min-width: 640px) {
    .lp-hero { padding: 7rem 1.5rem 3.5rem; }
    .lp-hero h1 { font-size: 2.4rem; }
    .lp-hero-widget { padding: 1.5rem; border-radius: 22px; }

    .lp-datos-section { padding: 4rem 1.5rem; }
    .lp-datos-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .lp-datos-title { font-size: 1.85rem; }

    .lp-feat-section,
    .lp-how-section,
    .lp-reg-section,
    .lp-cta-final { padding: 4rem 1.5rem; }

    .lp-feat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .lp-feat-card { padding: 2rem 1.75rem 1.75rem; }
    .lp-feat-icon { width: 64px; height: 64px; }

    .lp-reg-row { grid-template-columns: 1fr 1fr; }
    .lp-reg-card { padding: 2.25rem 2rem; border-radius: 20px; }

    .lp-footer-v2-top {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .lp-footer-v2-nav { gap: 2rem; }
}

/* Desktop */
@media (min-width: 900px) {
    .lp-hero-split {
        grid-template-columns: 1fr 500px;
        gap: 3.5rem;
        text-align: left;
    }
    .lp-hero { padding: 0 2rem; min-height: 88vh; }
    .lp-hero h1 { font-size: 3rem; }
    .lp-hero-date { justify-content: flex-start; }
    .lp-hero-sub { margin-left: 0; margin-right: 0; }
    .lp-hero-actions { justify-content: flex-start; }
    .lp-hero-trust { justify-content: flex-start; }
    .lp-hero-widget { max-width: none; margin: 0; }

    .lp-datos-grid { grid-template-columns: repeat(4, 1fr); }

    .lp-feat-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
    .lp-feat-card { padding: 2.25rem 2rem 2rem; border-radius: 20px; }

    .lp-how-steps {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
    .lp-how-connector { display: flex; }
    .lp-how-step { max-width: 280px; }
}

@media (min-width: 1024px) {
    .lp-hero h1 { font-size: 3.4rem; }
}

@media (min-width: 1100px) {
    .lp-hero-split { grid-template-columns: 1fr 540px; gap: 4rem; }
    .lp-hero h1 { font-size: 3.6rem; }

    .lp-datos-section,
    .lp-feat-section,
    .lp-how-section,
    .lp-reg-section,
    .lp-cta-final { padding: 5.5rem 2rem; }

    .lp-cta-final h2 { font-size: 2.2rem; }
}

/* ===== MOBILE 320px-374px ===== */
@media (max-width: 374px) {
    .lp-hero { padding: 4.5rem 1rem 2rem; }
    .lp-hero h1 { font-size: 1.65rem; line-height: 1.15; }
    .lp-hero-sub { font-size: 0.88rem; line-height: 1.55; margin-bottom: 1.25rem; }
    .lp-hero-widget { padding: 0.85rem; border-radius: 14px; }
    .lp-hero-trust { gap: 0.75rem; }
    .lp-hero-trust-item { font-size: 0.72rem; }
    .lp-widget-ind { padding: 0.4rem 0.2rem; }
    .lp-widget-ind-value { font-size: 0.88rem; }
    .lp-widget-ind-label { font-size: 0.65rem; }
    .lp-widget-indicators-row2 { max-width: 80%; }
    .lp-clima-row {
        grid-template-columns: 54px 24px 1fr 24px 36px;
        gap: 0.2rem;
        padding: 0.25rem 0.15rem;
        font-size: 0.7rem;
    }
    .lp-clima-city { font-size: 0.68rem; }
    .lp-dato-clima-temp { font-size: 2.5rem; }
    .lp-dato-farm-big { font-size: 2.5rem; }
    .lp-datos-title { font-size: 1.35rem; }
    .lp-sismo-item { padding: 0.55rem 0.65rem; gap: 0.5rem; }
    .lp-sismo-item-num { font-size: 1.3rem; }
    .lp-sismo-item-loc { font-size: 0.72rem; }
    .lp-sismo-mayor-panel .lp-sismo-mayor-num { font-size: 2.4rem; }
    .lp-sismo-mayor-panel { padding: 1rem 0.75rem; }
    .lp-feat-icon { width: 48px; height: 48px; }
    .lp-feat-card { padding: 1.25rem 1rem 1rem; }
    .lp-how-icon-wrap,
    .lp-how-icon { width: 64px; height: 64px; }
    .lp-how-num { width: 26px; height: 26px; font-size: 0.75rem; }
    .lp-cta-final h2 { font-size: 1.4rem; }
    .lp-cta-final-sub { font-size: 0.88rem; }
    .lp-reg-card { padding: 1.25rem 0.85rem; }
    .lp-reg-section { padding: 2.5rem 0.75rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .lp-hero::before { animation: none !important; }
    .lp-how-step { animation: none !important; opacity: 1; transform: none; }
    .lp-how-connector { animation: none !important; opacity: 1; }
    .lp-datos-label .lp-pulse { animation: none !important; }
}
