/* RESET */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /*background: #0f0f0f;*/
    color: white;
    scroll-behavior: smooth;
    padding-top: 10px; /* evita que el header tape contenido */
}
body {
  background-image: url('img/blackie.jpg');
  background-size: 15%;
  background-repeat: repeat;
  background-position: top left; /* Comienza en la esquina superior izquierda */
  background-attachment: scroll;
}
@media (max-width: 768px) {
  body {
    background-size: 50%; /* Grano más grande para que se note en el celu */
    
    /* Tip extra: En muchos celus el fixed da problemas de rebote, 
       si notás algo raro, podés cambiarlo a scroll solo para móvil */
    background-attachment: scroll; 
  }
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* 🔥 CLAVE */
    padding: 0;   /* 🔥 sacamos el problema */
    position: relative;
}

/* LOGO */
.logo {
    font-family: 'Sekuya', system-ui;
    font-size: 22px;
    letter-spacing: 2px;
}
.benefit img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
/* MENU DESKTOP */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    position: relative;
    color: #ccc;
    text-decoration: none;
    padding: 5px 0;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: 0.3s;
    transform: translateX(-50%);
}

nav a:hover {
    color: white;
}

nav a:hover::after {
    width: 60%;
}

/* BOTON MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    background: url('img/wall.png') center / cover no-repeat;
    background-position: center 20%;
    display: flex;
    align-items: center;
    position: relative;
}
@media(max-width: 768px){
.hero {
    height: 50vh;
    background: url('img/wall.png') center / cover no-repeat;
    background-position: center 20%;
    display: flex;
    align-items: center;
    position: relative;
}
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    margin: 5%;
    font-size: large;
}

/* BOTONES */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(145deg,#2a2a2a,#111);
    border: 1px solid #333;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}

.btn:hover {
    background: #444;
}

/* CARDS */
.card {
    text-decoration: none;
    color: white;
    display: block;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Movimiento más pro */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* ✨ Luz tipo reflejo */
.card::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 250%;
    height: 250%;
    background: linear-gradient(
        120deg,
        transparent 40%,
        rgba(255,255,255,0.35),
        transparent 60%
    );
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Se activa la luz */
.card:hover::before {
    opacity: 1;
    animation: shine 0.8s ease forwards;
}

/* Animación del brillo */
@keyframes shine {
    from {
        transform: translateX(-100%) rotate(25deg);
    }
    to {
        transform: translateX(100%) rotate(25deg);
    }
}

.card img {
   width: 100%;
  height: 200px;             /* todas las imágenes mismo alto */
  object-fit: cover;
}

/* PRODUCTS */
.products {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

/* BENEFITS */
.benefits {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    text-align: center;
}

.benefit {
    width: 30%;
}

/* CTA */
.divisor-linea {
    width: 100%;
    height: 10px; /* Ajustá esto al alto de tu imagen de línea */
    background-image: url('img/linea3.png'); /* Ruta de tu imagen */
    background-repeat: repeat-x; /* Se repite solo horizontalmente */
    background-position: center;
    background-size: contain; /* O 'auto' si querés el tamaño original */
    border: none;
    opacity: 0.6;
}
.cta {
    position: relative;
    text-align: center;
    padding: 70px 20px;
    color: white;
    overflow: hidden;
}

/* El resplandor detrás del logo y texto */
.cta::before {
    content: "";
    position: absolute;
    top: 40%; /* Un poco más arriba para centrarse en el logo */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    /* Usamos un tono dorado/blanco muy suave (como tu logo) */
    background: radial-gradient(circle, rgba(255, 215, 0, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

/* Ajuste al botón para que brille más */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #e9e9e9;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 25px;
    transition: 0.3s;
    /* Este glow es clave */
    box-shadow: 0 0 20px rgba(118, 119, 118, 0.4);
}

.whatsapp-btn:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}
/* CONTACT */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

input, textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: #1f1f1f;
    border: none;
    color: white;
}

.info {
    padding: 20px;
    text-align: center;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 0%;
    text-decoration: none;
    font-size: 1px;
}
.whatsapp-btn i {
    font-size: 30px;
}
/* ANIMACIONES */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 📱 MOBILE */
@media(max-width: 768px){

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #111;

        position: absolute;
        top: 100%; /* 🔥 CLAVE */
        left: 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-top: 1px solid #222;
        background: rgba(255,255,255,0.03);
    }
}

/* TABLET */
@media(max-width:900px){
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefits {
        flex-direction: column;
        gap: 20px;
    }

    .benefit {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE CHICO */
@media(max-width:500px){
    .grid {
        grid-template-columns: 1fr;
    }

}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}


/* contenido arriba de todo */
.hero-box h2,
.hero-box p,
.hero-box a {
    position: relative;
    z-index: 2;
}

/* texto más legible */
.hero-box h2,
.hero-box p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #909391;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* ICONO BIEN CONTROLADO */
.whatsapp-btn i {
    font-size: 30px;
    line-height: 1;
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-footer {
    color: #ffffff;
    padding: 40px 10% 20px 10%;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 30px; /* Ajusta según tu logo */
}

.brand-name {
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsivo para celulares */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
.contenedor-mapa {
    text-align: center; /* Centra elementos inline como el iframe */
    padding: 20px;
}

.contenedor-mapa iframe {
    width: 100%;      /* El mapa ocupa el ancho disponible */
    max-width: 600px; /* Pero no crece más de esto */
    height: 300px;
    margin: 0 auto;   /* Margen automático para centrar bloques */
    display: block;
    border-color: #ffffff;
    border:style="filter: invert(90%)"  solid;
}