/* ==========================================
   FOOTER GENERAL
   ========================================== */

.site-footer {
  position: relative;
  width: 100%;
  background-color: #030405;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

.glow-orb-footer {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(74, 144, 226, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* ==========================================
   1. FRANJA SUPERIOR CTA
   ========================================== */

.footer-cta-strip {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.cta-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip-text {
  flex: 1;
  min-width: 300px;
}

.cta-strip-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.cta-strip-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.cta-strip-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-footer-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #b0d552 0%, #1f6d0a 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(159,203,45,0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.btn-footer-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-footer-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(159,203,45,0.45);
  color: #ffffff;
  text-decoration: none;
}

.btn-footer-primary:hover::before {
  left: 100%;
}

.btn-footer-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-footer-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-footer-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-footer-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================
   2. CUERPO PRINCIPAL
   ========================================== */

.footer-main {
  padding: 70px 0 50px 0;
}

/* Columna Marca */

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  margin-bottom: 20px;
}

.logo-placeholder {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.footer-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-social-link:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.5);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.25);
}

.social-icon-box {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.social-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Badges de confianza */

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(74, 144, 226, 0.08);
  border: 1px solid rgba(159,203,45,0.45);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.badge-item:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(159,203,45,0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

.badge-check {
  color: #9fcb2d;
  font-size: 0.85rem;
}

/* Columnas de Enlaces */

.footer-column {
  height: 100%;
}

.footer-heading {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #4a90e2, transparent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b0d552;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.footer-link-more:hover {
  color: #ffffff;
  gap: 10px;
  text-decoration: none;
}

/* Lista de Contacto */

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-icon {
  color: #b0d552;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
}

.contact-icon.whatsapp-icon {
  color: #25d366;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #4a90e2;
}

/* Newsletter */

.newsletter-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.newsletter-input-group:focus-within {
  border-color: rgba(74, 144, 226, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.15);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  min-width: 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b0d552, #7ca317);
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

.newsletter-btn:active {
  transform: scale(0.95);
}

.newsletter-microcopy {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
  margin-top: 10px;
  line-height: 1.5;
}

.newsletter-microcopy a {
  color: #9fcb2d;
  text-decoration: underline;
}

/* ==========================================
   3. BARRA DE CERTIFICACIONES
   ========================================== */

.footer-certifications {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

.certifications-title {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  align-items: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.cert-badge:hover {
  filter: grayscale(0%);
  opacity: 1;
  background: rgba(74, 144, 226, 0.08);
  border-color: rgba(74, 144, 226, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cert-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cert-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}

/* ==========================================
   4. BARRA INFERIOR LEGAL
   ========================================== */

.footer-legal {
  padding: 30px 0 25px 0;
  background: rgba(0, 0, 0, 0.3);
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-col-left p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  margin: 0;
}

.legal-col-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-col-center a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-col-center a:hover {
  color: rgba(159,203,45,0.45);
}

.legal-separator {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
}

.legal-col-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lang-link.active {
  color: #ffffff;
  font-weight: 600;
}

.lang-link:hover {
  color: #9fcb2d;
}

.credits {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  margin: 0;
}

.credits a {
  color: #9fcb2d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits a:hover {
  color: #ffffff;
}

.legal-cookies-microcopy {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.legal-cookies-microcopy p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  margin: 0;
  line-height: 1.5;
}

.legal-cookies-microcopy a {
  color: #b0d552;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-cookies-microcopy a:hover {
  color: #ffffff;
}

/* Placeholders temporales para iconos */

.icon-placeholder {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 991px) {
  .footer-brand {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .footer-main {
    padding: 50px 0 30px 0;
  }
}

@media (max-width: 991px) {
  .cta-strip-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 991px) {
  .footer-cta-strip {
    padding: 50px 0;
  }
}

@media (max-width: 991px) {
  .cta-strip-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .footer-cta-strip {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .cta-strip-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .cta-strip-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .cta-strip-buttons {
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .btn-footer-primary, .btn-footer-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 20px 0;
  }
}

@media (max-width: 768px) {
  .footer-heading {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .footer-links a, .footer-contact-list li {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .footer-certifications {
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .cert-badge {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .cert-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .footer-legal {
    padding: 25px 0 20px 0;
  }
}

@media (max-width: 768px) {
  .legal-row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .legal-col-center {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .legal-col-right {
    justify-content: center;
  }
}

