/* ================================================
   footer.css — Caribbean Gold Luxury Footer v9
   Deep charcoal + warm ivory text + gold accents
   ================================================ */

footer {
  background: #0B1220;
  color: #F8FAFC;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(47,98,212,0.16);
}

/* Línea superior dorada — separador de lujo */
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(47,98,212,0.40) 15%,
    #5B8DEF 35%,
    #2F62D4 55%,
    #1E47A0 75%,
    rgba(30,71,160,0.30) 88%,
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(47,98,212,0.20);
}

/* Nebulosa de fondo suave */
footer::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 0%   100%, rgba(47,98,212,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100%  0%,  rgba(30,71,160,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50%  80%,  rgba(47,98,212,0.02) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Bloque superior — grid principal ── */
.footer-top {
  padding: 60px 40px 44px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  position: relative; z-index: 1;
}

/* Fallback grid */
.footer-grid {
  padding: 60px 40px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* ── Columna de marca ── */
.footer-brand-name {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer-brand-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2F62D4;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 300px;
}

/* ── Contacto — iconos dorados ── */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 11px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  font-weight: 400;
}
.footer-contact-item:hover {
  color: #5B8DEF;
  transform: translateX(3px);
}

.footer-contact-item .material-icons {
  font-size: 17px;
  color: #2F62D4;
  flex-shrink: 0;
}

.footer-contact-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2F62D4; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(47,98,212,0.50);
}

/* ── Títulos de columna — small caps dorado tenue ── */
.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(47,98,212,0.60);
  margin-bottom: 22px;
}

/* ── Links de navegación ── */
.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 13px;
  font-weight: 400;
  transition: color 0.22s ease, transform 0.22s ease;
  position: relative;
  overflow: hidden;
}
.footer-link:hover {
  color: #5B8DEF;
  transform: translateX(5px);
}

/* ── Divisor horizontal dorado sutil ── */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,98,212,0.20), transparent);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative; z-index: 1;
}

/* ── Barra inferior ── */
.footer-bottom {
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.footer-badge {
  background: rgba(47,98,212,0.10);
  border: 1px solid rgba(47,98,212,0.22);
  color: rgba(47,98,212,0.80);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.footer-badge:hover {
  background: rgba(47,98,212,0.16);
  color: #5B8DEF;
}

/* ── Logo en footer ── */
footer .nav-logo-img,
footer img.footer-logo {
  filter: brightness(0) invert(1) opacity(0.70);
  transition: opacity 0.2s;
}
footer img.footer-logo:hover {
  opacity: 1;
}

/* ── Redes sociales (si existen) ── */
.footer-social {
  display: flex; gap: 10px; margin-top: 20px;
}
.footer-social-link {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(47,98,212,0.22);
  background: rgba(47,98,212,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(47,98,212,0.70); font-size: 17px;
  text-decoration: none;
  transition: all 0.22s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}
.footer-social-link:hover {
  background: rgba(47,98,212,0.16);
  border-color: rgba(47,98,212,0.45);
  color: #5B8DEF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47,98,212,0.20);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid,
  .footer-top {
    padding: 48px 20px 36px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-desc { max-width: 100%; }
  .footer-divider { margin: 0 20px; }
  .footer-brand-name { font-size: 18px; }
}

@media (max-width: 480px) {
  .footer-grid,
  .footer-top {
    padding: 40px 16px 28px;
  }
  .footer-bottom { padding: 16px; }
  .footer-copy { font-size: 11px; }
}
