/*
    contact-page.css
    Standalone contact page — designed as a full page, not a section.
    Author: Mazin Omron
    Copyright © 2026 Mazin Omron All rights reserved.
*/

/* ============================================================
   PAGE SCAFFOLDING
   ============================================================ */
.contact-page {
    background: #f5f5f3;
    color: #2a2a2a;
}

.cp {
    padding-top: 0;
}

.cp .cp-eyebrow {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #7e998a;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cp .cp-eyebrow.centered { display: block; text-align: center; }

/* ============================================================
   HERO (page header)
   ============================================================ */
.cp-hero {
    padding: 100px 30px 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative element */
.cp-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(126, 153, 138, 0.06);
    pointer-events: none;
}

.cp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cp-heading {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(40px, 6.5vw, 72px);
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 24px;
    max-width: 900px;
}
.cp-heading em {
    font-style: italic;
    color: #576d5a;
    font-weight: 600;
}

.cp-lead {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(16px, 1.8vw, 19px);
    color: #555;
    line-height: 1.65;
    max-width: 620px;
    font-weight: 400;
}

/* ============================================================
   BODY GRID — sidebar + form
   ============================================================ */
.cp-body {
    padding: 80px 30px;
    background: #f5f5f3;
}

.cp-body-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

/* ============================================================
   LEFT SIDEBAR — info cards
   ============================================================ */
.cp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 100px;
}

.cp-card {
    background: #ffffff;
    border: 1px solid #ebebe7;
    border-radius: 12px;
    padding: 26px 24px;
    transition: border-color 0.25s ease;
}
.cp-card:hover { border-color: #7e998a; }

.cp-card-quiet {
    background: transparent;
    border-style: dashed;
}

.cp-card-label {
    display: inline-block;
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #7e998a;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cp-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.cp-card p {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 14px;
}
.cp-card p:last-child { margin-bottom: 0; }

.cp-contact-list,
.cp-expect-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cp-contact-list li,
.cp-expect-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}
.cp-contact-list li i,
.cp-expect-list li i {
    color: #576d5a;
    font-size: 14px;
    width: 18px;
    flex-shrink: 0;
}
.cp-contact-list a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cp-contact-list a:hover { color: #576d5a; }

/* ============================================================
   FORM WRAPPER
   ============================================================ */
.cp-form-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    border: 1px solid #ebebe7;
}

.cp-form-header {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid #ebebe7;
}
.cp-form-header h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.cp-form-header p {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.5;
}

/* ============================================================
   OVERRIDE THE HOMEPAGE FORM STYLES
   These selectors only apply on the contact page because of
   .contact-page on body — that scopes them safely.
   ============================================================ */

/* Kill the floating card look of .contact-container */
.contact-page .contact-container {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

/* The form inside our wrapper doesn't need padding (wrapper handles it) */
.contact-page .contact-form,
.contact-page .cp-form {
    padding: 0;
    background: transparent;
}

/* Hide the old gradient header — we have our own .cp-form-header */
.contact-page .contact-header {
    display: none;
}

/* Hide the old "Prefer to reach out directly?" footer block — sidebar handles it now */
.contact-page .contact-info {
    display: none;
}

/* ============================================================
   PROCESS / WHAT HAPPENS NEXT
   ============================================================ */
.cp-process {
    background: #ffffff;
    padding: 100px 30px 110px;
    border-top: 1px solid #ebebe7;
}

.cp-process-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cp-process h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.cp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.cp-step {
    padding: 30px 24px;
    border-top: 2px solid #576d5a;
    position: relative;
}

.cp-step-num {
    font-family: 'Source Serif Pro', serif;
    font-size: 38px;
    font-weight: 700;
    color: #7e998a;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.cp-step h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 12px;
}

.cp-step p {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .cp-body-inner {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    .cp-form-wrap {
        padding: 36px;
    }
}

@media (max-width: 860px) {
    .cp-body-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cp-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .cp-card {
        flex: 1 1 240px;
    }
    .cp-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .cp-hero {
        padding: 70px 20px 50px;
    }
    .cp-body {
        padding: 50px 20px;
    }
    .cp-form-wrap {
        padding: 28px 22px;
        border-radius: 12px;
    }
    .cp-form-header h2 {
        font-size: 24px;
    }
    .cp-sidebar {
        flex-direction: column;
    }
    .cp-process {
        padding: 70px 20px 80px;
    }
}