/* =========================
   VARIABLES
========================= */
:root {
    --color-primary: #4A69BD;
    --color-primary-hover: #113bac;

    --color-bg: #F5F5F5;
    --color-text: #333;
    --color-error: #b00020;

    --font-main: 'Poppins', sans-serif;
    --font-title: 'Montserrat', sans-serif;

    --radius: 8px;
}

/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100%;
    background-color: #9b96fa;
}

/* =========================
   TIPOGRAFÍA
========================= */
body {
    font-family: var(--font-main);
    color: var(--color-text);
}

/* =========================
   HEADER GLOBAL
========================= */
.section-title {
    background: transparent;
    padding: 6px 12px;
    text-align: center;
    font-size: clamp(26px, 8vw, 46px);
}

.section-title h1 {
    font-family: var(--font-title);
    font-weight: 800;
    letter-spacing: 2px;
    color: white;

    font-size: 1em;
    margin: 0;
}

.section-title p {
    color: #bbb;
    font-size: 0.5em;
    margin-top: 6px;
}



/* RESPONSIVE HEADER */
@media (max-width: 460px) {
    .section-title {
        font-size: clamp(28px, 8vw, 38px);
    }

    .section-title p {
        font-size: clamp(14px, 3.5vw, 18px);
    }
}

/* =========================
   INPUTS
========================= */
.input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 16px;
}

/* =========================
   BOTONES BASE
========================= */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    
}

/* BOTÓN PRINCIPAL */
.btn-primary {
    background: #454545;
    color: #fff;
}

.btn-primary:hover {
    background: #000;
}

/* BOTÓN NEGRO */
.btn-dark {
    background: #000;
    color: #fff;
}

.btn-dark:hover {
    background: #1f1f1f;
}

/* BOTÓN SECUNDARIO */
.btn-secondary {
    background: #454545;
    color: #fff;
}

.btn-secondary:hover {
    background: #676767;
}

/* =========================
   MENSAJES DE ERROR
========================= */
.error {
    background-color: #ffe5e5;
    color: var(--color-error);
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
}