:root{
--primary-color:red;
--nav-color:red;
--second-color: #f4f4f4;
--third-color: #2f2f2f;
--font-size-menu: 1.5rem;
--font-size-tit-prod: 2.2rem;
--font-size-bigger: 3.2rem;
}


* {box-sizing:border-box;
margin: 0;
padding: 0;
scroll-behavior: smooth;}

html {
  font-size: 62.5%;
}


/* Tipografía base */
body {
    margin: 0;
    font-family: "Titillium Web", sans-serif;
  }
  
  /* Header */
  header {
    background:var(--nav-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
  }

.fija {position: fixed; top: 80px; left: 40px;}

  
h1 {background-image: url(/imgs/destefano-logo-fdo-rj-250.png); width:100%; height:5rem; padding:1rem; background-repeat: no-repeat;}
h1 a{ width:32rem; height:5rem; height:61px; color: transparent !important; text-decoration:none !important;}

 /* .logo {
    font-weight: bold;
    color: var(--primary-color);
    padding: 1rem 0 0 2rem;
  }*/

  .img-pulse {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .img-pulse:hover {
    animation: pulse 2s ease forwards;

  }
  
  @keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.10); }
    100% { transform: scale(1); }
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 1rem 0 0;
    display: flex;
    align-items: center;
  }
  
  .main-nav ul li {
    position: relative;
    margin-right: 1.5rem;
    width: 100%;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #fff;
    font-size:var(--font-size-menu);
    font-weight: 600;
  }

  .main-nav a:hover {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
  }
  
.submenu {
    display: none;
    position: absolute;
    background: var(--third-color);
    width: 100%;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 94%;
    border-radius: 7px;
  }
 
.main-nav li:hover .submenu {
    display: block;
  }
  
  .submenu li {
    padding: 0.5rem 1rem;
  }

  .submenu ul {
    display: block;
  }
  
  /* Grid principal */
  .video-grid {
    display: flex;
    height: 78vh;
    margin-top: 80px;
  }
  
  .video-section {
    position: relative;
    flex: 1;
    overflow: hidden;
  }
  
  .video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-section:hover video {
    opacity: 0.45; /* o el valor que desees */
    transition: opacity 0.4s ease-in-out;
  }
  
  .video-section video {
    opacity: 0.7;
    transition: opacity 0.4s ease-in-out;
  }
  
  .logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }

/* VIDEO Empresa */
.video-portada {
  position: relative;
  overflow: hidden;
  width: 100vw;
}

.video-portada video {
  width: 100vw;
  height: auto;
  object-fit: cover;
  display: block;
}
  
  /* Colores */
  .izquierda { background: #000 }
  .derecha { background: #000; }
  
  /* WhatsApp */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    z-index: 1000;
    color: white;
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
  }

.btn-up {
  position: fixed;
  bottom: 108px;
  right: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  font-size: 24px;
  text-decoration: none;

  /*Sombras y transición*/
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.btn-up:hover {
  background-color: var(--primary-color);
}

.logos {
  display: inline-flex;
  align-items: center;
  align-items: anchor-center;
  width: 100%;
  padding: 2% 22%;
  justify-content: center;
}

.logos img{
  height: auto;
}
  
  /*Footer*/
  footer {
    background: var(--third-color);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .cta .boton-agendar {
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .video-grid {flex-direction: column;}
    .logo-overlay {font-size: var(--font-size-menu)}
    .main-nav ul {flex-direction: column;}
    .img-pulse {width: 269px;}
  
  }

  .hamburger {
    position: absolute;
    right:25px;
    display: none;
    background: none;
    border: none;
    font-size: 3.5rem;
    padding: 0.5rem;
    cursor: pointer;
    color:var(--second-color);}
    
     .hamburger:hover {color: #000;}
     .hamburger:active {color: gray;}


  .menu-button {
    font-size:1.8rem;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 1rem;
    color: var(--second-color);
    width: 100%;
    text-align: center;
  }

  .menu-button a{width: 100%;}
  .menu-button img{filter: brightness(0.1);}
  
  .has-submenu .submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0; /* Evita desplazamiento horizontal */
    margin: 0; }
  
  .has-submenu.open .submenu {
    max-height: 500px; /* Ajusta según necesidad */}
  .contacto  {line-height: 2.5rem; font-size: var(--font-size-menu);  color: #ccc; padding-left: 30px;}

  /* Responsive hamburger */
  @media (max-width: 1200px) {
    .hamburger {display: block;}
    .main-nav {
      display: none;
      flex-direction: column;
      width: 100%;
      background: #C60000;
      position: absolute;
      top: 80px;
      left: 0;
      z-index: 999;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);}
    .main-nav.active {display: flex;}
    .main-nav ul {flex-direction: column; padding:0;}
    .main-nav li {margin: 0;}
     header {display: flex; justify-content: center; padding: 0;}
    .main-nav ul li {margin-right: 0; text-align: center; height:5rem;}
    .grid-productos {padding: 2rem !important;}
}

@media (max-width: 1024px) {
  .grid-productos {display: grid; grid-template-columns: repeat(2, 1fr)!important;}
  .video-portada video {padding-top: 79px;}
  }

@media (max-width: 998px) {
.logo-principal {height: 34%!important;}
.logo-principal2 {height: 34%!important; right: 40rem!important;}
.logo-mini {height: 25%!important; position: absolute; bottom: 0; left: 2rem!important;}
  }

@media (max-width: 414px) {
h1 {background-image: url(/imgs/destefano-logo-fdo-rj-250.png); width:100%; height:5rem; padding:1rem; background-repeat: no-repeat; background-position: center; background-size: contain;}
.hamburger {right: 15px;}
}

  
 .video-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
  }
  
  .video-embed-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Evita que el usuario interactúe con el iframe */
  }



/* ESTILOS PARA EL INTERIOR */
/* HERO */
.hero {
  position: relative;
  height: 250px;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-principal {
position: absolute;
bottom: 4rem;
right: 10rem;
height: 45%;
}

.logo-principal2 {
position: absolute;
bottom: 4rem;
right: 50rem;
height: 45%;
}


.logo-mini {
height: 30%;
position: absolute;
bottom: 0;
left: 10rem;
}

/* NAV */
.productos-nav {
  text-align: left;
  padding: 2rem;
}
.productos-nav h2 {
  font-size: var(--font-size-tit-prod);
  padding: 2rem;
  font-size: 4rem;
  line-height: 4rem;
  color:var(--third-color);
}
.botones-nav a {
  color: var(--third-color);
  padding: 0.5rem 7rem;
  margin: 0 0.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: solid 5px #ccc;
  font-size: 2rem;
  line-height: 6rem;
}
.botones-nav a:hover {
  background-color:var(--third-color);
  color: var(--second-color);
}

/* ROTADOR + TEXTO */
.rotador-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 20rem;
  align-items: center;
}

.texto-rotador {
  flex: 1;
  min-width: 250px;
  font-size: 1.8rem;
}

.rotador {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  animation: deslizar 12s infinite ease-in-out;
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes deslizar {
  0%   { transform: translateX(0%); }
  25%  { transform: translateX(0%); }

  33%  { transform: translateX(-100%); }
  58%  { transform: translateX(-100%); }

  66%  { transform: translateX(-200%); }
  91%  { transform: translateX(-200%); }

  100% { transform: translateX(0%); }
}


/* PRODUCTOS */
.productos {
  padding: 0rem 6rem;
}

.etiqueta {
  background-color:var(--primary-color);
  color: var(--second-color);
  padding: 0.5rem 2rem;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-variant-caps: all-petite-caps;
}
.grid-productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 17rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
}
.grid-productos.visible {
  opacity: 1;
  transform: translateY(0);
}
.producto {
  background-color: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.producto:hover {
  transform: scale(1.03);
}
.img-placeholder {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}
.producto h3 {
  font-size: var(--font-size-tit-prod);
  line-height: 3rem;
  margin-bottom: 0.5rem;
}

.producto-sin-fondo h2 {
  font-size: var(--font-size-tit-prod);
  line-height: 3rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.producto ul {
  list-style: none;
  padding-left: 0;
  font-size: var(--font-size-menu);
  line-height: 1.8rem;
}

.producto-sin-fondo {
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s;
}
.producto-sin-fondo:hover {
  transform: scale(1.03);
}

#tipo2 {
 background-color: #f0f0f0;
}

.destacado h3 {
  font-size: var(--font-size-bigger);
  line-height: 3rem;
  margin-bottom: 0.5rem;
  padding: 0.2rem 1rem;
}

.destacado ul {
  list-style: none;
  padding-left: 1rem;
  font-size: var(--font-size-tit-prod);
  line-height: 3rem;
}

.destacado li {
padding: 2rem 0;
}

.destacado hr {
border-width: 0.05rem;
border-color:var(--third-color)
}

/*ANIMACION SECCIONES Empresa*/
.seccion {
  opacity: 10;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding: 100px 20px;
  background-color: #f5f5f5;
  margin-bottom: 50px;
}

/* Aparece al entrar en pantalla */
.seccion.visible {
  opacity: 1;
  transform: translateY(0);
}

.seccion  img{
  width:20rem;
}

/* Clases de identificación (por si querés estilos únicos) */
.seccion-uno { background-color: var(--second-color);}
.seccion-dos { background-color: #fff;}
/*FIN ANIMACION SECCIONES Empresa*/

/* BOTÓN FINAL */
.boton-final {
  display: inline-flex;
  height: 5rem;
  text-align: center;
  margin: 3rem 0;
  font-size:2rem;
  line-height:2rem;
  align-items: center;
  justify-content: center;
}

.boton-final-consulta{
  text-align: center;
  margin: 3rem 0;
  font-size:2rem;
  line-height:2rem;

}

.btn-consulta {
  color: var(--third-color)!important;
  padding: 0.4rem 2rem;
  border-radius: 25px;
  border:solid 6px #ccc!important;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-consulta:hover {
  background-color: #ccc!important;
  color: var(--third-color)!important;
}

.btn-descargar {
  color: var(--primary-color)!important;
  padding: 0.4rem 2rem;
  border-radius: 25px;
  border:solid 2px var(--primary-color)!important;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-descargar:hover {
  background-color: var(--primary-color)!important;
  color: #fff!important;
}

.leyenda {
    text-align: center;
    width: 70%;
    padding: 2rem;
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 2.5rem;
}

/**/
@keyframes customIn {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.leyenda2 {
   animation: customIn 0.8s ease-out;
    text-align: left;
    width:62%;
    padding: 5rem 2rem;
    margin-left: 16rem;
    font-size: 2.6rem;
    line-height: 3.5rem;
    color: red;
}

.leyenda2 img{
    width: 10rem;}

@keyframes slideInFromBottom {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.img-empresa {
animation: slideInFromBottom 0.8s ease-out;
padding-left:16rem;
max-width: 100%;
height: auto;
}
    /**/

.nos {display: grid;
  grid-template-columns: 1fr 1.5fr; /* dos columnas de igual ancho */
  gap: 2rem; /* separación entre columnas */}


.clear {clear: both;}


/* RESPONSIVE */
@media (max-width: 1205px) {
.hero-bg {filter: brightness(75%);}
.productos-nav {text-align: left; padding: 5rem;}
}

@media (max-width: 998px) {
.productos-nav { padding: 1rem 2rem; }
.leyenda2 { width: 80%; margin-left: 6rem;}
.img-empresa {padding-left:0;}
}

@media (max-width: 860px) {
.nos {display: grid; grid-template-columns: 1fr; gap: 2rem;}
.leyenda2 {padding: 2rem; order:1;}
.seccion-uno {padding: 2rem 6rem; order:2;}
.seccion-dos {padding: 2rem 6rem; order:3;}
.img-empresa {text-align: center;  order:4;}

}

@media (max-width: 768px) {
  .hero-overlay {
    flex-direction: column;
    align-items: center;}
  .rotador-info {flex-direction: column; padding: 2rem 6rem;}
  .botones-nav a {padding: 0.5rem 5rem;}
  .logo-principal { position: absolute; top: 77%; left: 50%; transform: translate(-50%, -50%);}
  .logo-principal2 { position: absolute; top: 52%; left: 50%; transform: translate(-50%, -50%);}
  .leyenda {width: 90%;}
}

@media (max-width: 650px) {
.boton-final {margin: 0.5rem 0; height: 3rem;}
}

@media (max-width: 600px) {
.grid-productos {display: grid; grid-template-columns: repeat(1, 1fr)!important;}
#trabajo h3, #clientes h3, #ikigai h3{padding-top: 3rem!important;}
.logo-principal { height:27% !important;}
.logo-principal2 { height:27% !important;}
.logo-mini { height:18% !important;}
.logos {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    width: 100%;
    padding: 2rem;
    justify-content: center;
    justify-items: center;}
.img-empresa img{width: 290px; height: auto;}
.botones-nav { display: flex; flex-direction: column;}
.botones-nav a {margin: 0.8rem; border-radius: 50px; font-size: 2.5rem;  line-height: 3rem; text-align: center;}
}

@media (max-width: 515px) {

}

@media (max-width: 460px) {
.boton-final {display: flex; align-items: center; margin: 1rem 2rem; height: 4rem;}
.productos { padding: 0 1rem;}
.logos {display: inline-grid; grid-template-columns: 1fr!important;}
}

@media (max-width: 350px) {
.productos-nav h2 {padding: 1rem;}
}