/* Microsite Hytasa – Home
   Lienzo de referencia: 1920px (PSD). Cada .capa es independiente y posicionada
   para poder animarse por separado. Las coordenadas son las del PSD relativas a su sección. */
:root {
  --azul: #155881;
  --negro: #000;
  --blanco: #fff;
  --gris-footer: #f8f8f8;
  --fuente: "Poppins", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  background: var(--blanco);
  overflow-x: hidden;
}
body {
  font-family: var(--fuente);
  -webkit-font-smoothing: antialiased;
}
.pagina {
  width: 1920px;
  position: relative;
}
.seccion {
  position: relative;
  width: 1920px;
}
/* Cabecera: siempre completa en pantalla. El lienzo 1920x1072 se escala (zoom, desde main.js)
   para caber en ancho y alto de la ventana; el fondo cubre los laterales si sobra espacio. */
#s-hero {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
}
#hero-lienzo {
  position: relative;
  width: 1920px;
  height: 1072px;
}
#s-hero .mascara {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
#mascara-mancha-1 {
  left: 0;
  top: 0;
  width: 1920px;
  height: 929px;
  overflow: hidden;
  z-index: 2;
}
/* Menú hamburguesa (como Elementor, aparece por debajo de 1025px) */
.hamburguesa {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 20;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.hamburguesa span {
  display: block;
  height: 3px;
  background: var(--blanco);
  border-radius: 2px;
}
.menu-movil {
  position: fixed;
  inset: 0;
  background: var(--azul);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 100;
  transform: translateX(100%);
  visibility: hidden;
}
.menu-movil.abierto {
  transform: none;
  visibility: visible;
}
.menu-movil a {
  color: var(--blanco);
  font-size: 26px;
  text-decoration: none;
}
.menu-cerrar {
  position: absolute;
  top: 14px;
  right: 22px;
  background: none;
  border: 0;
  color: var(--blanco);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}
.capa {
  position: absolute;
  display: block;
  max-width: none;
}
.texto {
  z-index: 5;
  font-family: var(--fuente);
}
.texto strong {
  font-weight: 700;
}
.texto .medium {
  font-weight: 500;
}
.texto a {
  color: inherit;
  text-decoration: none;
}
.linea {
  background: var(--azul);
  z-index: 3;
}
[id^="estrella"] {
  z-index: 4;
}
[id^="mancha"] {
  z-index: 2;
}
.btn {
  background: var(--negro);
  color: var(--blanco);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 5;
  cursor: pointer;
}
#s-footer {
  background: var(--gris-footer);
}
#s-ubicacion,
#s-cierre,
#s-p-cierre {
  z-index: 1;
}
#footer-copy {
  left: 97px;
  top: 45.9px;
  font-size: 15px;
  line-height: 33.9px;
  font-weight: 400;
  color: var(--azul);
  white-space: nowrap;
}
#footer-legal {
  left: 1461px;
  top: 45.9px;
  font-size: 15px;
  line-height: 33.9px;
  font-weight: 400;
  color: var(--azul);
  white-space: nowrap;
}
#cierre-titulo {
  left: 87px;
  width: 1746px;
  text-align: center;
  top: 111.8px;
  font-size: 38px;
  line-height: 104px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
}
#ubicacion-titulo {
  left: -297px;
  width: 2526px;
  text-align: center;
  top: 482.9px;
  font-size: 504.61px;
  line-height: 617.41px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
  text-transform: uppercase;
}
#texto {
  left: 410px;
  width: 1142px;
  text-align: center;
  top: 1014px;
  font-size: 27px;
  line-height: 39px;
  font-weight: 400;
  color: var(--negro);
  white-space: normal;
}
#ubicacion-subtitulo {
  left: 594px;
  top: 926.7px;
  font-size: 44px;
  line-height: 57px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#residencial-etiqueta {
  left: 975px;
  top: 67.2px;
  font-size: 23px;
  line-height: 49.54px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#texto-2 {
  left: 184px;
  width: 631px;
  top: 445px;
  font-size: 27px;
  line-height: 39px;
  font-weight: 400;
  color: var(--negro);
  white-space: normal;
}
#residencial-titulo {
  left: 184px;
  top: 295.7px;
  font-size: 44px;
  line-height: 57px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#texto-3 {
  left: 1190px;
  width: 572px;
  top: 414px;
  font-size: 27px;
  line-height: 39px;
  font-weight: 400;
  color: var(--negro);
  white-space: normal;
}
#vision-etiqueta {
  left: 222px;
  top: 47.2px;
  font-size: 23px;
  line-height: 49.54px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#vision-titulo {
  left: 1189px;
  top: 274.7px;
  font-size: 44px;
  line-height: 57px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato {
  left: 220px;
  top: 200.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato-2 {
  left: 220px;
  top: 376.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato-3 {
  left: 781px;
  top: 201.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato-4 {
  left: 775px;
  top: 376.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato-5 {
  left: 1285px;
  top: 201.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#dato-6 {
  left: 1283px;
  top: 376.3px;
  font-size: 36.62px;
  line-height: 37.95px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#datos-titulo {
  left: 342px;
  top: 20.4px;
  font-size: 39px;
  line-height: 49.54px;
  font-weight: 400;
  color: var(--negro);
  white-space: nowrap;
}
#texto-4 {
  left: 1012px;
  width: 727px;
  top: 268.8px;
  font-size: 29px;
  line-height: 45px;
  font-weight: 400;
  color: var(--negro);
  white-space: normal;
}
#intro-titulo {
  left: 183px;
  width: 727px;
  top: 4.2px;
  font-size: 53px;
  line-height: 65px;
  font-weight: 400;
  color: var(--negro);
  white-space: normal;
}
#hero-claim {
  left: 119px;
  width: 1711px;
  text-align: center;
  top: 460.6px;
  font-size: 53.38px;
  line-height: 66.49px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
}
#hero-titulo {
  left: 0;
  width: 1920px;
  text-align: center;
  top: 735px;
  font-size: 150px;
  line-height: 170px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
  text-transform: uppercase;
  will-change: transform;
}
#hero-titulo-parque,
#hero-titulo-hilara {
  display: inline-block;
  will-change: transform;
}
#menu {
  left: 1354px;
  width: 492px;
  text-align: center;
  top: 82.8px;
  font-size: 20px;
  line-height: 0.01px;
  font-weight: 400;
  color: var(--blanco);
  white-space: normal;
}
#hero-fondo {
  left: 0px;
  top: 0px;
  width: 1920px;
  height: 1072px;
}
#mancha-1 {
  left: -728px;
  top: 185px;
  width: 1185px;
  height: 1252px;
  opacity: 0.89;
}
#mancha-2 {
  left: 482px;
  top: 76px;
  width: 515px;
  height: 386px;
  opacity: 0.61;
}
#mancha-3 {
  left: 577px;
  top: 701px;
  width: 339px;
  height: 273px;
  opacity: 0.61;
}
#logo {
  left: 84px;
  top: 54px;
  width: 157px;
  height: 62px;
}
.pagina-proyecto #cursor {
  left: 911px;
  top: 924px;
  width: 97px;
  height: 97px;
}
#masterplan {
  left: 0px;
  top: -90px;
  width: 1920px;
  height: 1000px;
}
#vision-imagen {
  left: 219px;
  top: 99px;
  width: 833px;
  height: 724px;
}
#residencial-imagen {
  left: 978px;
  top: 119px;
  width: 828px;
  height: 720px;
}
#ubicacion-fondo {
  left: 0px;
  top: 0px;
  width: 1920px;
  height: 847px;
}
#cierre-fondo {
  left: 0px;
  top: 0px;
  width: 1920px;
  height: 360px;
}
#footer-logo {
  left: 863px;
  top: 20px;
  width: 200px;
  height: 79px;
}
#linea-1 {
  left: 0px;
  top: 560.5999999999999px;
  width: 1920px;
  height: 1.8px;
}
#estrella-1 {
  left: 1679px;
  top: 536px;
  width: 51px;
  height: 51px;
}
#linea-2 {
  left: 0px;
  top: 142.5999999999999px;
  width: 1920px;
  height: 1.8px;
}
#estrella-2 {
  left: 174px;
  top: 118px;
  width: 51px;
  height: 51px;
}
#linea-3 {
  left: 0px;
  top: 326.5999999999999px;
  width: 1920px;
  height: 1.8px;
}
#linea-4 {
  left: 0px;
  top: 502.5999999999999px;
  width: 1920px;
  height: 1.8px;
}
#estrella-4 {
  left: 1162px;
  top: 478px;
  width: 51px;
  height: 51px;
}
#linea-5 {
  left: 0px;
  top: -3.400000000000091px;
  width: 1920px;
  height: 1.8px;
}
#estrella-5 {
  left: 163px;
  top: -28px;
  width: 51px;
  height: 51px;
}
#btn-1 {
  left: 1185px;
  top: 540px;
  width: 304px;
  height: 59px;
}
#btn-2 {
  left: 180px;
  top: 611px;
  width: 304px;
  height: 59px;
}
#btn-3 {
  left: 829px;
  top: 1142px;
  width: 304px;
  height: 57px;
}
#s-hero {
  height: 1072px;
}
#s-intro {
  height: 528px;
}
#s-mapa {
  height: 910px;
}
#s-datos {
  height: 510px;
}
#s-vision {
  height: 944px;
}
#s-residencial {
  height: 896px;
}
#s-ubicacion {
  height: 1324px;
}
#s-cierre {
  height: 360px;
}
#s-footer {
  height: 138px;
}

/* ===== Elementos comunes ===== */
#menu a.activo {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.btn-blanco {
  background: var(--blanco);
  color: var(--negro);
}
#s-datos p.texto {
  font-size: 31.31px;
}
#s-datos p.texto strong {
  font-size: 1.1696em;
}
/* ===== Página Proyecto (body.pagina-proyecto) ===== */
.pagina-proyecto #mascara-mancha-1 {
  height: 1072px;
}
.pagina-proyecto #mancha-1 {
  left: -508px;
  top: 393px;
}
.pagina-proyecto #mancha-2 {
  left: 241px;
  top: 87px;
}
.pagina-proyecto #mancha-3 {
  left: 634px;
  top: 593px;
}
#s-p-promo {
  height: 918px;
}
#s-p-zona {
  height: 890px;
}
#s-p-maqueta {
  height: 508px;
}
#s-p-plano {
  height: 862px;
}
#s-p-servicios {
  height: 4174px;
}
#s-p-cierre {
  height: 976px;
}
[id$="-numero"] {
  font-weight: 300;
}
#p-hero-titulo {
  left: 275.9px;
  top: 354.7px;
  width: 1400px;
  font-size: 85.05px;
  line-height: 85px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}
#p-hero-claim {
  left: 274.7px;
  top: 544.3px;
  width: 1400px;
  font-size: 40.02px;
  line-height: 49.86px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}
#p-promo-imagen {
  left: 143px;
  top: 107px;
  width: 716px;
  height: 757px;
}
#p-promo-titulo {
  left: 988.5px;
  top: 174px;
  width: 548px;
  font-size: 53px;
  line-height: 65px;
  color: #000000;
  white-space: normal;
}
#p-promo-texto {
  left: 985.1px;
  top: 414.6px;
  width: 850px;
  font-size: 29px;
  line-height: 45px;
  color: #000000;
  white-space: normal;
}
#p-linea-1 {
  left: 0px;
  top: 57.6px;
  width: 1920px;
  height: 1.8px;
}
#p-estrella-1 {
  left: 1142px;
  top: 34px;
  width: 51px;
  height: 51px;
}
#p-linea-2 {
  left: 141.1px;
  top: 57px;
  width: 1.8px;
  height: 853px;
}
#p-linea-3 {
  left: 858.1px;
  top: 57px;
  width: 1.8px;
  height: 853px;
}
#p-linea-4 {
  left: 0px;
  top: 906.6px;
  width: 1920px;
  height: 1.8px;
}
#s-p-zona .zona-mapa {
  left: 574px;
  top: 12px;
  width: 1324px;
  height: 836px;
}
#p-zona-titulo {
  left: 0px;
  top: 358px;
  width: 1920px;
  text-align: center;
  font-size: 53px;
  line-height: 65px;
  color: #ffffff;
  white-space: normal;
  z-index: 2;
}
#p-zona-lista {
  left: 150.5px;
  top: 369.3px;
  width: 408px;
  font-size: 28px;
  line-height: 45px;
  color: #000000;
  white-space: normal;
}
#p-linea-5 {
  left: 0px;
  top: 862.6px;
  width: 1920px;
  height: 1.8px;
}
#p-estrella-2 {
  left: 418px;
  top: 836px;
  width: 51px;
  height: 51px;
}
#p-maqueta {
  left: 0px;
  top: 8px;
  width: 1920px;
  height: 818px;
}
#p-galeria-1 {
  left: 131px;
  top: 93px;
  width: 403px;
  height: 403px;
}
#p-galeria-2 {
  left: 546px;
  top: 93px;
  width: 403px;
  height: 403px;
}
#p-galeria-3 {
  left: 961px;
  top: 93px;
  width: 403px;
  height: 403px;
}
#p-galeria-4 {
  left: 1376px;
  top: 93px;
  width: 403px;
  height: 403px;
}
#p-linea-6 {
  left: 0px;
  top: 87.6px;
  width: 1920px;
  height: 1.8px;
}
#p-estrella-3 {
  left: 1688px;
  top: 61px;
  width: 51px;
  height: 51px;
}
#p-masterplan {
  left: 154px;
  top: 118px;
  width: 1612px;
  height: 856px;
}
#p-servicio-1-marco {
  left: 172px;
  top: 255px;
  width: 733px;
  height: 386px;
}
#p-servicio-1-numero {
  left: 1059px;
  top: 220.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-1-titulo {
  left: 1066.6px;
  top: 340.9px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-1-texto {
  left: 1068px;
  top: 402.8px;
  width: 531px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-2-marco {
  left: 905px;
  top: 642px;
  width: 845px;
  height: 880px;
}
#p-servicio-2-numero {
  left: 212px;
  top: 902.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-2-titulo {
  left: 219.6px;
  top: 1032.7px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-2-texto {
  left: 221px;
  top: 1093.8px;
  width: 605px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-3-marco {
  left: 142px;
  top: 1523px;
  width: 764px;
  height: 628px;
}
#p-servicio-3-numero {
  left: 1059px;
  top: 1665.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-3-titulo {
  left: 1064.6px;
  top: 1795.3px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-3-texto {
  left: 1068px;
  top: 1856.8px;
  width: 595px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-4-marco {
  left: 905px;
  top: 2151px;
  width: 822px;
  height: 501px;
}
#p-servicio-4-numero {
  left: 212px;
  top: 2248.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-4-titulo {
  left: 219.6px;
  top: 2377.9px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-4-texto {
  left: 221px;
  top: 2439.8px;
  width: 628px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-5-marco {
  left: 160px;
  top: 2652px;
  width: 744px;
  height: 481px;
}
#p-servicio-5-numero {
  left: 1059px;
  top: 2753.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-5-titulo {
  left: 1066.6px;
  top: 2883.2px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-5-texto {
  left: 1068px;
  top: 2944.8px;
  width: 666px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-6-marco {
  left: 903px;
  top: 3133px;
  width: 863px;
  height: 504px;
}
#p-servicio-6-numero {
  left: 212px;
  top: 3234.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-6-titulo {
  left: 218.6px;
  top: 3363.9px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-6-texto {
  left: 221px;
  top: 3424.8px;
  width: 609px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-servicio-7-marco {
  left: 142px;
  top: 3637px;
  width: 762px;
  height: 506px;
}
#p-servicio-7-numero {
  left: 1059px;
  top: 3740.1px;
  font-size: 133px;
  line-height: 49.54px;
  color: #9b9b9b;
  white-space: nowrap;
  opacity: 0.4;
}
#p-servicio-7-titulo {
  left: 1065.6px;
  top: 3869.9px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: #000000;
  white-space: nowrap;
}
#p-servicio-7-texto {
  left: 1068px;
  top: 3931.8px;
  width: 509px;
  font-size: 33px;
  line-height: 49.54px;
  color: #000000;
  white-space: normal;
}
#p-linea-7 {
  left: 0px;
  top: 36.6px;
  width: 1920px;
  height: 1.8px;
}
#p-estrella-4 {
  left: 1203px;
  top: 13px;
  width: 51px;
  height: 51px;
}
#p-cierre-fondo {
  left: 0px;
  top: 84px;
  width: 1920px;
  height: 847px;
}
#p-cierre-titulo {
  left: 315.6px;
  top: 412.6px;
  width: 1400px;
  font-size: 58px;
  line-height: 69px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}
#p-btn-torre {
  left: 809px;
  top: 594px;
  width: 303px;
  height: 59px;
}
#p-linea-8 {
  left: 0px;
  top: 985.6px;
  width: 1920px;
  height: 1.8px;
}
/* ===== Tablet / móvil (≤1024px, corte de Elementor) ===== */
@media (max-width: 1024px) {
  #menu {
    display: none !important;
  }
  .hamburguesa {
    display: flex !important;
  }
  .pagina {
    width: 100% !important;
    zoom: 1 !important;
  }
  .pagina > .seccion {
    zoom: 1 !important;
    width: 100% !important;
  }
  .pagina > .seccion.flujo {
    zoom: 1 !important;
    width: 100% !important;
    height: auto !important;
    padding: 48px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  .seccion.flujo .capa {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    white-space: normal !important;
    text-align: left !important;
  }
  .seccion.flujo img.capa {
    width: 100% !important;
    height: auto !important;
  }
  .seccion.flujo .btn {
    width: 220px !important;
    height: 52px !important;
    font-size: 18px !important;
  }
  .seccion.flujo .linea {
    width: calc(100% + 48px) !important;
    margin: 0 -24px !important;
    height: 1.8px !important;
  }
  .seccion.flujo [id^="estrella"] {
    width: 34px !important;
    height: 34px !important;
    position: absolute !important;
    left: 24px !important;
    top: 31px !important;
  }
  #vision-etiqueta {
    order: 1 !important;
  }
  #vision-imagen {
    order: 2 !important;
  }
  #vision-titulo {
    order: 3 !important;
  }
  #texto-3 {
    order: 4 !important;
  }
  #btn-1 {
    order: 5 !important;
  }
  #s-residencial.flujo {
    padding-top: 64px !important;
  }
  .seccion.flujo img#estrella-5 {
    width: 34px !important;
    height: 34px !important;
    position: absolute !important;
    left: 24px !important;
    top: -17px !important;
  }
  #linea-5 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #residencial-etiqueta {
    order: 1 !important;
  }
  #residencial-imagen {
    order: 2 !important;
  }
  #residencial-titulo {
    order: 3 !important;
  }
  #texto-2 {
    order: 4 !important;
  }
  #btn-2 {
    order: 5 !important;
  }
  #texto-2 br {
    display: none !important;
  }
  #s-datos.flujo {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 24px !important;
    position: relative !important;
  }
  #datos-titulo {
    grid-column: 1/-1 !important;
    padding-bottom: 20px !important;
  }
  #s-datos .linea,
  #s-datos [id^="estrella"] {
    display: none !important;
  }
  #s-datos.flujo .texto:not(h2) {
    font-size: var(--p) !important;
    line-height: 1.35 !important;
  }
  /* Proyecto */
  #p-linea-2,
  #p-linea-3 {
    display: none !important;
  }
  .seccion.flujo img[id^="p-estrella"] {
    width: 34px !important;
    height: 34px !important;
    position: absolute !important;
    left: 24px !important;
    top: -17px !important;
  }
  .seccion.flujo .linea[id^="p-linea"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #p-linea-4 {
    display: none !important;
  }
  .seccion.flujo #p-linea-5 {
    top: auto !important;
    bottom: 0 !important;
  }
  .seccion.flujo #p-estrella-2 {
    top: auto !important;
    bottom: -17px !important;
  }
  .seccion.flujo .bloque-servicio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  .seccion.flujo [id$="-numero"] {
    font-size: 56px !important;
    line-height: 1 !important;
    margin-top: 8px;
  }
  .seccion.flujo h3.texto {
    font-weight: 700;
  }
  .seccion.flujo #p-zona-lista span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
@media (max-width: 600px) {
  #s-datos.flujo {
    grid-template-columns: 1fr !important;
  }
}
/* ===== Cabecera "slider fullscreen": 100% ancho x 100% alto de la ventana =====
   main.js fija la altura del lienzo y desplaza las capas con data-ancla (centro/abajo). */
#hero-fondo {
  object-fit: cover;
  object-position: center top;
}
.pagina-proyecto #cursor {
  cursor: pointer;
  z-index: 6;
}
/* ===== Home: forma blanca del PSD (Capa 16: hueco 1025x143 abajo a la izquierda) =====
   La foto y las manchas se recortan con esa forma exacta; nunca pisan la parte blanca. */
.pagina-home #s-hero .mascara {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 1025px 100%, 1025px calc(100% - 143px), 0 calc(100% - 143px));
}
.pagina-home #mascara-mancha-1 {
  height: 100%;
  overflow: visible;
}
.pagina-home #hero-fondo {
  top: -98px;
  height: 1440px;
  object-fit: fill;
}
#hero-mascara-blanca {
  left: 0;
  top: 929px;
  width: 1025px;
  height: 143px;
  background: var(--blanco);
  z-index: 3;
}
/* ===== Cabeceras con foto completa del PSD (data-foto="x,y,ancho,alto"): main.js la escala para cubrir ===== */
#hero-fondo[data-foto] {
  object-fit: fill;
}
.pagina-proyecto #hero-fondo {
  left: -62px;
  top: -9px;
  width: 2044px;
  height: 1109px;
}
.pagina-proyecto #mascara-mancha-1,
.pagina-ubicacion #mascara-mancha-1 {
  height: 100%;
}
.pagina-ubicacion #cursor {
  left: 911px;
  top: 924px;
  width: 97px;
  height: 97px;
  cursor: pointer;
  z-index: 6;
}
#logo-enlace {
  display: contents;
}
/* ===== Página Ubicación (body.pagina-ubicacion) ===== */
#s-u-cierre {
  z-index: 1;
}
.distancia > .capa {
  position: absolute;
}
.pagina-ubicacion #mancha-1 {
  left: 1525px;
  top: -79px;
  width: 1185px;
  height: 1252px;
  opacity: 0.89;
}
.pagina-ubicacion #mancha-2 {
  left: 930px;
  top: 27px;
  width: 515px;
  height: 386px;
  opacity: 0.61;
}
.pagina-ubicacion #mancha-3 {
  left: 1323px;
  top: 533px;
  width: 339px;
  height: 273px;
  opacity: 0.61;
}
.pagina-ubicacion #hero-fondo {
  left: -83px;
  top: -37px;
  width: 2044px;
  height: 1150px;
}
#u-hero-titulo {
  left: -125px;
  width: 2200px;
  text-align: center;
  top: 395.7px;
  font-size: 85.05px;
  line-height: 104.06px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
}
#u-hero-claim {
  left: -125px;
  width: 2200px;
  text-align: center;
  top: 502.7px;
  font-size: 40.02px;
  line-height: 49.86px;
  color: var(--blanco);
  white-space: nowrap;
}
#s-u-promo {
  height: 935px;
}
#u-linea-1 {
  left: 0px;
  top: 57.59999999999991px;
  width: 1920px;
  height: 1.8px;
}
#u-estrella-1 {
  left: 1142px;
  top: 34px;
  width: 51px;
  height: 51px;
}
#u-linea-2 {
  left: 141.1px;
  top: 58px;
  width: 1.8px;
  height: 851px;
}
#u-linea-3 {
  left: 858.1px;
  top: 58px;
  width: 1.8px;
  height: 851px;
}
#u-linea-4 {
  left: 0px;
  top: 906.5999999999999px;
  width: 1920px;
  height: 1.8px;
}
#u-promo-marco {
  left: 143px;
  top: 107px;
  width: 716px;
  height: 757px;
  overflow: hidden;
}
#u-promo-imagen {
  left: -133px;
  top: -18px;
  width: 1469px;
  height: 827px;
}
#u-promo-titulo {
  left: 988px;
  top: 178.1px;
  font-size: 53px;
  line-height: 65px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#u-promo-texto {
  left: 984px;
  top: 418.8px;
  width: 850px;
  font-size: 29px;
  line-height: 45px;
  color: var(--negro);
  white-space: normal;
}
#s-u-distancias {
  height: 478px;
}
#u-distancia-1 {
  left: 2px;
  top: 0px;
  width: 477px;
  height: 478px;
  overflow: hidden;
  background: #075b86;
}
#u-distancia-1-imagen {
  left: -104px;
  top: -9px;
  width: 905px;
  height: 509px;
}
#u-distancia-2 {
  left: 483px;
  top: 0px;
  width: 477px;
  height: 478px;
  overflow: hidden;
  background: #075b86;
}
#u-distancia-2-imagen {
  left: -414px;
  top: -52px;
  width: 893px;
  height: 552px;
  opacity: 1;
}
#u-distancia-3 {
  left: 963px;
  top: 0px;
  width: 477px;
  height: 478px;
  overflow: hidden;
  background: #075b86;
}
#u-distancia-3-imagen {
  left: -154px;
  top: -89px;
  width: 921px;
  height: 692px;
  opacity: 1;
}
#u-distancia-4 {
  left: 1444px;
  top: 0px;
  width: 477px;
  height: 478px;
  overflow: hidden;
  background: #075b86;
}
#u-distancia-4-imagen {
  left: -164px;
  top: -8px;
  width: 745px;
  height: 495px;
  opacity: 1;
}
#u-distancia-1-titulo {
  left: 27px;
  top: 14.6px;
  font-size: 41.78px;
  line-height: 43.3px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
}
#u-distancia-2-titulo {
  left: 28px;
  top: 15.6px;
  font-size: 41.78px;
  line-height: 43.3px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
}
#u-distancia-3-titulo {
  left: 33px;
  top: 14.6px;
  font-size: 41.78px;
  line-height: 43.3px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
}
#u-distancia-4-titulo {
  left: 30px;
  top: 14.6px;
  font-size: 41.78px;
  line-height: 43.3px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
}
#u-distancia-1-tiempo {
  left: 31px;
  top: 420.8px;
  font-size: 30.54px;
  line-height: 45.85px;
  color: var(--blanco);
  white-space: nowrap;
}
#s-u-mapa {
  height: 2725px;
}
#u-mapa {
  left: 0px;
  top: 15px;
  width: 1920px;
  height: 849px;
}
#u-plano {
  left: 759px;
  top: 915px;
  width: 1111px;
  height: 618px;
}
#u-mapa-titulo {
  left: -602.5px;
  width: 2200px;
  text-align: center;
  top: 747.3px;
  font-size: 127.55px;
  line-height: 144.72px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
}
#u-mapa-subtitulo {
  left: 286px;
  top: 1202.4px;
  font-size: 44.95px;
  line-height: 46.59px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#u-mapa-texto {
  left: 885px;
  top: 1547.7px;
  font-size: 29px;
  line-height: 44px;
  color: var(--negro);
  white-space: nowrap;
}
#u-mapa-texto-2 {
  left: 1145px;
  top: 1848.2px;
  font-size: 29px;
  line-height: 44px;
  color: var(--negro);
  white-space: nowrap;
}
#u-mapa-texto-3 {
  left: 330px;
  top: 2397.5px;
  font-size: 29px;
  line-height: 44px;
  color: var(--negro);
  white-space: nowrap;
}
#u-galeria-1 {
  left: 68px;
  top: 1746px;
  width: 342px;
  height: 454px;
}
#u-galeria-2 {
  left: 421px;
  top: 1746px;
  width: 342px;
  height: 454px;
}
#u-galeria-3 {
  left: 772px;
  top: 1746px;
  width: 342px;
  height: 454px;
}
#u-galeria-4 {
  left: 772px;
  top: 2228px;
  width: 342px;
  height: 454px;
}
#u-galeria-5 {
  left: 1125px;
  top: 2228px;
  width: 342px;
  height: 454px;
}
#u-galeria-6 {
  left: 1480px;
  top: 2228px;
  width: 342px;
  height: 454px;
}
#s-u-cierre {
  height: 752px;
}
#u-linea-5 {
  left: 0px;
  top: 36.600000000000364px;
  width: 1920px;
  height: 1.8px;
}
#u-estrella-2 {
  left: 1202px;
  top: 13px;
  width: 51px;
  height: 51px;
}
#u-cierre-marco {
  left: -1px;
  top: 71px;
  width: 1920px;
  height: 660px;
  overflow: hidden;
  background: var(--azul);
}
#u-cierre-imagen {
  left: -41px;
  top: -173px;
  width: 2004px;
  height: 1128px;
}
#u-cierre-titulo {
  left: -85.5px;
  width: 2200px;
  text-align: center;
  top: 320.1px;
  font-size: 66.58px;
  line-height: 69px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 500;
}
#u-btn-info {
  left: 809px;
  top: 426px;
  width: 301px;
  height: 55px;
}
.pagina-ubicacion #s-footer {
  height: 103px;
}
.pagina-ubicacion #footer-logo {
  top: 9px;
}
.pagina-ubicacion #footer-copy,
.pagina-ubicacion #footer-legal {
  top: 36.9px;
}
#s-hero .mascara,
#mascara-mancha-1 {
  pointer-events: none;
}
#logo {
  z-index: 6;
  cursor: pointer;
}
/* Ubicación en tablet/móvil */
@media (max-width: 1024px) {
  .seccion.flujo img[id^="u-estrella"] {
    width: 34px !important;
    height: 34px !important;
    position: absolute !important;
    left: 24px !important;
    top: -17px !important;
  }
  .seccion.flujo .linea[id^="u-linea"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #u-linea-2,
  #u-linea-3,
  #u-linea-4 {
    display: none !important;
  }
  .seccion.flujo #u-promo-marco {
    width: 100% !important;
    aspect-ratio: 716/757;
    overflow: hidden;
  }
  .seccion.flujo #u-promo-marco img,
  .seccion.flujo .distancia img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .pagina-ubicacion .seccion.flujo p.texto br {
    display: none;
  }
  #s-u-distancias.flujo {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 6px !important;
  }
  .seccion.flujo .distancia {
    width: 100% !important;
    aspect-ratio: 1;
    overflow: hidden;
  }
  .seccion.flujo .distancia h3.texto {
    position: absolute !important;
    left: 14px !important;
    top: 12px !important;
    font-size: 20px !important;
  }
  .seccion.flujo .distancia .tiempo {
    position: absolute !important;
    left: 14px !important;
    bottom: 10px !important;
    top: auto !important;
    font-size: 16px !important;
  }
  .seccion.flujo .distancia .tiempo span {
    font-size: inherit !important;
  }
  #s-u-mapa.flujo h2#u-mapa-titulo {
    font-size: var(--h2) !important;
    font-weight: 700;
  }
  #s-u-mapa.flujo [id^="u-galeria"] {
    display: block;
  }
}

/* ===== Página Residencial (body.pagina-residencial) ===== */
.pagina-residencial #mascara-mancha-1 {
  height: 100%;
}
.pagina-residencial #hero-fondo {
  left: -33px;
  top: -18px;
  width: 1990px;
  height: 1120px;
}
.pagina-residencial #mancha-1 {
  left: 0;
  top: 793px;
  width: 1185px;
  height: 1252px;
  opacity: 0.89;
}
.pagina-residencial #mancha-2 {
  left: 706px;
  top: 449px;
  width: 515px;
  height: 386px;
  opacity: 0.61;
}
.pagina-residencial #mancha-3 {
  left: 1052px;
  top: 698px;
  width: 339px;
  height: 273px;
  opacity: 0.61;
}
.pagina-residencial #cursor {
  left: 911px;
  top: 924px;
  width: 97px;
  height: 97px;
  cursor: pointer;
  z-index: 6;
}
#r-hero-titulo {
  left: -128px;
  width: 2200px;
  text-align: center;
  top: 395.7px;
  font-size: 85.05px;
  line-height: 104.06px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
}
#r-hero-claim {
  left: -126.5px;
  width: 2200px;
  text-align: center;
  top: 502.7px;
  font-size: 40.02px;
  line-height: 49.86px;
  color: var(--blanco);
  white-space: nowrap;
}
.pagina-residencial .seccion {
  overflow: visible;
}
.desde {
  font-size: 20px;
}
.campo {
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--fuente);
  font-size: 19px;
  color: var(--blanco);
  z-index: 5;
  padding: 0 4px;
}
.campo::placeholder {
  color: #39789f;
  opacity: 1;
}
.check {
  appearance: none;
  -webkit-appearance: none;
  background: var(--blanco);
  border: 0;
  cursor: pointer;
  z-index: 5;
}
.check:checked {
  box-shadow: inset 0 0 0 5px var(--blanco);
  background: var(--azul);
}
#s-r-formulario label {
  cursor: pointer;
}
.pagina-residencial #s-footer {
  height: 103px;
}
.pagina-residencial #footer-logo {
  top: 9px;
}
.pagina-residencial #footer-copy,
.pagina-residencial #footer-legal {
  top: 36.9px;
}
#s-r-promo {
  height: 918px;
}
#r-linea-1 {
  left: 0px;
  top: 60.6px;
  width: 1920px;
  height: 1.8px;
}
#r-estrella-1 {
  left: 1075px;
  top: 37px;
  width: 51px;
  height: 51px;
}
#r-linea-2 {
  left: 74.1px;
  top: 61px;
  width: 1.8px;
  height: 850px;
}
#r-linea-3 {
  left: 791.6px;
  top: 61px;
  width: 1.8px;
  height: 850px;
}
#r-promo-marco {
  left: 76px;
  top: 87px;
  width: 718px;
  height: 800px;
  overflow: hidden;
}
#r-promo-imagen {
  left: -716px;
  top: -5px;
  width: 1452px;
  height: 817px;
}
#r-promo-titulo {
  left: 922px;
  top: 214px;
  font-size: 53px;
  line-height: 65px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#r-promo-texto {
  left: 918px;
  top: 420px;
  width: 850px;
  font-size: 29px;
  line-height: 45px;
  color: var(--negro);
  white-space: normal;
  font-weight: 400;
}
#r-linea-4 {
  left: 0px;
  top: 909.6px;
  width: 1920px;
  height: 1.8px;
}
#s-r-galeria {
  height: 975px;
}
#s-r-bloques {
  height: 2318px;
}
#s-r-bloques {
  background: #f2f2f2;
}
#r-proyecto-marco {
  left: 926px;
  top: 164px;
  width: 768px;
  height: 777px;
  overflow: hidden;
}
#r-proyecto-imagen {
  left: -169px;
  top: -176px;
  width: 1709px;
  height: 961px;
}
#r-proyecto-titulo {
  left: 233px;
  top: 300px;
  font-size: 55px;
  line-height: 69.92px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#r-proyecto-texto {
  left: 231px;
  top: 476.3px;
  font-size: 29.7px;
  line-height: 44.1px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-torre-titulo {
  left: -142px;
  width: 2200px;
  text-align: center;
  top: 694.1px;
  font-size: 297.54px;
  line-height: 364.04px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 6;
  pointer-events: none;
}
#r-gimnasio-marco {
  left: 182px;
  top: 849px;
  width: 874px;
  height: 655px;
  overflow: hidden;
  z-index: 4;
}
#r-gimnasio-imagen {
  left: -189px;
  top: -131px;
  width: 1120px;
  height: 862px;
}
#r-referencia-titulo {
  left: 1177px;
  top: 1043.8px;
  font-size: 55px;
  line-height: 61px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#r-referencia-texto {
  left: 1172px;
  top: 1258.2px;
  font-size: 29px;
  line-height: 44px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-piscina-marco {
  left: 905px;
  top: 1480px;
  width: 772px;
  height: 780px;
  overflow: hidden;
}
#r-piscina-imagen {
  left: -114px;
  top: -20px;
  width: 1430px;
  height: 804px;
}
#r-vivir-titulo {
  left: 223px;
  top: 1601.8px;
  font-size: 55px;
  line-height: 69px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 500;
}
#r-vivir-texto {
  left: 230px;
  top: 1758.2px;
  width: 620px;
  font-size: 29px;
  line-height: 44px;
  color: var(--negro);
  white-space: normal;
  font-weight: 400;
}
#s-r-tipologias {
  height: 1172px;
}
#r-tipologias-marco {
  left: 0px;
  top: 23px;
  width: 1920px;
  height: 859px;
  overflow: hidden;
}
#r-tipologias-imagen {
  left: -20px;
  top: -182px;
  width: 1960px;
  height: 1102px;
}
#r-linea-5 {
  left: 0px;
  top: -8.4px;
  width: 1920px;
  height: 1.8px;
}
#r-estrella-3 {
  left: 1679px;
  top: -33px;
  width: 51px;
  height: 51px;
}
#r-salon-marco {
  left: 0px;
  top: 114px;
  width: 1920px;
  height: 859px;
  overflow: hidden;
}
#r-salon-imagen {
  left: -20px;
  top: -121px;
  width: 1960px;
  height: 1102px;
}
#r-puntos {
  left: 918px;
  top: 930px;
  width: 83px;
  height: 14px;
}
#r-punto-1 {
  left: 0px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-punto-2 {
  left: 17px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-punto-3 {
  left: 35px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-punto-4 {
  left: 52px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-punto-5 {
  left: 69px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-linea-6 {
  left: 0px;
  top: 899.6px;
  width: 1920px;
  height: 1.8px;
}
#r-separador-1 {
  left: 150.1px;
  top: 954px;
  width: 1.8px;
  height: 121px;
  background: #5283a2;
}
#r-separador-2 {
  left: 697.1px;
  top: 954px;
  width: 1.8px;
  height: 121px;
  background: #5283a2;
}
#r-separador-3 {
  left: 1285.1px;
  top: 954px;
  width: 1.8px;
  height: 121px;
  background: #5283a2;
}
#r-separador-4 {
  left: 1704.1px;
  top: 954px;
  width: 1.8px;
  height: 121px;
  background: #5283a2;
}
#r-tipo-1-titulo {
  left: 218px;
  top: 965px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-tipo-1-precio {
  left: 219px;
  top: 1014px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: #7e7e7e;
  white-space: nowrap;
  font-weight: 400;
}
#r-tipo-2-titulo {
  left: 799px;
  top: 965px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-tipo-2-precio {
  left: 800px;
  top: 1014px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: #7e7e7e;
  white-space: nowrap;
  font-weight: 400;
}
#r-tipo-3-titulo {
  left: 1402px;
  top: 965px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-tipo-3-precio {
  left: 1404px;
  top: 1014px;
  font-size: 31.31px;
  line-height: 37.95px;
  color: #7e7e7e;
  white-space: nowrap;
  font-weight: 400;
}
#r-linea-7 {
  left: 0px;
  top: 1129.6px;
  width: 1920px;
  height: 1.8px;
}
#r-estrella-4 {
  left: 564px;
  top: 1104px;
  width: 51px;
  height: 51px;
}
#s-r-servicios {
  height: 897px;
}
#r-jardin-marco {
  left: 136px;
  top: 24px;
  width: 728px;
  height: 816px;
  overflow: hidden;
}
#r-jardin-imagen {
  left: -25px;
  top: -17px;
  width: 1139px;
  height: 875px;
}
#r-servicios-titulo {
  left: 183px;
  top: 432.1px;
  font-size: 58.98px;
  line-height: 73.09px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 700;
}
#r-servicios-lista {
  left: 0;
  top: 0;
  width: 1920px;
  height: 100%;
  list-style: none;
}
#r-servicio-1 {
  left: 979px;
  top: 79.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-2 {
  left: 979px;
  top: 176.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-3 {
  left: 979px;
  top: 272.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-4 {
  left: 979px;
  top: 369.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-5 {
  left: 979px;
  top: 461.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-6 {
  left: 979px;
  top: 558.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-7 {
  left: 979px;
  top: 654.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-8 {
  left: 979px;
  top: 751.9px;
  font-size: 28px;
  line-height: 33.6px;
  color: var(--negro);
  white-space: nowrap;
  font-weight: 400;
}
#r-servicio-2-texto {
  left: 980px;
  top: 227.7px;
  font-size: 19px;
  line-height: 24px;
  color: #6c6c6c;
  white-space: nowrap;
  font-weight: 400;
  font-style: italic;
}
#r-linea-servicio-1 {
  left: 975px;
  top: 120.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-2 {
  left: 975px;
  top: 217.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-3 {
  left: 975px;
  top: 313.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-4 {
  left: 975px;
  top: 410.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-5 {
  left: 975px;
  top: 502.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-6 {
  left: 975px;
  top: 599.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-7 {
  left: 975px;
  top: 695.6px;
  width: 945px;
  height: 1.8px;
}
#r-linea-servicio-8 {
  left: 975px;
  top: 792.6px;
  width: 945px;
  height: 1.8px;
}
#s-r-formulario {
  height: 833px;
}
#s-r-formulario {
  background: var(--azul);
}
#r-form-titulo {
  left: -140px;
  width: 2200px;
  text-align: center;
  top: 37.5px;
  font-size: 73px;
  line-height: 88px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 600;
}
#r-form-subtitulo {
  left: -139.5px;
  width: 2200px;
  text-align: center;
  top: 143.6px;
  font-size: 36px;
  line-height: 44px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 400;
}
#r-formulario {
  left: 0;
  top: 0;
  width: 1920px;
  height: 100%;
}
#r-campo-1 {
  left: 114px;
  top: 236px;
  width: 922px;
  height: 38.5px;
}
#r-linea-campo-1 {
  left: 114px;
  top: 274.6px;
  width: 922px;
  height: 1.8px;
  background: #5b6a79;
}
#r-campo-2 {
  left: 1085px;
  top: 237px;
  width: 704px;
  height: 37.5px;
}
#r-linea-campo-2 {
  left: 1085px;
  top: 274.6px;
  width: 704px;
  height: 1.8px;
  background: #5b6a79;
}
#r-campo-3 {
  left: 114px;
  top: 314px;
  width: 922px;
  height: 51.5px;
}
#r-linea-campo-3 {
  left: 114px;
  top: 365.6px;
  width: 922px;
  height: 1.8px;
  background: #5b6a79;
}
#r-campo-4 {
  left: 1085px;
  top: 315px;
  width: 704px;
  height: 51.5px;
}
#r-linea-campo-4 {
  left: 1085px;
  top: 366.6px;
  width: 704px;
  height: 1.8px;
  background: #5b6a79;
}
#r-campo-5 {
  left: 114px;
  top: 392px;
  width: 1675px;
  height: 46.5px;
}
#r-linea-campo-5 {
  left: 114px;
  top: 438.6px;
  width: 1675px;
  height: 1.8px;
  background: #5b6a79;
}
#r-campo-6 {
  left: 114px;
  top: 470px;
  width: 1675px;
  height: 39.5px;
}
#r-linea-campo-6 {
  left: 114px;
  top: 509.6px;
  width: 1675px;
  height: 1.8px;
  background: #5b6a79;
}
#r-form-legal {
  left: 115px;
  top: 538.8px;
  font-size: 18px;
  line-height: 29px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 400;
}
#r-check-1 {
  left: 118px;
  top: 613px;
  width: 23px;
  height: 23px;
}
#r-check-1-texto {
  left: 150px;
  top: 605.5px;
  font-size: 18px;
  line-height: 38px;
  color: var(--blanco);
  white-space: nowrap;
}
#r-check-2 {
  left: 118px;
  top: 651px;
  width: 23px;
  height: 23px;
}
#r-check-2-texto {
  left: 150px;
  top: 643.5px;
  font-size: 18px;
  line-height: 38px;
  color: var(--blanco);
  white-space: nowrap;
}
#r-check-3 {
  left: 118px;
  top: 691px;
  width: 23px;
  height: 23px;
}
#r-check-3-texto {
  left: 150px;
  top: 683.5px;
  font-size: 18px;
  line-height: 38px;
  color: var(--blanco);
  white-space: nowrap;
}
#r-btn-enviar {
  left: 840px;
  top: 749px;
  width: 224px;
  height: 53px;
  border-radius: 27px;
  font-size: 30px;
  font-weight: 500;
  color: var(--azul);
  border: 0;
  font-family: var(--fuente);
}
/* Residencial en tablet/móvil */
@media (max-width: 1024px) {
  .seccion.flujo img[id^="r-estrella"] {
    width: 34px !important;
    height: 34px !important;
    position: absolute !important;
    left: 24px !important;
    top: -17px !important;
  }
  .seccion.flujo .linea[id^="r-linea"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #r-linea-2,
  #r-linea-3,
  #r-linea-4,
  #r-linea-6,
  #r-linea-7,
  #r-estrella-2,
  #r-estrella-4,
  [id^="r-separador"],
  [id^="r-linea-campo"],
  [id^="r-linea-servicio"] {
    display: none !important;
  }
  .seccion.flujo .marco {
    width: 100% !important;
    aspect-ratio: 4/3;
    overflow: hidden;
  }
  .seccion.flujo .marco img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .pagina-residencial .seccion.flujo .texto br {
    display: none;
  }
  .pagina-residencial .seccion.flujo #r-servicios-titulo br {
    display: inline;
  }
  #r-torre-titulo {
    font-size: 64px !important;
    line-height: 1 !important;
    color: var(--azul) !important;
    text-align: center !important;
    order: 3;
  }
  #r-proyecto-titulo {
    order: 1;
  }
  #r-proyecto-texto {
    order: 2;
  }
  #r-proyecto-marco {
    order: 2;
  }
  #r-gimnasio-marco {
    order: 4;
  }
  #r-referencia-titulo {
    order: 5;
  }
  #r-referencia-texto {
    order: 6;
  }
  #r-vivir-titulo {
    order: 7;
  }
  #r-vivir-texto {
    order: 8;
  }
  #r-piscina-marco {
    order: 9;
  }
  #s-r-tipologias.flujo {
    padding: 0 0 32px !important;
  }
  #s-r-galeria.flujo #r-salon-marco,
  #s-r-tipologias.flujo #r-tipologias-marco {
    aspect-ratio: 16/9;
  }
  #s-r-galeria.flujo {
    padding: 32px 0 !important;
  }
  #s-r-tipologias.flujo #r-tipologias-imagen {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  #r-puntos {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translate(-50%, 0);
    margin-top: calc(56.25vw + 4px);
  }
  #r-puntos {
    width: 83px !important;
    height: 14px !important;
  }
  #r-puntos .punto {
    position: absolute !important;
    top: 0 !important;
    width: 12px !important;
    height: 12px !important;
  }
  #r-punto-1 {
    left: 0 !important;
  }
  #r-punto-2 {
    left: 17px !important;
  }
  #r-punto-3 {
    left: 35px !important;
  }
  #r-punto-4 {
    left: 52px !important;
  }
  #r-punto-5 {
    left: 69px !important;
  }
  #s-r-tipologias.flujo .texto {
    padding: 0 24px;
  }
  #s-r-tipologias.flujo h3.texto {
    font-size: var(--h3) !important;
    margin-top: 12px;
  }
  #s-r-tipologias.flujo p.texto {
    font-size: var(--p) !important;
  }
  .desde {
    font-size: 14px !important;
  }
  #s-r-servicios.flujo #r-jardin-marco {
    aspect-ratio: 1;
  }
  #s-r-servicios.flujo #r-servicios-titulo {
    position: absolute !important;
    left: 44px !important;
    top: auto !important;
    bottom: calc(100% - 48px - (100vw - 48px) + 24px);
    font-size: var(--h2) !important;
    color: var(--blanco) !important;
  }
  #r-servicios-lista {
    display: contents !important;
  }
  #r-servicio-1,
  #r-servicio-2 {
    order: 1;
  }
  #r-servicio-2-texto {
    order: 2 !important;
    margin-top: -10px;
  }
  #r-servicios-lista .servicio:nth-child(n + 3) {
    order: 3;
  }
  #r-servicios-lista .servicio {
    border-bottom: 1.8px solid var(--azul);
    padding: 14px 0 6px;
    font-size: 20px !important;
  }

  #r-servicio-2-texto {
    font-size: 14px !important;
  }
  #r-formulario {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100% !important;
    height: auto !important;
  }
  #s-r-formulario.flujo h2.texto,
  #s-r-formulario.flujo #r-form-subtitulo {
    text-align: center !important;
  }
  .seccion.flujo .campo {
    width: 100% !important;
    height: 44px !important;
    border-bottom: 1.8px solid #5b6a79;
  }
  .seccion.flujo .check {
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
    margin-bottom: -34px;
    flex: none;
    z-index: 6;
  }
  #s-r-formulario.flujo label.texto {
    padding-left: 32px;
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: 22px;
  }
  #s-r-formulario.flujo #r-form-legal {
    font-size: 13px !important;
  }
  .seccion.flujo #r-btn-enviar {
    align-self: center;
  }
}

/* ===== Página Contacto (PSD 1920px, propuesta páginas 37–39) ===== */
:root {
  --gris-recordatorio: #b7b7b7;
  --linea-formulario: #5b6a79;
  --texto-campo: #39789f;
}
.pagina-contacto #mascara-mancha-1 {
  height: 100%;
}
.pagina-contacto #mancha-1 {
  left: -501px;
  top: 471px;
  width: 1185px;
  height: 1252px;
  opacity: 0.89;
}
.pagina-contacto #mancha-2 {
  left: 721px;
  top: 534px;
  width: 515px;
  height: 386px;
  opacity: 0.61;
}
.pagina-contacto #mancha-3 {
  left: 1130px;
  top: 823px;
  width: 339px;
  height: 273px;
  opacity: 0.61;
}
#c-hero-claim {
  left: 0;
  top: 493px;
  width: 1920px;
  text-align: center;
  font-size: 50px;
  line-height: 60px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
}
#s-c-recordatorio {
  height: 794px;
}
#c-menu-etiqueta {
  left: 142px;
  top: 127px;
  font-size: 33px;
  line-height: 45px;
  font-weight: 500;
  color: var(--gris-recordatorio);
}
#c-menu-recordatorio {
  display: contents;
}
#c-menu-recordatorio a {
  left: 142px;
  font-size: 83px;
  line-height: 105px;
  font-weight: 500;
  color: var(--negro);
  text-decoration: none;
}
#c-menu-hilara {
  top: 184px;
}
#c-menu-torre {
  top: 289px;
}
#c-menu-ubicacion {
  top: 394px;
}
#c-linea-menu-1 {
  left: 0;
  top: 301.6px;
  width: 1920px;
  height: 1.8px;
}
#c-linea-menu-2 {
  left: 0;
  top: 396.6px;
  width: 1920px;
  height: 1.8px;
}
#c-linea-menu-3 {
  left: 0;
  top: 515.6px;
  width: 1920px;
  height: 1.8px;
}
#c-estrella {
  left: 962px;
  top: 490px;
  width: 51px;
  height: 51px;
  z-index: 4;
}
#s-c-formulario {
  height: 878px;
  background: var(--azul);
}
#c-form-titulo {
  left: 0;
  top: 40.5px;
  width: 1920px;
  text-align: center;
  font-size: 73px;
  line-height: 88px;
  font-weight: 600;
  color: var(--blanco);
  white-space: nowrap;
}
#c-form-subtitulo {
  left: 0;
  top: 137.6px;
  width: 1920px;
  text-align: center;
  font-size: 36px;
  line-height: 45px;
  font-weight: 400;
  color: var(--blanco);
}
.pagina-contacto .campo::placeholder {
  color: var(--texto-campo);
}
.pagina-contacto label {
  cursor: pointer;
}
.pagina-contacto #s-footer {
  height: 103px;
}
.pagina-contacto #footer-logo {
  top: 9px;
}
.pagina-contacto #footer-copy,
.pagina-contacto #footer-legal {
  top: 36.9px;
}
#c-formulario {
  left: 0;
  top: 0;
  width: 1920px;
  height: 100%;
}
#c-campo-1 {
  left: 114px;
  top: 266px;
  width: 922px;
  height: 38.5px;
}
#c-linea-campo-1 {
  left: 114px;
  top: 305.6px;
  width: 922px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-campo-2 {
  left: 1085px;
  top: 267px;
  width: 704px;
  height: 37.5px;
}
#c-linea-campo-2 {
  left: 1085px;
  top: 305.6px;
  width: 704px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-campo-3 {
  left: 114px;
  top: 344px;
  width: 922px;
  height: 51.5px;
}
#c-linea-campo-3 {
  left: 114px;
  top: 396.6px;
  width: 922px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-campo-4 {
  left: 1085px;
  top: 345px;
  width: 704px;
  height: 51.5px;
}
#c-linea-campo-4 {
  left: 1085px;
  top: 397.6px;
  width: 704px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-campo-5 {
  left: 114px;
  top: 422px;
  width: 1675px;
  height: 46.5px;
}
#c-linea-campo-5 {
  left: 114px;
  top: 469.6px;
  width: 1675px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-campo-6 {
  left: 114px;
  top: 500px;
  width: 1675px;
  height: 39.5px;
}
#c-linea-campo-6 {
  left: 114px;
  top: 540.6px;
  width: 1675px;
  height: 1.8px;
  background: var(--linea-formulario);
}
#c-form-legal {
  left: 115px;
  top: 569.8px;
  font-size: 18px;
  line-height: 29px;
  color: var(--blanco);
  white-space: nowrap;
  font-weight: 400;
}
#c-check-1 {
  left: 118px;
  top: 643px;
  width: 23px;
  height: 23px;
}
#c-check-1-texto {
  left: 150px;
  top: 635.5px;
  font-size: 18px;
  line-height: 38px;
  color: var(--blanco);
  white-space: nowrap;
}
#c-check-2 {
  left: 118px;
  top: 682px;
  width: 23px;
  height: 23px;
}
#c-check-2-texto {
  left: 150px;
  top: 674.5px;
  font-size: 18px;
  line-height: 38px;
  color: var(--blanco);
  white-space: nowrap;
}
#c-btn-enviar {
  left: 840px;
  top: 790px;
  width: 224px;
  height: 53px;
  border-radius: 27px;
  font-size: 30px;
  font-weight: 500;
  color: var(--azul);
  border: 0;
  font-family: var(--fuente);
}

@media (max-width: 1024px) {
  #s-c-recordatorio.flujo {
    gap: 0 !important;
    padding: 48px 24px 80px !important;
  }
  #c-menu-recordatorio {
    display: contents;
  }
  #s-c-recordatorio.flujo #c-menu-etiqueta {
    font-size: 18px !important;
    margin-bottom: 12px;
  }
  #s-c-recordatorio.flujo #c-menu-recordatorio a {
    font-size: 32px !important;
    line-height: 1.4 !important;
    padding: 12px 0;
  }
  #s-c-recordatorio.flujo .linea {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  #s-c-recordatorio.flujo #c-linea-menu-1 {
    top: 153px !important;
  }
  #s-c-recordatorio.flujo #c-linea-menu-2 {
    top: 222px !important;
  }
  #s-c-recordatorio.flujo #c-linea-menu-3 {
    top: 291px !important;
  }
  #s-c-recordatorio.flujo #c-estrella {
    position: absolute !important;
    left: 50% !important;
    top: 274px !important;
    width: 34px !important;
    height: 34px !important;
    transform: translateX(-50%);
  }
  #c-formulario {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100% !important;
    height: auto !important;
  }
  #s-c-formulario.flujo h2.texto,
  #s-c-formulario.flujo #c-form-subtitulo {
    text-align: center !important;
  }
  #s-c-formulario.flujo .texto br {
    display: none;
  }
  #s-c-formulario.flujo [id^="c-linea-campo"] {
    display: none !important;
  }
  #s-c-formulario.flujo .campo {
    border-bottom: 1.8px solid var(--linea-formulario);
  }
  #s-c-formulario.flujo label.texto {
    padding-left: 32px;
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: 22px;
  }
  #s-c-formulario.flujo #c-form-legal {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  #s-c-formulario.flujo #c-btn-enviar {
    align-self: center;
  }
}

/* ===== Animaciones Home (cada pieza por su id; solo propiedades translate/scale/filter/clip-path) ===== */
@keyframes h-kenburns {
  from {
    scale: 1;
  }
  to {
    scale: 1.08;
  }
}
@keyframes h-flotar-a {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translate(40px, -30px);
  }
}
@keyframes h-flotar-b {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translate(-30px, 25px);
  }
}
@keyframes h-flotar-c {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translate(25px, 20px);
  }
}
@keyframes h-entrar {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pagina-home #hero-fondo {
  animation: h-kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.pagina-home #mancha-1 {
  animation: h-flotar-a 14s ease-in-out infinite;
}
.pagina-home #mancha-2 {
  animation: h-flotar-b 11s ease-in-out infinite;
}
.pagina-home #mancha-3 {
  animation: h-flotar-c 9s ease-in-out infinite;
}
.pagina-home #hero-claim {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.pagina-home .anim {
  transition:
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.4s ease,
    clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.pagina-home .anim-subir {
  opacity: 0;
  translate: 0 50px;
}
.pagina-home .anim-cifra {
  opacity: 0;
  scale: 0.85;
}
.pagina-home .anim-nitido {
  filter: blur(14px);
  opacity: 0.4;
}
.pagina-home .anim-mascara {
  clip-path: inset(0 100% 0 0);
}
.pagina-home .anim.visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
}
.pagina-home .anim-foto.visible {
  translate: 0 var(--parallax, 0px);
  transition: clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .pagina-home * {
    animation: none !important;
    transition: none !important;
  }
  .pagina-home .anim {
    opacity: 1 !important;
    translate: none !important;
    scale: 1 !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* ===== Proyecto: animaciones (mismas que la Home) ===== */
.pagina-proyecto #hero-fondo {
  animation: h-kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.pagina-proyecto #mancha-1 {
  animation: h-flotar-a 14s ease-in-out infinite;
}
.pagina-proyecto #mancha-2 {
  animation: h-flotar-b 11s ease-in-out infinite;
}
.pagina-proyecto #mancha-3 {
  animation: h-flotar-c 9s ease-in-out infinite;
}
.pagina-proyecto #p-hero-titulo {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.pagina-proyecto #p-hero-claim {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}
.pagina-proyecto #cursor {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.65s both;
}
.pagina-proyecto .anim {
  transition:
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.4s ease,
    clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.pagina-proyecto .anim-subir {
  opacity: 0;
  translate: 0 50px;
}
.pagina-proyecto .anim-cifra {
  opacity: 0;
  scale: 0.85;
}
.pagina-proyecto .anim-nitido {
  filter: blur(14px);
  opacity: 0.4;
}
.pagina-proyecto .anim-mascara {
  clip-path: inset(0 100% 0 0);
}
.pagina-proyecto .anim.visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
}
.pagina-proyecto .anim-foto.visible {
  translate: 0 var(--parallax, 0px);
  transition: clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
/* Menú "Todo lo que necesitas a tu alcance": cada opción muestra su imagen */
#p-zona-lista {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.zona-opcion {
  all: unset;
  cursor: pointer;
  color: #000;
  font-family: inherit;
  font-weight: 400;
}
.zona-opcion.tam-a {
  font-size: 28px;
  line-height: 45px;
}
.zona-opcion.tam-b {
  font-size: 30px;
  line-height: 55px;
}
.zona-opcion.activa {
  font-size: 39px;
  line-height: 65px;
  font-weight: 500;
  text-decoration: underline;
}
.zona-opcion:focus-visible {
  outline: 2px solid #1e4b9c;
  outline-offset: 4px;
}
.zona-mapa {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.zona-mapa.activa {
  opacity: 1;
}
/* Módulos 01-07: cortina diagonal con enfoque */
.marco-paralaje {
  overflow: hidden;
}
.foto-paralaje {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anim-cortina .foto-paralaje {
  clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%);
  scale: 1.1;
  filter: blur(8px);
  transition:
    clip-path 1.2s cubic-bezier(0.7, 0, 0.2, 1),
    scale 1.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.2s ease;
}
.anim-cortina.desde-dcha .foto-paralaje {
  clip-path: polygon(130% 0, 130% 0, 100% 100%, 100% 100%);
}
.anim-cortina.visible .foto-paralaje,
.anim-cortina.desde-dcha.visible .foto-paralaje {
  clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%);
  scale: 1;
  filter: none;
}
.anim-cortina::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -12%;
  width: 6%;
  background: #1e4b9c;
  transform: skewX(-17deg);
  opacity: 0;
  pointer-events: none;
}
.anim-cortina.desde-dcha::after {
  left: auto;
  right: -12%;
  transform: skewX(17deg);
}
.anim-cortina.visible::after {
  animation: h-banda 1.2s cubic-bezier(0.7, 0, 0.2, 1) both;
}
.anim-cortina.desde-dcha.visible::after {
  animation-name: h-banda-dcha;
}
@keyframes h-banda {
  0% {
    opacity: 1;
    left: -12%;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 112%;
  }
}
@keyframes h-banda-dcha {
  0% {
    opacity: 1;
    right: -12%;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    right: 112%;
  }
}
@media (max-width: 1024px) {
  .seccion.flujo .zona-mapa:not(.activa) {
    display: none !important;
  }
  .seccion.flujo .zona-opcion {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
  .seccion.flujo .zona-opcion.activa {
    font-size: 20px !important;
  }
  .seccion.flujo .marco-paralaje {
    width: 100% !important;
    aspect-ratio: var(--ar);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pagina-proyecto * {
    animation: none !important;
    transition: none !important;
  }
  .pagina-proyecto .anim {
    opacity: 1 !important;
    translate: none !important;
    scale: 1 !important;
    filter: none !important;
    clip-path: none !important;
  }
  .anim-cortina .foto-paralaje {
    clip-path: none !important;
    scale: 1 !important;
    filter: none !important;
  }
  .anim-cortina::after {
    display: none;
  }
}
.pagina-proyecto .anim-subir {
  clip-path: none !important;
}

/* ===== Ubicación: animaciones ===== */
#u-distancia-2-tiempo,
#u-distancia-3-tiempo,
#u-distancia-4-tiempo {
  left: 31px;
  top: 420.8px;
  font-size: 30.54px;
  line-height: 45.85px;
  color: var(--blanco);
  white-space: nowrap;
}
.pagina-ubicacion .distancia > img {
  transition:
    opacity 0.6s ease,
    scale 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pagina-ubicacion .distancia .tiempo {
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .pagina-ubicacion .distancia .tiempo {
    opacity: 0;
    transform: translateY(30px);
  }
  .pagina-ubicacion .distancia:hover > img {
    opacity: 0.3 !important;
    scale: 1.05;
  }
  .pagina-ubicacion .distancia:hover .tiempo {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
  }
}
@media (hover: none) {
  .pagina-ubicacion .distancia > img {
    opacity: 0.55 !important;
  }
}
.pagina-ubicacion .seccion.flujo .distancia .tiempo {
  opacity: 1 !important;
  transform: none !important;
}
.pagina-ubicacion .seccion.flujo .distancia > img {
  opacity: 0.55 !important;
}
.pagina-ubicacion #hero-fondo {
  animation: h-kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.pagina-ubicacion #mancha-1 {
  animation: h-flotar-a 14s ease-in-out infinite;
}
.pagina-ubicacion #mancha-2 {
  animation: h-flotar-b 11s ease-in-out infinite;
}
.pagina-ubicacion #mancha-3 {
  animation: h-flotar-c 9s ease-in-out infinite;
}
.pagina-ubicacion #u-hero-titulo {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.pagina-ubicacion #u-hero-claim {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}
.pagina-ubicacion #cursor {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.65s both;
  cursor: pointer;
  z-index: 6;
}
.pagina-ubicacion .anim {
  transition:
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.4s ease,
    clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.pagina-ubicacion .anim-subir {
  opacity: 0;
  translate: 0 50px;
}
.pagina-ubicacion .anim-cifra {
  opacity: 0;
  translate: 0 60px;
}
.pagina-ubicacion .anim-nitido {
  filter: blur(14px);
  opacity: 0.4;
}
.pagina-ubicacion .anim-mascara {
  clip-path: inset(0 100% 0 0);
}
.pagina-ubicacion .anim.visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
}
.pagina-ubicacion .anim-foto.visible {
  translate: 0 var(--parallax, 0px);
  transition: clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .pagina-ubicacion * {
    animation: none !important;
    transition: none !important;
  }
  .pagina-ubicacion .anim {
    opacity: 1 !important;
    translate: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* ===== Residencial: slider, menú de servicios y animaciones ===== */
.pagina-residencial .r-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.pagina-residencial .r-slide.activa {
  opacity: 1;
}
.pagina-residencial #r-salon-imagen-2,
.pagina-residencial #r-salon-imagen-3,
.pagina-residencial #r-salon-imagen-4,
.pagina-residencial #r-salon-imagen-5 {
  left: -20px;
  top: -121px;
  width: 1960px;
  height: 1102px;
}
.pagina-residencial .punto {
  border: 2px solid var(--azul);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box;
}
.pagina-residencial .punto.activo,
.pagina-residencial .punto:hover {
  background: var(--azul);
}
.pagina-residencial .r-jardin-foto {
  left: -25px;
  top: -17px;
  width: 1139px;
  height: 875px;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.pagina-residencial .r-jardin-foto.activa {
  opacity: 1;
}
.pagina-residencial #r-servicios-lista .servicio {
  background: none;
  text-align: left;
  font-family: var(--fuente);
  cursor: pointer;
  transition:
    font-size 0.35s ease,
    translate 0.35s ease,
    color 0.3s ease;
}
.pagina-residencial #r-servicios-lista .servicio:hover {
  color: var(--azul);
}
.pagina-residencial #r-servicios-lista .servicio.activa {
  font-size: 42px;
  line-height: 50.4px;
  font-weight: 700;
  translate: 0 -12.3px;
  color: var(--negro);
}
.pagina-residencial #r-servicio-2-texto {
  transition:
    opacity 0.4s ease,
    top 0.35s ease;
}
.pagina-residencial #r-servicio-2-texto.cambiando {
  opacity: 0;
}
@media (min-width: 1025px) {
  .pagina-residencial #r-servicios-lista .servicio {
    border: 0;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .pagina-residencial #r-servicios-lista .servicio {
    border: 0;
    border-bottom: 1.8px solid var(--azul);
    width: 100%;
  }
  .pagina-residencial #r-servicios-lista .servicio.activa {
    font-size: 26px !important;
    translate: none;
  }
}
.pagina-residencial #hero-fondo {
  animation: h-kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.pagina-residencial #mancha-1 {
  animation: h-flotar-a 14s ease-in-out infinite;
}
.pagina-residencial #mancha-2 {
  animation: h-flotar-b 11s ease-in-out infinite;
}
.pagina-residencial #mancha-3 {
  animation: h-flotar-c 9s ease-in-out infinite;
}
.pagina-residencial #r-hero-titulo {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.pagina-residencial #r-hero-claim {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}
.pagina-residencial #cursor {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.65s both;
}
.pagina-residencial .anim {
  transition:
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.4s ease,
    clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.pagina-residencial .anim-subir {
  opacity: 0;
  translate: 0 50px;
}
.pagina-residencial .anim-cifra {
  opacity: 0;
  translate: 0 40px;
}
.pagina-residencial .anim-mascara {
  clip-path: inset(0 100% 0 0);
}
.pagina-residencial .anim.visible {
  opacity: 1;
  translate: 0 0;
  filter: none;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .pagina-residencial * {
    animation: none !important;
    transition: none !important;
  }
  .pagina-residencial .anim {
    opacity: 1 !important;
    translate: none !important;
    clip-path: none !important;
  }
}

/* ===== Contacto: mismas animaciones compartidas ===== */
.pagina-contacto #hero-fondo {
  animation: h-kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.pagina-contacto #mancha-1 {
  animation: h-flotar-a 14s ease-in-out infinite;
}
.pagina-contacto #mancha-2 {
  animation: h-flotar-b 11s ease-in-out infinite;
}
.pagina-contacto #mancha-3 {
  animation: h-flotar-c 9s ease-in-out infinite;
}
.pagina-contacto #c-hero-claim {
  animation: h-entrar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}
.pagina-contacto .anim {
  transition:
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pagina-contacto .anim-subir {
  opacity: 0;
  translate: 0 50px;
}
.pagina-contacto .anim-cifra {
  opacity: 0;
  translate: 0 40px;
}
.pagina-contacto .anim.visible {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-contacto * {
    animation: none !important;
    transition: none !important;
  }
  .pagina-contacto .anim {
    opacity: 1 !important;
    translate: none !important;
  }
}

/* ===== Menú fijo (sticky) al hacer scroll — común a todas las páginas ===== */
#barra-fija {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 84px;
  background: var(--blanco);
  box-shadow: 0 4px 18px rgba(16, 43, 78, 0.08);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  font-family: "Poppins", sans-serif;
}
body.con-barra #barra-fija {
  opacity: 1;
  visibility: visible;
}
body.con-barra #logo,
body.con-barra #menu {
  opacity: 0;
}
#barra-logo {
  display: block;
  height: 40px;
  width: auto;
}
#barra-menu {
  display: flex;
  gap: 42px;
}
#barra-menu a {
  color: var(--azul);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  transition: opacity 0.2s;
}
#barra-menu a:hover {
  opacity: 0.7;
}
#barra-menu a.activo {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.menu-movil {
  z-index: 1100;
}
#barra-fija {
  pointer-events: none;
}
#barra-fija a {
  pointer-events: auto;
}
@media (max-width: 575px) {
  #barra-logo {
    height: 28px;
  }
}
@media (max-width: 1024px) {
  #barra-fija {
    height: 72px;
    padding: 0 20px;
  }
  #barra-logo {
    height: 36px;
  }
  #barra-menu {
    display: none;
  }
  body.con-barra .hamburguesa {
    position: fixed;
    top: 14px;
    z-index: 1005;
  }
  #s-hero {
    z-index: auto;
  }
}

/* Estrellas: siempre en primer plano (por encima de fotos, textos y manchas) y sin bloquear clics.
   Su tamaño real fijo (51px) lo aplica js/main.js. Las secciones con estrella quedan por encima
   de las vecinas, pero por debajo de la cabecera (menú móvil y barra fija). */
img[id*="estrella"] {
  z-index: 50 !important;
  pointer-events: none;
}
.seccion:has(> img[id*="estrella"]) {
  z-index: 9;
}
/* =====================================================================
   RESPONSIVE (≤1024px) SIN ESCALAS: cada elemento tiene su tamaño real en px.
   Tipografía común a todas las páginas (misma etiqueta y zona = mismo tamaño):
                       Tablet (768–1024)   Móvil (≤767)
     h1 cabecera            44px               32px
     p cabecera             18px               15px
     h2 titular módulo      28px               23px
     h3 / subtítulos        21px               18px
     p texto                17px               15px
     botones                16px               15px
     footer                 14px / 13px        14px / 13px
   Solo las capas gráficas de la cabecera (foto y manchas) se ajustan al ancho.
   ===================================================================== */
@media (max-width: 1024px) {
  :root {
    --h1: 44px;
    --p-hero: 18px;
    --h2: 28px;
    --h3: 21px;
    --p: 17px;
    --btn: 16px;
  }
  /* --- Cabecera: textos, logo y flecha en px reales --- */
  #s-hero .lienzo > .texto,
  #s-hero .lienzo > #cursor,
  #logo {
    translate: none;
  }
  #logo {
    left: 20px !important;
    top: 18px !important;
    width: auto !important;
    height: 44px !important;
  }
  #p-hero-titulo,
  #u-hero-titulo,
  #r-hero-titulo,
  #c-hero-claim,
  #hero-titulo {
    left: 20px !important;
    right: 20px;
    width: auto !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: var(--h1) !important;
    line-height: 1.1 !important;
    top: auto !important;
    bottom: 50% !important;
    padding: 0 !important;
  }
  #c-hero-claim {
    font-weight: 400;
  }
  #p-hero-claim,
  #u-hero-claim,
  #r-hero-claim,
  #hero-claim {
    left: 20px !important;
    right: 20px;
    width: auto !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: var(--p-hero) !important;
    line-height: 1.4 !important;
    top: calc(50% + 16px) !important;
    bottom: auto !important;
    padding: 0 !important;
  }
  /* Home: PARQUE HILARA en una línea abajo; el texto superior arriba */
  #hero-claim {
    top: auto !important;
    bottom: calc(50% + 40px) !important;
  }
  #hero-titulo {
    bottom: calc(var(--franja, 0px) + 12px) !important;
    white-space: nowrap !important;
  }
  #cursor {
    left: 50% !important;
    top: auto !important;
    bottom: 24px !important;
    width: 56px !important;
    height: 56px !important;
    margin-left: -28px;
  }
  /* --- Tipografía común de los módulos --- */
  .seccion.flujo h2.texto {
    font-size: var(--h2) !important;
    line-height: 1.2 !important;
  }
  .seccion.flujo h3.texto {
    font-size: var(--h3) !important;
    line-height: 1.25 !important;
  }
  .seccion.flujo .texto:not(h2):not(h3) {
    font-size: var(--p) !important;
    line-height: 1.5 !important;
  }
  .seccion.flujo .btn,
  .seccion.flujo .btn.capa {
    font-size: var(--btn) !important;
    width: auto !important;
    min-width: 220px;
    height: 52px !important;
    padding: 0 28px !important;
    align-self: flex-start;
  }
  .seccion.flujo .texto[id$="-numero"] {
    font-size: 56px !important;
    line-height: 1 !important;
  }
  /* --- Home: introducción y masterplan --- */
  #s-intro.flujo {
    padding-top: 64px !important;
  }
  #linea-1 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .seccion.flujo img#estrella-1 {
    position: absolute !important;
    left: auto !important;
    right: 24px !important;
    top: -17px !important;
    width: 34px !important;
    height: 34px !important;
  }
  #s-mapa.flujo,
  #s-p-maqueta.flujo {
    padding: 0 !important;
    gap: 0 !important;
  }
  #s-mapa.flujo #masterplan {
    display: block;
  }
  /* --- Secciones con foto de fondo: la foto cubre, el texto encima --- */
  #s-ubicacion.flujo,
  #s-cierre.flujo,
  #s-p-cierre.flujo,
  #s-u-cierre.flujo {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 72px 24px !important;
    min-height: 320px;
    overflow: hidden;
  }
  .seccion.flujo #ubicacion-fondo,
  .seccion.flujo #cierre-fondo,
  .seccion.flujo #p-cierre-fondo,
  .seccion.flujo #u-cierre-marco {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
  }
  .seccion.flujo #u-cierre-imagen {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  #s-ubicacion.flujo .texto,
  #s-cierre.flujo .texto,
  #s-p-cierre.flujo .texto,
  #s-u-cierre.flujo .texto {
    text-align: center !important;
    z-index: 2;
  }
  #s-ubicacion.flujo .btn,
  #s-p-cierre.flujo .btn,
  #s-u-cierre.flujo .btn {
    align-self: center;
    z-index: 2;
  }
  #s-ubicacion.flujo {
    padding-top: 48px !important;
  }
  .seccion.flujo #ubicacion-titulo {
    font-size: 72px !important;
    line-height: 1 !important;
    color: var(--blanco);
  }
  .seccion.flujo #ubicacion-subtitulo,
  .seccion.flujo #texto {
    color: var(--blanco) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
  #s-ubicacion.flujo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
  }
  .seccion.flujo #p-linea-7,
  .seccion.flujo #u-linea-5 {
    top: 0 !important;
    bottom: auto !important;
    z-index: 3;
  }
  .seccion.flujo #p-linea-8 {
    top: auto !important;
    bottom: 0 !important;
    z-index: 3;
  }
  .seccion.flujo #p-estrella-4,
  .seccion.flujo #u-estrella-2 {
    top: -17px !important;
    bottom: auto !important;
  }
  /* --- Proyecto: maqueta + galería 2x2 y plano --- */
  #s-p-maqueta.flujo {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  .seccion.flujo #p-maqueta {
    width: 100% !important;
  }
  #s-p-maqueta.flujo > img[id^="p-galeria-"] {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    aspect-ratio: 1;
    object-fit: cover;
  }
  #s-p-plano.flujo {
    padding-top: 48px !important;
  }
  .seccion.flujo #p-linea-6 {
    top: 0 !important;
  }
  .seccion.flujo #p-estrella-3 {
    top: -17px !important;
  }
  /* --- Footer común: apilado y centrado, como el de Grupo Insur --- */
  #s-footer.flujo {
    align-items: center !important;
    text-align: center !important;
    padding: 32px 24px !important;
    gap: 12px !important;
  }
  .seccion.flujo #footer-logo {
    width: 150px !important;
    height: auto !important;
  }
  .seccion.flujo #footer-copy {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  .seccion.flujo #footer-legal {
    font-size: 13px !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }
  #footer-legal a {
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  :root {
    --h1: 32px;
    --p-hero: 15px;
    --h2: 23px;
    --h3: 18px;
    --p: 15px;
    --btn: 15px;
  }
  #logo {
    height: 36px !important;
  }
  .seccion.flujo #ubicacion-titulo {
    font-size: 56px !important;
  }
}

/* Ajustes v28: estrellas por delante de la cabecera; Residencial TORRE INSUR blanco y puntos blancos */
.seccion:has(> img[id*="estrella"]) {
  z-index: 11;
}
.pagina-residencial .punto {
  background: var(--blanco);
  border-color: var(--blanco);
}
.pagina-residencial .punto.activo {
  background: var(--azul);
  border-color: var(--azul);
}
.pagina-residencial .punto:not(.activo):hover {
  background: var(--blanco);
}
#r-servicios-titulo {
  transition: opacity 0.4s ease;
}
#r-servicios-titulo.cambiando {
  opacity: 0;
}
@media (max-width: 1024px) {
  #r-torre-titulo {
    color: var(--blanco) !important;
    font-size: 11.5vw !important;
    line-height: 0.9 !important;
    position: relative !important;
    z-index: 6 !important;
    pointer-events: none;
    margin: 8px 0 -0.32em !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }
  #s-r-servicios #r-gimnasio-marco,
  #r-gimnasio-marco {
    position: relative;
    z-index: 4 !important;
  }
}
#s-hero:has(.menu-movil.abierto) {
  z-index: 1100;
}
@media (max-width: 1024px) {
  #s-ubicacion.flujo,
  #s-cierre.flujo,
  #s-p-cierre.flujo,
  #s-u-cierre.flujo {
    overflow: visible !important;
  }
  .seccion.flujo #u-cierre-marco {
    overflow: hidden !important;
  }
}

/* Proyecto 01-07: animación tipo "Obras" (línea de recorrido, destape de fotos, números que se encienden) */
.pagina-proyecto .anim-cortina::after {
  display: none;
}
#p-recorrido-fondo,
#p-recorrido-linea {
  left: 959px;
  top: 0;
  width: 2px;
  pointer-events: none;
  z-index: 6;
}
#p-recorrido-fondo {
  height: 100%;
  background: rgba(22, 90, 140, 0.15);
}
#p-recorrido-linea {
  height: 0;
  background: var(--azul);
}
#p-recorrido-punta {
  left: 934px;
  top: 0;
  width: 51px;
  height: 51px;
  margin-top: -25px;
  pointer-events: none;
  z-index: 7 !important;
}
.pagina-proyecto .p-destape {
  background: #bdbdbd;
}
.pagina-proyecto .p-destape .foto-paralaje {
  clip-path: inset(0 0 100% 0);
  scale: 1.12;
  transition:
    clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1),
    scale 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pagina-proyecto .p-destape.visible .foto-paralaje {
  clip-path: inset(0);
  scale: 1;
}
.pagina-proyecto [id$="-numero"][id^="p-servicio-"] {
  transition: color 0.6s ease;
  color: #c9c9c9 !important;
}
.pagina-proyecto [id$="-numero"][id^="p-servicio-"].alcanzado {
  color: var(--azul) !important;
}
.pagina-proyecto .bloque-servicio {
  transition: opacity 0.6s ease;
}
@media (hover: hover) and (min-width: 1025px) {
  #s-p-servicios:has(.bloque-servicio:hover) .bloque-servicio:not(:hover) {
    opacity: 0.3;
  }
  .pagina-proyecto .p-destape.visible {
    transition: clip-path 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    will-change: clip-path;
    clip-path: inset(0);
  }
  .pagina-proyecto .bloque-servicio:hover .p-destape.visible {
    clip-path: inset(3%);
  }
}
@media (max-width: 1024px) {
  #s-p-servicios.flujo {
    position: relative;
  }
  #s-p-servicios.flujo #p-recorrido-fondo,
  #s-p-servicios.flujo #p-recorrido-linea {
    position: absolute !important;
    left: 10px !important;
    top: 0 !important;
    width: 2px !important;
  }
  #s-p-servicios.flujo #p-recorrido-fondo {
    height: 100% !important;
  }
  #s-p-servicios.flujo #p-recorrido-punta {
    position: absolute !important;
    left: -8px !important;
    width: 38px !important;
    height: 38px !important;
    margin-top: -19px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  #s-p-servicios.flujo #p-recorrido-punta {
    width: 51px !important;
    height: 51px !important;
    margin-top: -25px;
    left: -14px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pagina-proyecto .p-destape .foto-paralaje {
    clip-path: none !important;
    scale: 1 !important;
  }
}
#s-p-servicios #p-recorrido-linea {
  height: var(--rec, 0%) !important;
}
#s-p-servicios #p-recorrido-punta {
  top: var(--rec, 0%) !important;
}
.pagina-proyecto [id$="-numero"][id^="p-servicio-"].alcanzado.visible {
  opacity: 0.85 !important;
}

#p-recorrido-fondo,
#p-recorrido-linea,
#p-recorrido-punta {
  display: none !important;
}

/* Destape de 01-07 ligado al scroll (--d de 0 a 1 lo pone js/main.js) */
.pagina-proyecto .p-destape .foto-paralaje,
.pagina-proyecto .p-destape.visible .foto-paralaje {
  clip-path: inset(0 0 calc((1 - var(--d, 0)) * 100%) 0) !important;
  scale: calc(1.12 - 0.12 * var(--d, 0)) !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-proyecto .p-destape .foto-paralaje {
    clip-path: none !important;
    scale: 1 !important;
  }
}

/* ===== Home v2 (PSD 1-HOME_Hytasa-2): módulo de fotos y datos ===== */
.pagina-home #s-mapa {
  height: 1649px;
  overflow: hidden;
}
.pagina-home #mapa-foto-1 {
  left: 675px;
  top: 83px;
  width: 1257px;
  height: 707px;
}
.pagina-home #mapa-foto-2 {
  left: 0;
  top: 853px;
  width: 1260px;
  height: 709px;
}
.pagina-home #mapa-caja-1 {
  left: 64px;
  top: 261px;
  width: 944px;
  height: 360px;
  background: var(--blanco);
}
.pagina-home #mapa-caja-2 {
  left: 952px;
  top: 1040px;
  width: 944px;
  height: 360px;
  background: var(--blanco);
}
.pagina-home #mapa-dato-1 {
  left: 1194px;
  top: 315px;
  font-size: 71.86px;
  line-height: 72.7px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
}
.pagina-home #mapa-dato-1 strong {
  font-size: 75.36px;
  font-weight: 700;
}
.pagina-home #mapa-dato-2 {
  left: 224px;
  top: 1139px;
  font-size: 72px;
  line-height: 87.2px;
  font-weight: 400;
  color: var(--blanco);
  white-space: nowrap;
}
.pagina-home #mapa-dato-2 strong {
  font-size: 84.2px;
  font-weight: 700;
}
.pagina-home #mapa-texto-1 {
  left: 231px;
  top: 337px;
  width: 670px;
  font-size: 29px;
  line-height: 45px;
  font-weight: 400;
  color: var(--negro);
}
.pagina-home #mapa-texto-2 {
  left: 1022px;
  top: 1148px;
  width: 725px;
  font-size: 29px;
  line-height: 45px;
  font-weight: 400;
  color: var(--negro);
}
.pagina-home #mapa-texto-1 strong,
.pagina-home #mapa-texto-2 strong {
  font-weight: 700;
}
.pagina-home #datos-titulo {
  left: 288px;
  top: 58px;
  font-size: 47px;
  line-height: 49.54px;
}
.pagina-home #linea-2 {
  top: 278.6px;
}
.pagina-home #estrella-2 {
  top: 255px;
}
.pagina-home #dato,
.pagina-home #dato-3,
.pagina-home #dato-5 {
  top: 336.3px;
}
.pagina-home #linea-3 {
  top: 462.6px;
}
.pagina-home #estrella-4 {
  top: 440px;
}
.pagina-home #ubicacion-titulo {
  top: 537.9px;
}
@media (max-width: 1024px) {
  .pagina-home #s-mapa.flujo {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px 0 !important;
    padding: 0 0 48px !important;
  }
  .pagina-home #s-mapa.flujo #mapa-caja-1,
  .pagina-home #s-mapa.flujo #mapa-caja-2 {
    display: none !important;
  }
  .pagina-home #s-mapa.flujo #mapa-foto-1 {
    grid-row: 1;
    grid-column: 1;
  }
  .pagina-home #s-mapa.flujo #mapa-dato-1 {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    padding: 0 24px;
    z-index: 2;
  }
  .pagina-home #s-mapa.flujo #mapa-texto-1 {
    grid-row: 2;
    padding: 6px 24px 30px;
  }
  .pagina-home #s-mapa.flujo #mapa-foto-2 {
    grid-row: 3;
    grid-column: 1;
  }
  .pagina-home #s-mapa.flujo #mapa-dato-2 {
    grid-row: 3;
    grid-column: 1;
    align-self: center;
    padding: 0 24px;
    z-index: 2;
  }
  .pagina-home #s-mapa.flujo #mapa-texto-2 {
    grid-row: 4;
    padding: 6px 24px 0;
  }
  .pagina-home #s-mapa.flujo #mapa-dato-1,
  .pagina-home #s-mapa.flujo #mapa-dato-2 {
    font-size: var(--h3) !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
  .pagina-home #s-mapa.flujo #mapa-dato-1 strong,
  .pagina-home #s-mapa.flujo #mapa-dato-2 strong {
    font-size: var(--h1) !important;
  }
  .pagina-home #s-mapa.flujo #mapa-texto-1,
  .pagina-home #s-mapa.flujo #mapa-texto-2 {
    font-size: var(--p) !important;
    line-height: 1.5 !important;
  }
  .pagina-home #s-mapa.flujo #mapa-texto-1 br {
    display: none;
  }
  .pagina-home #s-datos.flujo #datos-titulo {
    font-size: var(--h2) !important;
    line-height: 1.25 !important;
  }
}

/* ===== Ubicación v2: 3 distancias + módulo zona ===== */
#s-u-distancias {
  height: 651px;
}
#u-distancia-1 {
  left: 0;
  top: 9px;
  width: 637px;
  height: 642px;
}
#u-distancia-2 {
  left: 643px;
  top: 9px;
  width: 640px;
  height: 642px;
}
#u-distancia-3 {
  left: 1287px;
  top: 9px;
  width: 633px;
  height: 642px;
}
#u-distancia-1-imagen {
  left: -143px;
  top: -12px;
  width: 1215px;
  height: 683px;
}
#u-distancia-2-imagen {
  left: -556px;
  top: -70px;
  width: 1199px;
  height: 741px;
}
#u-distancia-3-imagen {
  left: -207px;
  top: -120px;
  width: 1237px;
  height: 929px;
}
#u-distancia-1-titulo {
  left: 31px;
  top: 22px;
}
#u-distancia-2-titulo {
  left: 41px;
  top: 23px;
}
#u-distancia-3-titulo {
  left: 45px;
  top: 22px;
}
#u-distancia-1-tiempo,
#u-distancia-2-tiempo,
#u-distancia-3-tiempo {
  left: 35px;
  top: 560px;
}
#s-u-zona {
  height: 843px;
}
#u-linea-6 {
  left: 0;
  top: -6px;
  width: 1920px;
  height: 1.8px;
}
#s-u-zona .zona-mapa {
  left: 550px;
  top: 30px;
  width: 1324px;
  height: 836px;
}
#u-zona-titulo {
  left: 126.5px;
  top: 138px;
  width: 396px;
  font-size: 53px;
  line-height: 65px;
  color: #000;
  white-space: normal;
}
#u-zona-lista {
  left: 126.5px;
  top: 387px;
  width: 420px;
  font-size: 28px;
  line-height: 45px;
  color: #000;
  white-space: normal;
}
#u-estrella-2 {
  left: 394px;
  top: 11px;
}
@media (max-width: 1024px) {
  #s-u-distancias.flujo {
    grid-template-columns: 1fr !important;
  }
  .seccion.flujo #u-linea-6 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }
  .seccion.flujo #u-zona-lista span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
  .seccion.flujo #u-zona-titulo {
    font-size: var(--h2) !important;
    line-height: 1.2 !important;
  }
}
#u-zona-lista {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Residencial: slider de tipologías */
.pagina-residencial #r-tipologias-imagen-2,
.pagina-residencial #r-tipologias-imagen-3,
.pagina-residencial #r-tipologias-imagen-4,
.pagina-residencial #r-tipologias-imagen-5 {
  left: -20px;
  top: -182px;
  width: 1960px;
  height: 1102px;
}
#r-t-puntos {
  left: 918px;
  top: 839px;
  width: 83px;
  height: 14px;
  z-index: 2;
}
#r-t-punto-1 {
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-t-punto-2 {
  left: 17px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-t-punto-3 {
  left: 35px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-t-punto-4 {
  left: 52px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
#r-t-punto-5 {
  left: 69px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
@media (max-width: 1024px) {
  #s-r-tipologias.flujo {
    position: relative;
  }
  #s-r-tipologias.flujo #r-tipologias-marco .r-slide {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  #r-t-puntos {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translate(-50%, 0);
    margin-top: calc(56.25vw - 24px);
    width: 83px !important;
    height: 14px !important;
  }
  #r-t-puntos .punto {
    position: absolute !important;
    top: 0 !important;
    width: 12px !important;
    height: 12px !important;
  }
  #r-t-punto-1 {
    left: 0 !important;
  }
  #r-t-punto-2 {
    left: 17px !important;
  }
  #r-t-punto-3 {
    left: 35px !important;
  }
  #r-t-punto-4 {
    left: 52px !important;
  }
  #r-t-punto-5 {
    left: 69px !important;
  }
}
/* Puntos de sliders: rellenos y opacos con el color del borde */
.pagina-residencial #r-puntos .punto,
.pagina-residencial #r-t-puntos .punto,
.pagina-residencial #r-puntos .punto:hover,
.pagina-residencial #r-t-puntos .punto:hover {
  opacity: 1;
  background: var(--blanco);
  border-color: var(--blanco);
}
.pagina-residencial #r-puntos .punto.activo,
.pagina-residencial #r-t-puntos .punto.activo {
  background: var(--azul);
  border-color: var(--azul);
}

/* Proyecto: slider "Todo lo que necesitas a tu alcance" */
#p-zona-marco {
  left: 0;
  top: 20px;
  width: 1920px;
  height: 808px;
  overflow: hidden;
}
#p-zona-marco .p-slide {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#p-zona-marco .p-slide.activa {
  opacity: 1;
}
#p-zona-titulo {
  transition: opacity 0.25s ease;
}
#p-zona-titulo.cambiando {
  opacity: 0;
}
#p-zona-puntos {
  left: 918px;
  top: 780px;
  width: 83px;
  height: 14px;
  z-index: 2;
}
#p-zona-puntos .punto {
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
  border: 2px solid var(--blanco);
  background: var(--blanco);
  opacity: 1;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
#p-zona-puntos .punto.activo {
  background: var(--azul);
  border-color: var(--azul);
}
#p-zona-punto-1 {
  left: 0;
}
#p-zona-punto-2 {
  left: 17px;
}
#p-zona-punto-3 {
  left: 35px;
}
#p-zona-punto-4 {
  left: 52px;
}
#p-zona-punto-5 {
  left: 69px;
}
@media (max-width: 1024px) {
  #s-p-zona.flujo {
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 56.25vw;
    overflow: visible !important;
  }
  #s-p-zona.flujo #p-zona-marco {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: calc(100% - 2px) !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  #s-p-zona.flujo #p-zona-marco img.p-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .seccion.flujo #p-zona-titulo {
    position: relative !important;
    color: var(--blanco) !important;
    text-align: center !important;
    padding: 0 24px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
  #p-zona-puntos {
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 20px !important;
    transform: translateX(-50%);
    width: 83px !important;
    height: 14px !important;
  }
  #p-zona-puntos .punto {
    position: absolute !important;
    top: 0 !important;
    width: 12px !important;
    height: 12px !important;
  }
  #p-zona-punto-1 {
    left: 0 !important;
  }
  #p-zona-punto-2 {
    left: 17px !important;
  }
  #p-zona-punto-3 {
    left: 35px !important;
  }
  #p-zona-punto-4 {
    left: 52px !important;
  }
  #p-zona-punto-5 {
    left: 69px !important;
  }
  #s-p-maqueta.flujo {
    padding: 48px 0 0 !important;
  }
}
/* Proyecto: cifras que cambian el plano */
.pagina-proyecto #p-masterplan .plano-capa {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.pagina-proyecto #p-masterplan .plano-capa.activa {
  opacity: 1;
}
.pagina-proyecto #p-masterplan .plano-capa:first-child {
  position: relative;
}
.pagina-proyecto .dato-clic {
  cursor: pointer;
  color: color-mix(in srgb, var(--negro) 35%, transparent) !important;
  transition: color 0.4s ease;
}
.pagina-proyecto .dato-clic:hover,
.pagina-proyecto .dato-clic.activo {
  color: var(--negro) !important;
}
.pagina-proyecto .dato-clic:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 4px;
}
/* ===== Home v2: animaciones estilo Alberia ===== */
@keyframes h-kenburns-home {
  0% {
    scale: 1;
    translate: 0 0;
  }
  50% {
    scale: 1.1;
    translate: -1.2% -0.8%;
  }
  100% {
    scale: 1.14;
    translate: 1% -1.5%;
  }
}
@keyframes h-emerger {
  from {
    translate: 0 105%;
  }
  to {
    translate: 0 0;
  }
}
.pagina-home #hero-fondo {
  animation: h-kenburns-home 18s ease-in-out infinite alternate;
}
.pagina-home #hero-claim,
.pagina-home #hero-titulo {
  animation: none;
  overflow: hidden;
  transition: opacity 0.2s linear;
}
#hero-titulo-parque strong,
#hero-titulo-hilara strong {
  display: inline-block;
  animation: h-emerger 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-home #hero-titulo-parque strong {
  animation-delay: 0.35s;
}
.pagina-home #hero-titulo-hilara strong {
  animation-delay: 0.55s;
}
.pagina-home #hero-claim .palabra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.pagina-home #hero-claim .palabra > span {
  display: inline-block;
  animation: h-emerger 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Fotos: cortina + zoom sutil + paralaje */
.pagina-home .anim-foto {
  scale: 1.08;
  transition:
    clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-home .anim-foto.visible {
  scale: 1;
  transition:
    clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-home .anim-mascara.desde-dcha:not(.visible) {
  clip-path: inset(0 0 0 100%);
}
/* Bloque Sevilla */
.pagina-home #ubicacion-titulo {
  transform: translateY(var(--px, 0px));
}
.pagina-home #ubicacion-titulo strong {
  display: inline-block;
  translate: none;
}
.pagina-home #ubicacion-titulo.visible strong {
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-home #hero-claim .palabra > span,
  .pagina-home #hero-titulo-parque strong,
  .pagina-home #hero-titulo-hilara strong,
  .pagina-home #ubicacion-titulo strong {
    translate: none !important;
  }
  .pagina-home .anim-foto {
    scale: 1 !important;
  }
}

/* Home: paralaje foto/caja (v1.2.2) */
.pagina-home .px-capa,
.pagina-home .anim.visible.px-capa,
.pagina-home .anim-foto.visible.px-capa {
  translate: 0 var(--py, 0px);
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-home .px-capa {
    translate: none;
  }
}

/* ===== Residencial v2: animaciones como la Home ===== */
.pagina-residencial #hero-fondo {
  animation: h-kenburns-home 18s ease-in-out infinite alternate;
}
.pagina-residencial #r-hero-titulo,
.pagina-residencial #r-hero-claim {
  animation: none;
}
.pagina-residencial #r-hero-titulo .palabra,
.pagina-residencial #r-hero-claim .palabra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.pagina-residencial #r-hero-titulo .palabra > span {
  display: inline-block;
  animation: h-emerger 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-residencial #r-hero-claim .palabra > span {
  display: inline-block;
  animation: h-emerger 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-residencial .anim-foto {
  scale: 1.08;
  transition:
    clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-residencial .anim-foto.visible {
  scale: 1;
}
.pagina-residencial .anim-mascara.desde-dcha:not(.visible) {
  clip-path: inset(0 0 0 100%);
}
.pagina-residencial .px-capa,
.pagina-residencial .anim.visible.px-capa {
  translate: 0 var(--py, 0px);
  will-change: translate;
}
.pagina-residencial .px-interior {
  scale: 1.1;
  translate: 0 var(--pi, 0px);
  will-change: translate;
}
.pagina-residencial .px-torre,
.pagina-residencial .anim.visible.px-torre {
  translate: 0 var(--py, 0px);
  will-change: translate;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-residencial #s-r-bloques h2:not(#r-torre-titulo),
.pagina-residencial #s-r-bloques p {
  z-index: 7;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-residencial .palabra > span {
    animation: none !important;
  }
  .pagina-residencial .px-capa,
  .pagina-residencial .px-torre,
  .pagina-residencial .px-interior {
    translate: none !important;
  }
  .pagina-residencial .anim-foto {
    scale: 1 !important;
  }
}

/* ===== Ubicación / Contacto v2: animaciones como la Home ===== */
@keyframes u-kenburns-mapa {
  0% {
    scale: 1;
    translate: 0 0;
  }
  50% {
    scale: 1.03;
    translate: -0.6% -0.4%;
  }
  100% {
    scale: 1.05;
    translate: 0.5% -0.8%;
  }
}
.pagina-ubicacion #hero-fondo,
.pagina-contacto #hero-fondo {
  animation: h-kenburns-home 18s ease-in-out infinite alternate;
}
.pagina-ubicacion #u-mapa,
.pagina-ubicacion #u-plano,
.pagina-ubicacion .zona-mapa {
  animation: u-kenburns-mapa 18s ease-in-out infinite alternate;
}
.pagina-ubicacion #u-hero-titulo,
.pagina-ubicacion #u-hero-claim,
.pagina-contacto #c-hero-claim {
  animation: none;
}
.pagina-ubicacion #u-hero-titulo .palabra,
.pagina-ubicacion #u-hero-claim .palabra,
.pagina-contacto #c-hero-claim .palabra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.pagina-ubicacion #u-hero-titulo .palabra > span {
  display: inline-block;
  animation: h-emerger 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-ubicacion #u-hero-claim .palabra > span,
.pagina-contacto #c-hero-claim .palabra > span {
  display: inline-block;
  animation: h-emerger 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-ubicacion .anim-foto {
  scale: 1.08;
  transition:
    clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-ubicacion .anim-foto.visible {
  scale: 1;
}
.pagina-ubicacion .px-capa,
.pagina-ubicacion .anim.visible.px-capa {
  translate: 0 var(--py, 0px);
  will-change: translate;
}
.pagina-ubicacion .px-interior {
  scale: 1.1;
  translate: 0 var(--pi, 0px);
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-ubicacion #hero-fondo,
  .pagina-contacto #hero-fondo,
  .pagina-ubicacion #u-mapa,
  .pagina-ubicacion #u-plano,
  .pagina-ubicacion .zona-mapa,
  .pagina-ubicacion .palabra > span,
  .pagina-contacto .palabra > span {
    animation: none;
  }
  .pagina-ubicacion .anim-foto {
    scale: 1;
    transition: none;
  }
}

/* ===== Proyecto v2: animaciones como el resto de páginas ===== */
.pagina-proyecto #hero-fondo {
  animation: h-kenburns-home 18s ease-in-out infinite alternate;
}
.pagina-proyecto #p-hero-titulo,
.pagina-proyecto #p-hero-claim {
  animation: none;
}
.pagina-proyecto #p-hero-titulo .palabra,
.pagina-proyecto #p-hero-claim .palabra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.pagina-proyecto #p-hero-titulo .palabra > span {
  display: inline-block;
  animation: h-emerger 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-proyecto #p-hero-claim .palabra > span {
  display: inline-block;
  animation: h-emerger 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pagina-proyecto .anim-foto {
  scale: 1.08;
  transition:
    clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-proyecto .anim-foto.visible {
  scale: 1;
}
.pagina-proyecto .px-capa,
.pagina-proyecto .anim.visible.px-capa {
  translate: 0 var(--py, 0px);
  will-change: translate;
}
.pagina-proyecto .sv-marco {
  background: transparent !important;
  clip-path: inset(var(--abre, 22%) calc(var(--abre, 22%) * 1.2));
  translate: 0 var(--py, 0px);
  will-change: clip-path, translate;
}
.pagina-proyecto .sv-marco .foto-paralaje {
  clip-path: none !important;
  filter: none !important;
  scale: var(--zi, 1.25) !important;
  transition: none !important;
}
.pagina-proyecto .sv-txt {
  opacity: 0 !important;
  translate: 0 calc(var(--py, 0px) + 60px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    translate 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagina-proyecto .sv-on .sv-txt {
  opacity: 1 !important;
  translate: 0 var(--py, 0px);
}
.pagina-proyecto .sv-on [id$="-numero"].sv-txt {
  opacity: 0.85 !important;
  color: var(--azul) !important;
}
.pagina-proyecto .sv-on .sv-txt:nth-child(3) {
  transition-delay: 0.1s;
}
.pagina-proyecto .sv-on .sv-txt:nth-child(4) {
  transition-delay: 0.2s;
}
.pagina-proyecto .bloque-servicio:hover .p-destape.visible {
  clip-path: none;
}
@media (prefers-reduced-motion: reduce) {
  .pagina-proyecto .sv-marco {
    clip-path: none;
  }
  .pagina-proyecto .sv-txt {
    opacity: 1 !important;
    translate: none;
  }
}

/* ===== Botones: estados comunes sin interferir con entrada ni paralaje ===== */
.pagina .btn,
.pagina .wpcf7-submit {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 1s ease,
    translate 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.4s ease,
    clip-path 1.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.pagina .zona-opcion,
#c-menu-recordatorio a {
  transition: color 0.25s ease;
}
.hamburguesa,
.menu-cerrar {
  transition: opacity 0.25s ease;
}
.pagina .punto {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.25s ease;
}
.pagina :is(.btn, .wpcf7-submit):focus-visible {
  background: var(--azul);
  color: var(--blanco) !important;
  outline: 2px solid var(--blanco);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--azul);
}
.pagina :is(.btn-blanco, .wpcf7-submit):focus-visible {
  background: var(--negro);
}
.pagina :is(.zona-opcion, .servicio):focus-visible,
#c-menu-recordatorio a:focus-visible {
  color: var(--azul);
  outline: 2px solid var(--azul);
  outline-offset: 4px;
}
.pagina .punto:focus-visible {
  outline: 2px solid var(--blanco);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--azul);
}
.hamburguesa:focus-visible,
.menu-cerrar:focus-visible {
  outline: 2px solid var(--blanco);
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .pagina :is(.btn, .wpcf7-submit):not(:disabled):hover {
    background: var(--azul);
    color: var(--blanco) !important;
  }
  .pagina :is(.btn-blanco, .wpcf7-submit):not(:disabled):hover {
    background: var(--negro);
  }
  .pagina .zona-opcion:hover,
  #c-menu-recordatorio a:hover,
  .pagina-residencial #r-servicios-lista .servicio:hover {
    color: var(--azul);
  }
  .pagina .punto:not(:disabled):hover {
    box-shadow:
      0 0 0 3px var(--azul),
      0 0 0 4px var(--blanco);
  }
  .hamburguesa:hover,
  .menu-cerrar:hover {
    opacity: 0.65;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pagina :is(.btn, .wpcf7-submit, .zona-opcion, .servicio, .punto),
  #c-menu-recordatorio a,
  .hamburguesa,
  .menu-cerrar {
    transition: none !important;
  }
}

/* ===== Ajustes reunión cliente (v1.3.2) ===== */
/* Escala tipográfica más contenida (referencia Alberia), solo escritorio; ≤1024 usa las variables --h1…--p */
@media (min-width: 1025px) {
  #cierre-titulo {
    font-size: 33.4px;
    line-height: 91.5px;
  }
  #texto {
    font-size: 23.8px;
    line-height: 34.3px;
  }
  #ubicacion-subtitulo {
    font-size: 35.2px;
    line-height: 45.6px;
  }
  #texto-2 {
    font-size: 23.8px;
    line-height: 34.3px;
  }
  #residencial-titulo {
    font-size: 35.2px;
    line-height: 45.6px;
  }
  #texto-3 {
    font-size: 23.8px;
    line-height: 34.3px;
  }
  #vision-titulo {
    font-size: 35.2px;
    line-height: 45.6px;
  }
  #dato {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #dato-2 {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #dato-3 {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #dato-4 {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #dato-5 {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #dato-6 {
    font-size: 32.2px;
    line-height: 33.4px;
  }
  #datos-titulo {
    font-size: 34.3px;
    line-height: 43.6px;
  }
  #texto-4 {
    font-size: 23px;
    line-height: 39.6px;
  }
  #intro-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #hero-claim {
    font-size: 42.7px;
    line-height: 53.2px;
  }
  #s-datos p.texto {
    font-size: 27.6px;
  }
  #p-hero-titulo {
    font-size: 68px;
    line-height: 68px;
  }
  #p-hero-claim {
    font-size: 32px;
    line-height: 39.9px;
  }
  #p-promo-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #p-promo-texto {
    font-size: 23px;
    line-height: 39.6px;
  }
  #p-zona-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #p-zona-lista {
    font-size: 24.6px;
    line-height: 39.6px;
  }
  #p-servicio-1-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-1-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-1-texto {
    font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-2-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-2-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-2-texto {
   font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-3-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-3-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-3-texto {
    font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-4-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-4-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-4-texto {
   font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-5-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-5-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-5-texto {
    font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-6-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-6-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-6-texto {
  font-size: 23px;
    line-height: 38px;
  }
  #p-servicio-7-numero {
    font-size: 106.4px;
    line-height: 39.6px;
  }
  #p-servicio-7-titulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #p-servicio-7-texto {
   font-size: 23px;
    line-height: 38px;
  }
  #p-cierre-titulo {
    font-size: 46.4px;
    line-height: 55.2px;
  }
  #u-hero-titulo {
    font-size: 68px;
    line-height: 83.2px;
  }
  #u-hero-claim {
    font-size: 32px;
    line-height: 39.9px;
  }
  #u-promo-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #u-promo-texto {
    font-size: 23px;
    line-height: 39.6px;
  }
  #u-distancia-1-titulo {
    font-size: 33.4px;
    line-height: 34.6px;
  }
  #u-distancia-2-titulo {
    font-size: 33.4px;
    line-height: 34.6px;
  }
  #u-distancia-3-titulo {
    font-size: 33.4px;
    line-height: 34.6px;
  }
  #u-distancia-4-titulo {
    font-size: 33.4px;
    line-height: 34.6px;
  }
  #u-distancia-1-tiempo {
    font-size: 26.9px;
    line-height: 40.3px;
  }
  #u-mapa-titulo {
    font-size: 102px;
    line-height: 115.8px;
  }
  #u-mapa-subtitulo {
    font-size: 36px;
    line-height: 37.3px;
  }
  #u-mapa-texto {
    font-size: 23px;
    line-height: 38.7px;
  }
  #u-mapa-texto-2 {
    font-size: 23px;
    line-height: 38.7px;
  }
  #u-mapa-texto-3 {
    font-size: 23px;
    line-height: 38.7px;
  }
  #u-cierre-titulo {
    font-size: 53.3px;
    line-height: 55.2px;
  }
  #r-hero-titulo {
    font-size: 68px;
    line-height: 83.2px;
  }
  #r-hero-claim {
    font-size: 32px;
    line-height: 39.9px;
  }
  #r-promo-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #r-promo-texto {
    font-size: 23px;
    line-height: 39.6px;
  }
  #r-proyecto-titulo {
    font-size: 44px;
    line-height: 55.9px;
  }
  #r-proyecto-texto {
    font-size: 23px;
    line-height: 38.8px;
  }
  #r-referencia-titulo {
    font-size: 44px;
    line-height: 48.8px;
  }
  #r-referencia-texto {
    font-size: 23px;
    line-height: 38.7px;
  }
  #r-vivir-titulo {
    font-size: 44px;
    line-height: 55.2px;
  }
  #r-vivir-texto {
    font-size: 23px;
    line-height: 38.7px;
  }
  #r-tipo-1-titulo {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-tipo-1-precio {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-tipo-2-titulo {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-tipo-2-precio {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-tipo-3-titulo {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-tipo-3-precio {
    font-size: 27.6px;
    line-height: 33.4px;
  }
  #r-servicios-titulo {
    font-size: 47.2px;
    line-height: 58.5px;
  }
  #r-servicio-1 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-2 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-3 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-4 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-5 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-6 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-7 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-servicio-8 {
    font-size: 24.6px;
    line-height: 29.6px;
  }
  #r-form-titulo {
    font-size: 58.4px;
    line-height: 70.4px;
  }
  #r-form-subtitulo {
    font-size: 23px;
    line-height: 38.7px;
  }
  #r-btn-enviar {
    font-size: 26.4px;
  }
  #c-hero-claim {
    font-size: 40px;
    line-height: 48px;
  }
  #c-menu-etiqueta {
    font-size: 29px;
    line-height: 39.6px;
  }
  #c-menu-recordatorio a {
    font-size: 66.4px;
    line-height: 84px;
  }
  #c-form-titulo {
    font-size: 58.4px;
    line-height: 70.4px;
  }
  #c-form-subtitulo {
    font-size: 31.7px;
    line-height: 39.6px;
  }
  #c-btn-enviar {
    font-size: 26.4px;
  }
  /* ===== Ubicación: animaciones ===== */
  #u-distancia-2-tiempo,
  #u-distancia-3-tiempo,
  #u-distancia-4-tiempo {
    font-size: 26.9px;
    line-height: 40.3px;
  }
  .pagina-residencial #r-servicios-lista .servicio.activa {
    font-size: 33.6px;
    line-height: 40.3px;
  }
  .pagina-home #mapa-dato-1 {
    font-size: 57.5px;
    line-height: 58.2px;
  }
  .pagina-home #mapa-dato-1 strong {
    font-size: 60.3px;
  }
  .pagina-home #mapa-dato-2 {
    font-size: 57.6px;
    line-height: 69.8px;
  }
  .pagina-home #mapa-dato-2 strong {
    font-size: 67.4px;
  }
  .pagina-home #mapa-texto-1 {
    font-size: 23px;
    line-height: 39.6px;
  }
  .pagina-home #mapa-texto-2 {
    font-size: 23px;
    line-height: 39.6px;
  }
  .pagina-home #datos-titulo {
    font-size: 37.6px;
    line-height: 39.6px;
  }
  #u-zona-titulo {
    font-size: 42.4px;
    line-height: 52px;
  }
  #u-zona-lista {
    font-size: 24.6px;
    line-height: 39.6px;
  }
}
/* Descendentes (g, j, p…) visibles: las máscaras por palabra dejan aire debajo y los textos que suben no se recortan */
.palabra {
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}
.anim-subir,
.anim-cifra {
  clip-path: none !important;
}
#hero-titulo {
  overflow: visible !important;
}
#hero-titulo-parque,
#hero-titulo-hilara {
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: top;
}
/* Menú fijo: fondo blanco con el azul del footer */
body.con-barra .hamburguesa span {
  background: var(--azul);
}
/* Proyecto: plano a la izquierda y cifras clicables en columna a la derecha (mismo bloque de cifras común) */
@media (min-width: 1025px) {
  .pagina-proyecto #s-p-plano {
    height: 780px;
  }
  .pagina-proyecto #p-masterplan {
    left: 110px;
    top: 120px;
    width: 1130px;
    height: 600px;
  }
  .pagina-proyecto #s-datos {
    height: 640px;
    margin-top: -650px;
    background: transparent;
    z-index: 11;
    pointer-events: none;
  }
  .pagina-proyecto #s-datos .dato-clic {
    pointer-events: auto;
  }
  .pagina-proyecto #s-datos .linea,
  .pagina-proyecto #s-datos #estrella-2 {
    display: none;
  }
  .pagina-proyecto #s-datos .dato-clic {
    left: 1340px !important;
    white-space: nowrap;
  }
  .pagina-proyecto #dato {
    top: 0;
  }
  .pagina-proyecto #dato-3 {
    top: 104px;
  }
  .pagina-proyecto #dato-5 {
    top: 208px;
  }
  .pagina-proyecto #dato-2 {
    top: 312px;
  }
  .pagina-proyecto #dato-4 {
    top: 416px;
  }
  .pagina-proyecto #dato-6 {
    top: 520px;
  }
}

/* Home móvil: PARQUE HILARA en una línea que cabe y termina en escalón (v1.3.3) */
@media (max-width: 600px) {
  #hero-titulo {
    font-size: 34px !important;
  }
}

/* Home escritorio: PARQUE HILARA al tamaño del PSD, mismo tamaño de principio a fin (v1.3.4) */
@media (min-width: 1025px) {
  #hero-titulo {
    font-size: 213px;
    line-height: 241px;
  }
}
/* Títulos de bloque en varias líneas: nunca se salen de su columna */
#r-promo-titulo,
#r-vivir-titulo,
#u-promo-titulo {
  white-space: normal;
  max-width: 100%;
}
.pagina-residencial .seccion.flujo #r-promo-titulo br,
.pagina-residencial .seccion.flujo #r-vivir-titulo br,
.pagina-ubicacion .seccion.flujo #u-promo-titulo br {
  display: inline;
}

/* ≤1024px (bloques apilados): sin desplazamiento de parallax en textos ni marcos,
   para que ningún bloque se monte sobre el siguiente; separación mínima entre bloques. */
@media (max-width: 1024px) {
  .seccion.flujo .px-capa,
  .seccion.flujo .anim.visible.px-capa,
  .seccion.flujo .px-torre,
  .seccion.flujo .anim.visible.px-torre {
    translate: none !important;
  }
  .seccion.flujo .texto:not(h2):not(h3) + .marco,
  .seccion.flujo .texto:not(h2):not(h3) + .texto {
    margin-top: 24px;
  }
  #r-torre-titulo {
    position: relative !important;
    z-index: 1;
  }
  #r-servicios-titulo {
    position: relative !important;
    margin-top: 24px;
  }
  /* Menú fijo: logo siempre visible a la izquierda, junto a la hamburguesa */
  #barra-logo-enlace {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Cabeceras (Proyecto, Residencial, Ubicación, Contacto): el titular empieza sin verse nada (v1.4.0) */
html.js
  :is(#p-hero-titulo, #p-hero-claim, #r-hero-titulo, #r-hero-claim, #u-hero-titulo, #u-hero-claim, #c-hero-claim):not(
    :has(.palabra)
  ) {
  visibility: hidden;
}
@keyframes h-emerger-cab {
  from {
    translate: 0 140%;
  }
  to {
    translate: 0 0;
  }
}
:is(#p-hero-titulo, #p-hero-claim, #r-hero-titulo, #r-hero-claim, #u-hero-titulo, #u-hero-claim, #c-hero-claim)
  .palabra
  > span {
  animation-name: h-emerger-cab !important;
}
/* Proyecto: una línea azul bajo cada opción, como Espacios compartidos (v1.4.1).
   Se usa la propia cifra como ancla para conservar el bloque común HTML/PHP. */
.pagina-proyecto #s-datos .linea {
  display: none !important;
}
.pagina-proyecto #s-datos .dato-clic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.8px;
  background: var(--azul);
  pointer-events: none;
}
@media (min-width: 1025px) {
  .pagina-proyecto #s-datos .dato-clic::after {
    left: -4px;
    bottom: -14px;
    width: 584px;
  }
}
@media (max-width: 1024px) {
  .pagina-proyecto #s-datos .dato-clic {
    padding-bottom: 16px !important;
  }
}
