:root {
    --bg: #f4f0ea;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-strong: #ffffff;
    --ink: #132238;
    --muted: #556274;
    --line: rgba(19, 34, 56, 0.12);
    --accent: #d96c2f;
    --accent-dark: #b85521;
    --accent-soft: #ffe8d8;
    --teal: #0f766e;
    --shadow: 0 24px 60px rgba(19, 34, 56, 0.12);
    --radius: 22px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 108, 47, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 24%),
        linear-gradient(180deg, #fcfaf7 0%, var(--bg) 100%);
}

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

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

main {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: rgba(252, 250, 247, 0.82);
    border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--ink));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.75rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--ink);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
}

.language-switch a {
    min-width: 2.25rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.78rem;
}

.language-switch a.active {
    color: #fff;
    background: var(--ink);
}

.button,
.button-secondary,
.button-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button,
.button-sm {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 10px 26px rgba(217, 108, 47, 0.28);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(19, 34, 56, 0.12);
}

.button-sm {
    padding: 0.8rem 1.1rem;
}

.button:hover,
.button-secondary:hover,
.button-sm:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero,
.page-hero {
    padding: 5rem 0 3rem;
}

.hero-grid,
.split-grid,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.95fr;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.02;
}

h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    max-width: 11ch;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.hero-text,
.page-intro {
    font-size: 1.08rem;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.panel-card,
.card,
.contact-card,
.story-card,
.faq-item,
.metric-strip,
.quote-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.panel-card {
    padding: 2rem;
    border-radius: 32px;
    position: relative;
}

.panel-card::after {
    content: "";
    position: absolute;
    inset: auto 1.25rem 1.25rem auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 108, 47, 0.28), transparent 70%);
}

.panel-kicker {
    color: var(--teal);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.stat-grid,
.card-grid,
.metrics-grid,
.faq-grid {
    display: grid;
    gap: 1rem;
}

.stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
}

.stat-card,
.card,
.metric-strip {
    border-radius: var(--radius);
}

.stat-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.stat-card strong,
.metric-strip strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.section {
    padding: 2rem 0 4.5rem;
}

.section-head {
    max-width: 70ch;
    margin-bottom: 2rem;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 1.6rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal), #123f58);
}

.accent-band {
    background: linear-gradient(135deg, #11243d, #0f766e);
    color: #fff;
    padding: 4rem 0;
}

.accent-band p,
.accent-band .card p,
.accent-band .metric-strip span {
    color: rgba(255, 255, 255, 0.8);
}

.accent-band .card,
.accent-band .metric-strip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.split-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.story-card,
.quote-card,
.contact-card {
    padding: 2rem;
    border-radius: 28px;
}

.list {
    padding: 0;
    margin: 1.4rem 0 0;
    list-style: none;
}

.list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
    color: var(--muted);
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

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

.metric-strip {
    padding: 1.5rem;
}

.page-hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.project-tag {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.faq-item {
    padding: 1.5rem;
    border-radius: 24px;
}

.contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.contact-points {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-point {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
}

form {
    display: grid;
    gap: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 16px;
    padding: 1rem 1rem;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.note,
.form-alert {
    padding: 0.95rem 1rem;
    border-radius: 16px;
}

.note {
    background: rgba(15, 118, 110, 0.08);
    color: var(--teal);
}

.form-alert.success {
    background: rgba(15, 118, 110, 0.1);
    color: var(--teal);
}

.form-alert.error {
    background: rgba(217, 108, 47, 0.1);
    color: var(--accent-dark);
}

.site-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(19, 34, 56, 0.08);
    background: rgba(255, 255, 255, 0.54);
}

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

.footer-grid h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-grid a,
.footer-grid span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.footer-base {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(19, 34, 56, 0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal 0.7s ease forwards;
}

.reveal-delay {
    animation-delay: 0.12s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .contact-grid,
    .footer-grid,
    .faq-grid,
    .metrics-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow);
        border: 1px solid rgba(19, 34, 56, 0.08);
    }

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

    .nav-toggle {
        display: block;
    }

    .field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero,
    .page-hero {
        padding-top: 3rem;
    }

    h1 {
        font-size: 2.7rem;
    }

    .panel-card,
    .story-card,
    .quote-card,
    .contact-card,
    .card {
        padding: 1.4rem;
    }
}
