@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 50px 0;
    --color-title: #005829;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

.logo-capocoot {
    width: 250px;
    height: 95px;
}

.articulo {
    background-color: #eaea24b6;
    font-size: 20px;
    border-radius: 10px;
}

strong {
    color: #08A021;
}

ul {
    padding-left: 0;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1em;
    
}


/* Nav */

.nav {
    padding-inline: 1em;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 5px solid #195637;
}
    
.nav__title {
    font-weight: 300;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
    color: #000;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #000;
    text-decoration: none;
}

.nav__links:hover:not(.nav__links--green) {
    color: #195637;
}


.nav__links--green {
    background: linear-gradient(to right bottom, #005829, #91C73D);
    color: #fff;
    padding: 1em;
    border-radius: 5px;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    width: 30px;
}

.nav__close {
    display: var(--show, none);
}

.submenu {
    display: none;
    position: absolute;
    background-color: #fff;
    border-top:5px solid #195637;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 10;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #000;

}

.submenu__item {
    text-decoration: none;
    color: 000;
}

.submenu__link {
    color: #000;
    text-decoration: none;
}

.nav__items:hover .submenu {
    display: block;
}


/* Hero container */

.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
}

.hero__paragraph {
    margin-bottom: 20px;
}

.section__container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 5em;
}

.section__right{
    padding: 1em;       
}

.section__title {
    color: #08801c;
    text-align: center;
    padding-block: 1em;
    font-size: 2.4rem;
}

.section__text {
    font-size: 1.6rem;
}


.section__img{
    width: 500px;
    height: 500px;
    border-radius: 25px;
}

.cta,
.price__element__btn,
.form__btn,
.consejero__btn {
    display: inline-block;
    background-color: #005829;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

.consejero__btn {
    margin: 1em auto;
    border: none;
}

.price__element__btn {
    align-content: flex-end;
}

/*help*/

.help__container{
    display: flex;
    justify-content: space-evenly;
    padding-inline: 4.5em;
    margin-bottom: 2em;
}

.help__item{
    width: 350px;
}

.help__item__img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    object-fit: cover;
}

.help__item--2 {
    margin-top: 4em;
}

.help__item--3 {
    margin-top: 8em;
}

.help__item__title,
.help__item__paragraph {
    padding-block: .5em;
}

.help__item__link{
    text-decoration: none;
    font-weight: 600;
    color: #005829;
}

/* About */


.about__top {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__image__container {
    width: 450px;
}

.about__img {
    padding-top: 3em;
    width: 100%;
}

.about__texts {
    width: 50%;
    margin-left: 10em;
}

.about__bottom {
    display: flex;
    flex: 1;
    justify-content: space-around;
    width: 100%;
    font-size: 1.1em;
}

.about__bottom__vision,
.about__bottom__mision {
    width: 50%;
}

.about__bottom__vision {
    margin-left: 5em;
    padding-right: 1em;
    width: 550px;
}

.about__bottom__mision {
    margin-right: 1.4em;
}



.about__bottom__mision__title,
.about__bottom__vision__title {
    color: #08801c;
}

.about__bottom__vision__paragraph {
    margin-top: .2em;
}

.subtitle {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
    color: #08801c;
    padding-top: 50px;
    text-transform: uppercase;
}


.about__paragraph {
    line-height: 1.2;
    text-align: left;
    font-size: 1.2em;
}

.about__texts__list {
    margin-top: 1em;
    margin-left: 1em;
    font-size: 1.2em;
}

/*swiper*/

.swiper {
    width: 100%;
    height: 85vh;
    position: relative;
}

.swipper-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
}

.swipper-text-title {
    margin-top: 8em;
}

.swipper-text-link,
.section__cta {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right bottom, #005829, #91C73D);
    padding: 1em;
    border-radius: 50px;
    margin-top: 1em;
}

.section__cta{
    text-align: center;
    margin: auto;
    display: block;
    width: 150px;
    margin-top: 5em;
}

.swiper-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cambiar a 'contain' para evitar cortes */
}

.swiper-slide__img-foto5 {
    height: -790px;
}


.swipper-button {
    color: #fff !important;
}

.swiper-button-prev {
    margin-left: 1em;
}

.swiper-button-next {
    margin-right: 1em;
}

.swiper-pagination-bullet {
    width: 20px !important;
    height: 20px !important;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.swiper-slide {
    position: relative;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Ajusta la opacidad según sea necesario */
    color: white;
    /* Color del texto */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    /* Tamaño del texto */
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}
.container-bar{
	width: 100%;
	max-width: 50px;
	position: fixed;
    z-index: 1000;
	left: 0;
	top: 25%;
}
.container-bar a{
	display: block;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	position: relative;
	transition: all 500ms ease;
	color: #fff;
}
.container-bar a:hover{
	background: #1c1c1c;
}
.container-bar .fa-facebook{
	background: #3b5998;
	border-radius: 0px 5px 0px 0px;
}

.facebook-icono{
    margin-top: .5em;
}

.container-bar #title{
	position: absolute;
	background: #1c1c1c;
	padding: 0px 8px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 3px;
	font-size: 15px;
	top:12px; left: 0px;
	transition: all 500ms ease;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
}
.container-bar a:hover #title{
	opacity: 1;
	visibility: visible;
	left: 64px;
}
.container-bar #title:after{
	position: absolute;
	content: '';
	border-left: 7px solid transparent;
	border-right: 6px solid #1c1c1c;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	right: 100%;
	top: 8px;
}
#btn-social{
	display: none;
}
.fa-play{
	cursor: pointer;
	transition: all 0.4s;
	font-size: 12px;
	margin-bottom: 5px;
	display: inline-block;
	transform: rotate(180deg);
	color: #49b0e6;
}
#btn-social:checked ~ .fa-play{
	transform: rotate(0deg);
}
.icon-social{
	transition: all 0.4s;
	transform: translateX(0%);
	box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
}
#btn-social:checked ~ .icon-social{
	transform: translateX(-100%);
	box-shadow: 0px 1px 10px rgba(0,0,0,0.0);
}

/* price */

.price,
.noticias {
    text-align: center;
}

.noticias {
    padding: 1em;
}

.noticia_imagen {
    width: 100%;
    height: 300px;
    border-bottom: 3px solid #08801c;
}

.price__table,
.noticias__table,
.noticias__container,
.forms__container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: start;
}

.noticias__container {
    padding-bottom: 0;
}

.price__element,
.noticia__element,
.form__element,
.consejero__element {
    text-align: center;
    border-radius: 10px;
    width: 350px;
    padding: 30px;
    height: 500px;
    box-shadow: 0 0 6px #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.form__element {
    height: auto;
    position: relative;
    padding: 0;
    height: 300px;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    border-radius: .6em;
}

.consejero__element {
    padding: 15px;
}

.consejero__img {
    width: 100%;
    height: 300px;
}

.consejero__img-jose{
   width: 250px;
}

.consejero__width--1 {
    width: 400px;
}

.consejero__img--width {
    width: 190px;
}

.consejero__img--eladio{
    width: 400px;
}

.noticia__element {
    padding: 0;
}

.noticia__btn {
    margin: auto;
    display: block;
    width: 300px;
    margin-top: 4em;
    padding: 1em;
    cursor: pointer;
    border-radius: 20px;
    border: none;
    background-color: #005829;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin-block: 1em;
}

.price__name {
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}


.price__price,
.noticia_titulo,
.form__title {
    font-size: 2rem;
    color: var(--color-price);
    text-transform: uppercase;
    color: #008B4A;
}

.price__price {
    font-size: 1.5rem;
}

.form__title {
    color: #fff;
    background-color: #005829;
    font-size: 1.2rem;
    padding: .5em;
    position: absolute;
    width: 100%;
    top: 0;
    border-top-left-radius: .4em;
    border-top-right-radius: .4em;
}

.form__img {
    width: 100%;
    height: 300px;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    border-radius: .5em;
}

.form__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    padding: .5em;
    width: 100%;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    margin-top: -100px;
}

.form__btn {
    font-size: .8rem;
    background-color: #005829;
    text-align: center;
}

.btn__llenar__container {
    display: flex;
    justify-content: center;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
  }
  
  .separator::before,
  .separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #000;
  }
  
  .separator:not(:empty)::before {
    margin-right: 10px;
  }
  
  .separator:not(:empty)::after {
    margin-left: 10px;
  }
  

.noticia_titulo {
    font-size: 1rem;
}

.noticia__element__btn {
    text-decoration: none;
    background-color: #005829;
    padding: 1em;
    color: #fff;
    text-align: center;
    margin-bottom: 1em;
    border-radius: 30px;
}

.price__items,
.noticia__items {
    gap: 1em;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--color-items);
}

.price__features--text {
    text-align: justify;
    text-justify: inter-word;
}

.price__items__list {
    text-align: left;
}

.price__items__span {
    font-weight: bold;
}

.price__items__list__item::marker {
    color: #008B4A;
}

.price__cta {
    display: block;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--bg-cta);
    font-weight: 600;
    color: var(--color-cta);
}

/* Questions */

.subtitle {
    text-align: center;
}

.questions__container {
    display: grid;
    gap: 2em;
    padding-top: 150px;
    padding-bottom: 200px;

}

.question__item {
    margin-bottom: 1em;
}

.question__item__details[open] {
    transition: all .3s ease;
}

.questions__title {
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 30px;
    cursor: pointer;
    color: #008B4A;
    justify-content: space-between;
    font-weight: 900;
    text-transform: uppercase;
}

.questions__arrow {
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    margin-left: 10px;
    transition: transform .3s;
}

.question__item {
    border: 1px solid #000;
    border-radius: 20px;
    cursor: pointer;
}

.question__item__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 10px;
}

.questions__img {
    transition: transform 0.3s ease;
}

.question__item__details[open] .question__item__summary .questions__img {
    transform: rotate(180deg);
}

.question__item__texts {
    height: 0;
}

.question__item__details[open]>.question__item__texts {
    height: auto;
}

.question__item__texts {
    padding: 1em;
}

.question__item__paragraph {
    margin-block: 1em;
}

.question__item__paragraph__list {
    margin-left: 3em;
    margin-top: 1em;
}

.question__item__paragraph__list__item::marker {
    color: #008B4A;
}

.question__item__paragraph__container {
    margin-top: 1em;
    margin-left: 1em;
}

.question__item__paragraph__container__list {
    margin-top: 1em;
    margin-left: 3em;
    list-style: none;
}

.question__item__paragraph__container__list--viñeta {
    margin-left: 4em;
    margin-block: 1em;
}

.question__item__paragraph__container__list__item--viñeta::marker {
    color: #008B4A;
}

.question__item__paragraph__container__list__item {
    margin-bottom: 1em;
}

.question__item__paragraph__container__subtitle {
    color: #008B4A;
    margin-block: 1em;
}

.question__item__paragraph__container__paragraph {
    margin-block: 1em;
}

.question__item__paragraph__container__paragraph--italic {
    font-style: italic;
}


/*Ubicacion*/

.ubicacion__container {
    display: flex;
    justify-content: center;
}

.ubicacion__container__info {
    display: flex;
    font-size: 1.5rem;
}

.ubicacion__container__icono {
    width: 50px;
    height: 50px;
}
.waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 8vh;
    margin-bottom: -7px; /* Ajuste para evitar una línea indeseada */
    min-height: 100px;
    max-height: 150px;
}

/* Footer */

.footer {
    background-color: #195637;
    height: 100%;
}

.footer__info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
}

.ter__info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer__info__top__subtitle {
    color: #fff;
}

.mapa {
    width: 250px;
    height: 150px;
}

.footer__info__bottom {
    display: flex;
    align-items: center;
    color: #fff;
}

.nav--footer {
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer {
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer__inputs {
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer__input {
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
}

.footer__submit {
    margin-left: auto;
    display: inline-block;
    height: 20px;
    padding: 0 0;
    background-color: #2091F9;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy {
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer__copyright {
    font-weight: 300;
}

.footer__icons {
    margin-bottom: 1px;
}

.footer__img {
    width: 30px;
}

.footer__info__contact {
    margin-left: auto;
    color: #fff;
}

.footer__info__contact__span {
    font-weight: bold;
}

/* Media queries */

@media(max-width:1235px){
    .help__container {
        flex-wrap: wrap;
        gap: 1em;
        justify-content: center;
        align-items: center;
    }
    .help__item--2{
        margin-top: 1em;
    }
}

@media (max-width: 1200px) {
    .about__texts {
        margin-left: 4em;
    }

    .about__bottom {
        margin-top: 2em;
    }

    .about__bottom__vision {
        margin-left: 0;
    }

    .footer__info__contact {
        margin-top: 1em;
        margin-left: 0;
    }
}

@media(max-width: 900px) {
    .about__top {
        flex-direction: column;
    }

    .about__bottom {
        flex-direction: column;
        row-gap: 1em;
        text-align: center;
    }

    .about__bottom__vision,
    .about__bottom__mision {
        width: 100%;
    }

    .about__bottom__vision__paragraph,
    .about__bottom__mision__paragraph {
        text-align: justify;
    }

    .about__texts {
        margin: 0;
        width: 100%;
    }

    .questions__copy {
        width: 100%;
    }

    .footer__container {
        flex-wrap: wrap;
    }

    .footer__title {
        text-align: center;
        width: 100%
    }

    .nav--footer {
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer {
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .img-afiliarse{
        display: none;
    }

    .help__item--3{
        margin-top: 0;
    }

    .section__container {
        padding-inline: 3.2em;
    }

    .section__right {
        padding: 0;
        margin: 0;
    }
    
    .section__text{
        width: 100%;
    }

    .footer__form {
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input {
        flex: 1;
    }
}

@media (max-width:800px) {
    .nav__menu {
        display: block;
    }

    .nav__link--menu {
        position: fixed;
        background-color: #fff;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show {
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .submenu {
        position: relative;
        background-color: #fff;
        margin-top: 1.5em;
        box-shadow: none;
    }

    .submenu--show {
        display: block !important;
        text-align: center;
    }

    .submenu__item:not(:first-child) {
        margin-top: 3em;
    }

    .submenu__link {
        text-decoration: none;
        color: #000;
    }

    .nav__links--margin {
        margin-left: 1em;
    }

    .nav__close {
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .about__main {
        gap: 2em;
    }

    .about__icons:last-of-type {
        grid-column: 1/-1;
    }

    .knowledge__container {
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture {
        grid-row: 1/2;
        justify-self: center;
    }

}

@media (max-width:600px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__paragraph {
        font-size: 1rem;
    }

    .hero::before {
        background-position: 80%;
        background-repeat: no-repeat;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .about__image__container {
        width: 100%;
    }

    .price__element {
        width: 90%;
    }

    .price__element--center {
        height: auto;
    }


    .price__price,
    .form__title {
        font-size: 1.5rem;
    }

    .price__items {
        margin-block: 1em;
    }

    .swipper-text-title {
        margin-top: 2em;
        font-size: 2em;
    }

    .questions__title {
        font-size: 1rem;
    }

    .footer__title {
        justify-self: start;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .footer__info {
        justify-content: center;
    }

    .mapa {
        width: 100%;
    }

    .nav--footer {
        padding-bottom: 60px;
    }

    .nav__link--footer {
        justify-content: space-between;
    }

    .footer__inputs {
        flex-wrap: wrap;
    }

    .footer__input {
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit {
        margin-right: auto;
        margin-left: 0;
    }
}

@media (max-width: 415px) {
    .price__items__list__item {
        font-size: .8rem;
    }

    .questions__title {
        padding-inline: .3em;
    }

    .question__title {
        font-size: .9rem;

    }

    .footer__title {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .noticia__btn {
        width: 90%;
    }
}