﻿/* ══════════════════════════════════════
   CONTACT US PAGE — SCOPED STYLES
   All page-specific classes prefixed cu-
   to prevent collision with style.css,
   components.css, or other page styles.
   Zero overrides.
══════════════════════════════════════ */

/* ══════════════════════════════════════
   HERO — EYEBROW PILL
══════════════════════════════════════ */
.cu-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    border: 1px solid rgba(26, 86, 219, 0.22);
}

/* ══════════════════════════════════════
   HERO SECTION — DIAGONAL GRADIENT
══════════════════════════════════════ */
.cu-hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 55%, #ebf2fc 100%);
    padding-top: 120px;
}

.cu-hero-section .hero {
    align-items: center;
    padding: 60px var(--c-px) 64px;
}

.cu-hero-section .hero-right {
    display: flex;
    justify-content: center;
}

.cu-hero-section .hero-title {
    font-size: 60px;
    font-weight: 800;
}

/* ══════════════════════════════════════
   HERO VISUAL — COMMUNICATION NETWORK
══════════════════════════════════════ */
.cu-hero-visual {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 50%, #f0f6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26, 86, 219, 0.14), 0 4px 16px rgba(0, 0, 0, 0.06);
    animation: heroImageFloat 8s ease-in-out 1s infinite;
}

.cu-hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 65% 30%, rgba(26, 86, 219, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 25% 70%, rgba(59, 130, 246, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.cu-hero-visual svg {
    width: 100%;
    height: 100%;
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   HERO BADGES
══════════════════════════════════════ */
.cu-hero-badge-top {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.18);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #1a56db;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.14);
    z-index: 2;
    animation: cloud-badge-float 6s ease-in-out 0.2s infinite;
}

.cu-hero-badge-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.14);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.13);
    z-index: 2;
    animation: cloud-badge-float 5s ease-in-out 0.8s infinite;
}

.cu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a56db;
    box-shadow: 0 0 0 0 rgba(26, 86, 219, 0.50);
    flex-shrink: 0;
    animation: cu-pulse 2s ease-in-out infinite;
}

@keyframes cu-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 86, 219, 0.55);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(26, 86, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 86, 219, 0);
    }
}

.cu-bt {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.cu-bs {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
}

/* ══════════════════════════════════════
   HELP SECTION
══════════════════════════════════════ */
.cu-help-section {
    background: var(--white);
}

.cu-help-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 12px auto 40px;
    text-align: center;
}

/* 2×2 grid */
.cu-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    margin-top: 0;
}

.cu-help-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(26, 86, 219, 0.05), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease,
        border-color var(--transition-base) ease;
    display: flex;
}

.cu-help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(26, 86, 219, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left-color: #1e40af;
}

.cu-help-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #dbeafe;
    color: #1a56db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cu-help-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.cu-help-card-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* ══════════════════════════════════════
   STEPS SECTION
══════════════════════════════════════ */
.cu-steps-section {
    background: #f8fafc;
}

.cu-steps-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 600px;
    margin: 12px auto 48px;
    text-align: center;
}

/* Horizontal 4-step flow */
.cu-steps-flow {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 0;
    position: relative;
}

.cu-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.cu-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.30);
    position: relative;
    z-index: 1;
}

.cu-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 10px;
}

.cu-step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* Dashed connector line between steps */
.cu-step-connector {
    flex: 0 0 auto;
    width: 40px;
    height: 2px;
    border-top: 2px dashed rgba(26, 86, 219, 0.35);
    margin-top: 27px;
    /* vertically aligns with step circle center */
    align-self: flex-start;
    flex-shrink: 0;
}

/* ══════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════ */
.cu-contact-section {
    background: var(--white);
}

.cu-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* align-items: flex-start; */
}

/* ── Hero form wrap ── */
.cu-hero-form-wrap {
    width: 100%;
    max-width: 540px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 32px 28px;
    box-shadow: 0 24px 64px rgba(26, 86, 219, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cu-hero-form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
}

/* ── Map column ── */
.cu-map-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 8px 32px rgba(26, 86, 219, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid var(--border);
}

.cu-map-col iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ── Form column ── */
.cu-form-col {
    display: flex;
    flex-direction: column;
}

.cu-form-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0 0 8px;
    text-align: left;
}

.cu-form-subtitle {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
}

.cu-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cu-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cu-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cu-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.cu-required {
    color: #e53e3e;
    margin-left: 2px;
}

.cu-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.cu-input::placeholder {
    color: #9ca3af;
}

.cu-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.cu-input:hover:not(:focus) {
    border-color: #93c5fd;
}

.cu-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.cu-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.cu-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background: var(--blue);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-base);
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.28);
    margin-top: 4px;
}

.cu-submit-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.36);
}

.cu-submit-btn:active {
    transform: translateY(0);
}

/* ── Form success state ── */
.cu-form-success {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 56px 32px;
    border: 1.5px solid rgba(26, 86, 219, 0.18);
    border-radius: var(--radius-lg);
    background: #f0f6ff;
    min-height: 320px;
}

.cu-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1a56db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-form-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.cu-form-success p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* ── Info column ── */
.cu-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 100px;
}

.cu-info-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0 0 10px;
}

.cu-info-subtitle {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
}

.cu-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cu-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base) ease, box-shadow var(--transition-base) ease;
}

.cu-info-card:hover {
    border-color: rgba(26, 86, 219, 0.28);
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.08);
}

.cu-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #dbeafe;
    color: #1a56db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cu-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.cu-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a56db;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cu-info-value {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.55;
    font-weight: 500;
    word-break: break-word;
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */

/* 1280px — tighten step connectors */
@media (max-width: 1279px) {
    .cu-step-connector {
        width: 24px;
    }
}

/* 1024px */
@media (max-width: 1023px) {
    .cu-contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cu-info-col {
        position: static;
    }

    .cu-steps-flow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .cu-step {
        flex: 0 0 calc(50% - 12px);
        padding: 0 16px 40px;
    }

    .cu-step-connector {
        display: none;
    }

    /* Show step connectors as vertical lines on step cards */
    .cu-step::after {
        content: '';
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        background: none;
    }
}

/* 768px */
@media (max-width: 767px) {
    .cu-hero-section {
        padding-top: 80px;
    }

    .cu-help-grid {
        grid-template-columns: 1fr;
    }

    .cu-steps-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .cu-step {
        flex: 1 1 auto;
        padding: 0 8px 32px;
        text-align: center;
        align-items: center;
    }

    .cu-step-connector {
        display: none;
    }

    .cu-contact-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .cu-hero-visual {
        max-width: 100%;
    }

    .cu-hero-badge-top {
        font-size: 10px;
        padding: 6px 10px;
    }

    .cu-help-card {
        padding: 24px 20px 20px;
    }

    .cu-contact-inner {
        gap: 28px;
    }

    .cu-form-title {
        font-size: 22px;
    }

    .cu-info-title {
        font-size: 18px;
    }

    .cu-step-number {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}