/* ============================================
   Vertex Realty Group - Shared Styles
   Edit this file to update styles site-wide.
   ============================================ */

/* ---- PAGE HEADER (navy banner with breadcrumbs) ---- */
.page-header {
    background: linear-gradient(135deg, #0c1e3a 0%, #1a3a5c 100%);
    padding: 120px 24px 60px;
    text-align: center;
}
.page-header h1 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 16px;
    line-height: 1.15;
    font-family: 'Playfair Display', serif;
}
.page-header p {
    color: #a8b4c4;
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}
.page-header .breadcrumb {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 20px;
}
.page-header .breadcrumb a {
    color: #c8a862;
    text-decoration: none;
}

/* ---- CONTENT WRAP (main article body) ---- */
.content-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.content-wrap p {
    font-size: 1rem;
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 24px;
}
.content-wrap h2 {
    font-size: 1.7rem;
    color: #0c1e3a;
    margin: 48px 0 16px;
    font-family: 'Playfair Display', serif;
}
.content-wrap h3 {
    font-size: 1.25rem;
    color: #0c1e3a;
    margin: 36px 0 12px;
    font-family: 'Playfair Display', serif;
}
.content-wrap ul, .content-wrap ol {
    margin: 0 0 24px 24px;
    color: #4a5568;
    line-height: 1.85;
}
.content-wrap li {
    margin-bottom: 8px;
}
.content-wrap a {
    color: #c8a862;
}

/* ---- CALLOUT BOX ---- */
.callout {
    background: #fff;
    border-left: 4px solid #c8a862;
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 32px 0;
}
.callout p { margin-bottom: 0; }
.callout strong { color: #0c1e3a; }

/* ---- INFO CARD ---- */
.info-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}
.info-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #0c1e3a;
    margin-bottom: 8px;
}
.info-card p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* ---- DATA TABLES (scrollable on mobile) ---- */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
.cost-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e4dc;
}
.cost-table th {
    background: #0c1e3a;
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}
.cost-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #4a5568;
    border-bottom: 1px solid #f0ece4;
}
.cost-table tr:last-child td {
    border-bottom: none;
}

/* ---- STEP BLOCKS (buying process page) ---- */
.step-block {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    padding: 28px;
    margin: 28px 0;
}
.step-block .step-num {
    display: inline-block;
    background: #c8a862;
    color: #0c1e3a;
    font-weight: 700;
    font-size: 0.82rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    margin-bottom: 12px;
}
.step-block h3 {
    margin-top: 0;
    font-size: 1.2rem;
}
.step-block p {
    margin-bottom: 0;
    font-size: 0.92rem;
}
.step-block .timeline {
    font-size: 0.78rem;
    color: #c8a862;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

/* ---- CTA BOX ---- */
.cta-box {
    background: #0c1e3a;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 48px 0;
}
.cta-box h3 {
    color: #fff;
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
}
.cta-box p {
    color: #a8b4c4;
    margin-bottom: 20px;
}
.cta-box a {
    display: inline-block;
    background: #c8a862;
    color: #0c1e3a;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* ---- PAGE FOOTER ---- */
.page-footer {
    background: #0c1e3a;
    color: #64748b;
    padding: 32px 24px;
    text-align: center;
    font-size: 0.78rem;
}
.page-footer a {
    color: #c8a862;
    text-decoration: none;
}


/* =============================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    .content-wrap h2 {
        font-size: 1.5rem;
    }
}


/* =============================================
   RESPONSIVE: PHONE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 16px 40px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .content-wrap {
        padding: 36px 16px 60px;
    }
    .content-wrap p {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    .content-wrap h2 {
        font-size: 1.35rem;
        margin: 36px 0 12px;
    }
    .content-wrap h3 {
        font-size: 1.1rem;
        margin: 28px 0 10px;
    }
    .content-wrap ul, .content-wrap ol {
        margin-left: 16px;
    }

    .callout {
        padding: 18px 16px;
        margin: 24px 0;
    }

    .info-card {
        padding: 18px 16px;
        margin: 16px 0;
    }

    .cost-table th, .cost-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .step-block {
        padding: 20px 16px;
        margin: 20px 0;
    }
    .step-block h3 {
        font-size: 1.05rem;
    }

    .cta-box {
        padding: 28px 20px;
        margin: 36px 0;
    }
    .cta-box h3 {
        font-size: 1.25rem;
    }
    .cta-box p {
        font-size: 0.9rem;
    }
    .cta-box a {
        padding: 12px 24px;
        font-size: 0.85rem;
        display: block;
        text-align: center;
    }

    /* Images in content */
    .content-wrap img {
        max-width: 100%;
        height: auto;
    }
}


/* =============================================
   RESPONSIVE: SMALL PHONE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    .page-header {
        padding: 90px 12px 32px;
    }
    .page-header h1 {
        font-size: 1.45rem;
        line-height: 1.25;
    }
    .page-header p {
        font-size: 0.85rem;
    }
    .page-header .breadcrumb {
        font-size: 0.7rem;
    }

    .content-wrap {
        padding: 28px 12px 48px;
    }
    .content-wrap p {
        font-size: 0.9rem;
    }
    .content-wrap h2 {
        font-size: 1.2rem;
        margin: 28px 0 10px;
    }
    .content-wrap h3 {
        font-size: 1rem;
    }

    .callout {
        padding: 14px 12px;
        border-left-width: 3px;
    }
    .callout p {
        font-size: 0.88rem;
    }

    .info-card {
        padding: 14px 12px;
    }
    .info-card p {
        font-size: 0.85rem;
    }

    .cost-table th, .cost-table td {
        padding: 8px 8px;
        font-size: 0.75rem;
    }

    .step-block {
        padding: 16px 12px;
    }
    .step-block p {
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 24px 16px;
        border-radius: 8px;
    }
    .cta-box a {
        padding: 12px 20px;
    }

    /* Prevent iOS zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }
}
