@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --green: #34c76f;
    --green-dark: #13984d;
    --lime: #d7f140;
    --ink: #111827;
    --text: #253044;
    --muted: #667085;
    --soft: #f5f7f4;
    --line: #e6eadf;
    --card: #ffffff;
    --dark-green: #103b24;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
}

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

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), #1c7fdf);
    box-shadow: 0 12px 26px rgba(52, 199, 111, 0.28);
}

.brand strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.brand small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 600;
    color: #475467;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green-dark);
}

.nav-button {
    padding: 14px 22px;
    border-radius: 999px;
    color: #ffffff !important;
    background: var(--green);
    box-shadow: 0 14px 28px rgba(52, 199, 111, 0.24);
}

.hero {
    padding: 46px 0 78px;
    overflow: hidden;
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 44px;
    padding: 58px;
    border-radius: 42px;
    background:
        radial-gradient(circle at 85% 20%, rgba(215, 241, 64, 0.85), transparent 25%),
        linear-gradient(135deg, #143d27, #0c2419 55%, #07160f);
    color: #ffffff;
    position: relative;
}

.hero-grid:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.12) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.09) 25%, transparent 25%);
    background-size: 80px 80px;
    border-radius: inherit;
    pointer-events: none;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
}

.hero .eyebrow {
    color: var(--lime);
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    letter-spacing: -0.05em;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.96;
}

.hero-text {
    max-width: 610px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
}

.btn.primary {
    color: #ffffff;
    background: var(--green);
    box-shadow: 0 16px 36px rgba(52, 199, 111, 0.26);
}

.btn.secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span {
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.12);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    min-height: 500px;
}

.photo-card {
    position: absolute;
    right: 0;
    top: 32px;
    width: min(380px, 88%);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 42px;
    background: #f2f4f7;
    box-shadow: var(--shadow);
}

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

.floating-card {
    position: absolute;
    max-width: 270px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.floating-card strong {
    display: block;
    margin-bottom: 5px;
    letter-spacing: -0.03em;
}

.floating-card span {
    color: var(--muted);
    font-size: 14px;
}

.card-one {
    left: 0;
    top: 95px;
}

.card-two {
    left: 38px;
    bottom: 54px;
}

.section,
.split-section,
.process-section,
.cta {
    padding: 86px 0;
}

.section-heading {
    max-width: 720px;
    text-align: center;
    margin-bottom: 42px;
}

.section-heading h2,
.split-grid h2,
.cta-card h2,
.page-hero h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.section-heading p,
.split-grid p,
.cta-card p,
.page-hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    padding: 34px;
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
}

.project-card.featured {
    color: #ffffff;
    background: linear-gradient(135deg, #123b25, #07160f);
}

.project-card.featured h3,
.project-card.featured p,
.project-card.featured span {
    color: #ffffff;
}

.project-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #0f3d24;
    background: var(--lime);
    font-weight: 800;
}

.project-card h3 {
    font-size: 25px;
    line-height: 1.12;
}

.project-card p {
    color: var(--muted);
    line-height: 1.7;
}

.project-card span {
    display: inline-flex;
    margin-top: 14px;
    color: var(--green-dark);
    font-weight: 800;
    font-size: 13px;
}

.split-section,
.soft-bg {
    background: var(--soft);
}

.split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 56px;
}

.image-panel {
    height: 360px;
    overflow: hidden;
    border-radius: 28px;
    background: none;
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.feature-list div {
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.feature-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
}

.feature-list span {
    color: var(--muted);
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.process-step {
    text-align: center;
    padding: 30px;
}

.process-step span {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: var(--lime);
    color: #123b25;
    font-weight: 900;
}

.process-step h3 {
    font-size: 25px;
}

.process-step p {
    color: var(--muted);
    line-height: 1.7;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding: 44px;
    border-radius: 34px;
    background: linear-gradient(135deg, #123b25, #07160f);
    color: #ffffff;
}

.cta-card h2,
.cta-card p {
    color: #ffffff;
}

.page-hero {
    padding: 78px 0;
    text-align: center;
    background: var(--soft);
}

.page-hero .container {
    max-width: 860px;
}

.case-grid {
    display: grid;
    gap: 28px;
}

.case-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
}

.case-image {
    min-height: 280px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-align: center;
}

.placeholder-gradient {
    background: linear-gradient(135deg, #0f3d24, #34c76f);
}

.placeholder-gradient.alt {
    background: linear-gradient(135deg, #1c7fdf, #34c76f);
}

.placeholder-gradient.dark {
    background: linear-gradient(135deg, #0f172a, #123b25);
}

.placeholder-gradient.light {
    color: var(--ink);
    background: linear-gradient(135deg, #d7f140, #ffffff);
}

.case-content {
    align-self: center;
}

.case-content h2 {
    font-size: 34px;
}

.case-content p,
.case-content li {
    color: var(--muted);
    line-height: 1.7;
}

.case-content ul {
    padding-left: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 46px;
    text-align: left;
}

.about-photo {
    overflow: hidden;
    border-radius: 36px;
    background: #e5e7eb;
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
}

.story-grid h2 {
    font-size: 46px;
}

.story-grid p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}

.stat-panel {
    display: grid;
    gap: 18px;
}

.stat-panel div,
.skill-card,
.contact-panel,
.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.05);
}

.stat-panel strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 20px;
}

.stat-panel span,
.skill-card p,
.contact-panel li {
    color: var(--muted);
    line-height: 1.7;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card h3 {
    font-size: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
}

.contact-panel h2 {
    font-size: 34px;
}

.contact-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-panel ul {
    padding-left: 20px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    font: inherit;
    color: var(--ink);
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(52, 199, 111, 0.18);
    border-color: var(--green);
}

.success-message,
.error-message {
    padding: 16px;
    border-radius: 18px;
    line-height: 1.6;
}

.success-message {
    color: #0f5132;
    background: #d1fae5;
}

.error-message {
    color: #842029;
    background: #f8d7da;
}

.site-footer {
    padding: 56px 0;
    color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(135deg, #123b25, #07160f);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 30px;
}

.footer-brand strong,
.footer-brand small {
    color: #ffffff;
}

.site-footer p {
    line-height: 1.7;
}

.site-footer h3 {
    color: #ffffff;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.site-footer a:not(.brand) {
    display: block;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
    .nav-wrap {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-grid,
    .split-grid,
    .case-card,
    .about-grid,
    .story-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 36px 24px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .project-grid,
    .process-grid,
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding-top: 20px;
    }

    .hero-grid {
        border-radius: 28px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .photo-card {
        position: relative;
        width: 100%;
        top: auto;
    }

    .floating-card {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        margin-top: 16px;
    }

    .hero-visual {
        min-height: auto;
    }

    .section,
    .split-section,
    .process-section,
    .cta {
        padding: 58px 0;
    }
}
