/* Estilos de planeador.html — se carga DESPUÉS de styles.css */
.pl-hero { height: 440px; }
.pl-hero .hero-overlay { background: linear-gradient(100deg, rgba(79,17,28,.96) 0%, rgba(142,27,43,.78) 60%, rgba(30,132,73,.5) 100%); }
.pl-hero .hero-title { font-size: 4.6em; }
.pl-hero .hero-desc { max-width: 620px; }
.pl-main { max-width: 1180px; margin: 0 auto; padding: 50px 24px 70px; }
.pl-intro { max-width: 760px; line-height: 1.75; font-size: 1.08em; margin: 0 0 24px; }
.pl-grid { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.pl-mapa { background: var(--fondo2); border-radius: 26px; padding: 8px; }
.pl-mapa svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.pl-lado { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.pl-caja { background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: 0 8px 22px rgba(142,27,43,.1); }
.pl-caja h3 { margin: 0 0 8px; font-size: 1.05em; color: var(--azul); }
.pl-caja p { margin: 0 0 8px; line-height: 1.55; font-size: .92em; }
.pl-caja select { width: 100%; font: 500 1em 'Poppins', sans-serif; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--fondo2); }
.pl-dato { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--turquesa); padding: 6px 0; font-size: .92em; }
.pl-dato b { font: 700 1.5em 'Oswald', sans-serif; color: var(--azul); }
.pl-aviso { background: #FFF3C4; border-radius: 16px; padding: 12px 14px; font-size: .9em; line-height: 1.55; }
.pl-aviso.mal { background: #F6D5D0; }
.pl-aviso.bien { background: #D5EAD9; }
.pl-btn { font: 600 .95em 'Poppins', sans-serif; cursor: pointer; border: 2px solid var(--azul); background: #fff; color: var(--azul); border-radius: 30px; padding: 9px 20px; width: 100%; transition: background .2s, color .2s; }
.pl-btn:hover { background: var(--azul); color: #fff; }
.pl-edif rect { fill: #E9C9B8; stroke: #8E1B2B; stroke-width: 3; }
.pl-edif text { font: 700 26px 'Oswald', sans-serif; fill: #8E1B2B; text-anchor: middle; pointer-events: none; }
.pl-pasillo { stroke: #EBCBB6; stroke-width: 18; stroke-linecap: round; fill: none; }
.pl-hit { stroke: transparent; stroke-width: 28; stroke-linecap: round; cursor: pointer; fill: none; }
.pl-hit:hover + .pl-pasillo-h, .pl-hit:focus { stroke: rgba(192,57,43,.35); }
.pl-bloq { stroke: #C0392B; stroke-width: 6; stroke-dasharray: 3 9; stroke-linecap: round; fill: none; pointer-events: none; }
.pl-x { fill: #C0392B; font: 700 26px 'Poppins', sans-serif; text-anchor: middle; pointer-events: none; }
.pl-ruta { fill: none; stroke: #1E8449; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16 14; animation: plFluye .8s linear infinite; filter: drop-shadow(0 0 6px rgba(30,132,73,.8)); }
@keyframes plFluye { to { stroke-dashoffset: -30; } }
.pl-persona { fill: #fff; stroke: #1E8449; stroke-width: 6; }
.pl-orig { cursor: pointer; outline: none; }
.pl-orig circle { fill: #8E1B2B; stroke: #fff; stroke-width: 3; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.pl-orig text { font: 700 13px 'Poppins', sans-serif; fill: #fff; text-anchor: middle; pointer-events: none; }
.pl-orig:hover circle, .pl-orig:focus-visible circle, .pl-orig.sel circle { transform: scale(1.35); fill: #1E8449; }
.pl-meta circle { fill: #1E8449; stroke: #fff; stroke-width: 4; }
.pl-meta text { font: 700 15px 'Poppins', sans-serif; fill: #1E8449; text-anchor: middle; pointer-events: none; }
@media (max-width: 920px) { .pl-grid { grid-template-columns: 1fr; } .pl-lado { position: static; } }
@media (max-width: 768px) { .pl-hero { height: 400px; } .pl-hero .hero-title { font-size: 2.6em; } .pl-main { padding: 36px 14px 50px; } }
@media (prefers-reduced-motion: reduce) { .pl-ruta { animation: none; } }
