:root {
    --brand-primary: #0a0a0f;
    --brand-accent: #3b82f6;
    --brand-secondary: #6366f1;
    --brand-white: #f8fafc;
    --brand-grey: #1e1e2e;
    --brand-text: #94a3b8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--brand-primary);
    color: var(--brand-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-white);
    font-weight: 600;
}

a { color: var(--brand-accent); }
a:hover { color: var(--brand-secondary); }

/* Header */
.ast-primary-header-bar, .site-header {
    background: var(--brand-primary) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.main-header-menu a, .ast-header-custom-item a {
    color: var(--brand-white) !important;
    font-weight: 500;
}

.main-header-menu a:hover { color: var(--brand-accent) !important; }

/* Hero */
.rp-hero {
    text-align: center;
    padding: 100px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.rp-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--brand-white) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rp-hero p {
    font-size: 1.25rem;
    color: var(--brand-text);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Buttons */
.rp-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    margin: 8px;
}

.rp-btn-primary {
    background: var(--brand-accent);
    color: #fff !important;
}

.rp-btn-primary:hover {
    background: var(--brand-secondary);
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.rp-btn-outline {
    background: transparent;
    color: var(--brand-accent) !important;
    border: 1px solid var(--brand-accent);
}

.rp-btn-outline:hover {
    background: rgba(59,130,246,0.1);
    color: var(--brand-accent) !important;
    text-decoration: none;
}

/* Section */
.rp-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.rp-section-alt {
    background: var(--brand-grey);
}

.rp-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
}

/* Cards grid */
.rp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.rp-card {
    background: var(--brand-grey);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.rp-card:hover {
    border-color: var(--brand-accent);
    transform: translateY(-4px);
}

.rp-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.rp-card p {
    color: var(--brand-text);
    line-height: 1.6;
    margin: 0;
}

.rp-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

/* Timeline */
.rp-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.rp-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-accent), var(--brand-secondary));
}

.rp-timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.rp-timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-accent);
    border: 2px solid var(--brand-primary);
}

.rp-timeline-year {
    color: var(--brand-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.rp-timeline-item h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.rp-timeline-item p {
    color: var(--brand-text);
    font-size: 0.95rem;
}

/* Contact form */
.rp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 16px;
    background: var(--brand-primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--brand-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.wpcf7 input:focus, .wpcf7 textarea:focus {
    border-color: var(--brand-accent);
    outline: none;
}

.wpcf7 input[type="submit"] {
    background: var(--brand-accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--brand-secondary);
}

.rp-contact-info h3 {
    margin-bottom: 16px;
}

.rp-contact-info p {
    color: var(--brand-text);
    line-height: 1.8;
}

/* Stats */
.rp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.rp-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-accent);
}

.rp-stat-label {
    color: var(--brand-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.site-footer, .ast-footer-overlay {
    background: var(--brand-primary) !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer a { color: var(--brand-accent) !important; }

/* Responsive */
@media (max-width: 768px) {
    .rp-hero h1 { font-size: 2rem; }
    .rp-hero { padding: 60px 20px 40px; }
    .rp-contact-grid { grid-template-columns: 1fr; }
    .rp-stats { grid-template-columns: repeat(2, 1fr); }
    .rp-grid { grid-template-columns: 1fr; }
}
/* Site title - white on dark header */
.site-title, .site-title a, .ast-site-title-wrap a {
    color: var(--brand-white) !important;
    -webkit-text-fill-color: var(--brand-white) !important;
}

/* Page title - visible on dark background */
.entry-title, .page-title, .ast-archive-title,
.ast-single-post-title, h1.entry-title {
    color: var(--brand-white) !important;
}

/* Breadcrumb/page header area */
.ast-page-header-section, .ast-breadcrumbs-wrapper {
    background: var(--brand-primary) !important;
}

/* FORCE site title white on dark header - max specificity */
.ast-site-identity .site-title a,
.ast-site-identity .site-title,
.site-header .site-title a,
.site-header .ast-site-title-wrap .site-title a,
.ast-primary-header-bar .site-title a,
#masthead .site-title a,
.site-title a:visited,
.site-title a:hover {
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    opacity: 1 !important;
}

/* Mobile hamburger menu icon - make it white */
.ast-mobile-menu-trigger-minimal,
.ast-button-wrap .ast-mobile-menu-trigger-minimal,
.ast-header-break-point .ast-mobile-menu-buttons-minimal .menu-toggle {
    color: #f8fafc !important;
}
