.elementor-2314 .elementor-element.elementor-element-5c27e419{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overlay-opacity:0.8;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:40px;--padding-left:40px;--padding-right:40px;}.elementor-2314 .elementor-element.elementor-element-5c27e419:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F8F8F8;background-image:var(--wpr-bg-bba734ab-c917-451b-a2ef-7e6d17ceedca);background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-2314 .elementor-element.elementor-element-5c27e419::before, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-background-video-container::before, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .e-con-inner > .elementor-background-video-container::before, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-background-slideshow::before, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .e-con-inner > .elementor-background-slideshow::before, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-astglobalcolor7 );--background-overlay:'';}.elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-shape-bottom .elementor-shape-fill, .elementor-2314 .elementor-element.elementor-element-5c27e419 > .e-con-inner > .elementor-shape-bottom .elementor-shape-fill{fill:var( --e-global-color-astglobalcolor5 );}.elementor-2314 .elementor-element.elementor-element-514eef6b{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-7d2b98c2{text-align:center;}.elementor-2314 .elementor-element.elementor-element-7d2b98c2 .elementor-heading-title{color:var( --e-global-color-astglobalcolor5 );}.elementor-2314 .elementor-element.elementor-element-5c91c4dc{text-align:center;color:var( --e-global-color-astglobalcolor4 );}.elementor-2314 .elementor-element.elementor-element-37e042ae{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-37e042ae:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-37e042ae > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F8F8F8;}.elementor-2314 .elementor-element.elementor-element-16bac0d1{--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;}.elementor-2314 .elementor-element.elementor-element-16bac0d1.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-2314 .elementor-element.elementor-element-75003008{--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;}.elementor-2314 .elementor-element.elementor-element-75003008.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-2314 .elementor-element.elementor-element-46486208{--display:flex;}.elementor-2314 .elementor-element.elementor-element-46486208:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-46486208 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EFF9FF;}.elementor-2314 .elementor-element.elementor-element-45f6609d > .elementor-widget-container{margin:0px 20px 0px 20px;padding:0px 20px 0px 20px;}.elementor-2314 .elementor-element.elementor-element-45f6609d p{margin-block-end:0px;}.elementor-2314 .elementor-element.elementor-element-517401ef{--display:flex;}.elementor-2314 .elementor-element.elementor-element-517401ef:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-517401ef > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EFF6FF;}.elementor-2314 .elementor-element.elementor-element-e1980d2{--display:flex;}.elementor-2314 .elementor-element.elementor-element-1f9bcea8{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overlay-opacity:0.8;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:104px;--padding-left:40px;--padding-right:40px;}.elementor-2314 .elementor-element.elementor-element-1f9bcea8:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-astglobalcolor4 );}.elementor-2314 .elementor-element.elementor-element-1f9bcea8::before, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-background-video-container::before, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .e-con-inner > .elementor-background-video-container::before, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-background-slideshow::before, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .e-con-inner > .elementor-background-slideshow::before, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-shape-top .elementor-shape-fill, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .e-con-inner > .elementor-shape-top .elementor-shape-fill{fill:var( --e-global-color-astglobalcolor5 );}.elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .elementor-shape-top svg, .elementor-2314 .elementor-element.elementor-element-1f9bcea8 > .e-con-inner > .elementor-shape-top svg{height:240px;}.elementor-2314 .elementor-element.elementor-element-694e53df{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-7d1f4f72 > .elementor-widget-container{padding:0px 0px 20px 0px;}.elementor-2314 .elementor-element.elementor-element-7d1f4f72{text-align:center;}.elementor-2314 .elementor-element.elementor-element-74ab162 > .elementor-widget-container{padding:0px 0px 20px 0px;}.elementor-2314 .elementor-element.elementor-element-74ab162{text-align:center;}.elementor-2314 .elementor-element.elementor-element-1aa649a4 > .elementor-widget-container{margin:20px 0px 60px 0px;}.elementor-2314 .elementor-element.elementor-element-1aa649a4 .elementor-button-content-wrapper{flex-direction:row;}.elementor-2314 .elementor-element.elementor-element-1aa649a4 .elementor-button .elementor-button-content-wrapper{gap:16px;}.elementor-2314 .elementor-element.elementor-element-1aa649a4 .elementor-button{box-shadow:0px 8px 16px -8px rgba(56, 125, 255, 0.5);}.elementor-2314 .elementor-element.elementor-element-5d89567{--display:flex;}.elementor-2314 .elementor-element.elementor-element-a926377 > .elementor-widget-container{padding:0px 50px 0px 50px;}body.elementor-page-2314:not(.elementor-motion-effects-element-type-background), body.elementor-page-2314 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#ffffff;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-2314 .elementor-element.elementor-element-5c27e419{--content-width:700px;}.elementor-2314 .elementor-element.elementor-element-16bac0d1{--width:22.236%;}.elementor-2314 .elementor-element.elementor-element-75003008{--width:82%;}}@media(max-width:1024px) and (min-width:768px){.elementor-2314 .elementor-element.elementor-element-514eef6b{--width:100%;}}@media(min-width:1025px){.elementor-2314 .elementor-element.elementor-element-5c27e419:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:scroll;}}@media(max-width:1024px){.elementor-2314 .elementor-element.elementor-element-5c27e419:not(.elementor-motion-effects-element-type-background), .elementor-2314 .elementor-element.elementor-element-5c27e419 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:center center;background-size:cover;}.elementor-2314 .elementor-element.elementor-element-5c27e419{--padding-top:160px;--padding-bottom:104px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-514eef6b{--margin-top:0px;--margin-bottom:0px;--margin-left:80px;--margin-right:80px;}.elementor-2314 .elementor-element.elementor-element-7d2b98c2{text-align:center;}.elementor-2314 .elementor-element.elementor-element-1f9bcea8{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:64px;--padding-left:40px;--padding-right:40px;}.elementor-2314 .elementor-element.elementor-element-74ab162 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-2314 .elementor-element.elementor-element-74ab162{text-align:center;}}@media(max-width:767px){.elementor-2314 .elementor-element.elementor-element-5c27e419{--padding-top:120px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-514eef6b{--margin-top:0px;--margin-bottom:0px;--margin-left:24px;--margin-right:24px;}.elementor-2314 .elementor-element.elementor-element-7d2b98c2{text-align:center;}.elementor-2314 .elementor-element.elementor-element-37e042ae{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-75003008{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-2812abc2 > .elementor-widget-container{margin:0px 0px 070px 0px;padding:10px 10px 10px 10px;}.elementor-2314 .elementor-element.elementor-element-46486208{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-2314 .elementor-element.elementor-element-45f6609d > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-2314 .elementor-element.elementor-element-1f9bcea8{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2314 .elementor-element.elementor-element-a926377 > .elementor-widget-container{padding:0px 0px 0px 0px;}}/* Start custom CSS for shortcode, class: .elementor-element-15ea18cb *//* ================================
   MENÚ CIUDADES - VERSIÓN FINAL OPTIMIZADA
   ================================ */

/* Variables CSS optimizadas y mejor organizadas */
:root {
  /* Colores principales */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-bg: #eff6ff;
  
  /* Colores neutros */
  --text: #111827;
  --text-muted: #6b7280;
  --border: #d1d5db;
  --border-light: #e5e7eb;
  --bg-white: #ffffff;
  --bg-hover: #f9fafb;
  --bg-gray: #f3f4f6;
  
  /* Espaciado sistemático */
  --space-xs: 0.25rem; /* 4px */
  --space-sm: 0.5rem;  /* 8px */
  --space-md: 1rem;    /* 16px */
  --space-lg: 1.25rem; /* 20px */
  --space-xl: 1.5rem;  /* 24px */
  
  /* Bordes y sombras */
  --radius: 0.75rem;   /* 12px */
  --radius-sm: 0.5rem; /* 8px */
  --radius-xs: 0.375rem; /* 6px */
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  
  /* Transiciones */
  --transition: 0.2s ease-in-out;
}

/* Reset mejorado y más específico */
.menu-container *,
.menu-container *::before,
.menu-container *::after {
  box-sizing: border-box;
}

/* Contenedor principal con mejor aislamiento */
.menu-container {
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  width: 100%;
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  isolation: isolate; /* Crea un nuevo contexto de apilamiento */
}

/* Título con mejor semántica visual */
.menu-title {
  margin: 0;
  padding: var(--space-lg) var(--space-xl);
  
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--primary);
  text-align: center;
  
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  
  position: relative;
}

.menu-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Lista principal con mejor estructura */
.menu-ciudades {
  margin: 0;
  padding: 0;
  list-style: none;
  
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  
  overflow: hidden;
}

/* Items de lista optimizados */
.menu-ciudades li {
  position: relative;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.menu-ciudades li:last-child {
  border-bottom: none;
}

/* Pseudo-elemento optimizado */
.menu-ciudades li::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease;
  z-index: 1;
}

/* Estados de hover mejorados */
.menu-ciudades li:hover {
  background: var(--bg-hover);
  transform: translateX(4px);
}

.menu-ciudades li:hover::before {
  width: 4px;
}

/* Enlaces con mejor accesibilidad */
.menu-ciudades li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  
  font-size: 1rem; /* 16px */
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.menu-ciudades li a:hover,
.menu-ciudades li a:focus-visible {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Contador optimizado */
.contador-centros {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem; /* 32px */
  height: 2rem;
  padding: var(--space-xs) var(--space-sm);
  
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  color: var(--primary);
  
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  
  transition: all var(--transition);
}

.menu-ciudades li:hover .contador-centros,
.accordion-content li:hover .contador-centros {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary-dark);
  transform: scale(1.05);
}

/* Control de visibilidad semántico */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* ================================
   VERSIÓN MÓVIL OPTIMIZADA
   ================================ */

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  /* Ajustes de título móvil */
  .menu-title {
    font-size: 1.125rem; /* 18px */
    padding: var(--space-md) var(--space-lg);
  }
  
  /* Contenedor accordion */
  .menu-ciudades-accordion {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  
  /* Botón toggle mejorado */
  .accordion-toggle {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    
    font-family: inherit;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    line-height: 1.4;
    color: var(--bg-white);
    text-align: left;
    
    background: #1f2937;
    border: none;
    cursor: pointer;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    transition: background-color var(--transition);
    
    /* Mejoras de accesibilidad */
    outline-offset: 2px;
    -webkit-tap-highlight-color: transparent;
  }
  
  .accordion-toggle:hover,
  .accordion-toggle:focus-visible {
    background: #374151;
  }
  
  .accordion-toggle:active {
    transform: scale(0.98);
  }
  
  /* Icono del accordion */
  .accordion-toggle::after {
    content: '▼';
    font-size: 0.875rem; /* 14px */
    opacity: 0.8;
    transition: transform 0.3s ease;
  }
  
  .accordion-toggle.active::after {
    transform: rotate(180deg);
    opacity: 1;
  }
  
  /* Contenido accordion */
  .accordion-content {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    
    background: var(--bg-white);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .accordion-content.show {
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 70vh;
    }
  }
  
  /* Items accordion */
  .accordion-content li {
    position: relative;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    transition: all var(--transition);
  }
  
  .accordion-content li:first-child {
    border-top: none;
  }
  
  .accordion-content li::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: 1;
  }
  
  .accordion-content li:hover {
    background: var(--bg-hover);
    transform: translateX(3px);
  }
  
  .accordion-content li:hover::before {
    width: 3px;
  }
  
  .accordion-content li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    
    font-size: 0.9375rem; /* 15px */
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    text-decoration: none;
    
    position: relative;
    z-index: 2;
    transition: all var(--transition);
    
    -webkit-tap-highlight-color: transparent;
  }
  
  .accordion-content li a:hover,
  .accordion-content li a:focus-visible {
    color: var(--primary-dark);
    font-weight: 600;
  }
  
  /* Contador móvil */
  .accordion-content .contador-centros {
    min-width: 1.75rem; /* 28px */
    height: 1.75rem;
    font-size: 0.75rem; /* 12px */
    padding: var(--space-xs) var(--space-sm);
  }
  
  /* Scrollbar personalizada */
  .accordion-content::-webkit-scrollbar {
    width: 4px;
  }
  
  .accordion-content::-webkit-scrollbar-track {
    background: var(--bg-gray);
  }
  
  .accordion-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
  }
  
  .accordion-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}

/* ================================
   ACCESIBILIDAD Y OPTIMIZACIONES FINALES
   ================================ */

/* Estados de focus mejorados */
.accordion-toggle:focus-visible,
.accordion-content li a:focus-visible,
.menu-ciudades li a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Soporte para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Optimización para pantallas muy pequeñas */
@media (max-width: 480px) {
  :root {
    --space-md: 0.75rem; /* 12px */
    --space-lg: 1rem;    /* 16px */
    --space-xl: 1.25rem; /* 20px */
  }
  
  .menu-title {
    font-size: 1.0625rem; /* 17px */
  }
  
  .accordion-toggle {
    font-size: 0.9375rem; /* 15px */
  }
  
  .accordion-content li a {
    font-size: 0.875rem; /* 14px */
    padding: var(--space-sm) var(--space-md);
  }
  
  .contador-centros,
  .accordion-content .contador-centros {
    min-width: 1.625rem; /* 26px */
    height: 1.625rem;
    font-size: 0.6875rem; /* 11px */
  }
}

/* Mejora de contraste para mejor accesibilidad */
@media (prefers-contrast: high) {
  :root {
    --border: #9ca3af;
    --border-light: #d1d5db;
    --text: #000000;
  }
}

/* Estados activos sutiles */
.menu-ciudades li:active,
.accordion-content li:active {
  transform: scale(0.99) translateX(4px);
}

/* Optimización de rendimiento */
.menu-ciudades,
.accordion-content {
  contain: layout style;
}

.contador-centros {
  contain: layout style;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-2812abc2 *//* ====== GRID RESPONSIVE MEJORADO ====== */
.grid-centros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .grid-centros {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .grid-centros {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ====== TARJETA OPTIMIZADA ====== */
.centro-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
}

.centro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.centro-card:focus {
  outline: 2px solid #387DFF;
  outline-offset: 2px;
}

/* ====== IMAGEN MEJORADA ====== */
.centro-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  overflow: hidden;
}

.centro-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.03) 100%);
  z-index: 1;
}

.centro-card:hover .centro-img {
  transform: scale(1.04);
}

/* ====== BADGE MEJORADO ====== */
.badge-destacado {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #387DFF;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(56, 125, 255, 0.2);
  backdrop-filter: blur(8px);
}

/* ====== CONTENIDO DE LA TARJETA ====== */
.centro-info {
  padding: 22px;
}

/* ====== TÍTULO MEJORADO ====== */
.centro-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #387DFF;
  line-height: 1.3;
  transition: color 0.3s ease;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.centro-card:hover .centro-title {
  color: #1a63d0;
}

/* ====== DIRECCIÓN MEJORADA ====== */
.centro-direccion {
  margin: 0 0 14px;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.centro-direccion::before {
  content: "📍";
  font-size: 12px;
  opacity: 0.7;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ====== SISTEMA DE ESTRELLAS OPTIMIZADO ====== */
.star-rating {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: #FFD700;
  line-height: 1;
  margin: 0 0 8px;
  justify-content: center;
  width: 100%;
}

.star-rating .star {
  margin-right: 3px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 1px rgba(255, 215, 0, 0.3));
}

.star-rating .star:last-child {
  margin-right: 0;
}

.star-rating .star.empty {
  color: #E2E8F0;
  filter: none;
}

.star-rating .half {
  color: #E2E8F0;
  position: relative;
  filter: none;
}

.star-rating .half::after {
  content: '★';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  filter: drop-shadow(0 1px 1px rgba(255, 215, 0, 0.3));
}

/* ====== INFORMACIÓN ADICIONAL ====== */
.centro-rating-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: #888;
}

.centro-rating-number {
  font-weight: 600;
  color: #555;
}

/* ====== UTILIDADES ====== */
.text-center {
  text-align: center;
}

/* ====== MEJORAS RESPONSIVAS ====== */
@media (max-width: 768px) {
  .centro-info {
    padding: 18px;
  }
  
  .centro-title {
    font-size: 18px;
  }
  
  .centro-direccion {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .grid-centros {
    margin-top: 16px;
  }
  
  .centro-info {
    padding: 16px;
  }
  
  .centro-title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  
  .centro-direccion {
    margin-bottom: 12px;
  }
}

/* ====== ESTADOS DE CARGA ====== */
.centro-card.loading {
  background: linear-gradient(90deg, #f8f9fa 25%, #e9ecef 50%, #f8f9fa 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ====== ACCESIBILIDAD ====== */
@media (prefers-reduced-motion: reduce) {
  .centro-card,
  .centro-img,
  .centro-title,
  .star-rating .star {
    transition: none !important;
  }
  
  .centro-card:hover {
    transform: translateY(-2px);
  }
  
  .centro-card:hover .centro-img {
    transform: scale(1.01);
  }
}

/* ====== MEJORAS VISUALES SUTILES ====== */
.centro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #387DFF, #1a63d0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.centro-card:hover::before {
  opacity: 1;
}

/* ====== SEPARADOR VISUAL ====== */
.centro-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

/* ====== ANIMACIÓN DE ENTRADA ====== */
.centro-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.centro-card:nth-child(1) { animation-delay: 0.1s; }
.centro-card:nth-child(2) { animation-delay: 0.2s; }
.centro-card:nth-child(3) { animation-delay: 0.3s; }
.centro-card:nth-child(4) { animation-delay: 0.4s; }
.centro-card:nth-child(5) { animation-delay: 0.5s; }
.centro-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-45f6609d */<style>
    /* CSS para copiar al Custom CSS de Elementor */
    .auditive-content {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.7;
        color: #2c3e50;
        max-width: 100%;
    }

    .auditive-content h1 {
        color: #1a365d;
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 2rem;
        text-align: center;
        border-bottom: 3px solid #3182ce;
        padding-bottom: 1rem;
    }

    .auditive-content h2 {
        color: #2d3748;
        font-size: 1.5rem;
        font-weight: 600;
        margin: 2.5rem 0 1.5rem 0;
        padding-left: 1rem;
        border-left: 4px solid #4299e1;
        background: linear-gradient(90deg, #f7fafc 0%, transparent 100%);
        padding: 0.8rem 1rem;
        border-radius: 0 8px 8px 0;
    }

    .auditive-content h3 {
        color: #2d3748;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 1.5rem 0 0.8rem 0;
    }

    .intro-section {
        background: linear-gradient(135deg, #1a5fb4 0%, #3584e4 100%); /* Cambiado a azul a azul claro */
        color: white;
        padding: 2rem;
        border-radius: 12px;
        margin-bottom: 2rem;
        box-shadow: 0 8px 25px rgba(26, 95, 180, 0.15); /* Ajustado color de sombra */
    }

    .intro-section p {
        font-size: 1.1rem;
        margin: 0;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .service-card {
        background: #f8f9ff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1.5rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .service-card h3 {
        color: #4a5568;
        margin-top: 0;
        border-bottom: 2px solid #4299e1;
        padding-bottom: 0.5rem;
    }

    .service-card ul {
        list-style: none;
        padding: 0;
    }

    .service-card li {
        padding: 0.4rem 0;
        position: relative;
        padding-left: 1.5rem;
    }

    .service-card li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #4299e1;
        font-weight: bold;
    }

    .advantages-section {
        background: #f7fafc;
        padding: 2rem;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .advantage-item {
        background: white;
        margin: 1rem 0;
        padding: 1.5rem;
        border-radius: 8px;
        border-left: 4px solid #38a169;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .advantage-item h3 {
        color: #2d3748;
        margin: 0 0 0.8rem 0;
        font-size: 1.1rem;
    }

    .advantage-item p {
        margin: 0;
        color: #4a5568;
    }

    .care-guide {
        background: #ebf8ff; /* Cambiado a azul claro */
        padding: 2rem;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .care-item {
        background: rgba(255, 255, 255, 0.8);
        margin: 1rem 0;
        padding: 1.2rem;
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .care-item h3 {
        color: #2c5282; /* Cambiado a azul oscuro para contraste */
        margin: 0 0 0.5rem 0;
    }

    .care-item p {
        margin: 0;
        color: #2d3748;
    }

    .cta-section {
        background: linear-gradient(135deg, #1a5fb4 0%, #3584e4 100%); /* Cambiado a azul a azul claro */
        color: white;
        padding: 2.5rem;
        border-radius: 12px;
        text-align: center;
        margin: 2rem 0;
        box-shadow: 0 10px 30px rgba(26, 95, 180, 0.2); /* Ajustado color de sombra */
    }

    .cta-section h2 {
        color: white;
        border: none;
        background: none;
        padding: 0;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin: 1rem 0;
        opacity: 0.95;
    }

    .stats-highlight {
        background: rgba(255, 255, 255, 0.2);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1.5rem;
        backdrop-filter: blur(10px);
    }

    .emoji-icon {
        font-size: 1.3rem;
        margin-right: 0.5rem;
        vertical-align: middle;
    }

    @media (max-width: 768px) {
        .auditive-content h1 {
            font-size: 1.8rem;
        }
        
        .services-grid {
            grid-template-columns: 1fr;
        }
        
        .intro-section,
        .advantages-section,
        .care-guide,
        .cta-section {
            padding: 1.5rem;
        }
    }
</style>/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-a926377 */<style>
        .faq-audifonos-widget {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #2c3e50;
            position: relative;
            padding: 0;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .faq-audifonos-widget * {
            box-sizing: border-box;
        }

        .faq-header {
            text-align: center;
            margin-bottom: 2.5rem;
            padding: 2rem 1rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .faq-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: shimmer 8s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
            50% { transform: translateX(0%) translateY(0%) rotate(180deg); }
        }

        .faq-header h1 {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            position: relative;
            z-index: 2;
        }

        .faq-header p {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            opacity: 0.95;
            position: relative;
            z-index: 2;
            max-width: none;
        }

        .search-container {
            margin-bottom: 2rem;
            position: relative;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3.5rem;
            border: 2px solid #e2e8f0;
            border-radius: 25px;
            font-size: 1rem;
            background: #ffffff;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .search-input:focus {
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
        }

        .search-input::placeholder {
            color: #a0aec0;
            transition: color 0.3s ease;
        }

        .search-input:focus::placeholder {
            color: #cbd5e0;
        }

        .search-icon {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: #a0aec0;
            width: 20px;
            height: 20px;
            transition: color 0.3s ease;
        }

        .search-input:focus + .search-icon {
            color: #667eea;
        }

        .search-results-info {
            text-align: center;
            margin-bottom: 1rem;
            color: #718096;
            font-size: 0.9rem;
            display: none;
        }

        .faq-container {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.06);
            overflow: hidden;
            border: 1px solid #f1f5f9;
        }

        .faq-item {
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .faq-item:nth-child(1) { animation-delay: 0.1s; }
        .faq-item:nth-child(2) { animation-delay: 0.15s; }
        .faq-item:nth-child(3) { animation-delay: 0.2s; }
        .faq-item:nth-child(4) { animation-delay: 0.25s; }
        .faq-item:nth-child(5) { animation-delay: 0.3s; }
        .faq-item:nth-child(6) { animation-delay: 0.35s; }
        .faq-item:nth-child(7) { animation-delay: 0.4s; }
        .faq-item:nth-child(8) { animation-delay: 0.45s; }
        .faq-item:nth-child(9) { animation-delay: 0.5s; }
        .faq-item:nth-child(10) { animation-delay: 0.55s; }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-item:hover:not(.open) {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
            transform: translateX(4px);
        }

        .faq-item.open {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.04) 0%, rgba(118, 75, 162, 0.04) 100%);
            box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.1);
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
            cursor: pointer;
            user-select: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .faq-question::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .faq-item.open .faq-question::before {
            transform: scaleY(1);
        }

        .question-text {
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            font-weight: 600;
            color: #2d3748;
            flex: 1;
            margin-right: 1rem;
            transition: color 0.3s ease;
        }

        .faq-item.open .question-text {
            color: #667eea;
        }

        .question-icon {
            width: 24px;
            height: 24px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            color: #a0aec0;
            flex-shrink: 0;
        }

        .faq-item.open .question-icon {
            transform: rotate(180deg);
            color: #667eea;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
        }

        .faq-item.open .faq-answer {
            max-height: 800px;
            opacity: 1;
            padding: 0 2rem 2rem 2rem;
        }

        .answer-content {
            color: #4a5568;
            font-size: clamp(0.9rem, 2vw, 1rem);
            line-height: 1.7;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(255,255,255,0.8) 100%);
            border-radius: 12px;
            border-left: 4px solid #667eea;
            position: relative;
            margin-top: 0.5rem;
        }

        .answer-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
        }

        .answer-highlight {
            background: linear-gradient(120deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-weight: 600;
            color: #553c9a;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .search-highlight {
            background: linear-gradient(120deg, #ffd700 0%, #ffed4e 100%);
            padding: 0.1rem 0.3rem;
            border-radius: 4px;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
        }

        .no-results {
            text-align: center;
            padding: 4rem 2rem;
            color: #718096;
            display: none;
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            border-radius: 12px;
            margin: 2rem 0;
        }

        .no-results-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .no-results h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #4a5568;
        }

        .no-results p {
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .clear-search {
            background: #667eea;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .clear-search:hover {
            background: #5a67d8;
            transform: translateY(-2px);
        }

        .faq-stats {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 3rem;
            padding: 2rem;
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            border-radius: 16px;
            border: 1px solid #e2e8f0;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 1rem 1.5rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }

        .stat-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        }

        .stat-item svg {
            color: #667eea;
            transition: transform 0.3s ease;
        }

        .stat-item:hover svg {
            transform: scale(1.1);
        }

        .stat-item span {
            font-weight: 600;
            color: #2d3748;
            font-size: 0.9rem;
        }

        .faq-controls {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .control-btn {
            padding: 0.6rem 1.2rem;
            border: 2px solid #e2e8f0;
            background: white;
            color: #4a5568;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            outline: none;
        }

        .control-btn:hover {
            border-color: #667eea;
            color: #667eea;
            transform: translateY(-2px);
        }

        .control-btn.active {
            background: #667eea;
            color: white;
            border-color: #667eea;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .faq-audifonos-widget {
                padding: 0;
            }
            
            .faq-header {
                margin-bottom: 1.5rem;
                padding: 1.5rem 1rem;
                border-radius: 12px;
            }
            
            .faq-question {
                padding: 1.2rem 1rem;
            }
            
            .faq-item.open .faq-answer {
                padding: 0 1rem 1.5rem 1rem;
            }
            
            .answer-content {
                padding: 1rem;
            }
            
            .faq-stats {
                gap: 1rem;
                margin-top: 2rem;
                padding: 1.5rem 1rem;
            }

            .stat-item {
                flex: 1;
                min-width: 280px;
                justify-content: center;
            }

            .faq-controls {
                margin-bottom: 1.5rem;
            }

            .control-btn {
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .search-container {
                margin-bottom: 1.5rem;
            }

            .search-input {
                padding: 0.8rem 0.8rem 0.8rem 3rem;
                font-size: 0.9rem;
            }

            .stat-item {
                min-width: 100%;
            }
        }

        /* Mejoras de accesibilidad */
        .faq-item:focus-within {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }

        .search-input:focus {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Estados de carga */
        .faq-container.loading {
            opacity: 0.7;
            pointer-events: none;
        }

        .loading-spinner {
            display: none;
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 2rem auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .faq-container.loading .loading-spinner {
            display: block;
        }
    </style>/* End custom CSS */