/* ================== VARIABLES ================== */
:root {
  --first-color: #00abff;
  --button-color: hsl(0, 0%, 17%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --container-color: #fff;

  --body-font: 'Roboto', sans-serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1rem;
  --normal-font-size: 1rem;
  --font-medium: 600;

  --mb-1: 1rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
}
@media (min-width: 992px) {
}
@media (min-width: 768px) {
}

.about__details {
    display: grid;
    row-gap: 2px;
    margin-bottom: var(--mb-2-5);
}

.section__title {
    position: relative;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0 1rem;
    }
}
@media (min-width: 1024px) {


}

@media (min-width: 992px) {

}
@media (min-width: 768px) {

}


@media (min-width: 992px) {
    .section__title {
        font-size: var(--h2-font-size);
    }
}




@media (min-width: 768px) {
    .story__images {
        order: -1;
    }
}
.story__images {
    position: relative;
}

@media (min-width: 992px) {
    .story__square{
        width: 450px;
    }
}

.story__img, .story__square {
    width: 250px;
}
    
@media (min-width: 992px) {
    .story__square {
        height: 450px;
    }
}
@media (min-width: 992px) {
    .story__square{
        width: 450px;
    }
}
.story__square {
    height: 250px;
    /* background-color: var(--first-color); */
}
.story__img, .story__square {
    width: 250px;
}
@media (min-width: 768px) {
    .story__images {
        order: -1;
    }
}
.story__images {
    position: relative;
}
.main {
    overflow: hidden;
}
@media (min-width: 768px) {
    .section {
        padding: 5rem 0 1rem;
    }
}

/* --------------------- GLOBAL ---------------------- */
img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

/* ------------------- ESTRUCTURA -------------------- */
.section {
    padding: 6.5rem 0 1rem;
}


.grid {
    display: grid;
}

.about__container {
    display: grid;
    gap: 2rem;
    row-gap: 2rem;
}
@media screen and (min-width: 1024px) {
  .about__container {
    padding-inline: 20rem;
  }
}

/* ------------------ RESPONSIVE -------------------- */
@media (min-width: 768px) {
    .about__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 5rem 0 1rem;
    }
}

@media (min-width: 992px) {
    .about__img {
        width: 380px;
    }

    .section__title {
        font-size: var(--h2-font-size);
    }
}

@media (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ------------------ CONTENIDO --------------------- */


.about__description {
    margin-bottom: var(--mb-2);
}

.about__details {
    display: grid;
    row-gap: 1rem;
    margin-bottom: var(--mb-2-5);
}

.about__details-description {
    display: inline-flex;
    column-gap: .5rem;
    font-size: var(--small-font-size);
}

.about__details-icon {
    font-size: 1rem;
    color: var(--first-color);
    margin-top: -.09rem;
}

.button {
    display: inline-block;
    background-color: var(--button-color);
    color: #fff;
    padding: 1.25rem 2rem;
    font-weight: var(--font-medium);
    transition: .3s;
}

.button--small {
    padding: 1rem 1.5rem;
}
/* ------------------ GLOBAL ------------------ */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: hsl(0, 0%, 35%);
  font-weight: var(--font-medium);
}

/* ------------------ ESTRUCTURA ------------------ */
.section {
  padding: 6.5rem 0 1rem;
}



.grid {
  display: grid;
}

/* ------------------ STORY (adaptado de ABOUT) ------------------ */
.story__container {
  display: grid;
  gap: 2rem;
  row-gap: 2rem;
}

/* Estilos para pantallas grandes (como laptop o PC) */
@media screen and (min-width: 1024px) {
  .story__container {
    padding-inline: 20rem;
  }
}
.story__img {
  width: 100%;
  max-width: 380px;
}

.story__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
}

.story__description {
  margin-bottom: var(--mb-2-5);
}

/* ------------------ BUTTON ------------------ */
.button {
  display: inline-block;
  background-color: var(--button-color);
  color: #fff;
  padding: 1.25rem 2rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button--small {
  padding: 1rem 1.5rem;
}

/* ------------------ RESPONSIVE ------------------ */
@media (min-width: 768px) {
  .story__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .section {
    padding: 5rem 0 1rem;
  }

  .story__images {
    order: -1;
  }
}

@media (min-width: 992px) {
  .story__container {
    column-gap: 8rem;
  }

  .story__img {
    width: 450px;
  }

  .section__title {
    font-size: var(--h2-font-size);
  }
}
.about__img-mapa img{
    width: 12rem;
    border-radius: 15px;
  }