/* ==========================================================================
   Trust The Process — theme styles
   Design direction: clean, minimal, flat fintech aesthetic (whitespace-first,
   restrained color, no gradients/shadows) inspired by modern trading-platform
   simplicity — not a copy of any specific brand's assets.
   ========================================================================== */

:root {
    --bg: #FFFFFF;
    --bg-alt: #F7F9FB;
    --text: #1F2328;
    --text-secondary: #5B6672;
    --text-muted: #8A93A0;
    --border: #E6E9ED;
    --accent: #1B4B91;
    --accent-hover: #163C74;
    --accent-light: #EAF1FB;
    --radius: 6px;
    --radius-lg: 10px;
    --maxw: 1120px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.5em;
    color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-secondary); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 760px; }

/* ---- Header ---- */
.site-header {
    border-bottom: 0.5px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.site-logo-text {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.nav-menu a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
}
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Layout / sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
    font-size: 26px;
    text-align: left;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 32px;
}

.section-cta { margin-top: 32px; }

.page-title { font-size: 32px; margin-bottom: 24px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ---- Hero ---- */
.hero { padding: 96px 0 64px; }
.hero-inner { max-width: 720px; }

.hero-tagline {
    font-size: 44px;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust-row {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-trust-row .dot { color: var(--border); }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.section-alt .card { background: var(--bg); }

.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14.5px; }

.card-icon {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: var(--accent);
    margin-bottom: 14px;
}

.card-link { display: block; }
.card-link:hover { border-color: var(--accent); }
.card-link h3 { color: var(--text); }

.service-card h2 { font-size: 20px; margin-bottom: 10px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.testimonial p:first-child {
    font-style: italic;
    color: var(--text);
}
.testimonial-name {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

/* ---- Process ---- */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 14px;
}
.process-step h3 { font-size: 16px; }
.process-step p { font-size: 14px; }

/* ---- Stats ---- */
.stats-row { text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 32px; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 13.5px; color: var(--text-muted); }

/* ---- Blog cards ---- */
.blog-card-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}
.blog-card-thumb img { width: 100%; height: 160px; object-fit: cover; }
.blog-card-thumb-placeholder {
    height: 160px;
    background: var(--bg-alt);
}

/* ---- FAQ ---- */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--accent);
    margin-left: 12px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---- Contact / CTA blocks ---- */
.contact-cta { text-align: center; }
.contact-cta .hero-actions { justify-content: center; }
.contact-cta .section-sub { margin-left: auto; margin-right: auto; }

/* ---- About page ---- */
.about-bio {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 8px;
}
.about-photo { border-radius: var(--radius-lg); overflow: hidden; }
.photo-placeholder { width: 100%; height: auto; border-radius: var(--radius-lg); }

.values-list { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--text-secondary); }
.values-list li { margin-bottom: 8px; }

/* ---- Forms ---- */
.consultation-form {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-success {
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.whatsapp-inline {
    text-align: center;
    padding-top: 8px;
}
.whatsapp-inline p { margin-bottom: 12px; font-size: 14px; }

/* ---- Resources page ---- */
.resource-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.resource-category-header .section-title { margin-bottom: 0; }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.whatsapp-float .dashicons { color: #FFFFFF; }
.whatsapp-float:hover { background: #1EBE5A; }

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding-top: 56px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-tagline { font-size: 14px; margin-top: 8px; }
.footer-widget-title { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 14px; }
.footer-menu, .footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-menu li, .footer-contact-list li { margin-bottom: 10px; font-size: 14.5px; }
.footer-menu a, .footer-contact-list a { color: var(--text-secondary); }
.footer-menu a:hover, .footer-contact-list a:hover { color: var(--accent); }

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
}
.footer-disclaimer p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

.footer-bottom {
    padding: 16px 24px 24px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---- Blog / single post ---- */
.entry-content { font-size: 16.5px; color: var(--text); }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
.single-thumb { margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; }
.single-thumb img { width: 100%; }

.pagination { margin-top: 32px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .about-bio { grid-template-columns: 1fr; }
    .about-photo { max-width: 220px; }
}

@media (max-width: 640px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .header-cta { display: none; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .process-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-tagline { font-size: 32px; }

    .site-header.nav-open .main-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
    }
    .site-header.nav-open .nav-menu {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .site-header.nav-open .header-cta {
        display: block;
        position: absolute;
        top: calc(100% + 180px);
        left: 24px;
    }
}
