/*.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: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  width: 100%;
  color: #2c3531;
}

a {
  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: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  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: #025555;
  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: #0f7575;
}
.hero-content img {
  height: 100px;
  width: auto;
  padding-top: 5px;
  user-select: none;
}

#inicio {
  background-image: url(./assets/img/background.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;

  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenido-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contenido-hero h1,
.contenido-hero h2 {
  color: #025555;
}

.contenido-hero h1 {
  font-size: 50px;
  padding: 10px;
  margin: 0px;
}

.contenido-hero h2 {
  padding-top: 0px;
  margin: 0px;
  font-size: 30px;
}

.contenido-hero p {
  max-width: 600px;
  padding-top: 20px;
}

.boton-estado {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid #8da399;
  border-radius: 50px;
  background: transparent;
  color: #8da399;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: 0.3s ease;
}

.boton-estado:hover {
  transform: translateY(-5px);
  color: #566760;
}

.especialidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 25px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background-color: #025555;
  border: 1.5px solid transparent;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-5px);
  border-color: #025555;
  background-color: #0f7676;
}

#especialidades h2 {
  margin: 0px;
  padding-bottom: 40px;

  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  color: #025555;
}

.contenedor-especialidades {
  position: relative;
  z-index: 0;
  background-color: #c2d3cd;
  margin: 100px;
  padding: 100px;
  padding-bottom: 250px;
  border-radius: 60px;
}

.contenedor-columnas {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 900px;
  margin: 0px auto;
}

.col {
  max-width: 420px;
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.475);
  padding: 20px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  transition: 0.3s ease;
}

.col:hover {
  transform: translateY(-5px);
}

.col h3 {
  color: #025555;
  margin-bottom: 15px;
}

.col p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.titulo-lista {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1c3d37;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  margin-left: 60px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28, 61, 55, 0.15);
}

.lista-problematicas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 50px;
  row-gap: 28px;
  max-width: 1000px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.475);
  padding: 40px;
  border-radius: 20px;
}

.problematica {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #025555;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(28, 61, 55, 0.15);
  transition: all 0.2s ease-in-out;
  transition: 0.3s ease;
}

.problematica:hover {
  transform: translateY(-5px);
}

.problematica i {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.problematica span {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.resultados {
  position: relative;
  z-index: 2;
  width: 80%;
  margin: -300px auto 0;
  padding: 20px 100px;
  margin-bottom: 80px;
  text-align: center;
  background-color: white;
  border-radius: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.resultados h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #025555;
  margin: 0 0 10px;
}

.contenedor-resultados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tarjeta-resultado {
  flex: 1 1 180px;
  max-width: 210px;
  padding: 0 24px;
  border-right: 1px solid rgba(2, 85, 85, 0.15);
}

.tarjeta-resultado:last-child {
  border-right: none;
}

.tarjeta-resultado i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #c2d3cd;
  color: #025555;
  font-size: 20px;
  margin-bottom: 16px;
}

.tarjeta-resultado h3 {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #025555;
  margin: 0 0 8px;
  line-height: 1.3;
}

.tarjeta-resultado p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #566760;
  margin: 0;
}

@media (max-width: 768px) {
  .resultados {
    padding: 0px 25px 60px;
  }

  .contenedor-resultados {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .tarjeta-resultado {
    max-width: 320px;
    padding: 0 0 26px;
    border-right: none;
    border-bottom: 1px solid rgba(2, 85, 85, 0.15);
  }

  .tarjeta-resultado:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

#sobre-mi {
  background-color: #f7f5f0;
  display: flex;
  padding: 80px;
}

.foto-irene {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 40px;
}

.foto-irene::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #025555;
  top: 8px;
  left: 8px;
  z-index: 0;
}

.foto-irene img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
}

.monoespacio {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #025555;
}

.texto-irene {
  max-width: 600px;
}

.texto-irene h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: black;
}

.texto-irene h3 {
  color: #025555;
}

.texto-irene ul {
  list-style-type: square;
  padding: 0px 20px;
}

.texto-irene li::marker {
  color: #025555;
}

.contenedor-servicios {
  background-color: #025555;
  color: white;
  margin: 100px;
  padding: 60px 100px;
  border-radius: 60px;
}
.contenedor-servicios h2 {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  color: white;
  margin: 0px;
}

.linea-modalidad {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: #c2d3cd;
  letter-spacing: 0.3px;
  margin: 15px auto 0px;
}

.click {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 200;
  color: #c2d3cd;
  margin: 15px auto 0px;
}
.contenedor-tarjetas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px auto 0px;
}

.servicio {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  transition: 0.3s ease;
  height: 240px;
  width: 240px;
}

.servicio i {
  font-size: 24px;
  color: #c2d3cd;
  margin-bottom: 12px;
  display: block;
}

.servicio h3 {
  color: white;
  margin: 0px 0px 10px;
  font-size: 20px;
}

.servicio p {
  color: #e3e9e6;
  line-height: 1.6;
  font-size: 18px;
  margin: 0px;
}

#servicios::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 100;
  pointer-events: none;
}

#servicios:has(.servicio:hover)::before {
  opacity: 1;
  visibility: visible;
}

.servicio {
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.servicio:hover {
  z-index: 1000;
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.14);
}

.detalle-tarjeta {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 420px;
  height: 420px;
  background: #013d3d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 999;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

.detalle-tarjeta i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #c2d3cd;
}

.detalle-tarjeta h3 {
  font-size: 26px;
  margin: 0 0 20px;
}

.detalle-tarjeta p {
  font-size: 17px;
  line-height: 1.7;
  color: #e3e9e6;
}

.servicio:hover .detalle-tarjeta {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.cerrar-detalle {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

#ubicacion {
  background-color: #368e92;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px;
}

#ubicacion h2 {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  color: #f7f5f0;
  margin: 0px;
}

#ubicacion p {
  color: #d9e6e1;
}

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

#contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px;
  background-color: #f7f5f0;
}

#contacto h2 {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  color: #025555;
  margin: 0px;
}

.desc-formulario {
  max-width: 600px;
  text-align: center;
}
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: #f0feff;
  border-radius: 20px;
  font-size: 14px;
  color: #649191;
  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: #025555;
  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: #2d898e;
}

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

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #02555551;
  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: #6cd2d8;
  margin-bottom: 15px;
}

.popup-content h2 {
  font-family: "Montserrat", sans-serif;
  color: #025555;
  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: #6cd2d8;
  color: #025555;
  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: #2d898e;
  color: white;
}

footer {
  background-color: #025555;
  max-height: 400px;
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: white;
  font-weight: 200;
  margin: 0;

  padding: 60px 8% 25px;
}

footer h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 15px;
}

footer h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
}

footer p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 300px;
  margin: 0;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 4px;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #8da399;
}

footer i {
  width: 18px;
  text-align: center;
}

.columna {
  display: flex;
  flex-direction: column;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

.copyright a {
  text-decoration: underline;
  gap: 0px;
  display: inline-block;
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

.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 (max-width: 768px) {
  #inicio {
    background-image: url(./assets/img/background-mobile.png);
    padding: 0px 40px;
  }

  h3 {
    font-size: 24px;
  }

  p {
    font-size: 18px;
  }

  .contenido-hero p {
    padding: 0px;
  }

  .especialidades {
    margin-top: 0px;
  }

  #especialidades {
    width: 100%;
  }

  #especialidades h2 {
    font-size: 30px;
    padding-bottom: 25px;
  }

  .contenedor-especialidades {
    margin: 30px 15px;
    padding: 35px 20px;
    border-radius: 30px;
  }

  .contenedor-columnas {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .col {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 20px;
    margin-bottom: 0;
    border-radius: 16px;
  }

  .col h3 {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .col p {
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .titulo-lista {
    margin: 35px 0 20px;
    padding-top: 25px;
  }

  .lista-problematicas {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 16px;
  }

  .problematica {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 5px;
    gap: 12px;
  }

  .problematica i {
    font-size: 18px;
    width: 25px;
  }

  .problematica span {
    font-size: 14px;
    line-height: 1.4;
  }

  .col:hover,
  .problematica:hover {
    transform: none;
  }

  .resultados {
    position: static;
    width: 90%;
    margin: 0 auto 60px;
    padding: 30px 20px;
    border-radius: 30px;
  }

  .tarjeta-resultado h3 {
    font-size: 20px;
  }

  .resultados p {
    font-size: 18px;
  }

  #sobre-mi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 25px;
    width: 100%;
  }

  .foto-irene {
    width: 100%;
    height: 100%;
    margin: 40px auto;
  }

  .foto-irene img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0%;
  }

  .foto-irene::after {
    display: none;
  }

  .texto-irene {
    width: 100%;
    max-width: 100%;
  }

  .monoespacio {
    font-size: 0.8rem;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
  }

  .texto-irene h2 {
    font-size: 27px;
    line-height: 1.2;
    margin: 0 0 30px;
  }

  .texto-irene h3 {
    margin-top: 25px;
    margin-bottom: 12px;
  }

  .texto-irene p {
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .texto-irene ul {
    padding-left: 20px;
    margin-top: 10px;
  }

  .texto-irene li {
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .contenedor-servicios {
    margin: 30px 15px;
    padding: 40px 20px;
    border-radius: 30px;
  }

  .contenedor-servicios h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .linea-modalidad {
    margin-top: 12px;
  }

  .contenedor-tarjetas {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 35px auto 0;
  }

  #servicios {
    padding-bottom: 40px;
  }

  .servicio h3 {
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .servicio p {
    line-height: 1.55;
    font-size: 18px;
  }
  .servicio {
    min-height: 350px;
    height: auto;
    width: 80%;
    margin: 0 auto;
    padding: 30px;
    cursor: default;
  }

  .servicio:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .servicio > i,
  .servicio > h3 {
    display: none;
  }

  .detalle-tarjeta {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .servicio:hover .detalle-tarjeta {
    transform: none;
  }

  #servicios::before,
  #servicios:has(.servicio:hover)::before,
  #servicios:has(.servicio.activo)::before {
    display: none;
  }

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

  #ubicacion {
    padding: 80px 40px;
  }

  #contacto {
    padding: 80px 40px;
  }

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

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

  .desc-formulario p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  .form-group label {
    font-size: 18px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 8% 20px;
    max-height: none;
  }

  footer .copyright {
    grid-column: 1;
    margin-top: 5px;
  }

  footer h2 {
    font-size: 30px;
  }

  footer h3 {
    font-size: 24px;
  }

  footer p,
  footer a {
    font-size: 18px;
  }
}
