/* Site footer — premium travel theme */
.site-footer {
  --footer-accent-cyan: #38bdf8;
  --footer-accent-rose: #fb7185;
  --footer-accent-green: #4ade80;
  --footer-glass: rgba(255, 255, 255, 0.07);
  --footer-glass-border: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 0 0 0;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(1200px 420px at 100% -10%, rgba(56, 189, 248, 0.18), transparent 58%),
    radial-gradient(900px 360px at 0% 100%, rgba(251, 113, 133, 0.14), transparent 55%),
    linear-gradient(165deg, #061528 0%, #0c2447 38%, #123d73 72%, #1a4f8f 100%);
}

.site-footer__wave {
  position: relative;
  z-index: 2;
  height: 56px;
  margin-top: -1px;
  color: #061528;
  line-height: 0;
  transform: translateY(1px);
}

.site-footer__wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(circle at 14% 22%, rgba(14, 165, 233, 0.2) 0%, transparent 36%),
    radial-gradient(circle at 86% 68%, rgba(244, 63, 94, 0.12) 0%, transparent 32%),
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.05) 0%, transparent 48%);
}

.site-footer__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.6px, transparent 0.6px);
  background-size: 24px 24px;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 72%);
}

.site-footer__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
}

.site-footer__orb--1 {
  width: 220px;
  height: 220px;
  top: 18%;
  left: 8%;
  background: rgba(56, 189, 248, 0.28);
}

.site-footer__orb--2 {
  width: 260px;
  height: 260px;
  right: 6%;
  bottom: 12%;
  background: rgba(244, 63, 94, 0.2);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.site-footer__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: 28px 36px;
  padding-bottom: 40px;
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-footer__logo:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.site-footer__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(56, 189, 248, 0.22));
}

.site-footer__tagline {
  margin: 0 0 20px;
  max-width: 320px;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--footer-glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: var(--footer-glass);
  border: 1px solid var(--footer-glass-border);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.site-footer__social-link:hover {
  transform: translateY(-4px) scale(1.03);
  color: #fff;
  box-shadow: 0 12px 24px rgba(2, 10, 24, 0.28);
}

.site-footer__social-link--instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
}

.site-footer__social-link--telegram:hover {
  background: #229ed9;
  border-color: transparent;
}

.site-footer__social-link--whatsapp:hover {
  background: #25d366;
  border-color: transparent;
}

.site-footer__social-link--email:hover {
  background: #ea4335;
  border-color: transparent;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 18px;
  min-width: 0;
}

.site-footer__panel {
  padding: 1.1rem 1.15rem 1.05rem;
  border-radius: 20px;
  border: 1px solid var(--footer-glass-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 16px 34px rgba(2, 10, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.site-footer__panel--tours {
  border-top: 2px solid rgba(251, 113, 133, 0.55);
}

.site-footer__panel--quick {
  border-top: 2px solid rgba(56, 189, 248, 0.55);
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.site-footer__heading-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__panel--tours .site-footer__heading-icon {
  color: #fecdd3;
}

.site-footer__panel--quick .site-footer__heading-icon {
  color: #bae6fd;
}

.site-footer__links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links-spacer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.site-footer__links a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer__links a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__panel--tours .site-footer__links a:hover::before {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
  transform: scale(1.15);
}

.site-footer__panel--quick .site-footer__links a:hover::before {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transform: scale(1.15);
}

.site-footer__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-3px);
}

.site-footer__newsletter {
  min-width: 0;
}

.site-footer__newsletter-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.3rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background:
    linear-gradient(145deg, rgba(7, 38, 62, 0.95) 0%, rgba(10, 58, 92, 0.9) 45%, rgba(24, 88, 150, 0.86) 100%);
  box-shadow:
    0 22px 48px rgba(2, 10, 24, 0.34),
    0 0 0 1px rgba(56, 189, 248, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.site-footer__newsletter-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.55), rgba(74, 222, 128, 0.35), rgba(251, 113, 133, 0.4));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.site-footer__newsletter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 10%, rgba(56, 189, 248, 0.24) 0%, transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(74, 222, 128, 0.14) 0%, transparent 36%);
}

.site-footer__newsletter-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer__newsletter-icon {
  position: absolute;
  top: 0.35rem;
  left: 0.55rem;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.site-footer__newsletter-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
  color: #fff;
}

.site-footer__newsletter-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__newsletter-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}

.site-footer__newsletter-input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: #0f172a;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.site-footer__newsletter-input::placeholder {
  color: #94a3b8;
}

.site-footer__newsletter-input:focus {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 1px;
}

.site-footer__newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #34d399 0%, #16a34a 55%, #15803d 100%);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-footer__newsletter-btn svg {
  flex-shrink: 0;
}

.site-footer__newsletter-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.38);
}

.site-footer__newsletter-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.site-footer__newsletter-status {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__newsletter-status.is-success {
  color: #bbf7d0;
}

.site-footer__newsletter-status.is-error {
  color: #fecaca;
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding: 16px 1rem 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.site-footer__credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.site-footer__credit-highlight {
  background: linear-gradient(90deg, #7dd3fc, #fda4af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.site-footer__copyright {
  margin: 0;
}

.site-footer__credit-sep {
  opacity: 0.45;
  margin: 0 0.35em;
}

@media (max-width: 1100px) {
  .site-footer__layout {
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 460px;
  }

  .site-footer__newsletter {
    grid-column: 1 / -1;
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  .site-footer__inner {
    padding-top: 26px;
  }

  .site-footer__layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__newsletter,
  .site-footer__brand {
    max-width: none;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-inline: 0.25rem;
  }

  .site-footer__newsletter-form {
    grid-template-columns: 1fr;
  }

  .site-footer__newsletter-btn {
    width: 100%;
  }

  .site-footer__orb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__logo,
  .site-footer__social-link,
  .site-footer__links a,
  .site-footer__newsletter-btn {
    transition: none;
  }
}
