/*tipografía urbanist y montserrat*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap"); /*tipografía montserrat*/

:root {
  /*paleta principal*/
  --pmorado: rgb(111, 62, 140); /*primer color*/
  --pcrema: rgb(246, 240, 208); /*segundo color*/
  --prosaceo: rgb(232, 61, 82); /*tercer color*/
  --pburdeos: rgb(102, 12, 53); /*cuarto color*/
  /*textos y fondos*/
  --tfburdeosanegro: rgb(25, 1, 13); /*burdeos a negro*/
  --tfmoradoanegro: rgb(32, 15, 45); /*morado a negro*/
  --tfamarillo: rgb(232, 207, 98); /*amarillo crema*/
  --tfsalmon: rgb(255, 192, 203); /*salmon*/
  --tfmoradoablanco: rgb(222, 182, 252); /*morado a blanco*/
  --tfcrema: rgb(246, 240, 208); /*crema*/
}

/* Estilos generales */
/*retícula 16 columnas - 1920px*/

body {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: "Montserrat";
  font-size: 18pt;
  font-weight: 400; /*regular*/
  background-color: var(--pcrema);
  color: var(--pmorado);
}

header {
  position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 270px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--tfamarillo);
  font-weight: 500; /*medium*/
  text-align: right;
  box-shadow: 0px 1px 20px var(--tfmoradoanegro);
}

main {
  margin-top: auto;
}

.container {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid-content-box,
.content-box-center,
.content-box-left,
.content-box-right {
  position: relative;
  height: 100%;
  width: 75%; /*margen equivalente a 2 columnas por cada lateral*/
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.grid-content-box {
  display: grid;
  grid-template-columns: repeat(3, 33.3%);
}

.grid-content-box,
.content-box-center {
  text-align: center;
}

.content-box-left {
  text-align: left;
}

.content-box-right {
  text-align: right;
}

.col-left,
.col-center,
.col-right,
.col-double-left,
.col-double-right {
  width: 100%; /* Asegura que ocupe el ancho disponible */
  margin: 0 auto;
}

/* Solo aplica las columnas cuando el padre sea realmente un Grid */
.grid-content-box .col-left {
  grid-column: 1;
}

.grid-content-box .col-center {
  grid-column: 2;
}

.grid-content-box .col-right {
  grid-column: 3;
}

.grid-content-box .col-double-left {
  grid-column: 1 / span 2;
}

.grid-content-box .col-double-right {
  grid-column: 2 / span 2;
}

footer {
  height: 270px;
  padding-top: 2%;
  padding-bottom: 2%;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background-color: var(--pcrema);
  color: var(--tfsalmon);
}

::-webkit-scrollbar {
  display: none;
}

/*estado*/
.hidden {
  display: none;
}

.active {
  color: var(--prosaceo);
  font-weight: 600; /*semibold*/
}

/*encabezados de página*/
#titlecontainer {
  width: 100%;
}

#titlecontainer h1 {
  width: auto;
}

/*títulos*/

.heading {
  font-family: "Urbanist";
  font-size: 56pt;
  font-weight: 700; /*bold*/
}

.u-h1 {
  font-family: "Urbanist";
  font-size: 36pt;
  font-weight: 700; /*bold*/
}

.u-h2 {
  font-family: "Urbanist";
  font-size: 24pt;
  font-weight: 700; /*bold*/
}

.m-h1 {
  font-family: "Montserrat";
  font-size: 36pt;
  font-weight: 700; /*bold*/
}

.m-h2 {
  font-family: "Montserrat";
  font-size: 24pt;
  font-weight: 600; /*semibold*/
  line-height: 0.5;
}

.m-sub {
  margin-top: -3%;
}

/*textos*/

.m-p2 {
  font-family: "Montserrat";
  font-size: 30pt;
  font-weight: 500; /*medium*/
  padding-left: 2%;
  padding-right: 2%;
}

.m-p3 {
  padding-top: 5%;
  font-family: "Montserrat";
  font-size: 18pt;
  font-weight: 500; /*medium*/
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

hr {
  border-color: transparent;
}

/*listas*/
.ol-li-left,
.ul-li-left {
  text-align: left;
  font-family: "Montserrat";
  font-size: 24pt;
  line-height: 1.5;
}

.ul-li-left {
  list-style: circle;
}

.none-style {
  list-style: none;
}

/*colores de letra*/

.morado {
  color: var(--pmorado);
}

.crema {
  color: var(--pcrema);
}

.burdeos {
  color: var(--pburdeos);
}

.rosaceo {
  color: var(--prosaceo);
}

.negro {
  color: var(--tfburdeosanegro);
}

.amarillo {
  color: var(--tfamarillo);
}

/*navegadores*/

.top-bar {
  position: fixed;
  z-index: 3;
  width: 62.5%;
  left: 37.5%;
  height: 12.5%;
  border-bottom-left-radius: 300px 150px;
  background-color: var(--pcrema);
}

.top-nav {
  height: 100%;
  margin-top: 0;
  display: flex;
  align-items: center;
}

.top-nav-content {
  width: 80%;
  right: 20%;
  display: grid;
  grid-template-columns: repeat(3, 33.3%);
  align-items: center;
  padding-inline-start: 0;
  list-style-type: none;
}

.main-bar {
  width: 75%; /*margen equivalente a 2 columnas por cada lateral*/
  height: 100%;
  display: grid;
  grid-template-columns: 33.3%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  background-color: var(--tfamarillo);
}

.main-nav {
  height: 50%;
  grid-column: 2;
  align-self: end;
}

.logo {
  grid-column: 1;
  width: 100%;
}

.main-nav-content {
  padding-top: 3%;
  display: grid;
  grid-template-columns: repeat(3, 33.3%);
  padding-inline-start: 0;
  list-style-type: none;
}

.m-n-left {
  text-align: start;
  padding-left: 2.5%;
}

a {
  text-decoration: none;
}

/*lienzo principal*/
.banner {
  margin-top: 270px;
  height: 540px;
  background-color: var(--tfamarillo);
}

.landing-banner {
  padding: 5%;
  height: auto;
  background-color: var(--tfcrema);
}

.section-1 {
  height: auto;
  color: var(--tfburdeosanegro);
}

.section-2 {
  height: auto;
  background-color: var(--pmorado);
  color: var(--pcrema);
}

.section-3 {
  height: auto;
  background-color: var(--prosaceo);
  color: var(--pcrema);
}

.section-4 {
  height: auto;
  background-color: var(--pburdeos);
  color: var(--pcrema);
}

.landing-section-1 {
  padding: 5%;
  height: auto;
  background-color: var(--pcrema);
  color: var(--tfburdeosanegro);
}

.landing-section-2 {
  padding: 5%;
  height: auto;
  background-color: var(--pmorado);
  color: var(--pcrema);
}

.landing-section-3 {
  padding: 5%;
  height: auto;
  background-color: var(--prosaceo);
  color: var(--pcrema);
}

.landing-section-4 {
  padding: 5%;
  height: auto;
  background-color: var(--pburdeos);
  color: var(--pcrema);
}

/* #calendar {
  background-color: black;
} */

/*imágenes*/
.img-banner,
.img-profile {
  width: 80%;
  border-radius: 5%;
  object-position: top;
}

/*botones*/

.btn-simple {
  margin-left: 25%;
  margin-right: 25%;
  margin-top: 5%;
  margin-bottom: 5%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: var(--prosaceo);
  border-radius: 20px;
  color: var(--pcrema);
  box-shadow: 3px 3px 20px var(--pburdeos);
}

.btn-simple-crema {
  margin-left: 25%;
  margin-right: 25%;
  margin-top: 5%;
  margin-bottom: 5%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: var(--pcrema);
  border-radius: 20px;
  color: var(--pcrema);
  box-shadow: 3px 3px 20px var(--pburdeos);
}

.btn-rosa {
  margin-left: 5%;
  margin-right: 5%;
  padding: 10%;
  background-color: var(--prosaceo);
  border-radius: 20px;
  color: var(--pcrema);
  box-shadow: 3px 3px 20px var(--pburdeos);
}

.btn-plan {
  position: relative;
  height: 28em;
}

.btn-amarillo {
  padding: 5%;
  background-color: var(--tfamarillo);
  border-radius: 10px;
  color: var(--prosaceo);
}

.btn-rosa ul {
  text-align: start;
  max-height: 16em;
  overflow-y: scroll;
}

.no-shadow {
  box-shadow: none;
}

.btn-bottom {
  position: absolute;
  left: 2em;
  right: 2em;
  bottom: 2em;
  justify-items: center;
}

/*mediaquerys*/

/* =========================================================
   MEDIA QUERIES — LANDING VUELVE A TI
   Mantiene los estilos de escritorio y adapta la landing
   a tablet y móvil.
   ========================================================= */

/* Tablet horizontal */
@media screen and (max-width: 1023px) {
  .grid-content-box,
  .content-box-center,
  .content-box-left,
  .content-box-right {
    width: 85%;
  }

  .heading {
    font-size: 46pt;
  }

  .u-h1,
  .m-h1 {
    font-size: 30pt;
  }

  .u-h2,
  .m-h2 {
    font-size: 21pt;
  }

  .m-p2 {
    font-size: 24pt;
  }

  .ol-li-left,
  .ul-li-left {
    font-size: 21pt;
  }

  .btn-simple,
  .btn-simple-crema {
    margin-left: 15%;
    margin-right: 15%;
  }
}

/* Tablet vertical */
@media screen and (max-width: 767px) {
  body {
    font-size: 14pt;
  }

  .grid-content-box,
  .content-box-center,
  .content-box-left,
  .content-box-right {
    width: 90%;
    display: block;
  }

  .grid-content-box {
    display: block;
  }

  .col-left,
  .col-center,
  .col-right,
  .col-double-left,
  .col-double-right {
    width: 100%;
  }

  .heading {
    font-size: 40pt;
  }

  .u-h1,
  .m-h1 {
    font-size: 27pt;
  }

  .u-h2,
  .m-h2 {
    font-size: 20pt;
  }

  .m-p2 {
    font-size: 20pt;
    line-height: 1.4;
  }

  .m-p3 {
    font-size: 14pt;
  }

  .ol-li-left,
  .ul-li-left {
    font-size: 18pt;
    line-height: 1.45;
  }

  .landing-banner,
  .landing-section-1,
  .landing-section-2,
  .landing-section-3,
  .landing-section-4 {
    padding: 10% 5%;
  }

  .img-profile,
  .img-banner {
    width: 100%;
    margin-top: 5%;
  }

  .btn-simple,
  .btn-simple-crema {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 8%;
    margin-bottom: 8%;
    padding: 4% 3%;
  }

  footer {
    height: auto;
    padding: 10% 5%;
  }
}

/* Móvil horizontal */
@media screen and (max-width: 479px) {
  .heading {
    font-size: 30pt;
    line-height: 1.05;
  }

  .grid-content-box,
  .content-box-center,
  .content-box-left,
  .content-box-right {
    width: 96%;
  }

  .u-h1 {
    font-size: 23pt;
    line-height: 1.15;
  }

  .u-h2 {
    font-size: 17pt;
  }

  .m-h1 {
    font-size: 23pt;
    line-height: 1.15;
  }

  .m-h2 {
    font-size: 18pt;
    line-height: 1.15;
  }

  .m-p2 {
    font-size: 17pt;
    line-height: 1.45;
  }

  .m-p3 {
    font-size: 12pt;
    line-height: 1.4;
  }

  .ol-li-left,
  .ul-li-left {
    font-size: 16pt;
    line-height: 1.45;
  }

  .landing-banner,
  .landing-section-1,
  .landing-section-2,
  .landing-section-3,
  .landing-section-4 {
    padding: 12% 3%;
  }

  .btn-simple,
  .btn-simple-crema {
    margin-left: 0;
    margin-right: 0;
    padding: 5% 4%;
    font-size: 14pt;
    line-height: 1.2;
  }

  .img-profile,
  .img-banner {
    width: 100%;
    border-radius: 4%;
  }
}

/* Móvil vertical pequeño */
@media screen and (max-width: 319px) {
  .heading {
    font-size: 26pt;
  }

  .u-h1,
  .m-h1 {
    font-size: 20pt;
  }

  .u-h2,
  .m-h2 {
    font-size: 16pt;
  }

  .m-p2 {
    font-size: 15pt;
  }

  .ol-li-left,
  .ul-li-left {
    font-size: 14pt;
  }

  .btn-simple,
  .btn-simple-crema {
    font-size: 12pt;
  }
}
