.containerHome {
    text-align: center;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 20px; /* Añadido para controlar espacio inferior */
}

.containerHome h1 {
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    font-size: 90px;
    color: white;
    margin-bottom: 25px;
}

.containerHome h2 {
    font-family: "Lexend", sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 80px;
    color: #B2B2B2;
}

.containerHome a {
    font-family: "Lexend", sans-serif;
    font-weight: 300;
    background-color: white;
    text-decoration: none;
    color: black;
    text-align: center;
    padding: 8px;
    display: inline-block;
    width: 200px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 0; /* Eliminado el margen inferior */
}

.containerHome a:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.heroSection {
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh; /* Cambiado a min-height para permitir expansión */
}

.gradientElipse {
    position: absolute;
    width: 516px;
    height: 516px;
    background: radial-gradient(circle, #e3f2fd);
    opacity: 0.6;
    z-index: 0;
    filter: blur(120px);
}

.elipse1 {
    position: absolute;
    width: 516px;
    height: 516px;
    background: linear-gradient(45deg, #bbdefb, #90caf9);
    opacity: 0.5;
    z-index: 0;
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.elipse2 {
    position: absolute;
    width: 516px;
    height: 516px;
    border-radius: 50%;
    background: linear-gradient(45deg, #bbdefb, #90caf9);
    opacity: 0.4;
    z-index: 0;
    top: -100px;
    right: -100px;
}

.blurContainer {
    z-index: 1;
    position: relative;
    min-height: 100vh; /* Cambiado a min-height para permitir expansión */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 0;
}

.fakeMockup {
    position: relative;
    width: 90vw;
    max-width: 978px;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0px;
    box-shadow:
       0 8px 32px rgba(0, 0, 0, 0.3),
       inset 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    filter: blur(12px);
    margin-top: 20px; /* Mobile-first: espacio reducido por defecto */
    margin-bottom: 0;
}

.fakeMockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
    filter: blur(4px); 
}

.fakeMockup::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    filter: blur(4px); 
    opacity: 0.3;
}

.fotoMockup {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop (1024px y superior) */
@media (min-width: 1024px) {
    .fakeMockup {
        margin-top: 80px; /* Espaciado superior en PC */
    }
    
    .blurContainer {
        justify-content: space-between; /* En PC distribuye el espacio */
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .containerHome h1 {
        font-size: 70px;
        margin-bottom: 20px;
    }
    
    .containerHome h2 {
        font-size: 16px;
        margin-bottom: 40px; /* Reducido de 60px a 40px */
    }
    
    .containerHome a {
        width: 180px;
        padding: 10px;
    }
    
    .heroSection {
        min-height: auto; /* Cambiado de 100vh a auto para tablet */
    }
    
    .blurContainer {
        min-height: auto; /* Cambiado de 100vh a auto para tablet */
        justify-content: flex-start; /* Cambiado de space-between a flex-start */
        padding-bottom: 0; /* Sin padding inferior */
    }
    
    .fakeMockup {
        width: 95vw;
        height: 180px;
        margin-top: 120px; /* Espacio intermedio en tablet */
        margin-bottom: 0; /* Sin margen inferior */
    }
}

/* Mobile (0px - 767px) */
@media (max-width: 767px) {
    .containerHome {
        padding-top: 80px;
        padding-bottom: 10px; /* Reducido para menos espacio */
    }
    
    .containerHome h1 {
        font-size: 48px;
        margin-bottom: 15px;
        line-height: 1.1;
    }
    
    .containerHome h2 {
        font-size: 14px;
        margin-bottom: 25px; /* Reducido de 60px a 25px */
        line-height: 1.4;
        padding: 0 20px;
    }
    
    .containerHome a {
        width: 160px;
        padding: 12px;
        font-size: 14px;
    }
    
    .heroSection {
        min-height: auto; /* Cambiado de 100vh a auto para mobile */
    }
    
    .blurContainer {
        min-height: auto; /* Cambiado de 100vh a auto para mobile */
        justify-content: flex-start; /* Cambiado de space-between a flex-start */
        padding-bottom: 0; /* Sin padding inferior */
    }
    
    .fakeMockup {
        width: 100vw;
        height: 150px;
        border-width: 4px;
        margin-top: 120px; /* Espacio reducido en mobile */
        margin-bottom: 0; /* Sin margen inferior */
    }
    
    .gradientElipse {
        width: 300px;
        height: 300px;
    }
    
    .elipse1 {
        width: 300px;
        height: 300px;
        bottom: -150px;
        left: -150px;
    }
    
    .elipse2 {
        width: 300px;
        height: 300px;
        top: -50px;
        right: -50px;
    }
}

/* ===== MODO CLARO ===== */
.heroSection {
    background-color: #f8f9fa !important;
}

.containerHome h1 {
    color: #1a1a1a !important;
}

.containerHome h2 {
    color: #666666 !important;
}

.containerHome a {
    background-color: #00a86b !important;
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3) !important;
}

.containerHome a:hover {
    background-color: #00995a !important;
    box-shadow: 0 6px 25px rgba(0, 168, 107, 0.4) !important;
    transform: translateY(-3px) !important;
}

.gradientElipse {
    background: radial-gradient(circle, #4caf50, #388e3c) !important;
    opacity: 0.8 !important;
}

.elipse1 {
    background: linear-gradient(45deg, #2e7d32, #1b5e20, #0d4a14) !important;
    opacity: 0.7 !important;
}

.elipse2 {
    background: linear-gradient(45deg, #2e7d32, #1b5e20, #0d4a14) !important;
    opacity: 0.6 !important;
}

.fakeMockup {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow:
       0 8px 32px rgba(0, 0, 0, 0.1),
       inset 0 1px rgba(255, 255, 255, 0.8) !important;
}

.fakeMockup::before {
    background: rgba(255, 255, 255, 0.3) !important;
}

.fakeMockup::after {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* ===== MODO OSCURO ===== */
.dark .heroSection {
    background-color: #0a0a0a !important;
}

.dark .containerHome h1 {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.dark .containerHome h2 {
    color: #e0e0e0 !important;
}

.dark .containerHome a {
    background-color: #00ffae !important;
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(0, 255, 174, 0.3) !important;
}

.dark .containerHome a:hover {
    background-color: #00e6a0 !important;
    box-shadow: 0 6px 25px rgba(0, 255, 174, 0.4) !important;
    transform: translateY(-3px) !important;
}

.dark .gradientElipse {
    background: radial-gradient(circle, #00ffae) !important;
    opacity: 0.3 !important;
}

.dark .elipse1 {
    background: linear-gradient(45deg, #00ffae, #00cc8a) !important;
    opacity: 0.4 !important;
}

.dark .elipse2 {
    background: linear-gradient(45deg, #00ffae, #00cc8a) !important;
    opacity: 0.3 !important;
}

.dark .fakeMockup {
    background: rgba(0, 255, 174, 0.1) !important;
    border-color: rgba(0, 255, 174, 0.3) !important;
    box-shadow:
       0 8px 32px rgba(0, 255, 174, 0.2),
       inset 0 1px rgba(0, 255, 174, 0.2) !important;
}

.dark .fakeMockup::before {
    background: rgba(0, 255, 174, 0.1) !important;
}

.dark .fakeMockup::after {
    background: rgba(0, 0, 0, 0.2) !important;
}
