@font-face {
    font-family: "normal";
    src: url('../fuentes/AlteHaasGrotesk_Bold.woff') format('woff');
}
@font-face {
    font-family: "etheris";
    src: url('../fuentes/TARSICARegular.woff') format('woff');
}  
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: normal;
    background-color: white;
    font-size: 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

/*Carrusel*/
.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 0;
  min-height: 500px;
}

.carrusel {
    position: relative;
    margin-top: 0px;
    z-index: 0;
    background-color: #f6eee6;
    height: 100%;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.texto { 
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #f6eee6;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  max-width: 80%;
}

.texto h2 {
  font-size: 3em;
  margin-bottom: 0.3em;
  color: #F3B562;
  font-family: etheris;
  line-height: 1.2;
}

.texto p {
  font-size: 20px;
  margin-bottom: 1em;
  max-width: 500px;
  line-height: 1.4;
}

.texto a {
  font-size: 1em;
  background-color: #f8c98b;
  font-family: normal;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  padding: 7px 15px;
  text-decoration: none;
  color: #E27D60;
  text-shadow: none;
  display: inline-block;
}

.texto a:hover {
  background-color: #F3B562;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  color: white;
  background: rgba(0,0,0,0.3);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.carousel-container svg{
  position: absolute;
  bottom: 0%;
}


@media (max-width: 1200px) {
    .texto {
        bottom: 15%;
        left: 8%;
    }

    .texto h2 {
        font-size: 2.8em;
    }

    .texto p {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .texto {
        bottom: 10%;
        left: 5%;
        max-width: 90%;
    }

    .texto h2 {
        font-size: 2.5em;
    }

    .texto p {
        font-size: 16px;
        max-width: 450px;
    }

    .prev, .next {
        font-size: 2.5em;
        width: 50px;
        height: 50px;
    }
    @media (max-width: 768px) {
    .carousel-container {
        min-height: 400px;
        height: 80vh;
    }

    .texto {
        bottom: 5%;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

    .texto h2 {
        font-size: 2.2em;
    }

    .texto p {
        font-size: 15px;
        margin: 0 auto 1em;
    }

    .prev, .next {
        font-size: 2em;
        width: 40px;
        height: 40px;
        top: 40%;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .texto h2 {
        font-size: 1.8em;
    }

    .texto p {
        font-size: 14px;
    }

    .texto a {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .indepe h1 {
        font-size: 1.5em;
    }
}
}
/*INFO*/
.info{
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 100px;
    padding-bottom: 300px;
    background-color: #f6eee6;
}

.indepe{
    position: relative;
    width: 80%;
    max-width: 1200px;
    height: auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background-color: #3E5C76;
    color: #f6eee6;
    margin: 0 auto;
}
.indepe h1{
    margin: auto;
    text-align: center;
    color: #A3C4BC;
    font-family: Etheris;
}

.contt{
  display: flex;
  gap: 100px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  padding: 40px 20px;
}
.gud{
    flex: 1 1 300px;
    max-width: 400px;
    height: 420px;
    perspective: 1500px;
}
.gud-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.gud.flipped .gud-inner {
    transform: rotateY(180deg);
}

.gud-front, .gud-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f6eee6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    color: #3E5C76;
}
.gud-back {
    transform: rotateY(180deg);
}

.gud h2{
    color: #A3C4BC;
    margin-bottom: 15px;
}
.gud ul{
    list-style: none;
    padding: 0;
    text-align: center;
}
.gud li {
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.gud li:hover{
    border-bottom: 1px solid #A3C4BC;
    transform: scale(1.05);
}

.back-btn {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #A3C4BC;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #8aa8a0;
}


.info svg{
  position: absolute;
  bottom: 0%;
}
@media (max-width: 900px) {
    .contt {
        gap: 50px;
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .info {
        height: auto;
        padding: 100px 0;
    }

    .indepe {
        width: 90%;
        padding: 20px;
    }

    .contt {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px 0;
    }

    .gud {
        width: 90%;
        max-width: 550px;
        height: auto;
        min-height: 420px;
    }

    .gud-front, .gud-back {
        min-height: 340px;
    }
}

@media (max-width: 480px) {
    .indepe h1 {
        font-size: 1.5em;
    }
}
/*contenedores*/
h1{
  margin-bottom: 20px;
  text-align: center;
  font-size: 2.5em;
}
#divisiones {
    background-color: #A3C4BC;
    height: auto;
    padding: 50px 20px;
    box-sizing: border-box;
    min-height: 400px;
    color: #3E5C76;
}
#divisiones h1{
    font-family: Etheris;
}
.contenedor h2{
    font-size: 30px;
    margin-bottom: 15px;
    color: #A3C4BC;
}
.contenedor {
    display: flex;
    gap: 40px;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.divi{
    position: relative;
    margin-top: 70px;
    padding: 60px 20px 20px;
    flex: 0 0 280px;
    background-color: #f6eee6;
    border-radius: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.divi:hover{
  transform: translateY(-5px);
}
.imagen{
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}
.imagen img{
    margin-top: 15px;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f6eee6;
}
.contenedor a{
  font-size: 18px;
  background-color: #f8c98b;
  font-family: normal;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  color: #E27D60;
  padding: 8px 16px;
  text-shadow: none;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}
.contenedor a:hover{
  background-color: #F3B562;
}