.elementor-48 .elementor-element.elementor-element-d4bb5fd{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-48 .elementor-element.elementor-element-d4bb5fd.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-48 .elementor-element.elementor-element-19fe429 > .elementor-widget-container{margin:0px -10px -10px -10px;padding:0px 0px 0px 0px;}.elementor-48 .elementor-element.elementor-element-19fe429.elementor-element{--flex-grow:1;--flex-shrink:0;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-48 .elementor-element.elementor-element-d4bb5fd{--content-width:100%;}}/* Start custom CSS *//* ============================================================
     CER HOSPITAL — PREMIUM FOOTER
     ============================================================ */

  /* ── VARIABLES LOCALES (Si ya las tienes arriba, puedes omitir esta parte) ── */
  :root {
    --bp-navy:       #1e3c78;
    --bp-blue:       #2c52a0;
    --bp-blue-light: #4a9fd4;
    --bp-bg-soft:    #f8f9fc;
    --bp-border:     #eaeef3;
    --cer-white:     #ffffff;
    --cer-text-soft: #555555;
    --cer-font:      'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }

  /* ── WRAPPER GENERAL DEL FOOTER ── */
  .cer-footer-wrapper {
    font-family: var(--cer-font) !important;
    background-color: var(--bp-navy) !important;
    color: var(--cer-white) !important;
    margin-top: 80px !important;
    position: relative !important;
  }

  /* ── PRE-FOOTER CTA (FULL WIDTH BLUE BANNER) ── */
  .cer-footer-cta {
    max-width: 1050px !important; /* Hace que no ocupe todo el ancho */
    margin: -60px auto 50px auto !important; /* Centra la tarjeta y la hace 'flotar' hacia arriba */
    background: linear-gradient(135deg, #1b458b 0%, var(--bp-blue) 100%) !important;
    padding: 60px 40px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-radius: 24px !important; /* Bordes bien redondeados estilo tarjeta */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important; /* Sombra profunda para separarla del fondo */
    position: relative !important;
    z-index: 10 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Brillo sutil en el borde */
  }

  .cer-cta-eyebrow {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
  }

  .cer-footer-cta h2 {
    color: var(--cer-white) !important;
    font-size: 3rem !important; /* Título mucho más grande e imponente */
    font-weight: 800 !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.5px !important;
  }

  .cer-footer-cta p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.15rem !important;
    margin: 0 auto 35px auto !important;
    max-width: 650px !important;
    line-height: 1.6 !important;
  }

  /* Botón Blanco Premium */
  .cer-btn-cta-white {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--cer-white) !important;
    color: var(--bp-navy) !important;
    padding: 18px 45px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  }

  .cer-btn-cta-white:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important;
  }

  /* Trust Badges (Checkmarks debajo del botón) */
  .cer-cta-trust-badges {
    display: flex !important;
    gap: 25px !important;
    margin-top: 30px !important;
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
  }

  .cer-cta-trust-badges span {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Responsivo para el CTA */
  @media (max-width: 768px) {
    .cer-footer-cta { padding: 60px 20px !important; }
    .cer-footer-cta h2 { font-size: 2.2rem !important; }
    .cer-cta-trust-badges { flex-direction: column !important; gap: 10px !important; align-items: center !important; }
  }

  /* ── MAIN FOOTER (4 COLUMNAS) ── */
  .cer-footer-main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 40px !important;
  }

  /* Títulos de las columnas */
  .cer-footer-title {
    color: var(--cer-white) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin: 0 0 25px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
  }

  /* Subrayado decorativo en los títulos */
  .cer-footer-title::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -8px !important;
    width: 40px !important;
    height: 3px !important;
    background-color: var(--bp-blue-light) !important;
    border-radius: 2px !important;
  }

  /* Columna 1: Brand */
  .cer-footer-brand p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin: 20px 0 !important;
    max-width: 300px !important;
  }

  .cer-footer-logo img {
    max-width: 180px !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important; /* Vuelve el logo blanco si es oscuro */
  }

  /* Redes Sociales */
  .cer-social-links {
    display: flex !important;
    gap: 15px !important;
  }

  .cer-social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.1) !important;
    color: var(--cer-white) !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
  }

  .cer-social-links a:hover {
    background: var(--bp-blue-light) !important;
    transform: translateY(-3px) !important;
  }

  /* Enlaces de Listas (Quick Links & Specialties) */
  .cer-footer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cer-footer-list li {
    margin-bottom: 15px !important;
  }

  .cer-footer-list a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .cer-footer-list a::before {
    content: '›' !important;
    color: var(--bp-blue-light) !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    transition: transform 0.3s ease !important;
  }

  .cer-footer-list a:hover {
    color: var(--cer-white) !important;
    padding-left: 5px !important; /* Efecto sutil de movimiento */
  }

  /* Columna 4: Contacto */
  .cer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cer-contact-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  .cer-contact-icon {
    color: var(--bp-blue-light) !important;
    font-size: 1.2rem !important;
    margin-top: 3px !important;
  }

  /* ── DISCLAIMER / SCOPE OF SERVICES ── */
  .cer-footer-disclaimer {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px 20px !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.6 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 30px !important;
  }

  .cer-footer-disclaimer p {
    margin: 0 !important;
  }

  .cer-footer-disclaimer strong {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
  }

  /* ── BOTTOM BAR (Copyright) ── */
  .cer-footer-bottom {
    background-color: #142850 !important; /* Un tono más oscuro que el navy */
    padding: 25px 20px !important;
    text-align: center !important;
  }

  .cer-footer-bottom-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .cer-copyright {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
  }

  .cer-legal-links {
    display: flex !important;
    gap: 20px !important;
  }

  .cer-legal-links a {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
  }

  .cer-legal-links a:hover {
    color: var(--cer-white) !important;
  }

  /* ── MAGIA PARA EL CONTENEDOR DE ENLACES ── */
  @media (min-width: 769px) {
    .cer-mobile-2col {
      display: contents !important; /* En desktop, este div "desaparece" y respeta tus 4 columnas */
    }
  }

  /* ── RESPONSIVE MEJORADO (MÓVIL) ── */
  @media (max-width: 992px) {
    .cer-footer-main { grid-template-columns: 1fr 1fr !important; } /* Tablets */
  }

  @media (max-width: 768px) {
    .cer-footer-main {
      grid-template-columns: 1fr !important;
      gap: 40px !important;
      text-align: center !important; /* Centra logo y contacto */
      padding: 40px 20px !important;
    }
    
    .cer-footer-cta { 
      max-width: 90% !important; 
      padding: 50px 20px !important; 
      margin-top: -40px !important;
    }
    
    .cer-footer-title::after {
      left: 50% !important;
      transform: translateX(-50%) !important; /* Centra la rayita azul */
    }
    
    .cer-footer-brand p { margin: 15px auto !important; }
    .cer-social-links { justify-content: center !important; }
    
    /* Aquí forzamos las 2 columnas para los links en celular */
    .cer-mobile-2col {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 15px !important;
      text-align: left !important; /* Mantiene los links alineados a la izquierda para fácil lectura */
    }
    
    .cer-mobile-2col .cer-footer-title::after {
      left: 0 !important;
      transform: none !important; /* Regresa la rayita a la izquierda solo en estos links */
    }

    .cer-contact-list li {
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 5px !important;
    }

    .cer-footer-disclaimer {
      padding: 0 20px 30px 20px !important; /* Ajuste sutil del padding en móviles */
    }
    
    .cer-footer-bottom-inner {
      flex-direction: column !important;
      justify-content: center !important;
    }
  }/* End custom CSS */