/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 **/




/* =====================================================
   HEADER PRINCIPAL CRC CONSULTING
   ===================================================== */
.crc-header {
  position: fixed;          /* Siempre fijo arriba */
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;            /* Altura fija */
  background: transparent;  /* Fondo transparente al inicio */
  transition: all 0.3s ease;
  z-index: 9999;
  border-bottom: none;      /* Sin borde al inicio */
}

/* Cuando hacemos scroll → fondo azul corporativo */
.crc-header.scrolled {
  background: #ffffff;              /* Azul corporativo CRC */
  border-bottom: 1px solid #081c33; /* Línea sutil */
}

/* Contenedor interior */
.crc-header .crc-header-inner {
  max-width: 1400px;        /* Ancho máximo */
  margin: 0 auto;
  padding: 0 15px;          /* 15px de padding lateral */
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo a la izquierda / resto a la derecha */
  height: 100%;
}

/* =====================================================
   LOGO
   ===================================================== */
.crc-logo img {
  height: 70px;
  transition: all 0.3s ease;
}

/* Logo normal visible por defecto */
.crc-logo .logo-scroll {
  display: none;
}

/* Cuando se haga scroll, se oculta el normal y se muestra el alternativo */
.crc-header.scrolled .logo-normal {
  display: none;
}

.crc-header.scrolled .logo-scroll {
  display: inline;
}


/* =====================================================
   NAVEGACIÓN PRINCIPAL (DESKTOP)
   ===================================================== */
.crc-nav {
  flex: 1;                          /* Ocupa espacio central */
  display: flex;
  justify-content: center;          /* Centrado */
}

.crc-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;                        /* Espacio entre enlaces */
}

.crc-menu li a {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.2s ease;
}

/* Cuando el header tenga la clase .scrolled */
.crc-header.scrolled .crc-menu li a {
  color: #456d3a; /* verde después del scroll */
}

.crc-menu li a:hover {
  color: #456d3a;                   /* Dorado en hover */
}

.crc-menu li.current-menu-item a,
.crc-menu li.current_page_item a {
  color: #c39d7d;                   /* Dorado activo */
  font-weight: 700;
}

/* =====================================================
   BOTÓN HAMBURGUESA
   ===================================================== */
.crc-menu-toggle {
  display: none;       /* Oculto en desktop */
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

/* Color cuando el header tiene la clase .scrolled */
.crc-header.scrolled .crc-menu-toggle {
  color: #456d3a; /* ejemplo: verde después del scroll */
}

/* =====================================================
   BANDERAS DE IDIOMAS
   ===================================================== */
.crc-header .crc-right {
  display: flex;
  flex-direction: column; /* banderas arriba, hamburguesa abajo */
  align-items: flex-end;
  gap: 6px;              /* Espacio entre banderas y hamburguesa */
  margin: 0;
}

.crc-header .crc-flags {
  display: flex;
  gap: 8px;
}

.crc-header .crc-flags img {
  width: 28px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.crc-header .crc-flags img:hover {
  transform: scale(1.1);
}

/* =====================================================
   MENÚ FULLSCREEN (MÓVIL)
   ===================================================== */
.crc-nav-full {
  position: fixed;
  top: 0;
  left: -100%;                      /* Oculto inicialmente */
  width: 100%;
  height: 100vh;
  background: #ffffff;
  transition: left 0.4s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 80px 40px;
}

.crc-nav-full.active {
  left: 0;                          /* Aparece con clase .active */
}

/* Botón cerrar */
.crc-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 36px;
  cursor: pointer;
  color: #456d3a;
}

/* Título menú móvil */
.crc-menu-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #456d3a;
}

/* Lista menú móvil */
.crc-nav-full ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crc-nav-full ul li {
  margin: 15px 0;
  border-bottom: 1px solid #344060;
  padding-bottom: 10px;
}

.crc-nav-full ul li a {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  text-decoration: none;
  color: #456d3a;
  display: block;
  width: 100%;
  transition: color 0.2s ease;
}

.crc-nav-full ul li a:hover {
  color: #CFAF6D;
}

.crc-nav-full ul li.current-menu-item a,
.crc-nav-full ul li.current_page_item a {
  font-weight: 700;
  color: #CFAF6D;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1240px) {
  .crc-nav {
    display: none;      /* Ocultar menú desktop */
  }
  .crc-menu-toggle {
    display: block;     /* Mostrar hamburguesa */
  }
  .crc-logo img {
    height: 50px;       /* Logo más pequeño */
  }
}

@media (min-width: 1241px) {
  .crc-nav {
    display: block !important; /* Menú centrado visible en desktop */
  }
}





/* ===============================
   🔹 Centrado del menú en desktop
   =============================== */
@media (min-width: 1241px) {
  .crc-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo - nav - banderas */
    align-items: center;
    padding: 0 15px;
  }

  /* Menú centrado */
  .crc-nav {
    display: flex !important;
    justify-content: center;
  }

  .crc-menu {
    justify-content: center;
    margin: 0 auto;
  }

  /* Banderas y hamburguesa alineados a la derecha */
  .crc-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}















/* =====================================================
   TIMELINE RECTO – 3 pasos
   ===================================================== */
.timeline-recto {
  display: flex;                     /* pasos en fila */
  justify-content: space-between;    /* espacio equidistante */
  align-items: flex-start;
  position: relative;
  margin: 60px 0;
  padding: 0 20px;
}

/* Línea azul horizontal */
.timeline-recto::before {
  content: "";
  position: absolute;
  top: 20px;                         /* altura alineada con los círculos */
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;               /* azul corporativo */
  z-index: 0;
}

/* Paso individual */
.timeline-recto .step {
  text-align: center;
  flex: 1;                           /* cada paso ocupa el mismo ancho */
  position: relative;
  padding: 0 15px;
}

/* Círculo numerado */
.timeline-recto .circle {
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
  font-size: 14px;
}

/* Texto debajo */
.timeline-recto .step p {
  font-size: 15px;
  line-height: 1.5;
  color: #111;
  max-width: 260px;
  margin: 0 auto;
}








/* =====================================================
   TIMELINE 2 – ZIGZAG / CURVO (5 pasos)
   ===================================================== */
.timeline-zigzag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 60px 0;
  gap: 40px;
}

/* Línea base (recta, puedes reemplazar con SVG curvo si quieres idéntico a tu ejemplo) */
.timeline-zigzag::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 40px;               /* Le da una sensación más curva */
  z-index: 0;
}

/* Paso */
.timeline-zigzag .step {
  flex: 1;
  text-align: center;
  position: relative;
  max-width: 180px;
}

/* Círculo numerado */
.timeline-zigzag .circle {
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}

/* Flechas (simples, → entre pasos) */
.timeline-zigzag .step::after {
  content: "→";
  font-size: 20px;
  color: #2563eb;
  position: absolute;
  top: 10px;
  right: -25px;
}
.timeline-zigzag .step:last-child::after {
  content: "";
}



/*Estilos d filtros*/

.e-filter-item{
	padding-top:2px !important;
	padding-bottom:2px !important;
}







/* ========================================
   MAPA INTERACTIVO - ESTILOS
   ======================================== */

.mapa-interactivo {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.mapa-interactivo img {
    width: 100%;
    height: auto;
    display: block;
}

.punto-mapa {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    animation: pulso 2s infinite;
}

.punto-mapa:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 10;
}

.punto-verde { 
    background-color: #7cb342;
}

@keyframes pulso {
    0%, 100% { 
        box-shadow: 0 3px 10px rgba(0,0,0,0.3); 
    }
    50% { 
        box-shadow: 0 3px 20px rgba(124,179,66,0.6); 
    }
}

.tooltip-mapa {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
    transform: translate(-50%, -120%);
    border-left: 4px solid #7cb342;
}

.tooltip-mapa.activo {
    opacity: 1;
}

.tooltip-mapa::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

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

@media (max-width: 768px) {
    .punto-mapa {
        width: 24px;
        height: 24px;
    }
    
    .tooltip-mapa {
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .punto-mapa {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255,255,255,0.9);
    }
    
    .tooltip-mapa {
        font-size: 12px;
        padding: 8px 12px;
    }
	
	
	/*direcion alineada*/
	#direccion1 .elementor-icon-list-text{
    text-align: center
}
}



