/* ==========================================================
   RELIABLE TRAVELS — shared site footer (markup comes from footer.js)
   ========================================================== */
footer.site-footer { position: relative; display: block; overflow: hidden; isolation: isolate; padding-top: 0; padding-inline: max(20px, 6vw); background: #061e1a; color: #fff; }
.ft-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 15% 0%, #d8ff6814, transparent 70%), radial-gradient(45% 45% at 90% 15%, #ff3d7f12, transparent 70%), linear-gradient(90deg, #ffffff06 1px, transparent 1px) 0 0 / 120px 100%; }

/* Everything rises in once the footer scrolls into view */
.ft-in { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d) * .09s); }
.site-footer.in .ft-in { opacity: 1; transform: none; }

/* ---------- CTA band ---------- */
.ft-cta { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 30px 60px; align-items: end; padding: clamp(46px, 5vw, 72px) 0 clamp(36px, 4vw, 52px); border-bottom: 1px solid #ffffff14; }
.ft-route { position: absolute; left: 30%; right: 0; top: 14px; width: 70%; height: 90px; overflow: visible; pointer-events: none; }
.ft-route path { fill: none; stroke: #ffffff26; stroke-width: 1.4; stroke-dasharray: 5 8; vector-effect: non-scaling-stroke; }
.ft-route text { fill: #d8ff68; font-size: 16px; }
.ft-kicker { margin: 0 0 14px; font: 700 11px Manrope, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #9fb3ad; }
.ft-cta h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 600; color: #fff; }
.ft-cta h2 em { font-family: Georgia, serif; font-weight: 400; background: linear-gradient(90deg, #d8ff68, #6bffd8, #ffd166, #d8ff68); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; animation: ftShimmer 8s linear infinite; }
@keyframes ftShimmer { to { background-position: 300% 0; } }

.ft-news label { display: block; margin-bottom: 12px; font-size: 14px; color: #c9d8d3; }
.ft-field { display: flex; gap: 6px; padding: 6px; border-radius: 60px; background: #ffffff0d; border: 1px solid #ffffff21; transition: border-color .4s, box-shadow .4s; }
.ft-field:focus-within { border-color: #d8ff68; box-shadow: 0 0 0 4px #d8ff681f; }
.ft-news.err .ft-field { border-color: #ff6b46; }
.ft-field input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: none; color: #fff; font: 500 14px "DM Sans", sans-serif; outline: none; }
.ft-field input::placeholder { color: #7e938d; }
.ft-field button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 0; border-radius: 40px; background: #d8ff68; color: var(--ink); font: 700 13px Manrope, sans-serif; cursor: pointer; transition: transform .35s var(--ease-out), background .3s; }
.ft-field button:hover { background: #fff; }
.ft-field button span { transition: transform .35s var(--ease-out); }
.ft-field button:hover span { transform: translateX(4px); }
.ft-msg { display: block; margin-top: 10px; font-size: 12px; color: #7e938d; }
.ft-news.ok .ft-msg { color: #d8ff68; }
.ft-news.err .ft-msg { color: #ff8a6b; }

/* ---------- Main grid ---------- */
.ft-main { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, .8fr)) minmax(0, 1.25fr); gap: 34px clamp(24px, 3vw, 48px); padding: clamp(40px, 4.5vw, 64px) 0 clamp(20px, 2vw, 30px); }
.ft-brand .footer-brand { font-size: 22px; }
.ft-brand p { margin: 18px 0 22px; max-width: 300px; color: #9fb3ad; font-size: 14px; line-height: 1.7; }
.ft-mail { display: inline-grid; gap: 3px; color: #fff; text-decoration: none; font: 700 16px Manrope, sans-serif; }
.ft-mail span { font: 600 10px Manrope, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #7e938d; }
.ft-mail b { font-weight: 700; white-space: nowrap; }
.ft-mail i { font-style: normal; color: #d8ff68; display: inline-block; transition: transform .35s; }
.ft-mail:hover i { transform: translate(3px, -3px); }
.ft-social { display: flex; gap: 10px; margin-top: 24px; }
.ft-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff26; color: #dfe9e5; position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s, transform .45s var(--ease-out); }
.ft-social a:before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #d8ff68; transform: scale(0); transition: transform .45s var(--ease-out); }
.ft-social a:hover { color: var(--ink); border-color: #d8ff68; transform: translateY(-4px); }
.ft-social a:hover:before { transform: scale(1); }
.ft-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ft-col h3 { margin: 4px 0 18px; font: 700 11px Manrope, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #7e938d; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft-col a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #dfe9e5; text-decoration: none; font-size: 14.5px; transition: color .3s, transform .4s var(--ease-out); }
.ft-col a:after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #d8ff68; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-cine); }
.ft-col a i { font-style: normal; font-size: 11px; color: #d8ff68; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .4s var(--ease-out); }
.ft-col a:hover { color: #fff; transform: translateX(4px); }
.ft-col a:hover:after { transform: scaleX(1); }
.ft-col a:hover i { opacity: 1; transform: none; }

/* ---------- Deal of the month ---------- */
.ft-deal a { display: block; border-radius: 20px; overflow: hidden; background: #0b2a24; border: 1px solid #ffffff17; color: #fff; text-decoration: none; transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s; }
.ft-deal a:hover { transform: translateY(-6px); border-color: #d8ff6866; box-shadow: 0 30px 60px -30px #d8ff6855; }
.ft-deal-img { position: relative; display: block; height: 130px; overflow: hidden; }
.ft-deal-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.ft-deal a:hover .ft-deal-img img { transform: scale(1.18); }
/* a glint crosses the photo every few seconds */
.ft-deal-img:after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, #ffffff66, transparent); animation: ftGlint 5s ease-in-out infinite; }
@keyframes ftGlint { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.ft-deal-img b { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 30px; background: #d8ff68; color: var(--ink); font: 800 9.5px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ft-deal-body { display: block; padding: 14px 16px 16px; }
.ft-deal-body small { display: block; font: 700 10px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9fb3ad; }
.ft-deal-body strong { display: block; margin: 6px 0 8px; font: 700 18px/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.ft-deal-price { display: flex; align-items: baseline; gap: 10px; }
.ft-deal-price s { color: #7e938d; font-size: 13px; text-decoration-color: #ff3d7f; }
.ft-deal-price em { font: 800 22px Manrope, sans-serif; font-style: normal; color: #d8ff68; letter-spacing: -.03em; }
.ft-deal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #ffffff21; font-size: 12px; color: #9fb3ad; }
.ft-deal-foot b { color: #fff; font-variant-numeric: tabular-nums; }
.ft-deal-foot i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #ffffff14; font-style: normal; transition: background .35s, color .35s, transform .4s; }
.ft-deal a:hover .ft-deal-foot i { background: #d8ff68; color: var(--ink); transform: rotate(45deg); }

/* ---------- Giant wordmark ---------- */
.ft-giant { display: flex; justify-content: center; margin: 6px 0 -.2em; overflow: hidden; font: 800 clamp(56px, 13.5vw, 220px)/.95 Manrope, sans-serif; letter-spacing: -.05em; user-select: none; }
.ft-giant span { display: inline-block; color: transparent; background: linear-gradient(180deg, #d8ff6833, #6bffd814 50%, transparent 85%); -webkit-background-clip: text; background-clip: text; background-size: 100% 200%; background-position: 0 100%;
  transform: translateY(70%); transition: transform 1.2s var(--ease-cine), background-position 1.2s var(--ease-out), filter .5s; transition-delay: calc(var(--k) * .06s); }
.site-footer.in .ft-giant span { transform: none; }
.ft-giant.lit span { background-position: 0 0; }
.ft-giant span:hover { transform: translateY(-8px); filter: brightness(2.2); transition-delay: 0s; transition-duration: .45s; }

/* ---------- Bottom bar ---------- */
.ft-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 20px; border-top: 1px solid #ffffff14; color: #7e938d; font-size: 12px; }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a { color: #9fb3ad; text-decoration: none; transition: color .3s; }
.ft-legal a:hover { color: #fff; }
.ft-credit { margin-left: auto; }
.ft-credit b { color: #d8ff68; font-weight: 600; }
.ft-top { position: relative; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.ft-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ft-top circle { fill: none; stroke: #ffffff1f; stroke-width: 1.5; }
.ft-top .ft-top-ring { stroke: #d8ff68; stroke-width: 2; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.ft-top span { font-size: 16px; transition: transform .4s var(--ease-out); }
.ft-top:hover span { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ft-main { grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); }
  .ft-deal { grid-column: 1 / -1; max-width: 520px; }
  .ft-deal a { display: grid; grid-template-columns: 200px 1fr; }
  .ft-deal-img { height: 100%; min-height: 150px; }
}
@media (max-width: 800px) {
  .ft-cta { grid-template-columns: 1fr; }
  .ft-route { left: 0; width: 100%; }
  .ft-main { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .ft-brand, .ft-deal { grid-column: 1 / -1; }
  .ft-credit { margin-left: 0; }
  .ft-top { position: absolute; right: 0; top: 14px; }
}
@media (max-width: 520px) {
  .ft-field { flex-direction: column; border-radius: 22px; }
  .ft-field input { padding: 12px 14px; }
  .ft-field button { justify-content: center; }
  .ft-deal a { grid-template-columns: 1fr; }
  .ft-deal-img { min-height: 0; height: 140px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; padding-right: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer *, .site-footer *:before, .site-footer *:after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ft-in, .ft-giant span { opacity: 1; transform: none; }
}
