:root {
    --primary: #4a2070;
    --accent: #7b3fa0;
    --bg-alt: #f7f4fc;
    --text: #1a1a1a;
    --text-muted: #5a5a6a;
    --border: #e0d5f0;
    --white: #ffffff;
    --max: 1100px;
    --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--primary); }

/* ── NAV ── */
.site-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-brand {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: white; }

/* ── HERO ── */
.hero {
    position: relative;
    height: 380px;
    background: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
}

/* ── PAGE HEADER ── */
.page-header {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
}

.page-header h1 { font-size: 2.2rem; font-weight: 700; }
.page-header p { opacity: 0.85; margin-top: 0.5rem; font-size: 1.1rem; }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--accent); color: white; }

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover { background: white; color: var(--primary); }

.btn-primary {
    background: var(--primary);
    color: white;
}

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

/* ── LAYOUT ── */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 4rem 0; }
section.alt { background: var(--bg-alt); }

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 60ch;
}

.prose p + p { margin-top: 1rem; }
.prose .btn { margin-top: 1.5rem; }

/* ── TWO-COL ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(74,32,112,0.15);
}

/* ── CARDS ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(74,32,112,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74,32,112,0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body { padding: 1.5rem; }

.card-body h3 {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ── CTA BAND ── */
.cta-band {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-band h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.cta-band p { margin-bottom: 1.5rem; opacity: 0.9; font-size: 1.1rem; }

/* ── CONTACT ── */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 480px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.contact-item strong { display: block; margin-bottom: 0.25rem; }
.contact-item a { color: var(--primary); text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.65);
    padding: 2rem 0;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-links a:hover { color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .hero-content h1 { font-size: 2rem; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 520px) {
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.8rem; letter-spacing: 0; }
}
