/* ================================
   VARIABLES CORPORATIVAS
================================ */
:root {
    --color-bg-primary: #0b1a33;
    --color-bg-secondary: #091528;
    --color-accent-dark: rgb(126,87,15);
    --color-accent-gold: #d4af37;
    --color-accent-light: #facc15;
    --color-text-light: #ffffff;
    --color-text-dark: #1f2937;
    --color-border: #e5e7eb;
}

/* ================================
   RESET / BASE
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-light);

    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(212,175,55,0.08),
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(126,87,15,0.10),
            transparent 50%
        ),
        linear-gradient(
            160deg,
            #0b1a33 0%,
            #091528 50%,
            #070f1d 100%
        );

    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
/* ================================
   CONTENEDOR GENERAL
================================ */
body > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
}

/* ================================
   HEADER
================================ */
header {
    text-align: center;
    padding-top: 40px;
}

/* ================================
   LOGO
================================ */
#logo {
    width: 170px;
    margin: 0 auto 32px;
    padding: 20px;
    border-radius: 20px;

    background: linear-gradient(145deg, #0c1c36, #081225);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -4px 10px rgba(0,0,0,0.6),
        0 20px 50px rgba(0,0,0,0.6);

    transition: transform 0.5s cubic-bezier(.22,1,.36,1),
                box-shadow 0.5s ease;
}

#logo:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        inset 0 2px 6px rgba(255,255,255,0.4),
        inset 0 -6px 14px rgba(0,0,0,0.7),
        0 30px 70px rgba(37,99,235,0.4);
}

/* ================================
   HEADINGS
================================ */
h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
      text-align: center;

    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent-light));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h2 {
    font-size: 15px;
    font-weight: 400;
    color: #c7d2fe;
    margin-bottom: 50px;
     text-align: center;
}

/* ================================
   TARJETA PRINCIPAL
================================ */

 .form-card {
    position: relative;
    width: 100%;
    max-width: 1000px;   /* puedes probar 900px o 1100px */
    padding: 44px 40px;
    border-radius: 24px;
    margin: 40px auto;   

    background: linear-gradient(180deg, #ffffff, #f9fafb);
    color: var(--color-text-dark);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.9);

    transition: transform 0.5s cubic-bezier(.22,1,.36,1),
                box-shadow 0.5s ease;
}

.form-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,1);
}

/* ================================
   MENÚ
================================ */
.opciones-formulario {
    list-style: none;
    margin-bottom: 40px;
}

.caja a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 20px;
    margin-bottom: 14px;

    border-radius: 14px;
    border: 1px solid var(--color-border);

    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;

    background: #ffffff;

    transition: all 0.25s ease;
}

.caja a:hover {
    transform: translateX(6px);
    border-color: var(--color-accent-dark);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ================================
   FORMULARIO
================================ */
.form-card form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

input,
textarea {
    height: 50px;
    padding: 14px 16px;
    font-size: 14px;

    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;

    transition: all 0.25s ease;
}

textarea {
    min-height: 120px;
    height: auto;
}

input:focus,
textarea:focus {
    outline: none;
    transform: translateY(-2px);
    border-color: var(--color-accent-dark);
    box-shadow: 0 8px 20px rgba(126,87,15,0.25);
}

/* ================================
   BOTÓN
================================ */
button {
    margin-top: 12px;
    padding: 16px;

    border-radius: 14px;
    border: none;

    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent-gold));

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: pointer;

    box-shadow: 0 15px 35px rgba(126,87,15,0.5);

    transition: all 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(126,87,15,0.6);
}

button:active {
    transform: scale(0.97);
}

/* ================================
   ANIMACIONES
================================ */
.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.22,1,.36,1),
                transform 0.8s cubic-bezier(.22,1,.36,1);
}

.animar.activo {
    opacity: 1;
    transform: translateY(0);
}





