@scope (.reference-page) {



/* Reset agresivo — evita que el tema de WP pise estilos en producción */
footer#ew-footer.ew-footer,
footer#ew-footer.ew-footer * {
  box-sizing: border-box !important;
  font-family: 'Montserrat', sans-serif !important;
}

footer#ew-footer.ew-footer ul,
footer#ew-footer.ew-footer ol,
footer#ew-footer.ew-footer li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer#ew-footer.ew-footer p,
footer#ew-footer.ew-footer h1,
footer#ew-footer.ew-footer h2,
footer#ew-footer.ew-footer h3,
footer#ew-footer.ew-footer h4 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
}

footer#ew-footer.ew-footer a {
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none !important;
}

footer#ew-footer.ew-footer {
  background: #0b2d5e !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  line-height: normal !important;
}

footer#ew-footer.ew-footer::before {
  content: '' !important;
  position: absolute !important;
  top: -60px !important;
  right: -60px !important;
  width: 220px !important;
  height: 220px !important;
  border: 2px solid rgba(0,182,189,0.15) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

footer#ew-footer.ew-footer::after {
  content: '' !important;
  position: absolute !important;
  bottom: 60px !important;
  left: -40px !important;
  width: 140px !important;
  height: 140px !important;
  border: 2px solid rgba(0,182,189,0.10) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

footer#ew-footer.ew-footer .ew-footer-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 64px 40px 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

footer#ew-footer.ew-footer .ew-footer-topbar {
  height: 3px !important;
  background: linear-gradient(90deg, #00b6bd 0%, #0b5394 60%, transparent 100%) !important;
  margin-bottom: 56px !important;
}

footer#ew-footer.ew-footer .ew-footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: 48px !important;
  padding-bottom: 56px !important;
  align-items: start !important;
}

footer#ew-footer.ew-footer .ew-footer-grid > div {
  display: block !important;
  min-width: 0 !important;
}

/* Títulos de sección (todas las columnas) */
footer#ew-footer.ew-footer .ew-footer-col-title {
  font-weight: 700 !important;
  font-size: 22px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #00b6bd !important;
  margin: 0 0 28px 0 !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(0,182,189,0.25) !important;
  position: relative !important;
  display: block !important;
  line-height: 1.2 !important;
}

footer#ew-footer.ew-footer .ew-footer-col-title::before {
  content: '' !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #00b6bd !important;
}

/* Títulos dentro columna 1 — mismo estilo, menos margen inferior */
footer#ew-footer.ew-footer .ew-footer-brand .ew-footer-col-title {
  margin-bottom: 12px !important;
}

footer#ew-footer.ew-footer .ew-footer-col-title--plain {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

footer#ew-footer.ew-footer .ew-footer-col-title--plain::before {
  display: none !important;
}

footer#ew-footer.ew-footer .ew-footer-brand .ew-footer-col-title:not(:first-child) {
  margin-top: 32px !important;
}

footer#ew-footer.ew-footer .ew-footer-brand .ew-footer-col-title--sedes {
  margin-top: 56px !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-num {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  display: block !important;
}

footer#ew-footer.ew-footer .ew-footer-sede {
  margin-bottom: 18px !important;
  padding: 6px 0 6px 10px !important;
  border-left: 2px solid rgba(0,182,189,0.4) !important;
}

footer#ew-footer.ew-footer .ew-footer-sede-city {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.4 !important;
}

footer#ew-footer.ew-footer .ew-footer-sede-addr {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* Listas de enlaces */
footer#ew-footer.ew-footer .ew-footer-links {
  margin: 0 !important;
  padding: 0 !important;
}

footer#ew-footer.ew-footer .ew-footer-links li {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
}

footer#ew-footer.ew-footer .ew-footer-links a {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
  transition: color 0.2s, padding-left 0.2s !important;
  display: inline-block !important;
}

footer#ew-footer.ew-footer .ew-footer-links a:hover {
  color: #00b6bd !important;
  padding-left: 6px !important;
}

/* Separación Enlaces → Políticas */
footer#ew-footer.ew-footer .ew-footer-links + .ew-footer-col-title {
  margin-top: 56px !important;
}

/* Contacto columna 4 */
footer#ew-footer.ew-footer .ew-footer-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-item:last-of-type {
  margin-bottom: 0 !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  background: rgba(0,182,189,0.15) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-icon svg {
  width: 15px !important;
  height: 15px !important;
  fill: #00b6bd !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-text,
footer#ew-footer.ew-footer .ew-footer-contact-text a {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.5 !important;
}

footer#ew-footer.ew-footer .ew-footer-contact-text a:hover {
  color: #00b6bd !important;
}

footer#ew-footer.ew-footer .ew-footer-demo-btn {
  display: inline-block !important;
  background: #00b6bd !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  margin-top: 32px !important;
}

/* Bottom bar */
footer#ew-footer.ew-footer .ew-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 28px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

footer#ew-footer.ew-footer .ew-footer-copy {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.4) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

footer#ew-footer.ew-footer .ew-footer-social {
  display: flex !important;
  gap: 10px !important;
}

footer#ew-footer.ew-footer .ew-footer-social a {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: border-color 0.2s, background 0.2s !important;
}

footer#ew-footer.ew-footer .ew-footer-social a:hover {
  border-color: #00b6bd !important;
  background: rgba(0,182,189,0.15) !important;
}

footer#ew-footer.ew-footer .ew-footer-social svg {
  width: 15px !important;
  height: 15px !important;
  fill: rgba(255,255,255,0.6) !important;
  transition: fill 0.2s !important;
}

footer#ew-footer.ew-footer .ew-footer-social a:hover svg {
  fill: #00b6bd !important;
}

@media (max-width: 900px) {
  footer#ew-footer.ew-footer .ew-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 580px) {
  footer#ew-footer.ew-footer .ew-footer-inner {
    padding: 40px 20px 0 !important;
  }
  footer#ew-footer.ew-footer .ew-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  footer#ew-footer.ew-footer .ew-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

}
