/**
 * G-CERTI Argentina - Contact Page Styles
 * Version: 2026.7.0
 */

/* ============================================================================
   CONTACT HERO — Dark Premium
   ============================================================================ */
.q-contact-hero {
    position: relative;
    padding: calc(var(--q-header-h) + var(--space-10)) 0 var(--space-10);
    overflow: hidden;
    background: var(--gradient-hero-dark);
    color: var(--gc-white);
}

/* radial glows removed — quantum nodes canvas handles all visual depth */

.q-contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.12;
    animation: contactGrid 26s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.q-contact-hero .q-container {
    position: relative;
    z-index: 3;
}

@keyframes contactGlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes contactGrid {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 120px 120px, 120px 120px;
    }
}

.q-contact-hero .q-breadcrumb-light ol {
    display: flex;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-6);
    list-style: none;
    padding: 0;
}

.q-contact-hero .q-breadcrumb-light a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.q-contact-hero .q-breadcrumb-light a:hover {
    color: var(--gc-white);
}

.q-contact-hero-content {
    max-width: 680px;
}

.q-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

.q-contact-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.q-contact-hero .q-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 520px;
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */
.q-contact-section {
    padding: var(--space-16) 0;
    background: var(--gc-surface);
}

.q-contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

/* ============================================================================
   FORM WRAPPER — Glass Card
   ============================================================================ */
.q-contact-form-wrapper {
    padding: var(--space-10);
    background: var(--gc-surface-elevated);
    border: 1px solid var(--gc-border);
    border-radius: 24px;
    box-shadow: var(--gc-shadow-card);
}

.q-contact-form-wrapper h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--gc-gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.q-contact-form-wrapper>p {
    font-size: 15px;
    color: var(--gc-gray-500);
    margin-bottom: var(--space-8);
}

.q-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.q-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.q-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.q-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gc-gray-700);
    letter-spacing: 0.01em;
}

.q-input,
.q-select,
.q-textarea {
    padding: 14px 18px;
    background: var(--gc-surface-elevated);
    border: 1.5px solid var(--gc-border);
    border-radius: 12px;
    color: var(--gc-gray-900);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.q-input::placeholder,
.q-textarea::placeholder {
    color: var(--gc-gray-400);
}

.q-input:focus,
.q-select:focus,
.q-textarea:focus {
    outline: none;
    border-color: var(--gc-primary);
    background: var(--gc-surface-elevated);
    box-shadow: 0 0 0 4px rgba(230, 57, 53, 0.12);
}

.q-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23757575' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

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

.q-contact-form-wrapper .q-btn-primary {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.q-form-trust {
    text-align: center;
    font-size: 13px;
    color: var(--gc-gray-400);
    margin-top: 8px;
    letter-spacing: 0.01em;
}

/* ============================================================================
   SIDEBAR — Contact Info Cards
   ============================================================================ */
.q-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    position: sticky;
    top: 100px;
}

/* WhatsApp Card — Prominent */
.q-wa-card {
    padding: var(--space-7, 28px);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 20px;
    color: var(--gc-white);
    text-align: center;
}

.q-wa-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.q-wa-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-5);
}

.q-wa-card .q-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--gc-white);
    color: #128C7E;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.q-wa-card .q-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Info Card */
.q-contact-card {
    padding: var(--space-6);
    background: var(--gc-white);
    border: 1px solid var(--gc-slate-200, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.q-contact-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gc-gray-900);
    margin-bottom: var(--space-4);
}

.q-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 12px 0;
    border-bottom: 1px solid var(--gc-slate-100, #f1f5f9);
}

.q-contact-item:last-of-type {
    border-bottom: none;
}

.q-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 53, 0.08);
    border-radius: 12px;
    color: var(--gc-primary);
    flex-shrink: 0;
}

.q-contact-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gc-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.q-contact-item a {
    color: var(--gc-gray-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.q-contact-item a:hover {
    color: var(--gc-primary);
}

.q-contact-item .q-contact-text {
    color: var(--gc-gray-700);
    font-size: 15px;
}

/* ============================================================================
   TRUST STRIP — Below form
   ============================================================================ */
.q-trust-strip {
    padding: var(--space-12) 0;
    background: var(--gc-gray-50, #f8fafc);
}

.q-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    text-align: center;
}

.q-trust-item {
    padding: var(--space-6);
}

.q-trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    background: rgba(230, 57, 53, 0.08);
    border-radius: 16px;
    color: var(--gc-primary);
}

.q-trust-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gc-gray-900);
    margin-bottom: 6px;
}

.q-trust-item p {
    font-size: 14px;
    color: var(--gc-gray-500);
    line-height: 1.55;
}

/* ============================================================================
   SUCCESS STATE
   ============================================================================ */
.q-form-success {
    text-align: center;
    padding: var(--space-12);
}

.q-form-success svg {
    color: #16a34a;
    margin-bottom: var(--space-4);
}

.q-form-success h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--gc-gray-900);
    margin-bottom: var(--space-2);
}

.q-form-success p {
    font-size: 16px;
    color: var(--gc-gray-500);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .q-contact-grid {
        grid-template-columns: 1fr;
    }

    .q-contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .q-contact-hero {
        padding-top: calc(var(--q-header-h) + var(--space-8));
    }

    .q-form-row {
        grid-template-columns: 1fr;
    }

    .q-contact-form-wrapper {
        padding: var(--space-6);
    }

    .q-trust-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .q-trust-item {
        padding: var(--space-4);
    }
}
