:root {
    --amarillo: #FF7A00;
    --amarillo-oscuro: #E85D04;
    --negro: #111111;
    --negro-suave: #1c1c1c;
    --gris: #6b7280;
    --gris-claro: #f4f4f5;
    --gris-borde: #e5e7eb;
    --blanco: #ffffff;
    --verde-whatsapp: #25d366;

    --fuente-principal: 'Outfit', sans-serif;

    --radio: 1.6rem;
    --sombra: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--fuente-principal);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--negro);
    background-color: var(--blanco);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
}

section {
    scroll-margin-top: 9rem;
}

.contenedor {
    width: min(92%, 120rem);
    margin: 0 auto;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 4rem;
}

.titulo-seccion h2 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--negro);
}

.titulo-seccion h2::after {
    content: '';
    display: block;
    width: 7rem;
    height: 0.4rem;
    background-color: var(--amarillo);
    margin: 1rem auto 0;
    border-radius: 5rem;
}

.titulo-seccion p {
    max-width: 60rem;
    margin: 1.5rem auto 0;
    color: var(--gris);
}

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 2.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.boton:hover {
    transform: translateY(-0.2rem);
}

.boton--amarillo {
    background-color: var(--amarillo);
    color: var(--negro);
}

.boton--amarillo:hover {
    background-color: var(--amarillo-oscuro);
}

.boton--oscuro {
    background-color: var(--negro);
    color: var(--blanco);
}

.boton--oscuro:hover {
    background-color: var(--negro-suave);
}

.whatsapp-flotante {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 5.6rem;
    height: 5.6rem;
    background-color: var(--verde-whatsapp);
    color: var(--blanco);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 3rem;
    z-index: 1000;
    box-shadow: var(--sombra);
    animation: pulseWhatsApp 1.8s infinite;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 1.5rem rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.grid-formulario {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.campo label {
    font-weight: 700;
    color: var(--negro);
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    border: 1px solid var(--gris-borde);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    font-size: 1.5rem;
    outline: none;
    background-color: var(--blanco);
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    border-color: var(--amarillo);
    box-shadow: 0 0 0 0.3rem rgba(255, 196, 0, 0.25);
}

.bloque-formulario {
    background-color: var(--blanco);
    border-radius: var(--radio);
    padding: 2.4rem;
    box-shadow: var(--sombra);
    margin-bottom: 2rem;
}

.bloque-formulario h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.boton-enviar {
    width: 100%;
    max-width: 42rem;
    margin: 2rem auto 0;
    display: flex;
}

.mensaje-sistema {
    position: fixed;
    left: 50%;
    bottom: 9rem;
    transform: translateX(-50%) translateY(2rem);
    background-color: var(--negro);
    color: var(--blanco);
    padding: 1.4rem 2rem;
    border-radius: 999px;
    box-shadow: var(--sombra);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    width: min(90%, 48rem);
    text-align: center;
    font-weight: 700;
}

.mensaje-sistema--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mensaje-sistema--error {
    background-color: #dc2626;
}

.mensaje-sistema--ok {
    background-color: #16a34a;
}