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

:root {
    --ink: #18201d;
    --graphite: #26302c;
    --green: #234137;
    --green-dark: #14261f;
    --sage: #dfe7df;
    --sand: #e9dfcd;
    --paper: #f7f4ee;
    --white: #ffffff;
    --muted: #6f7770;
    --line: rgba(35, 65, 55, 0.16);
    --shadow: 0 22px 70px rgba(20, 38, 31, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    background: rgba(20, 38, 31, 0.92);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.header__container {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo__text {
    margin-top: 5px;
    padding-top: 5px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.nav a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}

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

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.header__contact a {
    font-size: 16px;
    font-weight: 700;
}

.header__contact span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero__image,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    object-fit: cover;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(20, 38, 31, 0.88), rgba(20, 38, 31, 0.52) 48%, rgba(20, 38, 31, 0.2)),
        linear-gradient(180deg, rgba(20, 38, 31, 0.12), rgba(20, 38, 31, 0.86));
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 96px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #6f8d79;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow,
.section--green .eyebrow,
.sell .eyebrow {
    color: var(--sand);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
}

.hero__lead {
    max-width: 750px;
    margin-bottom: 18px;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.14;
}

.hero__text {
    max-width: 620px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

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

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
    background: var(--sand);
    color: var(--green-dark);
}

.button--secondary {
    background: var(--green);
    color: var(--white);
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--white);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.section {
    padding: 96px 0;
}

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

.section--muted {
    background: #eef1eb;
}

.section--green {
    background: var(--green-dark);
    color: var(--white);
}

.two-column,
.initiative,
.contacts__grid,
.sell__layout,
.content-with-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 56px;
    align-items: center;
}

.section__copy p,
.section__header p {
    color: var(--muted);
    font-size: 18px;
}

.section--green .section__copy p,
.sell__content p {
    color: rgba(255, 255, 255, 0.78);
}

.section__header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section__header--left {
    margin-left: 0;
    text-align: left;
}

.image-panel {
    margin: 0;
    position: relative;
}

.image-panel img,
.heritage__feature img,
.sell__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-panel figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--white);
    background: rgba(20, 38, 31, 0.74);
    font-size: 14px;
    font-weight: 700;
}

.heritage {
    background: var(--paper);
}

.heritage__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.heritage__feature img {
    height: 100%;
}

.heritage__cards {
    display: grid;
    gap: 18px;
}

.info-card,
.news-card,
.document-card,
.contact-card,
.roadmap__item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(20, 38, 31, 0.08);
}

.info-card {
    padding: 26px;
}

.info-card span,
.roadmap__item span,
.stock-widget__label,
.news-card time {
    display: block;
    margin-bottom: 10px;
    color: #6f8d79;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.info-card p,
.roadmap__item p,
.news-card p,
.document-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.initiative__scheme {
    display: grid;
    gap: 14px;
}

.initiative__scheme div {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(233, 223, 205, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.initiative__scheme strong {
    color: var(--sand);
    font-size: 34px;
}

.initiative__scheme span {
    font-size: 19px;
    font-weight: 700;
}

.roadmap {
    background: var(--white);
}

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

.roadmap__item {
    position: relative;
    padding: 30px;
}

.roadmap__item::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
}

.content-with-aside {
    align-items: start;
}

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

.news-card {
    padding: 24px;
}

.news-card a,
.document-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--green);
    font-weight: 800;
}

.stock-widget {
    position: sticky;
    top: 104px;
    padding: 26px;
    border-radius: 8px;
    background: var(--green-dark);
    color: var(--white);
    box-shadow: var(--shadow);
}

.stock-widget strong {
    display: block;
    margin-bottom: 24px;
    font-size: 46px;
    line-height: 1;
}

.stock-widget__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.stock-widget__row b {
    color: #94d7a6;
}

.documents {
    background: var(--paper);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.document-card {
    padding: 24px;
}

.document-card__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 8px;
    background: var(--sand);
    color: var(--green-dark);
    font-weight: 900;
}

.document-card__category {
    display: block;
    margin-bottom: 10px;
    color: #6f8d79;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--muted);
}

.sell {
    background: var(--green);
    color: var(--white);
}

.sell__photo img {
    box-shadow: none;
}

.contacts {
    background: var(--white);
}

.contacts__grid {
    align-items: start;
}

.contact-card {
    display: grid;
    gap: 10px;
    padding: 28px;
}

.contact-card h3 {
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--green);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
}

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

.contact-form span {
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(35, 65, 55, 0.22);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--white);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(35, 65, 55, 0.12);
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--green);
    font-weight: 700;
}

.footer {
    padding: 30px 0;
    background: var(--green-dark);
    color: var(--white);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer strong,
.footer span {
    display: block;
}

.footer span {
    color: rgba(255, 255, 255, 0.68);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 38, 31, 0.72);
}

.modal__content {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 34px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.steps {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    position: relative;
    padding: 18px 18px 18px 62px;
    border: 1px solid var(--line);
    border-radius: 8px;
    counter-increment: steps;
}

.steps li::before {
    content: counter(steps);
    position: absolute;
    top: 18px;
    left: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
}

.steps strong,
.steps span {
    display: block;
}

.steps span {
    color: var(--muted);
}

@media (max-width: 1120px) {
    .header__container {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        background: var(--green-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

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

    .header__contact {
        display: none;
    }

    .two-column,
    .initiative,
    .contacts__grid,
    .sell__layout,
    .content-with-aside,
    .heritage__grid {
        grid-template-columns: 1fr;
    }

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

    .stock-widget {
        position: static;
    }
}

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

    .logo__title {
        font-size: 18px;
    }

    .hero {
        min-height: 680px;
    }

    .hero__content {
        padding-top: 110px;
    }

    .hero__text {
        font-size: 17px;
    }

    .hero__actions,
    .button {
        width: 100%;
    }

    .section {
        padding: 68px 0;
    }

    .section__header {
        text-align: left;
    }

    .news-grid,
    .document-grid,
    .roadmap__list {
        grid-template-columns: 1fr;
    }

    .initiative__scheme div {
        grid-template-columns: 1fr;
    }

    .stock-widget strong {
        font-size: 38px;
    }

    .footer__container {
        flex-direction: column;
    }

    .modal__content {
        padding: 28px 18px;
    }
}
