/* ===============================
    1. RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===============================
    2. FONDO DINÁMICO (BLUR GLOW)
================================ */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-glow::before {
    content: "";
    position: absolute;
    width: 150vmax;
    height: 150vmax;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 120, 20, 0.2), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 80, 0, 0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(120, 40, 200, 0.1), transparent 50%);
    filter: blur(100px);
    animation: rotateBg 40s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===============================
    3. HERO SECTION
================================ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffffff 30%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 600px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.marquee {
    margin-top: 50px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.marquee-track {
    display: flex;
    gap: 50px;
    width: max-content;
    align-items: center;
    animation: scroll 25s linear infinite;
}

.marquee-track img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scroll {
    to { transform: translateX(-50%); }
}

/* ===============================
    4. PROYECTOS (TARJETAS)
================================ */
.projects-container {
    padding: 100px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.project-card {
    width: 350px;
    height: 250px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

.project-card.reveal-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,120,20,0.1), transparent);
    opacity: 0;
    transition: 0.4s;
}

.project-card:hover {
    border-color: rgba(255, 120, 20, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-card:hover::before { opacity: 1; }

.card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    z-index: 2;
}

.card-content span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #ff7814;
    font-weight: 800;
    letter-spacing: 2px;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-top: 8px;
    font-weight: 700;
}

/* ===============================
    5. OVERLAY (GLASSMISM)
================================ */
.overlay {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(120, 40, 200, 0.4), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(80, 0, 100, 0.4), transparent 50%),
        #050505; 
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

/* Variante Atmósfera Verde para Videos Largos */
.overlay-green {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.2), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 100, 50, 0.3), transparent 50%),
        #050505;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.glass-container {
    width: 92%; /* Un poco menos del 100% para que no pegue a los bordes del cel */
    max-width: 900px;
    max-height: 85vh; /* Mantiene el límite de altura */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 80px rgba(100, 0, 255, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 30px;
    padding: 30px 20px; /* Reducimos padding lateral para móviles */
    position: relative;
    
    /* FIX DE SCROLL */
    overflow-y: auto; 
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Hace que el scroll sea suave en iPhone */
    
    /* FIX DE ALINEACIÓN */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto; /* Centra el contenedor verticalmente si hay espacio */
}

/* OPCIONAL: Estilizar la barra de scroll para que no se vea el pegote gris de Windows */
.glass-container::-webkit-scrollbar {
    width: 6px;
}

.glass-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Variante Cristal Verde */
.green-glass {
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    box-shadow: 0 0 80px rgba(0, 255, 136, 0.05) !important;
}

.green-glass h2 {
    background: linear-gradient(to right, #fff, #a3ffda) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.overlay-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    width: 100%;
}

.overlay-header h2 {
    font-size: 2rem;
    background: linear-gradient(to right, #fff, #bfa3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overlay-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.video-placeholder {
    aspect-ratio: 9/16;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    transition: 0.3s;
}

/* Formato Horizontal para Videos Largos */
.video-placeholder.horizontal {
    aspect-ratio: 16/9;
    background: rgba(0, 20, 10, 0.4);
}

.video-placeholder:hover {
    border-color: #bfa3ff;
    background: rgba(120, 40, 200, 0.1);
}

.video-placeholder.horizontal:hover {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-btn:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

.glass-container::-webkit-scrollbar { width: 4px; }
.glass-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }




/* Limpieza del reproductor y botón Play Central */
.video-placeholder-frame {
    position: relative;
    cursor: pointer;
    background: #000;
}

/* Oculta controles nativos antes del play en algunos navegadores */
video::-webkit-media-controls-enclosure {
    border-radius: 0;
}

/* Botón Play personalizado sobre el video */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 95, 0, 0.9); /* Naranja GABFX */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 95, 0, 0.4);
    pointer-events: none; /* Permite que el click pase al video */
    transition: all 0.3s ease;
    z-index: 10;
}

.play-icon {
    color: white;
    font-size: 30px;
    margin-left: 5px; /* Ajuste óptico para centrar el triángulo */
}

/* Cuando el video está reproduciendo, ocultamos nuestro botón */
.video-playing .play-overlay {
    opacity: 0;
    visibility: hidden;
}


/* ===============================
    6. SECCIÓN CONTACTO Y FOOTER
================================ */
.contact-section {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    clear: both;
}

.contact-card {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-contact {
    text-decoration: none;
    color: #fff;
    padding: 15px 35px;
    border-radius: 100px;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-contact.mail { background: #ff7814; }
.btn-contact.whatsapp { background: rgba(255,255,255,0.05); }

.availability {
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.main-footer {
    padding: 40px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* ===============================
    7. RESPONSIVE DESIGN (MÓVIL)
================================ */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    
    .marquee-track img { height: 45px; }

    .projects-container {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }

    .project-card {
        width: 100%;
        max-width: 350px;
    }

    .contact-card { padding: 40px 20px; }
    
    .contact-buttons { flex-direction: column; }
    
    .btn-contact { width: 100%; justify-content: center; }

    .overlay {
        padding: 10px;
        align-items: flex-end; 
    }

    /* Esto arregla el problema de no poder bajar en celular */
.glass-container {
    max-height: 90vh; /* Limita la altura al 90% de la pantalla */
    overflow-y: auto; /* Activa el scroll vertical interno */
    display: flex;
    flex-direction: column;
    padding-bottom: 40px; /* Espacio extra al final para que no pegue al borde */
}

/* Opcional: Personaliza la barra de scroll para que sea minimalista */
.glass-container::-webkit-scrollbar {
    width: 4px;
}
.glass-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

    .overlay-header h2 { font-size: 1.5rem; }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Videos largos en móvil ocupan todo el ancho para ser legibles */
    .horizontal-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Contenedor principal */
.bio-section-trigger {
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px 20px;
    position: relative;
}

/* Envoltorio del botón */
.glass-btn-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Estilo del Botón Glass Sin Orbes */
.glass-bio-btn {
    position: relative;
    z-index: 10;
    /* Fondo semi-transparente muy sutil */
    background: rgba(255, 255, 255, 0.03); 
    
    /* Desenfoque de lo que esté detrás (fondo de la web) */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Borde refinado */
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    color: white;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 20px;
    text-transform: lowercase; /* Mantenemos el estilo de tu referencia */
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Efecto al pasar el mouse */
.glass-btn-wrapper:hover .glass-bio-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .glass-bio-btn {
        width: 100%;
        padding: 16px 25px;
        font-size: 1rem;
    }
}

/* Estilo Bento Grid dentro del Overlay */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 40px;
}

.bento-item {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(5, 5, 5, 1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 30px;
    transition: 0.4s ease;
}

.bento-item.wide {
    grid-column: span 2;
    text-align: center;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.bento-item h4 {
    font-size: 1.4rem;
    margin: 15px 0 10px;
    color: #fff;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Imagen de métrica estilo 'Embedded' */
.metric-image-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge Verde (como el de tu imagen) */
.external-badge {
    background: #00ff88;
    color: #000;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: inline-block;
}

/* Responsivo para el Grid */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.wide {
        grid-column: span 1;
    }
}

.bento-list {
    text-align: left;
    max-width: 600px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bento-list p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}
/* ===============================
    7. VALOR Y MÉTRICAS (CORREGIDO)
================================ */

/* Contenedor de flujo principal */
.value-content-flow {
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 100px; /* Espacio elegante entre bloques */
}

/* Secciones individuales */
.feature-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Títulos con gradiente */
.info-card {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.info-card h3 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 15px 0;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contenedor de Evidencia (Imagen + Texto) */
.evidence-full-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

/* Imágenes Protagonistas */
.img-fluid-stat {
    width: 100%;
    max-width: 850px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-bottom: 35px;
    display: block;
}

/* Storytelling debajo de la imagen */
.text-content-stat {
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.text-content-stat p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.text-content-stat strong {
    color: #ffffff;
}

/* Badges y Etiquetas */
.badge-mini {
    display: inline-block;
    padding: 6px 16px;
    background: #ff7814; /* Naranja para resaltar */
    color: #000;
    font-weight: 900;
    font-size: 0.75rem;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ===============================
    8. RESPONSIVE
================================ */
@media (max-width: 768px) {
    .value-content-flow {
        gap: 60px;
    }
    .evidence-full-wrapper {
        padding: 20px;
    }
    .img-fluid-stat {
        margin-bottom: 20px;
    }
}

/* ===============================
    CONFIGURACIÓN DE VIDEOS PORTFOLIO
================================ */

/* Marco del video (Contenedor) */
.video-placeholder-frame {
    width: 100%;
    aspect-ratio: 9/16; 
    border-radius: 20px; /* Bordes redondeados premium */
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 95, 0, 0.3); /* Borde neón sutil */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.video-placeholder-frame:hover {
    transform: scale(1.01); /* Pequeño pop al pasar el mouse */
    border-color: rgba(255, 95, 0, 0.8);
}

.portfolio-video {
    width: 100%;
    height: 100%;
    /* Cambia cover por contain para que se vea el video completo sin recortes */
    object-fit: contain; 
    background: #000; /* Fondo negro para las barras laterales en PC */
    display: block;
}

/* Estilo de los controles (Play, Fullscreen) para que no desentonen */
video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
}

/* ===============================
    VARIANTE NARANJA NEÓN (MOTION)
================================ */

.overlay-orange {
    background: 
        radial-gradient(circle at 10% 10%, rgba(255, 95, 0, 0.15), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 174, 0, 0.1), transparent 40%),
        #030303 !important;
}

.orange-glass {
    background: rgba(255, 95, 0, 0.02) !important;
    border: 1px solid rgba(255, 95, 0, 0.4) !important;
    box-shadow: 
        0 0 40px rgba(255, 95, 0, 0.05), 
        inset 0 0 20px rgba(255, 95, 0, 0.02) !important;
}

.orange-glass h2 {
    background: linear-gradient(to right, #ffffff 10%, #ff5f00 50%, #ffae00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 15px rgba(255, 95, 0, 0.4));
    font-weight: 900;
    letter-spacing: -1px;
}

.overlay-orange .close-btn {
    background: rgba(255, 95, 0, 0.1);
    border: 1px solid rgba(255, 95, 0, 0.3);
}

.overlay-orange .close-btn:hover {
    background: #ff5f00;
    box-shadow: 0 0 15px #ff5f00;
}

/* =========================================
   AJUSTES PARA VIDEOS VERTICALES Y HORIZONTALES
   ========================================= */

/* Contenedor principal de la cuadrícula */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    align-items: start;
}

/* Formato Vertical (Motion 1 y 2 / Reels) */
.video-placeholder-frame.vertical {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    margin: 0 auto; /* Centra el video vertical si sobra espacio */
}

/* Formato Horizontal (Motion 3, 4 y 5 / YouTube) */
.video-placeholder-frame.horizontal {
    aspect-ratio: 16 / 9;
    width: 100%;
}

/* Asegurar que el video llene su contenedor sin deformarse */
.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* Una sola columna en celulares */
        gap: 20px;
    }
}


/* Grid específico para videos largos horizontales */
.horizontal-only {
    display: grid;
    /* En PC: 2 columnas. En tablets/móvil: 1 columna */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 30px;
    padding: 20px;
}

.video-placeholder-frame.horizontal {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Ajuste para celulares (Pantallas menores a 500px) */
@media (max-width: 500px) {
    .horizontal-only {
        grid-template-columns: 1fr; /* Una sola columna */
        padding: 10px;
        gap: 15px;
    }
    
    .horizontal-only .video-placeholder-frame.horizontal {
        /* En móvil bajamos un poco el minmax para que no rompa el ancho */
        min-width: unset; 
    }
}

/* Color de fondo especial para diseño (más oscuro para resaltar colores) */
.overlay-dark {
    background: rgba(0, 0, 0, 0.95);
}

/* Contenedor que ocupa casi toda la pantalla */
.full-canvas {
    max-width: 95% !important;
    width: 95% !important;
    height: 90vh;
    overflow-y: auto;
}




/* Eliminamos el look de 'ventana' para diseño gráfico */
.canvas-full-viewport {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: #000000; /* Fondo negro puro para que el diseño sea el protagonista */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El contenedor de las imágenes */
.design-canvas {
    width: 100%;
    max-width: 1400px; /* Evita que en pantallas ultra-anchas se pierda la escala */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Sin espacio entre ellas para un look de flujo continuo */
    padding-bottom: 100px;
}

/* La imagen propiamente */
.canvas-img {
    width: 100%;
    height: auto;
    display: block;
    /* Quitamos cualquier borde o sombra previa de las 'cards' */
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Ajuste para el header dentro del lienzo */
.canvas-full-viewport .overlay-header {
    text-align: center;
    margin-bottom: 50px;
}