

* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f2f7f6; /* Fondo claro y limpio */
    color: #2f3e46;
}

header {
    background: #2f8f83; 
    color: white;
    text-align: center;
    padding: 25px;
}

header h1 {
    margin: 0;
}

header p {
    margin: 5px 0;
}

header small {
    color: #d7f0ec;
}

section {
    padding: 40px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2f3e46;
}



.selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}



.card {
    width: 720px;
    background: #2f8f83; 
    color: white;
    padding: 15px 25px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.25s ease;
}

.card:hover {
    background: #24766c; /* Verde más oscuro */
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}


.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icono {
    font-size: 36px;
    min-width: 40px;
    color: #ffffff;
}

.texto h3 {
    margin: 0;
    font-size: 20px;
}

.texto p {
    margin: 3px 0 0;
    font-size: 14px;
    opacity: 0.95;
}



.formulario {
    width: 720px;
    background: #ffffff;
    padding: 22px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    margin-bottom: 20px;

    display: none;
}


.formulario.activo {
    display: block;
    animation: aparecer 0.35s ease;
}


@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formulario h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #2f3e46;
}

.formulario label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    color: #2f3e46;
}

.formulario input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #cfdedd;
    border-radius: 6px;
}

.formulario input:focus {
    outline: none;
    border-color: #2f8f83;
}

.formulario button {
    margin-top: 18px;
    width: 100%;
    padding: 11px;
    background: #2f8f83;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.25s ease;
}

.formulario button:hover {
    background: #24766c;
}


footer {
    background: #2f3e46;
    color: white;
    text-align: center;
    padding: 12px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

