* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    background: url("/carpiosweb.png") center/cover no-repeat;
    color: white;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #0b4f8a 0%,
        rgba(11,79,138,0.6) 40%,
        rgba(0,0,0,0.15) 100%
    );
}

/* LOGO */
.logo {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    z-index: 2;
}

/* CONTENIDO CENTRAL */
.content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.content h2 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 35px;
}

/* BOTONES */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.buttons a {
    padding: 10px 22px;
    border: 1px solid white;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;

    box-shadow: 0 0 6px rgba(255,255,255,0.15);

    transition:
        background 0.3s,
        color 0.3s,
        box-shadow 0.3s,
        transform 0.3s;
}

/* HOVER + GLOW */
.buttons a:hover {
    background: white;
    color: #0b4f8a;

    box-shadow:
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(255,255,255,0.6),
        0 0 35px rgba(11,79,138,0.6);

    transform: translateY(-2px);
}

/* EMAIL */
.email {
    margin-top: 35px;
    font-size: 14px;
    color: #0b4f8a;
    background: rgba(255,255,255,0.85);
    padding: 6px 14px;
    border-radius: 20px;
}

/* FOOTER */
footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    z-index: 2;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal.show {
    display: flex;
}

.modal-box {
    background: linear-gradient(145deg, #0b4f8a, #062f55);
    color: white;
    max-width: 520px;
    width: 90%;
    padding: 26px 26px;
    border-radius: 22px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    animation: modalFade 0.35s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* CONTENIDO DEL MODAL (COMPACTO Y LIMPIO) */
.modal-content {
    text-align: left;
}

.modal-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.modal-content p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
    opacity: 0.95;
}

.modal-content a {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: underline;
}

/* BOTÓN CERRAR */
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}