.hero {background:#113d49;}
.hero::before {
  bottom:auto; height:clamp(270px,22vw,320px);
  background:linear-gradient(90deg,#092e3ef5 0%,#103947d9 29%,#123b4680 44%,transparent 57%),url("/travelnifty-runway-airliner.jpg") right center / 80% auto no-repeat #10333e;
}
@media (min-width:1700px) {
  .hero::before { background-size:100% 100%,80% auto;background-color:#315c70; }
}
@media (max-width:920px) {
  .hero::before {background:linear-gradient(#0d3442,#194956);height:100%;}
  .hero .hero-copy::after {
    content:"";display:block;width:100%;height:clamp(135px,31vw,210px);margin-top:18px;border-radius:14px;
    background:url("/travelnifty-runway-airliner.jpg") 96% center / 150% auto no-repeat;
  }
}
.brand-mark, .brand::before, header > a:first-child::before {
  background: url("/travelnifty-plane.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 1px rgba(0,41,42,.3));
}
.brand-mark path { visibility: hidden; }
footer .brand::before, header > a:first-child::before {
  content: ""; display: inline-block; width: 1.42em; height: 1.42em; vertical-align: middle;
}
header > a:first-child::before { margin-right: .35em; }
.service-nav .service-button {
  background: linear-gradient(#254f59,#123b45); color: #f2fff9;
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 2px #062731;
}
.service-nav .service-button[aria-current="page"] {
  background: linear-gradient(#daffe9,#9be1c4); color: #093d35;
  box-shadow: inset 0 1px white, 0 2px #4a9881;
}
.service-button .icon, .primary .icon { filter: drop-shadow(0 1px 0 rgba(255,255,255,.24)); }
.primary {
  background: linear-gradient(#ffa994,#ff866e); color: #172e36;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 3px #bd5545, 0 5px 10px rgba(71,30,22,.16);
}
#destination-form button, .plan button:enabled {
  background: linear-gradient(#11867c,#07665f);
  box-shadow: inset 0 1px rgba(255,255,255,.32), 0 3px #034e48;
}
@media (hover:hover) {
  .service-nav button:hover, .primary:hover, #destination-form button:hover, .plan button:enabled:hover { filter: brightness(1.07); }
}
.service-nav button:active, .primary:active, #destination-form button:active, .plan button:enabled:active {
  transform: translateY(2px); box-shadow: inset 0 1px 3px rgba(0,0,0,.23);
}
:is(.service-button,.primary,#destination-form button,.plan button):focus-visible {
  outline: 3px solid #0e6980; outline-offset: 3px; box-shadow: 0 0 0 3px white;
}
@media(max-width:650px) { .hero::before {background-position: 74% center;} }
.site-header .brand-mark { width: 38px; height: 38px; flex-shrink: 0; }

.esim-page .esim-hero {
  padding-top: 0;
  background: #0b3840;
}
.esim-hero::after { display: none; }
.esim-hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 260px; pointer-events: none;
  background: linear-gradient(90deg,#0b3840 10%,#0b3840 34%,transparent 66%),
    url("/travelnifty-esim-harbour.jpg") right 49% / min(74%,900px) auto no-repeat;
}
.esim-hero > .wrap { position: relative; padding-top: 55px; }
.esim-hero .esim-search { margin-top: 60px; }
@media (max-width: 760px) {
  .esim-hero::before { display: none; }
  .esim-hero > .wrap { padding-top: 28px; }
  .esim-hero .wrap > p::after {
    content: ""; display: block; margin-top: 18px; border-radius: 14px;
    height: clamp(155px,40vw,230px);
    background: url("/travelnifty-esim-harbour.jpg") 78% 50% / cover no-repeat;
  }
  .esim-hero .esim-search { margin-top: 18px; }
}
