/* Encabezados */
h1,
h2,
h3,
.menu__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

/* Párrafos y texto general */
body,
p,
a,
li {
  font-family: 'Roboto', sans-serif;
  font-weight: 450;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: black;
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.menu__logo img {
  height: 75px;
  width: auto;
  border-radius: 50%;
}

.menu__icon {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  z-index: 1001;
}

.menu__icon span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.menu__icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu__icon.open span:nth-child(2) {
  opacity: 0;
}

.menu__icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu__links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.5s ease;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.menu__links.active {
  right: 0;
}

.menu__links ul {
  list-style: none;
  text-align: center;
}

.menu__links li {
  margin: 20px 0;
}

.menu__links a {
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.menu__links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00c5b9;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.menu__links a:hover::after {
  width: 100%;
}
.menu {
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.menu__links {
  background: rgba(0,0,0,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}

.video-text {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.video-text h2 {
  font-size: 42px;
  font-weight: bold;
}

.video-text p {
  font-size: 18px;
  max-width: 600px;
  margin-top: 10px;
  text-transform: uppercase;
}

/* texto animado */
/* Estilo tipográfico y cursor */
/* texto animado: sin recortes, fluye completo */
.typing-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: inline-block;    /* inline-block para medir ancho automático */
  white-space: normal;      /* deja que se rompa la línea si es necesario */
  overflow: visible;        /* nada se oculta */
  width: auto;              /* ancho según el contenido */
  max-width: none;          /* quita límite de ancho */
  vertical-align: bottom;
  color: #00c5b9;
}

/* Cursor parpadeante */
.typing-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background-color: currentColor;
  animation: blink-cursor 0.7s steps(1) infinite;
}

@keyframes blink-cursor {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.somos-fabricantes {
  margin: 50px 50px;
  font-size: 42px;
  text-align: center;
  color: white;
}

.parrafo-somos {
  margin: 50px 50px;
  font-size: 18px;
  color: white;
  text-align: center;
  font-weight: 600;
}

.nuestros-productos {
  height: 20vh;
}

.nuestros-productos-titulo {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3rem;
  animation: text linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  color: white;
}

@keyframes text {
  from {
    opacity: 0;
    scale: .5;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

/* ANIMACIONES*/

.animate__animated.animate__fadeInUp {
  --animate-duration: 1.5s;
  --animate-delay: 0.5s;
}

/*SLIDER DE IMAGENES*/

.container-slider {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  height: auto;
  /* (si necesitas) border-radius: 0 en móviles */
}

.slider-wrapper {
  z-index: 500;
  position: relative;
  width: 100%;
  height: 360px;
  background: #FFF;
  border: 5px solid #4b5973;
  overflow: hidden;
}

.slider-wrapper li {
  display: none;
}

.slider-wrapper .current-slide {
  display: block;
}

.slider-shadow {
  width: 100%;
  height: 15px;
  position: relative;
}

.slider-shadow:after,
.slider-shadow:before {
  content: '';
  position: absolute;
  background: #171c24;
  height: 100%;
  width: 50%;
  left: 10px;
  top: -20px;
  -webkit-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  -o-transform: rotate(-4deg);
  transform: rotate(-4deg);
  -webkit-box-shadow: 0 0 15px 8px #171c24;
  box-shadow: 0 0 15px 8px #171c24;
}

.slider-shadow:before {
  right: 10px;
  left: auto;
  -webkit-transform: rotate(4deg);
  -ms-transform: rotate(4deg);
  -o-transform: rotate(4deg);
  transform: rotate(4deg);
}

.slider-wrapper img {
  position: absolute;
  max-width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

/**
 * ---[Caption] ---------------------- 
 **/
.slider-wrapper .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
  width: 100%;
  padding: 10px;
  color: #FFF;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.slider-wrapper li:hover .caption {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}


.slider-wrapper h2 {
  color: #00c5b9;
  font-size: 2em;
  font-weight: 400;
  margin-bottom: 6px;
}

.slider-wrapper p {
  font-size: 1.6em;
  font-weight: 300;
  line-height: 1.4em;
}

/**
 * ---[Botones-Control] ---------------------- 
 **/
.control-buttons {
  margin-top: 15px;
  text-align: center;
}

.control-buttons li {
  cursor: pointer;
  display: inline-block;
  background: #424f66;
  text-indent: -99999px;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.control-buttons li.active {
  background: #00c5b9;
}

.authors {
  text-align: center;
  color: #7a8699;
  display: block;
  font-size: 1.6em;
  font-weight: 300;
  margin-top: 80px;
  font-size: 300;
}

/** ---------------------------------------
 * Responsive 
 ----------------------------------------*/
@media (max-width:800px) {
  

  .slider-wrapper {
    height: 260px;
  }
}

@media only screen and (max-width: 535px) {
  .container {
    padding: 5px;
    width: 100%;
    margin: 40px 0 0 0;
  }

  .slider-wrapper {
    height: 200px;
  }


}

@media only screen and (max-width: 410px) {
  .slider-wrapper {
    height: 160px;
  }
}

/*GALERIA DE TARJETAS*/

p {
  line-height: 1.5em;
}

h1+p,
p+p {
  margin-top: 10px;
}

.container {
  padding: 40px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-wrap {
  margin: 10px;
  transform: perspective(800px);
  transform-style: preserve-3d;
  cursor: pointer;
}

.card-wrap:hover .card-info {
  transform: translateY(0);
}

.card-wrap:hover .card-info p {
  opacity: 1;
}

.card-wrap:hover .card-info,
.card-wrap:hover .card-info p {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-wrap:hover .card-info:after {
  transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: translateY(0);
}

.card-wrap:hover .card-bg {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.8;
}

.card-wrap:hover .card {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, white 0 0 0 1px, rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset white 0 0 0 6px;
}

.card {
  position: relative;
  flex: 0 0 240px;
  width: 240px;
  height: 320px;
  background-color: #333;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-bg {
  opacity: 0.5;
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95), opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  pointer-events: none;
}
.card-bg {
  box-sizing: content-box;  /* ← le devolvemos el modelo de cajas “legacy” */
}

.card-info {
  padding: 20px;
  position: absolute;
  bottom: 0;
  color: #fff;
  transform: translateY(40%);
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info p {
  opacity: 0;
  text-shadow: black 0 2px 3px;
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info p a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.card-info p a::after {
  content: "";
  width: 0;
  height: 3px;
  background-color: #00c5b9;
  display: block;
  transition: 0.3s;
}

.card-info p a:hover::after {
  width: 34px;
  color: #00c5b9;
}
.card-info p a:hover {
  color: #00c5b9;
}

.card-info * {
  position: relative;
  z-index: 1;
}

.card-info:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  background-blend-mode: overlay;
  opacity: 0;
  transform: translateY(100%);
  transition: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-info h1 {
  font-family: "Playfair Display";
  font-size: 36px;
  font-weight: 700;
  text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
  padding-top: 28px;
}



@media (max-width: 768px) {


  /* Texto sobre video: posición y tamaños relativos */
.video-text {
  position: absolute;
  bottom: 5%;      /* antes tenías px fijos */
  left: 5%;
  right: 5%;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.video-text h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.video-text p {
  font-size: clamp(0.9rem, 4vw, 1.3rem);
  max-width: 90%;
  margin: 0 auto;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}


  .somos-fabricantes {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .video-text {
    bottom: 20%;
  }
  .video-text h2 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }
  .video-text p {
    font-size: clamp(0.9rem, 5vw, 1.3rem);
  }
  .footer-callout {
    flex-direction: column;
    padding: .75rem;
    font-size: .9rem;
  }
  .footer-callout-btn {
    width: 100%;
    justify-content: center;
  }

}

/* estado por defecto: abajo y transparente */
.slider-wrapper .caption {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* override para móvil: aseguramos que sea block */
@media only screen and (max-width: 535px) {
  .slider-wrapper .caption {
    display: block !important;
  }

  /* cuando el <li> tenga esta clase, el caption sube y se ve */
  .slider-wrapper li.show-caption .caption {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

/* FOOTER CSS */
.site-footer {
  background: #222;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.footer-brand {
  flex: 1 1 200px;
  text-align: center;
  animation: slideInLeft 1s ease-out forwards;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 0.5rem;
}

.footer-links {
  flex: 2 1 400px;
  display: flex;
  justify-content: space-around;
  animation: slideInUp 1s ease-out forwards;
}

.footer-links h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ff6;
  transition: width 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  width: 100%;
}

.social {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  display: inline-block;
  background: #333;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}

.social-icon i {
  color: #eee;
}

.social-icon:hover {
  background: #ff6;
  transform: translateY(-4px);
}

.footer-bottom {
  background: #111;
  padding: 1rem;
  text-align: center;
  position: relative;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

#scrollTopBtn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #ff6;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.footer-callout {
  background: #222;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  text-align: center;
}

.footer-callout i {
  font-size: 1.4rem;
}

/* Botón de llamada/WhatsApp */
.footer-callout-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: #00c5b9;
  padding: .5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}

.footer-callout-btn:hover {
  background: #00a199;
  color: #fff;
}


/* Animaciones */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* <--- */
    gap: 1.5rem;
  }
  .footer-links > div {
    text-align: center;        /* <--- */
  }

  
}

/* ================================
   Ajuste de tamaño de texto en móviles
   ================================ */

/* Para pantallas muy pequeñas (≤ 535px) */
@media only screen and (max-width: 535px) {
  .slider-wrapper h2 {
    font-size: 1.2rem;   /* antes era 2em */
    line-height: 1.2;    /* opcional, para compactar un poco */
  }
  .slider-wrapper p {
    font-size: 0.9rem;   /* antes era 1.6em */
    line-height: 1.3;    /* opcional, para mejor legibilidad */
  }
}

/* Para pantallas aún más pequeñas (≤ 410px) */
@media only screen and (max-width: 410px) {
  .slider-wrapper h2 {
    font-size: 1rem;     /* escalamos un poco más abajo */
  }
  .slider-wrapper p {
    font-size: 0.8rem;
  }
}


