:root {
    --bg1: #041021;
    --bg2: #061623;
    --accent: #f2bb0a;
    /* oro similar al diseño */
    --cyan: #00b7ff;
    --muted: rgba(255, 255, 255, 0.65);
    --card: #071022;
    --light-bg: #f3f4f6;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 15% 20%, rgba(0, 70, 120, 0.08), transparent 60%),
        radial-gradient(1000px 500px at 85% 80%, rgba(0, 40, 80, 0.08), transparent 60%),
        linear-gradient(180deg, #041321 0%, #061a2a 100%);
    color: #e6eef3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    font-optical-sizing: auto;
    font-style: normal;

    /* Escala vertical al 50% */
    transform: scaleY(0.9);
    transform-origin: top left; /* para que no se desplace todo hacia abajo */
}

/* Layout container width similar to your design */
.container-xxl {
    max-width: 1180px;
}

/* Header */
.site-header {
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(2, 8, 12, 0.6), rgba(2, 8, 12, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.nav-link.muted {
    color: var(--muted);
    opacity: .95;
}

.brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    /* ajusta si lo quieres más grande */
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.03);
}


/* HERO */
/* =========================
   HERO - VIDEO BACKGROUND
   ========================= */

/* hero full-bleed (aunque esté dentro del container) */
.hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    min-height: 90vh;
    /* ajustar según mock */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    /* espacio arriba/abajo del hero */
}

/* VIDEO: fondo real */
.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    /* deja clics a los elementos encima */
    opacity: 0.56;
    /* ajusta visibilidad */
    filter: brightness(0.86) contrast(1.02) saturate(1.05);
}

/* overlay oscuro para contraste de texto */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* contenido sobre el video (usa tu container-xxl para alineación) */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* 🔥 manda el contenido a la derecha */
    padding-left: 6%;
    padding-right: 6%;
    box-sizing: border-box;
}


/* texto del hero */
.hero-text {
    max-width: 640px;
    text-align: left;
    margin-right: -5rem;
    /* 🔥 alinea el texto a la derecha */
}


.hero-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
    color: #ffffff;
    margin: 0 0 18px 0;
    letter-spacing: 1px;
}

/* subtítulo / párrafo */
.hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
    line-height: 1.7;
    white-space: pre-line;
    /* 🔥 respeta saltos de línea */
}

/* botones estilo enlace (como en el mock) */
.btn-gold {
    display: inline-block;
    background: linear-gradient(90deg, #f2bb0a, #ffd86b);
    color: #081722;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(242, 187, 10, 0.16);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(242, 187, 10, 0.22);
}

.btn-outline-light-custom {
    display: inline-block;
    margin-left: 14px;
    padding: 14px 24px;
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    transition: background .12s ease, transform .12s ease;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

/* ===== responsive ===== */
@media (max-width: 992px) {
    .hero {
        min-height: 70vh;
        padding: 60px 0;
    }

    /* en móviles se recomienda ocultar o pausar el vídeo para ahorrar datos */
    .hero-video {
        display: none;
    }

    .hero-content {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
        margin-right: 0rem;
    }

    .hero-sub {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 46px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 14px;
    }
}

/* nosotros */
.nosotros {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 100px 0;

    background-image: url("../img/sobre.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

/* glass card styles */
.glass-card {
    /* background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.015));
    padding: 32px;
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    text-align: justify; */
}

/* prize grid */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Section */
.somos-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 100px 0;

    background-image: url("../img/fondo3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    letter-spacing: 1.5px;
}

.section-title {
    margin-bottom: 28px;
    line-height: 1.7;
    color: #ffd86b;
}

.section-text {
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.7;
    /* white-space: pre-line; */
    text-align: justify;
}

.section-footer {
    font-size: 12px;
    margin-bottom: 28px;
    line-height: 1.7;
    /* white-space: pre-line; */
    text-align: justify;
}

/* Process grid: estilo tipo 'timeline/column' sin bullets */
.process-grid ul {
    border-left: 2px solid #ffd86b;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 18px;
}

.process-card h5 {
    display: inline-block;
    border-bottom: 2px solid #ffd86b;
    padding-bottom: 6px;
}


/* Quitar bullets y resetear espaciados */
.process-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /* línea vertical a la izquierda de cada columna */
    padding-left: 28px;
    /* separación entre línea y texto */
    border-left: 2px solid rgba(255, 255, 255, 0.12);
}

/* Cada ítem como fila */
.process-grid li {
    position: relative;
    padding: 18px 0;
    /* espacio entre items */
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .2px;
}

/* Si quieres separar visualmente los bloques, añade un gap interno:
   (comenta si prefieres el look más compacto) */
.process-grid li+li {
    margin-top: 6px;
}

/* Responsive: una columna en móviles */
@media (max-width: 767px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-grid ul {
        padding-left: 22px;
        border-left: 2px solid rgba(255, 255, 255, 0.10);
    }

    .process-grid li::before {
        left: -11px;
        top: 20px;
        width: 7px;
        height: 7px;
    }
}

/* Crear contador para la lista */
.process-grid {
    counter-reset: step-counter; /* reinicia contador */
}

/* Numerar cada <li> */
.process-grid li {
    position: relative;
    padding-left: 50px; /* espacio para el número */
    padding-top: 18px;
    padding-bottom: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .2px;
    counter-increment: step-counter; /* incrementa el número */
}

.process-grid li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0; /* a la izquierda de la lista */
    top: 18px; /* centra vertical respecto al padding-top del li */
    color: #ffd86b;
    font-weight: bold;
    width: 40px; /* suficiente espacio para el número */
    text-align: right; /* número alineado a la derecha, separando del texto */
}

/* prize */
.prize-item {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));
    padding: 22px;
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform .25s ease;
}

.prize-item:hover {
    transform: translateY(-6px);
}

.prize-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Countdown card (light) */
.contdown {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 100px 0;

    background: #f8fafc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    letter-spacing: 1.5px;
}

.count-title {
    color: #041021;
}

.count-numbers {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.count-cell {
    text-align: center;
}

.count-cell .num {
    font-size: 42px;
    font-weight: 800;
    color: #071f2a;
}

.car-figure {
    width: 100%;
    max-width: 980px;
    display: block;
    margin: 0 auto;
}

.count-cta {
    display: inline-block;
    margin-top: 18px;
    background: #071f2a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

/* FAQ panel */

/* FAQ Premium Exact Design */

.faq-premium {}

.faq-card {
    background: #f4f4f4;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    color: #1b3a4b;
}

.faq-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: #3f5b6b;
}

.faq-list {
    position: relative;
    padding-left: 40px;
}

/* línea vertical izquierda */
.faq-list::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #16394a;
    border-radius: 3px;
}

.faq-item {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #cfd8dc;
    position: relative;
}

.faq-question {
    font-weight: 600;
    font-size: 20px;
}

.faq-answer {
    font-size: 16px;
    color: #3f5b6b;
    line-height: 1.6;
}

/* quitar borde del último */
.faq-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-item {
        grid-template-columns: 1fr;
    }

    .faq-answer {
        margin-top: 10px;
    }
}

/* social grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.social-card {
    border-radius: 14px;
    overflow: hidden;
    background: #08151b;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform .25s ease;
}

.social-card:hover {
    transform: translateY(-6px);
}

.social-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Footer */
.site-footer {
    padding: 48px 0;
    background: #f4f4f4;
    color: #041021;
}

.site-footer .texto-footer {
    font-weight: 900;
    letter-spacing: 2px;
}

.site-footer .privacidad h1 {
    color: #041021;
    font-size: 18px;
}

.site-footer .privacidad p {
    color: #041021;
    font-size: 12px;
}

.site-footer h6 {
    color: #041021;
    font-size: 24px;
}

.logo-footer {
    height: 60px;
    /* ajusta si lo quieres más grande */
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.logo-footer:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.whatsapp-link {
    text-decoration: none;
    display: inline-block;
    color: #E1306C;
    font-size: 20px;
}

.whatsapp-link:hover {
    opacity: 0.85;
}

.instagram-link {
    text-decoration: none;
    display: inline-block;
    color: #E1306C;
    font-size: 20px;
}

.instagram-link:hover {
    opacity: 0.85;
}

/* Small screens */
@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        gap: 22px;
    }

    .hero-left {
        order: 2;
        width: 100%
    }

    .hero-right {
        width: 100%
    }

    .hero-media {
        height: 360px
    }

    .prize-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .count-numbers {
        gap: 20px
    }
}

@media (max-width:575px) {
    .hero-media {
        height: 260px
    }

    .count-wrapper {
        padding: 20px
    }

    .social-grid {
        grid-template-columns: 1fr
    }

    .count-cell .num {
        font-size: 28px
    }
}

/* subtle focus outlines */
a:focus,
button:focus {
    outline: 3px solid rgba(0, 183, 255, 0.18);
    outline-offset: 3px;
    border-radius: 6px;
}

/* utility */
.muted {
    color: var(--muted);
}

.divider {
    height: 1px;
    /* background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent); */
    background-color: #ffd86b;
    margin: 32px 0;
}

/* Instagram embed grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* card visual */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
}

.instagram-embed {
    width: 100%;
    max-width: 540px;
    /* tamaño natural del embed */
    background: #111;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

/* El iframe que inyecta Instagram */
.instagram-embed iframe {
    width: 100% !important;
    max-width: 540px !important;
}


/* responsive */
@media (max-width: 991px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .instagram-embed {
        min-height: 340px;
    }
}

.prize-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.prize-media img {
    display: block;
    width: 100%;
    transition: transform .5s ease;
}

/* Overlay oculto */
.prize-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 33, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;
}

/* Contenido interno */
.prize-overlay-content {
    color: #fff;
    max-width: 90%;
}

.prize-overlay-content h4 {
    color: #ffd86b;
    margin-bottom: 15px;
}

.prize-overlay-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
}

/* Hover effect */
.prize-item:hover .prize-overlay {
    opacity: 1;
    transform: translateY(0);
}

.prize-item:hover .prize-media img {
    transform: scale(1.08);
}