/* ==========================================================================
   ESTILOS PÁGINA DE CONTACTO (STAMPIA)
   ========================================================================== */

.stampia-contact-layout {
    /*background-color: #fffcfc;*/
    padding-bottom: 80px;
    color: #334155;
}

/* --- HERO --- */
.contact-hero {
    background: linear-gradient(to bottom, #fff0f2, #fffcfc);
    padding: 100px 0 40px 0;
    text-align: center;
}
.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.contact-tag {
    display: inline-block;
    background: #fff0f2;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.contact-hero h1 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
    margin: 0 0 16px 0;
}
.contact-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #4a5568;
    margin: 0;
}

/* --- GRID DE CONTACTO --- */
.contact-container {
    padding-top: 30px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* COLUMNA IZQUIERDA */
.contact-info-col h2 {
    font-family: var(--font-serif, serif);
    font-size: 26px;
    color: #0D1B2A;
    margin: 0 0 12px 0;
}
.info-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}
.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.card-icon {
    font-size: 28px;
    background: #fff0f2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}
.card-details h3 {
    font-size: 16px;
    color: #0D1B2A;
    margin: 0 0 4px 0;
    font-family: var(--font-serif, serif);
}
.card-details p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
.card-action {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #25D366; /* Verde WhatsApp */
    margin-top: 6px;
}
.email-link {
    font-size: 14px;
    font-weight: bold;
    color: #d23f57;
    text-decoration: none;
}

/* BADGE AGENCIA DIGITAL */
.digital-agency-badge {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    border-radius: 12px;
}
.badge-icon {
    font-size: 24px;
}
.badge-text strong {
    display: block;
    font-size: 14px;
    color: #0D1B2A;
    margin-bottom: 4px;
}
.badge-text p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* COLUMNA DERECHA (FORMULARIO) */
.form-wrapper {
    background: white;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.form-wrapper h3 {
    font-family: var(--font-serif, serif);
    font-size: 22px;
    color: #0D1B2A;
    margin: 0 0 8px 0;
}
.form-wrapper p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0D1B2A;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-radius;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d23f57;
}
.btn-submit-contact {
    width: 100%;
    background: #0D1B2A;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit-contact:hover {
    background: #e29caf;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 868px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-wrapper {
        padding: 25px;
    }
}