/* 
  Project: Galerías Virtuales
  Theme: Creative Tech / Electric Canvas
  Palette:
    - Bg: #FFFFFF / #FAFAFA
    - Text: #111111
    - Accent: #6D28D9 (Electric Violet)
    - Secondary: #D9F99D (Neon Lime)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAFAFA;
    --color-text: #111111;
    --color-text-muted: #555555;
    --color-primary: #6D28D9;
    --color-primary-hover: #5b21b6;
    --color-secondary: #D9F99D;
    --color-accent-blue: #2563EB;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-section: 6rem;
    --spacing-container: 2rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(109, 40, 217, 0.15);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

video {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    /* Responsive giant text */
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: #bef264;
    transform: translateY(-2px);
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

/* Micro-interactions */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

/* --- Layout Sections --- */

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-socials a {
    color: var(--color-text);
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-socials a:hover {
    color: var(--color-primary);
    opacity: 1;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Space for fixed header */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    height: 80vh;
    /* Tall visual */
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

/* Hero Video */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Demonstration / Feature Grid (Bento Box) */
.bento-section {
    background-color: var(--color-bg-alt);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.bento-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(109, 40, 217, 0.1);
}

.bento-large {
    grid-column: span 8;
    grid-row: span 2;
}

.bento-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 4;
}

.bento-medium {
    grid-column: span 6;
}

/* Bento specific interaction */
.interaction-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/800x600/eee/31343C?text=Static+Art') center/cover;
    transition: opacity 0.4s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
}

.reveal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    /* Fallback */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hover Effect: Hide static overlay to reveal content */
.bento-item:hover .reveal-overlay {
    opacity: 0;
}


/* About Section */
.about-section p {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.mv-card h3 {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.mv-card p {
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--color-text-muted);
}


/* Services Section (Pricing) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li::before {
    content: '✓';
    color: var(--color-secondary);
    background: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Video Credit Overlay */
.video-credit-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    text-align: left;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 12px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.credit-title {
    font-family: var(--font-display);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.credit-author {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.credit-year {
    font-weight: bold;
    color: var(--color-primary-light, #a78bfa);
    margin-left: 4px;
}

/* Social Proof */
.reviews-scroller {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scrollbar-width: none;
}

.reviews-scroller::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 300px;
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-handle {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}


/* Footer */
footer {
    background: var(--color-text);
    color: #fff;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: transparent;
    color: white;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 10px rgba(37, 211, 102, 0.4));
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #25D366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 60px;
    border: 6px solid transparent;
    border-left-color: #25D366;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
    pointer-events: none;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--color-bg-alt);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
    background-color: white;
}


/* Hamburger Menu Toggle Button (Desktop: Hidden) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.menu-toggle .hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Transform Hamburger to 'X' when active */
.menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .hero-grid,
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 50vh;
        order: -1;
    }

    /* Bento Grid Mobile Aspect Ratio Fixes */
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .bento-item {
        padding: 1rem;
        width: 100%;
        min-height: auto;
    }

    .bento-item.bento-large {
        aspect-ratio: 16 / 10;
    }

    .bento-item.bento-tall {
        aspect-ratio: 9 / 14;
        max-height: 550px;
    }

    /* Ocultar otros videos en móviles */
    #wow-vertical-1-item,
    #wow-second-item,
    #wow-vertical-3-item {
        display: none !important;
    }

    /* Hamburger Menu & Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(240, 240, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        z-index: 99;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-socials {
        display: none;
    }
}

/* Animations & Interaction States */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Mobile Touch State */
.bento-item.active-touch .reveal-overlay {
    opacity: 0;
}

/* Social Examples Strip */
.social-examples-strip {
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3.5rem 0;
    text-align: center;
}

.strip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.strip-title {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.social-link svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

/* Colors and Hover states */
.social-link.instagram {
    color: #E1306C;
}
.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3);
}

.social-link.tiktok {
    color: #010101;
}
.social-link.tiktok:hover {
    background-color: #010101;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(1, 1, 1, 0.3),
                -3px -3px 0px #00f2fe,
                3px 3px 0px #fe0979;
}

.social-link.youtube {
    color: #FF0000;
}
.social-link.youtube:hover {
    background-color: #FF0000;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.social-link.facebook {
    color: #1877F2;
}
.social-link.facebook:hover {
    background-color: #1877F2;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

.social-link.linkedin {
    color: #0A66C2;
}
.social-link.linkedin:hover {
    background-color: #0A66C2;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.3);
}

/* Yellow glowing cards for Benefits section */
.benefit-card {
    box-shadow: 0 8px 30px rgba(253, 224, 71, 0.22), 0 0 15px rgba(253, 224, 71, 0.1) !important;
    border-color: rgba(253, 224, 71, 0.35) !important;
}

.benefit-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 45px rgba(253, 224, 71, 0.45), 0 0 25px rgba(253, 224, 71, 0.2) !important;
    border-color: #facc15 !important;
}

/* Blue glowing cards for Philosophy section */
.philosophy-card {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15), 0 0 15px rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.philosophy-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.35), 0 0 25px rgba(37, 99, 235, 0.18) !important;
    border-color: #2563eb !important;
}

/* Payment buttons row */
.payment-buttons-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.payment-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.75rem 0.4rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    text-align: center;
    color: white !important;
}

.payment-btn.paypal {
    background-color: #0070BA;
    box-shadow: 0 4px 10px rgba(0, 112, 186, 0.2);
}
.payment-btn.paypal:hover {
    background-color: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 112, 186, 0.35);
}

.payment-btn.stripe {
    background-color: #635BFF;
    box-shadow: 0 4px 10px rgba(99, 91, 255, 0.2);
}
.payment-btn.stripe:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 91, 255, 0.35);
}

.payment-btn.transfer {
    background-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.2);
}
.payment-btn.transfer:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(109, 40, 217, 0.35);
}

.payment-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}