/* Estilos de linea-sismos.html — se carga DESPUÉS de styles.css */
.lin-hero { height: 440px; }
.lin-hero .hero-overlay { background: linear-gradient(100deg, rgba(20,10,30,.96) 0%, rgba(100,20,30,.8) 60%, rgba(201,111,94,.45) 100%); }
.lin-hero .hero-title { font-size: 4.6em; }
.lin-hero .hero-desc { max-width: 620px; }
.lin-main { max-width: 980px; margin: 0 auto; padding: 50px 22px 70px; }
.lin-intro { max-width: 720px; line-height: 1.75; font-size: 1.08em; margin: 0 0 40px; }
.tl { position: relative; padding-left: 0; }
.tl-linea { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: var(--fondo2); border-radius: 4px; }
.tl-linea i { display: block; width: 100%; height: 0; background: linear-gradient(var(--azul), var(--amarillo)); border-radius: 4px; }
.tl-item { position: relative; width: 50%; padding: 0 44px 56px 0; opacity: 0; transform: translateX(-40px); transition: opacity .7s, transform .7s; }
.tl-item.der { margin-left: 50%; padding: 0 0 56px 44px; transform: translateX(40px); }
.tl-item.ve { opacity: 1; transform: none; }
.tl-punto { position: absolute; top: 18px; right: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--azul); border: 5px solid #fff; box-shadow: 0 0 0 4px var(--fondo2); }
.tl-item.der .tl-punto { right: auto; left: -13px; }
.tl-item.ve .tl-punto { animation: tlPulso 1.6s ease-out 2; }
@keyframes tlPulso { 0% { box-shadow: 0 0 0 4px var(--fondo2); } 60% { box-shadow: 0 0 0 22px rgba(201,111,94,0); } }
.tl-card { background: #fff; border-radius: 24px; padding: 22px 24px 24px; box-shadow: 0 12px 30px rgba(142,27,43,.13); border-top: 8px solid var(--c, var(--azul)); position: relative; overflow: hidden; }
.tl-fecha { display: inline-block; font: 600 1em 'Barlow Condensed', sans-serif; background: var(--c, var(--azul)); color: #fff; border-radius: 16px; padding: 1px 14px; }
.tl-card h3 { margin: 8px 0 6px; font-size: 1.45em; color: var(--azul); line-height: 1.2; }
.tl-card p { margin: 0 0 10px; line-height: 1.65; font-size: .97em; }
.tl-mag { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.tl-mag b { font: 700 3.2em 'Oswald', sans-serif; line-height: 1; color: var(--c, var(--azul)); min-width: 2.3em; }
.tl-barra { flex: 1; height: 12px; background: var(--fondo2); border-radius: 8px; overflow: hidden; }
.tl-barra i { display: block; height: 100%; width: 0; background: var(--c, var(--azul)); border-radius: 8px; transition: width 1.4s cubic-bezier(.2,.9,.2,1) .3s; }
.tl-cambio { background: #FFF3C4; border-radius: 14px; padding: 10px 14px; font-size: .9em; line-height: 1.55; }
.tl-cambio strong { color: var(--azul); }
.tl-ondas { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; pointer-events: none; opacity: .25; }
.tl-ondas i { position: absolute; inset: 0; border: 3px solid var(--c, var(--azul)); border-radius: 50%; animation: tlOnda 3s ease-out infinite; }
.tl-ondas i:nth-child(2) { animation-delay: 1s; } .tl-ondas i:nth-child(3) { animation-delay: 2s; }
@keyframes tlOnda { from { transform: scale(.1); opacity: 1; } to { transform: scale(1); opacity: 0; } }

.cmp { margin-top: 20px; background: var(--azul); color: #fff; border-radius: 30px; padding: 30px 28px 32px; border-left: 12px solid var(--amarillo); }
.cmp h3 { margin: 0 0 6px; font-size: 1.8em; color: #fff; }
.cmp > p { margin: 0 0 18px; line-height: 1.65; max-width: 640px; }
.cmp-sel { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.cmp select { font: 500 1em 'Poppins', sans-serif; padding: 10px 14px; border-radius: 14px; border: 0; max-width: 100%; }
.cmp-vs { font: 700 1.2em 'Oswald', sans-serif; color: var(--amarillo); }
.cmp-viz { background: rgba(255,255,255,.1); border-radius: 22px; height: 250px; display: flex; align-items: center; justify-content: space-around; padding: 10px; overflow: hidden; }
.cmp-viz div { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE58A, #C96F5E); display: flex; align-items: center; justify-content: center; font: 700 1.5em 'Oswald', sans-serif; color: #4f111c; transition: width .6s, height .6s; box-shadow: 0 0 40px rgba(244,194,13,.5); flex-shrink: 0; }
.cmp-res { margin: 16px 0 0; font-size: 1.1em; line-height: 1.6; }
.cmp-res strong { color: var(--amarillo); font: 700 1.6em 'Oswald', sans-serif; }
.lin-fin { margin-top: 36px; text-align: center; }
.lin-fin h3 { color: var(--azul); font-size: 1.7em; margin: 0 0 8px; }
.lin-fin p { max-width: 560px; margin: 0 auto 16px; line-height: 1.7; }
.lin-btn { display: inline-block; text-decoration: none; font: 600 1em 'Poppins', sans-serif; background: var(--azul); color: #fff; border-radius: 30px; padding: 12px 26px; margin: 4px; transition: transform .2s, background .2s; }
.lin-btn:hover { transform: translateY(-3px); background: #C0392B; }
.lin-fuente { font-size: .82em; opacity: .7; margin-top: 30px; line-height: 1.6; }
@media (max-width: 760px) { .lin-hero { height: 400px; } .lin-hero .hero-title { font-size: 2.6em; }
  .tl-linea { left: 14px; } .tl-item, .tl-item.der { width: 100%; margin-left: 0; padding: 0 0 40px 44px; transform: translateY(30px); }
  .tl-punto, .tl-item.der .tl-punto { left: 1px; right: auto; } .lin-main { padding: 34px 14px 50px; } .cmp-viz { height: 210px; } }
@media (prefers-reduced-motion: reduce) { .tl-item { transition: none; opacity: 1; transform: none; } .tl-ondas i, .tl-item.ve .tl-punto { animation: none; } }
