/* contacto.css - Estilos propios de la pagina Contactenos (namespaced cnt-) */

.cnt-page {
    background: var(--gray-50);
    padding-bottom: 3rem;
}

.cnt-head {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem;
}

.cnt-head h1 {
    font-family: var(--font-secondary);
    font-size: 2.25rem;
    color: var(--gray-900);
    font-weight: 700;
    margin: 0;
}

.cnt-head p {
    color: var(--gray-500);
    margin: 0.5rem auto 0;
    max-width: 560px;
}

.cnt-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.cnt-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cnt-card h2 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

.cnt-form-group {
    margin-bottom: 1.1rem;
}

.cnt-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.cnt-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.2s;
    color: var(--gray-900);
}

.cnt-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(var(--primary-light-rgb), 0.15);
}

textarea.cnt-control {
    resize: vertical;
    min-height: 120px;
}

.cnt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.cnt-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Honeypot anti-bot: fuera de pantalla, invisible para humanos pero presente en el DOM */
.cnt-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.cnt-feedback {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
}

.cnt-feedback-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cnt-feedback-error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cnt-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin: 0.5rem 0 0;
    padding: 0;
}

.cnt-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cnt-info-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(var(--primary-color-rgb), 0.08);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.cnt-info-item h3 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin: 0 0 0.15rem;
}

.cnt-info-item a,
.cnt-info-item span {
    color: var(--gray-500);
    font-size: 0.92rem;
    text-decoration: none;
}

.cnt-info-item a:hover {
    color: var(--primary-color);
}

.cnt-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.cnt-socials a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: 0.2s;
}

.cnt-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.cnt-map {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--gray-200);
}

.cnt-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 860px) {
    .cnt-split {
        grid-template-columns: 1fr;
    }
    .cnt-head h1 {
        font-size: 1.8rem;
    }
}
