.elementor-517 .elementor-element.elementor-element-da2d11f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-517 .elementor-element.elementor-element-fc8419f{--display:flex;--min-height:100vh;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-517 .elementor-element.elementor-element-6b092fa{--display:flex;}.elementor-517 .elementor-element.elementor-element-a8264e7{--display:flex;}.elementor-517 .elementor-element.elementor-element-2fa56d3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-517:not(.elementor-motion-effects-element-type-background), body.elementor-page-517 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F9F8F5;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-517 .elementor-element.elementor-element-6b092fa{--width:30%;}.elementor-517 .elementor-element.elementor-element-a8264e7{--width:70%;}}/* Start custom CSS *//* ===== Fuente Repro (WOFF) ===== */
@font-face{
  font-family: "ABC Repro";
  src: url("https://modular.laava.es/wp-content/uploads/2026/01/ABCReproVariable-Trial.woff") format("woff");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

/* ===== Overlay del año centrado (SIN blend) ===== */
.year-overlay{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: normal;
}

.year-overlay #yearOverlay{
  font-family: "ABC Repro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: .8;
  font-size: 190px;
  color: #000;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* ===== Timeline / frames ===== */
.timeline{
  scroll-snap-type: y mandatory;
}

.frame{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  scroll-snap-align: start;
  padding: clamp(16px, 4vw, 56px) 0;
  gap: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ===== IMÁGENES TODAS DEL MISMO TAMAÑO ===== */
.frame-media{
  width: 100%;
  height: 85vh;          /* ajusta si quieres */
  overflow: hidden;
  position: relative;
}

.frame-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== Texto negro en el bloque de copy ===== */
.frame-copy{
  max-width: 720px;
  color:#111;
}

.frame-copy h3{
  font-size: clamp(20px, 3vw, 36px);
  margin: 0 0 .5rem;
  color:#000;
}

.frame-copy p{
  opacity:.9;
  font-size: clamp(16px, 1.8vw, 18px);
}

/* ===== CTA "VER PROYECTO" subrayado ===== */
.frame-copy .ver-proyecto{
  margin-top: 14px;
}

.frame-copy .ver-proyecto a{
  display: inline-block;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  border-bottom: none !important;
  padding-bottom: 0;
}

.frame-copy .ver-proyecto a:hover{
  opacity: .75;
}

/* ===== 2 columnas en desktop ===== */
@media (min-width: 992px){
  .frame{
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
    gap: clamp(24px, 4vw, 64px);
  }
  .frame-media{ order:1; }
  .frame-copy{ order:2; }
}

/* ===== Suavizado del scroll ===== */
html{
  scroll-behavior: smooth;
}

/* ===== Aislamientos ===== */
.timeline{
  /* no pongas isolation:isolate aquí */
}

.site-header,
header.site,
.elementor-location-header{
  isolation:isolate;
}

/* ===== Fondo blanco opcional para texto ===== */
@media (min-width: 992px){
  .frame-copy.is-card{
    background:#fff;
    padding: clamp(16px,2vw,28px);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  }
}

/* ===== Z-index header / overlay ===== */
.elementor-location-header{
  position: relative;
  z-index: 10000;
}

.year-overlay{
  z-index: 9999;
}

/* ===== Año más pequeño SOLO en móvil ===== */
@media (max-width: 767px){
  .year-overlay #yearOverlay{
    font-size: 138px !important;
    line-height: .9 !important;
  }
}/* End custom CSS */