/* v12 shared layer: one header for every public page and a quieter WhatsApp button. */
.ax-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid #d7e2ec;color:#102a43;font-family:"Nunito Sans",Arial,sans-serif}
.ax-header .ax-nav{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:84px}
.ax-header .ax-brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:900;letter-spacing:.01em;line-height:1;color:#102a43;text-decoration:none;border:0}
.ax-header .ax-brand img{display:block;width:46px;height:46px;object-fit:contain;filter:none}
.ax-header .ax-links{display:flex;align-items:center;gap:30px;font-size:13.5px;font-weight:700}
.ax-header .ax-links a{color:#102a43;text-decoration:none;padding:10px 0;border:0;transition:color .2s}
.ax-header .ax-links a:hover,.ax-header .ax-links a[aria-current=page]{color:#1459b5}
.ax-header .ax-links a.ax-cta{display:inline-flex;align-items:center;gap:14px;min-height:48px;padding:0 24px;border-radius:99px;background:#1459b5;color:#fff;transition:background .2s}
.ax-header .ax-links a.ax-cta:hover{background:#10458e;color:#fff}
.ax-header .ax-links a.ax-cta span{font-size:20px;line-height:1}
.ax-header .ax-links a:focus-visible,.ax-header .ax-brand:focus-visible,.ax-header .ax-toggle:focus-visible{outline:2px solid #1459b5;outline-offset:4px}
.ax-header .ax-toggle{display:none;align-items:center;gap:16px;min-height:44px;padding:8px 14px;background:#fff;border:1px solid #b6c9dd;color:#102a43;font:700 13px "Nunito Sans",Arial,sans-serif;cursor:pointer}
.ax-header .ax-toggle span{font-size:21px;line-height:1;color:#1459b5;transition:transform .2s}
.ax-header .ax-toggle[aria-expanded=true] span{transform:rotate(45deg)}
@media(max-width:900px){
  .ax-header .ax-nav{min-height:68px}
  .ax-header .ax-brand{font-size:20px;gap:10px}
  .ax-header .ax-brand img{width:40px;height:40px}
  .ax-header .ax-toggle{display:inline-flex}
  .ax-header .ax-links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:6px 22px 22px;background:#fff;border-bottom:1px solid #d7e2ec;box-shadow:0 18px 30px #0616281f}
  .ax-header .ax-links.is-open{display:flex}
  .ax-header .ax-links a{padding:15px 0;border-bottom:1px solid #e3ebf3;font-size:16px}
  .ax-header .ax-links a.ax-cta{justify-content:center;margin-top:18px;border-bottom:0;min-height:52px}
}
@media(max-width:350px){.ax-header .ax-brand{font-size:18px}.ax-header .ax-brand img{width:36px;height:36px}}
body .whatsapp-float.astratech-whatsapp-trigger{transition:opacity .25s,transform .25s,background .2s}
body .whatsapp-float.astratech-whatsapp-trigger.is-tucked{opacity:0;pointer-events:none;transform:translateY(14px)}
@media(max-width:600px){
  body .whatsapp-float.astratech-whatsapp-trigger{width:50px;min-height:50px;padding:12px}
  body .whatsapp-float.astratech-whatsapp-trigger svg{width:25px;height:25px}
}
@media(prefers-reduced-motion:reduce){body .whatsapp-float.astratech-whatsapp-trigger,.ax-header .ax-toggle span{transition:none}}
/* Resources hub: compact cards instead of the full-width service rows. */
body.impacto-interior .ax-resources{padding-block:8px 44px}
body.impacto-interior .ax-resources .seo-service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:26px}
body.impacto-interior .ax-resources .seo-service-list article{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:18px;padding:0 0 26px;border-top:0;border-bottom:1px solid #c8d8e6}
body.impacto-interior .ax-resources .seo-service-list article::before{display:none}
body.impacto-interior .ax-resources .seo-service-list img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.impacto-interior .ax-resources .seo-service-list h3{font-size:23px;line-height:1.25;margin-bottom:10px}
body.impacto-interior .ax-resources .seo-service-list p{font-size:14.5px;line-height:1.6;max-width:none}
body.impacto-interior .ax-resources .seo-service-list .text-link{margin-top:14px}
@media(max-width:1000px){body.impacto-interior .ax-resources .seo-service-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.impacto-interior .ax-resources .seo-service-list{grid-template-columns:1fr;gap:26px}body.impacto-interior .ax-resources .seo-service-list h3{font-size:21px}}

/* v13: the footer closes in space on every page, with the tagline and a rising Sun. */
.ascent-tagline{margin:0 0 54px;padding-bottom:46px;border-bottom:1px solid #ffffff26;font-family:"Merriweather",Georgia,serif;font-weight:700;font-size:clamp(34px,5.4vw,84px);line-height:1.06;letter-spacing:-.04em;color:#fff}
.ascent-tagline span{display:block;color:#a9d9f9}
.site-footer{position:relative}
.site-footer>.wrap{position:relative;z-index:1}
body.impacto-interior .site-footer{overflow:hidden;background-color:#02060d;background-image:radial-gradient(1px 1px at 12% 18%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 27% 64%,#cfe3ff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 43% 32%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 58% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 71% 22%,#bcd7ff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 84% 58%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 93% 12%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 6% 86%,#d9e8ff 50%,transparent 51%),radial-gradient(1px 1px at 36% 92%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 66% 46%,#fff 50%,transparent 51%);background-size:560px 460px;border-top:1px solid #ffffff26;padding-top:64px}
body.impacto-interior .footer-brand p{display:none}
/* v13: call-to-action bar on phones. */
.cta-bar{display:none}
@media(max-width:600px){
  .ascent-tagline{margin-bottom:36px;padding-bottom:32px}
  .cta-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:24;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#ffffffee;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid #d7e2ec;transform:translateY(110%);transition:transform .3s cubic-bezier(.23,1,.32,1)}
  .cta-bar.is-on{transform:none}
  .cta-bar a{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:99px;background:#1459b5;color:#fff;font:800 14.5px "Nunito Sans",Arial,sans-serif;text-decoration:none}
  .cta-bar a span{font-size:19px;line-height:1}
  body.has-cta-bar .whatsapp-float.astratech-whatsapp-trigger{bottom:calc(80px + env(safe-area-inset-bottom))}
  body.has-cta-bar [aria-label="Aviso de medición"]{bottom:88px!important}
}
@media(prefers-reduced-motion:reduce){.cta-bar{transition:none}.sun-foot{transform:none}}

/* v15: the Sun rises horizontally at the end of every page, centred and large. */
.site-footer{--arc:clamp(120px,17vw,240px)}
body.impacto-space .site-footer{--arc:clamp(170px,19vw,280px)}
.sun-foot{position:absolute;z-index:0;left:50%;top:calc(100% - var(--arc));width:min(170vw,2600px);aspect-ratio:1;border-radius:50%;
  background:#e8590c url(/assets/estrellas-v13/sol-nasa-sdo.webp) 50% 51%/126% auto no-repeat;pointer-events:none;
  box-shadow:0 0 70px 18px #ff7a1a8c,0 0 220px 90px #ff6a0040,0 0 420px 180px #ff8a1a1f;
  transform:translate(-50%,calc((1 - var(--sun-p,1)) * var(--arc) * .9))}
body.impacto-interior .site-footer{padding-bottom:calc(var(--arc) + 24px)}
body.impacto-space .site-footer .footer-wordmark{position:relative;z-index:1;margin-top:clamp(110px,8vw,160px);text-shadow:0 4px 40px #000c,0 1px 3px #0009}
body.impacto-space .site-footer .footer-bottom,body.impacto-space .site-footer .media-credit{position:relative;z-index:1;text-shadow:0 0 4px #000,0 0 10px #000,0 0 18px #000c}
@media(max-width:600px){.site-footer{--arc:110px}body.impacto-space .site-footer{--arc:125px}body.impacto-space .site-footer .footer-wordmark{margin-top:96px}.sun-foot{width:270vw}}
/* v16: the live Sun (WebGL) takes over from the static image once it is drawing. */
.sun-canvas{position:absolute;left:0;width:100%;z-index:0;pointer-events:none;display:block}
.site-footer.sun-live .sun-foot{opacity:0;box-shadow:none;animation:none}
@keyframes sun-breathe{0%,100%{box-shadow:0 0 70px 18px #ff7a1a8c,0 0 220px 90px #ff6a0040,0 0 420px 180px #ff8a1a1f}50%{box-shadow:0 0 95px 28px #ffa04ab3,0 0 280px 120px #ff6a0059,0 0 520px 220px #ff8a1a2e}}
@media(prefers-reduced-motion:no-preference){.sun-foot{animation:sun-breathe 6s ease-in-out infinite}}
html[data-motion=reduced] .sun-foot{animation:none}

/* v18: the measurement notice is a slim bar, so it no longer covers the first screen. */
[aria-label="Aviso de medición"]{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;max-width:600px!important;padding:11px 14px 11px 18px!important;font-size:12.5px!important;line-height:1.45!important}
[aria-label="Aviso de medición"]>p{flex:1 1 300px;margin:0!important}
@media(max-width:600px){[aria-label="Aviso de medición"]{left:8px!important;right:8px;padding:10px 12px!important;font-size:12px!important}[aria-label="Aviso de medición"]>p{flex-basis:100%}}

/* v18: interior pages open under the same sky as the home. */
.sky-strip{position:relative;overflow:hidden;background-color:#050b18;background-image:radial-gradient(1px 1px at 12% 28%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 27% 64%,#cfe3ff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 43% 32%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 58% 78%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 71% 22%,#bcd7ff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 84% 58%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 93% 22%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 6% 76%,#d9e8ff 50%,transparent 51%),linear-gradient(90deg,#050b18,#142a55 70%,#2b4a80);background-size:420px 58px,420px 58px,420px 58px,420px 58px,420px 58px,420px 58px,420px 58px,420px 58px,100% 100%;color:#fff;font-family:"Nunito Sans",Arial,sans-serif}
.sky-strip .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:58px}
.sky-strip p{margin:0;font-family:"Merriweather",Georgia,serif;font-weight:700;font-size:16px;letter-spacing:-.02em;line-height:1.2;color:#fff}
.sky-strip p span{color:#a9d9f9}
.sky-strip small{padding-right:64px;font-size:9.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#cfe0f1}
/* The Chakana (Southern Cross), drawn with five stars. */
.sky-strip i{position:absolute;right:14px;top:50%;width:3px;height:3px;border-radius:50%;background:#ffd9b0;transform:translate(0,-19px);box-shadow:2px 36px 0 .5px #dbe9ff,-12px 22px 0 .3px #dbe9ff,10px 14px 0 0 #eaf2ff,6px 25px 0 -.6px #fff,0 0 6px 1px #ffd9b099,2px 36px 7px 1px #dbe9ff88,-12px 22px 6px 1px #dbe9ff77}
@media(max-width:760px){.sky-strip .wrap{min-height:46px}.sky-strip p{font-size:14px}.sky-strip small{display:none}}
