/* Importar íconos de librería de Bootstrap */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/* General */

.logo {
    width: 260px;
    height: auto;
}
* { 
    font-family: 'Reddit Sans', Arial, Helvetica, sans-serif;
}

.texto-justificado {
    text-align: justify;
    text-align-last: center;
}

.gris-claro {
    color: #7C7A8B;
}

/* ++++++++++++++++++++++++++++++++++++++ Nav ++++++++++++++++++++++++++++++++++++++ */


.p-nav .nav-link{
    border-radius: 20px;
}

.nav-link {
    border: 1px solid #45444E;
    margin: 4px;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .3;
    letter-spacing: 0.05rem;
    color: #45444E;

}

.nav-link:hover {
    color:#45444E;
    opacity: 1;
}

.nav-link.active {
    background-color: none;
    opacity: 1;
 }

 a.nav-link.active {
    background-color: #fff !important;
    color: #45444E !important;
    opacity: 1;
 }

 /* Redes sociales */

 .nav-link.rrss{
    border: 1px solid #2DAB66;
    margin: 4px;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .75;
    letter-spacing: 0.05rem;
    color: #fff !important;
    background-color: #2DAB66;
    padding: 8px 11px;

}

.nav-link.rrss:hover {
    color:#fff !important;
    opacity: 1;
}

.nav-link.rrss.active {
    background-color: none;
    opacity: 1;
 }

 a.nav-link.rrss.active {
    background-color: #2DAB66 !important;
    color: #fff !important;
    opacity: 1;
 }

 .bi-linkedin {
    color: #2DAB66;
 }

  .bi-instragram {
    color: #2DAB66;
 }

/* ++++++++++++++++++++++++++++++++++++++ Hero ++++++++++++++++++++++++++++++++++++++ */

h1.p-text { 
    font-size: xx-large;
}

h2.p-llamado { 
    font-weight: 600;
    font-size: 62px;
    line-height: 62px;
}

h2.p-llamado > mark {
    display: inline;
    background-image: linear-gradient(to top, #ff896e00 0%, #ff896e00 15%, #FF896E 16%, #FF896E 50%, #ff896e00 51%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 100%;
    font-weight: 600;
    font-size: 62px;
    line-height: 62px;
    animation: highlightSlide 1s ease-out forwards;
}

@keyframes highlightSlide {
    0% {
        background-size: 100% 0%;
    }
    100% {
        background-size: 100% 100%;
    }
}

mark {
    background-color: #ff896e00;
}

.p-pad5 {
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.bg-vectores-1 {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -50%);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}
.bg-vectores-2 {
    position: absolute;
    top: 50%;
    left: 95%;
    transform: translate(-50%, -50%);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

.bg-vectores-1 > img, 
.bg-vectores-2 > img {
    width: 33% !important;
}

/* Banner Mobile */

.bg-vectores-mobile {
  display: none;
}

@media (max-width: 768px) {
  .bg-vectores-1,
  .bg-vectores-2 {
    display: none;
  }

  .bg-vectores-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .bg-vectores-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.bg-texto > p {
    margin: 0;
}

h2.p-port-llamado {
    font-weight: 400;
    font-size: 32px;
    line-height: 32px;
}

mark {
    color: #fff;
    background-color: #2DAB66;
    border-radius: 10px;
    padding: 0 6px;
}

/* Efecto maquina de escribir*/

.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 10px;
  animation: typing 2s steps(30, end) forwards, blink 0.7s step-end infinite;
}

.delay1 {
  animation-delay: 0s;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Fade-in para el párrafo */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.delay3 {
  animation: fadeInText 1s ease-in forwards;
  animation-delay: 2.2s;
}

@keyframes fadeInText {
  to { opacity: 1; }
}

/* ++++++++++++++++++++++++++++++++++++++ Asociaciones ++++++++++++++++++++++++++++++++++++++ */

.logo-cos-1 {
    max-height: 150px;
}

.logo-cos-2 {
    max-height: 120px;
}

/*Imágenes*/

.foto-1 {
    background-image: url("../images/jpg/foto-1c.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.foto-2 {
    background-image: url("../images/jpg/foto-2c.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.h-300 {
    min-height: 300px;
}

/* ++++++++++++++++++++++++++++++++++++++ En qué estamos ++++++++++++++++++++++++++++++++++++++ */
.iconos {
    max-width: 380px;
}


.p-card {
    border: none;
    padding: 40px 20px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: #00000010 0 0 20px;
    margin: 20px 0;
}

.p-card-titulo {
    font-size: 24px;
}

.card-titulo {
    position: relative;
    padding: 6px 0;
    margin: 25px 0;
}

.card-titulo::after {
    content: "";
    position: absolute;
    width: 40px;
    border: 1px solid #2DAB66;
}

/* Corregir altura de columnas */

.row-equal-height .col {
  display: flex;
}

.row-equal-height .card {
  flex-grow: 1;
}

/* Corregir indicadores */

.carousel-indicators {
    margin-bottom: -2% !important;
}

.carousel-indicators > button.p-boton {
    background-color: #2DAB66;
    opacity: 0.5;
}

.carousel-indicators > button.p-boton.active {
    opacity: 1;
}

/* Corregir altura de carrusel */
.carousel-inner.h-desktop {
    max-height: 550px;
}

.carousel-inner.h-mobile {
    max-height: 550px;
}

/* ++++++++++++++++++++++++++++++++++++++ Sumate ++++++++++++++++++++++++++++++++++++++ */

.p-form {
    font-size: 14px !important;
}

/* Input formulario */

.p-form > div > input {
    font-size: 14px !important;
    border-radius: 10px;
    border: 1px solid #EDEDED;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.p-form > div > textarea {
    font-size: 14px !important;
    border-radius: 10px;
    border: 1px solid #EDEDED;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Botón formulario */

.btn {
    width: 100%;
    text-align: center;
    background-color: #2DAB66;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #2DAB66;
    padding-top: 10px; 
    padding-bottom: 10px; 
    transition: background-color 1s ease;
    color: #fff;
}

.btn:hover {
    background-color: #1b894d;
    border: 1px solid #1b894d;
}

.btn:active {
    background-color: #1b894d;
    border: 1px solid #1b894d;
}

.btn:focus {
    background-color: #1b894d;
    border: 1px solid #1b894d;
}

/* ++++++++++++++++++++++++++++++++++++++ Footer ++++++++++++++++++++++++++++++++++++++ */

.logo-footer {
    width: 200px;
    height: auto;
}

.p-footer {
    text-align: right;
    font-size: 13px;
    color: #45444E60;
}

.p-footer > p {
    margin: 0;
}

/* Estilo para campos con error */
.wpcf7-not-valid {
  border-color: #dc3545; /* Rojo Bootstrap */
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-weight: 500;
}

/* Mensaje de éxito */
.wpcf7-mail-sent-ok {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Mensaje de error */
.wpcf7-validation-errors,
.wpcf7-mailfailed {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.wpcf7-form .wpcf7-honeypot {
  display: none !important;
}



/* Fondos colores */

.bg-verde-oscuro {
    background-color: #2DAB66;
    color: #fff;
}

.bg-verde-claro {
    background-color: #93C01F;
    color: #fff;
}