/* =========================================================
   Footer premium + floating CTAs
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(64px, 8vw, 92px) 0 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(81, 212, 255, .22), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(244, 199, 107, .14), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(18, 10, 143, .28), transparent 34rem),
    linear-gradient(180deg, #07112d 0%, #050a1e 48%, #030611 100%);
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1160px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(81, 212, 255, .54), rgba(244, 199, 107, .28), transparent);
  pointer-events: none;
}

/* =========================================================
   Layout
   ========================================================= */

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: .95fr .9fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.footer-brand-block,
.footer-col,
.footer-card,
.footer-social-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 0%, rgba(81, 212, 255, .14), transparent 15rem),
    rgba(255, 255, 255, .075);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-brand-block,
.footer-col,
.footer-social-box {
  padding: 26px;
}

/* =========================================================
   Brand
   ========================================================= */

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(268px, 100%);
  min-height: 98px;
  margin-bottom: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(81, 212, 255, .16), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(244, 249, 255, .96));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .96);
  transition:
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    border-color .22s var(--ease);
}

.footer-logo-card::after {
  content: "";
  position: absolute;
  inset: -55% -80%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  transform: translateX(-60%) rotate(12deg);
  transition: transform .72s var(--ease);
  pointer-events: none;
}

.footer-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 231, 255, .82);
  box-shadow:
    0 25px 64px rgba(0, 0, 0, .3),
    0 0 0 7px rgba(81, 212, 255, .08),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}

.footer-logo-card:hover::after {
  transform: translateX(60%) rotate(12deg);
}

.footer-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 218px;
  max-height: 66px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  transform: none;
  backface-visibility: visible;
}

.footer-brand-text {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
}

.footer-mini-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.footer-mini-trust span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.footer-mini-trust span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--cyan);
  font-weight: 950;
}

/* =========================================================
   CTA card
   ========================================================= */

.footer-card {
  padding: clamp(26px, 4vw, 38px);
}

.footer-cta-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(81, 212, 255, .22), transparent 16rem),
    radial-gradient(circle at 90% 18%, rgba(244, 199, 107, .18), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .065));
}

.footer-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-card__kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(81, 212, 255, .14);
}

.footer-card h2,
.site-footer h3 {
  margin: 0;
  color: #fff;
  letter-spacing: -.035em;
}

.footer-card h2 {
  max-width: 520px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: .98;
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.1;
}

.footer-card p,
.footer-col p,
.footer-social-box p,
.site-footer p {
  color: rgba(255, 255, 255, .72);
}

.footer-card p {
  max-width: 560px;
  margin: 16px 0 24px;
  font-size: 17px;
}

.footer-card .btn {
  width: 100%;
  max-width: 360px;
}

/* =========================================================
   Lists
   ========================================================= */

.footer-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 255, 255, .72);
}

.footer-list li > span:first-child {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(81, 212, 255, .12);
  color: var(--cyan);
  font-size: 13px;
  line-height: 1;
}

.footer-list a,
.footer-legal a,
.footer-bottom a {
  color: rgba(255, 255, 255, .78);
  transition:
    color .2s var(--ease),
    transform .2s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.footer-list a:hover,
.footer-legal a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-list--links li {
  display: block;
}

.footer-list--links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-weight: 850;
}

.footer-list--links a::before {
  content: "→";
  color: var(--cyan);
  font-weight: 950;
  transform: translateX(0);
  transition: transform .2s var(--ease);
}

.footer-list--links a:hover::before {
  transform: translateX(3px);
}

/* =========================================================
   Social box
   ========================================================= */

.footer-social-box p {
  margin: 0 0 18px;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footer-social {
  position: relative;
  overflow: hidden;
  min-height: 102px;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 15px 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
  text-align: center;
  font-weight: 950;
  transition:
    transform .22s var(--ease),
    border-color .22s var(--ease),
    background .22s var(--ease),
    box-shadow .22s var(--ease);
}

.footer-social::after {
  content: "";
  position: absolute;
  inset: -70% -90%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: translateX(-58%) rotate(12deg);
  transition: transform .64s var(--ease);
  pointer-events: none;
}

.footer-social span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.footer-social strong {
  position: relative;
  z-index: 1;
  font-size: 13px;
}

.footer-social--instagram span {
  background:
    radial-gradient(circle at 28% 90%, #feda75, transparent 34%),
    linear-gradient(135deg, #405de6, #c13584 52%, #fd1d1d);
}

.footer-social--facebook span {
  background: linear-gradient(135deg, #1877f2, #0b5ed7);
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.footer-social--tiktok span {
  background:
    radial-gradient(circle at 72% 72%, rgba(255, 0, 80, .95), transparent 32%),
    linear-gradient(135deg, #00f2ea, #111 46%, #111);
}

.footer-social:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 231, 255, .28);
  background: rgba(255, 255, 255, .115);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.footer-social:hover::after {
  transform: translateX(58%) rotate(12deg);
}

/* =========================================================
   Legal links
   ========================================================= */

.footer-legal {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  width: min(100% - 28px, 1160px);
  margin: 28px auto 0;
}

.footer-legal a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.footer-legal a:hover {
  border-color: rgba(126, 231, 255, .24);
  background: rgba(255, 255, 255, .09);
}

/* =========================================================
   Bottom + NetBridge credit
   ========================================================= */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 32px;
  padding: 18px max(18px, env(safe-area-inset-left)) calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55);
  text-align: center;
  font-size: 14px;
}

.netbridge-credit {
  --netbridge-blue: #007bff;
  --netbridge-yellow: #ffd539;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.4;
}

.netbridge-credit__label {
  color: rgba(255, 255, 255, .6);
}

.netbridge-credit__link {
  position: relative;
  isolation: isolate;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 11px 5px;
  border: 1px solid rgba(0, 123, 255, .32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 123, 255, .18), rgba(255, 213, 57, .08));
  color: #fff;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow:
    0 10px 24px rgba(0, 123, 255, .11),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transition:
    transform .22s var(--ease),
    border-color .22s var(--ease),
    background .22s var(--ease),
    box-shadow .22s var(--ease),
    color .22s var(--ease);
}

.netbridge-credit__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--netbridge-blue), var(--netbridge-yellow));
  opacity: .7;
  transform: scaleX(.34);
  transform-origin: left;
  transition:
    transform .22s var(--ease),
    opacity .22s var(--ease);
}

.netbridge-credit__link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 213, 57, .52);
  background: linear-gradient(135deg, rgba(0, 123, 255, .26), rgba(255, 213, 57, .13));
  color: #fff;
  box-shadow:
    0 14px 32px rgba(0, 123, 255, .18),
    0 0 0 5px rgba(255, 213, 57, .06),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.netbridge-credit__link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* =========================================================
   Floating WhatsApp desktop
   ========================================================= */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .34), transparent 1.9rem),
    linear-gradient(135deg, #25d366, #16b756);
  color: #fff;
  font-weight: 950;
  box-shadow:
    0 18px 46px rgba(37, 211, 102, .34),
    0 0 0 8px rgba(37, 211, 102, .08);
  transition:
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    filter .22s var(--ease);
}

.wa-float::before {
  content: "💬";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  font-size: 15px;
  line-height: 1;
}

.wa-float strong {
  line-height: 1;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(112%);
  box-shadow:
    0 24px 58px rgba(37, 211, 102, .42),
    0 0 0 10px rgba(37, 211, 102, .1);
}

/* =========================================================
   Mobile sticky CTA
   ========================================================= */

.mobile-sticky {
  display: none;
}

/* =========================================================
   Back to top
   ========================================================= */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 89;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(19, 34, 58, .1);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .86), transparent 1.8rem),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(244, 249, 255, .9));
  color: var(--blue);
  box-shadow:
    0 14px 34px rgba(7, 17, 45, .14),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition:
    opacity .22s var(--ease),
    visibility .22s var(--ease),
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    background .22s var(--ease),
    color .22s var(--ease);
}

.back-to-top::before {
  content: "↑";
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .72), transparent 1.8rem),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow:
    0 18px 44px rgba(18, 10, 143, .24),
    0 0 0 7px rgba(81, 212, 255, .08);
}

.back-to-top span,
.back-to-top strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1020px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-block,
  .footer-col,
  .footer-social-box {
    padding: 24px;
    border-radius: 28px;
  }

  .footer-card {
    border-radius: 28px;
  }

  .footer-logo-card {
    width: 238px;
    min-height: 86px;
    padding: 15px 19px;
    border-radius: 26px;
  }

  .footer-logo {
    max-width: 202px;
    max-height: 58px;
  }

  .footer-mini-trust {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .footer-mini-trust span {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .footer-card .btn {
    max-width: none;
  }

  .footer-socials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wa-float {
    display: none;
  }

  .mobile-sticky {
    position: fixed;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 120;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(19, 34, 58, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow:
      0 -8px 30px rgba(7, 17, 45, .12),
      0 12px 32px rgba(7, 17, 45, .12);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .mobile-sticky a {
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.01em;
  }

  .mobile-sticky__link--booking {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 10, 143, .22);
  }

  .mobile-sticky__link--booking::before {
    content: "⚓ ";
    font-size: 13px;
  }

  .mobile-sticky__link--whatsapp {
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .3), transparent 1.8rem),
      linear-gradient(135deg, #25d366, #16b756);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .24);
  }

  .mobile-sticky__link--whatsapp::before {
    content: "💬 ";
    font-size: 13px;
  }

  .back-to-top {
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 119;
    width: 44px;
    height: 44px;
    box-shadow:
      0 12px 28px rgba(7, 17, 45, .16),
      inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  .back-to-top::before {
    font-size: 20px;
  }

  body {
    padding-bottom: 74px;
  }

  .footer-bottom {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-top: 60px;
  }

  .footer-brand-block,
  .footer-col,
  .footer-social-box {
    padding: 22px;
    border-radius: 26px;
  }

  .footer-logo-card {
    width: 224px;
    min-height: 80px;
    padding: 14px 18px;
    border-radius: 24px;
  }

  .footer-logo {
    max-width: 190px;
    max-height: 54px;
  }

  .footer-brand-text,
  .footer-card p {
    font-size: 16px;
  }

  .footer-socials {
    gap: 8px;
  }

  .footer-social {
    min-height: 92px;
    padding: 13px 8px;
    border-radius: 18px;
  }

  .footer-social span {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .footer-social strong {
    font-size: 12px;
  }

  .footer-legal {
    width: min(100% - 24px, 1160px);
    gap: 6px;
  }

  .footer-legal a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .netbridge-credit {
    width: 100%;
    flex-wrap: wrap;
  }

  .netbridge-credit__link {
    min-height: 32px;
    padding-inline: 12px;
  }

  .mobile-sticky {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    border-radius: 20px;
  }

  .mobile-sticky a {
    min-height: 44px;
    border-radius: 15px;
    font-size: 13px;
  }

  .back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 380px) {
  .footer-socials {
    grid-template-columns: 1fr;
  }

  .footer-social {
    min-height: 58px;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 12px;
  }

  .mobile-sticky {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-sticky a {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .back-to-top {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .footer-bottom {
    padding-bottom: 92px;
  }
}

@media (hover: none) {
  .footer-logo-card:hover,
  .footer-social:hover,
  .wa-float:hover,
  .back-to-top:hover,
  .netbridge-credit__link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .wa-float,
  .back-to-top,
  .mobile-sticky a,
  .netbridge-credit__link {
    transition: none !important;
  }
}