.SeccionPrincipal {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;

    background: linear-gradient(270deg, #0f1a14, #1f3d2b, #0f1a14);
    background-size: 400% 400%;
    animation: fondoAnimado 14s ease infinite;
}

.SeccionPrincipal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../imagenes/Designer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation: zoomImagen 15s ease-in-out infinite;

    opacity: 0.85;
    filter: brightness(0.7);
    z-index: 0;
}

.SeccionPrincipal::after {
    content: "";
    position: absolute;
    inset: 0;
    
    /* destello suave */
    background: radial-gradient(
        circle at 50% 40%,
        rgba(255,255,255,0.16) 0%,
        rgba(255,255,255,0.10) 18%,
        rgba(255,255,255,0.00) 42%
    );

    z-index: 1;
    pointer-events: none;

    animation: sheenPulse 7.5s ease-in-out infinite;
}

/* ANIMACIÓN DEL BRILLO */
@keyframes sheenPulse {
    0%   { opacity: 0; }
    25%  { opacity: 0.10; }
    50%  { opacity: 0.18; }
    75%  { opacity: 0.10; }
    100% { opacity: 0; }
}

/* CONTENEDOR */
.seccionPrincipal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: translateY(40px);
    position: relative;
    z-index: 2;
    gap: 30px;
}

/* TEXTO */
.text {
    max-width: 100%;
    text-align: center;
    animation: aparecerTexto 1.2s ease;
}

.text h1 {
    font-size: 46px;
    margin-bottom: 20px;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
}

.text p {
    font-size: 23px;
    margin-bottom: 50px;
    color: #d4d4d4;
    text-align: center;
}

/* IMAGEN */
.image img {
    width: 420px;
    border-radius: 12px;
    animation: flotarImagen 6s ease-in-out infinite;
}

/* BOTÓN */
.text button {
    padding: 15px 35px;
    background-color: #d66800;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}



.text button:hover {
    transform: scale(1.05);
}

/* ANIMACIÓN FONDO */
@keyframes fondoAnimado {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* FORMA VERDE FLOTANTE */
@keyframes flotar {
    from {transform: translateY(0);}
    to {transform: translateY(60px);}
}

/* IMAGEN FLOTANDO */
@keyframes flotarImagen {
    0% {transform: translateY(0);}
    50% {transform: translateY(-15px);}
    100% {transform: translateY(0);}
}

/* ZOOM SUAVE EN LA IMAGEN DE FONDO */
@keyframes zoomImagen {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* APARICIÓN TEXTO */
@keyframes aparecerTexto {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .seccionPrincipal-content { gap: 30px; }
    .text { max-width: 45%; }
    .text h1 { font-size: 36px; }
    .text p { font-size: 18px; }
    .image img { width: 350px; }
}

@media (max-width: 768px) {
    .SeccionPrincipal {
        height: auto;
        padding: 50px 0;
    }
    .seccionPrincipal-content {
        flex-direction: column;
        align-items: center;
        transform: none;
        gap: 20px;
    }
    .text { max-width: 100%; text-align: center; padding: 0 15px; }
    .text h1 { font-size: 26px; margin-bottom: 15px; line-height: 1.3; }
    .text p { font-size: 16px; margin-bottom: 25px; line-height: 1.5; }
    .image { width: 100%; max-width: 320px; }
    .image img { width: 100%; height: auto; max-width: 320px; }
}

@media (max-width: 480px) {
    .SeccionPrincipal { padding: 30px 0; overflow-x: hidden; }
    .seccionPrincipal-content { gap: 15px; padding: 0 8px; }
    .text { padding: 0 8px; }
    .text h1 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; word-wrap: break-word; word-break: break-word; }
    .text p { font-size: 14px; margin-bottom: 15px; line-height: 1.4; }
    .image img { width: 100%; max-width: 240px; }
}