/* =========================
BASE
========================= */

body {
    margin: 0;
    color: white;

    background:
        radial-gradient(circle at 20% 30%, rgba(32, 1, 1, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.05), transparent 40%),
        #000;

}

/* HERO BASE */
.amb-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
    justify-content: flex-end;
}

.amb-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            #000 100%);

    z-index: 2;
    pointer-events: none;
}

.cart-icon {
    display: none;
}

/* VIDEO */
/* BASE */
.hero-bg-img {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    z-index: 0;

    transform: scale(1.05);
}

/* DESKTOP */
.desktop-img {
    background-image: url("amb-desk.jpg");
    display: block;
}

/* MOBILE */
.mobile-img {
    background-image: url("amb-mov.jpg");
    display: none;
}

/* OVERLAY (CLAVE) */
.hero-overlay {
    inset: 0;

    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.1) 100%);

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 30%;
}

/* sombra suave detrás */
.hero-content::before {
    content: "";
    position: absolute;

    top: -50px;
    left: -50px;
    width: 140%;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.75));

    filter: blur(60px);
    z-index: -1;
}

/* TEXTO */
.amb-hero h1 {
    font-size: 4.5rem;
    justify-content: center;
    line-height: 1.2;
    letter-spacing: 4px;
    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(0, 0, 0, 0.24);
}

.amb-hero h1 span {
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* SUB */
.hero-sub {
    margin-top: 20px;
    opacity: 0.7;
}

/* BOTÓN */
.hero-cta {
    margin-top: 30px;
    padding: 14px 30px;
    border-radius: 10px;

    background: linear-gradient(45deg, #ff0000, #ff0c0c);
    border: none;
    color: white;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.5);
}

/* =========================
BENEFITS NUEVO
========================= */

.amb-benefits {
    padding: 120px 20px;
    text-align: center;
    padding-bottom: 25px;
}

/* HEADER */
.benefits-header {
    max-width: 600px;
    margin: 0 auto 50px;
}

.benefits-header h2 {
    font-size: 2.2rem;
    letter-spacing: 4px;
}

.benefits-header p {
    opacity: 0.6;
    margin-top: 10px;
}

/* BLOQUE PRINCIPAL */
.benefit-main {
    max-width: 600px;
    margin: -50px auto 50px;
    padding: 40px;
    border-radius: 20px;

    background: linear-gradient(145deg,
            rgba(255, 0, 0, 0.12),
            rgba(255, 255, 255, 0.02));

    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: 0.4s ease;


}

.benefit-main:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.25);
}

.benefit-main h3 {
    letter-spacing: 2px;
}

/* FILA */
.benefit-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* CARDS */
.benefit-card {
    width: 200px;
    padding: 25px;
    border-radius: 16px;


    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.3s;


}

.benefit-card:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

/* =========================
PROOF
========================= */

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;


    max-width: 900px;
    margin: 40px auto 0;
    margin-bottom: 6%;
}

.proof-title {
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-align: center;
    font-weight: 400;
    max-width: 850px;

    margin: 0 auto 40px;
    margin-bottom: 40px;

    background: linear-gradient(145deg,
            rgb(41, 0, 0),
            rgb(32, 0, 0));

    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;

    padding: 12px 20px;

    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.amb-proof {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    padding-bottom: 5px;
    margin-bottom: 50px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.proof-card {
    width: 300px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.proof-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: 0.4s;
    background: #111;
    /* 👈 evita hueco vacío */
}

.proof-card:hover {
    transform: scale(1.05);
}

.proof-card:hover video {
    opacity: 1;
}

.proof-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.video-control {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

}


.section-divider {
    width: 100%;
    height: 1px;
    margin: 40px auto;

    background: linear-gradient(to right,
            transparent,
            rgba(255, 0, 0, 0.4),
            transparent);

    position: relative;
}

/* glow */
.section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -1px;

    width: 200px;
    height: 2px;

    transform: translateX(-50%);

    background: rgba(255, 0, 0, 0.6);
    filter: blur(8px);
}

/* =========================
FORM
========================= */

/* =========================
FORM IGNIT (NUEVO)
========================= */

.amb-form {
    padding: 10px 20px;
    text-align: center;
    padding-bottom: 35px;
}

/* CONTENEDOR */
.amb-form form {
    max-width: 420px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* SUBTEXTO */
.form-sub {
    opacity: 0.6;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* INPUTS */
.amb-form input,
.amb-form textarea {
    width: 100%;
    padding: 14px 16px;

    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.02);
    color: white;

    font-size: 0.9rem;
    outline: none;

    transition: all 0.25s ease;
}

/* PLACEHOLDER */
.amb-form input::placeholder,
.amb-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* FOCUS */
.amb-form input:focus,
.amb-form textarea:focus {
    border: 1px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);

    background: rgba(255, 255, 255, 0.04);
}

/* TEXTAREA */
.amb-form textarea {
    border-radius: 16px;
    min-height: 120px;
    resize: none;
}

/* BOTÓN */
.amb-btn {
    margin-top: 10px;

    padding: 14px;
    width: 100%;

    border-radius: 10px;

    background: linear-gradient(45deg, #ff0000, #ff0000);
    color: white;

    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    transition: 0.3s;
}

/* HOVER */
.amb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgb(155, 0, 0);
}

/* ACTIVE */
.amb-btn:active {
    transform: scale(0.97);
}



/* =========================
REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.footer {
    background: #000;
    color: white;
    padding: 15px 20px 15px;
    border-top: 0px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.footer-brand h2 {
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.footer-brand p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: white;
}

.footer-bottom {
    display: flex;
    text-align: center;
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* =========================
MOBILE
========================= */

@media (max-width: 768px) {

    /* MOBILE */

    .amb-hero {
        justify-content: center;
        text-align: center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .amb-hero h1 {
        font-size: 1.8rem;
    }


    .amb-hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }


    .benefit-row {
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 80%;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .proof-title {
        max-width: 300px;
    }

    .proof-card {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .amb-form {
        padding: 15px 20px;
    }

    .amb-form form {
        max-width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        /* 👈 CLAVE */
        justify-content: center;
        gap: 10px;
    }

}