main {
    margin: 0;
    padding: 0;
}

.home-container {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    min-height: 100vh;
}

.home-main {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.home-content-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.home-column {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.home-column-left {
    flex: 1;
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.home-column-right {
    flex: 1;
    height: 100vh;
    position: relative;
    margin-left: -15vw; /* Este es el solapamiento */
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Ainear a la derecha los botones */
    padding-right: 5vw;
}

.right-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: -1;
    pointer-events: none;
}

.home-right-content {
    position: relative;
    z-index: 11;
    display: flex;
    flex-direction: row; /* Lado a lado: Logo e botones */
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 0 5vw;
}

.home-logo-container {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
}

.home-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.home-buttons-stack {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, 3vh, 30px);
}

/* Estilos para los botones de acción */
.home-action-btn {
    display: block;
    width: 100%;
    max-width: clamp(400px, 42vw, 500px);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
}

.home-action-btn:hover {
    transform: translateY(-8px);
    filter: brightness(1.1);
}

.home-action-btn:active {
    transform: translateY(-4px);
}

.home-btn-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Texto del medio - No clickeable */
.home-text-middle {
    display: block;
    width: 100%;
    max-width: clamp(400px, 42vw, 500px);
    pointer-events: none;
    user-select: none;
}

.home-text-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


.home-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.fire-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 100, 0, 0.2), transparent);
    pointer-events: none;
    z-index: 2;
}

.paper-plane {
    position: absolute;
    top: clamp(90px, 12vh, 140px);
    left: clamp(32%, 36vw, 42%);
    width: clamp(120px, 12vw, 210px);
    height: auto;
    transform: rotate(-6deg);
    pointer-events: none;
    user-select: none;
    z-index: 4;
    animation: planeFloat 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes planeFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-14px) rotate(-4deg);
    }
}

/* Responsive Styles Refined */

@media (max-width: 1200px) {
    .home-column-right {
        margin-left: -25vw;
    }
    .home-right-content {
        padding: 0 2vw;
    }
}

@media (max-width: 992px) {
    .home-content-grid {
        flex-direction: column;
        overflow: visible;
        min-height: 100%;
    }
    
    .home-column-left {
        height: 48vh;
        flex: none;
        width: 100%;
        overflow: visible; /* Allow overlap */
    }

    .home-column-right {
        height: auto;
        min-height: 52vh;
        flex: 1;
        width: 100%;
        margin-left: 0;
        margin-top: -15vh; 
        padding: 0px 20px 180px; /* Increased to avoid being hidden by WhatsApp and footer */
        align-items: center;
        justify-content: flex-start;
        background-color: transparent;
    }

    .home-right-content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        width: 100%;
        margin-top: 15vw;
    }

    .home-logo-container, .home-buttons-stack {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .home-logo {
        max-width: 300px;
    }

    .right-bg-image {
        object-fit: cover;
        object-position: top center;
        width: 150%;
        max-width: 150%;
        left: -25%;
        height: 100%;
        min-height: 100%;
    }
}

@media (max-width: 480px) {
    .home-column-left {
        height: 35vh;
    }
    .home-action-btn, .home-text-middle {
        max-width: 260px;
    }
    .home-logo {
        max-width: 240px;
    }
}

