/* ===== Contact Page ===== */

.contact-page {
    min-height: 100vh;
    background: #f8fafc;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Radial glow ── */
.cp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,168,150,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Watermark CONTACT text ── */
.cp-watermark {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 14vw, 160px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(0,0,0,0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* ── Circuit decoration lines ── */
.cp-circuit {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}
.cp-circuit--tl { top: 0; left: 0; }
.cp-circuit--tr { top: 0; right: 0; transform: scaleX(-1); }
.cp-circuit--br { bottom: 0; right: 0; transform: scale(-1); }

/* ── Main two-column layout ── */
.cp-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ══════════════════════
   LEFT SIDE
══════════════════════ */
.cp-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Badge */
.cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,168,150,0.08);
    border: 1px solid rgba(0,168,150,0.2);
    border-radius: 999px;
    padding: 6px 16px 6px 8px;
    width: fit-content;
}

.cp-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,168,150,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-badge-icon svg {
    width: 14px;
    height: 14px;
    stroke: #00A896;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-badge span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #00A896;
}

/* Heading */
.cp-heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

/* Subtitle */
.cp-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 340px;
    margin: -12px 0 0;
}

/* Contact info cards */
.cp-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cp-card:hover {
    background: #f0fdf9;
    border-color: rgba(0,168,150,0.35);
    box-shadow: 0 4px 16px rgba(0,168,150,0.1);
}

.cp-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,168,150,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: #00A896;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-card-text {
    flex: 1;
}

.cp-card-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.cp-card-text span {
    font-size: 0.8rem;
    color: #64748b;
}

.cp-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cp-card:hover .cp-card-arrow {
    background: rgba(0,168,150,0.15);
}

.cp-card-arrow svg {
    width: 14px;
    height: 14px;
    stroke: #64748b;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.cp-card:hover .cp-card-arrow svg {
    stroke: #00A896;
}

/* ══════════════════════
   RIGHT SIDE — FORM
══════════════════════ */
.cp-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.cp-input,
.cp-textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
}

.cp-input::placeholder,
.cp-textarea::placeholder {
    color: #94a3b8;
}

.cp-input:focus,
.cp-textarea:focus {
    border-color: rgba(0,168,150,0.5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,168,150,0.08);
}

.cp-textarea {
    height: 200px;
}

.cp-submit {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
    margin-top: 4px;
}

.cp-submit:hover {
    background: #00A896;
    transform: translateY(-1px);
}

/* ══════════════════════
   MAP SECTION
══════════════════════ */
.cp-map-section {
    background: #f8fafc;
    padding: 5rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .cp-map-section {
        padding: 4rem 0 0;
    }

    .cp-map-header {
        padding: 0 1.5rem;
    }

    .cp-map-wrap {
        max-width: 100%;
        width: 100%;
    }
}

.cp-map-header {
    text-align: center;
    max-width: 600px;
    margin-bottom: 1rem;
}

.cp-map-tag {
    display: inline-block;
    border: 1px solid rgba(0,168,150,0.4);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    background: rgba(0,168,150,0.06);
}

.cp-map-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.cp-map-sub {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.cp-map-wrap {
    width: 100%;
    max-width: 1400px;
}

.cp-map-wrap svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ══════════════════════
   GLOBAL REACH SECTION (legacy)
══════════════════════ */
.cp-globe-section {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 7rem 2rem 0;
    min-height: 90vh;
}

.cp-globe-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0,168,150,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Large faint circle ring */
.cp-globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 680px;
    height: 680px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cp-globe-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 50%;
}

/* Content */
.cp-globe-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 640px;
    margin-bottom: 3rem;
}

.cp-globe-tag {
    display: inline-block;
    border: 1px solid rgba(0,168,150,0.4);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    background: rgba(0,168,150,0.06);
}

.cp-globe-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.cp-globe-sub {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cp-globe-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cp-globe-btn-primary {
    background: #00A896;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
}

.cp-globe-btn-primary:hover {
    background: #008a7c;
    transform: translateY(-1px);
}

.cp-globe-btn-ghost {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.cp-globe-btn-ghost:hover { color: #0f172a; }

.cp-globe-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cp-globe-play svg {
    width: 12px;
    height: 12px;
    color: #0f172a;
    margin-left: 2px;
}

.cp-globe-btn-ghost:hover .cp-globe-play {
    background: rgba(0,168,150,0.3);
}

/* Map wrap — pinned to bottom */
.cp-globe-map-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    z-index: 2;
    margin-top: auto;
    /* Slight perspective crop from bottom */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, black 40%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, black 40%);
}

.cp-globe-map {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.5;
}

/* Floating pins */
.cp-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.cp-pin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2.5px solid #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cp-pin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00A896;
    margin-top: 3px;
    box-shadow: 0 0 8px rgba(0,168,150,0.8);
}

/* Bottom stat */
.cp-globe-stat {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cp-globe-stat strong {
    color: #00A896;
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .cp-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cp-watermark {
        font-size: 18vw;
        top: 5%;
        transform: translate(-50%, 0);
    }

    .cp-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 5rem 1.25rem 3rem;
    }

    .cp-heading {
        font-size: 2rem;
    }

    .cp-right {
        padding: 20px;
    }

    .cp-textarea {
        height: 150px;
    }
}
