/*.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;
}*/

:root {
  --celeste: #33a6e7;
  --azul: #0054a0;
  --color-texto: #111827;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

h2 {
  color: var(--azul);
  font-size: 2rem;
  font-weight: 600;
}

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;
}

.menu-overlay.active {
  display: block;
}

.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  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:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100dvh;
  background-color: var(--azul);
  padding-top: 80px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 100;
  user-select: none;
}

.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: #78ccdf;
}

.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: #78ccdf;
}

.btn-menu {
  padding: 10px 20px;
  background-color: #78ccdf;
  color: var(--azul);
  border: 2px solid #77bed2;
  border-radius: 20px;
}

.hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.541), rgba(0, 0, 0, 0.5)),
    url("./assets/img/consultorio.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
}

.hero .glass {
  width: min(420px, 90%);
  min-height: 420px;

  margin-left: 120px;

  background: rgba(255, 255, 255, 0.21);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1.3px);
  -webkit-backdrop-filter: blur(1.3px);
  border: 1px solid rgba(255, 255, 255, 0.3);

  display: flex;
  align-items: center;
}

.hero-text {
  margin: 40px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;

  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;

  color: var(--celeste);
  text-shadow: 3px 1px 0px #0000007f;
}

.hero h3 {
  font-size: 30px;
  font-weight: 500;
  color: white;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 0 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: var(--celeste);
  color: white;
  border: 1px solid #495e63;
  border-radius: 5px;
}

#especialidades {
  background-color: rgb(239, 239, 239);
  padding: 100px 0px;
}

.contenedor-tarjetas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tarjeta {
  background-color: white;
  border-radius: 6px;
  text-align: left;
  color: black;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.03),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  max-width: 250px;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

.tarjeta img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tarjeta-contenido {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.tarjeta h3 {
  font-weight: bold;
}

.tarjeta ul {
  list-style-type: square;
  padding: 0px 20px;
}

.tarjeta li::marker {
  color: var(--azul);
}

.titulo-seccion {
  text-align: center;
  margin-bottom: 70px;
}

.subtitulo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 18px;
}

.titulo-seccion h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
  max-width: 700px;
  margin: 0 auto;
}

#tratamos {
  background-color: rgb(239, 239, 239);
  padding: 40px;
}

#tratamos h2 {
  text-align: center;
  margin-bottom: 40px;
}

.contenedor-cajas {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.caja-sintomas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caja-diagnostico {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 10px 15px -3px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
}

.sintoma-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 30px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-family: inherit;
}

.sintoma-btn img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.sintoma-btn span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #334155;
}

.sintoma-btn:hover,
.sintoma-btn.active {
  background-color: #f1f5f9;
  border-color: #003049;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
}

.sintoma-btn.active img {
  opacity: 1;
}

.sintoma-btn.active span {
  color: #003049;
  font-weight: 600;
}

.ficha-categoria {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.ficha-sintoma-titulo {
  color: #003049;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.tarjetas-afecciones {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.tarjeta-afeccion-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f8fafc;
  padding: 18px 24px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  transition: transform 0.2s ease;
}

.tarjeta-afeccion-item:hover {
  transform: translateX(5px);
}

.indicador-azul {
  width: 4px;
  height: 24px;
  background-color: var(--azul);
  border-radius: 2px;
}

.tarjeta-afeccion-item span {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
}

.ficha-advertencia {
  display: flex;
  gap: 16px;
  align-items: center;
  background-color: #f0f9ff;
  padding: 15px 20px;
  border-radius: 10px;
}

.ficha-advertencia i {
  color: var(--azul);
}

.ficha-advertencia p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #0369a1;
}

#estudios {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0054a0;
  padding-bottom: 140px;
}

.tipo-estudio {
  position: relative;
  width: 90%;
  background-color: white;
  border-radius: 25px;
  margin-top: 80px;
  padding: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.399);
  box-sizing: border-box;
}

.tipo-estudio::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid #0154a0;
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

.tipo-estudio h4 {
  position: absolute;
  top: -2px;
  left: 2.5rem;
  transform: translateY(-50%);
  background-color: white;
  padding: 0 0.75rem;
  color: #0154a0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  z-index: 2;
}

.rectangulo {
  background-color: #f1f1f1;
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.rectangulo:hover {
  transform: translateY(-2px);
}

.rectangulo .texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 50%;
  margin-left: 40px;
}

.rectangulo h3 {
  margin: 0;
  color: #1a202c;
  font-size: 1.5rem;
  font-weight: 600;
}

.rectangulo p {
  margin: 0;
  color: #4a5568;
  font-size: 1.2rem;
  line-height: 1.6;
}

.rectangulo img {
  width: 420px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #e2e8f0;
  margin-right: 30px;
}

.estudio-chico {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.estudio-chico .rectangulo {
  background-color: white;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 30px 20px;
  border: 1px solid rgb(228, 228, 228);
}

.estudio-chico .rectangulo:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.estudio-chico .texto {
  margin-left: 0;
}

.estudio-chico .rectangulo h3 {
  margin: 0;
  font-size: 1.15rem;
}

.estudio-chico .rectangulo img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}

#insta {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#insta p {
  max-width: 40%;
  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: #f5f7f9;
}

#ubicacion h2 {
  text-align: center;
  color: var(--azul);
  font-size: 2rem;
  font-weight: 600;
  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: var(--azul);
}

.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: var(--azul);
  font-size: 2rem;
}

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: #e0f9ff;
  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: var(--azul);
  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: #01315e;
}

.opcional {
  color: #9b9b9b;
  margin: 4px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(13, 56, 88, 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: var(--azul);
  margin-bottom: 15px;
}

.popup-content h2 {
  font-family: "Montserrat", sans-serif;
  color: #0d3858;
  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: var(--azul);
  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: #112e35;
  color: white;
}

footer {
  background-color: #0d3858;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;

  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: var(--celeste);
}

.columna-logo {
  display: flex;
  max-width: 400px;
  gap: 40px;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  font-weight: 200;
}

.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: 992px) {
  .hero {
    justify-content: center;
    padding: 80px 30px;
  }

  .hero .glass {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h3 {
    font-size: 24px;
  }

  .contenedor-tarjetas {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .tarjeta {
    max-width: 320px;
  }

  .tipo-estudio {
    display: flex;
    flex-direction: column;
  }

  .rectangulo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rectangulo .texto {
    max-width: 100%;
    margin-left: 0;
  }

  .rectangulo img {
    width: 100%;
    max-width: 420px;
    height: 240px;
    margin-right: 0;
  }

  .contenedor-cajas {
    display: flex;
    flex-direction: column;
  }

  .caja-sintomas {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sintoma-btn {
    min-width: 250px;
    padding: 16px 10px;
    justify-content: center;
  }

  .sintoma-btn span {
    font-size: 1.05rem;
  }

  .tarjeta-afeccion-item span {
    font-size: 1.2rem;
  }

  .ficha-advertencia p {
    font-size: 1rem;
  }

  .publicaciones {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    justify-content: center;
    padding: 90px 20px 40px;
  }

  .hero .glass {
    min-height: auto;
    margin: 0;
  }

  .hero-text {
    margin: 30px 24px;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero h3 {
    font-size: 20px;
    margin-bottom: 2rem;
  }

  .btn-hero {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  #especialidades {
    padding: 60px 20px;
  }

  .titulo-seccion {
    margin-bottom: 40px;
  }

  .titulo-seccion h2 {
    font-size: 2rem;
    line-height: 1.3;
    padding: 0 10px;
  }

  .subtitulo {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  .contenedor-tarjetas {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .tarjeta {
    max-width: 100%;
    width: 100%;
  }

  .tarjeta img {
    height: 220px;
  }

  .tarjeta-contenido {
    padding: 1.25rem;
  }

  .tarjeta h3 {
    font-size: 1.3rem;
  }

  .tarjeta p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #estudios {
    padding-bottom: 80px;
  }

  .tipo-estudio {
    width: calc(100% - 40px);
    padding: 35px 20px;
    margin-top: 60px;
    border-radius: 20px;
  }

  .tipo-estudio::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .tipo-estudio h4 {
    font-size: 0.95rem;
    left: 1.2rem;
  }

  .rectangulo {
    padding: 20px;
    gap: 20px;
    border-radius: 14px;
  }

  .rectangulo h3 {
    font-size: 1.25rem;
  }

  .rectangulo p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .rectangulo img {
    width: 100%;
    height: 200px;
    margin: 0;
  }

  .estudio-chico {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .estudio-chico .rectangulo {
    padding: 20px;
  }

  .estudio-chico .rectangulo img {
    max-width: 180px;
    height: 180px;
  }

  #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;
  }

  #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) {
  .contenedor-tarjetas {
    grid-template-columns: 1fr;
  }

  .tarjeta {
    width: 100%;
    max-width: 400px;
  }

  .titulo-seccion h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .hero-text {
    margin: 24px 20px;
  }

  .tipo-estudio {
    width: calc(100% - 30px);
    padding: 30px 15px;
  }

  .tipo-estudio h4 {
    font-size: 0.85rem;
  }

  .rectangulo h3 {
    font-size: 1.1rem;
  }

  .rectangulo p {
    font-size: 0.95rem;
  }

  .rectangulo img {
    height: 170px;
  }

  #faq {
    padding: 35px 36px;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .faq-question-text {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }

  footer {
    padding: 35px 15px 20px;
  }

  .columna p {
    font-size: 0.9rem;
  }
}
