* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --wrap-max: 1200px;
  --gap-xl: 40px;
  --gap-lg: 28px;
  --gap-md: 20px;
  --gap-sm: 14px;
}

/* Tipografía fluida y medias seguras en móvil */
html { font-size: 16px; }
@media (max-width: 1200px){ html{ font-size: 15px; } }
@media (max-width: 900px){ html{ font-size: 14px; } }
@media (max-width: 600px){ html{ font-size: 13px; } }

/* Evitar desbordes por 100vh en móvil: usar min-height y padding-top */
section { padding-inline: 16px; }
.sobre-nosotros,
.experiencia,
.contacto{
  min-height: 100svh; /* viewport seguro en móvil */
}

/* Imágenes y videos siempre fluidos */
img, video { max-width: 100%; height: auto; }

/* Botón hamburguesa */
.nav-toggle{
  display: none;
  background: transparent;
  border: none;
  color: #F0ECEA;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Header: distribuir mejor en pantallas pequeñas */
header{
  gap: 10px;
  padding-inline: 12px;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

section {
  scroll-margin-top: 80px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 10s;
}

header.nav-hide {
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
header {
    transition: transform 0.4s ease-in-out;
}

/* NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  NAV  */

/* Estilos para el header */
header {
    background-image: linear-gradient(to right, #000000, #222222, #3b3b3b);
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 4em;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

}

/* Logo alineado a la izquierda */
.logo {
    font-weight: bold;
    font-size: 1.2em;
    color: white;
    text-decoration: none;
}

/* Estilos para la lista de navegación */
.navlist {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Estilos para los elementos de la lista */
.navlist li {
    margin: 0 15px;
    padding: 8px 10px;
    border-radius: 15px;
    background-color: #484A4E;
    transition: background 0.3s, color 0.3s;
    transition: all 0.3s ease-in-out;
}

.navlist li:hover {
    background-color: #F0ECEA;
    transform: translateX(3px) translateY(-3px);
}

.navlist li a:visited {
    color: #F0ECEA;
    text-decoration: none;
    font-weight: bold;
}

.navlist li:hover a {
    color: #484A4E;
    transform: translateX(3px) translateY(-3px);
}

.navlist li a {
    color: #F0ECEA;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.imagen_l{
    width: 130px;
    height: auto;
    margin-right: 20px;
    margin-top: 10px;
}

@media (max-width: 900px){
  .nav-toggle{ display: block; }
  nav{
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    z-index: 999;
  }
  .navlist{
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #1b1b1bd9;
    backdrop-filter: blur(6px);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px;
  }
  nav.open .navlist{ display: flex; }

  .navlist li{
    margin: 0;
    background: #2a2a2a;
    text-align: center;
    padding: 10px;
  }
}

/* Logo más compacto en móvil */
@media (max-width: 600px){
  .imagen_l{ width: 110px; margin-top: 6px; }
}


/* INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO   INICIO  */
.inicio{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    background-image: linear-gradient(to bottom, #000000, #222222);
}


.image{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imagen{
    width: 70%;
    height: auto;
    margin-bottom: 0px;
    width: min(560px, 80vw); 
    margin-top: 6svh;
}

.titulo{
    color: #F0ECEA;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: clamp(1.4rem, 2.5vw + 1rem, 2.5rem);
}

.botones{
    background-color: #484A4E;
    color: #F0ECEA;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: clamp(1rem, 1.2vw + .8rem, 1.2rem);
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 2%;
}

@media (max-width: 600px){
  .botones{ width: 100%; max-width: 420px; }
}

.botones:hover{
    background-color: #F0ECEA;
    transform: translateX(3px) translateY(-3px);
}

.botones a:visited{
    color: #F0ECEA;
}

a:hover{
    color: #484A4E;
    transition: background-color 0.3s, transform 0.3s;
}

a{
        text-decoration: none;
}

/* BENEFICIOS BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS  BENEFICIOS   */

.beneficios{
    height: 100vh;
    background-image: linear-gradient(to bottom, #222222, #0d0d0d);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
}

.tabla{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  max-width: var(--wrap-max);
  padding: 32px 0;
  border-radius: 24px;
  position: relative;        /* <--- AÑADE ESTO */
  z-index: 0;                /* <--- Y ESTO (opcional, ayuda con stacking) */
}

.titulo-bn{
    color: #F0ECEA;
}

.esmalte, .intumescente {
    flex: 1;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.tabla::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #000000;
    transform: translateX(-50%);
    z-index: 1;
}


.esmalte, .intumescente{ align-items: center; }


.cubeta-premium {
    width: min(300px, 70vw);
    height: auto;
    margin: 8px 0 0 0;

}

.cubeta-equis {
    width: min(300px, 70vw);
    height: auto;
    margin: 8px 0 0 0;
}

.lista-cubetas {
color: #F0ECEA;
margin: 12px 0 0 0; 
}

.lista-equis {
    margin-top: 2.1em;
    margin-right: 8%;
}

.lista-premium{
    margin-top: 2em;
    margin-left: 25%;
}

.imagen-cubeta {
    transition: all 0.4s ease-in-out;
    background-image: linear-gradient(to bottom, rgba(112, 112, 112, 0.25), rgba(48, 47, 47, 0.25));
    border-radius: 28px;

}

.imagen-cubeta:hover {
    transform: translateX(10px) translateY(-10px);
    background-image: linear-gradient(to bottom, rgba(134, 134, 134, 0.25), rgba(90, 89, 89, 0.25));
}

@media (max-width: 768px) {
   .beneficios,
  .sobre-nosotros{
    height: auto;           /* <--- quita 100vh */
    min-height: 0;          /* <--- asegura que no quede el 100svh heredado */
    padding-top: 24px;      /* <--- separación superior */
    padding-bottom: 32px;   /* <--- separación inferior */
    overflow: auto;         /* <--- previene colapso de márgenes verticales */
  }

  .tabla {
    flex-direction: column;
    gap: 24px;
    padding: 16px 0;
    margin-bottom: 24px;
  }
  .tabla::before { display: none; }

  /* Bloques: título arriba, luego imagen + lista en fila */
  .esmalte, .intumescente {
    flex-direction: column; /* título arriba */
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 0px;
  }
  /* Imagen más compacta en móvil */
  .imagen-cubeta {
    width: 120px;
    height: auto;
    margin: 0;
  }

  /* Lista alineada a la izquierda */
  .lista-cubetas {
    margin: 0;
    padding-left: 8px;
    text-align: left;
  }

  .lista-premium{
    margin-left: 14px;
  }

  .lista-premium li{
    padding: 4px 0;
  }

  .lista-cubetas li {
    margin: 6px 0;
  }

  .esmalte-contenedor{
    padding: 5px;
  }

  .titulo-bn{
    font-size: clamp(1.4rem, 2.5vw + 1rem, 2.5rem);
    margin-bottom: 20px;
    text-align: center;
  }

  .boton-bn{
    text-align: center;
  }

  .beneficios{
    height: 100vh;
    margin: 0;
  }

}

/* SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS  SOBRE NOSOTROS   */

.sobre-nosotros {
    position: relative;
    background-image: linear-gradient(to bottom, #0d0d0d, #222222);
    display: flex;
    flex-direction: column;  
    justify-content: center;    
    align-items: center; 
    padding: 0 20px;
    text-align: center;
    height: 100vh;
    color: #F0ECEA;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-bg {
  position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
}

.logo-fondo {
    width: min(60vh, 70vw);
    height: auto;
    opacity: 0.2;
}


.texto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    height: auto;
    text-align: center;
    font-size: clamp(.95rem, .5vw + .85rem, 1.125rem);
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    border-radius: 10%;
    font-size: 18px;
}

.titulo-sn{
    color: #F0ECEA;
    font-size: clamp(1.6rem, 2.8vw + 1rem, 3rem);
    margin-top: 20px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto 40px auto;
}


.texto{
    padding: 20px;
    height: 100%;
    flex: 1;
     margin: 0;
      border-radius: 16px; 
    background-image: linear-gradient(to bottom, rgba(34,34,34,0.7), rgba(0, 0, 0, 0.7));
    justify-content: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    z-index: 1;
    text-align: justify;
}

.texto:hover {
    background-image: linear-gradient(to bottom, rgba(34,34,34,0.9), rgba(0, 0, 0,0.9));
    transform: translateX(10px) translateY(-10px);
}

h3{
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

@media (max-width: 900px){
  .texto-container{ 
    grid-template-columns: 1fr; gap: var(--gap-lg);
    font-size: 1em;
   }

}

/* EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA  EXPERIENCIA   */
.experiencia{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    background-image: linear-gradient(to bottom, #222222, #000000);
}

.titulo-exp{
    color: #F0ECEA;
    font-size: 3em;
    margin-bottom: 30px;
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    border-bottom: #F0ECEA 5px solid;
}

.slider-container {
  width: min(100%, 1100px);
  margin: 0 auto 80px;
  text-align: center;
  background-image: linear-gradient(to bottom,  rgba(59,59,59,0.7), rgba(34, 34, 34, 0.7));
  border-radius: 28px;
  transition: all 0.2s ease-in-out;
  margin-bottom: 130px;
  padding: 12px;
}

.slider-container:hover {
    background-image: linear-gradient(to bottom,  rgba(59,59,59.85), rgba(34, 34, 34,0.85));
    transform: translateX(5px) translateY(-5px);
}

.slider {
  position: relative;
  overflow: hidden;
  height: auto;
}

.slide {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slide.active {
  display: flex;
}

.slider-controls {
  margin-top: 20px;
}

.slider-controls button {
  background-color: #484A4E;
  color: #fff;
  border: none;
  padding: 10px 16px;
  margin: 20px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background-color 0.3s, transform 0.3s;
}
.slider-controls button:hover {
  background: #F0ECEA;
  transform: translateX(3px) translateY(-3px);
  color: #484A4E;
}
.descripcion {
  margin-top: 15px;
  color: #F0ECEA;
  font-size: 1.1em;
}

.slide img, .slide video {
  max-width: 100%;
  max-height: min(60svh, 520px);
  width: auto;
  height: auto;
  margin-bottom: 10px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px){
  .titulo-exp{
    font-size: clamp(1.4rem, 2.4vw + 1rem, 2rem);
    width: 100%;
  }
  .slider-container{ margin-bottom: 60px; }
}

/* CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  CONTACTO  */
.contacto{
    min-height: auto;
    height: 70vh;
    background-image: linear-gradient(to bottom, #000000, #222222);
    display: flex;
    flex-direction: column;
    color: #F0ECEA;
    padding-bottom: 60px;
}

.formulario-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
}

.formulario {
    width: 100%;
    max-width: 640px;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(34, 34, 34, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column; /* Hace que todo vaya uno debajo del otro */
    gap: 16px; /* Espaciado vertical entre elementos */

}

.formulario label,
.formulario input,
.formulario textarea,
.formulario button {
    width: 100%; /* Ocupa todo el ancho del formulario */
}

.texto-contacto{ 
  max-width: 720px; 
  text-align: center; 
}

@media (max-width: 600px){
  .formulario{ padding: 16px; }
}


/*FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER */
.footer{
  background-image: linear-gradient(to bottom, #141414, #000000);
  color:#F0ECEA;
  padding-top: 60px;
  position: relative;
  overflow: clip;
}

.footer-wrap{
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 16px 10px 16px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.fcol{ display:flex; flex-direction:column; gap:14px; }

.fbrand img{
  width:160px;
  height:auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
  transition: transform .25s ease;
}
.fbrand:hover img{ transform: translateY(-3px); }

.fintro{ opacity:.9; }

.fcontact{ list-style:none; display:flex; flex-direction:column; gap:8px; }
.fcontact i{ font-size:1.1em; }

.fsocial{ display:flex; gap:10px; margin-top:6px; }
.fsocial-btn{
  display:grid; place-items:center;
  width:42px; height:42px; border-radius:12px;
  background: #484A4E;
  color:#F0ECEA;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.15) inset, 0 8px 14px rgba(0,0,0,.15);
}
.fsocial-btn:hover{
  background:#F0ECEA; color:#484A4E;
  transform: translateX(3px) translateY(-3px);
}

.ftitle{
  font-size:1.2em; margin-bottom:6px; color:#F0ECEA;
  border-bottom: 3px solid #F0ECEA22; padding-bottom:6px;
}

.flinks{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.flinks a{
  color:#F0ECEA; text-decoration:none; position:relative; padding-left:0;
  transition: color .2s ease, transform .2s ease;
}
.flinks a:hover{
  color:#F0ECEA; transform: translateX(6px);
}
.flinks a::before{
  content:""; position:absolute; left:-12px; top:50%; width:6px; height:6px;
  border-radius:50%; background:#F0ECEA55; transform:translateY(-50%);
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid #2a2a2a;
  margin-top: 36px;
  padding: 16px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px;
}
.footer-bottom .texto{ opacity:.9; }
.flegal{ display:flex; gap:10px; align-items:center; }
.flegal a{ color:#F0ECEA; opacity:.9; }
.flegal a:hover{ opacity:1; }

/* Back to top */
.back-to-top{
  position: absolute;
  right: 16px; bottom: 78px;
  width:48px; height:48px; border-radius:14px;
  border:none; cursor:pointer;
  background:#484A4E; color:#F0ECEA;
  display:grid; place-items:center; font-size:1.2em;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  transition: transform .25s ease, background .25s ease, color .25s ease, opacity .25s ease;
  opacity:.9;
}
.back-to-top:hover{ background:#F0ECEA; color:#484A4E; transform: translateX(3px) translateY(-3px); }

.texto11{
    font-size: 1.2em;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
}

@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; gap: var(--gap-md); }
  .footer-bottom{ flex-direction: column; text-align: center; gap: 8px; }
  .back-to-top{
    display: none;
  }
}