/* Residencia María Adela · mismo aspecto que la web anterior (Elementor), sin WordPress. */
@font-face { font-family: 'Lato'; src: url('/fuentes/lato-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/fuentes/lato-400-italica.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/fuentes/lato-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fuentes/poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fuentes/poppins-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --rosa: #ec1651;
  --rosa-claro: #f285a3;
  --rosa-palido: #f6dde5;
  --fondo: #f8f3f5;
  --titulo: #2b161b;
  --texto: #4a4245;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--texto); font: 400 16px/1.85 'Lato', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--titulo); margin: 0; line-height: 1.15; }
.contenedor { width: min(1000px, 100% - 40px); margin-inline: auto; position: relative; }
.antetitulo { font: 700 11px 'Poppins', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--rosa); margin: 0 0 8px; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }
.boton { display: inline-flex; align-items: center; gap: 26px; background: var(--rosa); color: #fff; text-decoration: none; font-size: 16px; border: 2px solid var(--rosa-claro); border-radius: 30px; padding: 11px 30px; transition: background .2s, transform .2s; }
.boton:hover { background: #d10f45; transform: translateY(-1px); }
.boton svg { width: 10px; height: 10px; }

/* ---------- encabezado y portada */
.portada { position: relative; background: var(--fondo); overflow: hidden; min-height: 650px; }
.portada::before { content: ''; position: absolute; top: -8px; right: 0; width: 760px; height: 380px; background: url('/img/formas.webp') right top / contain no-repeat; opacity: .55; pointer-events: none; }
.encabezado { position: relative; z-index: 5; display: flex; justify-content: center; padding: 18px 20px; }
.encabezado .marca { display: none; }
.menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 15px; color: #555; transition: color .2s; }
.menu a:hover { color: var(--rosa); }
.abrir-menu { display: none; background: none; border: 0; padding: 8px; color: var(--rosa-claro); cursor: pointer; }
.abrir-menu svg { width: 22px; height: 22px; }
.portada-cuerpo { position: relative; z-index: 2; width: min(1180px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 170px 0 80px; }
.portada h1 { font-size: 60px; line-height: 1; margin: 18px 0 22px; max-width: 420px; }
.portada .bajada { text-transform: uppercase; color: #555; margin: 0 0 30px; line-height: 1.7; }
.portada .logo-grande { justify-self: center; width: 300px; margin-left: 120px; }

/* ---------- quiénes somos */
.quienes { position: relative; padding: 100px 0 80px; overflow: hidden; }
.quienes::before { content: ''; position: absolute; top: 0; right: -60px; width: 900px; height: 450px; background: url('/img/formas.webp') right top / contain no-repeat; opacity: .07; pointer-events: none; }
.quienes h2 { font-size: 36px; margin-bottom: 28px; }
.destacado { border-left: 3px solid var(--rosa); padding: 22px 30px 22px 30px; font: 600 18px/1.2 'Poppins', sans-serif; color: var(--titulo); max-width: 880px; margin: 0 0 45px; }
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 880px; }
.raya { display: block; width: 122px; height: 1px; background: var(--rosa); margin-bottom: 22px; }
.raya.gris { background: #333; }
.quienes h3 { font-size: 34px; margin-bottom: 18px; }
.quienes p { margin: 0; font-size: 15.5px; }
.logo-tenue { position: absolute; right: -195px; top: 270px; width: 205px; opacity: .14; }
.valores { margin-top: 50px; max-width: 880px; }
.valores ul { margin: 4px 0 0; padding-left: 48px; font-size: 15.5px; }
.puntos-rosa { position: absolute; right: -230px; top: 690px; width: 245px; }
.equipo-intro { margin-top: 40px; padding-left: 10px; }
.equipo-intro h3 { margin-bottom: 26px; }
.equipo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 80px; }
.persona { text-align: center; }
.persona img { width: 150px; height: 150px; object-fit: cover; margin: 0 auto 28px; }
.persona h4 { font-size: 18px; font-weight: 700; }
.persona .cargo { color: #555; font-size: 15px; line-height: 1.6; margin: 2px 0 0; }
.especialidades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; font-size: 15px; }
.especialidades p { margin: 0; padding: 0 10px 0 20px; }
.especialidades strong { color: #555; }

/* ---------- servicios */
.servicios { background: var(--fondo); padding: 150px 0 110px; position: relative; }
.servicios .contenedor { width: min(970px, 100% - 40px); }
.servicios h2 { font-size: 36px; }
.grilla-servicios { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 46px; margin-top: 45px; border-top: 1px solid #f1eaee; }
.servicio { padding: 30px 0 32px; border-bottom: 1px solid #f1eaee; }
.servicio .numero { font: 700 12px 'Poppins', sans-serif; letter-spacing: .2em; color: var(--rosa); }
.servicio h3 { font-size: 20px; font-weight: 600; margin: 14px 0 10px; }
.servicio p { margin: 0; font-size: 15.5px; }
.puntos-gris { position: absolute; left: -116px; top: 145px; width: 110px; opacity: .4; }

/* ---------- instalaciones */
.instalaciones { position: relative; padding: 110px 0 170px; background: #fff; overflow: hidden; }
.instalaciones::before { content: ''; position: absolute; top: 40px; right: -40px; width: 900px; height: 520px; background: url('/img/eucalipto.webp') right top / contain no-repeat; opacity: .3; pointer-events: none; }
.instalaciones > :not(dialog) { position: relative; }
.instalaciones .contenedor { width: min(1036px, 100% - 40px); }
.instalaciones h2 { font-size: 36px; margin-bottom: 50px; }
.instalaciones .intro { margin: 0 0 45px; font-size: 15.5px; }
.lista-instalaciones { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0 20px; margin-bottom: 70px; }
.lista-instalaciones ul { list-style: none; margin: 0; padding: 0 0 0 10px; }
.lista-instalaciones li { display: flex; gap: 9px; align-items: baseline; font-size: 15.5px; line-height: 1.95; }
.lista-instalaciones svg { flex: 0 0 14px; width: 14px; height: 12px; fill: #111; position: relative; top: 1px; }
.galeria { display: grid; grid-template-columns: repeat(3, 300px); justify-content: space-between; gap: 20px 0; margin: 50px 16px 0; align-items: start; }
.galeria button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.galeria img { width: 300px; transition: opacity .2s; }
.galeria button:hover img { opacity: .85; }
.visor { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 92vh; }
.visor::backdrop { background: rgba(0, 0, 0, .88); }
.visor img { max-width: 95vw; max-height: 86vh; width: auto; margin: 0 auto; }
.visor .controles { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.visor button { background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 4px; font: 15px 'Lato', sans-serif; padding: 8px 16px; cursor: pointer; }
.visor button:hover { background: rgba(255, 255, 255, .3); }

/* ---------- reseñas */
.testimonios { background: var(--fondo); padding: 15px 0 35px; }
.caja-resenas { width: min(1170px, 100% - 40px); margin: 0 auto; background: #fbfbfb; border-radius: 6px; padding: 100px 96px 80px; }
.caja-resenas h2 { font-size: 36px; }
.caja-resenas .raya { width: 147px; height: 3px; margin: 40px 0 66px; }
.deslizador { position: relative; padding: 0 16px; }
.pista { display: flex; gap: 17px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding: 4px; }
.pista::-webkit-scrollbar { display: none; }
.resena { flex: 0 0 calc((100% - 34px) / 3); scroll-snap-align: start; background: #fff; border-radius: 8px; box-shadow: 0 0 8px rgba(0, 0, 0, .1); padding: 20px 20px 24px; min-height: 234px; font-size: 14.5px; line-height: 1.5; color: #111; }
.resena header { display: grid; grid-template-columns: 40px 1fr 22px; gap: 15px; align-items: center; margin-bottom: 14px; }
.resena header img { width: 40px; height: 40px; border-radius: 50%; }
.resena .nombre { font-weight: 700; font-size: 15px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resena .cuando { font-size: 13px; color: #6b6b6b; }
.resena .g { width: 20px; height: 20px; }
.estrellas { display: flex; gap: 1px; margin-bottom: 10px; }
.estrellas svg { width: 17px; height: 17px; }
.resena p { margin: 0; }
.resena .recortado { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.resena .mas { background: none; border: 0; padding: 0; margin-top: 6px; color: #777; font: 13px 'Lato', sans-serif; cursor: pointer; text-decoration: underline; }
.resena .sin-texto { color: #777; font-style: italic; }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #333; display: grid; place-items: center; cursor: pointer; z-index: 2; padding: 0; }
.flecha svg { width: 10px; height: 14px; }
.flecha.anterior { left: -2px; }
.flecha.siguiente { right: -2px; }
.resumen { text-align: center; font-size: 14px; color: #111; margin: 34px 0 0; }

/* ---------- contacto */
.contacto { position: relative; padding: 100px 0; background: url('/img/fondo-contacto.webp') center / cover; }
.contacto::before { content: ''; position: absolute; inset: 0; background: rgba(208, 22, 82, .78); }
.tarjeta-contacto { position: relative; width: min(1200px, 100% - 40px); margin: 0 auto; background: #fff; display: grid; grid-template-columns: 1fr 471px; gap: 0; padding: 8px; }
.tarjeta-contacto > div:first-child { padding: 52px 0 52px 42px; }
.tarjeta-contacto h2 { font-size: 32px; margin-bottom: 52px; }
.tarjeta-contacto h3 { font-size: 19px; margin-bottom: 18px; }
.tarjeta-contacto .datos { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.tarjeta-contacto address { font-style: normal; font-size: 15.5px; color: #555; }
.boton-borde { display: inline-flex; align-items: center; gap: 26px; text-decoration: none; color: var(--rosa); font-size: 12px; font-weight: 700; border: 2px solid var(--rosa-claro); border-radius: 30px; padding: 11px 30px; transition: background .2s, color .2s; }
.boton-borde:hover { background: var(--rosa); color: #fff; }
.boton-borde svg { width: 8px; height: 8px; }
.redes { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.redes h3 { margin: 0 44px 0 0; }
.redes a { color: var(--rosa); display: grid; }
.redes svg { width: 26px; height: 26px; fill: currentColor; }
.mapa { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.pie { width: min(1200px, 100% - 40px); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 50px 0 40px; font-size: 14px; color: #555; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--rosa); }

.whatsapp-flotante { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 40; }
.whatsapp-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- política de privacidad */
.legal { width: min(800px, 100% - 40px); margin: 0 auto; padding: 60px 0 80px; }
.legal h1 { font-size: 40px; margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 16px; }
.legal .volver { display: inline-block; margin-bottom: 30px; color: var(--rosa); text-decoration: none; font-weight: 700; }

/* ---------- tablet y celular */
@media (max-width: 1200px) {
  .logo-tenue, .puntos-rosa, .puntos-gris { display: none; }
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-inline: 0; }
  .galeria img { width: 100%; }
  .caja-resenas { padding: 70px 40px 60px; }
  .tarjeta-contacto { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .portada { min-height: 0; }
  .portada::before { width: 300px; height: 150px; opacity: .3; }
  .encabezado { justify-content: space-between; align-items: center; padding: 14px 20px; }
  .encabezado .marca { display: block; width: 76px; }
  .abrir-menu { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
  .menu.abierto { display: flex; }
  .menu a { display: block; padding: 14px 20px; border-top: 1px solid #f1eaee; }
  .portada-cuerpo { grid-template-columns: 1fr; padding: 70px 0 120px; width: min(100% - 100px, 600px); }
  .portada .logo-grande { display: none; }
  .portada h1 { font-size: 40px; }
  .dos-columnas, .grilla-servicios { grid-template-columns: 1fr; }
  .equipo, .especialidades { grid-template-columns: 1fr; }
  .especialidades { display: none; }
  .persona .detalle { display: block; font-size: 14px; color: #555; margin-top: 8px; }
  .lista-instalaciones { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .resena { flex-basis: calc((100% - 17px) / 2); }
  .tarjeta-contacto { grid-template-columns: 1fr; }
  .tarjeta-contacto > div:first-child { padding: 40px 24px; }
  .tarjeta-contacto .datos { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .persona .detalle { display: none; } }
@media (max-width: 600px) {
  .portada-cuerpo { width: calc(100% - 60px); }
  .boton { font-size: 15px; }
  .portada h1 { font-size: 34px; }
  .quienes, .instalaciones { padding: 60px 0; }
  .servicios { padding: 70px 0; }
  .quienes h2, .servicios h2, .instalaciones h2, .caja-resenas h2 { font-size: 30px; }
  .destacado { padding: 14px 0 14px 20px; font-size: 16px; }
  .galeria { grid-template-columns: 1fr; }
  .caja-resenas { padding: 50px 18px; }
  .resena { flex-basis: 100%; }
  .contacto { padding: 50px 0; }
  .pie { flex-direction: column; text-align: center; }
  .boton { gap: 14px; padding: 11px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .pista { scroll-behavior: auto; }
}
