@charset utf-8;
/*
Theme Name: LUNA
Author: Code by Ricardo Juárez for Jonay P Matos
Author URI: http://rjvv.com/
Version: 1.0
License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html
Copyright: (c) 2025 Ricardo Juárez
*/



:root 	{
  --sans: "Beiruti", sans-serif;

--big: clamp(30px, 5vw, 70px);
  --medium: 32px;
  --mediano: 22px;
  --body: 18px;

  --linebig: 0.9;
  --linemedium: 36px;
  --linebody: 20px;

  --lsbig: -0.01em;
  --lsmedium: 0.05em;
  --lsbody: 0.05em;

--header:76px;
	--primary:#FFFFFF;
	--contrast: #000000;
	--accent:rgba(0,0,0,0.4);

--dis:"Beiruti", sans-serif;
	--primaryrgb:255,255,255;
	--contrastrgb:0,0,0;
	
	--grey: rgba(0,0,0,0.4);
	--pad:20px;
	--padb: 60px;
	--padh: 100px;

	 --real100: 100vh;
}

.about-image{
	height: 80vh;
	
	& img{
		object-fit:contain;
		height: 100%;
	}
}

.dis{
	font-weight: 400;
	font-family: var(--dis);
	text-transform: uppercase;
}

.post-content a, .post-content strong{
	display: inline-block;
}

.block__caption{
	padding: 10px;
}
.block--framed{
	padding:10vw;
}

.block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pad);
    padding: var(--padh);
    justify-content: center;
}

.gallery-item {
    flex: 0 0 calc(20% - var(--pad) * 4 / 5);
}
/* ── VIDEO BLOCK ──────────────────────────────────────────────── */

.block-video {
    position: relative;
}
.poster-cont{
	position: relative;
	cursor: none;
}

/* táctil: sin cursor custom, controles nativos del reproductor */
@media (hover: none), (pointer: coarse) {
    .block-video,
    .poster-cont,
    .block-video__play,
    .block-video video {
        cursor: auto;
    }
    /* el label no sigue al dedo: fijo y centrado sobre el poster */
    .block-video__cursor-label.is-static {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

video {
    display: block;
    width: 100%;
    height: auto;
}


/* ── GALLERY CURSOR ───────────────────────────────────────────── */

.block-gallery {
    position: relative;
    cursor: none;
}

.gallery-cursor {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: opacity .2s ease;

    /* ajusta a tu sistema — mismo círculo que play */
    width: var(--padh);
    height: var(--padh);
    border-radius: 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-cursor.is-visible {
    opacity: 1;
}


/* ── play overlay ── */

.block-video__play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity .3s ease;
}

.block-video__play.is-hidden {
    cursor: none;
    opacity: 0;
    pointer-events: none;
}
.block-video__play.is-hidden img{
    pointer-events: none;
}
.block-video__play.is-hidden + video{
   cursor: none;
}
.block-video__play img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* el cursor label visible sobre el poster antes de reproducir */
.block-video:hover .block-video__cursor-label {
    /* no forzamos is-visible aquí, lo maneja el JS */
}

/* play overlay: cursor none siempre, el círculo lo pone el JS */
.block-video__play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity .3s ease;
    cursor: none;
}
#overlay-work .overlay__close.boton{
	display: none !important;
}

.block-video__play.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.block-video__play img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* quitar la regla de .block-video__play-text — ya no existe en el markup */

.block-video__play-text {
    position: absolute;
    width: var(--padh);
    height: var(--padh);
    border-radius: 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}




.single .cover-single {
	cursor: none;
    position: relative; /* importante: el .more-info se posiciona respecto a esto */
}


/* modo cursor: sigue al ratón */
.more-info.is-cursor {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    width: var(--padh);
    height: var(--padh);
    border-radius: 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-info.is-cursor.is-visible {
    opacity: 1;
}

.more-info,
.block-video__cursor-label{
    position: absolute;
    z-index: 10;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .2s ease;

    /* mismas dimensiones y forma que el play button */
    width: var(--padh);
    height: var(--padh);
    border-radius: 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-video__cursor-label.is-visible {
    opacity: 1;
}


/* ── LIGHTBOX ─────────────────────────────────────────────────── */

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:  rgba(255,255,255,0.5);
  backdrop-filter:blur(6px);
    align-items: center;
  justify-content: center;
}

.lb-overlay.is-open {
  display: flex;
}



body.lb-open {
  overflow: hidden;
}

.lb-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* ── track + slides ── */

.lb-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.lb-slides {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}

.lb-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem;
}

.lb-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ── buttons ── */

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: .5rem;
  z-index: 1;
  opacity: .6;
  transition: opacity .2s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  opacity: 1;
}

.lb-close:disabled,
.lb-prev:disabled,
.lb-next:disabled {
  opacity: .2;
  cursor: default;
}

.lb-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }




img, .overlay-title,
video {
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto; /* optional, keeps hover/click working */
}

*{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
     -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;

}


html, body
{
	scroll-behavior: smooth;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  margin:0;
font-size:100%;
width:100%;
     }
     
     	html { margin-top: 0px !important; }
	* html body { margin-top: 0px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 0px !important; }
		* html body { margin-top: 0px !important; }
	}
	
	
	
	.cover-img img, .cover-img video{
		object-fit:cover;
		height: 100%;
	}


.cover-single{
	height: calc(var(--real100) - var(--header));
	position: relative;
	margin-top: var(--header);
}

  
  .cover-item{
	  cursor: pointer;
  }

.page-template-default{
	background-color: var(--accent);
}



body {
margin:0;
min-height: var(--real100);
-moz-osx-font-smoothing: grayscale; 
text-rendering:geometricPrecision;
-webkit-font-smoothing: antialiased;
color: var(--contrast);
background-color: var(--primary);
    font-style: normal;
transition: background 0.5s ease;
font-family: var(--sans);
  font-size: var(--body);
  line-height: var(--linebody);
  letter-spacing: var(--lsbody);
}
#main{
}



.big {
  font-family: var(--sans);
  font-size: var(--big);
  line-height: var(--linebig);
  letter-spacing: var(--lsbig);
}
.body, .page-content h4{
  font-size: var(--body);
  line-height: var(--linebody);
  
  letter-spacing: var(--lsbody);
}  
.locations-text h2{
	margin-bottom: 40px;
}
.locations-text h2,
.page-content p,
.medium {
  font-family: var(--sans);
  font-size: var(--medium);
  line-height: var(--linemedium);
  
  letter-spacing: var(--lsmedium);
}

.mediano {
  font-family: var(--sans);
  font-size: var(--mediano);
  
  letter-spacing: var(--lsmedium);
}
.page-content p{
	margin-bottom: var(--pad);
}
.page-content h4{
	margin-top: calc(var(--pad) * 2);
}
.body {
  font-family: var(--sans);
  font-size: var(--body);
  line-height: var(--linebody);
  
  letter-spacing: var(--lsbody);
}

.single-post .gallery{
padding-top: calc(var(--padh) / 2 + var(--padh));}

.media-item{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 50%;
	}
	.media-item.vertical img,	.media-item.vertical video{
		object-fit:contain;
		height: 100%;
	}
.media-item.vertical{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: calc(100% / 3);
		max-height: calc(80vh - var(--header) - var(--pad));
	}
.media-item.layout-big.horizontal{
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 83%;
	}
.media-item.layout-big.vertical{
	max-height: calc(var(--real100) - var(--header) - var(--pad));
	margin: 0 auto calc(var(--padh) / 2 + var(--padh));
	width: 50%;
	}
.media-item.layout-full{
	width: 100% !important;
	}


h1, h2, h3, h4, h5, h6{
	margin-bottom: 0;

  all: unset;
display: inline-block;
}
.justify{
	text-align: justify;
}
header{
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
position: fixed;
top: 0;
display: flex;
background-color: var(--primary);
padding: var(--pad) 40px;
width: 100%;
z-index: 9999;
	justify-content: space-between;
}



strong, b, i, em{
font-weight: normal;
font-style: normal;
}
.logo img{
	width: 100%;
	height: auto;
	padding: 0 var(--padh);
}

.locations-text{
	width: 100vw;
	height: var(--real100);
position: absolute;
	z-index: 2;
	color: var(--primary);
	padding: 80px 40px;
	}




.logo{
	width: 100vw;
	height: var(--real100);
position: absolute;
	display: flex;
	cursor: pointer;
	justify-content:  center;
	align-items: center;
	z-index: 2;}

.cover-media-full{
	width: 100vw;
	height: var(--real100);
	position: relative;
}
.cover-media-full video, .cover-media-full img{
	object-fit:cover;
	height: 100%;
}

.page-content{
	padding: calc(var(--pad) * 4) calc(var(--pad) * 2); 
}

	
.overlay__close{
	top:var(--pad);
	right: calc(var(--pad) * 2);	
	    width: var(--padb);
    height: var(--padb);
    border-radius: 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
font-size: 40px;
}	

	.boton{
		border-radius: 100px;
			z-index: 999999;
	color: var(--contrast);

	position: fixed;
	padding: calc(var(--pad) / 2) var(--pad);
	background: white;
}
.work-list a{
	padding: calc(var(--pad) / 2) var(--pad);
	background: white;
	transition: all 0.3s ease;
	line-height: 1.7;
	 -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.menu .active{
	opacity: 0.5;
}
.menu *, a, .boton{
	transition: color 0.3s ease;
}
#overlay-work {
    z-index: 5;
}


#overlay-work {
  overflow: hidden;
}
#overlay-work .work-list {
  height: var(--real100);
  overflow-y: auto;
  align-items: flex-start;
}
.work-list{
	display: flex;
		width: 100%;
  z-index: 999;
  bottom: 0;
	padding: calc(var(--header) + var(--padb)) var(--padb);
}

#overlay-work .work-list {
  max-height: var(--real100);
  overflow-y: auto;
  align-items: flex-start;
}
#overlay-work .work-list ul {
  margin-top: auto;
  margin-bottom: auto;
}


.work-list ul {
  display: grid;
  grid-template-rows: repeat(5, auto); /* defines cuántas filas */
  grid-auto-flow: column;
  gap: 54px;
  max-width: 1200px;
  margin: 0px auto;
  width: 100%;
}
.work-list li:nth-of-type(3n){
	margin-left: auto;
}

.textos-list{
	margin: 40px 0 !important;
}
.textos-list a{
	text-decoration: underline;
	padding: 2px 0;
}

#overlay-work.overlay{
	color: var(--contrast);
}

.overlay{
	color: var(--primary);
	position: fixed;
  z-index: 9999;
  top: 0;
  overflow: auto;
  left: 0;
  width: 100vw;
  height: var(--real100);
  background:  #00000099;
  backdrop-filter:blur(6px);

}
.wpcf7 form .wpcf7-response-output{
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.overlay-col,
.info-col{
	width:100%;
	max-width: 1440px;
	margin: 0 auto;
	color: var(--primary);
	display: flex;
	flex-direction: column;
	gap:40px;
	justify-content: center;
	padding: var(--padb) var(--padb);
}
.info-col{
	max-width: 960px;
	min-height: var(--real100);
}

footer{
	margin-bottom: var(--header);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.footer{
	align-items: baseline;
	display: flex;
	gap:var(--padb);
	justify-content: center;
	position: absolute;
	width: 100%;
	bottom: var(--pad);}

.uppercase{
	text-transform: uppercase;
}
.tright{
	justify-content: flex-end;
	text-align: right;
}
.tcenter{
text-align: center;}

.grid-2{
	gap:var(--padh);
	display: grid;
	align-items: center;
	grid-template-columns: repeat(2, 1fr);
}
.grid-2-alt{
	gap:var(--padb);
	display: grid;
	padding-bottom: var(--padb);
	grid-template-columns: 1fr 3fr;
}
.overlay-col{
	padding: var(--padh) var(--padb);
min-height: var(--real100);	
}


.sticky{
	position: sticky;
	top:var(--padh);
	height: fit-content;
}


.page-template-work #main *:last-child,
.page-template-home #main *:last-child{
	padding-bottom: 0;
}

.page-template-about #main{
	min-height: var(--real100);
}


.page-template-work footer,
.page-template-home footer{
	margin-top: calc((var(--padh) * 2) * -1);
}




.works-grid {
  padding: calc(var(--padh) * 2) var(--padb);
}
.grid-sizer,
.work-item { width: calc((100vw - var(--padh) - var(--padb) - var(--padb)) / 2); }




.work-item{
margin-bottom: calc(var(--padh) * 2);
}
.featured-title{
	margin-left: var(--pad);
}
.featured-post a{
	width: 100% !important;
	display: block;
}
.featured-post{
	margin-bottom: var(--padh);
}
.single h1{
	position: absolute;
  left: 40px;
  top:40px;
	line-height: 0.9;
	  font-size: var(--big);
  color: white;
}
.black{
	color: black !important;
}
.work-item a{
	display: block;
}
.flex-cv{
	margin: 20px 0 40px;
	display: flex;
	gap:20px;
	align-items: center;
}

.work-item.col1 a{
	margin-left: auto;
}
.work-item.col2 a{
	margin-right: auto;
}

.caption{
	margin-top: var(--pad);
}

.medium-size.vertical a{
	width: 50%;
}
.big-size.vertical a{
	width: calc(100% * 0.67);
	margin-left: auto;
	margin-right: auto;
	}
.medium-size.horizontal a{
	width: calc(100% * 0.67);
	}

.filters-toggle,
.filters {
  display: none;
}
.filters-toggle.open,
.filters.open {
  display: flex;
}

.filters-cont *{ color: white;}
.filters {  gap:.75rem; list-style:none; padding:0; margin:0; }
.filters li { cursor:pointer; opacity:.6; }
.filters li.active { opacity:1;  }

.js-masonry { position: relative; }     /* container must be relative */
.work-item { 
  opacity: 1; 
  transition: opacity .3s ease;         /* only opacity here */
  will-change: opacity; 
}
.work-item.is-hiding { opacity: 0; }


.filters-cont{
	mix-blend-mode: difference;
		position: fixed;
	z-index: 999999;
	top:var(--pad);
	right: calc(var(--pad) * 2);
}


.wrap{
	flex-wrap: wrap;
}
.padded{
	padding:var(--pad);
}

.full{
	width: 100%;
	height: var(--app-height);
	height: var(--real100);
}
	
/* MENU */

.absolute-menu *{
	color: white;
}
.absolute-menu{
	mix-blend-mode: difference;
	position: absolute;
	z-index: 9999;
	top:0;
	left: 0;
	padding: var(--pad);
	width: 100vw;
}

.menu{
	display: flex;
	gap:calc(var(--pad) * 2);
}

[id^="menu-main"]{
	display: flex;
	gap:calc(var(--pad) * 2);
	width: 100%;
	justify-content: flex-end;
}
[id^="menu-main"] li a{
}

.icon-menu, .icon-close{
	display: inline-block;
	    font-size: 24px;
	    cursor: pointer;
}
.inverter{
	    mix-blend-mode: difference;
	    color:var(--primary);
position: fixed;
z-index: 99999999
	
}

video{
	width: 100%;
}
.cover-media { display:block; width:100%; height:100%; }

.mobile-menu.icon-close{
	color: var(--contrast);
}



.icon-close{
	    mix-blend-mode: difference;
	    color:var(--primary);
position: fixed;
z-index: 99999;
top:var(--padm);
right:var(--padb);	
	}

.menu-hover{
	overflow: hidden;
transition: all 0.3s ease;
pointer-events: none;
	position: fixed;
	width: 100%;
	height: 0;
	top: 0;
	background-color: var(--accent);
z-index: 9999999;}
.menu-int{
		    height: var(--app-height);
padding: var(--pad) var(--pad) 0;
    width: 100%;
    display: flex;
    flex-direction: column;
justify-content: flex-end;
  align-items: flex-start;
}
.menu-int [id^="menu-main"]{

}

.menu-int [id^="menu-main"] a{
display: inline-block;
}

.menu-hover.appear{
	    height: var(--app-height);
pointer-events: all;}



.blocks{
	display: flex;
	flex-direction: column;
	gap:90px;
	padding: var(--padb);
}
s
.post-content p,
.post-content h2,
.post-content h3,
.post-content ul,
.post-content ol,
.post-content blockquote {
margin-bottom: var(--pad);
width: 100%;
}
.post-content *:last-child{
	margin-bottom: 0;
}
p{
	margin-top: 0;
}

.current-menu-item {
}

.no-scroll {
  overflow: hidden;
  height: var(--real100);
}


body.no-scroll {
  overflow: hidden;
}


.covers{
	margin-top: -10vh;
	position: fixed;
	width: 100vw;
	height: var(--real100);
	top: 0;
	left: 0;
	z-index: 1;
}

.cover-hover.hidden {
  display: none;
}


/* INPUTS */
input[type="checkbox"]
{
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     height: 0px;
     border-radius: 0;
     width: 0px;
     cursor: pointer;     
     outline: none;
     border: none;
     margin: 0;
}

input[type="checkbox"]:checked + label{
	color: #444444;
}
input[type="checkbox"]:hover
{
     background-color: var(--contrast);
}
input[type="checkbox"]:checked
{
background-color: var(--contrast);
}

input[type="submit"]{
	  font-size: var(--body);
	 -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     font-family: var(--sans);

     border: none;
     cursor: pointer;
     cursor: pointer;
     outline: none;
padding: 8px 22px;
background: var(--primary);
border-radius: 30px;
}


input[type="text"],
input[type="tel"], 
input[type="email"], 
input[type="password"],
select,
textarea{
	flex: 1;
	  font-size: var(--body);
	padding: 10px 0px 5px;
	 -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     background-color: transparent;
     font-family: var(--sans);
     color: var(--primary);
     border: none;
     border-bottom: 1px solid var(--primary);
     border-radius: 0px;
     outline: none;
     resize: none;
}
input[type="text"]:focus,
input[type="tel"]:focus, 
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus{
} 





/* ── BG SLIDER ───────────────────────────────────────────────── */

.bg-slider {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-slider__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.bg-slider__item.is-active {
    opacity: 1;
}

/* ── COVERS LIST (hover) ─────────────────────────────────────── */

.covers-list {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.covers-list *{
    pointer-events: none;
	
}

.covers-list.is-visible {
    opacity: 1;
}

.covers-list__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s ease;
}

.covers-list__item.is-active {
    opacity: 1;
}

/* ── cover-single fill ───────────────────────────────────────── */
/* para que cover_single ocupe todo el contenedor en ambos contextos */

.bg-slider__item .cover-single,
.covers-list__item .cover-single {
    position: absolute;
    inset: 0;
    margin: auto 0 0;
}

.bg-slider__item .cover-media,
.covers-list__item .cover-media {
    position: absolute;
    inset: 0;
}

.bg-slider__item .cover-media video,
.bg-slider__item .cover-media img,
.covers-list__item .cover-media video,
.covers-list__item .cover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* oculta el título dentro del slider y covers-list
   — el título va en el work-list, no en el fondo */
.bg-slider__item .cover-title,
.covers-list__item .cover-title {
    display: none;
}

@media all and (-ms-high-contrast:none){}