/* GENERAL */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-image: url(../img/fondoam.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* MENÚ */
.menu {
    background: rgba(216, 27, 96, 0.88);
    padding: 18px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    color: #ffeb3b;
}

/* TITULO */
.titulo {
    text-align: center;
    color: white;
    margin-top: 30px;
    font-size: 38px;
    text-shadow: 0 0 10px #000;
}

/* CONTENEDOR PRINCIPAL — TODO CENTRADO */
.form-container {
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding: 20px;
}

/* FORMULARIO CENTRADO Y SIMÉTRICO */
.form-box {
    width: 430px;
    background: rgba(255,255,255,0.97);
    padding: 28px 25px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Título */
.form-box h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #d81b60;
}

/* LABELS — alineados sin mover inputs */
.form-box label {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

/* INPUTS Y TEXTAREA — centrados visualmente */
.form-box input,
.form-box textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 2px solid #ccc;
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
}

/* TEXTAREA */
.form-box textarea {
    height: 120px;
    resize: none;
}

/* EFECTO FOCUS */
.form-box input:focus,
.form-box textarea:focus {
    border-color: #d81b60;
    box-shadow: 0 0 6px rgba(216, 27, 96, 0.4);
}

/* BOTÓN */
.form-box button {
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    background: #d81b60;
    border: none;
    color: white;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

.form-box button:hover {
    background: #ff2f8e;
}

/* MENSAJE DE ÉXITO */
.success-message {
    text-align: center;
    background: #4caf50;
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* REDES SOCIALES — MISMO ESTILO Y CENTRADAS */
.social-box {
    width: 300px;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    box-sizing: border-box;
}

.social-box h3 {
    text-align: center;
    color: #d81b60;
    font-size: 26px;
    margin-bottom: 20px;
}

.social {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: center;
    color: white;
    transition: 0.3s;
}

.facebook { background: #1877f2; }
.instagram { background: #e1306c; }
.tiktok { background: #000; }
.whatsapp { background: #25d366; }

.social:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: white;
    background: rgba(0,0,0,0.6);
    margin-top: 40px;
}
