/* ==========================================================
   RELIABLE TRAVELS — Best offers in international packages (intl-offers.js fills it)
   Light "departure board" look: expanding photo panels + boarding-pass tickets
   ========================================================== */
.intl {
  --c: #ff8a3c;
  position: relative; overflow: hidden; color: var(--ink);
  padding: clamp(90px, 10vw, 140px) max(24px, 6vw) clamp(80px, 9vw, 130px);
  background:
    radial-gradient(circle at 1px 1px, #0b2a2414 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(50% 60% at 85% 20%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%),
    var(--cream);
}

/* A plane crossing the sky on a dashed arc */
.intl-flight { position: absolute; left: 0; top: 30px; width: 100%; height: 260px; pointer-events: none; overflow: visible; }
.intl-flight path { fill: none; stroke: #0b2a2426; stroke-width: 1.5; stroke-dasharray: 6 9; vector-effect: non-scaling-stroke; }
.intl-flight-plane { font-size: 22px; fill: var(--ink); dominant-baseline: middle; }

/* ---------- Heading ---------- */
.intl-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.intl-head .section-kicker { display: flex; align-items: center; gap: 12px; color: #4f6560; margin-bottom: 22px; }
.intl-live { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: offersPulse 1.8s ease-out infinite; box-shadow: 0 0 0 0 var(--orange); }
.intl-head h2 { font-size: clamp(40px, 5vw, 76px); font-weight: 600; }
.intl-head h2 em { background: linear-gradient(90deg, #2fb4ff, #7b4dff 55%, #ff3d7f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.intl-side { max-width: 380px; }
.intl-side p { margin: 0 0 16px; color: #5b6b67; line-height: 1.75; }
.intl-timer { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 50px; background: var(--ink); color: #c9d8d3; font-size: 12px; letter-spacing: .04em; }
.intl-timer b { font: 700 14px Manrope, sans-serif; color: #fff; font-variant-numeric: tabular-nums; margin-left: 4px; }

/* ---------- Deck of expanding panels ---------- */
.intl-deck { position: relative; z-index: 2; display: flex; gap: 12px; height: clamp(480px, 38vw, 590px); }
.intl-panel { --p: 0; position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; isolation: isolate; background: #0b2a24;
  opacity: 0; transform: translateY(60px); transition: flex 1.1s var(--ease-cine), opacity .9s var(--ease-out), transform 1.1s var(--ease-out), box-shadow .8s; transition-delay: 0s, calc(var(--i) * .1s), calc(var(--i) * .1s), 0s; }
.intl.in .intl-panel { opacity: 1; transform: none; }
.intl-panel.on { flex: 7 1 0; box-shadow: 0 50px 90px -40px color-mix(in srgb, var(--c) 80%, #000); }
.intl-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(.55) brightness(.75); transition: filter 1s, transform 1.4s var(--ease-out); }
.intl-panel.on > img { filter: saturate(1.08); animation: intlKen 10s cubic-bezier(.2, .6, .2, 1) forwards; }
.intl-panel:not(.on):hover > img { filter: saturate(.9) brightness(.9); transform: scale(1.08); }
@keyframes intlKen { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.intl-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #061c18e6 0%, #061c1866 30%, transparent 55%), linear-gradient(180deg, #061c1899 0%, transparent 28%); transition: opacity .8s; }

/* Autoplay progress across the top of the open panel */
.intl-panel:after { content: ""; position: absolute; z-index: 4; left: 0; top: 0; height: 3px; width: 100%; background: var(--c); transform-origin: left; transform: scaleX(0); }
.intl-panel.on:after { transform: scaleX(var(--p)); }

/* Closed panel: number at the top, place name running up the side */
.intl-tab { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; border: 0; background: none; color: #fff; cursor: pointer; font: inherit; transition: opacity .5s; }
.intl-panel.on .intl-tab { opacity: 0; pointer-events: none; }
.intl-no { font: 700 13px Manrope, sans-serif; letter-spacing: .1em; }
.intl-vname { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 clamp(22px, 2.2vw, 32px) Manrope, sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.intl-chip { padding: 7px 9px; border-radius: 30px; background: var(--c); color: var(--ink); font: 800 10px Manrope, sans-serif; letter-spacing: .04em; white-space: nowrap; }

/* Open panel: a destination headline over the photo */
.intl-top { position: absolute; z-index: 3; left: 30px; top: 28px; right: 30px; display: flex; justify-content: space-between; align-items: start; color: #fff; opacity: 0; transform: translateY(-14px); transition: opacity .6s, transform .8s var(--ease-out); }
.intl-panel.on .intl-top { opacity: 1; transform: none; transition-delay: .55s; }
.intl-top small { display: block; font: 700 10px Manrope, sans-serif; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.intl-top strong { font: 700 clamp(44px, 5.4vw, 84px)/.9 Manrope, sans-serif; letter-spacing: -.055em; text-shadow: 0 8px 40px #0006; }
.intl-top span { padding: 8px 14px; border-radius: 30px; background: #ffffffe6; color: var(--ink); font: 800 10px Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Boarding pass ---------- */
.intl-pass { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; max-width: 760px; color: var(--ink);
  filter: drop-shadow(0 30px 40px #0007); opacity: 0; transform: translateY(50px) rotate(-1.5deg); transition: opacity .6s, transform 1s var(--ease-out); }
.intl-panel.on .intl-pass { opacity: 1; transform: none; transition-delay: .7s; }
.intl-main, .intl-stub { position: relative; background: #fffdf8; padding: 22px 24px; }
.intl-main { border-radius: 20px 0 0 20px; -webkit-mask: radial-gradient(circle 11px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 11px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.intl-stub { border-radius: 0 20px 20px 0; border-left: 2px dashed #0b2a2430; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  -webkit-mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.intl-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.intl-route div:last-child { text-align: right; }
.intl-route small, .intl-facts dt, .intl-stub small { display: block; font: 700 9px Manrope, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #7b8c88; }
.intl-route b { display: block; font: 800 34px/1 Manrope, sans-serif; letter-spacing: -.03em; margin: 4px 0 2px; }
.intl-route span { font-size: 12px; color: #5b6b67; }
.intl-path { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #0b2a2440 0 6px, transparent 6px 12px); }
.intl-path i { position: absolute; top: 50%; left: 0; font-style: normal; font-size: 18px; color: var(--ink); transform: translate(-50%, -55%); }
.intl-panel.on .intl-path i { animation: intlFly 2.2s 1s var(--ease-cine) forwards; }
@keyframes intlFly { to { left: 100%; } }
.intl-main h3 { margin: 16px 0 6px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.035em; }
.intl-main p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: #5b6b67; }
.intl-facts { display: flex; gap: 22px; margin: 0; padding-top: 12px; border-top: 1px solid #0b2a2414; }
.intl-facts dd { margin: 4px 0 0; font: 700 13px Manrope, sans-serif; }
.intl-stub s { display: block; color: #7b8c88; font-size: 13px; text-decoration-color: var(--pink); text-decoration-thickness: 2px; margin-top: 6px; }
.intl-stub strong { display: block; font: 800 32px/1.05 Manrope, sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.intl-stub em { font-style: normal; font-size: 11px; color: #5b6b67; }
.intl-save { display: inline-block; align-self: start; padding: 6px 10px; border-radius: 30px; background: color-mix(in srgb, var(--c) 30%, #fff); font: 800 11px Manrope, sans-serif; }
.intl-cta { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; font: 700 13px Manrope, sans-serif; position: relative; overflow: hidden; isolation: isolate; transition: color .4s; }
.intl-cta:before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: translateX(-101%); transition: transform .5s var(--ease-cine); }
.intl-cta:hover { color: var(--ink); }
.intl-cta:hover:before { transform: none; }
.intl-cta span { transition: transform .35s; }
.intl-cta:hover span { transform: translate(3px, -3px) rotate(45deg); }
.intl-barcode { height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .8; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .intl-head { flex-direction: column; align-items: start; }
  .intl-pass { grid-template-columns: minmax(0, 1fr) 190px; }
  .intl-main p { display: none; }
}
@media (max-width: 760px) {
  .intl-deck { flex-direction: column; height: 900px; gap: 10px; }
  .intl-panel { border-radius: 20px; }
  .intl-panel.on { flex: 9 1 0; }
  .intl-tab { flex-direction: row; padding: 0 20px; }
  .intl-vname { writing-mode: horizontal-tb; transform: none; font-size: 20px; margin-right: auto; margin-left: 14px; }
  .intl-top { left: 20px; right: 20px; top: 22px; }
  .intl-pass { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr; }
  .intl-main { border-radius: 18px 18px 0 0; padding: 18px; -webkit-mask: none; mask: none; }
  .intl-stub { border-radius: 0 0 18px 18px; border-left: 0; border-top: 2px dashed #0b2a2430; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; -webkit-mask: none; mask: none; }
  .intl-stub .intl-save, .intl-barcode { display: none; }
  .intl-cta { gap: 14px; }
  .intl-route b { font-size: 26px; }
  .intl-main h3 { margin-top: 12px; }
  .intl-facts { gap: 14px; }
  .intl-flight { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intl-panel { opacity: 1; transform: none; }
  .intl *, .intl *:before, .intl *:after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .intl-flight-plane { display: none; }
}
