* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    body {
  background: #0b1220;
    }
    
    html {
    scroll-behavior: smooth;
    }

    .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;
     min-height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;

     background-image: url("img/control/fondos/fondo.jpg");
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     }

    .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 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/control/fondos/fondoC.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-content {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* oscurece el fondo */
}
    }

    @media (max-width: 450px) {
      .hero-text h1 {
        font-size: 24px;
      }
    }




























  .accesos {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(to top, #3b3b3b, #3b3b3b);
}

.accesos-container {
  max-width: 1200px;
  margin: auto;

  background: #fff;
  border-radius: 10px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* ========================= */
/* ITEM */
/* ========================= */

.acceso-item {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 35px 30px;

  position: relative;
}

.acceso-item:not(:last-child)::after {
  content: "";

  position: absolute;
  right: 0;
  top: 50%;

  transform: translateY(-50%);

  width: 1px;
  height: 70px;

  background: #dddddd;
}

/* ========================= */
/* ICONO */
/* ========================= */

.acceso-icon {
  min-width: 70px;
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.acceso-icon i {
  font-size: 3rem;
  color: #FBBF24;
}

/* ========================= */
/* TEXTO */
/* ========================= */

.acceso-text h3 {
  color: #111;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}

.acceso-text p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {

  .accesos-container {
    grid-template-columns: 1fr;
  }

  .acceso-item:not(:last-child)::after {
    width: 80%;
    height: 1px;

    top: auto;
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
  }

}

@media (max-width: 600px) {

  .accesos {
    padding: 40px 15px;
  }

  .acceso-item {
    flex-direction: column;
    text-align: center;

    padding: 30px 20px;
  }

  .acceso-icon {
    width: 60px;
    height: 60px;
  }

  .acceso-icon i {
    font-size: 2.5rem;
  }

}


























.productos-acceso {
  width: 100%;
  background: #3b3b3b;
}

.productos-container {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ========================= */
/* CARD */
/* ========================= */

.producto-card {
  background: #fff;

  border-radius: 12px;
  overflow: hidden;

  border: 1px solid #e8e8e8;

  transition: 0.3s ease;

  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.producto-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* ========================= */
/* IMAGEN */
/* ========================= */

.producto-img {
  width: 100%;
  height: 260px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fafafa;

}

.producto-img img {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
}

/* ========================= */
/* TEXTO */
/* ========================= */

.producto-info {
  padding: 25px;
  text-align: center;
}

.producto-info h3 {
  color: #111;

  font-size: 1rem;
  font-weight: 800;

  margin-bottom: 12px;

  line-height: 1.3;
}

.producto-info p {
  color: #666;

  font-size: 0.95rem;
  line-height: 1.7;

  margin: 0;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 700px) {

  .productos-acceso {
    padding: 50px 15px;
  }

  .productos-container {
    grid-template-columns: 1fr;
  }

  .producto-img {
    height: 220px;
  }

}























.ideal-section {
  width: 100%;
  padding: 45px 20px;
  background: linear-gradient(to top, #000000, #3b3b3b);
}

.ideal-container {
  max-width: 1250px;
  margin: auto;

  background: #fff;
  border-radius: 10px;

  padding: 35px 30px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* ========================= */
/* TITULO */
/* ========================= */

.ideal-title {
  display: block;

  text-align: center;

  color: #000000;
  font-size: 1rem;
  font-weight: 800;

  letter-spacing: 1px;

  margin-bottom: 35px;
}

/* ========================= */
/* GRID */
/* ========================= */

.ideal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}

/* ========================= */
/* ITEM */
/* ========================= */

.ideal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 14px;

  text-align: center;

  transition: 0.3s ease;
}

.ideal-item:hover {
  transform: translateY(-5px);
}

/* ========================= */
/* ICONO */
/* ========================= */

.ideal-icon {
  width: 70px;
  height: 70px;

  border-radius: 16px;

  background: #f7f8fc;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #e4e7ef;
}

.ideal-icon i {
  font-size: 2rem;
  color: #FBBF24;
}

/* ========================= */
/* TEXTO */
/* ========================= */

.ideal-item span {
  color: #000000;

  font-size: 0.85rem;
  font-weight: 700;

  letter-spacing: 0.5px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1100px) {

  .ideal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 700px) {

  .ideal-section {
    padding: 40px 15px;
  }

  .ideal-container {
    padding: 30px 20px;
  }

  .ideal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .ideal-icon {
    width: 60px;
    height: 60px;
  }

  .ideal-icon i {
    font-size: 1.7rem;
  }

}

































.section4 {
    background-color: #000000;
    display: none;
}



.section {
  padding: 60px 20px;
  background: #000000;
}

.img2 {
  display: none;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

/* TEXTO */
.text h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.btn {
  background: #FBBF24;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
}

.btn1 {
  background: #FBBF24;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
}

/* IMAGEN */
.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
}

.image-wrapper img {
  width: 100%;
  border-radius: 12px;
}

/* SVG */
.lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lines line {
  stroke: white;
  stroke-width: 2;
  opacity: 0.6;
}

/* PUNTOS */
.point {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #FBBF24;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* CARDS */
.card {
  position: absolute;
  background: white;
  color: #333;
  padding: 10px;
  border-radius: 12px;
  width: 160px;
  max-width: 80vw;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card h4 {
  font-size: 14px;
  margin-bottom: 5px;

  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card i {
  font-size: 20px;
  color: #FBBF24;
  margin-bottom: 5px;
  display: block;
}

.point:hover + .card,
.card:hover {
  opacity: 1;
  transform: translateY(0);
}

.point::after {
  content: attr(data-num);
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 15px;
  color: white;
  font-weight: bold;
}

.num {
  color: #FBBF24;
  margin-right: 5px;
}

.btnC {
  background: #FBBF24;
  padding: 2px 5px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  animation: flotar 2s ease-in-out infinite;
}

.btnC:hover {
  background: #FBBF24;
  scale: 1.1;
}

@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* POSICIONES */
.p1 { top: 31%; left: 58%; }
.c1 { top: 5%; left: 35%; }

.p2 { top: 45%; left: 40%; }
.c2 { top: 20%; left: 10%; }

.p3 { top: 58%; left: 32%; }
.c3 { top: 65%; left: 2%; }

.p4 { top: 50%; left: 64%; }
.c4 { top: 40%; left: 90%; }

.p5 { top: 65%; left: 57%; }
.c5 { top: 70%; left: 80%; }

.p6 { top: 35%; left: 72%; }
.c6 { top: 10%; left: 85%; }



/* RESPONSIVE */
@media (max-width: 1000px) {

  .img1{
    display: none;
  }

  .img2{
    display: block;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .text {
    text-align: center;
  }

  /* ocultamos líneas */
  .lines {
    display: none;
  }

  .point {
    display: none;
  }

  /* CONTENEDOR DE CARDS */
  .image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* CARDS EN GRID */
  .card {
    position: static;
    opacity: 1;
    transform: none;

    width: 100%;
    max-width: 100%;

    margin: 0;
  }

  /* contenedor virtual para ordenar */
  .image-wrapper {
    gap: 20px;
  }

  /* grid de 2 columnas */
  .image-wrapper .card {
    width: 100%;
  }

  .image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
  }

  /* la imagen ocupa todo arriba */
  .image-wrapper img {
    grid-column: 1 / -1;
  }

}






































#footer {
    background: linear-gradient(to top, #000000, #000000);
    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;
    }
  
  
  }































  @media (min-width: 1600px) {

  .container,
  .footer-container,
  .accesos-container,
  .productos-container,
  .ideal-container {
    max-width: 1500px;
  }

  /* HEADER */
  .header {
    max-width: 95%;
    padding: 8px 20px;
  }

  .logo img {
    width: 140px;
  }

  .menu {
    gap: 55px;
  }

  .menu a {
    font-size: 20px;
  }

  /* HERO */
  .hero-content {
    margin-top: 220px;
  }

  .hero-text {
    max-width: 700px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero p {
    font-size: 24px;
    max-width: 650px;
  }

  .btn,
  .btn1 {
    padding: 16px 35px;
    font-size: 18px;
  }

  /* ACCESOS */

  .acceso-item {
    padding: 45px 40px;
  }

  .acceso-icon {
    width: 90px;
    height: 90px;
  }

  .acceso-icon i {
    font-size: 3.8rem;
  }

  .acceso-text h3 {
    font-size: 1.3rem;
  }

  .acceso-text p {
    font-size: 1.05rem;
  }

  /* PRODUCTOS */

  .producto-img {
    height: 320px;
  }

  .producto-info {
    padding: 35px;
  }

  .producto-info h3 {
    font-size: 1.3rem;
  }

  .producto-info p {
    font-size: 1.05rem;
  }

  /* IDEAL */

  .ideal-container {
    padding: 50px;
  }

  .ideal-title {
    font-size: 1.2rem;
  }

  .ideal-icon {
    width: 90px;
    height: 90px;
  }

  .ideal-icon i {
    font-size: 2.5rem;
  }

  .ideal-item span {
    font-size: 1rem;
  }

  /* SECCIÓN INTERACTIVA */

  .grid {
    gap: 80px;
  }

  .text h2 {
    font-size: 55px;
  }

  .card {
    width: 210px;
    padding: 18px;
  }

  .card h4 {
    font-size: 17px;
  }

  .card i {
    font-size: 28px;
  }

  .point {
    width: 14px;
    height: 14px;
  }

  .point::after {
    font-size: 18px;
  }

  /* AJUSTE DE POSICIONES */
  .c1 {
    top: 3%;
    left: 32%;
  }

  .c2 {
    top: 18%;
    left: 1%;
  }

  .c3 {
    top: 68%;
    left: 0%;
  }

  .c4 {
    top: 38%;
    left: 92%;
  }

  .c5 {
    top: 72%;
    left: 82%;
  }

  .c6 {
    top: 8%;
    left: 88%;
  }

  /* FOOTER */

  .footer-section p,
  .footer-section2 p,
  .footer-section3 p {
    font-size: 18px;
  }

  .footer-section img {
    width: 130px;
  }

}