/*
Theme Name: NextPath Capital
Theme URI: https://nextpathcapital.pl
Author: NextPath Capital
Description: Custom theme for NextPath Capital - search fund specializing in business succession
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: nextpath
*/

/* === SELF-HOSTED FONTS (GDPR/RODO compliance — no external transfer) === */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === A11Y: Skip link + Screen-reader-only === */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 18px;
    background: #1B2A4A;
    color: #C8A96E;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* === A11Y: Focus visible for keyboard users === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #C8A96E;
    outline-offset: 2px;
    border-radius: 2px;
}

/* === VARIABLES === */
:root {
    --color-primary: #1B2A4A;
    --color-primary-dark: #0F1B33;
    --color-primary-light: #2A3F6A;
    --color-secondary: #C8A96E;
    --color-secondary-light: #D4BC8E;
    --color-secondary-dark: #B8963E;
    --color-accent: #3A7D6E;
    --color-accent-light: #4A9D8A;
    --color-accent-dark: #2D6555;
    --color-bg: #F8F6F3;
    --color-bg-warm: #F5F0E8;
    --color-bg-white: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-light: #5A5A5A;
    --color-border: #E0D8CC;
    --color-border-light: #EDE8DF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --section-padding: 100px;
    --shadow-sm: 0 2px 8px rgba(27,42,74,0.06);
    --shadow-md: 0 4px 20px rgba(27,42,74,0.08);
    --shadow-lg: 0 8px 40px rgba(27,42,74,0.12);
    --shadow-xl: 0 16px 64px rgba(27,42,74,0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--color-primary); }
* { word-wrap: break-word; overflow-wrap: break-word; }

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.25; }
h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: 2.25rem; margin-bottom: 0.75rem; font-weight: 700; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* === TOP BAR === */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left .top-bar-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-bar-left .top-bar-link:hover {
    opacity: 0.75;
}

/* Language switcher — now in top bar */
.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-switcher a {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.lang-switcher a:hover {
    color: white;
    border-color: rgba(255,255,255,0.4);
}

.lang-switcher a.active {
    color: var(--color-primary-dark);
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* === HEADER === */
.site-header {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-logo span {
    color: var(--color-secondary);
    font-weight: 400;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--color-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s;
}

/* === HERO === */
.hero {
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-light) 100%);
    color: white;
    padding: 110px 0 130px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-bg-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero h1 {
    color: white;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    max-width: 1100px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero h1 .hero-line {
    display: block;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .hero h1 .hero-line {
        white-space: normal;
    }
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero .accent { color: var(--color-secondary); }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(200,169,110,0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-secondary-dark), #A67E2E);
    color: var(--color-primary-dark);
    box-shadow: 0 6px 24px rgba(200,169,110,0.45);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary);
    border-color: white;
    box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    box-shadow: 0 4px 16px rgba(58,125,110,0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--color-accent-dark), #1F5243);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(58,125,110,0.4);
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* === SECTIONS === */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--color-bg);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--color-secondary);
}

.section-label::before { left: 0; }
.section-label::after { right: 0; }

/* Gold decorative line under section headers */
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* === 3-COLUMN PILLARS === */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar {
    text-align: center;
    padding: 48px 32px 40px;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
    border-radius: 0 0 2px 2px;
}

.pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary-light);
}

.pillar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(27,42,74,0.2);
}

.pillar h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.pillar p { color: var(--color-text-light); font-size: 0.9375rem; margin-bottom: 0; }

/* === TARGET SECTION === */
.target-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.target-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.target-question:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-secondary);
}

.target-question .check {
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 28px;
    height: 28px;
    background: rgba(58,125,110,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* === TIMELINE / PROCESS === */
.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-secondary), var(--color-accent));
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(27,42,74,0.25);
    border: 3px solid var(--color-bg-white);
}

.step-content {
    padding-top: 12px;
}

.step-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-content p { color: var(--color-text-light); margin-bottom: 0; }

/* === TEAM CARDS === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.team-card-photo {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 3rem;
    position: relative;
}

.team-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-placeholder span {
    font-size: 1.5rem;
    letter-spacing: 4px;
    opacity: 0.7;
}

.team-card-body { padding: 28px; }
.team-card-body h3 { font-size: 1.375rem; margin-bottom: 4px; }

.team-role {
    color: var(--color-secondary-dark);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(200,169,110,0.12);
    border-radius: 4px;
}

.team-card-body p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.7; }
.team-bio p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.7; margin: 0 0 12px; }
.team-bio p:last-child { margin-bottom: 0; }

.team-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
}

.team-cert {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
    color: var(--color-secondary-light);
    letter-spacing: 0.3px;
}

/* === CRITERIA TABLE === */
.criteria-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.criteria-table th {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
}

.criteria-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.criteria-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}

.criteria-table tr:nth-child(even) td { background: var(--color-bg); }
.criteria-table tr:last-child td { border-bottom: none; }

.criteria-table tr:hover td {
    background: rgba(200,169,110,0.06);
}

/* === COMPARISON TABLE === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-bg-white);
}

.comparison-table th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    border-bottom: 3px solid var(--color-secondary);
    background: var(--color-bg);
}

.comparison-table th:first-child { color: var(--color-text-light); }
.comparison-table th:nth-child(2) { color: var(--color-text-light); }
.comparison-table th:nth-child(3) {
    color: var(--color-accent);
    background: rgba(58,125,110,0.06);
}

.comparison-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.comparison-table td:nth-child(3) {
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(58,125,110,0.03);
}

.comparison-table tr:last-child td { border-bottom: none; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    background: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--color-secondary-light);
}

.faq-item.active {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(200,169,110,0.04);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: transform 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,169,110,0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    content: '\2212';
    background: var(--color-secondary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--color-text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* CF7 overrides */
.wpcf7-form p { margin-bottom: 1.5rem; }
.wpcf7-form label { font-weight: 600; font-size: 0.9375rem; color: var(--color-primary); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(58,125,110,0.1);
}
.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    border: none;
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(58,125,110,0.3);
    transition: all 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--color-accent-dark), #1F5243);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(58,125,110,0.4);
}

/* CF7 NextPath form layout */
.npc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.npc-field {
    margin-bottom: 1.25rem;
}

.npc-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.npc-field .wpcf7-form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: all 0.3s;
    background: var(--color-bg-white);
}

.npc-field .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(58,125,110,0.1);
}

.npc-field select.wpcf7-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235A5A5A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.npc-textarea {
    min-height: 120px;
    resize: vertical;
}

.npc-consent {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.7;
    padding: 4px 0;
}

.npc-consent p {
    margin: 0;
}

.npc-consent .wpcf7-list-item {
    margin: 0;
}

.npc-consent .wpcf7-acceptance label,
.npc-consent label {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    font-weight: 400 !important;
    font-size: 0.8125rem !important;
    color: var(--color-text-light) !important;
    cursor: pointer;
    margin: 0;
}

.npc-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.npc-consent .wpcf7-list-item-label {
    display: block;
}

.npc-consent a {
    color: var(--color-accent);
    text-decoration: underline;
}

.npc-form-submit {
    margin-top: 0.5rem;
}

.npc-form-submit .wpcf7-submit {
    width: auto;
    padding: 15px 48px;
}

/* CF7 validation */
.wpcf7-not-valid {
    border-color: #c0392b !important;
}

.wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.8125rem;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 16px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.9375rem;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--color-accent) !important;
    background: rgba(58,125,110,0.06);
    color: var(--color-accent-dark);
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #e74c3c !important;
    background: rgba(231,76,60,0.06);
    color: #c0392b;
}

@media (max-width: 768px) {
    .npc-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* === CONTACT INFO === */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--color-bg), var(--color-bg-warm));
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
    color: var(--color-secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 40px;
    height: 40px;
    background: rgba(200,169,110,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary);
}

/* === TRUST SECTION === */
.trust-section {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--color-bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.trust-logo {
    width: 220px;
    height: 140px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.375rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(200,169,110,0.2);
}

.trust-content p { color: var(--color-text-light); }

/* === DOCUMENTS LIST === */
.documents-list {
    list-style: none;
    counter-reset: doc-counter;
}

.documents-list li {
    counter-increment: doc-counter;
    padding: 16px 0 16px 56px;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 1rem;
    color: var(--color-text);
}

.documents-list li::before {
    content: counter(doc-counter);
    position: absolute;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(58,125,110,0.25);
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,169,110,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.cta-banner h2::after {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
}

.cta-banner p {
    opacity: 0.9;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn { margin: 0 8px; }

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, var(--color-primary-dark), #0A1324);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo span { color: var(--color-secondary); }

.footer-desc { font-size: 0.875rem; line-height: 1.8; }

.footer-heading {
    color: var(--color-secondary-light);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(200,169,110,0.2);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

/* === BLOG / NEWS === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.post-card-thumb {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-bg), var(--color-bg-warm));
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body { padding: 24px; }

.post-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.post-card-body h3 a { color: var(--color-primary); }
.post-card-body h3 a:hover { color: var(--color-accent); }

.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.page-header p { opacity: 0.85; font-size: 1.125rem; }

/* === TWO COLUMNS === */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* === SEARCH FUND INFO BOX === */
.info-box {
    background: linear-gradient(135deg, var(--color-bg), var(--color-bg-warm));
    border-left: 4px solid var(--color-secondary);
    padding: 28px 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.info-box h4 { color: var(--color-primary); margin-bottom: 0.5rem; }
.info-box p { color: var(--color-text-light); margin-bottom: 0; word-wrap: break-word; overflow-wrap: break-word; }

/* === DISCLAIMER/NOTE === */
.note {
    font-style: italic;
    color: var(--color-text-light);
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
    margin: 1.5rem 0;
    background: rgba(58,125,110,0.04);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* === FOOTER COMPANY DETAILS (KSH art. 206 compliance) === */
.footer-company-details {
    margin-top: 16px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}
.footer-company-details p { margin: 4px 0; }
.footer-company-details strong { color: rgba(255,255,255,0.85); }
.footer-company-court,
.footer-company-capital { font-size: 0.75rem; margin-top: 8px !important; }

/* === HEADER SCROLL STATE === */
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* === PRINT STYLESHEET === */
@media print {
    .top-bar, .site-header, .site-footer, .cta-banner, .lang-switcher, .menu-toggle, .skip-link { display: none !important; }
    body { font-size: 11pt; color: #000; background: #fff; }
    a::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
    .container { max-width: 100%; padding: 0; }
    img { max-width: 100% !important; page-break-inside: avoid; }
    section, .section { padding: 20px 0; break-inside: avoid; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    :root { --section-padding: 60px; }

    .top-bar-inner { flex-direction: column; gap: 8px; }
    .top-bar-left { font-size: 0.75rem; gap: 12px; }

    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav li { width: 100%; }
    .main-nav a { display: block; padding: 12px 0; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero { padding: 70px 0 90px; }
    .hero h1 { font-size: 2.25rem; }

    .pillars { grid-template-columns: 1fr; gap: 20px; }
    .target-questions { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .two-cols { grid-template-columns: 1fr; gap: 32px; }
    .trust-section { flex-direction: column; text-align: center; padding: 32px 24px; }

    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }

    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .cta-banner { padding: 48px 0; }
    .cta-banner h2 { font-size: 1.75rem; }

    .comparison-table, .criteria-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td,
    .criteria-table th, .criteria-table td { padding: 10px 12px; }

    .process-steps::before { display: none; }
    .process-steps { padding-left: 0; }
    .process-step { flex-direction: column; align-items: flex-start; gap: 12px; padding-left: 0; }
    .process-step .step-content { padding-top: 0; padding-left: 0; width: 100%; }
    .step-number { margin-bottom: 0; }

    .contact-info-card { padding: 24px; }
    .info-box { padding: 24px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav ul { gap: 20px; }
}
