:root{color-scheme:dark;--bg:#07111d;--panel:#101e2c;--ink:#eef4f8;--muted:#aabac9;--line:#283a4b;--accent:#91c9f1}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.65}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{width:min(1200px,calc(100% - 48px));margin:auto}
/* Cabecera */
.topbar{min-height:80px;padding:12px clamp(20px,4vw,70px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#07111df5;border-bottom:1px solid #223449;position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;line-height:1.25}
.brand img{height:48px;width:48px;object-fit:contain}
.brand strong{font-size:15px;letter-spacing:.12em}
.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.15em;margin-top:6px}
/* Respeta la cabecera ampliada que aparece en el index.html */
.topbar .brand{display:flex;align-items:center;gap:14px;min-width:0}
.topbar .brand span{display:flex;flex-direction:column;min-width:0}
.topbar .brand strong{display:block;font-size:25px;font-weight:800;line-height:1.15;letter-spacing:.4px}
.topbar .brand small{display:block;font-size:15px;line-height:1.4;margin-top:5px;font-weight:500}
.topbar nav{display:flex;flex-wrap:wrap;gap:clamp(10px,1.3vw,22px)}
nav a{text-decoration:none;font-size:13px;color:#c8d4de;white-space:nowrap}
nav a:hover,.text-link:hover{color:white}
.menu-toggle{display:none;background:none;color:white;border:1px solid var(--line);border-radius:8px;padding:9px 13px;cursor:pointer}
/* Portada */
.hero{position:relative;min-height:min(680px,76vh);display:flex;align-items:flex-end;isolation:isolate;background:#172230}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,10,18,.9),rgba(3,10,18,.45) 56%,rgba(3,10,18,.08)),linear-gradient(0deg,rgba(3,10,18,.9),transparent 75%)}
.hero-copy{padding:70px clamp(24px,8vw,125px) 80px;max-width:940px}
.eyebrow{display:block;color:var(--accent);font-size:11px;letter-spacing:.2em;font-weight:750;text-transform:uppercase}
.hero h1{font-size:clamp(35px,5vw,72px);line-height:1.13;letter-spacing:-.045em;margin:20px 0}
.hero h1 em{font-style:normal;color:#d6e8f5}
.hero p{max-width:600px;color:#e2eaf0;font-size:clamp(15px,1.5vw,19px)}
.btn{display:inline-block;margin-top:18px;background:#e7f2f9;color:#0b2030;text-decoration:none;padding:13px 21px;border-radius:5px;font-weight:700;font-size:13px}
.photo-credit{text-align:right;color:#b2bfcb;background:#0c1722;padding:12px 5%;font-size:11px}
/* Presentacion */
.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:95px 0}
.intro h2,.section h2,.section-head h2,.heritage h2{font-size:clamp(30px,3.3vw,48px);line-height:1.2;letter-spacing:-.035em;margin:14px 0}
.intro p,.feature p,.section-lead,.heritage p{color:var(--muted);font-size:16px}
/* Instrumento HARIS */
.feature{display:grid;grid-template-columns:1.12fr 1fr;background:var(--panel);border:1px solid var(--line);overflow:hidden;border-radius:10px}
.feature-image{display:flex;align-items:center;justify-content:center;padding:18px;min-width:0}
.feature .feature-image>img{display:block;width:70%;max-width:70%;height:auto;min-height:0;max-height:none;object-fit:contain;border-radius:8px}
.feature-copy{padding:clamp(28px,5vw,65px)}
.feature-copy h2{font-size:clamp(52px,7vw,96px);letter-spacing:.08em;line-height:1;margin:18px 0}
.feature-copy h3{font-size:22px;line-height:1.3;font-weight:500}
.specs{display:flex;gap:35px;margin:28px 0;border-top:1px solid var(--line);padding-top:20px}
.specs span{font-size:35px;font-weight:650}
.specs small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.text-link{color:var(--accent);font-size:14px;text-decoration:none;font-weight:650}
/* Monitorizacion AllSky */
.live-section{margin-top:90px;padding:80px 0;background:#0c1927}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:28px}
.section-head p{max-width:350px;color:var(--muted);font-size:13px}
.live-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:24px}
.image-frame,.live-secondary article{border:1px solid var(--line);background:#06101b;border-radius:8px;overflow:hidden}
.image-frame img{width:100%;min-height:270px;max-height:540px;object-fit:contain}
.live-main>p{font-size:12px;color:var(--muted)}
.live-secondary{display:grid;gap:20px}
.live-secondary article{padding:16px}
.live-secondary h3{font-size:14px;margin:0 0 12px}
.live-secondary img{width:100%;height:160px;object-fit:contain}
/* Secciones y pie */
.section{padding-top:100px;padding-bottom:100px}
.section-lead{max-width:800px}
.placeholder{border:1px dashed #42607a;padding:20px;margin-top:30px;color:#b7c9d6;border-radius:8px;font-size:14px}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#c8a66b;margin-right:8px}
.heritage{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;border-top:1px solid var(--line)}
.heritage img{width:100%;border-radius:8px}
.muted{font-size:13px!important}
footer{background:#040b13;border-top:1px solid var(--line);padding:40px 0 18px}
.footer-inner{display:flex;justify-content:space-between;gap:25px}
.footer-inner strong{letter-spacing:.12em}
.footer-inner p,.footer-note{color:var(--muted);font-size:12px}
.footer-inner>div:last-child{display:flex;gap:22px;flex-wrap:wrap}
.footer-inner a{font-size:12px;text-decoration:none;color:#cbd8e3}
.footer-note{text-align:center;margin-top:45px}
@media(max-width:1050px){.topbar{flex-wrap:wrap}.topbar nav{width:100%;justify-content:center}}
@media(max-width:720px){
.wrap{width:min(100% - 32px,1200px)}
.topbar{min-height:65px;flex-wrap:nowrap}
.brand img{height:40px;width:40px}
.menu-toggle{display:block}
.topbar nav{display:none;position:absolute;top:100%;left:0;right:0;background:#081523;padding:18px 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch}
.topbar nav.open{display:flex}
.topbar nav a{padding:8px 0}
.hero{min-height:580px}
.hero>img{object-position:center}
.hero:after{background:linear-gradient(0deg,#07111df5,#07111d85 55%,#07111d20)}
.hero-copy{padding:55px 24px}
.intro,.feature,.live-grid,.heritage{grid-template-columns:1fr}
.intro{gap:8px;padding:65px 0}
.feature-image{padding:18px}
.feature .feature-image>img{width:85%;max-width:85%;height:auto;min-height:0;max-height:320px;object-fit:contain}
.feature-copy{padding:28px}
.live-section{margin-top:65px;padding:55px 0}
.section-head{display:block}
.section{padding-top:65px;padding-bottom:65px}
.footer-inner{display:block}
.footer-inner>div:last-child{margin-top:20px}
}
@media(max-width:600px){
.topbar .brand{gap:9px}
.topbar .brand strong{font-size:19px;letter-spacing:0}
.topbar .brand small{font-size:12px;line-height:1.3;margin-top:3px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
