@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --color-negro: #000000;
    --color-blanco: #ffffff;
    --color-rojo: #e10600;
    /* rojo principal */
    --color-rojo-hover: #c00400;
    --color-gris: #f5f5f5;
    /* apoyo */
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografía base */
body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: var(--color-blanco);
    color: var(--color-negro);
}

/* Títulos */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Párrafos */
p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Botones base */
.btn {
    background-color: var(--color-rojo);
    color: var(--color-blanco);
    padding: 0.9rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--color-rojo-hover);
    transform: translateY(-2px);
}

/* Contenedor genérico */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    p {
        font-size: 1.05rem;
    }
}

html,
body {
    min-width: 320px;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    h2 {
        font-size: 1.55rem;
        line-height: 1.12;
    }

    h3 {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    p {
        font-size: .94rem;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
