/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* ===========================
   Separación vertical entre bloques temáticos
   Base: máx ~70px, solo arriba/abajo (Blocksy maneja laterales)
   =========================== */

/* Separación vertical entre bloques temáticos */
:root{
  --grupo-pad-min: 32px;  /* móvil */
  --grupo-pad-max: 96px;  /* desktop */
}

.grupo{
  /* solo arriba/abajo, lateral lo maneja Blocksy */
  padding-block: clamp(var(--grupo-pad-min), 6vw, var(--grupo-pad-max));
  padding-inline: 0;
}

/* Opcionales por si necesitas variaciones */
.grupo--compacto{ padding-block: clamp(24px, 4.5vw, 56px); }
.grupo--amplio{   padding-block: clamp(48px, 8vw, 128px); }

.blog .elementor-post__read-more{
	padding: 6px 14px;
	border: solid 1px #003ad7;
}


/* ===========================
   Estilos aplicados al header blocksy
   =========================== */

/* Enlaces del menu blocksy */

.ct-menu-link{
font-family: var(--e-global-typography-accent-font-family), Sans-serif!important;
}

/* hover */
.ct-menu-link:hover {
  text-decoration: underline;
}

/* activo */
nav[class*="menu"] li[class*="current-menu-"] > .ct-menu-link,
nav[class*="menu"] li[class*="current-menu-"] > .ct-sub-menu-parent {
  font-weight: 700;
  text-decoration: underline;
}


/* ===== Botón header CTA ===== */
.ct-header-cta .ct-button {
  font-size: 11px;       /* tamaño para escritorio */
}

/* ===== Ajuste para móviles ===== */
@media (max-width: 768px) {
  .ct-header-cta .ct-button {
    font-size: 10px;     /* tamaño para móviles */
  }
}


/* ==========================================================================
   Estilos generales para botones de Elementor
   Propósito: Unificar la interacción de los botones (.elementor-button).
   ========================================================================== */

/* Float hover global para botones de Elementor */
a.elementor-button {
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}

a.elementor-button:hover,
a.elementor-button:focus-visible {
  transform: translateY(-4px);            /* efecto flotante */
  box-shadow: 0 12px 24px rgba(0,0,0,.12); /* sutil sombra */
}

/* Tacto/clic: que “baje” un poco para dar feedback */
a.elementor-button:active {
  transform: translateY(-1px);
}

/* Respeto a usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  a.elementor-button {
    transition: none;
  }
}


/*button secundario*/
.btn-variante .elementor-button {
  border-color: #b2d2e5 !important;
}


/* Estilos para acordeon faqs en Elementor */
.elementor-widget-n-accordion .e-n-accordion-item{
	border-bottom: solid 1px;
	padding: 10px;
}


/* ==========================================================================
   Hover de cards en grid .servicios
   Propósito: Aplicar efecto float, sombra inferior tenue y subrayado del h3
              al interactuar con cada card enlazado (<a>).
   ========================================================================== */

/* Efecto hover para cards dentro del grid .servicios */
.servicios > a:hover,
.servicios > a:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Subrayado del título al pasar el mouse por el card */
.servicios > a:hover h3,
.servicios > a:focus-visible h3 {
  text-decoration: underline;
}

/*Lista de sedes por mapa*/
.sedes ul {
  list-style: none; 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
}

.sedes li {
  display: flex;
  align-items: center;
	padding-right: 10px;
}

.sedes li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 12px;
}

.sedes li:nth-child(1)::before { background-color: #D9ED00; }
.sedes li:nth-child(2)::before { background-color: #ECFF5E; } 
.sedes li:nth-child(3)::before { background-color: rgba(148, 103, 41, 1); } 
.sedes li:nth-child(4)::before { background-color: rgba(255, 188, 140, 1); } 
.sedes li:nth-child(5)::before { background-color: #F7FFB8; } 
.sedes li:nth-child(6)::before { background-color: rgba(182, 255, 227, 1); } 

/*Img grandes: */
.hero{
    height: 100%
}

@media (max-width: 767px){
    .hero{
        height: 220px!important;
    }
}


/* Estilos para listados en ventajas */
/* Quitar viñetas predeterminadas */
.ventajas ul {
  list-style: none;
  margin: 0;
  padding-left: 10px;
}

/* Configurar cada ítem */
.ventajas li {
  position: relative;
  margin: 1rem 0;
  padding-left: 1.75rem;
}

/* Insertar el ícono de Font Awesome */
.ventajas li::before {
  content: "\f058"; /* código del ícono check-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 400; /* necesario para íconos sólidos */
  position: absolute;
  left: 0;
  top: 0;
  color: #003AD7; /* verde clásico, cámbialo a tu color */
  font-size: 1.1rem;
  line-height: 1.2;
}

.estadisticas{
    height: 100%
}



/*boton de top header*/
.btn-trabaja{
	margin:0;
}
.btn-trabaja a {
  	text-decoration:none;
}
.btn-trabaja span{
  	font-size:12px;
}
.btn-trabaja a:hover {
  	text-decoration:underline;
}

/*Iconos svg*/
.icons svg{
    color: #003AD7;
    stroke-width: 1px;
}
.icons:hover svg{
    color: #003AD7;
}

.icons2 svg{
    color: #003AD7;
    stroke-width: 2px;
}
.icons2:hover svg{
    color: #7997E2;
}
/*Traductor*/
.trp-shortcode-switcher{
	padding:0;
	top: 4px;
}

.trp-language-item-name{
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
	padding: 5px 0 5px 5px;
	font-size: 13px;
	margin-top: 4px;
	color: #003ad7;
}

.trp-language-item{
	padding: 0!important;
	margin-left: 5px; 
	margin-right: 5px; 
	gap: 4px;
}

/* Estilos botón whatsapp */

.wa__btn_popup{
	bottom: 100px;
	right: 20px
}

.wa__btn_popup .wa__btn_popup_txt{
	width: 185px;
	border-radius: 25px;
}

@media (max-width: 768px){
	.wa__btn_popup{
		bottom: 120px;
		right: 15px;
	}
	.wa__btn_popup .wa__btn_popup_txt{
		display: none;
	}	
}

/*noticias, 
  terminos y condiciones,
  libro de reclamaciones y 
  politicas de privacidad*/

.publicacion h2{
    font-size: 22px;
}

.publicacion h3{
    font-size: 16px;
}

.publicacion img{
    margin: 0 0 2rem 0;
}

/*Customización de tabs*/
.custom-tabs .e-n-tab-title {
  padding: 0px 10px;
  cursor: pointer;
  transition: border 0.5s ease;
}
