* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    html {
    scroll-behavior: smooth;
    }

    body {
    background: linear-gradient(to top, #000000, #000000);
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: auto;
    }

    /* HEADER */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;

    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;

    z-index: 1000;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25),
        inset 0 1px 1px rgba(255,255,255,.1);

    transition: 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    width: 110px;
    transition: .3s;
    filter:
        drop-shadow(0 2px 6px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    animation: giro 6s linear infinite;
}

.logoU img {
    width: 130px;
    transition: .3s;
}

.logoU{
    display: block;
    margin-right: auto;
}

@keyframes giro {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* MENÚ */
.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: .3s;
    padding: 5px 0;
}

/* Línea animada */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: #FBBF24;
    border-radius: 20px;
    transition: .3s;
}

.menu a:hover {
    color: #FBBF24;
    transform: translateY(-2px);
}

.menu a:hover::after {
    width: 100%;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.hamburger:hover {
    color: #FBBF24;
}

    /* HERO */
    .hero {
      position: relative;
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .hero-bg {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      top: 0;
      left: 0;
    }

    .hero-overlay {
     position: absolute;
     inset: 0;
     z-index: 1;
     background: linear-gradient(
     to right,
     #000000 35%,
     rgba(255,255,255,0) 70%
    );
    }

    .hero-content {
      position: relative;
      z-index: 2;
      margin-top: 180px;
    }

    .hero-text {
      max-width: 500px;
      margin-top: 100px;
    }

    .hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    margin-left: 30%;
    }

    .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    }

    .hero h1 {
      font-size: 42px;
      color: #505050;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .hero h1 span {
      color: #FBBF24;
    }

    .hero p {
      font-size: 18px;
      color: #afafaf;
      margin-bottom: 25px;
    }

    .btn {
      display: inline-block;
      padding: 12px 25px;
      background: #FBBF24;
      color: white;
      border-radius: 25px;
      text-decoration: none;
      transition: 0.3s;
    }

    .btn:hover {
      background: #FBBF24;
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {

      .hero {
        background-image: url("img/alarma/fondos/fondo2.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }

      .header {
        width: 92%;
        top: 10px;
        z-index: 2002;
    }

    .nav {
        padding: 1px 20px;
    }

    .logo img {
        width: 90px;
        margin-right: -10px;
    }

    .logo{
        margin-left:-50px;
    }

    .logoU img {
        width: 90px;
    }

    .hamburger {
        display: block;
        z-index: 2001;
        position: relative;
    }


    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        z-index: 2000;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;

        padding: 90px 20px;

        background: transparent;
        backdrop-filter: none;

        transition: right 0.35s ease;

        z-index: 2000;
    }

    .menu.active {
        right: 0;
    }

    /* 🔲 BOTONES INDIVIDUALES */
    .menu a {
        width: 100%;

        padding: 14px 18px;

        border-radius: 14px;

        background: rgba(0,0,0,1); 
        backdrop-filter: blur(10px);

        color: #fff;
        text-decoration: none;

        font-size: 18px;
        font-weight: 600;

        border: 1px solid rgba(255,255,255,0.08);

        transition: all 0.25s ease;
    }

    .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.4)
    );
}

.overlay.active {
    opacity: 0.7;
    background: rgba(0,0,0,0.6);
    pointer-events: auto;
}


      .hero h1 {
        font-size: 32px;
        color: #FBBF24;
      }

      .hero h1 span {
      color: #FBBF24;
      }

      .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: -10;
      background: linear-gradient(
        to right,
        rgba(255,255,255,0.95) 35%,
        rgba(255,255,255,0.6) 55%,
        rgba(255,255,255,0) 100%
      );
    }
    .hero-text {
        justify-content: center;
        text-align: center;
        margin: auto;
        padding: 20px;
    }

     .hero {
    flex-direction: column;
    position: relative;
    height: 100vh; /* Altura completa del dispositivo */
  }

  .hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin-left: 0px;
  }

  .hero-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
  }

  .hero-content {
    position: relative;
    z-index: 2;
}
    }

    @media (max-width: 450px) {
      .hero-text h1 {
        font-size: 24px;
      }
    }








































/* Info de cada slider */

.slider-info {
  text-align: center;
  color: #fff; /* blanco por defecto, lo podés cambiar */
  font-family: sans-serif;
  margin-top: 50px;
}

.slider-info h2 {
  font-size: 1.8rem;
}

.slider-info p {
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  overflow: hidden;
  padding-top: 50px;
}

.slides {
  position: relative;
  width: 100%;
  height: 400px; /* 👈 alto fijo, si no queda invisible */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 60%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.8s ease;
  opacity: 0;
  transform: scale(0.7) translateX(0);
  z-index: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.slider img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Estados de las slides */
.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

.slide.left {
  opacity: 0.6;
  transform: scale(0.8) translateX(-250px);
  z-index: 2;
}

.slide.right {
  opacity: 0.6;
  transform: scale(0.8) translateX(250px);
  z-index: 2;
}

/* Botones */
.btn {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s;
  color: white;
}

.btn:hover {
  background: rgba(255,255,255,0.5);
}

.btn.prev { left: 20px; }
.btn.next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {

  .slides {
    height: 250px; /* 👈 versión reducida en pantallas chicas */
  }

  .slide {
    width: 80%;
    height: 250px;
  }

  .slide.left {
    transform: scale(0.8) translateX(-150px);
  }

  .slide.right {
    transform: scale(0.8) translateX(150px);
  }

  .slider .prev,
    .slider .next {
        display: none !important;
    }
}






















#footer {
    color: #fff;
    padding: 20px 0 5px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
  }

  .footer-section img {
    width: 100px;
    margin-bottom: 5px;
    transition: all 0.5s;
  }

  .footer-section img:hover {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  .footer-section p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .footer-section2 {
    flex: 1;
    min-width: 250px;
    margin-top: 50px;
  }
  
  .footer-section2 p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
  }
  
  .mail {
    text-decoration: none;
    color: #FBBF24;
    transition: all 0.5s;
  }
  
  .mail:hover {
    color: #FBBF24;
    font-size: 18px;
  }
  
  .mailMobile {
    display: none;
  }
  
  .footer-section3 {
    flex: 1;
    min-width: 250px;
    margin-top: 50px;
  }
  
  .footer-section3 p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .social-icons a {
    color: #FBBF24;
    margin-right: 10px;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.5s;
  }
  
  #fb:hover {
    color: #1534ff;
  }
  
  #ig:hover {
    color: #ca0599;
  }
  
  #tt:hover {
    color: #1da1f2;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
  }
  
  .footer-bottom a {
    color: #FBBF24;
    text-decoration: none;
  }
  
  .ig,
.wsp {
  position: fixed;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.ig {
  width: 45px;
  height: 45px;
  bottom: 30px;
  right: 100px;
}

.wsp {
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
}

.ig:hover,
.wsp:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 890px) {

  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }
  
  .ig {
    right: 80px;
  }

  .wsp {
    right: 20px;
  }
}

@media (max-width: 600px) {

  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }

  .ig {
    right: 65px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .wsp {
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 400px) {

  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }

  .ig {
    right: 55px;
  }

  .wsp {
    right: 10px;
  }
}
  
  #tel {
    text-decoration: none;
    color: #FBBF24;
    transition: all 0.5s;
  }
  
  #tel:hover {
    color: #007BFF;
  }
  
  .tel {
    margin-left: 25%;
  }
  
  @media screen and (max-width: 890px) {

    .footer-section img {
      width: 180px;
      margin-bottom: 10px;
    }
    
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-section,
    .footer-section2,
    .footer-section3 {
      margin-top: 30px;
      padding: 0;
    }
  
    .footer-section2 p,
    .footer-section3 p {
      max-width: 90%;
      margin: 0 auto;
    }
  
    .social-icons {
      justify-content: center;
    }
  
    .mail {
      display: none;
    }
  
    .mailMobile {
      display: inline;
      color: #FBBF24;
      text-decoration: none;
    }
  
    .mailMobile:hover {
      color: #777e5c;
    }
  
  
  }
  














  




























  /* Estado inicial: oculto y desplazado */
  .hidden {
    opacity: 0;
    transform: translateY(50px);
  }
  
  /* Cuando entra en pantalla */
  .show {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
  }
    
    







  .lightbox {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    animation: zoomIn 0.3s ease;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }

  .lightbox .close:hover {
    color: #ff0000;
  }
  
  .lightbox .arrow {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transform: translateY(-50%);
  }

  @media (max-width: 768px) {
    .lightbox .arrow {
      color: #000000;
    }
  }
  
  .lightbox .arrow.prev { left: 20px; }
  .lightbox .arrow.next { right: 20px; }
  
  @keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

































  @media (min-width: 1600px) {

  /* Contenedor general */
  .container {
    max-width: 1500px;
  }

  /* Header */
  .header {
    max-width: 95%;
    width: 95%;
  }

  .nav {
    padding: 0 40px;
  }

  .logo img {
    width: 135px;
  }

  .menu {
    gap: 60px;
  }

  .menu a {
    font-size: 20px;
  }

  /* HERO */

  .hero-content {
    margin-top: 220px;
  }

  .hero-text {
    max-width: 700px;
  }

  .hero h1 {
    font-size: 68px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 24px;
    max-width: 650px;
  }

  .hero-image {
    margin-left: 35%;
  }

  .btn {
    padding: 16px 35px;
    font-size: 18px;
  }

  /* SLIDER */

  .slider {
    max-width: 1600px;
    margin: 90px auto;
  }

  .slides {
    height: 550px;
  }

  .slide {
    height: 550px;
    width: 55%;
  }

  .slide.left {
    transform: scale(0.82) translateX(-350px);
  }

  .slide.right {
    transform: scale(0.82) translateX(350px);
  }

  .slider-info h2 {
    font-size: 42px;
  }

  .slider-info p {
    font-size: 20px;
    max-width: 900px;
  }

  .btn.prev {
    left: 40px;
  }

  .btn.next {
    right: 40px;
  }

  /* FOOTER */

  .footer-container {
    max-width: 1500px;
  }

  .footer-section img {
    width: 130px;
  }

  .footer-section p,
  .footer-section2 p,
  .footer-section3 p {
    font-size: 18px;
  }

  .social-icons a {
    font-size: 30px;
  }

  /* Botones flotantes */

  .ig {
    width: 55px;
    height: 55px;
    right: 120px;
  }

  .wsp {
    width: 60px;
    height: 60px;
    right: 40px;
  }

}