@import url("fonts/helvetica/stylesheet.css");
@import url("about.css");
@import url("process.css");
/*Config general*/
.btn-about{
    background-color: transparent;
    color: #7d7d7d;
    border:1px solid #7d7d7d;
    border-radius: 20px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 16px;
    font-family: 'Helvetica Now Display';
    font-weight: 300;
    font-style: normal;
}
.btn-about:hover{
    background-color: transparent;
    color: #fff;
    border:1px solid #fff;
    border-radius: 20px;
    padding-left: 25px;
    padding-right: 25px;
}

.preloader {
  z-index: 9999;
  background-color: #191919;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: none;
  position: fixed;
  inset: 0% 0% auto;
  overflow: hidden;
}

.preloader-container {
  width: 100%;
}

.preloader-padding {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.preloader-wrapper {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.preloader-logo-overflow {
  margin-bottom: 2rem;
  overflow: hidden;
}

.preloader-logo {
  height: 2rem;
}

.preloader-line {
  background-color: #fff1;
  border-radius: 50px;
  width: 25%;
  max-width: 30rem;
  height: 3px;
  overflow: hidden;
}

.preloader-progress-bar {
  background-color: #fff;
  border-radius: 50px;
  width: 50%;
  height: 100%;
}
/*INTRO*/
.intro{
  background-color:#F8F7F4;
  width: 100%;
  height: 100vh;
  padding-top: 20px;
  display:none;
  z-index: 10000;
}

.menu .nav-sup{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12000;       /* más que .menu-full */
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 0px;
  font-family: 'Helvetica Now Display';
  font-weight: 500;
  font-style: normal;
}


.menu .copy-intro{
    color: #7d7d7d;
    font-family: 'Helvetica Now Display';
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding-left: 25px;
    padding-right:25px;
}
.text-brand {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 30%; 
    font-family: 'Helvetica Now Display';
    color: #191919; 
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    text-align: center;
}
/* MENU FULLSCREEN */
.menu-full{
  position: fixed;
  inset: 0;
  background:#191919;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 11000; /* encima del intro */
}
/* GRID de 3 cortes horizontales */
.menu-full .stripes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  z-index: -1;
}

/* Cada stripe */
.menu-full .stripes span {
  background: #111;
  transform: translateX(0);
  opacity: 1;
  transition: transform .8s ease, opacity .8s ease;
}

/* ===== Direcciones al abrir ===== */
.menu-full .stripes span:nth-child(1) {
  transform: translateX(100%); /* derecha → izquierda */
}
.menu-full .stripes span:nth-child(2) {
  transform: translateX(-100%); /* izquierda → derecha */
}
.menu-full .stripes span:nth-child(3) {
  transform: translateX(100%); /* derecha → izquierda */
}

/* ===== Al activar el menú ===== */
.menu-full.is-open .stripes span {
  transform: translateX(0);   /* entran y cubren la pantalla */
  opacity: 1;
}

/* ===== Al cerrar el menú ===== */
.menu-full.is-open.closing .stripes span:nth-child(1) {
  transform: translateX(-100%); /* se van al lado opuesto */
  opacity: 0;
}
.menu-full.is-open.closing .stripes span:nth-child(2) {
  transform: translateX(100%);
  opacity: 0;
}
.menu-full.is-open.closing .stripes span:nth-child(3) {
  transform: translateX(-100%);
  opacity: 0;
}

/* retrasos al entrar */
.menu-full.is-open .stripes span:nth-child(1) { transition-delay: .0s; }
.menu-full.is-open .stripes span:nth-child(2) { transition-delay: .2s; }
.menu-full.is-open .stripes span:nth-child(3) { transition-delay: .3s; }



.menu-full.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.menu-list{
  list-style:none;
  margin:0;
  padding:0;
  text-align:center;
}

.menu-list a{
  position: relative;
  display:inline-block;
  font-family: 'Helvetica Now Display', sans-serif;
  font-weight: 500;
  letter-spacing:.06em;
  font-size: clamp(2rem, 6vw, 4.5rem);
  color:#fff;
  text-decoration:none;
  line-height:1.2;
  overflow: hidden;
}

.menu-list a:hover{ opacity:0.8;}

/* Dos capas de texto: base + la que empuja desde abajo */
.menu-list a::before,
.menu-list a::after{
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  transition: transform .8s ease, opacity .8s ease;
}

/* Texto base (visible al inicio) */
.menu-list a::before{
  top: 0;
  transform: translateY(0);
  opacity: 1;
}

/* Texto que entra desde abajo */
.menu-list a::after{
  top: 0;
  transform: translateY(100%);
  opacity: 0;
}

/* Hover: el de abajo sube y parece empujar al otro */
.menu-list a:hover::before{
  transform: translateY(-100%);
  opacity: 0.8;   /* efecto “ghost” */
}

.menu-list a:hover::after{
  transform: translateY(0);
  opacity: 0.8;   /* aquí tu opacidad 0.8 */
}


.menu-social{
  display:flex;
  gap:.75rem;
}
.menu-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px; height:50px;
  background:#2d2d2d;
  color:#fff;
  text-decoration:none;
  font-size:30px;
}

/* Bloquear scroll cuando el menú está abierto */
body.menu-open{ overflow:hidden; }

/* (opcional) cursor sobre el icono */
.menu-icon{ cursor:pointer; }

/* ===== Animación de entrada para cada li ===== */

.menu-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

/* Cuando el menú está abierto, los <li> entran escalonados */
.menu-full.is-open .menu-list li {
  opacity: 1;
  transform: translateY(0);
}

.menu-full.is-open .menu-list li:nth-child(1) { transition-delay: .3s; }
.menu-full.is-open .menu-list li:nth-child(2) { transition-delay: .6s; }
.menu-full.is-open .menu-list li:nth-child(3) { transition-delay: .9s; }
.menu-full.is-open .menu-list li:nth-child(4) { transition-delay: 1.2s; }
.menu-full.is-open .menu-list li:nth-child(5) { transition-delay: 1.5s; }

/* Redes sociales (si quieres animarlas también) */
.menu-social a {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.menu-full.is-open .menu-social a {
  opacity: 1;
  transform: translateY(0);
}

.menu-full.is-open .menu-social a:nth-child(1) { transition-delay: 1.2s; }
.menu-full.is-open .menu-social a:nth-child(2) { transition-delay: 1.8s; }
/* Texto + icono del menú en blanco cuando el overlay está abierto */
body.menu-open .menu .nav-sup a,
body.menu-open .menu .nav-sup .menu-icon {
  color: #fff !important;
}

/* Logo en blanco (si tu logo es oscuro en PNG/SVG) */
body.menu-open .menu .nav-sup .logo {
  filter: invert(1) brightness(2);
}

/* Opcional: darle fondo al nav cuando el menú está abierto */
body.menu-open .menu .nav-sup{
  background: transparent !important; /* o #111 si lo quieres sólido */
}
/* Contenedor del marquee */
.marquee {
    width: 100%;
    height: 300px;
    position: absolute;
    top: 50%;                /* lo colocamos a media pantalla */
    left: 50%;
    transform: translate(-50%, -50%); /* centrado perfecto */
    overflow: hidden;
}

/* Texto que se mueve */
.marquee div {
    white-space: nowrap;
    display: inline-block;
    animation: marquee-osc 30s ease-in-out infinite;
}

.marquee span {
    font-family: 'Helvetica Now Display', sans-serif;
    font-size: 200px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    color: #191919;
    display: inline-block;
    padding-right: 2rem; /* separación al final del texto */
}

/* Animación ida y vuelta */
@keyframes marquee-osc {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(-68%); } /* llega al centro o punto máximo */
    100% { transform: translateX(0); }
}
.blob-wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  pointer-events: none;
  z-index: 5;
}

.blob-3d{
  width: 100%;
  animation: blob-float 2s ease-in-out infinite alternate;
}

@keyframes blob-float{
  from { transform: translateY(0px); }
  to   { transform: translateY(-40px); }
}
/*ABOUT*/
.about-section{
    background-color: #191919;
    padding-top: 100px;
    padding-bottom: 10px;
}
.about-section h2{
    color: #fff;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:72px;
    font-style: normal;
    font-weight: 500;
}
.about-section h2 span{
    opacity: 0.7;
}
/*WORK*/
.work-section
{
    background-color: #191919;
    padding-top: 90px;
    padding-bottom: 50px;
}
.work-section .work-title{
    color: #f8f7f4;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:150px;
    font-style: normal;
    font-weight: 500;
    line-height: 110px;
}
.work-section .icon-red{
    color: #ff3a30;
    position: relative;
    font-size: 20px;
    bottom: 90px;
    left: -25px;
}
.work-section .icon-linea{
    padding-right: 5px;
}
.work-section .icon-linea:after{
    content: "—";
}
.work-section img{
    position: relative;
    top: 90px;
    bottom: 0px;
}

.portfolio-list {
    display: block;
}

/* Cada proyecto ocupa al menos una pantalla completa */
.portfolio-item {
    position: relative;
    min-height: 50vh;     /* o 100vh si quieres menos */
    padding-bottom: 50px; /* espacio para que el texto baje */
    margin-bottom: 0;      /* ya no hace falta */
    position: sticky;
    top:0;  
    z-index: 1;
}
.portfolio-item:nth-child(1) { z-index: 1; }
.portfolio-item:nth-child(2) { z-index: 3; }
.portfolio-item:nth-child(3) { z-index: 4; }
.portfolio-item:nth-child(4) { z-index: 4; }
.portfolio-item:nth-child(5) { z-index: 5; }
/* La imagen es la que se queda fija */

.portfolio-box {
    text-decoration: none;
    overflow: hidden;
}
.portfolio-thumb-box {
    flex-flow: column;
}
.portfolio-thumb-box img:hover{
    transform: scale(1.02);
    transition: opacity .5s ease, transform .5s ease;
}
.s-inline-block {
    max-width: 50%;
    overflow: hidden;
}
.portfolio-content {
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 100px 50px 20px;
    background-color: #191919;
}
.portfolio-title{
    color: #f8f7f4;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:30px;
    font-style: normal;
    font-weight: 500;
}
.portfolio-title .icon-red{
    color: #ff3a30;
    position: relative;
    font-size: 10px;
    bottom: 10px;
    left: -5px;
}
.portfolio-service{
    color: #7d7d7d;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:30px;
    font-style: normal;
    font-weight: 500;
}

/*Services*/
.services-section
{
    background-color: #191919;
    padding-top: 50px;
    padding-bottom: 50px;
}
.services-section .services-title{
    color: #f8f7f4;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:150px;
    font-style: normal;
    font-weight: 500;
    line-height: 110px;
}
.services-section .icon-red{
    color: #ff3a30;
    position: relative;
    font-size: 20px;
    bottom: 90px;
    left: -25px;
}
.services-section .icon-linea{
    padding-right: 5px;
}
.services-section .icon-linea:after{
    content: "—";
}
.services-section img{
    position: relative;
    top: 40px;
    bottom: 0px;
}
/* TITULO Y NÚMERO (ya tienes esto, solo ajusto detalles) */
.services-section .service-title h2{
    color: #f8f7f4;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:80px;
    font-style: normal;
    font-weight: 500;
    transition: color .3s ease, transform .3s ease;
}

.services-section .service-title h2:hover{
    color: #7d7d7d;
    transform: translateX(20px);
}

.services-section .service-number{
    color: #7d7d7d;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:32px;
    font-style: normal;
    font-weight: 500;
    position: relative;
    bottom: 35px;
}

/* LISTA GENERAL */
.services-list{
    padding-top: 100px;
    padding-bottom: 50px;
}

/* ITEM */
.service-item{
    padding: 20px 0;
    border-bottom: 1px solid #2d2d2d;
    transition: border-color .3s ease, background .3s ease;
}

.service-item.is-open{
    background: #191919;
    border-bottom-color: #f8f7f4;
}

/* CONTENIDO (acordeón) */
.service-item .service-content{
    padding-right: 150px;
    padding-top: 10px;
    font-size: 26px;
    color: #f8f7f4;    
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition:
      max-height .4s ease,
      opacity .4s ease,
      transform .4s ease;
}

/* cuando está abierto */
.service-item.is-open .service-content{
    max-height: 300px;   /* ajusta según tu texto */
    opacity: 1;
    transform: translateY(0);
}

/* BOTÓN +/– */
.btn-toggle{
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: none;
    background: #2d2d2d;
    color: #7d7d7d;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
    margin-top: 20px;
}

.btn-toggle:hover{
    background: #7d7d7d;
    color: #f8f7f4;
}

.service-item.is-open .btn-toggle{
    background: #2d2d2d;
}
/*trabaja con nosotros*/
.work-together-section
{
    background-color: #191919;
    padding-top: 10px;
    padding-bottom: 50px;
}
.work-together-section .linea-work-together{
    padding-top: 50px;
    height: 1px;
    border-bottom: 1px solid #2d2d2d;
}
.work-together-section .copy-intro{
    color: #7d7d7d;
    font-family: 'Helvetica Now Display';
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    bottom: 20px;
    width: 100%;
}
.work-together-section .work-together-title{
    color: #f8f7f4;
    font-family: 'Helvetica Now Display', sans-serif;
    font-size:200px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    padding-top: 20px;
}
.work-together-section .btn-contact-infinite{
    margin-top: -320px;
    animation: rotate-animation 10s linear infinite;
}



@keyframes rotate-animation{
  from { transform: rotate(0deg)}
  to   { transform: rotate(360deg); }
}
/*FOOTER*/
footer{
    background-color: #191919;
    padding-top: 10px;
    padding-bottom: 100px;
}
.linea-work-together{
    width: 100%;
    height: 1px;
    background-color: #2d2d2d;
    margin-top: 0px;
    margin-bottom: 150px;
}
footer .marquee-footer {
    width: 100%;
    height: 250px;
    position: relative;
    left:50%;
    transform: translate(-50%, -50%); /* centrado perfecto */
    overflow: hidden;
}

/* Texto que se mueve */
footer .marquee-footer div {
    white-space: nowrap;
    display: inline-block;
    animation: marquee-osc 30s ease-in-out infinite;
}

footer .marquee-footer span {
    font-family: 'Helvetica Now Display', sans-serif;
    font-size: 200px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    color: #303030;
    display: inline-block;
    padding-right: 2rem; /* separación al final del texto */
}
footer .copy-foot{
    color: #7d7d7d;
    font-family: 'Helvetica Now Display';
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    bottom: 20px;
    width: 100%;
}

footer .menu-footer{
    padding-top: 50px;
    text-align: center;
}
footer .menu-footer li{
    display: inline-block;
    padding-right: 10px;
    padding-left: 10px;
    font-family: 'Helvetica Now Display';
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
}
footer .menu-footer li:first-child{
    padding-right: 0;
}

footer .menu-footer li:last-child{
    padding-left: 0;
}
footer .menu-footer li a{
    color: #fff;
    text-decoration: none;
    list-style: none;
}
.menu-social-foot{
  display:flex;
  gap:.75rem;
}
.menu-social-foot-container{
    padding-top: 30px;
    padding-bottom: 30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.menu-social-foot a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px; height:50px;
  background:#2d2d2d;
  color:#fff;
  text-decoration:none;
  font-size:30px;
}
.back-to-top-container{
    padding-top: 10px;
  display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.back-to-top-button{
    border: 1px solid #d9d9d9;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;    
    width: 3rem;
    height: 3rem;
    text-decoration: none;
    color: #d9d9d9;
}
/* ===== MOVIL ===== */
@media (max-width: 767px){
    .intro .copy-intro{
        display: none;
    }
}
