:root {
    --navy: #2b2e52;
    --navy-dark: #1c1e38;
    --accent: #d1483a;
    --text: #2a2b35;
    --muted: #666a75;
    --bg: #ffffff;
    --bg-alt: #f6f6fa;
    --border: #e7e7ee;
    --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- Header / Nav --- */
.site-header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    z-index: 10;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 20px;
}
.wordmark {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.wordmark .archi { color: var(--navy-dark); }
.wordmark .t { color: #d1483a; }
.wordmark .i { color: #e8934a; }
.wordmark .m { color: #2f9e6b; }
.wordmark .e { color: #3169c4; }
.site-header nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-header nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--accent); }
.site-header nav a.active { color: var(--accent); }
.site-header nav a.button {
    background: var(--navy);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
}
.site-header nav a.button:hover { background: var(--navy-dark); color: #fff; }

/* --- Hero --- */
.hero {
    background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%);
    padding: 72px 0 56px;
}
.hero .wrap { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-text { flex: 1 1 420px; }
.hero-text .eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.hero-text h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 18px; color: var(--navy-dark); }
.hero-text p { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; max-width: 46ch; }
.hero-visual {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual img { max-width: 100%; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
}
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: #b53a2e; }
.button.secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.button.secondary:hover { border-color: var(--navy); }

/* --- Sections --- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: 1.9rem; color: var(--navy-dark); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.card .icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--navy-dark); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.stats { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; text-align: center; }
.stats .stat-value { font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.stats .stat-label { color: var(--muted); font-size: 0.9rem; }

.split { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.split > div { flex: 1 1 360px; }
.split img { border-radius: var(--radius); }

/* --- Forms --- */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.form input, .form textarea {
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}
.form button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.notice.success { background: #e7f5ea; color: #1e6b30; }
.notice.error { background: #fbe9e7; color: #a3352a; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .item strong { display: block; color: var(--navy-dark); margin-bottom: 2px; }
.contact-info .item span, .contact-info .item a { color: var(--muted); text-decoration: none; }

/* --- Footer --- */
footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
}
footer.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
footer.site-footer .brand-line {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 0.88rem;
}
footer.site-footer img { height: 20px; opacity: 0.85; }
footer.site-footer nav { display: flex; gap: 20px; }
footer.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
footer.site-footer nav a:hover { color: var(--navy); }

@media (max-width: 640px) {
    .hero-text h1 { font-size: 1.9rem; }
    section.block { padding: 44px 0; }
}
