/* MotionSites design layer — 2026-11-05
   Solo look: hero, motion, tipografía. No cambia copy, menú, chat ni aranceles.
   Video cover. Logo 25 % izquierda. Copy no baja. Noticias en su sitio. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

:root{
  --ms-ease:cubic-bezier(.16,1,.3,1);
  --ms-ease-ui:cubic-bezier(.4,0,.2,1);
  --ms-ink:#f7f4ec;
  --ms-muted:rgba(247,244,236,.72);
  --ms-edge:#051630;
}

/* ---------- Hero: el video se ve, el copy se lee ---------- */
.hero{
  background:var(--ms-edge)!important;
  isolation:isolate;
}
.hero::before{
  z-index:-1!important;
  background:
    linear-gradient(90deg,
      rgba(5,22,48,.78) 0%,
      rgba(5,22,48,.46) 34%,
      rgba(5,22,48,.16) 58%,
      rgba(5,22,48,.04) 78%,
      rgba(5,22,48,0) 100%),
    linear-gradient(180deg,
      rgba(5,22,48,.58) 0%,
      rgba(5,22,48,.10) 22%,
      rgba(5,22,48,.08) 55%,
      rgba(5,22,48,.42) 82%,
      rgba(5,22,48,.88) 100%)!important;
}
.hero::after{
  z-index:1;
  opacity:.11;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")!important;
  background-size:180px 180px;
  mask-image:none!important;
  -webkit-mask-image:none!important;
  pointer-events:none;
}

.hero.ms-ready .hero-bg,
video.hero-video.is-playing{
  transition:opacity .55s linear;
}
@media (max-width:699px){
  .hero::before{
    background:
      linear-gradient(180deg,
        rgba(5,22,48,.72) 0%,
        rgba(5,22,48,.38) 28%,
        rgba(5,22,48,.22) 52%,
        rgba(5,22,48,.55) 78%,
        rgba(5,22,48,.9) 100%),
      linear-gradient(90deg,
        rgba(5,22,48,.62) 0%,
        rgba(5,22,48,.28) 55%,
        rgba(5,22,48,.08) 100%)!important;
  }
}

/* Copy debajo de noticias — no se baja al pie del hero.
   En móvil align-items:center metía «Más de 25 años» bajo la marquesina. */
.hero-copy{
  position:relative;
  z-index:2;
}
.hero{
  align-items:flex-start!important;
  padding-top:calc(var(--alnt, var(--header-h)) + 78px)!important;
}
@media (max-width:768px){
  .hero{
    padding-top:calc(var(--alnt, var(--header-h)) + 72px)!important;
  }
}
.hero-copy::before{
  content:"AL";
  position:absolute;
  left:-.28em;
  top:-6%;
  font-family:var(--ff-head);
  font-weight:800;
  font-size:clamp(7rem,24vw,16rem);
  line-height:.75;
  letter-spacing:-.08em;
  color:#fff;
  opacity:.038;
  pointer-events:none;
  z-index:-1;
  white-space:nowrap;
}

/* Tipografía cinematográfica; tracking abierto (Roger). Sin max-width ch: no partir el título. */
.hero h1{
  font-size:clamp(1.95rem,6.6vw,3.5rem)!important;
  font-weight:800;
  line-height:1.08!important;
  letter-spacing:.14em!important;
  text-shadow:0 16px 38px rgba(0,0,0,.32),0 2px 18px rgba(0,0,0,.42);
}
.hero h1 .ms-w{
  display:inline-block;
  animation:msBlurRise 1.05s var(--ms-ease) both;
  animation-delay:calc(.12s + var(--i,0) * .08s);
}
.hero h1 .text-gold,
.hero h1 .ms-em{
  font-family:"Instrument Serif",Georgia,serif!important;
  font-style:italic;
  font-weight:400;
  letter-spacing:.04em!important;
  word-spacing:0;
  background:none!important;
  -webkit-background-clip:unset!important;
  background-clip:unset!important;
  color:#f2d27e!important;
  text-shadow:0 10px 28px rgba(0,0,0,.35);
}
.hero .lead{
  color:var(--ms-muted)!important;
  max-width:34rem;
  text-shadow:0 2px 18px rgba(0,0,0,.42);
  font-weight:400;
}
.hero .slogan{
  letter-spacing:.18em!important;
  opacity:.92;
}
.hero .eyebrow{
  background:rgba(255,255,255,.03);
  background-blend-mode:luminosity;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.12);
  border-color:transparent;
  position:relative;
  overflow:visible;
  max-width:100%;
  white-space:normal;
  line-height:1.45;
  box-sizing:border-box;
}
.hero .eyebrow::before{
  content:"";
  position:absolute;inset:0;border-radius:inherit;padding:1.4px;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.45) 0%,rgba(255,255,255,.15) 20%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 60%,rgba(255,255,255,.15) 80%,rgba(255,255,255,.45) 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
}

@keyframes msBlurRise{
  from{opacity:0;transform:translateY(22px);filter:blur(10px)}
  to{opacity:1;transform:none;filter:blur(0)}
}
@keyframes msFadeRise{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:none}
}
@keyframes msFadeDown{
  from{opacity:0;transform:translateY(-14px)}
  to{opacity:1;transform:none}
}

.hero-copy.hero-hook-live #hero-title{animation:none}
.hero-copy.hero-hook-live #hero-title .text-gold,
.hero-copy.hero-hook-live #hero-title .ms-em{animation:msBlurRise 1.15s .62s var(--ms-ease) both}
.hero-copy.hero-hook-live .lead{animation:msFadeRise 1s .78s var(--ms-ease) both}
.hero-copy.hero-hook-live .hero-ctas{animation:msFadeRise .9s .92s var(--ms-ease) both}
.hero-copy.hero-hook-live .hero-modes{animation:msFadeRise .9s 1.05s var(--ms-ease) both}
.hero .eyebrow{animation:msFadeRise .8s .08s var(--ms-ease) both}
.hero .slogan{animation:msFadeRise .85s .48s var(--ms-ease) both}
.hero .adu-strip{animation:msFadeRise .9s .7s var(--ms-ease) both}

/* Header: lockup 6FB1FEB6 completo (globo + AL + SERVICES LOGISTICS),
   ≤25 % izquierda. No tocar --header-h (el copy del hero depende de él). */
html body .site-header{
  overflow:hidden!important;
}
html body .header-main{
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
}
@media (min-width:960px){
  html body .header-main,
  html body .site-header.scrolled .header-main{
    height:108px!important;
  }
}
html body .site-header .brand{
  max-width:25%!important;
  width:auto!important;
  flex:0 0 auto!important;
  margin-left:0!important;
  margin-right:auto!important;
  overflow:hidden!important;
  align-self:center!important;
  isolation:isolate;
}
html body .site-header .brand img.brand-logo{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:calc(var(--header-h) - 12px)!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:none!important;
  padding:0!important;
  box-shadow:none!important;
  mix-blend-mode:normal!important;
  clip-path:none!important;
  transform:none!important;
  top:auto!important;
  left:auto!important;
  position:relative!important;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.4));
}
@media (min-width:960px){
  html body .site-header .brand img.brand-logo,
  html body .site-header.scrolled .brand img.brand-logo{
    max-height:96px!important;
  }
}
.site-header.scrolled,
.menu-open .site-header{
  background:rgba(8,21,47,.94)!important;
  backdrop-filter:saturate(140%) blur(12px)!important;
  -webkit-backdrop-filter:saturate(140%) blur(12px)!important;
  box-shadow:0 8px 30px -12px rgba(0,0,0,.45)!important;
}
/* Lockup fijo: no subir el topbar al hacer sticky (el logo saltaba 36 px). */
@media (min-width:960px){
  html body .site-header.scrolled .topbar{
    margin-top:0!important;
  }
}
.nav a{
  font-size:.84rem;
  letter-spacing:.04em;
  text-shadow:0 2px 16px rgba(0,0,0,.2);
}
.track-link{
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.1);
  border-color:transparent;
}
.btn-ghost{
  background:rgba(5,22,48,.48)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
}
.btn-ghost:hover{transform:translateY(-2px) scale(1.03)}
.btn-gold{transition:transform .25s var(--ms-ease),box-shadow .25s var(--ms-ease),filter .2s}
.btn-gold:hover{transform:translateY(-2px) scale(1.03)}
.btn:active{transform:scale(.97)!important}

/* Noticias: pegada al header (como al-noticias.js --alnt). Sin hueco. */
html body #al-news.fx{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:var(--alnt, var(--header-h))!important;
  z-index:99!important;
  transform:none;
  opacity:1;
}

/* Franja: misma superposición que el vivo, para no comer las viñetas del hero */
.value-strip{
  margin-top:-34px!important;
  position:relative;
  z-index:4;
}
.value-card{
  border-radius:28px!important;
  box-shadow:0 24px 60px -24px rgba(5,22,48,.45)!important;
  border:1px solid rgba(255,255,255,.55);
}

/* Secciones: un ritmo más editorial */
.section{padding:96px 0}
.section-head h2,.h2{
  letter-spacing:-.03em;
  line-height:1.08;
}
.kicker{letter-spacing:.22em}
.svc{
  transition:transform .45s var(--ms-ease),box-shadow .45s var(--ms-ease);
}
.svc:hover{transform:translateY(-4px)}
.svc-media img{transition:transform .7s var(--ms-ease)}
.svc:hover .svc-media img{transform:scale(1.05)}

/* Widget: no se toca el contenido; solo un borde más fino */
.qw{
  box-shadow:0 30px 70px -28px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.18)!important;
}

/* ---------- Resto de la portada (mismas reglas, sin cambiar copy) ---------- */
.section-head h2 .text-gold,
.h2 .text-gold,
#aduana-title .text-gold,
#ops-title .text-gold,
#cta-title{
  font-family:"Instrument Serif",Georgia,serif;
}
.section-head h2 .text-gold,
#aduana-title .text-gold,
#ops-title .text-gold{
  font-style:italic;
  font-weight:400;
  letter-spacing:.02em;
  background:none!important;
  -webkit-background-clip:unset!important;
  background-clip:unset!important;
  color:#c9922e!important;
}
.dark .section-head h2 .text-gold,
.dark #aduana-title .text-gold{
  color:#f2d27e!important;
}
.section-head h2,.h2{
  font-size:clamp(1.75rem,4.6vw,2.75rem);
}
.svc,.doc-card,.faq-item,.form-card,.op-tile,.ind-card{
  border-radius:24px!important;
}
.scope li{
  background:rgba(255,255,255,.03)!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  border-color:transparent!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.1);
}
@media (min-width:700px){
  .section.dark{
    border-radius:40px 40px 0 0;
    margin-top:-28px;
    z-index:2;
  }
}
.cta-photo::before{
  background:
    linear-gradient(90deg,rgba(5,22,48,.7) 0%,rgba(5,22,48,.38) 42%,rgba(5,22,48,.22) 100%),
    linear-gradient(180deg,rgba(5,22,48,.62) 0%,rgba(5,22,48,.32) 40%,rgba(5,22,48,.7) 100%)!important;
}
.cta-photo h2{
  font-family:"Instrument Serif",Georgia,serif;
  font-style:italic;
  font-weight:600;
  letter-spacing:.02em;
  color:#fff!important;
  -webkit-text-stroke:.35px rgba(255,255,255,.35);
  text-shadow:
    0 1px 0 rgba(0,0,0,.85),
    0 2px 12px rgba(0,0,0,.9),
    0 12px 36px rgba(0,0,0,.65);
}
.cta-photo p{
  color:#fff!important;
  font-weight:600;
  text-shadow:
    0 1px 0 rgba(0,0,0,.8),
    0 3px 14px rgba(0,0,0,.92);
}
.cta-photo .kicker{
  color:#ffe7a8!important;
  font-weight:700;
  text-shadow:0 1px 0 rgba(0,0,0,.7),0 2px 12px rgba(0,0,0,.8);
}
.faq-item{
  box-shadow:0 8px 28px -18px rgba(5,22,48,.28)!important;
}
.form-card{
  box-shadow:0 24px 60px -28px rgba(5,22,48,.35)!important;
}
.tl{
  transition:transform .45s var(--ms-ease);
}
.tl:hover{transform:translateY(-3px)}
.op-tile img{transition:transform .7s var(--ms-ease)}
.op-tile:hover img{transform:scale(1.05)}
.site-footer{
  isolation:isolate;
}
.site-footer::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-color:#08152f;
  background-image:none;
  filter:none;
  opacity:1;
  mix-blend-mode:normal;
}

/* Videos: cover PC / contain móvil, sin distorsión, mismos mp4.
   El vivo (ADU-66) partía el camión: translate(-50%) + inset:0 y el poster
   del barco quedaba a la derecha. En móvil contain + poster = recuadro suelto.
   Letterbox de contain = navy, no la foto de contenedores. Pie: contain siempre
   (lockup completo). */
.hero.video-background-container{
  position:relative;
  overflow:hidden;
  background-color:#090a0f;
}
.cta-photo.video-background-container{
  position:relative;
  overflow:hidden;
  background-color:#08152f!important;
}
/* Pie: letterbox = navy del mp4 (#08152f barras de footer-bg-m, esquinas de footer-bg),
   no gris/blanco. Overlay solo en el centro para leer, lados del color del video. */
.site-footer.video-background-container{
  position:relative;
  overflow:hidden;
  background-color:#08152f!important;
}
.site-footer.video-background-container::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,
      rgba(4,14,32,.72) 0%,
      rgba(4,14,32,.64) 42%,
      rgba(4,14,32,.82) 100%)!important;
}
.site-footer.video-background-container > .container{
  position:relative;
  z-index:3;
}
/* Letras del pie: contraste y sombra sobre el video fusionado. */
html body .site-footer.video-background-container video.footer-bg-video{
  filter:brightness(.48) saturate(1.08)!important;
}
html body .site-footer,
html body .site-footer .footer-brand p,
html body .site-footer .footer-contact li,
html body .site-footer .footer-contact span,
html body .site-footer .footer-bottom,
html body .site-footer .footer-credit .fc-label,
html body .site-footer .staff-access p,
html body .site-footer .sa-note{
  color:#fff!important;
}
html body .site-footer h2.fh,
html body .site-footer h4,
html body .site-footer .sa-txt h3,
html body .site-footer .footer-brand strong{
  color:#fff!important;
  text-shadow:
    0 1px 2px rgba(0,0,0,.95),
    0 2px 14px rgba(4,14,32,.95),
    0 0 22px rgba(4,14,32,.75)!important;
}
html body .site-footer .footer-links a,
html body .site-footer .footer-legal a,
html body .site-footer .footer-contact a,
html body .site-footer .footer-bottom,
html body .site-footer .footer-brand p,
html body .site-footer .staff-access p,
html body .site-footer .sa-eyebrow,
html body .site-footer .footer-credit .fc-label,
html body .site-footer .footer-credit .fc-brand,
html body .site-footer .footer-credit .fc-brand span{
  color:#fff!important;
  text-shadow:
    0 1px 1px rgba(0,0,0,.95),
    0 2px 10px rgba(4,14,32,.92),
    0 0 18px rgba(4,14,32,.7)!important;
}
html body .site-footer .slogan-f{
  color:#f0d48a!important;
  text-shadow:
    0 1px 2px rgba(0,0,0,.95),
    0 2px 12px rgba(4,14,32,.9)!important;
}
html body .site-footer .footer-links a:hover,
html body .site-footer .footer-legal a:hover{
  color:#f0d48a!important;
}
.hero.ms-ready .hero-bg,
.hero:has(video.hero-video.is-playing) .hero-bg{
  opacity:0!important;
  pointer-events:none;
}
html body .hero.video-background-container video.hero-video,
html body .cta-photo.video-background-container video.cta-video,
html body .site-footer.video-background-container video.footer-bg-video{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  background:#090a0f;
  filter:none!important;
  image-rendering:auto;
}
html body .hero.video-background-container video.hero-video{
  z-index:-2;
}
html body .cta-photo.video-background-container video.cta-video{
  z-index:0;
}
html body .site-footer.video-background-container video.footer-bg-video{
  z-index:1;
}
html body .hero.video-background-container video.hero-video.hook-clean{
  object-position:70% 50%!important;
}
html body .site-footer,
html body .site-footer.video-background-container,
html body .site-footer.video-background-container video.footer-bg-video,
html body video.footer-bg-video{
  background:#08152f!important;
  background-color:#08152f!important;
}
html body .site-footer.video-background-container video.footer-bg-video{
  object-fit:contain!important;
  object-position:center center!important;
  background:#08152f!important;
  background-color:#08152f!important;
  filter:brightness(.48) saturate(1.08)!important;
}
@media (max-width:768px){
  html body .hero.video-background-container video.hero-video,
  html body .hero.video-background-container video.hero-video.hook-clean{
    object-fit:cover!important;
    object-position:center center!important;
  }
  html body .site-footer.video-background-container video.footer-bg-video,
  html body video.footer-bg-video{
    object-fit:cover!important;
    object-position:center center!important;
  }
  html body .cta-photo.video-background-container{
    background-color:#08152f!important;
  }
  html body .cta-photo.video-background-container video.cta-video{
    object-fit:cover!important;
    object-position:center 40%!important;
    background:#08152f!important;
  }
  html body #al-news .vp{
    min-width:0!important;
    flex:1 1 0!important;
    overflow:hidden!important;
  }
  html body #al-news .lbl{
    position:relative;
    z-index:2;
    flex:0 0 auto!important;
  }
  html body #al-news.fx{
    top:var(--header-h)!important;
  }
  html body .hero{
    padding-bottom:88px!important;
  }
  html body .hero .lead{
    margin-bottom:8px!important;
  }
  html body .hero .adu-strip{
    margin-bottom:8px!important;
  }
  html body .hero .hero-ctas{
    padding-right:96px;
    width:100%;
    box-sizing:border-box;
    overflow:hidden;
    gap:8px;
  }
  html body .hero .hero-ctas .btn{
    max-width:100%;
    box-sizing:border-box;
    padding:10px 14px!important;
  }
  html body .site-footer{
    padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))!important;
  }
}
/* PC CTA: contain + navy para que las franjas arriba/abajo no sean blancas. */
@media (min-width:769px){
  html body .cta-photo.video-background-container{
    min-height:100vh;
    background-color:#08152f!important;
    scroll-margin-top:0;
  }
  html body .cta-photo.video-background-container video.cta-video{
    object-fit:contain!important;
    object-position:center center!important;
    background:#08152f!important;
  }
}

/* Chat, menú, aranceles: no se reescriben aquí */

@media (prefers-reduced-motion:reduce){
  .hero h1 .ms-w,
  .hero-copy.hero-hook-live #hero-title .text-gold,
  .hero-copy.hero-hook-live .lead,
  .hero-copy.hero-hook-live .hero-ctas,
  .hero-copy.hero-hook-live .hero-modes,
  .hero .eyebrow,.hero .slogan,.hero .adu-strip,
  video.hero-video,.hero-bg,.svc,.svc-media img,.btn-gold,.btn-ghost{
    animation:none!important;
    transition:none!important;
    transform:none!important;
    filter:none!important;
    opacity:1!important;
  }
  video.hero-video{display:none}
}


/* Roger móvil 2026-11-06 v18: hero+footer COVER full 100dvh center, no stretch */
@media (max-width:768px){
  html body .hero.video-background-container{
    min-height:100dvh!important;height:100dvh!important;overflow:hidden!important;
  }
  html body .hero.video-background-container video.hero-video,
  html body .hero.video-background-container video.hero-video.hook-clean,
  html body .hero.video-background-container video.hero-video.xmas-hero-m,
  html body .hero.video-background-container video.hero-video.is-playing,
  html body .hero .hero-bg img{
    object-fit:cover!important;
    object-position:center center!important;
    inset:0!important;width:100%!important;height:100%!important;
    transform:none!important;background:#061630!important;
  }
  html body .site-footer.video-background-container{
    min-height:100dvh!important;overflow:hidden!important;
  }
  html body .site-footer.video-background-container video.footer-bg-video,
  html body video.footer-bg-video{
    object-fit:cover!important;
    object-position:center center!important;
    inset:0!important;
    width:100%!important;height:100%!important;max-height:none!important;
    transform:none!important;background:#061630!important;
  }
}
