/* ════════════════════════════════════════════════
   FOOTER — Diseño premium completo
   ════════════════════════════════════════════════ */

footer {
  background: #0f0b08;
  color: rgba(255,255,255,.45);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Orbes decorativos de fondo */
footer::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.06) 0%, transparent 65%);
  pointer-events: none;
}
footer::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,132,126,.05) 0%, transparent 65%);
  pointer-events: none;
}

.footer-inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }

/* ── Franja superior con CTA ── */
.footer-cta-band {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-left { display: flex; flex-direction: column; gap: 6px; }
.footer-cta-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold2); opacity: .8;
}
.footer-cta-title {
  font-family: var(--serif); font-size: 28px; font-weight: 300;
  font-style: italic; color: var(--gold3); line-height: 1.2;
}
.footer-cta-title em { font-style: normal; color: var(--rose); }
.footer-cta-sub { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.5; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--sans);
  box-shadow: 0 6px 24px rgba(37,211,102,.3);
  transition: all .25s cubic-bezier(.34,1.3,.64,1);
  flex-shrink: 0;
}
.footer-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
}
.footer-cta-btn:active { transform: scale(.97); }

/* ── Cuerpo principal ── */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 52px 40px 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Columna brand */
.footer-brand {
  font-family: var(--serif); font-size: 34px; font-weight: 300;
  font-style: italic; color: var(--gold3); margin-bottom: 10px; line-height: 1;
}
.footer-brand em { font-style: normal; color: var(--rose); }
.footer-tagline {
  font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.38);
  max-width: 240px; margin-bottom: 24px;
}

/* Stats mini en footer */
.footer-stats {
  display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.footer-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.footer-stat-num {
  font-family: var(--serif); font-size: 22px; font-weight: 300;
  font-style: italic; color: var(--gold3); line-height: 1;
}
.footer-stat-lbl {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.3); font-weight: 600;
}
.footer-stat-sep {
  width: 1px; background: rgba(255,255,255,.1); align-self: stretch; margin: 4px 0;
}

/* Social */
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: all .28s cubic-bezier(.34,1.4,.64,1);
  text-decoration: none; color: rgba(255,255,255,.5);
}
.footer-social-btn:hover {
  background: rgba(201,169,110,.18); border-color: var(--gold);
  color: var(--gold3); transform: translateY(-4px) scale(1.1);
}

/* Columnas de links */
.footer-col h4 {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold3); font-weight: 700; margin-bottom: 18px;
  padding-bottom: 10px; position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 20px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.38); cursor: pointer;
  text-decoration: none; transition: all .2s;
  display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a:hover { color: var(--gold3); transform: translateX(5px); }
.footer-col ul li a .fc-arrow {
  font-size: 10px; opacity: 0; transition: opacity .2s, transform .2s;
  transform: translateX(-4px);
}
.footer-col ul li a:hover .fc-arrow { opacity: 1; transform: translateX(0); }

.footer-info-link { display: flex !important; align-items: center; gap: 7px; }
.footer-info-hint {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.16); margin-top: 16px; font-weight: 500;
}
/* Toggle arrow — hidden on desktop */
.footer-col-toggle { display: none; }

/* ── Franja de links legales ── */
.footer-quick-links {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 20px 40px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-ql-label {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.22); font-weight: 600; margin-right: 4px; flex-shrink: 0;
}
.footer-ql-btn {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.42); border-radius: 20px; padding: 6px 14px;
  font-size: 11px; font-weight: 600; font-family: var(--sans); cursor: pointer;
  transition: all .22s; letter-spacing: .03em;
}
.footer-ql-btn:hover {
  background: rgba(201,169,110,.14); border-color: var(--gold);
  color: var(--gold3); transform: translateY(-2px);
}

/* ── Barra inferior ── */
.footer-bottom {
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 12px;
  color: rgba(255,255,255,.25);
}
.footer-bottom-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.2); }
.footer-made { display: flex; align-items: center; gap: 6px; }
.footer-made-heart {
  color: var(--rose); font-size: 14px;
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  56% { transform: scale(1); }
}

/* Línea decorativa dorada */
.footer-rule {
  width: 100%; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.25), rgba(196,132,126,.15), transparent);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media(max-width:1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
  .footer-stats { gap: 24px; }
}

@media(max-width:768px) {
  .footer-cta-band { padding: 28px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-cta-title { font-size: 22px; }
  .footer-cta-btn { width: 100%; justify-content: center; }

  /* Footer top: brand full width, luego cols en acordeón */
  .footer-top {
    display: flex; flex-direction: column;
    gap: 0; padding: 0; border-bottom: none;
  }

  /* Brand row — compacto horizontal */
  .footer-top > div:first-child {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 20px 20px; gap: 16px; flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-brand { font-size: 26px; margin-bottom: 0; }
  .footer-tagline { display: none; }
  .footer-stats { gap: 16px; margin-bottom: 0; }
  .footer-stat-num { font-size: 17px; }
  .footer-stat-lbl { font-size: 9px; }
  .footer-social { gap: 8px; }
  .footer-social-btn { width: 34px; height: 34px; font-size: 15px; }

  /* Columnas de links: acordeón */
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-col h4 {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; margin-bottom: 0; cursor: pointer;
    font-size: 11px; letter-spacing: .14em;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .footer-col h4::after { display: none; }
  .footer-col h4::before {
    content: none;
  }
  .footer-col-toggle {
    font-size: 14px; color: rgba(255,255,255,.3);
    transition: transform .25s; flex-shrink: 0;
    display: inline-block;
  }
  .footer-col.open .footer-col-toggle { transform: rotate(180deg); }
  .footer-col ul {
    max-height: 0; overflow: hidden;
    transition: max-height .3s cubic-bezier(.4,0,.2,1), padding .3s;
    padding: 0 20px; gap: 0;
  }
  .footer-col.open ul {
    max-height: 300px;
    padding: 0 20px 16px;
    gap: 12px;
  }
  .footer-col ul li a { font-size: 13px; }
  .footer-info-hint { display: none; }

  .footer-quick-links { padding: 16px 20px; gap: 6px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .footer-bottom-dot { display: none; }
}

@media(max-width:480px) {
  .footer-cta-band { padding: 24px 16px; }
  .footer-top > div:first-child { padding: 20px 16px 18px; }
  .footer-col h4 { padding: 14px 16px; }
  .footer-col ul { padding: 0 16px; }
  .footer-col.open ul { padding: 0 16px 14px; }
  .footer-quick-links { padding: 14px 16px; }
  .footer-bottom { padding: 14px 16px; }
  .footer-ql-btn { font-size: 10px; padding: 5px 10px; }
}

/* ════════════════════════════════════════════════
   DARK MODE — footer ya es oscuro por defecto,
   solo ajustamos variables que cambian en dark
   ════════════════════════════════════════════════ */
body.dark-mode footer { background: #080604; }
body.dark-mode footer::before { background: radial-gradient(circle, rgba(201,169,110,.04) 0%, transparent 65%); }
body.dark-mode .footer-rule { background: linear-gradient(90deg, transparent, rgba(201,169,110,.18), transparent); }
body.dark-mode .footer-cta-band { border-color: rgba(255,255,255,.05); }
body.dark-mode .footer-top { border-color: rgba(255,255,255,.05); }
body.dark-mode .footer-quick-links { border-color: rgba(255,255,255,.04); }

/* Social hover por red */
.footer-social-wa:hover { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; box-shadow: 0 8px 24px rgba(37,211,102,.4); transform: translateY(-5px) scale(1.15) !important; }
.footer-social-ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; border-color: transparent !important; color: #fff !important; transform: translateY(-5px) scale(1.15) !important; }
.footer-social-tt:hover { background: #010101 !important; border-color: #69c9d0 !important; color: #fff !important; box-shadow: 0 8px 24px rgba(105,201,208,.3); transform: translateY(-5px) scale(1.15) !important; }

/* Footer links hover mejorado */
.footer-col ul li a {
  position: relative;
  padding: 3px 0;
}
.footer-col ul li a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.footer-col ul li a:hover::before { width: 100%; }
