/* Chillax */
@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* Passo */
@font-face {
  font-family: 'Passo';
  src: url('../fonts/PassoVariableTest-BF650912bf0efbb.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Fuentes */
  --fuente-principal: 'Passo', sans-serif;
  --fuente-headings: 'Chillax', sans-serif;

  /* Colores */
  /* Primarios */
  --primario-azul: #103799;
  --primario-turqueza: #8DDBD7;
  --primario-crema: #FFF4F0;
  /* Secundarios */
  --secundario-lavanda: #BFCFFF;
  --secundario-azul-cielo: #699FFF;
  /* Neutros */
  --blanco: #FFF;
  --negro: #000;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  /* 10px = 1rem */
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--fuente-principal);
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.5;
  position: relative;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

body.no-scroll {
  overflow: hidden;
}

/* Headings */
h1,
h2,
h3 {
  font-family: var(--fuente-headings);
  margin: 0 0 1.8rem 0;
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.5rem, 4vw + 1rem, 4.8rem);
}

.hero h1 {
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-family: var(--fuente-principal);
  font-size: 2.6rem;
}

h4 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 2rem 0;
}

/* Globales */
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  all: unset;
  cursor: pointer;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
  .table-scroll::before {
    content: "← desliza →";
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
    font-size: 12px;
    color: #555;
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;
  }
}

table {
  width: 100%;
  max-width: 100%;
  min-width: 922px;
  overflow: hidden;
  border-collapse: collapse;
  margin: 2rem 0;
  table-layout: fixed;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;
  word-break: break-word;
  white-space: normal;
}

table th {
  font-weight: 600;
  text-align: left;
}

table thead tr td {
  background-color: #f1f3f5;
}

/* INPUT - ARCHIVOS */
.custom-file-upload {
  display: flex;
  align-items: center;
  border: 1px solid var(--primario-azul);
  border-radius: 8px;
  padding: 10px 8px;
  cursor: pointer;
  min-height: 40px;
  flex-wrap: wrap;
}

.custom-file-upload input[type="file"] {
  display: none;
}

@media screen and (max-width: 600px) {
  .file-names {
    flex-basis: 100%;
    padding-top: 10px;
  }
}

.upload-button {
  background: #efefef;
  border: 1px solid #767676;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 10px;
  width: max-content;
  display: flex;
  align-items: center;
}

.big-btn {
  width: max-content;
  padding: 10px 20px;
  border-radius: 10px;
}

.tiny-btn {
  width: max-content;
  border-radius: 8px;
  padding: 6px 15px;
  font-weight: 500;
}

.btn.estilo_1 {
  transition: filter .3s ease;
  background-color: var(--primario-azul);
  color: white;
}

.btn.estilo_2 {
  transition: filter .3s ease;
  background-color: var(--secundario-azul-cielo);
  color: white;
}

.btn.estilo_3 {
  transition: filter .3s ease;
  background-color: var(--primario-turqueza);
  color: var(--primario-azul);
}

.btn.estilo_1:hover {
  filter: brightness(120%);
}

.btn.estilo_2:hover {
  filter: brightness(90%);
}

.btn.estilo_3:hover {
  filter: brightness(90%);
}

.contenedor {
  width: min(90%, 130rem);
  margin: 0 auto;
  padding: 0;
}

.seccion {
  align-items: center;
  padding: 2rem 0;
  padding-bottom: 10rem;
  background-color: var(--blanco);
}

.seccion-mg {
  margin: 8rem auto;
}

.seccion-pg {
  padding: 8rem 0;
}

.seccion-pg-t {
  padding-top: 8rem;
}

.seccion-pg-b {
  padding-top: 8rem;
}

.p-t {
  padding-top: 15.45rem;
}

.pb-0 {
  padding-bottom: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.center {
  justify-items: center;
}

.bg-lavanda {
  background-color: var(--secundario-lavanda);
}

.bg-turqueza {
  background-color: var(--primario-turqueza);
}

.bg-crema {
  background-color: var(--primario-crema);
}

.bg-azul-cielo {
  background-color: var(--secundario-azul-cielo);
}

/* Utilidades */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primario-azul);
}

.text-white {
  color: var(--blanco);
}

.text-font-headings {
  font-family: var(--fuente-headings);
}

.text-bold-big {
  font-weight: 600;
  font-size: 2rem;
}

.p-hero {
  font-size: 2rem;
  line-height: 1.3;
}

.bg-p {
  background-color: var(--primario-azul);
}

.mg-b-0 {
  margin-bottom: 0rem;
}

.mg-b-05 {
  margin-bottom: 0.5rem;
}

.mg-b-2 {
  margin-bottom: 2rem;
}

.mg-b-4 {
  margin-bottom: 4rem;
}

.mg-b-8 {
  margin-bottom: 8rem;
}

.g-0 {
  gap: 0 !important;
}

.w-7 {
  width: 70%;
}

.tiny-lh {
  line-height: 1.1;
}

.small-lh {
  line-height: 1.3;
  margin-bottom: 10px;
}

.big-lh {
  line-height: 2;
}

.g-3 {
  gap: 30px !important;
}

/* Header */
.logo {
  width: 180px;
}

.header {
  background-color: var(--blanco);
  padding: 2rem 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-height: 100px;
  width: 100%;
  z-index: 9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: max-height .3s ease;
}

.header.scroll {
  max-height: 85px;
}

.barra-navegacion {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.menu-principal-container {
  background-color: var(--primario-azul);
  display: flex;
  align-items: center;
  gap: clamp(3rem, 2vw, 4rem);
  padding: 1rem 3rem;
  border-radius: 10px;
}

.menu-principal {
  flex: 1;
  display: flex;
  align-items: center;
}

.menu-principal ul {
  display: flex;
  gap: clamp(3rem, 2vw, 4rem);
}

.extra-menu-item {
  position: relative;
}

.desplegable {
  position: absolute;
  right: 0;
  bottom: -105px;
  display: flex;
  flex-direction: column;
  width: max-content;
  background-color: var(--primario-turqueza);
  color: var(--primario-azul);
  padding: 7.5px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: transform 0.25s ease;
}

.desplegable.estilo_1 {
  background-color: var(--primario-azul);
  color: var(--blanco);
}

.desplegable.estilo_2 {
  background-color: var(--secundario-azul-cielo);
  color: var(--blanco);
}

.desplegable.activo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.desplegable a {
  padding: 4px 7.5px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.desplegable a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.toggle-desplegable svg {
  margin-left: 6px;
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

.toggle-desplegable.activo svg {
  transform: rotate(180deg);
}

.menu-principal a {
  display: block;
  color: var(--blanco);
  font-size: 1.8rem;
  transition: color .3s ease;
}

.menu-principal a:hover {
  color: var(--primario-turqueza);
}

.menu-principal .current_page_item a {
  color: var(--primario-turqueza);
}

.menu-toggle {
  position: relative;
  width: 40px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  display: none;
  pointer-events: all;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--primario-azul);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.menu-toggle span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.menu-toggle span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.menu-toggle.active span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.menu-toggle.active span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.menu-toggle.active span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 28px;
  left: 5px;
}

@media (max-width: 1024px) {
  .menu-principal-container {
    background-color: unset;
    padding: 0;
  }

  .menu-principal-container .btn {
    padding: 10px 20px;
  }

  .header .menu-principal {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: -100%;
    width: 50%;
    height: 100dvh;
    background-color: var(--primario-azul);
    text-align: center;
    padding: 8rem 0;
    border-radius: 0;
    transition: right .3s ease;
  }

  .menu-principal.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .header .menu-principal ul {
    flex-direction: column;
    overflow-y: auto;
  }

  .header .menu-principal ul a {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 8;
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .header .menu-principal {
    width: 100%;
  }

  .menu-principal-container {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .menu-principal-container {
    gap: 10px;
  }

  .menu-principal-container .btn {
    padding: 10px 10px;
  }
}

/* Footer */
.footer .bg-footer {
  overflow: hidden;
  padding: 4rem 0;
  background-color: var(--primario-azul);
}

.footer .bg-post-footer {
  background-color: var(--primario-turqueza);
}

.footer .contenido-footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.footer .column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
  gap: 40px;
}

.footer .column-logo {
  max-width: 180px;
}

.footer .logo-footer {
  max-width: 100%;
}

.footer .menu-principal {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

.footer .menu-principal ul {
  flex-direction: column;
  gap: 0;
}

.icono {
  width: 35px;
}

.special-icon {
  min-width: 35px;
  max-width: 35px;
  height: 35px;
}

.footer .info {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .3s ease;
  line-height: 1.5;
}

.footer .info:hover {
  color: var(--primario-turqueza);
}

.footer .redes-sociales {
  display: flex;
  gap: 10px;
}

.footer .red-social {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 8px;
  transition: background-color .3s ease,
    scale .3s ease;
  width: 40px;
}

.footer .red-social:hover {
  background-color: var(--blanco);
  scale: 1.1;
}

.footer h4 {
  font-weight: 600;
}

/* Book */
.book-container {
  margin-top: 40px;
}

.book {
  display: block;
  width: 120px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  transition: scale .3s ease;
}

.book:hover {
  scale: 1.025;
}

@media (max-width: 580px) {
  .book {
    width: 140px;
  }
}

/* Copyright */
.copyright {
  padding: 15px 0;
  text-align: center;
}

/* Slider */
.swiper {
  border-radius: 50px;
}

.contenedor-slide {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  max-height: 550px;
}

.contenedor-slide .left {
  position: absolute;
  top: 0;
}

.contenedor-slide .imagen-hero {
  object-fit: cover;
  height: 550px;
}

.swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  transition: all .3s ease;
}

.swiper .swiper-pagination-bullet-active {
  width: 14px;
  height: 14px;
  background: var(--blanco);
}

.noticias .controles .swiper-pagination {
  position: unset;
  width: auto;
  font-size: 2rem;
  z-index: 8;
}

/* .swiper .swiper-button-next,
.swiper .swiper-button-prev {
  transition: scale .3s ease;
}

.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover {
  scale: 1.2;
} */

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--blanco);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--blanco);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* Carousel - Marcas */
.convenios {
  display: flex;
  align-items: center;
  gap: 50px;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.convenios .group {
  display: flex;
  gap: 6rem;
  animation: scroll 20s linear infinite;
  width: max-content;
  margin: 2rem;
}

.convenios .group:hover {
  animation-play-state: paused;
}

.convenios .group a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: scale .3s ease;
}

.convenios .group a:hover {
  scale: 1.2;
}

.convenios .imagen-slider {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Cards - Inicio */
.help-seccion {
  gap: 2px;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card__ {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px;
  border-radius: 2.5rem;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* Contactanos */
#contactanos {
  scroll-margin-top: 85px;
}

.halft {
  display: flex;
  width: 100%;
  gap: 100px;
}

.textos {
  width: 50%;
}

#contactanos .wpcf7 {
  width: 50%;
}

.wpcf7 {
  font-size: 1.5rem;
}

.wpcf7 label {
  width: 100%;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea,
.hero .buscador select,
.hero .buscador input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--primario-azul);
  padding: 12px 10px;
  font-size: 1.6rem;
  font-family: var(--fuente-principal);
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.hero .buscador select:focus,
.hero .buscador input:focus {
  outline: 1px solid var(--primario-azul);
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wpcf7 input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  transform: scale(1.5);
  accent-color: var(--primario-azul);
}

.wpcf7 input[type="checkbox"]:focus {
  outline: none;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance label {
  display: flex;
  gap: 8px;
  font-size: 1.6rem;
}

.wpcf7-acceptance a {
  font-weight: 600;
}

.wpcf7 .wpcf7-submit {
  width: auto;
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  line-height: 1.5;
  cursor: pointer;
  margin-top: 20px;
  border: none;
}

.wpcf7 .wpcf7-submit.estilo_1 {
  transition: filter .3s ease;
  background-color: var(--primario-azul);
  color: white;
}

.wpcf7 .wpcf7-submit.estilo_2 {
  transition: filter .3s ease;
  background-color: var(--secundario-azul-cielo);
  color: white;
}

.wpcf7 .wpcf7-submit.estilo_3 {
  transition: filter .3s ease;
  background-color: var(--primario-turqueza);
  color: var(--primario-azul);
}

.wpcf7 .wpcf7-submit.estilo_1:not(:disabled):hover {
  filter: brightness(120%);
}

.wpcf7 .wpcf7-submit.estilo_2:not(:disabled):hover {
  filter: brightness(90%);
}

.wpcf7 .wpcf7-submit.estilo_3:not(:disabled):hover {
  filter: brightness(90%);
}

#contactanos .wpcf7 form p:last-of-type {
  position: relative;
  width: max-content;
}

.wpcf7 .wpcf7-spinner {
  position: absolute;
  top: calc(50% + 10px);
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.wpcf7 form.submitting .wpcf7-submit {
  color: transparent;
  pointer-events: none;
}

.wpcf7 .wpcf7-response-output {
  display: none !important;
}

#modal-contactanos .modal__container.modal-loading {
  background: unset;
  box-shadow: none;
  transition: unset;
}

#modal-contactanos .modal__container.modal-result {
  background: white;
}

.loader {
  position: relative;
  width: 94px;
  height: 94px;
  border-radius: 10px;
}

.loader div {
  width: 8%;
  height: 24%;
  background: rgb(255, 255, 255);
  position: absolute;
  left: 50%;
  top: 30%;
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  animation: fade458 1s linear infinite;
}

@keyframes fade458 {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.25;
  }
}

.loader .bar1 {
  transform: rotate(0deg) translate(0, -130%);
  animation-delay: 0s;
}

.loader .bar2 {
  transform: rotate(30deg) translate(0, -130%);
  animation-delay: -1.1s;
}

.loader .bar3 {
  transform: rotate(60deg) translate(0, -130%);
  animation-delay: -1s;
}

.loader .bar4 {
  transform: rotate(90deg) translate(0, -130%);
  animation-delay: -0.9s;
}

.loader .bar5 {
  transform: rotate(120deg) translate(0, -130%);
  animation-delay: -0.8s;
}

.loader .bar6 {
  transform: rotate(150deg) translate(0, -130%);
  animation-delay: -0.7s;
}

.loader .bar7 {
  transform: rotate(180deg) translate(0, -130%);
  animation-delay: -0.6s;
}

.loader .bar8 {
  transform: rotate(210deg) translate(0, -130%);
  animation-delay: -0.5s;
}

.loader .bar9 {
  transform: rotate(240deg) translate(0, -130%);
  animation-delay: -0.4s;
}

.loader .bar10 {
  transform: rotate(270deg) translate(0, -130%);
  animation-delay: -0.3s;
}

.loader .bar11 {
  transform: rotate(300deg) translate(0, -130%);
  animation-delay: -0.2s;
}

.loader .bar12 {
  transform: rotate(330deg) translate(0, -130%);
  animation-delay: -0.1s;
}

/* Pagina Nosotros */
/* Hero */
.nosotros .imagen-hero {
  width: 100%;
  object-fit: cover;
  height: 550px;
  border-radius: 50px;
}

.nosotros .cantainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.nosotros .cantainer .side-img {
  border-radius: 50px;
}

.nosotros .cantainer .mision {
  background-color: var(--primario-turqueza);
  padding: 40px;
  border-radius: 30px;
}

.nosotros .cantainer .vision {
  background-color: var(--secundario-lavanda);
  padding: 40px;
  border-radius: 30px;
}

.nosotros .frase {
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
}

.hero__container {
  width: 100%;
  height: min(550px, 70vh);
  border-radius: 50px;
  overflow: hidden;
}

.hero-video--file {
  position: relative;
}

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: #ffffff;
  text-align: center;
}

.video-play {
  width: 100px;
  height: 100px;
}

.video-play svg {
  width: 100%;
  height: 100%;
  opacity: .8;
  transition: transform .3s ease;
}

.video-preview:hover .video-play svg {
  transform: scale(1.1);
}

/* MODAL - VIDEO */
.modal-video .modal__container {
  border-radius: 25px;
  overflow: hidden;
}

.modal-video .modal__container .modal__content {
  width: 1000px;
  max-width: 1000px;
}

.modal__content iframe,
.modal__content video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Noticias */
.noticias-swiper {
  margin-top: 8rem;
  border-radius: 0;
}

.noticias-swiper .noticias-slide {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
}

.noticias-slide:hover .imagen-slider {
  scale: 1.05;
}

.noticias-swiper .noticias-detalles {
  position: absolute;
  bottom: 0;
  padding: 18px;
}

.noticias-swiper .imagen-slider {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: brightness(70%);
  transition: scale .3s ease;
}

.noticias-swiper .meta-noticia {
  font-size: 1.5rem;
}

.swiper-container .swiper-navigation-icon {
  display: none;
}

.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
  position: relative;
  margin-top: 0;
  z-index: 8;
}

.controles {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Hero */
.hero {
  display: flex;
  align-items: end;
  border-radius: 50px;
  overflow: hidden;
  height: 550px;
  position: relative;
}

.left {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 80px;
  padding-right: 50px;
  gap: 50px;
}

.w-4 {
  width: 40%;
}

.hero .right {
  position: relative;
  width: 50%;
  height: 95%;
  clip-path: polygon(calc(50% - -3.379px) 21.7197px, calc(50% - -3.379px) 21.7197px, calc(50% - -9.9782960000001px) 13.90062501px, calc(50% - -17.675928px) 7.81911408px, calc(50% - -26.197312px) 3.47517027px, calc(50% - -35.267864px) 0.86879664px, calc(50% - -44.613px) -3.749999999858E-6px, calc(50% - -53.958136px) 0.86877216px, calc(50% - -63.028688px) 3.47512743px, calc(50% - -71.550072px) 7.81906512px, calc(50% - -79.247704px) 13.90058829px, calc(50% - -85.847px) 21.7197px, calc(100% - 0.38800000000003px) calc(100% - 130.066px), calc(100% - 0.38800000000003px) calc(100% - 43.706px), calc(100% - 0.38800000000003px) calc(100% - 43.706px), calc(100% - 1.841067px) calc(100% - 36.493983px), calc(100% - 4.2893359999998px) calc(100% - 29.697664px), calc(100% - 7.6519089999999px) calc(100% - 23.397941px), calc(100% - 11.847888px) calc(100% - 17.675712px), calc(100% - 16.796375px) calc(100% - 12.611875px), calc(100% - 22.416472px) calc(100% - 8.2873279999999px), calc(100% - 28.627281px) calc(100% - 4.7829690000001px), calc(100% - 35.347904px) calc(100% - 2.1796959999999px), calc(100% - 42.497443px) calc(100% - 0.55840699999999px), calc(100% - 49.995px) calc(100% - 1.1368683772162E-13px), 0px calc(100% - 0px), calc(50% - -3.379px) 21.7197px);
}

.hero .right img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero .buscador {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 85%;
  font-size: 1.6rem;
}

#especialidades,
#doctores {
  position: relative;
  scroll-margin-top: 120px;
}

.back-btn {
  position: absolute;
  top: -35px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(0, 0, 0, 0.329);
}

.back-btn svg {
  width: 10px;
  height: auto;
}

/* Cards */
.sin-especialidades,
.sin-doctores {
  margin: 10rem 0;
  display: none;
  font-size: 20px;
  color: #555;
  height: 700px;
  justify-content: center;
  align-items: center;
}

.especialidades .listado-grid,
.doctores .listado-grid,
.servicios .listado-grid {
  margin: 10rem 0;
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.card .contenido {
  width: 100%;
  display: flex;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
}

.card .bg-contenido {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  width: 55%;
  background-color: var(--primario-azul);
  gap: 20px;
}

.card .imagen {
  width: 45%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* paginacion */
.paginacion {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--primario-azul);
  font-size: 2rem;
}

.paginacion button {
  max-width: 44px;
  height: 44px;
}

.paginacion svg {
  width: 100%;
  height: 100%;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(10%);
  pointer-events: none;
}

/* Servicios */
.servicios .listado-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.servicios .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  overflow: hidden;
}

.servicios .card .content-img {
  position: relative;
}

.servicios .card p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
  cursor: default;
  padding: 20px 60px;
}

.servicios .card h3 {
  height: 100%;
}

.servicios .card:hover p {
  opacity: 1;
}

.servicios .card .content-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity .3s ease;
}

.servicios .card:hover .content-img::after {
  opacity: 1;
}

.servicios .imagen {
  width: 100%;
  max-height: 320px;
}

.servicios .card h3 {
  padding: 40px 20px;
  text-align: center;
}

/* Cards Doctores */
.card.doctores .contenido {
  flex-direction: column;
  height: 100%;
}

.doctores .listado-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card.doctores .imagen {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top center;
}

.card.doctores .bg-contenido {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 10px;
}

.card.doctores .pill-contenedor {
  display: flex;
  gap: 5px;
  margin-bottom: 0.5rem;
}

.card.doctores .bg-contenido .pill {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.3rem;
}

.card.doctores .bg-contenido .cuerpo h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card.doctores .bg-contenido .documentos {
  font-size: 1.4rem;
}

.card.doctores .bg-contenido .documentos strong {
  font-weight: 500;
}

.card.doctores .bg-contenido .titulo-btn {
  font-size: 1.5rem;
  color: var(--primario-turqueza);
  margin-top: 2rem;
  align-self: flex-end;
  cursor: pointer;
}

.modal {
  pointer-events: none;
  position: relative;
  z-index: 10;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.modal.is-open .modal__overlay {
  opacity: 1;
  pointer-events: auto;
  padding: 20px;
}

.modal__container {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.6s ease-out;
  background-color: var(--primario-crema);
  padding: 30px;
  border-radius: 30px;
}

.modal.is-open .modal__container {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.modal__content .modal-imagen-doctor {
  width: 100%;
  max-width: 280px;
  max-height: 400px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 30px;
}

.modal__content {
  display: flex;
  max-width: 800px;
  gap: 30px;
}

.modal__close {
  position: absolute;
  right: 0;
  top: 0;
  margin: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: transform .3s ease;
}

.modal__close:hover {
  transform: scale(1.25);
}

.modal__content .pill-contenedor {
  display: flex;
  gap: 5px;
}

.modal__content .pill {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.4rem;
  color: var(--primario-azul);
}

.modal__content .documentos {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.modal__content .documentos strong {
  font-weight: 600;
}

.modal__content__cuerpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 30px;
  max-width: 100%;
  padding-right: 40px;
}

.modal__content .detalles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal__content .detalles h4 {
  font-weight: 600;
}

/* MODAL - INICIO */
.modal-1 .modal-img {
  width: 100%;
  height: auto;
  max-width: 450px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 30px;
}

.modal-1 .modal__container,
.modal-video .modal__container {
  background-color: unset;
  padding: 0;
}

/* Single - Noticias */
.con-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 350px;
  gap: 4rem;
  align-items: start;
}

.imagen-single-noticia {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.single-noticia h1,
.single-legales h1 {
  font-family: var(--fuente-headings);
  color: var(--primario-azul);
  line-height: 1.25;
  margin-bottom: 2rem;
  font-weight: 600;
}

.single-noticia .meta-noticia {
  display: flex;
  gap: 20px;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.single-noticia .meta-noticia .icono-meta {
  width: 20px;
  height: 20px;
}

.single-noticia .meta-noticia .autor,
.single-noticia .meta-noticia .fecha,
.single-noticia .meta-noticia .hora {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.single-noticia hr {
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Single Legales */
.single-legales .contenido-principal {
  max-width: 1080px;
  justify-self: center;
}

@media (max-width: 1024px) {
  .single-legales .contenido-principal {
    max-width: 100%;
  }
}

/* CONTENIDO DE LA NOTICIA */
.contenido_WYSIWYG {
  font-family: var(--fuente-principal);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
}

.contenido_WYSIWYG h2,
.contenido_WYSIWYG h3,
.contenido_WYSIWYG h4,
.contenido_WYSIWYG h5,
.contenido_WYSIWYG h6 {
  font-family: var(--fuente-principal);
  color: var(--primario-azul);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.contenido_WYSIWYG h2 {
  font-size: 3.2rem;
  font-weight: 600;
}

.contenido_WYSIWYG h3 {
  font-size: 2.8rem;
  font-weight: 600;
}

.contenido_WYSIWYG h4 {
  font-size: 2.4rem;
  font-weight: 600;
}

.contenido_WYSIWYG h5 {
  font-size: 2.0rem;
  font-weight: 500;
}

.contenido_WYSIWYG h6 {
  font-size: 1.8rem;
  font-weight: 500;
}

.contenido_WYSIWYG p {
  margin-bottom: 1.2rem;
}

.contenido_WYSIWYG ul,
.contenido_WYSIWYG ol {
  padding-left: 5rem;
  margin-bottom: 1.2rem;
}

.contenido_WYSIWYG ul {
  list-style: disc;
}

.contenido_WYSIWYG ol {
  list-style: numeric;
}

.contenido_WYSIWYG li {
  margin-bottom: 0.5rem;
}

.contenido_WYSIWYG blockquote {
  border-left: 4px solid var(--primario-turqueza);
  padding-left: 1rem;
  font-style: italic;
  color: #555;
  margin: 1.5rem 0;
}

.contenido_WYSIWYG img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.contenido_WYSIWYG a {
  color: var(--primario-azul);
  text-decoration: underline;
  transition: filter 0.3s ease;
}

.contenido_WYSIWYG a:hover {
  filter: brightness(80%);
}

/* ASIDE */
.sidebar-noticias {
  margin-top: 1rem;
  position: sticky;
  top: 15rem;
}

.sidebar-noticias .item-noticia a {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.sidebar-noticias .item-noticia:not(:last-child) a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-noticias .item-noticia .miniatura-noticia {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.noticias-detalles.miniatura .meta-noticia {
  align-items: start;
  flex-direction: column;
  margin-top: 0;
  gap: 5px;
  font-size: 1.25rem;
}

.item-noticia:hover h4 {
  transition: color .3s ease;
  color: var(--primario-azul);
}

/* BOTON FLOTANTE WHATSAP */
.btn-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

.btn-whatsapp:before,
.btn-whatsapp:after {
  display: block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: all 0.3s ease;
}

.btn-whatsapp:before {
  background: #E6FFDA;
  border-radius: 8px;
  color: #111B21;
  content: attr(data-title);
  font-size: 16px;
  padding: 6px 10px;
  position: absolute;
  top: 50%;
  right: 140%;
  transform: translateX(10px) translateY(-50%);
  white-space: nowrap;
}

.btn-whatsapp:after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(140% - 10px);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #E6FFDA;
  transform: translateX(10px) translateY(-50%);
}

.btn-whatsapp:hover:before,
.btn-whatsapp:hover:after {
  opacity: 1;
  transform: translateX(0) translateY(-50%);
}

/* 404 */
.error-404-container {
  padding-bottom: 70px;
}

.error-404 {
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  height: 725px;
  padding: 20px;
  box-sizing: border-box;
}

.error-404 .encabezados {
  text-align: center;
}

.titulo-404 {
  font-size: clamp(6rem, 8vw + 1rem, 12rem);
  line-height: 1;
}

.descripcion-404 {
  font-size: 2.5rem;
  line-height: 1;
}

/* Libro de reclamaciones */
.form__book__container {
  padding: 80px 80px;
  color: var(--primario-azul);
  border: 1px solid rgba(0, 0, 0, 0.1);
  ;
  border-radius: 50px;
  margin-top: 80px;
}

.form__book__container form {
  gap: 50px;
}

.form__book__container fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.form__book__container .title__fieldset {
  font-family: var(--fuente-headings);
  font-size: clamp(2rem, 4vw, 2.3rem);
  font-weight: 600;
}

.form__book__container .group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.form__book__container .grupo-persona {
  flex-direction: column;
  gap: 10px;
}

.form__book__container .grupo-empresa .row {
  width: 100%;
}

.form__book__container .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.form__book__container .col-2 {
  grid-column: span 2;
}

.form__book__container .col-4 {
  grid-column: span 4;
}

.form__book__container .col-3 {
  grid-column: span 3;
}

.form__book__container .col-6 {
  grid-column: span 6;
}

.form__book__container input[readonly] {
  background-color: #f3f4f6;
}

.form__book__container input[readonly]:focus {
  outline: none;
}

.form__book__container .group__title {
  line-height: 1.25;
}

.form__book__container .date-book {
  font-size: clamp(1.6rem, 4vw, 1.8rem);
  font-weight: 400;
}

.form__book__container .wpcf7-list-item {
  margin: 0;
  margin-bottom: 5px;
}

.form__book__container .seleccion_reclamo .wpcf7-list-item input {
  width: auto;
  transform: scale(1.5);
  margin: 0 3px 0 5px;
  cursor: pointer;
}

.form__book__container .seleccion_reclamo .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(1.5rem, 4vw, 1.6rem);
  font-weight: 500;
  cursor: pointer;
}

.form__book__container .field-textarea br,
.form__book__container .info_container br,
.group-form .group br {
  display: none;
}

.form__book__container .contador-textarea {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.form__book__container .contador-textarea.limite {
  color: #c00;
}

.form__book__container .info_container {
  background-color: var(--primario-crema);
  padding: 20px;
  border-radius: 20px;
  margin-top: 30px;
}

.form__book__container .info_container p {
  opacity: 0.9;
}

.form__book__container .wpcf7 .wpcf7-submit {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .error-404 {
    height: calc(100svh - 240px);
  }
}

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.btn-whatsapp img {
  width: 35px;
}

/* Media Querys */
/* Inicio */
/* Tablets */
@media (max-width: 1024px) {
  .cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .convenios {
    flex-direction: column;
    gap: 25px;
  }

  .halft {
    gap: 50px;
  }

  .contenedor-slide .left {
    height: max-content;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 80px;
    top: auto;
    bottom: 0;
  }

  .footer .column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .footer .column-grid .column-3 {
    order: 4;
    grid-column: span 2;
  }

  .footer .column-grid .column-4 {
    order: 3;
  }

  .hero .right {
    height: 100%;
  }

  .modal__content__cuerpo {
    max-width: 50%;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .cards-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .card__ {
    max-width: 350px;
  }

  .halft {
    flex-direction: column;
    align-items: center;
  }

  .textos {
    width: 100%;
    text-align: center;
  }

  #contactanos .wpcf7 {
    width: 100%;
  }

  #contactanos .wpcf7 form p:last-of-type {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .btn-form {
    align-self: center;
  }

  .contenedor-slide .left {
    width: 70%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .contenedor-slide .left.text-primary {
    color: var(--blanco);
  }

  .footer .column-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .footer .column-grid .column-3 {
    order: 3;
    grid-column: span 1;
  }

  .footer .column-grid .column-4 {
    order: 4;
  }

  .contenido-footer {
    flex-direction: column;
  }

  .modal__content__cuerpo {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contenedor-slide .left {
    width: 88%;
  }
}

/* Especialidades */
/* Tablets */
@media (max-width: 1024px) {
  .especialidades .listado-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .especialidades .card .contenido {
    max-height: 300px;
  }

  .card .bg-contenido {
    width: 60%;
  }

  .card .imagen {
    width: 40%;
  }

  .hero .text-primary {
    color: var(--blanco);
  }

  .hero .buscador {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .especialidades .card .contenido {
    max-height: 100%;
  }

  .card .bg-contenido {
    width: 55%;
  }

  .card .imagen {
    width: 45%;
  }
}

@media (max-width: 580px) {
  .hero .buscador {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .especialidades .card .contenido {
    flex-direction: column;
    /* max-height: 600px; */
  }

  .card .bg-contenido {
    width: 100%;
  }

  .card .imagen {
    width: 100%;
  }

  .especialidades .card .imagen {
    max-height: 310px;
  }
}

/* Servicios */
/* Tablets */
@media (max-width: 1024px) {
  .servicios .listado-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios .card .imagen {
    width: 100%;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(16, 55, 153, 0.4);
    z-index: 1;
  }

  .hero .left {
    position: absolute;
    z-index: 2;
    padding: 80px;
    width: 100%;
  }

  .hero .right {
    width: 100%;
    clip-path: unset;
  }
}

@media (max-width: 768px) {
  .servicios .listado-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .servicios .card .content-img {
    display: grid;
  }

  .servicios .card p {
    position: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: unset;
    grid-area: 1 / 1;
    padding: 20px 40px;
  }

  .servicios .card .content-img::after {
    position: unset;
    grid-area: 1 / 1;
  }

  .servicios .imagen {
    grid-area: 1 / 1;
    height: 100%;
    max-height: 380px;
  }

  .hero .left {
    padding: 20px;
  }
}

/* @media (hover: hover) and (pointer: fine) {
  .servicios .card:hover p {
    opacity: 1;
  }

  .servicios .card:hover .content-img::after {
    opacity: 1;
  }
} */

@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  .servicios .card.is-active p {
    opacity: 1;
  }

  .servicios .card.is-active .content-img::after {
    opacity: 1;
  }
}

/* Staff */
/* Tablets */
@media (max-width: 1024px) {
  .card .doctores {
    max-height: auto;
  }

  .doctores .listado-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .doctores .card .imagen {
    width: 100%;
    max-height: 350px;
  }

  .card .contenido {
    max-height: 100%;
  }
}

@media (max-width: 480px) {
  .doctores .listado-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Nosotros */
@media (max-width: 1024px) {
  .nosotros .cantainer {
    grid-template-columns: 1fr;
  }

  .nosotros .historia {
    text-align: center;
  }

  .nosotros .cantainer .side-img {
    max-width: 60%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .nosotros .cantainer .side-img {
    max-width: 100%;
  }

  .nosotros .noticias .w-7 {
    width: 100%;
    text-align: center;
  }
}

/* Noticias */
@media (max-width: 1024px) {
  .con-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nosotros .cantainer .side-img {
    max-width: 100%;
  }

  .nosotros .noticias .w-7 {
    width: 100%;
    text-align: center;
  }

  .single-noticia .meta-noticia {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto auto;
    row-gap: 8px;
    column-gap: 10px;
    justify-content: start;
    font-size: 1.2rem;
  }

  .single-noticia .meta-noticia .autor {
    grid-column: 1 / 3;
    justify-content: start;
  }

  .single-noticia .meta-noticia .icono-meta {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 768px) {
  .modal__container {
    max-height: calc(100svh - 50px);
    overflow-y: auto;
  }

  .modal__content {
    display: flex;
    flex-direction: column;
  }

  .modal__close {
    margin: 1rem;
  }
}

/* Libro de reclamaciones */
@media (max-width: 768px) {
  .form__book__container {
    padding: 60px 20px;
  }
}

@media (max-width: 580px) {
  .form__book__container .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form__book__container .col-2,
  .form__book__container .col-3,
  .form__book__container .col-4,
  .form__book__container .col-6 {
    grid-column: span 1;
  }
}

/* VIDEO - MODAL */
@media (max-width: 1024PX) {
  .modal-video .modal__container .modal__content {
    max-width: 100%;
  }
}