/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

/* EFECTO HOVER IMAGENES EN MENU */
/* Configuración base de las imágenes */
.contenedor-menu-dinamico .imagen-dinamica {
  transition: opacity 0.3s ease-in-out;
}

/* Ocultar todas las imágenes superpuestas por defecto */
.contenedor-menu-dinamico .img-hover-2,
.contenedor-menu-dinamico .img-hover-3,
.contenedor-menu-dinamico .img-hover-4,
.contenedor-menu-dinamico .img-hover-11,
.contenedor-menu-dinamico .img-hover-12,
.contenedor-menu-dinamico .img-hover-12,
{
  opacity: 0;
  visibility: hidden;
}

/* --- Lógica de Hover --- */

/* Al hacer hover en el Texto 2: Muestra la Imagen 2 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-2:hover) .img-hover-2 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-2:hover) .img-defecto {
  opacity: 0;
}

/* Al hacer hover en el Texto 3: Muestra la Imagen 3 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-3:hover) .img-hover-3 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-3:hover) .img-defecto {
  opacity: 0;
}
/* Al hacer hover en el Texto 4: Muestra la Imagen 4 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-4:hover) .img-hover-4 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-4:hover) .img-defecto {
  opacity: 0;
}

/* Al hacer hover en el Texto 11: Muestra la Imagen 11 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-11:hover) .img-hover-11 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-11:hover) .img-defecto {
  opacity: 0;
}

/* Al hacer hover en el Texto 12: Muestra la Imagen 12 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-12:hover) .img-hover-12 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-12:hover) .img-defecto {
  opacity: 0;
}
/* Al hacer hover en el Texto 13: Muestra la Imagen 13 y oculta la por defecto */
.contenedor-menu-dinamico:has(.texto-hover-13:hover) .img-hover-11 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico:has(.texto-hover-13:hover) .img-defecto {
  opacity: 0;
}
/* EFECTO HOVER IMAGENES EN MENU */
/* Configuración base de las imágenes */
.contenedor-menu-dinamico .imagen-dinamica {
  transition: opacity 0.3s ease-in-out;
}

/* Ocultar todas las imágenes superpuestas por defecto */
.contenedor-menu-dinamico2 .img-hover-2,
.contenedor-menu-dinamico2 .img-hover-3,
.contenedor-menu-dinamico2 .img-hover-4{
  opacity: 0;
  visibility: hidden;
}

/* --- Lógica de Hover --- */

/* Al hacer hover en el Texto 2: Muestra la Imagen 2 y oculta la por defecto */
.contenedor-menu-dinamico2:has(.texto-hover-2:hover) .img-hover-2 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico2:has(.texto-hover-2:hover) .img-defecto {
  opacity: 0;
}

/* Al hacer hover en el Texto 3: Muestra la Imagen 3 y oculta la por defecto */
.contenedor-menu-dinamico2:has(.texto-hover-3:hover) .img-hover-3 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico2:has(.texto-hover-3:hover) .img-defecto {
  opacity: 0;
}
/* Al hacer hover en el Texto 4: Muestra la Imagen 4 y oculta la por defecto */
.contenedor-menu-dinamico2:has(.texto-hover-4:hover) .img-hover-4 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.contenedor-menu-dinamico2:has(.texto-hover-4:hover) .img-defecto {
  opacity: 0;
}

/* BORDE INFERIOR CON GRADIENT */
.borde-inferior-solido {
  position: relative;
  width: 100%;
}

.borde-inferior-solido::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height:3px;
  background: linear-gradient(to right, #DF271C 50%, #002F6E 50%);
}

/* CUADROS CONTACTO */

/* -- ESTILOS PARA LOS BOTONES DE CONTACTO CORRECTOS -- */

/* 1. Contenedor Principal (Aumento de Altura) */
.boton-contacto {
  display: inline-flex;
  align-items: center;
  height: 76px; /* Aumento de altura para dar espacio a toda la info */
  text-decoration: none;
  font-family: Arial, sans-serif;
}

/* 2. Sección Izquierda (Aumento de Anchura y Escalado del Icono) */
.boton-icono {
  background-color: #002F6E;
  height: 100%;
  width: 70px; /* Aumento de anchura para el icono */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px 0 0 6px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.boton-icono .icono-img {
  width: 26px; 
  height: 26px;
  margin-right: 8px; /* Aleja el icono del corte diagonal */
  flex-shrink: 0; /* Impide que la imagen se deforme */
  object-fit: contain;
}

/* 3. Sección Derecha Container (Aumento de Anchura) */
.boton-borde {
  background-color: #002F6E;
  height: 100%;
  width: 220px; /* Aumento de anchura para el texto */
  padding: 2px;
  border-radius: 0 6px 6px 0;
  
  /* TU AJUSTE ESPECIAL PARA MANTENER LA SEPARACIÓN ESTRECHA */
  margin-left: -8px; 
  
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%);
}

/* 4. Sección Interior del Texto */
.boton-texto {
  background-color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px 0 20px;
  border-radius: 0 4px 4px 0;
  color: #DF271C;
  font-weight: 600;
  font-size: 14px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

/* 5. Especial para el Horario (Tres líneas sin cortarse) */
.texto-horario {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 13px; /* Tamaño de fuente ajustado para legibilidad */
  line-height: 1.2;
}

@media only screen and (max-width: 1440px) and (min-width: 1280px){
	p{
		font-size:14px;
	}
}
@media only screen and (max-width: 1024px) and (min-width: 480px){
	p{
		font-size:14px;
	}
}