/*.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
  

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
  

.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}*/

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

h2 {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2d6d5c;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0px;
}

a {
  color: inherit;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: none;
}

.nav-menu {
  position: fixed;
  z-index: 100;
  user-select: none;
}

.menu-overlay.active {
  display: block;
}

.menu-toggle {
  position: fixed;
  top: 32px;
  left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 2px;
  filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #2d6d5c;
  padding-top: 80px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 100;
}

.nav-menu.active {
  transform: translateX(0);
}

.nav-menu ul {
  list-style: none;
  padding: 0;
}

.nav-menu li {
  margin: 20px 0;
  text-align: center;
}

.nav-menu a {
  color: white;
  font-size: 1.2rem;
  display: block;
  padding: 10px;
  transition: background 0.3s;
}

.nav-menu a:hover {
  background-color: #6aa495;
}

.redes-menu {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.redes-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  color: white;
  font-size: 1.6rem;
}

.redes-menu a:hover {
  background-color: transparent;
  color: #6aa495;
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.9s ease-out,
    transform 0.9s ease-out;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  background-image:
    linear-gradient(rgba(215, 215, 215, 0.5), rgba(0, 0, 0, 0.5)),
    url("./assets/img/consultorio.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 420px;
  margin-left: 120px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #2d6d5c;
  margin-top: 0px;
  text-shadow: 2px 3px 8px rgba(213, 213, 213, 0.75);
}

.hero h3 {
  font-size: 30px;
  font-weight: 500;
  color: white;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.boton {
  padding-top: 5px;
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  user-select: none;
  transition: transform 0.2s ease;
}

.boton:hover {
  transform: translateY(-2px);
}

.btn-hero {
  padding: 10px 16px;
  background-color: #2d6d5c;
  color: white;
  border: 1px solid #56726b;
  border-radius: 5px;
}

.especialidades {
  background-color: rgb(239, 239, 239);
}

.especialidades h3 {
  padding-left: 16px;
  border-left: 3px solid #2d6d5c;
}

.especialidades {
  padding: 80px 8%;
}

.especialidades h2 {
  text-align: center;
  margin-bottom: 50px;
}

.tema-bloque li {
  transition: transform 0.3s ease;
}

.tema-bloque li:hover {
  transform: translateY(-2px);
}

.contenedor-especialidades {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tema {
  display: grid;
  grid-template-columns: 280px 1fr;
  background-color: #f7f9f8;
  border-radius: 20px;
  overflow: hidden;
  min-height: 260px;
}

.tema-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: #aabcae;
  text-align: center;
}

.tema-info img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.img-alterna {
  position: relative;
  object-fit: cover;
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.tema-info .img-alterna img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.img-antes {
  animation: alternar-foto 4s ease-in-out infinite;
}
@keyframes alternar-foto {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .img-antes {
    animation: none;
  }
}

.tema-info h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #215446;
}

.tema-contenido {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 40px;
  align-items: start;
}

.tema-contenido.dos {
  grid-template-columns: repeat(2, 1fr);
}
.tema-toggle {
  display: none;
}

.tema-bloque h4 {
  margin: 0 0 15px;
  color: #3a7e6c;
  font-size: 1.05rem;
}

.tema-bloque ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tema-bloque li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  color: #444;
  line-height: 1.4;
}

.tema-bloque li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6aa495;
}

.tagle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 80px;
}

.descripcion-centro {
  max-width: 840px;
}

.descripcion-centro h2 {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2d6d5c;
  text-align: center;
  margin: 60px 0 16px 0;
  line-height: 1.3;
  text-align: center;
}

.descripcion-centro p {
  text-align: center;
  font-size: 24px;
  margin-bottom: 0px;
}

.etapas-centro {
  padding: 40px 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.etapa {
  color: white;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  background-color: rebeccapurple;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.etapa:hover {
  transform: translateY(-8px);
}

.etapa:nth-child(1) {
  background-color: #215446;
}

.etapa:nth-child(2) {
  background-color: #3a7e6c;
}

.etapa:nth-child(3) {
  background-color: #6aa495;
}

.icnonos-etapa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  display: none;
}

.icnonos-etapa img,
.info-extra img {
  max-height: 100px;
  object-fit: cover;
}

.etapa h4 {
  font-size: 24px;
}

.cont-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 20px;
  margin-top: auto;
}

.pill {
  background-color: #052618;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.info-extra {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 50px;
  box-sizing: border-box;
}

.continfo {
  flex: 1;
  padding: 30px;
  border: 1px solid rgba(45, 109, 92, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.continfo:hover {
  transform: translateY(-5px);
  border-color: #2d6d5c;
}

.textoinfo {
  max-width: 480px;
}

.textoinfo h4 {
  font-size: 22px;
  margin: 0 0 12px;
  color: #052618;
}

.textoinfo p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.profesionales {
  background-color: #2d6d5c;
  padding: 50px 20px;
}

.profesionales h2 {
  text-align: center;
  color: #b5d2bb;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contprof {
  width: max-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 340px);
  gap: 30px 60px;
}

.prof-otorrino {
  grid-column: 1 / -1;
  padding-left: 80px;
}

.prof-otorrino .lista-profesionales {
  grid-template-columns: repeat(2, 340px);
  gap: 10px 60px;
}

.prof-grupo {
  width: 100%;
  padding-left: 80px;
}

.prof-otorrino,
.prof-grupo {
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(143, 179, 150, 0.2);
}

.profesionales h3 {
  font-size: 1.2rem;
  color: #b5d2bb;
  margin-bottom: 12px;
  font-weight: 600;
}

.lista-profesionales {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 20px;
}

.lista-profesionales li {
  font-size: 1rem;
  color: white;
  display: flex;
  align-items: center;
}

.insta {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insta h2 {
  margin-bottom: 0px;
  color: #234425;
}

.insta p {
  max-width: 50%;
  font-size: 18px;
  text-align: center;
  color: #4b5563;
  line-height: 1.5;
}

.publicaciones {
  margin: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.instagram-media {
  overflow: hidden !important;
  border-radius: 12px !important;
}

.ubicacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;

  background-color: #f5f9f7;
}

.ubicacion h2 {
  text-align: center;
  margin: 30px 0px 10px 0px;
}

.ubicacion p {
  text-align: center;
  color: #4b5563;
  margin-bottom: 30px;
}

.mapa {
  width: 800px;
  height: 600px;
  max-width: 100%;
  border: 0;
}

.faq {
  margin: 0 auto;
  padding: 40px;
  min-height: 60vh;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;

  background-color: rgb(239, 239, 239);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;

  color: black;
}

.faq-list {
  border-top: 1px solid #e5e7eb;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question-text {
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.faq-answer-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.faq-answer {
  padding: 1rem;
  color: #4b5563;
}

.contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto .texto {
  padding-bottom: 20px;
  text-align: center;
}

.contacto h2 {
  color: #2d6d5c;
}

form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 60%;
  height: 100%;
  user-select: none;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  background-color: #e0eeea;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  box-sizing: border-box;
}

.fila {
  display: flex;
  gap: 20px;
}

.fila .form-group {
  flex: 1;
}

.mensaje {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mensaje textarea {
  flex: 1;
  resize: none;
}

::placeholder {
  color: #929d9d;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: #2d6d5c;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  background-color: #204239;
}

.opcional {
  color: #9b9b9b;
  margin: 4px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(13, 88, 37, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 400px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 3.5rem;
  color: #2d6d5c;
  margin-bottom: 15px;
}

.popup-content h2 {
  font-family: "Montserrat", sans-serif;
  color: #2d6d5c;
  margin: 0 0 10px 0;
  font-size: 1.6rem;
}

.popup-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 25px 0;
}

.btn-popup-close {
  width: 100%;
  padding: 12px;
  background-color: #2d6d5c;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.btn-popup-close:hover {
  background-color: #204239;
  color: white;
}

footer {
  background-color: #2d6d5c;

  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: white;
  font-weight: 350;

  padding: 60px 20px 30px 20px;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  gap: 100px;
  justify-content: center;
}

footer img {
  max-width: 100px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li:hover {
  color: #052618;
}

footer a {
  font-weight: 400;
}

.columna-logo {
  display: flex;
  max-width: 400px;
  gap: 40px;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  font-weight: 200;
}

.copyright a {
  text-decoration: underline;
}
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

@media (min-width: 993px) {
  .instagram-media {
    height: 650px !important;
  }
}

/*
@media (max-width: 1035px) {
  .publicaciones {
    grid-template-columns: repeat(1, 1fr);
  }
}*/

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero h3 {
    font-size: 1.7rem;
  }
  .tagle {
    padding: 0 32px 60px;
  }

  .descripcion-centro p {
    font-size: 20px;
  }
  .etapas-centro {
    grid-template-columns: repeat(4, 1fr);
  }

  .etapa {
    grid-column: span 2;
  }

  .etapa:nth-child(3) {
    grid-column: 2 / span 2;
  }
  .especialidades {
    padding: 60px 5%;
  }
  .tema {
    grid-template-columns: 1fr;
  }

  .tema-info img {
    width: 240px;
    height: 240px;
  }

  .img-alterna {
    width: 240px;
    height: 240px;
  }

  .insta p {
    max-width: 75%;
  }

  .publicaciones {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    max-width: 540px;
  }

  .instagram-card {
    width: 100%;
  }

  .faq {
    padding: 40px 32px;
  }

  .texto-foot {
    max-width: 300px;
  }

  .footer-container {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
  }
  .columna-logo img {
    max-width: 90px;
  }
  .columna {
    flex: 1;
  }
  .columna ul {
    margin: 12px 0 0;
  }

  .contprof {
    width: 100%;
    max-width: 720px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }

  .prof-otorrino,
  .prof-grupo {
    padding-left: 0;
  }

  .prof-otorrino .lista-profesionales {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    position: fixed;
    top: 24px;
    left: 20px;

    width: 46px;
    height: 46px;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    background: rgba(33, 84, 70, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);

    z-index: 101;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    flex-shrink: 0;

    background-color: #ffffff;
    border-radius: 10px;

    filter: none;
  }

  .hero {
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    margin-left: 0;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h3 {
    font-size: 1.5rem;
  }

  .btn-hero {
    display: inline-block;
    padding: 12px 20px;
  }

  .tagle {
    padding: 0px 32px;
  }

  .etapas-centro {
    grid-template-columns: repeat(1, 1fr);
  }

  .info-extra {
    flex-direction: column;
    width: 100%;
    padding: 30px 20px;
    gap: 30px;
    box-sizing: border-box;
  }

  .continfo {
    width: 100%;
    flex-direction: column;
    gap: 15px;
  }

  .info-extra img {
    width: 100%;
    height: 180px;
    max-height: none;
    object-fit: cover;
    border-radius: 12px;
  }

  .textoinfo {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .textoinfo h4 {
    font-size: 20px;
    margin: 0 0 8px;
  }

  .textoinfo p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
  }

  .especialidades {
    padding: 60px 5%;
  }

  .tema {
    grid-template-columns: 1fr;
  }

  .tema-info {
    padding: 25px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .tema-info img {
    width: 240px;
    height: 240px;
  }

  .img-alterna {
    width: 240px;
    height: 240px;
  }

  .tema-contenido {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px;
  }

  .tema-contenido.dos {
    grid-template-columns: repeat(1, 1fr);
  }

  .tema-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 14px;
    padding: 0;
    background: #215446;
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }

  .tema-toggle::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition:
      transform 0.3s ease,
      margin 0.3s ease;
  }

  .tema.abierto .tema-toggle::before {
    margin-top: 4px;
    transform: rotate(-135deg);
  }

  .tema-contenido {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.5s ease,
      padding 0.5s ease,
      opacity 0.4s ease;
  }

  .tema.abierto .tema-contenido {
    max-height: 1500px;
    padding-top: 30px;
    padding-bottom: 30px;
    opacity: 1;
  }

  .tema-bloque {
    padding-bottom: 20px;
    border-bottom: 1px solid #d8e5e0;
  }

  .tema-bloque:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .profesionales {
    padding: 52px;
  }

  .profesionales h2 {
    font-size: 1.5rem;
  }

  .contprof {
    width: 100%;
    display: block;
  }

  .prof-otorrino,
  .prof-grupo {
    width: 100%;
    padding-left: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .profesionales h3 {
    font-size: 1.1rem;
  }

  .lista-profesionales,
  .prof-otorrino .lista-profesionales {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lista-profesionales li {
    font-size: 0.95rem;
  }

  .insta {
    padding: 40px 20px;
  }

  .insta h2 {
    font-size: 1.7rem;
    text-align: center;
  }

  .insta p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .publicaciones {
    grid-template-columns: repeat(1, 1fr);
  }

  .ubicacion {
    padding: 0 20px 40px;
  }

  .ubicacion h2 {
    font-size: 1.7rem;
  }

  .ubicacion p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .mapa {
    width: 100%;
    height: 350px;
    border-radius: 12px;
  }

  .faq {
    padding: 40px 20px;
    min-height: auto;
  }

  .faq-container {
    width: 100%;
  }

  .faq-title {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .faq-question {
    padding: 1rem 0;
    gap: 15px;
  }

  .faq-question-text {
    font-size: 1rem;
    line-height: 1.4;
    flex: 1;
  }

  .faq-arrow {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
  }

  .faq-answer {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .form-container {
    width: 90%;
    padding: 20px;
  }

  .contacto {
    padding: 0 40px;
  }

  .contacto h3,
  .contacto p {
    text-align: center;
  }

  .fila {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  footer {
    padding: 40px 20px 25px;
    margin-top: 60px;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .columna-logo {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
  }

  footer img {
    max-width: 90px;
  }

  .texto-foot {
    max-width: 300px;
  }

  .texto-foot p {
    margin: 8px 0;
    line-height: 1.5;
  }

  .columna {
    width: 100%;
  }

  .columna h3 {
    margin-bottom: 15px;
  }

  footer ul {
    margin: 0;
  }

  footer li {
    margin: 10px 0;
  }

  .copyright {
    padding-top: 30px;
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .tarjeta {
    width: 100%;
    max-width: 400px;
  }

  .titulo-seccion h2 {
    font-size: 1.8rem;
  }
}
