﻿/* ============================================================
   CONTACT PAGE — css/contact.css
   Extracted inline styles from contact.html
   ============================================================ */

/* ─── Contact Section ──────────────────────────────────────── */
.contact-section--overflow {
    position: relative;
    overflow: hidden;
}

.contact-bg-logo {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: url('../assets/logos/iso/iso-gray.svg') center/contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.contact-container--z1 {
    position: relative;
    z-index: 1;
}

/* ─── Contact Info Links ───────────────────────────────────── */
.ci-value--brand {
    color: var(--primary-red);
}

.ci-value--address {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ─── Social Links Section ─────────────────────────────────── */
.contact-social-section {
    margin-top: 32px;
}

.contact-social-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.contact-social-row {
    display: flex;
    gap: 10px;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-social-link--instagram:hover,
.contact-social-link--facebook:hover,
.contact-social-link--linkedin:hover {
    background: var(--primary-red, #fa4238);
    color: white;
    border-color: var(--primary-red, #fa4238);
}

/* ─── QR Sticky flotante ───────────────────────────────────── */
.qr-sticky {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
}

.qr-sticky__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    background: var(--primary-red, #fa4238);
    color: white;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.qr-sticky__tab:hover {
    background: #d93328;
}

.qr-sticky__label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.qr-sticky__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: white;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px 0 0 12px;
    box-shadow: -6px 0 30px rgba(0,0,0,0.12);
    width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding-left: 0;
    padding-right: 0;
}

.qr-sticky.is-open .qr-sticky__panel {
    width: 170px;
    opacity: 1;
    pointer-events: auto;
    padding: 16px;
}

.qr-sticky__img {
    width: 130px;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.qr-sticky__text {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    text-align: center;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
}

/* ─── Contact Form Box ─────────────────────────────────────── */
.contact-form-box--overflow {
    position: relative;
    overflow: hidden;
}

.contact-form-bg-logo {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: url('../assets/logos/iso/iso-gray.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.contact-form-inner {
    position: relative;
    z-index: 1;
}

/* ─── Process Steps Section ────────────────────────────────── */
.process-steps-section--styled {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0;
}

.section-header--center {
    text-align: center;
    margin-bottom: 50px;
}

.section-eyebrow--red {
    color: var(--primary-red);
    opacity: 1;
}

.section-title--white {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

/* ─── Process Step Items ───────────────────────────────────── */
.process-step {
    text-align: center;
    padding: 28px;
}

.process-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(250, 66, 56, 0.1);
    border: 2px solid rgba(250, 66, 56, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-red);
}

.process-step__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.process-step__text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ─── Map Section ──────────────────────────────────────────── */
.location-map-section--padded {
    padding: 60px 0;
}

.map-card-wrapper {
    width: 100%;
    height: 450px;
    background: #eee;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
}

.map-card-wrapper iframe {
    filter: grayscale(1) contrast(1.1) opacity(0.85);
    transition: all 0.5s ease;
    pointer-events: none;
}

.map-card-wrapper:hover iframe {
    filter: grayscale(0) contrast(1) opacity(1);
    pointer-events: auto;
}

.map-iframe--borderless {
    border: 0;
}

@media (max-width: 768px) {
    .location-map-section--padded .container {
        padding: 0 16px !important;
    }

    .map-card-wrapper {
        height: 320px;
        border-radius: 20px;
    }
}

