/* ============================================================
   CONTACT — Página de contacto
   ============================================================ */

/* ── Contenedor raíz ────────────────────────────────────── */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 80px);
}

/* ── Encabezado centrado ────────────────────────────────── */
.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.75rem 0;
}

.contact-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

/* ── Grid de dos columnas ───────────────────────────────── */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Info columna izquierda ─────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.contact-method:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
    transform: translateX(4px);
}

.contact-method .icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-method .icon.email    { background: var(--accent-bg); }
.contact-method .icon.location { background: rgba(168, 85, 247, 0.15); }
.contact-method .icon.phone    { background: var(--accent-bg); }

.contact-method .details h3 {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-method .details p { font-size: 0.95rem; color: var(--text-content); }

.contact-method a {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* ── WhatsApp card ──────────────────────────────────────── */
.whatsapp-card {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 14px;
}

.whatsapp-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: #25D366; }
.whatsapp-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.whatsapp-btn:hover { background-color: #20bd5a; transform: translateY(-2px); }

/* ── Form card ──────────────────────────────────────────── */
.form-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-tagline {
    font-size: 0.85rem;
    color: var(--text-content);
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: 10px;
    line-height: 1.6;
}

.form-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-main);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder,
textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea { height: 100px; resize: vertical; min-height: 80px; }

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background-color: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .contact-page    { padding: 2rem 1rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row        { grid-template-columns: 1fr; }
}
