/*
Theme Name: FIAN
Theme URI: https://
Author: Colnodo
Author URI: https://colnodo.apc.org
Designer: Maria del Rosario Ortiz - Colnodo
Description: Tema para el sitio web FIAN.
Version: 1.0
*/


/*@charset "utf-8";
 CSS Document */

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

html{
	scroll-behavior: smooth;	
}
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-style: normal;
  color:#222222;
      }
h1{
	font-size:calc(36px + (48 - 36) * ((100vw - 300px) / (1600 - 300)));
	font-family: "Montserrat", sans-serif;
	font-weight:900;
	
}
h2{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(28px + (36 - 28) * ((100vw - 300px) / (1600 - 300)));
	margin-bottom:30px;
	font-family: "Montserrat", sans-serif;
}
h3{
	font-weight: 600;
	color:#0E4C41;
  	font-style: normal;
	font-size:calc(24px + (28 - 24) * ((100vw - 300px) / (1600 - 300)));
	margin:20px 0;
	font-family: "Montserrat", sans-serif;
	
}
h4{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(22px + (26 - 22) * ((100vw - 300px) / (1600 - 300)));
}
h5{
	font-weight: 500;
  	font-style: normal;
	font-size:calc(20px + (24 - 20) * ((100vw - 300px) / (1600 - 300)));
}
h6{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(18px + (20 - 18) * ((100vw - 300px) / (1600 - 300)));
}
p, li{
	font-size:1rem;
	font-weight: 500;
	line-height:1.4!important;
	 font-family: "Montserrat", sans-serif;
}
a{
	color:#0E4C41;
	text-decoration:none;	
}
a:hover, a:focus{
	color:#99CA3C;
	text-decoration:none;
	-moz-transition:ease-in-out 1s;
  -webkit-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 1px solid #99CA3C; /* verde alto contraste */
  outline-offset: 1px;
}
.btn-principal{
    color: #fff!important;
    background-color: #F28841;
    border-color: #F28841;
	padding:12px 25px;
	font-weight:600;
	display: inline-block!important;
	border-radius:5px;
}
.btn-principal:hover, .btn-principal:focus{
    color: #fff!important;
    background-color: #CC5607!important;
    border-color: #CC5607!important;
}
.btn-filtros, .btn-filtros a {
    color: #fff!important;
    background-color: #F28841;
    border-color: #F28841;
	padding:7px 30px;
	font-weight:600;
	font-size:16px;
	font-family: "Montserrat", sans-serif;
	text-transform: uppercase;
	flex-basis:auto;	
	float:right;
}
.btn-filtros:hover, .btn-filtros:focus,
.btn-filtros a:hover, .btn-filtros a:focus{
    color: #fff!important;
    background-color:#EA5F5A!important;
    border-color: #EA5F5A!important;
}

.btn-volver{
	background: #25613F;
    padding: 12px 50px;
	font-weight:500;
    color: #fff;
    border-radius: .25rem;
	display: inline-block!important;
}
.btn-volver:hover,
.btn-volver:focus{
	background: #6CA03C;
	color:#fff;
}
.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    font-weight: 400;
    color: #fff;
	padding: 12px 50px;
}
.btn-outline:hover,
.btn-outline:focus{
    background: #fff;;
    border: 2px solid #fff;
    font-weight: 400;
    color: #000;
	padding: 12px 50px;
}

.grande{
	font-size:120%;
	padding-bottom:10px;
	color:#707070;
}
.modal-content {
    padding:1rem 2rem;
}
.modal-header {
    border-bottom: 0px solid transparent;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

/* +++++++++++++++++++++++++++++++++++
 * E N C A B E Z A D O               + 
 * ++++++++++++++++++++++++++++++++++*/	

#menu-ppal{
    z-index: 1050 !important;
    background-color: rgba(255, 255, 255, 1) !important;
}
nav.navbar{
	padding-top:0!important;
	padding-bottom:0!important;
}
nav.navbar img.logo-fian{
	width:calc(140px + (180 - 140) * ((100vw - 300px) / (1600 - 300)));
}
li.nav-item{
	font-weight:700;
    padding-left: 0.5rem!important;
    padding-right: 0.5rem!important;
}
.nav-link {
    display: block;
    padding-top: 1rem;
	padding-bottom:1rem;
    color: #1E2D5E;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
	padding-left:1.5rem!important;
	padding-right:1.5rem!important;
	border-bottom:3px solid transparent;
	font-weight: 600;
}
.busca:hover,
.busca:focus{
	text-decoration: none;
	border-bottom:3px solid #fff!important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(153, 202, 59, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	margin-right:20px;
        }
.nav-link:hover,
.nav-link:focus{
    background:transparent;
    text-decoration: none;
	border-bottom:3px solid #99CA3C;
	color:#333539;
}

.dropdown-menu {
    min-width: 16rem;
    color: #ffffff;
	background:#6CA03C;
	padding-top:0!important;
	padding-bottom:0!important;
	margin-top:0!important;
	border-radius:0!important;
	border:0px solid #6CA03C!important;
    }
.dropdown-menu a.dropdown-item {
	color:#fff;
	padding-top:0.8rem;
	padding-bottom: 0.8rem;
	font-weight:500;
}
.dropdown-menu a.dropdown-item:hover,
.dropdown-menu a.dropdown-item:focus{
	color:#fff;
	background:#0E4C41;
}
.dropdown-menu .dropdown-divider{
	border-top: 1px solid #60367E!important;
	margin:0!important;
}
/* +++++++++++++++++++++++++++++++++++
 * ENCABEZADO                        + 
 * ++++++++++++++++++++++++++++++++++*/	
.encab{
	background:#0E4C41;
	margin-top:105px;
}
.foto-encab{
	background-size:cover; 
	height:calc(300px + (500 - 300) * ((100vw - 300px) / (1600 - 300)));
}
.texto-encab{
	max-width:auto;
	padding:30px 20px;
}
.texto-encab h2{
	font-weight: 500;
  	font-style: normal;
	font-size:calc(15px + (24 - 15) * ((100vw - 300px) / (1600 - 300)));
	margin-bottom:10px;
	color:#fff;
	text-align:left;
	line-height:1.3!important;
}
/* +++++++++++++++++++++++++++++++++++
 *  NOVEDADES                         + 
 * ++++++++++++++++++++++++++++++++++*/	
.novedades{
	background:#EEEFE7;
	padding:80px 0;
}
.filete{
	border-bottom:1px solid #25613F;
}
.novedades h4.card-title{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(17px + (20 - 17) * ((100vw - 300px) / (1600 - 300)));
}
.novedades p{
	font-weight: 400;
  	font-style: normal;
	font-size:calc(15px + (15 - 15) * ((100vw - 300px) / (1600 - 300)));
}
span.fecha{
	font-size:14px;
}
/* +++++++++++++++++++++++++++++++++++
 *     SEMBRANDO                      + 
 * ++++++++++++++++++++++++++++++++++*/	
.sembrando{
	background:#BF540D url("../images/bg-franja.jpg");
	padding:80px 0 0 0;
	min-height:500px;
	position:relative;
	overflow:hidden;
}

.sembrando-bg{
	position: absolute;
	inset: 0;
	background:url("./images/sembrando_silueteada.png") no-repeat;
	background-size:contain;
	z-index:0;
	top:40px;
	left:0;
	opacity: 0.3; /* visible con opacidad en movil */
	background-position: 0px bottom;
	pointer-events:none;
}
.sembrando-cont{
	position: relative; z-index: 1; 
}
.sembrando h3{
	color:#fff;
	font-weight: 700;
	font-size:calc(30px + (45 - 30) * ((100vw - 300px) / (1600 - 300)));
	margin-bottom:10px;
	font-family: "Montserrat", sans-serif;
	text-shadow:3px 3px 6px #000;
}
.sembrando p{
	color:#fff;
	font-weight:500;
	font-size:calc(17px + (20 - 17) * ((100vw - 300px) / (1600 - 300)));
	text-shadow:2px 2px 1px #000;
}
/* +++++++++++++++++++++++++++++++++++
 *   COOPERACION                     + 
 * ++++++++++++++++++++++++++++++++++*/	
.cooperacion{
	padding:90px 0;
	background:#EEEFE7;
}
.tab-content{
	background:#fff;
}
.nav-tabs .nav-link.active{
	border-color:#fff;
}
.nav-tabs .nav-item{
	padding-right:0!important;
}
.nav-tabs .nav-link{
	padding-left:12px!important;
	padding-right:12px!important;
	font-size:calc(11px + (17 - 11) * ((100vw - 300px) / (1600 - 300)));
}
.card-logo{
	background:#fff;
	padding:0 25px;
}

/* +++++++++++++++++++++++++++++++++++
 *  PIE DE PÁGINA                    + 
 * ++++++++++++++++++++++++++++++++++*/	
.pie{
	padding: 40px 0;
	background:#0E4C41;
	color:#99CA3B;
}
.pie a{
	color:#99CA3B;
}
/* +++++++++++++++++++++++++++++++++++
 * PAGINAS SECUNDARIAS               + 
 * ++++++++++++++++++++++++++++++++++*/	
.secundarias h2{
	padding:50px 0 5px 0;
	color:#0E4C41;
}
.encab-sec{
	background:#fff;
	background-position:center center;
	height:220px;
	background-repeat:no-repeat;margin-top:90px;
}
.secundarias{
		
}
.curva{
	background-image: url("./images/bg-encab-sec.png");
	background-position:top center;
	background-size:cover;
	padding-top:90px;
	background-repeat:no-repeat;	
}
.bg-gris{
	background-color:#EEEFE7;
}
.bg-naranja{
	background:#F28841;
}
.bg-naranja p.grande{
	color:#fff;
	font-weight:600;
}
.colaborador{
	text-align:center;
}
.colaborador img{
	border:0px solid transparent!important;
	border-radius:50%;
	aspect-ratio:1 / 1;
}
.colaborador h3{
	text-transform:uppercase;
	margin-top:10px;
	margin-bottom:10px;
	font-weight:700;
	font-size:calc(16px + (18 - 16) * ((100vw - 300px) / (1600 - 300)));
	color:#25613F;
}
.colaborador p{
	margin-top:0px;
	font-weight:500;
	font-size:calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
	color:#000;
	line-height:1.4!important;
}
section.atras {
    padding: 35px 0 35px 0;
    text-align: right;
}
.colaborador .modal-body{
	text-align:left;
}
.colaborador .modal-body h4{
	color:#0E4C41;
	font-size:calc(20px + (22 - 20) * ((100vw - 300px) / (1600 - 300)));
	font-weight:700;
}
.colaborador .modal-body h5{
	color:#F28841;
	font-size:calc(16px + (18 - 16) * ((100vw - 300px) / (1600 - 300)));
	font-weight:500;
}
.colaborador .modal-body h6{
	font-size:calc(13px + (14 - 13) * ((100vw - 300px) / (1600 - 300)));
	font-weight:500;
	margin-bottom:20px;
}
.colaborador .modal-body p{
	font-size:calc(15px + (16 - 15) * ((100vw - 300px) / (1600 - 300)));
	font-weight:500;
	margin-bottom:20px;
}
.destacamos{
	padding:60px 0;
}


.destacamos h3,
.docs-estrategias h3{
	font-weight: 700;
	color:#0E4C41;
  	font-style: normal;
	font-size:calc(20px + (24 - 20) * ((100vw - 300px) / (1600 - 300)));
	margin:20px 0;
	font-family: "Montserrat", sans-serif;
}
.destacamos h4.card-title{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(17px + (20 - 17) * ((100vw - 300px) / (1600 - 300)));
}
.destacamos .card-body,
.cada-tema .card-body{
	background:#EEEFE7;
	border:0px solid transparent;
}
.destacamos p{
	font-weight: 400;
  	font-style: normal;
	font-size:calc(15px + (14 - 15) * ((100vw - 300px) / (1600 - 300)));
}
.docs-estrategias{
	margin-top:60px;
}
.docs-estrategias .card,
.todas-publicaciones .card{
	border:0px solid transparent;
	background:#EEEFE7;
}
.docs-estrategias h5,
.recursos-tema h5,
.todas-publicaciones h5{
	font-weight: 700;
  	font-style: normal;
	font-size:calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
}
/*------TEMAS HOVER-------*/
.temas .efecto-hover {
    position: relative;
}
.temas .efecto-hover .info {
    position:absolute;
	height: 90px;
    background: rgba(0,0,0,0.5);
    transition: all 0.35s ease-in-out;
	bottom:0;
	left:0;
	right:0;
	text-align:center;
	backface-visibility: hidden;
	color:#fff;
}
.temas .efecto-hover .info h3 {
	color:#fff;
	font-weight: 700;
  	font-style: normal;
	font-size:calc(18px + (18 - 18) * ((100vw - 300px) / (1600 - 300)));
	margin-bottom:35px;
}
.temas .efecto-hover .info:hover {
    height: 150px;
}
.cada-tema .nav-pills .nav-link.active, 
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #F28841;
	text-align:left!important;
	border-bottom:3px solid #F28841;
}
.cada-tema .nav-pills .nav-link:hover,
.cada-tema .nav-pills .nav-link:focus{
    border-bottom:3px solid #fff!important;
}
.cada-tema h4.card-title{
	font-weight: 700;
  	font-style: normal;
	font-size:16px;
}
.recursos-tema{
	background:#EEEFE7;
	padding:60px 0;
	margin-top:60px;
}
.recursos-tema .card{
	border:0px solid transparent;
	background:#fff;
}
/*+++++PUBLICACIONES Y RECURSOS+++++*/
.filtros-public{
	padding:0px 0 20px 0;
}
.filtros-public label{
	color:#000;
}
.filtros-public .btn-outline-light{
	border:2px solid #fff;
	padding-left:30px;
	padding-right:30px;
	font-weight:600;
}
.filtros-public .dropdown-divider{
	border-top: 1px solid rgba(37, 97, 63, 1);
}
/* +++++++++++++++++++++++++++++++++++
 * Media Query para tabletas (≥ 768px) 
 * ++++++++++++++++++++++++++++++++++*/	

@media(min-width: 768px){
	
}

/* +++++++++++++++++++++++++++++++++++
 * Media Query para pantallas grandes (≥ 992px) 
 * +++++++++++++++++++++++++++++++++++++*/	

@media (min-width: 992px) {
.navbar-expand-lg .navbar-nav .dropdown-menu {
    position:absolute;
	left:7px!important;
    }
li.nav-item{
	padding-left:1.25rem;
	padding-right:1.25rem;
	}
.encab{
	min-height:490px;
	background:#0E4C41;
	margin-top:105px;
}	
.texto-encab{
	max-width:38rem;
	padding-right:30px;
	padding-left:30px;
	padding-top:0;
}
.btn-carrusel, .btn-carrusel a {
    color: #fff!important;
    background-color: #F28841;
    border-color: #F28841;
	padding:12px 40px;
	font-weight:600;
	font-size:18px;
	font-family: "Montserrat", sans-serif;
	text-transform: uppercase;
	flex-basis:auto;
	float:left;
}
.sembrando{
	min-height:600px;
}

.sembrando-bg{
  	opacity: 1; /* visible sin opacidad en escritorio */
	left:150px;
}
.nav-tabs .nav-item{
	padding-right:0.5rem!important;
}
.nav-tabs .nav-link{
	padding-left:30px!important;
	padding-right:30px!important;
}

}

/* Ocultar la previsualización del PDF */
.wp-block-file__embed {
  display: none !important;
}

/* Ocultar botón nativo "Descargar" */
.wp-block-file__button {
  display: none !important;
}

/* Reset del contenedor */
.wp-block-file {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1.5rem;
  background: transparent !important;
  box-shadow: none !important;
}

/* Enlace del nombre del archivo → convertido en botón */
.wp-block-file > a:first-of-type {
  display: inline-block !important;
  padding: 12px 25px !important;
  background-color: #F28841;
  border: 1px solid #F28841;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0; /* Oculta el texto original */
  text-decoration: none !important;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}

/* Texto reemplazado */
.wp-block-file > a:first-of-type::after {
  content: "DESCARGAR PUBLICACIÓN";
  font-size: 1rem;
}

/* Icono PDF */
.wp-block-file > a:first-of-type::before {
  content: "\f1c1"; /* icono PDF */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

/* Hover igual al botón .btn-principal */
.wp-block-file > a:first-of-type:hover,
.wp-block-file > a:first-of-type:focus {
  background-color: #CC5607 !important;
  border-color: #CC5607 !important;
  color: #fff !important;
}

/***traductor*/

/* Estilos para el elemento del traductor en el menú */
.menu-item-gtranslate {
    display: flex;
    align-items: center;
    margin-left: 0rem;
	padding-left:0rem;
	background-image: url("./images/ico-google.png");
	background-position: left center;
	background-size: 23px 23px;
	background-repeat:no-repeat;
}

.gt_selector.notranslate {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: transparent !important; 
    background-color: transparent !important;
    border: none !important;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem !important; 
    letter-spacing: 0px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333539' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 12px;
    width: 30px; 
    height: 40px; 
	margin-right:20px;
    
    transition: all 0.3s ease;
}

.gt_selector.notranslate:hover,
.gt_selector.notranslate:focus {
    color: #29979D !important;
    outline: none !important;
}

.gt_selector.notranslate option {
    background-color: #fff !important;
    color: #333 !important;
    font-size: 14px !important;
}

/* Ocultar elementos innecesarios del traductor */
.goog-te-gadget,
.goog-te-combo,
#google_translate_element2 {
    display: none !important;
}

/* search start  */
.searching{}
a.search-open{color:#666; margin-right:0px;}
.contactenos a{color:#666;}
/************/
i.fa-solid.fa-magnifying-glass{
	/*color:#fff!important*/
}
.search-inline {
    width: 40%;
    padding-left: 15px;
    padding-right: 15px;
	right:10px;
    height: 10%;
    position: absolute;
	top:50px;
    opacity: 0;
    visibility: hidden;
    background-color: #efefef;
    z-index: 9;
    transition: all .5s ease-in-out;
}

.search-inline.search-visible {
    top: 4rem;
	opacity: 1;
    visibility: visible;
    animation: fadeInDown 0.4s ease-in-out;
    height:3rem;
	margin-left:auto;
}

.search-inline button[type="submit"] {
    position: absolute;
    right: 52px;
    top: 0;
    background-color: transparent;
    border: 0px;
    top: 0;
    right: 60px;
    padding: 0px;
    cursor: pointer;
    width: 60px;
    height: 99%;
    background: #99CA3B;
    color: #fff;
}

.search-inline .form-control {
    border: 0px;
    padding-left: 1.5rem;
    font-size: 1rem;
    position: absolute;
    left: 0%;
    top: 0;
    height: 3rem!important;
    width: 99%;
    font-weight: 400;
    outline: none;
	border: 1px solid #99CA3B;;
    border-radius: .25rem;
    transition: border-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.search-inline .search-close {
    position: absolute;
    top: 0;
    right: 0;
    color: #99CA3B;
    width: 60px;
    height: 100%;
    text-align: center;
    display: table;
    background: #efefef;
    text-decoration: none;
}

.search-inline .search-close i {
    display: table-cell;
    vertical-align: middle;
}

.search-inline i.fa.fa-search{
	color:#ffffff!important;
}

       

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translate3d(0, -20%, 0);
            }
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }
/************/

/* Estilos generales para Contact Form 7 */
.wpcf7-form {
    max-width: 600px;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Estilos para los párrafos que contienen los campos */
.wpcf7-form p {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Estilos para las etiquetas */
.wpcf7-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Color verde para etiquetas de campos obligatorios */
.wpcf7-form-control.wpcf7-validates-as-required + label {
    color: #6CA03C;
}

/* Contenedor de los campos de entrada */
.wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.3rem;
}

/* Estilos para campos de texto, email, teléfono y textarea */
.wpcf7-form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
}

/* Placeholder estilizado */
.wpcf7-form-control::placeholder {
    color: #999;
    opacity: 1;
    font-style: italic;
}

/* Enfoque en los campos - usando los colores verdes del sitio */
.wpcf7-form-control:focus {
    outline: none;
    border-color: #99CA3B;
    box-shadow: 0 0 0 3px rgba(108, 160, 60, 0.25);
    background-color: #fff;
}

/* Estilos específicos para el textarea */
.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

/* Estilos para el botón de enviar - gradiente con los colores del sitio */
.wpcf7-submit {
    background: linear-gradient(135deg, #6CA03C 0%, #99CA3B 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.wpcf7-submit:hover {
    background: linear-gradient(135deg, #5C9030 0%, #89BA30 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 160, 60, 0.3);
}

.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(108, 160, 60, 0.3);
}

/* Estilo especial para el botón cuando hay errores - se vuelve blanco */
.wpcf7-submit.error-active {
    background: white !important;
    color: #dc3545 !important;
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

/* Efecto de pulso para el botón cuando hay errores */
.wpcf7-submit.error-active {
    animation: pulse-error 2s infinite;
}

@keyframes pulse-error {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Estilos para el spinner de carga - con colores del sitio */
.wpcf7-spinner {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.wpcf7-spinner:before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(108, 160, 60, 0.3);
    border-top-color: #6CA03C;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estilos para mensajes de respuesta */
.wpcf7-response-output {
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
    border-width: 2px;
    text-align: center;
    font-weight: 500;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: rgba(108, 160, 60, 0.1);
    color: #2c5c1c;
    border: 2px solid #6CA03C;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 2px solid #dc3545;
}

/* Estilos para campos con error de validación */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
    font-weight: 500;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

/* Indicador visual para campos requeridos */
.wpcf7-form-control.wpcf7-validates-as-required {
    background-image: none;
    position: relative;
}

/* Campos ocultos (no se muestran) */
.hidden-fields-container {
    display: none;
}

/* Mejora de accesibilidad: enfoque para teclado */
.wpcf7-submit:focus,
.wpcf7-form-control:focus {
    outline: 2px solid #99CA3B;
    outline-offset: 2px;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .wpcf7-form label {
        font-size: 0.9rem;
    }
    
    .wpcf7-form-control {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .wpcf7-submit {
        width: 100%;
        padding: 0.9rem;
    }
    
    .wpcf7-response-output {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Estilo opcional para resaltar los campos obligatorios */
.wpcf7-form-control.wpcf7-validates-as-required {
    border-left: 3px solid #6CA03C;
}

/* Estilo para campos válidos */
.wpcf7-form-control.wpcf7-valid {
    border-color: #6CA03C;
    background-color: rgba(108, 160, 60, 0.05);
}