:root {
  --blue: #2b55a3;
  --red: #c63336;
  --green: #2b5543;
  --black: #555;
  --black-do: #222;
  --black-strong: #111;
  --text-main: #d4edda;
  --facebook: #3b5998;
  --twitter: #00acee;
  --instagram: #a10f2b;
  --whatsapp: #1c9b4b;
  --whites: rgb(245, 238, 238);
  --menu-mobile-background-color: #3a4460;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  color: var(--black);
  font-family: sans-serif;
}

a {
  text-decoration: none;
  display: inline;
  color: var(--black);
}

hr {
  margin-top: 15px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

img {
  width: 100%;
  height: auto;
}

aside-left {
  grid-area: aside-left;
}

aside-right {
  grid-area: aside-right;
  background-color: #f6f8fa;
}

.index {
  width: 100%;
  margin: 0 auto;
}

.h2index {
  font-size: 2.4rem;
  margin: 40px 0;
  padding: 0 15px;
}

.grid-container {
  display: grid;
  grid-template:
    "aside-left"
    "aside-right";
}

.inactive {
  display: none;
}

.g-mb-30 {
  margin-bottom: 30px;
}

.g-mt-30 {
  margin-top: 30px;
}

/* HEADER */
.topheader {
  /* box-shadow: 0 4px 5px var(--whites); */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  position: fixed;
  padding: 8px 0;
  background-color: white;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  opacity: 0.9;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Menu */
.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 0 15px;
}

.menu a {
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  /* color: var(--black); */
  color: #333;
  line-height: 26px;
  position: relative;
}

.menu a::after {
  content: "";
  background-color: var(--red);
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu a.active::after,
.menu a:hover::after {
  opacity: 0.8;
}

/* .menu a:hover {
    color: var(--primary-color);
} */

.open-menu,
.close-menu {
  display: none;
}

/* VALLE CONTAINER */
.valle {
  width: 100%;
  padding: 100px 0;
  background: url("../bg/pattern2.png");
}
.valle-container {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.valle-container h1 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.valle-container p {
  font-size: 1.85rem;
  margin-bottom: 15px;
  text-align: center;
}

/* BANNER TYPED */
.banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../bg/live.webp");
  /* background-color: #222; */
  background-size: cover;
  /* margin-bottom: 20px; */
}

.banner-content {
  max-width: 900px;
  text-align: center;
  padding: 0 10px;
  /* z-index: 1000; */
}

.banner-content h2 {
  font-size: 7rem;
  color: #fff;
  padding-bottom: 30px;
}

.banner-content p {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 30px;
}

/* BANNER MAIN */
.banner-main {
  width: 100%;
  height: auto;
  margin-top: 65px;
}

/* TITLE */
.title-main {
  margin: 70px auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 50px 0;
  /* height: 200px; */
  /* background: url('../images/cali/bg-cali.jpg') center/cover no-repeat; */
  background: url("../bg/pattern3.png");
}

.title-main .title-main__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.title-main .title-main__container nav {
  width: 100%;
  max-width: 500px;
  padding: 0 15px;
}

.title-main .title-main__name {
  font-size: 2.5rem;
  text-align: center;
  color: var(--whites);
  margin-bottom: 20px;
}

.title-main .title-main__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
  /* max-width: 500px; */
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: 8px;
}

.title-main__breadcrumb-item + .title-main__breadcrumb-item {
  padding-left: 0.5rem;
}

.title-main__breadcrumb-item + .title-main__breadcrumb-item::before {
  display: inline-block;
  font-size: 1.4rem;
  padding-right: 0.5rem;
  color: #6c757d;
  content: "/";
}

.title-main__breadcrumb-item a {
  text-decoration: none;
  font-size: 1.4rem;
  color: var(--red);
}

.title-main__breadcrumb-item.active {
  color: #6c757d;
  font-size: 1.4rem;
}

/* TITLE MAIN INDEX   */
.title-main-index {
  display: flex;
  justify-content: flex-start;
  padding: 40px 10px 40px 40px;
  background: url("../bg/pattern3.png");
  margin-bottom: 30px;
}

.title-main-index-r {
  display: flex;
  justify-content: flex-end;
  padding: 40px 40px 40px 10px;
  background: url("../bg/pattern3.png");
  margin-bottom: 30px;
}

.title-main-index h2,
.title-main-index-r h2 {
  font-size: 2.2rem;
  color: var(--whites);
}

.title-main-index p,
.title-main-index-r p {
  color: var(--whites);
  font-size: 3.5rem;
}

.title-main-index span,
.title-main-index-r span {
  color: var(--red);
}

/* BLOCK IMAGES */
.block-images {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.block-images img {
  width: 49%;
  border-radius: 10px;
}

/* BLOCKQUOTE */
.blockquote {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 10px;
}

.blockquote p {
  font-size: 1.8rem;
}

/* ICONS MPIOS */
.icons-mpios-container {
  display: flex;
  justify-content: space-between;
}

.icons-mpios-container div {
  width: 100%;
}

.icons-mpios-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
}

.icons-mpios-content i {
  font-size: 3rem;
  color: var(--whites);
}

.icons-mpios-content span {
  padding-top: 15px;
  font-size: 1.5rem;
  color: var(--whites);
}

.green-primary {
  background-color: #599722;
}

.green-secondary {
  background-color: #66ab27;
}

/* SECTION CARDS */
.cards {
  width: 100%;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.cards-index,
.cards-jhons-index {
  width: 100%;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.site-card {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 10px 6px -6px rgb(0 0 0 / 20%);
}

.site-card .site-card__img {
  padding: 10px;
}

.site-card .site-card__img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.site-card .site-card__img-index img {
  width: 100%;
  height: auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.site-card__content,
.site-card-jhons__content {
  padding: 15px;
}

.site-card__content h2,
.site-card-jhons__content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 15px;
}

.site-card__content p,
.site-card-jhons__content p {
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 15px;
}

.site-card__button,
.site-card-jhons__button {
  /* bottom: 2.4rem; */
  float: right;
  /* transform: translateX(-50%); */
  color: var(--black);
  margin-bottom: 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  /* background-color: white; */
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 50rem;
  /* box-shadow: 0 1.75rem 3rem rgba(0, 0, 0, 0.1); */
  box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.5);
  /* box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3); */
}

.site-card__button:hover {
  background-color: #f7f5f5;
}

.site-card__button:active,
.site-card-jhons__button:active {
  transform: translate(5%, 3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.site-card__button:focus,
.site-card-jhons__button:focus {
  outline: none;
}

/* SECTION CARDJHONS */
.cards-jhons {
  width: 100%;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* .cards-jhons-index {
    width: 100%;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
} */

.site-card-jhons {
  margin: 20px 0;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: white;
  box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.5);
}

.site-card-jhons .site-card-jhons__img img {
  width: 100%;
  border-top-right-radius: 20px;
}

/* TITULO MUNICIPIO */
.container-title-mpio {
  margin-bottom: 30px;
  border-bottom: 1px dotted #ccc;
}

.title-site-mpio {
  font-size: 2rem;
  color: var(--black);
  position: relative;
  top: 1px;
  display: inline-block;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--blue);
}

/* SHARE CONTAINER */
.share-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.share-container p {
  font-size: 1.4rem;
}

.icons-social i {
  font-size: 2.8rem;
}

.icons-social i::before {
  margin-left: 5px;
}

.icons-social i:hover {
  color: var(--black);
}

.icons-social .f {
  color: var(--facebook);
}

.icons-social .t {
  color: var(--twitter);
}

.icons-social .i {
  color: var(--instagram);
}

.icons-social .w {
  color: var(--whatsapp);
}

/* BLOCK INFO CONTAINER */
.block-container,
.block-site-container {
  width: 100%;
  padding: 0 15px;
  margin-bottom: 30px;
  margin-top: 15px;
}

.block-info-container {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  /* background: linear-gradient(207.8deg, #060141 16.69%, #a31c04 100%); */
  background-color: var(--text-main);
}

.block-info-container h2 {
  font-size: 2.4rem;
  color: var(--black);
  margin-bottom: 10px;
}

.block-info-container p {
  font-size: 1.85rem;
  line-height: 2.5rem;
  color: var(--black);
}

/* BLOCK SITE CONTAINER */
.block-container-services {
  width: 100%;
  padding: 20px;
}

.block-container-services h3 {
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 20px;
}

.block-site-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.block-site-content-container__solid h3,
.block-site-info h3,
.block-site-contact h3 {
  font-size: 2.2rem;
  color: var(--black);
  margin: 10px 0;
}

.block-site-services li,
.block-site-info li,
.block-site-contact li {
  list-style: none;
}

.block-site-services li i {
  font-size: 2.5rem;
}

.block-site-services li img {
  width: 10px;
  height: auto;
}

.block-site-services li span {
  display: block;
  font-size: 1.4rem;
  padding-top: 10px;
}

.block-site-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.block-site-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.block-site-images video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.block-whatsapp p {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--black);
}

.block-whatsapp i {
  font-size: 4rem;
  margin-left: 20px;
  color: var(--whatsapp);
}

.map iframe {
  border-radius: 10px;
}

.block-site-content-container-gnal {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.block-site-info {
  width: 48%;
  padding: 10px;
}

.block-site-contact {
  width: 48%;
  padding: 10px;
}

.block-site-info li,
.block-site-contact li {
  padding: 5px 0;
}

.block-site-contact li i {
  font-size: 2.3rem;
  margin-right: 15px;
}

.block-site-contact li i.w {
  margin-left: 10px;
  font-size: 3rem;
  color: var(--whatsapp);
}

.block-site-content-container-gnal span {
  font-size: 1.8rem;
}

/* BLOCK CONTENT CONTAINER __SOLID * DASHED* DOTTED */
.block-content-container {
  width: 100%;
  /* padding: 10px; */
  border-radius: 10px;
  margin-bottom: 20px;
}

.block-content-container h3 {
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 10px;
}

.block-content-container__solid,
.block-site-content-container__solid {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.block-content-container__dashed {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 2px dashed #ccc;
}

.block-content-container__dotted {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 2px dotted #ccc;
}

.block-content-container__solid h2,
.block-content-container__dashed h2,
.block-content-container__dotted h2,
.block-site-content-container__solid h2 {
  font-size: 2.4rem;
  color: var(--black);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.block-content-container__solid p,
.block-content-container__dashed p,
.block-content-container__dotted p,
.block-site-content-container__solid p {
  font-size: 1.85rem;
  line-height: 2.5rem;
  color: var(--black);
}

/* CARDS SITES */
.main__plans__container {
  width: 100%;
  min-width: 320px;
  /* padding-bottom: 40px; para poner borde inferior */
  text-align: center;
}

.block-container-aside {
  width: 100%;
  padding: 15px 15px 0;
  /* margin-bottom: 20px; */
}

.block-container-aside h3 {
  font-size: 2.2rem;
  color: var(--black);
  text-align: left;
  /* margin-bottom: 10px; */
}

.plans__container--slider {
  display: flex;
  height: 320px;
  overflow-x: scroll;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.plans__container--card {
  scroll-snap-align: center;
  width: 100%;
  min-width: 190px;
  max-width: 300px;
  height: 250px;
  margin: 30px 15px 0;
  background-color: #f6f8fa;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(89, 73, 30, 0.16);
}

.plan-info-container h3 {
  /* background-color: #444; */
  /* background-color: rgb(25, 26, 73); */
  background: linear-gradient(to right, var(--blue) 50%, var(--red));
  text-align: center;
  padding: 18px 0;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: white;
  border-radius: 10px 10px 0 0;
}

.plan-info-container img {
  width: 100%;
  height: 200px;
  border-radius: 0 0 10px 10px;
  object-fit: cover;
}

/* SECTION SCROLL CARDS */
.cards-scroll {
  padding: 0 15px;
  display: flex;
  height: 450px;
  overflow: scroll;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: proximity;
  margin-bottom: 20px;
}

.site-card-scroll {
  min-width: 260px;
  height: 420px;
  margin: 0 10px 0 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.site-card-scroll .site-card__img-index img {
  width: 100%;
  height: auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* SECTION SCROLL MPIOS */
.cards-scroll-mpios {
  padding: 0 15px;
  display: flex;
  height: 280px;
  overflow: scroll;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: proximity;
  margin-bottom: 20px;
}

.site-card-mpios {
  min-width: 220px;
  max-width: 220px;
  height: 250px;
  margin: 0 15px 0 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.main-plans {
  width: 100%;
  min-width: 600px;
  /* padding-bottom: 40px; para poner borde inferior */
  text-align: center;
}

/* COOKIE MESSAGE */
.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  /* background-color: white; */
  color: var(--black);
  font-size: 1.85rem;
  font-weight: 600;
}

.cookie-message i {
  font-size: 3rem;
  color: var(--whatsapp);
}

/* BACK MESSAGE */
.back-message {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  /* background-color: white; */
  color: var(--black);
  font-size: 1.85rem;
  font-weight: 600;
}

/* FOOTER */
.pre-footer {
  width: 100%;
  background: url("../bg/pattern3.png");
}

.pre-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px 20px;
}

.pre-footer h5 {
  font-size: 1.5rem;
  color: var(--whites);
  padding: 20px 0;
}

.pre-footer ul li {
  list-style: none;
  padding-bottom: 10px;
}

.pre-footer ul li a {
  font-size: 1.3rem;
  color: var(--whites);
}

.post-footer {
  width: 100%;
  background: var(--black-strong);
}

.post-footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 30px 0;
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px 20px;
}

.post-footer-about ul {
  display: flex;
  flex-wrap: wrap;
}

.post-footer-about ul li {
  font-size: 1.5rem;
  list-style: none;
  color: var(--whites);
  padding: 10px 0;
}

.post-footer-about ul li a {
  font-size: 1.5rem;
  color: var(--red);
}

.post-footer-social ul {
  display: flex;
}

.post-footer-social ul li {
  list-style: none;
  display: inline-block;
  padding: 10px 0;
}

.post-footer-social ul li:not(:last-child) {
  margin-right: 0.5rem;
}

.post-footer-social ul li a {
  font-size: 2.5rem;
  color: var(--whites);
  padding: 10px;
}

.post-footer-social ul li a:hover {
  font-size: 2.5rem;
  color: var(--red);
  padding: 10px;
}

/* VIDEO */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.857143%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}
.embed-responsive .plyr--video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* MEDIAQUERY */
@media (max-width: 576px) {
  .desktop {
    display: none;
  }
  .smartphone {
    display: block;
  }

  .banner-content h2 {
    font-size: 5rem;
  }

  .block-images {
    flex-wrap: wrap;
  }

  .block-images img {
    width: 100%;
  }

  .icons-mpios-container {
    flex-wrap: wrap;
  }
}

@media (min-width: 577px) {
  .desktop {
    display: block;
  }
  .smartphone {
    display: none;
  }
}

@media (max-width: 768px) {
  .pre-footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .pre-footer-container .pre-footer-content h5 {
    position: relative;
    margin: 0;
  }

  .pre-footer-container .pre-footer-content h5:before {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 2rem;
  }

  .pre-footer-container .pre-footer-content.active h5:before {
    content: "-";
  }

  .pre-footer-container .pre-footer-content ul {
    position: relative;
    height: 0px;
    overflow: hidden;
    transition: 0.5s;
    overflow-y: auto;
  }

  .pre-footer-container .pre-footer-content.active ul {
    height: auto;
    padding: 10px;
  }

  .block-site-content-container-gnal {
    flex-direction: column;
  }

  .block-site-info,
  .block-site-contact {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .grid-container {
    grid-template: "aside-left aside-right" / 4fr 1fr;
  }

  .main__plans__container {
    width: 100%;
    min-width: 280px;
  }

  .plans__container--slider {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    overflow-x: hidden;
  }

  .plans__container--card {
    width: 90%;
    margin: 15px auto;
  }
}

@media (max-width: 991px) {
  .menu {
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    align-items: center;
    background-color: var(--menu-mobile-background-color);
    height: 70%;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .menu li {
    padding: 0;
  }

  .menu a {
    color: white;
    line-height: 50px;
  }

  .open-menu,
  .close-menu {
    display: block;
    border: none;
    background: none;
    cursor: pointer;
  }

  .close-menu {
    align-self: flex-end;
    padding: 20px 10px;
  }

  .menu_opened {
    opacity: 1;
    pointer-events: all;
  }

  /* tab border, click no border */
  .open-menu:focus:not(:focus-visible),
  .close-menu:focus:not(:focus-visible) {
    outline: none;
  }

  .menu a::after {
    content: none;
  }

  .menu a:hover,
  .menu a.active {
    color: var(--secundary-color);
  }

  .banner {
    background: url("../bg/live-xs.webp");
    background-size: cover;
    background-position: center;
  }
}

@media (min-width: 1320px) {
  .grid-container {
    width: 1320px;
    margin: 0 auto;
  }

  .index {
    width: 85%;
    margin: 0 auto;
  }
}
