/* ============================= */
/* HERO CONTACTO */
/* ============================= */

/* Tipografía uniforme */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    color: #212529;
}

/* Colores API */
:root {
    --api-yellow: #f5c400;
    --api-dark: #212529;
    --api-light: #f8f9fa;
    --api-gray: #495057;
}

h1, h2, h3 { font-weight: 700; }
p, li { font-size: 1rem; line-height: 1.6; color: var(--api-light); }

/* ESLOGAN FIJO */
.eslogan-fijo {
    background-color: #f5c400;   /* amarillo API */
    color: #212529;
    font-size: 0.85rem;          /* tamaño pequeño pero legible */
    font-weight: 200;            /* delgado */
    padding: 4px 0;              /* hace la franja más fina */
    text-align: center;

    position: sticky;
    top: 65px;                   /* debajo del navbar */
    z-index: 800;

    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* HERO */
.contacto-hero {
    background:
        linear-gradient(rgba(33,37,41,0.7), rgba(33,37,41,0.7)),
        url("../images/sellos.webp") center/cover no-repeat;
    padding: 150px 0 80px;
    text-align: center;
}

.contacto-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--api-light);
    margin-bottom: 10px;
}

.contacto-hero p {
    font-size: 1.3rem;
    color: var(--api-light);
    font-weight: 300;
}



/* ============================= */
/* CONTENIDO INFORMATIVO */
/* ============================= */
.contacto-contenido {
    background-color: var(--api-light);
}

.contacto-contenido h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--api-dark);
}

.contacto-contenido p {
    color: var(--api-gray);
    font-size: 1.05rem;
}


/* Lista de contacto */
.contacto-lista {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contacto-lista li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--api-dark);
}

.contacto-lista i {
    color: var(--api-yellow);
    margin-right: 10px;
    font-size: 1.1rem;
}


/* ============================= */
/* FORMULARIO */
/* ============================= */
.contacto-form-section {
    background-color: #ffffff;
}

/* Caja del formulario */
.formulario-box {
    max-width: 620px;
    background: var(--api-light);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.formulario-box h2 {
    font-weight: 700;
    color: var(--api-dark);
}

/* Inputs */
.formulario-box input,
.formulario-box textarea {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    color: var(--api-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Placeholder */
.formulario-box input::placeholder,
.formulario-box textarea::placeholder {
    color: #6c757d;
}

/* Focus */
.formulario-box input:focus,
.formulario-box textarea:focus {
    outline: none;
    border-color: var(--api-yellow);
    box-shadow: 0 0 0 0.2rem rgba(245,196,0,0.25);
}

/* Textarea */
.formulario-box textarea {
    resize: none;
    min-height: 120px;
}

/* Botón */
.formulario-box button {
    background-color: var(--api-yellow);
    color: var(--api-dark);
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formulario-box button:hover {
    background-color: #f5c400;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


/* ============================= */
/* ALERTAS FLASH */
/* ============================= */
.alert {
    border-radius: 8px;
    font-weight: 600;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
