/* ============================================================
   Content pages (About / Contact) - scoped to .page-view
   ============================================================ */
.page-view {
    --pg-primary: #1504B2;
    --pg-primary-hover: #086AC9;
    --pg-ink: #0F172A;
    --pg-muted: #475569;
    --pg-border: #E2E8F0;

    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--pg-ink);
    background: #fff;
    padding-bottom: 64px;
}
.page-view *, .page-view *::before, .page-view *::after { box-sizing: border-box; }
.page-view .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.page-hero { background: var(--pg-primary); color: #fff; padding: 52px 0 46px; }
.page-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, .15);
    padding: 6px 12px; border-radius: 4px;
    font-size: 0.82rem; font-weight: 600; margin-bottom: 16px;
}
.page-hero h1 { font-size: 2.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; max-width: 640px; }
.page-hero p { font-size: 1.02rem; line-height: 1.6; color: #E0F2FE; margin: 0; max-width: 640px; }

/* ---------- Body ----------
   Scoped with .page-view so it outranks the .page-view .container shorthand
   above, which would otherwise reset this top padding to 0. */
.page-view .page-body { padding-top: 48px; }
.page-section { margin-bottom: 44px; }
.page-section h2 { font-size: 1.55rem; font-weight: 700; margin: 0 0 16px; }
.page-section > p { font-size: 1rem; line-height: 1.75; color: var(--pg-muted); margin: 0 0 14px; max-width: 760px; }

/* Facts (definition list) */
.page-facts { display: grid; gap: 0; margin: 0; border: 1px solid var(--pg-border); border-radius: 4px; overflow: hidden; }
.page-facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--pg-border); }
.page-facts > div:last-child { border-bottom: none; }
.page-facts dt { font-weight: 700; color: var(--pg-ink); font-size: 0.92rem; margin: 0; }
.page-facts dd { margin: 0; color: var(--pg-muted); font-size: 0.95rem; line-height: 1.6; }

/* Value cards */
.page-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.page-card { border: 1px solid var(--pg-border); border-radius: 4px; padding: 20px; transition: border-color 150ms ease, transform 150ms ease; }
.page-card:hover { border-color: var(--pg-primary); transform: translateY(-2px); }
.page-card-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 4px;
    background: #EAF4FB; color: var(--pg-primary); margin-bottom: 12px;
}
.page-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.page-card p { font-size: 0.89rem; color: var(--pg-muted); line-height: 1.6; margin: 0; }

/* Stats */
.page-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.page-stats > div {
    display: flex; flex-direction: column; gap: 4px;
    background: #F0F9FF; border: 1px solid var(--pg-border); border-radius: 4px; padding: 22px;
}
.page-stats strong { font-size: 1.8rem; font-weight: 800; color: var(--pg-ink); line-height: 1; }
.page-stats span { font-size: 0.85rem; color: var(--pg-muted); }

/* CTA */
.page-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: #0F172A; color: #fff; border-radius: 4px; padding: 28px 32px;
}
.page-cta h2 { font-size: 1.4rem; margin: 0 0 4px; color: #fff; }
.page-cta p { margin: 0; color: #CBD5E1; font-size: 0.95rem; }
.page-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.page-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 24px; border-radius: 4px;
    font-family: inherit; font-size: 0.92rem; font-weight: 700;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.page-btn-primary { background: var(--pg-primary); color: #fff; }
.page-btn-primary:hover { background: var(--pg-primary-hover); }
.page-btn-primary:disabled { opacity: 0.6; cursor: default; }
.page-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-btn-ghost:hover { border-color: #fff; }

/* ---------- Contact ---------- */
.contact-form-wrap h2 { font-size: 1.35rem; font-weight: 700; margin: 0 0 18px; }

.contact-social { display: flex; gap: 10px; margin-top: 18px; }
.contact-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--pg-border); border-radius: 4px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.contact-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }

/* Form */
.contact-form-wrap { border: 1px solid var(--pg-border); border-radius: 4px; padding: 24px; background: #fff; }
.contact-form { display: grid; gap: 16px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.page-field { display: grid; gap: 7px; }
.page-field label { font-size: 0.83rem; font-weight: 600; }
.page-field input, .page-field select, .page-field textarea {
    width: 100%;
    padding: 11px 13px;
    background: #fff;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--pg-ink);
}
.page-field textarea { resize: vertical; }
.page-field input:focus, .page-field select:focus, .page-field textarea:focus {
    outline: none; border-color: var(--pg-primary); box-shadow: 0 0 0 3px rgba(0, 112, 192, .15);
}
.contact-form .page-btn { justify-self: start; }

/* FAQ accordion (shared by About and Contact; native details, no JS) */
.page-faq { display: grid; gap: 10px; max-width: 900px; }
.page-faq details {
    border: 1px solid var(--pg-border); border-radius: 4px; padding: 2px 16px;
}
.page-faq details[open] { border-color: var(--pg-primary); }
.page-faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 0; font-weight: 700; font-size: 0.95rem; color: var(--pg-ink);
}
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after {
    content: "+"; flex-shrink: 0;
    font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--pg-primary);
}
.page-faq details[open] summary::after { content: "\2212"; }
.page-faq details p { margin: 0 0 14px; color: var(--pg-muted); font-size: 0.92rem; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .page-cards { grid-template-columns: repeat(2, 1fr); }
    .page-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .page-view .container { padding: 0 16px; }
    .page-view .page-body { padding-top: 32px; }
    .page-hero { padding: 38px 0 34px; }
    .page-hero h1 { font-size: 1.75rem; }
    .page-facts > div { grid-template-columns: 1fr; gap: 4px; }
    .page-cards { grid-template-columns: 1fr; }
    .contact-form-row { grid-template-columns: 1fr; }
    .page-cta { padding: 22px; }
}
