/*
Theme Name: Eleva10
Theme URI: https://eleva10.com/
Author: Eleva 10
Author URI: https://eleva10.com/
Description: Eleva10 es un tema limpio y minimalista diseñado para marcas y negocios que buscan un diseño moderno enfocado en la experiencia de usuario. Ofrece patrones personalizables como secciones hero, portafolios, llamadas a la acción y testimonios de clientes. Con un diseño cuidado y un rendimiento optimizado, Eleva10 es la solución ideal para proyectos profesionales, marcas personales y creativas que priorizan estilo, funcionalidad y velocidad.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, responsive-design, lightweight, performance-optimized, user-friendly, translation-ready, portfolio, business, creative
Requires at least: 6.5
Tested up to: 6.5.2
Requires PHP: 7.0
Version: 1.0.0
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: Eleva10
*/

/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

/* --- CONTENT CARD BLOCK --- */

.menu-card-text {
  margin: -120px auto -50px;
  width: 80%;
}
.content-card:hover{
box-shadow: var(--wp--preset--shadow--light)!important;
}

.img-card {
  overflow: hidden;
}
.img-card img {
  transform: scale(1.001);
  transition: transform 0.4s ease-in-out;
}
.content-card:hover img {
  transform: scale(1.1);
}
.content-card:hover h3 a{
  color: #66caae!important;
}
.content-card h3 {
  transition: color 0.4s ease-in-out; /* Aplica la transición al color */
}
.content-card:hover h2 a{
  color: #66caae!important;
}
.content-card h2 {
  transition: color 0.4s ease-in-out; /* Aplica la transición al color */
}
/* Código para el icono SVG codificado en base64 como fondo */
.content-card .more a::after {
  content: "";
  display: inline-block;
  width: 20px;  /* Tamaño del icono */
  height: 20px;  /* Tamaño del icono */
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="%23304A68"%3E%3Cpath fill-rule="evenodd" d="M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z"%3E%3C/path%3E%3C/svg%3E');

  background-size: contain;  /* Para que el icono ajuste su tamaño */
  background-repeat: no-repeat;
  margin-left: 5px;  /* Espacio entre el texto y el icono */
  opacity: 0;  /* Inicialmente invisible */
  visibility: hidden;  /* Icono oculto */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;  /* Transición suave */
  transform: translateX(-10px) translateY(3px); /* Mueve el icono un poco hacia abajo */
}

/* Efecto de hover en el contenedor .content-card */
.content-card:hover .more a::after {
  opacity: 1;  /* El icono se hace visible */
  visibility: visible;  /* El icono se vuelve visible */
  transform: translateX(2px) translateY(3px);  /* Mueve el icono a su posición final */
}

/* Para ajustar la alineación del icono */
.content-card .more a {
  display: inline-flex;
  align-items: center;
}
/* --- FIN CONTENT CARD BLOCK --- */


/* -- SEPARADORES -- */

.separador {
  width: 70px!important;
  border-radius: 0px!important;
  border-width: 4px 0 0!important;
}

.separador-2 {
  width: 70px!important;
  border-radius: 4px!important;
  border-width: 2px 0 0!important;
}

.separador-izq {
  width: 50px!important;
  border-radius: 3px!important;
  border-width: 4px 0 0!important;
  margin-left: 0;
}

.green-line {
	border-width: 7px 0 0;
	width: 200px;
}
.green-line-2 {
	border-width: 8px 0 0;
	width: 80%;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){
border:none!important;
}

/* -- FIN SEPARADORES -- */


/* -- CATEGORIAS Y ETIQUETAS -- */

.tag-cloud-link {
  background-color: #0b2268;
  color: white;
  border-radius: 19px;
  padding: 6px 22px;
  font-size: 15px!important;
  margin-right: 5px;
  margin-right: 0px!important;
  margin-left: 0!important;
}
.tag-cloud-link:hover {
  background-color: #21cdad;
  color: white;
  border-radius: 19px;
  padding: 6px 22px;
  font-size: 15px!important;
  margin-right: 5px;
  margin-right: 0px!important;
  margin-left: 0!important;
}

.wp-block-categories-list li:hover {
  background-color: #21cdad;
  color: white;
  border-radius: 19px;
  padding: 10px 22px;
  font-size: 15px!important;
  margin-right: 5px;
  margin-right: 0px!important;
  margin-left: 0!important;
  margin-top: 10px;
}
.wp-block-categories-list li {
  background-color: #0b2268;
  color: white!important;
  border-radius: 19px;
  padding: 10px 22px;
  font-size: 15px!important;
  margin-right: 5px;
  margin-right: 0px!important;
  margin-left: 0!important;
  margin-top: 10px;
}
.wp-block-categories-list a {
  color: white!important;
}
.wp-block-categories-list {
  margin-left: 0!important;
  padding-left: 0!important;
}

.wp-block-categories-list a:hover {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="%23FFFFFF"%3E%3Cpath fill-rule="evenodd" d="M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z"%3E%3C/path%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: 20px 20px; /* Asegura que el tamaño sea apropiado */
  background-position: right center; /* Coloca la flecha a la derecha centrada verticalmente */
  padding-right: 30px; /* Añade espacio suficiente a la derecha del texto */
}


/* -- FIN CATEGORAS Y ETIQUETAS -- */

/* -- QUOTES -- */

.wp-block-quote{
  /* background-color: rgb(241, 247, 254); */
  font-weight: 200;
  color: rgb(11, 7, 92);
  border: none;
  font-size: 20px;
  border-left: 5px solid #5ee0c8;
  margin-left: 0;
  line-height: 1.7;
  background-color: #f7f7f7;
  padding: 60px 38px 60px 50px;
  margin-right: 0;
}

/* -- FIN QUOTES -- */


/* -- ANIMACIONES -- */

.listado li {
  list-style: none; /* Elimina el estilo predeterminado de la lista */
  position: relative; /* Habilita el uso de pseudo-elementos */
  padding-left: 1.5em; /* Ajusta el espacio a la izquierda del texto */
}

.listado li::before {
  content: "✔"; /* Cambia este símbolo si prefieres otro */
  position: absolute; /* Permite posicionar el tic dentro del contenedor */
  left: 0; /* Define la posición del tic */
  top: 0.1em; /* Ajusta la altura para alinearlo correctamente */
  color: #21cdad; /* Cambia el color si lo deseas */
  font-size: 1em; /* Ajusta el tamaño del símbolo */
  line-height: 1; /* Asegura alineación con el texto */
}

/* Posición inicial del elemento antes de la animación */
.animated-element {
  transform: translateX(100%); /* Elemento fuera de vista inicialmente */
  opacity: 0; /* Elemento invisible inicialmente */
  transition: transform 1.1s ease-out, opacity 1.1s ease-out;
}

.animated-element.animate {
  transform: translateX(0); /* Vuelve a su posición original */
  opacity: 1; /* Se hace visible */
}

/* Animación deslizándose desde la izquierda */
.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.slide-in-left.animate {
  transform: translateX(0);
  opacity: 1;
}

/* Animación deslizándose desde la derecha */
.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.slide-in-right.animate {
  transform: translateX(0);
  opacity: 1;
}

/* Animación de opacidad */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.animate {
  opacity: 1;
}

/* Animación de zoom */
.zoom-in {
  transform: scale(0.5);
  opacity: 0;
  transition: transform 1.1s ease-out, opacity 1.1s ease-out;
}

.zoom-in.animate {
  transform: scale(1);
  opacity: 1;
}

/* -- FIN ANIMACIONES -- */

@media only screen and (max-width: 782px) {

  /* -- Columns -- */

  .seccion{
    padding-top:2em!important;
	padding-bottom:2em!important;
  }
  .grupo-articulo{
    padding:0 1em!important;
  }
  .articulo{
    padding:2em!important;
  }
  .content-card h2{
    font-size: 27px!important;
	line-height: 1.2em;
  }
  .content-card h3{
    font-size: 22px!important;
  }

  .content-card p{
    font-size: 16px!important;
  }

  p{
    font-size: 17px!important;
  }
	
}

.img-principal {
position: relative;
width: 100%;
height: 88vh;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
	margin:0;
	
}

/* Contact Form 7 */
input.wpcf7-submit {
    background-color: #66caae;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: auto;
}

form p,
form required {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wpcf7-form-control.wpcf7-textarea {
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    background-color: white;
    color: #333;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #66caae;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	background-color: white;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 16px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus {
    border-color: #66caae;
	background-color: white;
    outline: none;
}

form .asterisk {
    color: red;
    font-size: 16px;
}

.wp-block-navigation__container span:hover{
    color: #66caae!important;
}
.wp-block-navigation__container ul{
    padding: 20px 0 10px!important;
}
.wp-block-navigation__submenu-container li:hover{
    background-color: #66caae!important;
}
.wp-block-navigation__submenu-container a{
    padding:0 20px;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #66caae!important;
	padding:8px 8px;
}
.legal h2{
    font-size: 22px;
}

.wp-block-navigation li:hover {
border-bottom: 3px solid #66caae!important;
	pa-dding-bottom:5px;
}
.wp-block-navigation li {
	border-bottom: 3px solid white!important;
}