/* ===== RESET Y ESTILOS BASE ===== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden
}

* {
    box-sizing: border-box;
}

#app-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 90px; /* Espacio para el header */
    padding-bottom: 80px; /* Espacio para el footer */
}

/* ===== HEADER RESPONSIVO MEJORADO ===== */
header {
    background-color: #000;
    color: white;
    padding: 5px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

/* ===== NAVEGACIÓN DESKTOP ===== */
nav {
    display: flex;
    height: 100%;
    align-items: center;
}

    nav a {
        color: white;
        text-decoration: none;
        margin-left: 30px;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 5px;
    }

        nav a:hover {
            color: #45D62C;
        }

        nav a.active {
            color: #45D62C;
            font-weight: bold;
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 20px;
            left: 0;
            background-color: #45D62C;
            transition: width 0.3s ease;
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

/* ===== MENÚ MÓVIL MEJORADO ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

    .menu-toggle:hover {
        transform: scale(1.1);
    }

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .mobile-menu.active {
        opacity: 1;
        pointer-events: all;
    }

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px;
}

    .mobile-link:hover,
    .mobile-link.active {
        color: #45D62C;
    }

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ===== HERO SECTION MEJORADA ===== */
.hero {
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: calc(100vh - 170px); /* Resta header + footer */
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(../images/Banner-verde.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 0;
    }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.hero-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: visible;
}

.image-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-bottom: 100px;
    width: 100%;
}

.logo-img {
    width: 85%;
    max-width: 400px;
    z-index: 1;
    transition: transform 0.5s ease;
}

.van-img {
    position: absolute;
    bottom: calc(-12.5vh);
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    max-width: 800px;
    z-index: 2;
    transition: transform 0.5s ease;
}

/* Columna central (CELULAR) - MEJORADA */
.hero-col.hero-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.celular-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
}

.celular-img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 16px;
    padding: 0 20px;
    height: 100%;
}

.download-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.app-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: black;
    margin: 0;
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.web-link {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: color 0.3s ease;
}

    .web-link:hover {
        color: #45D62C;
    }

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

    .app-buttons img {
        width: clamp(140px, 18vw, 180px);
        height: auto;
        transition: transform 0.3s ease;
    }

        .app-buttons img:hover {
            transform: scale(1.05);
        }

/* ===== TICKET BUTTON ===== */
.ticket-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 1000;
    color: black;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.ticket-button {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    padding: 12px 28px;
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .ticket-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
        transform: skewX(-20deg);
    }

    .ticket-button:hover {
        background-color: #000000;
        transform: scale(1.05);
    }

        .ticket-button:hover::before {
            animation: shine 0.8s forwards;
        }

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* ===== FOOTER FIJO MEJORADO ===== */
footer {
    background-color: #f1f1f1;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 900;
    height: 80px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

    footer .left,
    footer .right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

        footer .left span,
        footer .right a {
            font-weight: bold;
            color: #000;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            footer .right a:hover {
                color: #45D62C;
            }

    footer .social-icons i {
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: #000;
        transition: all 0.3s ease;
        margin-left: 8px;
    }

        footer .social-icons i:hover {
            color: #45D62C;
            transform: translateY(-2px);
        }

/* ===== NOSOTROS PAGE ===== */
.hero-nosotros {
    background-color: rgb(69, 214, 44);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

.hero-van {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.nosotros-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    color: black;
    line-height: 1.2;
    margin: 0;
}

    .nosotros-title span {
        color: white;
        font-weight: 800;
    }

.hero-input {
    margin-top: 15px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    width: 100%;
    max-width: 260px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-section {
    background-color: black;
    background-size: cover;
    background-position: center;
    padding: 30px 20px;
    color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.about-left p {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-middle, .about-right {
    position: relative;
    z-index: 1;
}

    .about-middle::before {
        content: "";
        position: absolute;
        left: 10%;
        width: 250%;
        height: 250%;
        background-image: url('../images/logo_nosotros.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: -1;
        /*opacity: 0.3;*/
    }

.value-title {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: rgb(69, 214, 44);
    margin-top: 1rem;
}

.value-list {
    list-style-type: disc;
    padding-left: 1rem;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    line-height: 1.6;
}

.about-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.app-label {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: white;
    margin: 0;
}

.app-name {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 900;
    color: rgb(69, 214, 44);
    margin: 0;
}

.shutto-link {
    color: white;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    text-decoration: underline;
    transition: color 0.3s ease;
}

    .shutto-link:hover {
        color: #45D62C;
    }

.about-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

    .about-right img.store-badge {
        width: clamp(120px, 15vw, 150px);
        height: auto;
        transition: transform 0.3s ease;
    }

        .about-right img.store-badge:hover {
            transform: scale(1.05);
        }

/* ===== SERVICIO PAGE ===== */
.service-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 20px;
}

.service-left {
    text-align: left;
}

    .service-left h2 {
        color: #32e200;
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        margin-bottom: 20px;
        text-align: left;
    }

.service-point {
    margin-bottom: 25px;
    text-align: left;
}

    .service-point p {
        font-size: clamp(0.9rem, 1.2vw, 0.95rem);
        line-height: 1.4;
        text-align: left;
    }

.highlight-green {
    font-weight: bold;
    color: #32e200;
    margin-top: 5px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    text-align: left;
}

.service-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 20px;
}

    .service-right::before {
        content: "";
        position: absolute;
        width: 51%;
        height: 100%;
        background-image: url('../images/logo_servicios.png');
        background-size: cover;
        background-position: center;
        z-index: -1;
        /*opacity: 0.1;*/
    }

.choose-us-box {
    background-color: #32e200;
    padding: 20px;
    border-radius: 20px;
    color: #000;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    width: 100%;
    max-width: 300px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

    .choose-us-box h3 {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        margin-bottom: 10px;
    }

    .choose-us-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

.service-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.phone-img {
    transform: translateY(25%);
    max-height: 150%;
    width: auto;
    height: auto;
    z-index: -1;
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* ===== INVERSIONISTAS PAGE ===== */
.investor-hero {
    background-image: url('../images/fondo_inversionistas.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 70vh;
    padding: 40px 20px;
}

.investor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.investor-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.investor-logo {
    max-width: 100%;
    width: clamp(250px, 35vw, 350px);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.investor-right {
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.investor-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

.investor-text {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.5;
    max-width: 500px;
    text-align: left;
}

.investor-van {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== CONTACTO PAGE ===== */
.contact-hero {
    background-color: #000;
    background-image: url('../images/logo_fondo_contacto.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: calc(80vh - 170px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.contact-content h1 a {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

    .contact-content h1 a:hover {
        color: #45D62C;
    }

/* ===== ANIMACIÓN CELULAR ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(10%);
    }

    50% {
        transform: translateY(5%);
    }
}

@media (min-width: 992px) {
    .celular-img {
        animation: float 6s ease-in-out infinite;
    }
}

/* ===== MEDIA QUERIES COMPLETAS ===== */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-center {
        display: none;
    }

    .hero-right {
        grid-column: span 2;
        align-items: center;
        text-align: center;
    }

    .about-container {
        grid-template-columns: 1fr 1fr;
    }

    .about-right {
        grid-column: span 2;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .celular-wrapper {
        position: relative;
        margin-top: 20px;
    }
}

@media (max-width: 991px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo {
        height: 60px;
    }

    .hero {
        min-height: calc(100vh - 160px);
        padding-top: 10px;
    }

    .hero-grid,
    .about-container,
    .service-container,
    .investor-container {
        grid-template-columns: 1fr;
    }

    .service-left {
        text-align: center;
    }

        .service-left h2,
        .service-point,
        .service-point p,
        .highlight-green {
            text-align: center;
        }

    .investor-title,
    .investor-text {
        text-align: center;
    }

    .investor-right {
        align-items: center;
    }

    .image-stack {
        padding-bottom: 50px;
    }

    .van-img {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 80%;
        margin-top: 20px;
    }

    .celular-wrapper {
        max-width: 220px;
        margin: 30px auto 0;
    }

    .celular-img {
        max-height: 50vh;
    }

    .app-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container {
        gap: 40px;
    }

    .about-middle::before {
        width: 150%;
        height: 150%;
        left: -25%;
        top: -25%;
    }

    .phone-img {
        transform: none;
        max-width: 60%;
        margin: 20px auto;
        position: relative;
    }

    .investor-logo {
        width: 250px;
    }

    .investor-title {
        font-size: 2.5rem;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

        footer .left,
        footer .right {
            justify-content: center;
            width: 100%;
        }

    .hero-container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-van {
        order: -1;
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    header {
        height: 80px;
    }

    .logo {
        height: 50px;
    }

    main {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    footer {
        height: 70px;
    }

    .hero {
        min-height: calc(100vh - 150px);
    }

    .service-left {
        text-align: left;
    }

        .service-left h2,
        .service-point,
        .service-point p,
        .highlight-green {
            text-align: left;
        }

    .mobile-link {
        font-size: 1.3rem;
    }

    .hero-van {
        width: 100%;
        max-width: 400px;
    }

    .service-container {
        padding: 20px 15px;
    }

    .service-right {
        padding-top: 30px;
    }

    .investor-container {
        gap: 30px;
    }

    .celular-img {
        max-height: 45vh;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }

    .celular-wrapper {
        max-width: 180px;
    }

    .celular-img {
        max-height: 40vh;
    }

    .mobile-menu-content {
        padding: 10px;
    }

    .mobile-link {
        font-size: 1.2rem;
        padding: 8px 15px;
    }

    .about-middle .app-label {
        font-size: 2.5rem;
    }

    .about-middle .app-name {
        font-size: 2rem;
    }

    footer {
        padding: 15px;
    }
}

/* Dispositivos con notch */
@supports(padding: max(0px)) {
    header {
        padding-top: max(10px, env(safe-area-inset-top));
        height: calc(90px + env(safe-area-inset-top));
    }

    main {
        padding-top: calc(90px + env(safe-area-inset-top));
    }

    footer {
        padding-bottom: env(safe-area-inset-bottom));
        height: calc(80px + env(safe-area-inset-bottom));
    }
}
