.elementor-7939 .elementor-element.elementor-element-a9fde8e{--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-7939 .elementor-element.elementor-element-88908f8{--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-7939 .elementor-element.elementor-element-7fe8185{--display:flex;}.elementor-7939 .elementor-element.elementor-element-14a3553{--display:flex;}.elementor-7939 .elementor-element.elementor-element-6eec962{--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-7939:not(.elementor-motion-effects-element-type-background), body.elementor-page-7939 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-7939 .elementor-element.elementor-element-7fe8185{--width:30%;}.elementor-7939 .elementor-element.elementor-element-14a3553{--width:70%;}}/* Start custom CSS *//* =========================================================
   TIPOGRAFÍAS (cambia los nombres según tus fuentes reales)
   ========================================================= */
.frame-copy h3{
  font-family: "Denton", sans-serif;
  font-weight: 300;                  /* o 400 si en el @font-face pusiste 400 */
  font-size: clamp(26px, 3vw, 48px);
  margin: 0 0 .5rem;
  color:#000;
}



/* ===== Overlay del año centrado con blend ===== */
.year-overlay{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}
.year-overlay #yearOverlay{
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: .8;
  font-size: clamp(72px, 20vw, 220px);
  color: #fff;
  -webkit-text-stroke: 1px rgba(255,255,255,.15);
  text-shadow: 0 0 2px rgba(0,0,0,.1);
}

/* ===== 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);
}

/* ==== Tamaño uniforme de imágenes en el timeline ==== */
.frame-media{
  position: relative;
  width: 100%;
  height: 80vh;           /* todas las fotos misma altura */
  overflow: hidden;
}
.frame-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* recorte bonito */
  object-position: center center;
  display: block;
}

/* En móviles, un poco más bajo para que no coma toda la pantalla */
@media (max-width: 767px){
  .frame-media{
    height: 60vh;
  }
}

/* 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;     /* subrayado real */
  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; }

/* Importante: NO aislar el blend en el timeline */
.timeline{ /* no pongas isolation:isolate aquí */ }

/* Si el header se “ensucia” con el blend, aíslalo solo a él */
.site-header, header.site, .elementor-location-header{ isolation:isolate; }

/* (Opcional) Si alguna foto hace que el texto negro no se lea,
   dale un fondo blanco solo al bloque de 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);
  }
}

/* Pon el header por encima del overlay */
.elementor-location-header{ position: relative; z-index: 10000; }

/* Deja el overlay por debajo del header */
.year-overlay{ z-index: 9999; }/* End custom CSS */