body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.landing-container {
    width: 100%;
    height: 100%;
    background: url('Images/Fondo-inicio.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    /* Allow scrolling if content overflows */
}

/* White Overlay */
.landing-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* 85% opacity white overlay */
    z-index: -1;
}

.content-wrapper {
    text-align: center;
    width: 90%;
    max-width: 800px;
    margin-bottom: 60px;
    /* Increased space for footer */
}

.main-title {
    font-size: 3rem;
    color: #4a1a2c;
    /* Dark reddish brown from branding */
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: normal;
}

.main-title .highlight {
    font-weight: bold;
    display: block;
    font-size: 3.5rem;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    /* Increased margin */
}

/* Button Card Style */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 340px;
    /* Slightly wider */
    padding: 10px 24px;
    /* Slightly larger padding */
    background-color: #73394b;
    /* Brand color background */
    color: white;
    /* White text */
    text-decoration: none;
    border-radius: 100px;
    /* 100px fully rounded */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #73394b;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-title {
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
    /* White text */
    opacity: 0.9;
}

.btn-subtitle {
    color: white;
    /* White text */
}

.brand-icon {
    font-size: 2.2rem;
    color: white;
    /* White icon */
}

.nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: #5e2e3d;
    /* Darker shade on hover */
    border-color: #5e2e3d;
}

.instruction-text {
    font-size: 1.4rem;
    /* Larger instruction text */
    color: #333;
    margin-top: 25px;
    line-height: 1.5;
    font-weight: 500;
}

.landing-footer {
    position: relative;
    /* Prevent overlap */
    bottom: auto;
    margin-top: 40px;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 20px;
}

.footer-logo {
    height: 110px;
    /* Larger logos (was 85px) */
    width: auto;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .buttons-container {
        flex-direction: row;
    }

    .nav-btn {
        width: 320px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .main-title .highlight {
        font-size: 4rem;
    }

    .instruction-text {
        font-size: 1.6rem;
        /* Even larger on desktop */
    }

    .footer-logo {
        height: 140px;
        /* Even larger on desktop */
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .landing-container {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
        justify-content: flex-start;
    }

    .content-wrapper {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 95%;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .main-title .highlight {
        font-size: 2.5rem;
    }

    .buttons-container {
        flex-direction: row;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .nav-btn {
        width: 50%;
        max-width: none;
        flex-direction: column-reverse;
        justify-content: center;
        padding: 15px 5px;
        text-align: center;
    }

    .btn-content {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .btn-title {
        font-size: 0.7rem;
        font-weight: normal;
    }

    .btn-subtitle {
        font-size: 1rem;
        line-height: 1.2;
        font-weight: normal;
    }

    .brand-icon {
        display: none !important;
    }

    .instruction-text {
        font-size: 1rem;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .landing-footer {
        position: relative;
        bottom: auto;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .footer-logo {
        height: 60px;
    }
}