/* ===== Sub-pages (Empty Legs, Cookie Policy, Disclaimer) - same liquid language as the home page ===== */
.page{background:#F9F8FB}
.page h1,.page h2,.page h3{font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700}

/* page hero: navy band, optional photo with parallax, drifting light */
.page-hero{position:relative;isolation:isolate;overflow:hidden;background:#2F2D48;color:#fff;padding:170px 40px 90px;text-align:center}
.page-legal .page-hero{padding:160px 40px 70px}
.ph-img{position:absolute;inset:-12% 0 auto;width:100%;height:140%;transform-origin:50% 30%;object-fit:cover;filter:grayscale(1);will-change:transform;z-index:-2}
.ph-tint{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(47,45,72,.92),rgba(47,45,72,.78) 60%,rgba(47,45,72,.94))}
.page-hero::before,.page-hero::after{content:'';position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);pointer-events:none;animation:avDrift 30s ease-in-out infinite alternate}
.page-hero::before{width:520px;height:520px;left:-160px;top:-200px;background:rgba(85,82,107,.7)}
.page-hero::after{width:460px;height:460px;right:-140px;bottom:-220px;background:rgba(61,90,150,.38);animation-duration:36s;animation-delay:-9s}
.ph-in{max-width:1200px;margin:0 auto}
.ph-kicker{margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.ph-title{margin:0;font-size:clamp(28px,3.6vw,52px);line-height:1.1;color:#fff;text-wrap:balance}
@media (min-width:761px){.ph-title{white-space:nowrap}}
.ph-sub{margin:20px auto 0;max-width:640px;font-size:18px;line-height:1.7;color:rgba(255,255,255,.8)}
.ph-sub:empty{display:none}
.ph-chip{display:inline-flex;align-items:center;gap:10px;margin:30px 0 0;padding:10px 20px;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  border:1px solid transparent;background:linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08)) padding-box,var(--rim-dark) border-box;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.live-dot{width:8px;height:8px;border-radius:50%;background:#3FB57A;box-shadow:0 0 0 4px rgba(63,181,122,.25);animation:lvPulse 2.4s ease-in-out infinite}
@keyframes lvPulse{50%{box-shadow:0 0 0 8px rgba(63,181,122,0)}}

/* legs list */
.legs-list{position:relative;isolation:isolate;overflow:clip;padding:70px 40px 40px;background:#ECEBF2}
.legs-list::before,.legs-list::after{content:'';position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);pointer-events:none;animation:avDrift 30s ease-in-out infinite alternate}
.legs-list::before{width:540px;height:540px;right:-160px;top:-120px;background:rgba(85,82,107,.2)}
.legs-list::after{width:480px;height:480px;left:-160px;bottom:-140px;background:rgba(61,90,150,.16);animation-duration:34s;animation-delay:-12s}
.legs-in{max-width:1180px;margin:0 auto}
.legs-head,.leg{display:grid;grid-template-columns:minmax(260px,2.3fr) 1fr 1.1fr 1.2fr 120px;align-items:center;gap:22px}
.legs-head{padding:0 30px 12px;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#8A8798}
.leg{margin-bottom:14px;padding:22px 30px;border-radius:22px;border:1px solid transparent;
  background:linear-gradient(rgba(255,255,255,.56),rgba(255,255,255,.56)) padding-box,var(--rim) border-box;
  -webkit-backdrop-filter:blur(22px) saturate(175%);backdrop-filter:blur(22px) saturate(175%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),var(--drop);
  transition:transform .4s var(--spring),box-shadow .3s,background .3s,opacity .55s ease-out}
.leg:hover{transform:translateY(-4px);background:linear-gradient(rgba(255,255,255,.8),rgba(255,255,255,.8)) padding-box,var(--rim) border-box;box-shadow:inset 0 1px 0 #fff,0 26px 54px -18px rgba(47,45,72,.32)}
.leg-route{display:flex;align-items:center;gap:16px;min-width:0}
.leg-place{font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700;font-size:21px;color:#2F2D48;letter-spacing:.02em;line-height:1.2}
.leg-arrow{position:relative;flex:1 1 40px;min-width:40px;max-width:110px;height:24px;display:flex;align-items:center}
.leg-arrow i{position:absolute;left:0;right:0;top:50%;border-top:1.5px dashed rgba(47,45,72,.35)}
.leg-arrow img{position:absolute;left:0;top:50%;width:22px;transform:translate(0,-50%) rotate(-90deg);transition:left .7s var(--spring)}
.leg:hover .leg-arrow img{left:calc(100% - 22px)}
.leg-cell{display:flex;flex-direction:column;gap:3px;min-width:0}
.leg-k{display:none;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#8A8798}
.leg-v{font-size:15.5px;font-weight:600;color:#2F2D48}
.leg-ac{font-family:'Vitesse Sans',Helvetica,sans-serif;letter-spacing:.03em}
.leg-wd{font-size:13px;color:#8A8798}
.leg-chip{display:inline-block;margin:2px 6px 2px 0;padding:5px 11px;border-radius:999px;font-size:13px;font-weight:700;color:#3B3955;background:rgba(47,45,72,.07)}
.leg-btn{justify-self:end;display:inline-block;padding:12px 24px;border-radius:999px;background:#2F2D48;color:#fff !important;font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700;font-size:14px;letter-spacing:.04em;white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 18px -8px rgba(47,45,72,.6);transition:transform .35s var(--spring),background .2s}
.leg-btn:hover{background:#454263;transform:translateY(-2px)}
.leg-btn:active{transform:scale(1.06,.93)}
.leg-empty{padding:50px 30px;text-align:center;border-radius:22px;background:rgba(255,255,255,.55)}
.leg-empty h3{margin:0 0 10px;color:#2F2D48}.leg-empty p{margin:0 0 22px;color:#55526B}
.legs-note{margin:26px 0 0;text-align:center;font-size:13.5px;color:#8A8798}

/* CTA band under the list - same glass box as the home page Empty Legs */
.legs-cta-band{position:relative;isolation:isolate;overflow:hidden;padding:90px 40px 40px;background:#2F2D48}
.page-legs .sub-footer{padding-top:40px}
.page-legs .sub-footer::before{display:none}
.legs-cta-band{padding-top:110px !important;padding-bottom:70px !important}
/* blurred cargo photo behind the glass box; fades to the footer navy at the bottom edge -> no join line */
.cta-bg{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.cta-bg>div{position:absolute;left:-4%;right:-4%;top:-25%;height:150%;will-change:transform;
  background:url('../assets/Aviocharter_Projects_15.jpg') 60% 55%/cover no-repeat;filter:grayscale(1) blur(2.5px);opacity:.75}
.cta-bg::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(47,45,72,.55) 0%,rgba(47,45,72,.62) 55%,#2F2D48 100%)}
.legs-cta-band .lg-panel{max-width:1100px;margin:0 auto;text-align:center;padding:52px 64px 48px;border-radius:26px;border:1px solid transparent;
  background:linear-gradient(rgba(255,255,255,.07),rgba(255,255,255,.07)) padding-box,var(--rim-dark) border-box;
  -webkit-backdrop-filter:blur(22px) saturate(175%);backdrop-filter:blur(22px) saturate(175%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 30px 60px -20px rgba(10,9,22,.55)}
.legs-cta-band h2{margin:0 0 16px;font-size:clamp(26px,3vw,40px);color:#fff}
.legs-cta-band p{margin:0 auto;max-width:720px;font-size:17px;line-height:1.7;color:rgba(255,255,255,.8)}
.hero-btn{display:inline-block;background:#fff;color:#2F2D48 !important;padding:15px 34px;border-radius:999px;font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700;font-size:15px;letter-spacing:.04em;
  box-shadow:inset 0 -2px 0 rgba(47,45,72,.08),0 14px 30px -10px rgba(0,0,0,.5);transition:transform .35s var(--spring),background .2s}
.hero-btn:hover{transform:translateY(-2px);background:#DFDEE9}
.hero-btn:active{transform:scale(1.06,.93)}

/* legal pages: one glass reading card */
.legal{position:relative;isolation:isolate;overflow:clip;padding:70px 40px 90px;background:#ECEBF2}
.legal::before{content:'';position:absolute;z-index:-1;width:560px;height:560px;border-radius:50%;right:-180px;top:-160px;background:rgba(85,82,107,.2);filter:blur(70px);animation:avDrift 30s ease-in-out infinite alternate}
.legal::after{content:'';position:absolute;z-index:-1;width:480px;height:480px;border-radius:50%;left:-160px;bottom:-160px;background:rgba(61,90,150,.16);filter:blur(70px);animation:avDrift 34s ease-in-out infinite alternate-reverse}
.legal-card{max-width:860px;margin:0 auto;padding:54px 60px;border-radius:26px;border:1px solid transparent;
  background:linear-gradient(rgba(255,255,255,.62),rgba(255,255,255,.62)) padding-box,var(--rim) border-box;
  -webkit-backdrop-filter:blur(22px) saturate(175%);backdrop-filter:blur(22px) saturate(175%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),var(--drop);font-size:15.5px;line-height:1.8;color:#55526B}
.legal-card h3{margin:34px 0 10px;font-size:16px;letter-spacing:.1em;text-transform:uppercase;color:#2F2D48}
.legal-card h3:first-child{margin-top:0}
.legal-card p{margin:0 0 14px}
.legal-card ul{margin:0 0 14px;padding-left:22px}
.legal-card a{color:#3D5A96;text-decoration:underline;text-underline-offset:3px}
.legal-card a:hover{color:#2F2D48}

/* footer on sub-pages */
.sub-footer{position:relative;isolation:isolate;overflow:hidden;background:#2F2D48;color:#fff;padding:70px 40px 50px}
.sub-footer::before{content:'';position:absolute;z-index:-1;width:560px;height:560px;border-radius:50%;left:-180px;top:-240px;background:rgba(85,82,107,.75);filter:blur(70px);animation:avDrift 30s ease-in-out infinite alternate}
.sub-footer-in{max-width:1280px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:30px}
.sf-cols{display:flex;flex-wrap:wrap;align-items:center;gap:20px 46px}
.sf-k{display:block;margin-bottom:4px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.sf-v{color:#fff !important;font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700;font-size:20px}
.sf-mail{font-family:inherit;font-weight:600;font-size:16px}
.sf-btn{display:inline-block;padding:13px 28px;border-radius:999px;background:#fff;color:#2F2D48 !important;font-family:'Vitesse Sans',Helvetica,sans-serif;font-weight:700;font-size:14px;transition:transform .35s var(--spring),background .2s}
.sf-btn:hover{background:#DFDEE9;transform:translateY(-2px)}

@media (max-width:900px){
  .legs-head{display:none}
  .leg{grid-template-columns:1fr 1fr;gap:16px 18px;padding:22px}
  .leg-route{grid-column:1 / -1}
  .leg-k{display:block}
  .leg-btn{grid-column:1 / -1;text-align:center}
}
@media (max-width:760px){
  .page-hero{padding:130px 22px 64px !important}
  .legs-list,.legal{padding:46px 16px 60px !important}
  .legs-cta-band{padding:60px 16px !important}
  .legs-cta-band .lg-panel{padding:34px 22px}
  .legal-card{padding:32px 22px}
  .leg-place{font-size:18px}
  .sub-footer{padding:54px 22px 40px !important}
}
@media (prefers-reduced-motion:reduce){.page-hero::before,.page-hero::after,.legs-list::before,.legs-list::after,.legal::before,.legal::after,.legs-cta-band::before,.sub-footer::before,.live-dot{animation:none}}

/* Patrick 12 Nov - phone leg cards: Aircraft + Date start on the same line, Capacity full width with chips side by side */
@media (max-width:900px){
  .leg{align-items:start}
  .leg-cell:nth-of-type(4){grid-column:1 / -1}
  .leg-cell:nth-of-type(4) .leg-v{display:flex;flex-wrap:wrap;gap:8px}
  .leg-cell:nth-of-type(4) .leg-chip{margin:0}
}
