/* Contact page. */

.contact-block {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    margin: 0 auto;
    color: var(--text-white);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 2.8rem);
    letter-spacing: .04em;
}
.contact-title::after {
    content: "";
    display: block;
    width: 220px;
    max-width: 60%;
    height: 3px;
    margin: .9rem auto 0;
    background: linear-gradient(90deg,
        rgba(125,166,255,0) 0%,
        rgba(125,166,255,.5) 25%,
        var(--blue-cobalt) 50%,
        rgba(125,166,255,.5) 75%,
        rgba(125,166,255,0) 100%);
    border-radius: 3px;
}

.contact-subtitle {
    margin: 1rem auto 2.4rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ---------- Formulario ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    text-align: left;
    padding: 2rem;
    border: 1px solid rgba(18,92,196,.35);
    border-radius: 14px;
    background: rgba(10,12,16,.4);
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-field label {
    color: var(--text-white);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .85rem 1rem;
    color: var(--text-white);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-cobalt);
    background: rgba(18,92,196,.08);
    box-shadow: 0 0 0 3px rgba(18,92,196,.25);
}

.contact-submit {
    margin-top: .4rem;
    align-self: stretch;
    background: var(--blue-cobalt);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .05em;
    padding: .95rem 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(18,92,196,.4);
    transition: background-color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.contact-submit:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(18,92,196,.55);
}

.contact-alt {
    margin: 1.8rem auto 0;
    color: var(--text-gray);
    font-size: 1rem;
}
.contact-alt__phone {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}
.contact-alt__phone:hover {
    color: var(--blue-cobalt);
}

@media (max-width: 520px) {
    .contact-form { padding: 1.5rem; }
}
