*, :root, ::after, ::before {
    --primary-color: #000822;
    --secondary-color: #FFFFFF;
    --thirth-color: #f72585;
    --text-color: #0b0f1d;
    --font-family: 'League Spartan', 'Monserrat';
    --secondary-font-family: 'Montserrat', sans-serif;
    --font-size: 16px;
    --border-radius: 30px;
    box-sizing: border-box;
    margin: 0;
}

/* Evitar selección de imágenes y elementos */
img, svg {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

header, main{
    height: 100%
}

header{
    background-color: var(--primary-color);
    padding: 50px;
    color: var(--secondary-color);
    font-family: var(--secondary-font-family);
    overflow: hidden;
    position: relative;
    z-index: 0;

    & img{
        width: 30vw;
    }


    & h1{
        font-family: var(--font-family);
        font-size: 5em;
        max-width: 1000px;
        margin-top: 10px;
    }

    & button{
        margin-top: 20px;
        margin-right: 30px;
        
    }

    & p{
        font-size: clamp(1.5rem, 3vw, 2rem);
        max-width: min(900px, 80vw);
        margin-top: 20px;
        line-height: 1.4;
    }
}

.design-button{
    border-style: none;
    font-family: var(--font-family);
    font-size: 1.5em;
    font-weight: bolder;
    color: var(--text-color);

    padding: 20px 35px;
    background-color: var(--secondary-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    z-index: 1;
}

.design-button:hover{
    background-color: var(--thirth-color);
    color: var(--secondary-color);
}

.logo-verum-svg{
    width: 800px;
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

main{
    background: var(--secondary-color);
    height: 100%;
    padding: 20px;
}

main form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 2em auto;
    max-width: 800px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 4px 3px 9px rgba(247, 37, 133, 0.349);
}

main form header{
    height: 5em;
    padding: 1em;
    background-color: var(--thirth-color);
}

main form section{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1em;
    
    & textarea{
        resize: vertical;
        min-height: 2.5em;
        max-height: 8em;
    }
}

main form section h4{
    font-size: 1.5em;
    color: var(--primary-color);
}

main form section label{
    font-size: 1.1em;
    color: var(--primary-color);
}

label .required {
    color: var(--thirth-color);
    font-weight: bold;
}

main form section input, main form section select, main form section textarea{
    padding: 10px 20px;
    font-size: 1.1em;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.151);
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Oculta el input real */
.file-upload-input {
    display: none;
}

/* Estilo para el label que actúa como botón */
.file-upload-label {
    display: inline-block;
    padding: 14px 28px;
    background: var(--thirth-color);
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(247,37,133,0.08);
    margin-top: 10px;
    margin-bottom: 8px;
    text-align: center;
    
}

.file-upload-label:hover,
.file-upload-label:focus {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px) scale(1.03);
}

.button-submit, 
input[type="submit"].button-submit {
    display: inline-block;
    margin: 20px auto ;
    padding: 16px 20px;
    background: var(--thirth-color);
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247,37,133,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.button-submit:hover,
.button-submit:focus {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px) scale(1.03);
}

/* Nombre del archivo seleccionado */
.file-name {
    font-size: 0.95em;
    color: var(--primary-color);
    margin-top: 6px;
    font-family: var(--secondary-font-family);
    word-break: break-all;
}

footer{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 80px;
    display: flex;
    gap: 5px;
    align-items: start;
    justify-content: center;

    & h3{
        font-family: var(--font-family);
        font-size: 3em;
        margin-right: 40px;
        padding: 20px 30px;
        max-width: 400px;
        background-color: var(--thirth-color);
        border-radius: var(--border-radius);
    }

    & div{
        display: flex;
        gap: 20px;
        font-family: var(--secondary-font-family);
        font-size: 1.6em;
        flex-direction: column;
        max-width: 250px;
    }

    & div a{
        color: var(--secondary-color);
        text-decoration: none;
    }
}

@media screen and (max-width: 768px) {
    header h1 {
        font-size: 3em;
    }

    header img {
        width: 50vw;
    }

    main form {
        width: 90%;
        margin: 0 auto;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2em;
    }

    footer h3 {
        margin-right: 0;
    }

    footer div{
        align-items: center;
        text-align: center;

        & br{
            display: none;
        }
    }

    footer div p, footer div a{
        font-size: 0.8em;
    }
    
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}


@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

.seccion-oculta {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.seccion-visible {
    opacity: 1;
}

.proyecto-required {
    display: inline;
}

.marketing-mode .proyecto-required {
    display: none;
}