:root {
    --about-green: #217346;
    --about-dark: #343530;
    --about-charcoal: #41423e;
    --about-text: #51524d;
    --about-muted: #70716c;
    --about-line: #d8d9d4;
    --about-soft: #f1f2ef;
    --about-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--about-white); color: var(--about-text); font-family: Arial, sans-serif; line-height: 1.55; }
.about-page h1, .about-page h2, .about-page h3, .about-page p { margin-top: 0; }
.about-page h1, .about-page h2, .about-page h3 { color: var(--about-dark); font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
.about-page a { color: inherit; }
.about-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.about-eyebrow { margin-bottom: 12px; color: var(--about-green); font-size: 13px; font-weight: 700; text-transform: uppercase; }

.about-hero { position: relative; display: flex; align-items: center; min-height: 560px; padding: 72px max(24px, calc((100% - 1180px) / 2)); overflow: hidden; background: url("../img/1.jpeg") center / cover no-repeat; color: var(--about-white); }
.about-hero::before { position: absolute; inset: 0; background: rgba(25, 27, 23, 0.7); content: ""; }
.about-hero__content { position: relative; z-index: 1; width: min(720px, 100%); }
.about-hero .about-eyebrow, .about-area .about-eyebrow { color: #b5dfc6; }
.about-hero h1 { margin-bottom: 22px; color: var(--about-white); font-size: 64px; line-height: 1.04; }
.about-hero__lead { max-width: 690px; margin-bottom: 28px; color: #eef0eb; font-size: 20px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease; }
.about-button--primary { background: var(--about-green); color: var(--about-white) !important; }
.about-button--primary:hover { background: #185d38; }
.about-button--outline { border-color: rgba(255, 255, 255, 0.7); color: var(--about-white) !important; }
.about-button--outline:hover { background: rgba(255, 255, 255, 0.1); }
.about-hero__messengers { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: #dfe2dc; font-size: 14px; }
.about-hero__messengers a { color: var(--about-white); font-weight: 700; text-underline-offset: 4px; }

.about-facts { border-bottom: 1px solid var(--about-line); }
.about-facts__inner { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.about-facts__inner div { padding: 24px 28px; border-left: 1px solid var(--about-line); }
.about-facts__inner div:last-child { border-right: 1px solid var(--about-line); }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { color: var(--about-dark); font-size: 21px; }
.about-facts span { margin-top: 3px; color: var(--about-muted); font-size: 14px; }

.about-section { padding: 78px 0; }
.about-section--soft { background: var(--about-soft); }
.about-intro { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); align-items: center; gap: 72px; }
.about-intro h2, .about-heading h2, .about-process h2, .about-area h2, .about-contact h2 { margin-bottom: 20px; font-size: 40px; line-height: 1.12; }
.about-intro__content > p:not(.about-eyebrow) { color: var(--about-muted); font-size: 17px; }
.about-text-link { color: var(--about-green) !important; font-weight: 700; text-underline-offset: 4px; }
.about-intro__media { margin: 0; }
.about-intro__media img { display: block; width: 100%; min-height: 430px; max-height: 530px; border-radius: 4px; object-fit: cover; }

.about-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.about-heading h2 { margin-bottom: 0; }
.about-heading > p { max-width: 430px; margin-bottom: 4px; color: var(--about-muted); }
.about-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.about-services article { display: flex; flex-direction: column; min-height: 320px; padding: 30px; border: 1px solid var(--about-line); border-radius: 6px; background: var(--about-white); }
.about-services article > span { margin-bottom: 54px; color: var(--about-green); font-size: 14px; font-weight: 700; }
.about-services h3 { margin-bottom: 12px; font-size: 25px; line-height: 1.2; }
.about-services p { color: var(--about-muted); }
.about-services a { margin-top: auto; color: var(--about-green); font-weight: 700; text-underline-offset: 4px; }

.about-process { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: 78px; }
.about-process__list { margin: 0; padding: 0; border-top: 1px solid var(--about-line); list-style: none; }
.about-process__list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--about-line); }
.about-process__list li > span { color: var(--about-green); font-size: 14px; font-weight: 700; }
.about-process__list h3 { margin-bottom: 7px; font-size: 21px; }
.about-process__list p { margin-bottom: 0; color: var(--about-muted); }

.about-works { padding: 78px 0; background: var(--about-soft); }
.about-works__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 12px; }
.about-works__grid img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.about-works__grid img:nth-child(1), .about-works__grid img:nth-child(4) { grid-column: span 7; }
.about-works__grid img:nth-child(2), .about-works__grid img:nth-child(3) { grid-column: span 5; }

.about-area { padding: 62px 0; background: var(--about-charcoal); color: var(--about-white); }
.about-area__inner { display: grid; grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: 72px; }
.about-area h2 { margin-bottom: 0; color: var(--about-white); }
.about-area__inner > p { margin-bottom: 0; color: #e0e2dd; font-size: 17px; }

.about-contact { padding: 78px 0; }
.about-contact__inner { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); gap: 74px; }
.about-contact__heading > p:not(.about-eyebrow) { color: var(--about-muted); }
.about-contact__details { border-top: 1px solid var(--about-line); }
.about-contact__details > div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--about-line); }
.about-contact__details span { color: var(--about-muted); font-size: 14px; font-weight: 700; }
.about-contact__details a { color: var(--about-dark); font-size: 18px; font-weight: 700; text-decoration: none; }
.about-contact__details a:hover { text-decoration: underline; }
.about-contact__details p { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.about-contact__details address { color: var(--about-dark); font-size: 17px; font-style: normal; }
.about-page + .site-footer { margin-top: 0 !important; }

@media (max-width: 900px) {
    .about-intro, .about-process, .about-area__inner, .about-contact__inner { grid-template-columns: 1fr; gap: 38px; }
    .about-services { grid-template-columns: 1fr; }
    .about-services article { min-height: 0; }
    .about-services article > span { margin-bottom: 30px; }
}

@media (max-width: 700px) {
    .about-container, .about-facts__inner { width: calc(100% - 32px); }
    .about-hero { min-height: 510px; padding: 56px 16px; }
    .about-hero h1 { font-size: 46px; }
    .about-hero__lead { font-size: 18px; }
    .about-facts__inner { grid-template-columns: 1fr; }
    .about-facts__inner div, .about-facts__inner div:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--about-line); border-left: 0; }
    .about-facts__inner div:last-child { border-bottom: 0; }
    .about-section, .about-works, .about-contact { padding: 56px 0; }
    .about-intro h2, .about-heading h2, .about-process h2, .about-area h2, .about-contact h2 { font-size: 34px; }
    .about-intro__media img { min-height: 300px; }
    .about-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .about-works__grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .about-works__grid img:nth-child(n) { grid-column: auto; }
    .about-area { padding: 52px 0; }
    .about-contact__details > div { grid-template-columns: 1fr; gap: 8px; }
    .about-actions, .about-button { width: 100%; }
}

@media (max-width: 390px) { .about-hero h1 { font-size: 40px; } }
