:root {
    --green: #0f9d3a;
    --green-deep: #0b7a2c;
    --green-soft: rgba(15, 157, 58, 0.12);
    --green-line: rgba(15, 157, 58, 0.28);
    --bg: #f6faf6;
    --bg-2: #eef6ef;
    --bg-3: #e4f0e6;
    --card: #ffffff;
    --card-2: #f3f8f3;
    --ink: #122018;
    --muted: #5c6f64;
    --faint: #7d8f84;
    --line: rgba(18, 32, 24, 0.08);
    --shadow: 0 18px 50px rgba(18, 32, 24, 0.08);
    --radius: 22px;
    --radius-sm: 14px;
    --wrap: 1180px;
    --header: 76px;
    --font: "Manrope", system-ui, sans-serif;
    --display: "Plus Jakarta Sans", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(15, 157, 58, 0.12), transparent 55%),
        radial-gradient(700px 420px at -10% 20%, rgba(15, 157, 58, 0.07), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 28%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--display);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 0.5em;
    overflow: visible;
    padding: 0;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    overflow: visible;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
}
.brand-mark {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    border-radius: 6px;
    display: block;
}
.brand-name {
    font-family: var(--font);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 0;
    padding: 0;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 11px;
    border-radius: 999px;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active {
    color: var(--ink);
    background: var(--green-soft);
}
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 12px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.nav-drop-inner {
    display: grid;
    gap: 4px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel { display: block; }
.nav-drop-panel a {
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-drop-panel a:hover { background: var(--green-soft); color: var(--ink); }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

.btn, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn {
    background: var(--green);
    color: #fff;
}
.btn:hover { background: #12b344; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.hero {
    padding: 88px 0 48px;
    position: relative;
    overflow: hidden;
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px var(--green-soft);
}
.kicker-client { color: #5a6b60; }
.kicker-client::before { background: #8a9b90; box-shadow: 0 0 0 6px rgba(90, 107, 96, 0.12); }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.1rem);
    max-width: none;
    margin-bottom: 22px;
    line-height: 1.15;
}
.lead, .hero .lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 62ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 42px; }
.hero-grid, .split, .cards, .stats, .process, .legal {
    display: grid;
    gap: 22px;
}
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }

.magnet-field {
    position: absolute;
    inset: -8% -6% 0;
    pointer-events: none;
    z-index: 0;
    --mx: 50%;
    --my: 38%;
}
.magnet-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    left: var(--mx);
    top: var(--my);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 157, 58, 0.22) 0%, rgba(15, 157, 58, 0.06) 42%, transparent 70%);
    filter: blur(8px);
    will-change: left, top;
}
.magnet-ring {
    position: absolute;
    left: var(--mx);
    top: var(--my);
    border: 1px solid rgba(15, 157, 58, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}
.magnet-ring.r1 { width: 280px; height: 280px; }
.magnet-ring.r2 { width: 460px; height: 460px; border-style: dashed; opacity: 0.7; }
.magnet-ring.r3 { width: 140px; height: 140px; border-color: rgba(15, 157, 58, 0.4); }
.magnet-orb, .magnet-dot {
    position: absolute;
    left: var(--ox);
    top: var(--oy);
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 8px var(--green-soft);
    will-change: transform;
}
.magnet-orb { width: 14px; height: 14px; }
.magnet-orb.o2, .magnet-orb.o5 { width: 10px; height: 10px; opacity: 0.8; }
.magnet-orb.o3, .magnet-orb.o6 { width: 18px; height: 18px; }
.magnet-dot { width: 6px; height: 6px; background: #8dcaa0; box-shadow: none; }
.magnet-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}
.magnet-links path {
    fill: none;
    stroke: var(--green);
    stroke-width: 0.35;
    stroke-dasharray: 3 3;
}
.hero-stage {
    position: relative;
    min-height: 420px;
    perspective: 1100px;
}
.hero-tilt {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.12s ease-out;
}
.hero-tilt img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #f3f8f3;
    box-shadow: var(--shadow);
    padding: 24px;
}
.hero-chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--green-line);
    backdrop-filter: blur(12px);
    padding: 14px 16px;
    border-radius: 16px;
    max-width: 260px;
    box-shadow: var(--shadow);
}
.hero-chip strong { display: block; font-size: 1.4rem; }
.hero-chip span { color: var(--muted); font-size: 0.88rem; }

.stats {
    grid-template-columns: repeat(4, 1fr);
    margin: 10px 0 70px;
}
.stat {
    padding: 22px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(18, 32, 24, 0.03);
    display: flex;
    flex-direction: column;
    min-height: 128px;
}
.stat b {
    display: block;
    font-family: var(--display);
    font-size: 1.7rem;
    line-height: 1.15;
    min-height: 2em;
    color: var(--green);
}
.stat span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
    max-width: 18ch;
}

.section { padding: 36px 0 84px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-clients {
    background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2));
    border-top: 1px solid var(--line);
}

.cards { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 8px 24px rgba(18, 32, 24, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--green-line);
    box-shadow: var(--shadow);
}
.card-client { background: #fbfdfb; }
.card-media {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    margin: -8px -8px 18px;
    background: #eef4ef;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-logo {
    display: grid;
    place-items: center;
    padding: 28px;
    background: #fff;
}
.card-media-logo img { width: auto; max-width: 80%; max-height: 72px; height: auto; object-fit: contain; }
.card-media-illu {
    display: grid;
    place-items: center;
    padding: 16px;
    background: #f3f8f3;
}
.card-media-illu img { object-fit: contain; }
.card h3 { font-size: 1.35rem; }
.card p, .card li { color: var(--muted); }
.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 12px;
}
.tag-client {
    color: #4d5d54;
    background: rgba(77, 93, 84, 0.1);
}

.split { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.split img, .frame {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    object-fit: cover;
    box-shadow: var(--shadow);
}
.split img.img-illu {
    object-fit: contain;
    background: #f3f8f3;
    padding: 28px;
}
.split img.img-logo {
    object-fit: contain;
    background: #fff;
    padding: 56px;
    min-height: 280px;
}
.frame { background: var(--card-2); }
.split-copy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.split-copy p { color: var(--muted); }
.checklist { display: grid; gap: 10px; margin: 18px 0 0; }
.checklist li {
    padding-left: 28px;
    position: relative;
    color: var(--ink);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: inset 0 0 0 4px #fff;
}

.page-hero {
    padding: 72px 0 28px;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: none; line-height: 1.2; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }

.error-page {
    padding: 88px 0 96px;
    min-height: 52vh;
}
.error-code {
    font-family: var(--display);
    font-size: clamp(4.2rem, 12vw, 7.6rem);
    font-weight: 800;
    line-height: 0.9;
    color: var(--green);
    margin: 0 0 10px;
}
.error-page h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.6rem);
    max-width: 16ch;
    line-height: 1.15;
}
.error-page .lead { margin-bottom: 8px; }

.process { grid-template-columns: repeat(4, 1fr); }
.process article {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    min-height: 220px;
}
.process .num {
    font-family: var(--display);
    color: var(--green);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 12px;
}

.timeline { display: grid; gap: 0; position: relative; }
.timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--green-line);
}
.tl-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 0 0 28px 48px;
    position: relative;
}
.tl-item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
}
.tl-item time { color: var(--green); font-weight: 800; }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tl-item p { color: var(--muted); margin: 0; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.person img { width: 100%; height: 360px; object-fit: cover; filter: grayscale(0.15); }
.person-photo {
    width: 100%;
    height: 360px;
    display: grid;
    place-items: center;
    background: #e7f0e7;
    color: var(--green);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: 0.04em;
}
.person div { padding: 22px; }
.person h3 { margin-bottom: 4px; }
.person span { color: var(--green); font-weight: 700; font-size: 0.9rem; }

.quote {
    background: linear-gradient(180deg, rgba(15, 157, 58, 0.08), transparent 70%), var(--card);
    border: 1px solid var(--green-line);
    border-radius: var(--radius);
    padding: 36px;
}
.quote p { font-size: 1.25rem; font-family: var(--display); line-height: 1.4; }
.quote cite { color: var(--muted); font-style: normal; }

.contact-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}
.form {
    display: grid;
    gap: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: var(--shadow);
}
.form label { font-weight: 700; font-size: 0.92rem; }
.form input, .form textarea, .form select {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.form textarea { min-height: 180px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-aside {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}
.contact-aside h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-aside p { color: var(--muted); margin-bottom: 20px; }
.contact-aside p:last-child { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; }
.notice {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.notice.ok { background: var(--green-soft); color: var(--ink); }
.notice.err { background: #fde8e8; color: #8a1f1f; }

.legal-page { padding-top: 56px; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: none; margin-bottom: 0.4em; }
.legal h2 { margin-top: 28px; font-size: 1.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 18px; list-style: disc; display: grid; gap: 6px; }

.cta {
    margin: 20px 0 90px;
    padding: 42px;
    border-radius: 28px;
    background:
        radial-gradient(500px 180px at 90% 0%, rgba(15, 157, 58, 0.16), transparent 60%),
        #fff;
    border: 1px solid var(--green-line);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; }
.cta-btn {
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    padding: 16px 28px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 28px;
    background: #eef4ef;
    position: relative;
    z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p, .site-footer li, .site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer h3 { font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.9rem;
}
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom p { margin: 0; }

.ir-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}
.ir-points {
    display: grid;
    gap: 12px;
}
.ir-point {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
}
.ir-point strong {
    display: block;
    color: var(--green);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.ir-point p { margin: 0; color: var(--muted); }

@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        padding: 16px 20px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.is-open { display: flex; }
    .nav-drop-panel { position: static; display: none; padding: 6px 0 0 10px; }
    .nav-drop-inner { box-shadow: none; border: 0; background: transparent; padding: 0; }
    .nav-drop.is-open .nav-drop-panel { display: grid; }
    .cards, .stats, .process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .hero-grid, .split, .team, .footer-grid, .form-row, .contact-page {
        grid-template-columns: 1fr;
    }
    .cta, .footer-bottom, .tl-item { display: block; }
    .tl-item { padding-left: 40px; }
    .hero-visual, .hero-tilt img, .hero-stage { min-height: 240px; height: 280px; }
    .hero-tilt img { padding: 16px; }
    .page-hero, .hero, .error-page { padding-top: 48px; }
    .magnet-ring.r2, .magnet-links { display: none; }
}

@media (max-width: 640px) {
    .wrap { width: calc(100% - 28px); }
    .cards, .cards-2, .stats, .process { grid-template-columns: 1fr; }
    .cta { padding: 28px 20px; }
    .cta-btn { display: inline-flex; margin-top: 8px; }
    .form { padding: 20px; }
    .person img, .person-photo { height: 260px; }
    .quote { padding: 22px; }
    .section { padding: 28px 0 56px; }
    .split img.img-illu { padding: 16px; }
    .split img.img-logo { padding: 28px; min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    .magnet-glow, .magnet-ring, .magnet-orb, .magnet-dot, .hero-tilt {
        transition: none !important;
        transform: none !important;
    }
}
