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

:root {
    --navy: #1a365d;
    --navy-light: #234681;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --amber: #f59e0b;
    --amber-hover: #d97706;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1, h2, h3, h4 {
    text-wrap: balance;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 26px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--navy);
}

.nav-contact-item {
    display: none;
}

.btn-nav {
    background: var(--navy);
    color: var(--white);
    padding: 9px 20px;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--navy-light);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    transition: border-color var(--transition), color var(--transition);
}

.lang-toggle:hover {
    border-color: var(--blue);
    color: var(--navy);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero (home) ===== */
.hero {
    padding: 170px 0 110px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 65%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 65%);
    border-radius: 50%;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.shape-1 { width: 300px; height: 300px; right: 8%; top: 15%; transform: rotate(15deg); }
.shape-2 { width: 200px; height: 200px; right: 15%; top: 35%; transform: rotate(-10deg); border-color: rgba(59, 130, 246, 0.2); }
.shape-3 { width: 120px; height: 120px; right: 30%; bottom: 20%; transform: rotate(30deg); border-radius: 50%; border-color: rgba(245, 158, 11, 0.15); }
.shape-4 { width: 80px; height: 80px; right: 5%; bottom: 25%; transform: rotate(45deg); }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 640px;
}

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

/* ===== Page hero (inner pages) ===== */
.page-hero {
    padding: 140px 0 64px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 65%);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}

.page-hero h1 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 720px;
}

.page-hero .hero-sub {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--amber);
    margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-primary {
    background: var(--amber);
    color: var(--navy);
    padding: 14px 32px;
}

.btn-primary:hover {
    background: var(--amber-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 13px 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
    padding: 90px 0;
}

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

.section h2 {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 44px;
    max-width: 560px;
}

.section-center h2,
.section-center .section-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.prose {
    max-width: 720px;
}

.prose p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 18px;
}

.prose p strong {
    color: var(--text);
}

.prose a {
    color: var(--blue);
    font-weight: 500;
}

.prose a:hover {
    color: var(--navy);
}

/* ===== Cards grid (services, values) ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

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

a.service-card:hover {
    border-color: var(--blue);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

.card-more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
}

a.service-card:hover .card-more {
    color: var(--navy);
}

/* ===== Audience doors (home) ===== */
.door-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

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

.door-card:nth-child(2) {
    border-left-color: var(--amber);
}

.door-card:nth-child(3) {
    border-left-color: var(--navy);
}

.door-card h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.door-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== Chips ===== */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.section-alt .chip {
    background: var(--white);
}

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

/* ===== Checklist ===== */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
    max-width: 880px;
}

.checklist li {
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.15;
}

.checklist li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}

/* ===== Problem list ===== */
.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
}

.problem-list li {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    border-radius: var(--radius);
    padding: 18px 22px;
    font-size: 1rem;
    color: var(--text);
    font-style: italic;
}

/* ===== Steps ===== */
.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 0 0 36px 64px;
    counter-increment: step;
}

.steps li:last-child {
    padding-bottom: 0;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

.steps h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    padding-top: 8px;
}

.steps p {
    font-size: 0.9688rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== Callout ===== */
.callout {
    border-left: 4px solid var(--amber);
    background: var(--bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 26px 30px;
    max-width: 760px;
}

.section-alt .callout {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--amber);
}

.callout h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.callout p {
    font-size: 0.9688rem;
    color: var(--text-light);
    line-height: 1.7;
}

.callout p:not(:last-child) {
    margin-bottom: 10px;
}

.callout a {
    color: var(--blue);
    font-weight: 500;
}

/* ===== Theme blocks (social impact) ===== */
.theme-block {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    max-width: 920px;
}

.theme-block:last-of-type {
    border-bottom: none;
}

.theme-block h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
}

.theme-block p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.theme-block p:not(:last-child) {
    margin-bottom: 12px;
}

/* ===== About intro (portrait + prose) ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-portrait {
    margin: 0;
}

.about-portrait img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-portrait figcaption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.about-portrait figcaption strong {
    display: block;
    color: var(--navy);
    font-size: 0.9375rem;
}

@media (max-width: 860px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ===== Facts (about) ===== */
.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.fact-card strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.fact-card p,
.fact-card a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
}

.fact-card a:hover {
    color: var(--blue);
}

.fact-card .fact-sub {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 2px;
}

.facts-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
    .facts-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .facts-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA band ===== */
.cta-band {
    padding: 80px 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
    color: var(--white);
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 1.0625rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Contact page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-status {
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 1.25em;
}

.form-status.success {
    color: #16a34a;
}

.form-status.error {
    color: #dc2626;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.contact-detail strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9688rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--blue);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--navy);
}

.contact-hints {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-hints li {
    font-size: 0.9063rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}

.contact-hints li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a,
.footer-col li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-card,
    .door-card,
    .btn {
        transition: none;
    }
}

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .theme-block {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px 0;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-contact-item {
        display: block;
    }

    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 130px 0 70px;
    }

    .page-hero {
        padding: 116px 0 48px;
    }

    .section {
        padding: 64px 0;
    }

    .cards-grid,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-sub {
        margin-bottom: 32px;
    }

    .cta-band {
        padding: 64px 0;
    }
}
