:root {
  --paper:#f7f7f0;
  --white:#fff;
  --forest:#203d2c;
  --muted:#697365;
  --line:#dce1d4;
  --olive:#c7d3b7;
  --brand:#337d2e;
  --radius:24px;
  --ease:cubic-bezier(.2,.65,.3,1);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:108px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--forest);
  font-family:'Manrope',sans-serif;
  font-size:22px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
}

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

p,h1,h2,h3 {
  margin:0;
  text-wrap:pretty;
}

a,button {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--brand);
  outline-offset:5px;
}

::selection {
  background:var(--olive);
  color:var(--forest);
}

.container {
  width:min(1248px,calc(100% - 96px));
  margin-inline:auto;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:100;
  background:var(--forest);
  color:var(--white);
  padding:12px 18px;
}

.skip-link:focus {
  top:16px;
}

.site-header {
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.header-inner {
  min-height:100px;
  padding-block:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  flex-shrink:0;
}

.brand img {
  object-fit:contain;
  object-position:left center;
  height:42px;
  width:146px;
}

.brand span {
  font-size:14px;
  letter-spacing:.18em;
  font-weight:700;
}

.desktop-nav {
  display:flex;
  gap:32px;
  font-size:18px;
  font-weight:600;
}

.desktop-nav a {
  transition:color .2s;
}

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

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:17px 26px;
  border-radius:99px;
  font-size:18px;
  line-height:1.45;
  font-weight:700;
  border:1px solid transparent;
  transition:background .2s,transform .2s,color .2s;
  min-height:50px;
}

.button span {
  font-size:24px;
  line-height:1;
}

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

.button:active {
  transform:translateY(0);
}

.button-header {
  border:1px solid var(--forest);
  font-size:18px;
  padding:12px 20px;
  gap:20px;
  min-height:44px;
}

.button-header:hover {
  background:var(--forest);
  color:var(--paper);
}

.button-primary {
  background:var(--forest);
  color:var(--paper);
}

.button-primary:hover {
  background:#345740;
}

.button-light {
  background:var(--paper);
  color:var(--forest);
}

.button-light:hover {
  background:var(--olive);
}

.menu-toggle {
  display:none;
  width:44px;
  height:44px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:50%;
  padding:12px;
}

.menu-toggle span {
  display:block;
  height:1px;
  background:var(--forest);
  margin:5px 0;
}

.mobile-nav {
  border-top:1px solid var(--line);
  padding:12px 24px;
}

.mobile-nav a {
  display:block;
  padding:12px 0;
  font-weight:600;
}

.mobile-nav[hidden] {
  display:none;
}

.hero {
  padding-top:70px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  column-gap:100px;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  letter-spacing:.15em;
  font-size:16px;
  font-weight:800;
  line-height:1.4;
}

.leaf-dot {
  width:9px;
  height:13px;
  background:var(--brand);
  border-radius:9px 0 9px 0;
  transform:rotate(30deg);
}

h1 {
  font-size:clamp(48px,5.2vw,76px);
  line-height:1.1;
  letter-spacing:-.055em;
  font-weight:600;
  max-width:860px;
  margin-top:25px;
}

h1 span {
  color:var(--brand);
}

.hero-description {
  font-size:22px;
  color:var(--muted);
  line-height:1.85;
  max-width:550px;
  margin-top:24px;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:30px;
  margin-top:30px;
}

.text-link {
  font-weight:700;
  font-size:18px;
  display:inline-flex;
  align-items:center;
  gap:20px;
  transition:color .2s;
}

.text-link span {
  font-size:24px;
}

.text-link:hover {
  color:var(--brand);
}

.hero-note {
  font-size:16px;
  color:var(--muted);
  display:flex;
  gap:8px;
  margin-top:20px;
}

.hero-note span {
  color:var(--brand);
}

.hero-side {
  padding-top:39px;
}

.side-rule {
  display:block;
  width:48px;
  height:1px;
  background:var(--forest);
  margin-bottom:30px;
}

.hero-side p {
  font-size:34px;
  line-height:1.5;
  letter-spacing:-.04em;
}

.hero-side em {
  font-family:Georgia,serif;
  font-weight:400;
  font-size:40px;
  color:var(--muted);
}

.side-label {
  display:block;
  margin-top:26px;
  font-size:16px;
  letter-spacing:.12em;
  color:var(--muted);
}

.hero-image {
  grid-column:1/-1;
  margin:48px 0 0;
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--white);
}

.hero-image>img {
  width:100%;
  height:auto;
}

.hero-image figcaption {
  position:absolute;
  left:28px;
  right:24px;
  bottom:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.hero-image figcaption>span {
  background:var(--paper);
  border-radius:99px;
  padding:10px 18px;
  font-size:16px;
  font-weight:700;
}

.hero-image figcaption>a {
  background:var(--forest);
  color:var(--paper);
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  transition:background .2s;
}

.hero-image figcaption>a:hover {
  background:var(--brand);
}

.hero-bottom {
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:24px 0 32px;
  border-bottom:1px solid var(--line);
}

.hero-bottom p {
  font-size:16px;
  color:var(--muted);
  line-height:1.75;
}

.hero-bottom strong {
  font-weight:600;
  color:var(--forest);
}

.hero-tags {
  display:flex;
  gap:10px;
}

.hero-tags span {
  padding:8px 18px;
  border:1px solid var(--line);
  border-radius:99px;
  font-size:16px;
  color:var(--muted);
}

.section-space {
  padding-block:100px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  gap:80px;
  align-items:flex-end;
  margin-bottom:48px;
}

h2 {
  font-size:clamp(40px,3.3vw,56px);
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.045em;
}

.section-heading h2 span {
  color:var(--muted);
}

.section-heading>p {
  max-width:350px;
  color:var(--muted);
  font-size:20px;
  line-height:1.9;
}

.benefits-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line);
}

.benefit {
  padding:32px 32px 36px 0;
  border-bottom:1px solid var(--line);
  min-height:244px;
}

.benefit:nth-child(3n+2) {
  padding-left:32px;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}

.benefit:nth-child(3n) {
  padding-left:32px;
  padding-right:0;
}

.benefit-index {
  font-size:16px;
  font-weight:800;
  color:var(--muted);
  letter-spacing:.1em;
}

.benefit h3 {
  font-size:30px;
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.35;
  margin-top:18px;
}

.benefit p {
  font-size:20px;
  line-height:1.85;
  color:var(--muted);
  margin-top:14px;
  max-width:290px;
}

.conditions {
  font-size:16px;
  line-height:1.8;
  color:var(--muted);
  max-width:860px;
  margin-top:24px;
}

.opportunities {
  padding-bottom:80px;
}

.start-section {
  padding-top:40px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:100px;
}

.start-intro h2 {
  margin-top:24px;
}

.start-intro>p {
  max-width:340px;
  color:var(--muted);
  font-size:20px;
  line-height:1.9;
  margin-top:24px;
}

.start-intro .text-link {
  margin-top:28px;
}

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

.steps li {
  display:flex;
  gap:28px;
  border-top:1px solid var(--line);
  padding:26px 0;
}

.steps li:last-child {
  border-bottom:1px solid var(--line);
}

.step-number {
  font-family:Georgia,serif;
  font-size:36px;
  color:var(--muted);
  line-height:1.2;
}

.steps h3 {
  font-size:24px;
  font-weight:600;
  letter-spacing:-.02em;
}

.steps p {
  font-size:20px;
  color:var(--muted);
  line-height:1.85;
  margin-top:8px;
  max-width:380px;
}

.contact-section {
  background:var(--forest);
  color:var(--paper);
  padding-block:72px;
}

.contact-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:64px;
}

.contact-inner .eyebrow {
  color:var(--olive);
}

.contact-inner h2 {
  font-size:clamp(44px,4vw,60px);
  margin-top:22px;
}

.contact-inner h2 em {
  font-family:Georgia,serif;
  font-weight:400;
  color:var(--olive);
}

.contact-inner p {
  font-size:20px;
  line-height:1.9;
  color:var(--olive);
  max-width:450px;
  margin-top:22px;
}

.contact-actions {
  display:flex;
  flex-direction:column;
  align-items:center;
  flex-shrink:0;
  min-width:310px;
}

.contact-actions .button {
  width:100%;
}

.phone {
  font-size:30px;
  font-weight:500;
  letter-spacing:-.02em;
  margin-top:24px;
}

.phone:hover {
  color:var(--olive);
}

.contact-caption {
  font-size:16px;
  color:var(--olive);
  margin-top:4px;
}

.site-footer {
  padding-top:38px;
  padding-bottom:24px;
}

.footer-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.footer-top p {
  font-size:16px;
  color:var(--muted);
}

.footer-top .brand img {
  width:120px;
  height:36px;
}

.footer-top .text-link {
  font-size:18px;
}

.footer-bottom {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:30px;
  padding-top:20px;
  font-size:16px;
  color:var(--muted);
}

@media(min-width:1600px) {
  .hero {
    padding-top:84px;
  }
}

@media(max-width:1100px) {
  .container {
    width:calc(100% - 64px);
  }
  .hero {
    column-gap:50px;
    grid-template-columns:minmax(0,1fr) 200px;
  }
  .desktop-nav {
    gap:22px;
  }
  .button-header {
    font-size:18px;
    gap:12px;
  }
  .header-inner {
    gap:20px;
  }
  .hero-side p {
    font-size:32px;
  }
  .hero-side em {
    font-size:36px;
  }
  .section-heading {
    gap:40px;
  }
  .section-heading>p {
    max-width:280px;
  }
  .start-section {
    gap:60px;
  }
  .contact-actions {
    min-width:275px;
  }
  .contact-inner {
    gap:40px;
  }
}

@media(max-width:800px) {
  .container {
    width:calc(100% - 40px);
  }
  .header-inner {
    min-height:96px;
  }
  .desktop-nav {
    display:none;
  }
  .button-header {
    margin-left:auto;
    font-size:18px;
  }
  .menu-toggle {
    display:block;
    flex-shrink:0;
  }
  .brand img {
    width:125px;
    height:36px;
  }
  .brand span {
    font-size:14px;
  }
  .hero {
    padding-top:44px;
    display:block;
  }
  .hero-side {
    display:none;
  }
  h1 {
    font-size:60px;
    max-width:650px;
  }
  .hero-description {
    font-size:20px;
  }
  .hero-image {
    margin-top:36px;
  }
  .hero-image figcaption {
    left:16px;
    right:16px;
    bottom:16px;
  }
  .hero-image figcaption>span {
    font-size:16px;
    padding:8px 12px;
  }
  .hero-bottom {
    display:flex;
    padding-block:20px;
  }
  .hero-tags {
    gap:6px;
  }
  .hero-tags span {
    padding:6px 10px;
    font-size:16px;
  }
  .section-space {
    padding-block:64px;
  }
  .section-heading {
    display:block;
    margin-bottom:32px;
  }
  .section-heading>p {
    max-width:450px;
    margin-top:20px;
  }
  .benefits-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .benefit,.benefit:nth-child(3n+2),.benefit:nth-child(3n) {
    padding:28px 24px 28px 0;
    border-left:0;
    border-right:0;
    min-height:230px;
  }
  .benefit:nth-child(even) {
    padding-left:24px;
    padding-right:0;
    border-left:1px solid var(--line);
  }
  .benefit h3 {
    font-size:30px;
  }
  .start-section {
    grid-template-columns:1fr;
    gap:36px;
    padding-top:0;
  }
  .start-intro h2 br {
    display:none;
  }
  .start-intro>p {
    max-width:500px;
  }
  .steps {
    width:100%;
  }
  .steps p {
    max-width:100%;
  }
  .contact-inner {
    display:block;
  }
  .contact-actions {
    align-items:flex-start;
    min-width:0;
    margin-top:32px;
  }
  .contact-actions .button {
    width:auto;
    min-width:260px;
  }
  .phone {
    font-size:30px;
  }
  .contact-section {
    padding-block:52px;
  }
  .footer-top p {
    display:none;
  }
  .footer-bottom {
    display:block;
  }
  .footer-bottom p+p {
    margin-top:8px;
  }
}

@media(max-width:480px) {
  .container {
    width:calc(100% - 36px);
  }
  .header-inner {
    gap:12px;
  }
  .button-header {
    display:none;
  }
  .menu-toggle {
    margin-left:auto;
  }
  .hero {
    padding-top:36px;
  }
  h1 {
    font-size:48px;
    margin-top:20px;
  }
  .eyebrow {
    font-size:16px;
    letter-spacing:.12em;
  }
  .hero-description {
    font-size:20px;
    margin-top:20px;
  }
  .hero-actions {
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    margin-top:24px;
  }
  .hero-actions .button {
    width:100%;
    justify-content:space-between;
  }
  .hero-note {
    font-size:16px;
    align-items:flex-start;
  }
  .hero-image {
    margin-top:28px;
    border-radius:16px;
  }
  .hero-image figcaption {
    position:static;
    padding:10px 14px;
    background:var(--white);
  }
  .hero-image figcaption>span {
    background:transparent;
    padding:0;
    font-size:16px;
  }
  .hero-image figcaption>a {
    width:32px;
    height:32px;
    font-size:24px;
  }
  .hero-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }
  .hero-bottom p br {
    display:none;
  }
  .hero-tags {
    flex-wrap:wrap;
  }
  .section-space {
    padding-block:52px;
  }
  .section-heading h2 {
    font-size:40px;
  }
  .benefits-grid {
    grid-template-columns:1fr;
  }
  .benefit,.benefit:nth-child(3n+2),.benefit:nth-child(3n),.benefit:nth-child(even) {
    padding:24px 0;
    border-left:0;
    min-height:0;
  }
  .benefit h3 {
    font-size:30px;
    margin-top:12px;
  }
  .benefit h3 br {
    display:none;
  }
  .benefit p {
    max-width:100%;
    font-size:20px;
    margin-top:10px;
  }
  .conditions {
    font-size:16px;
  }
  .start-section {
    padding-top:0;
  }
  .steps li {
    gap:20px;
  }
  .steps h3 {
    font-size:24px;
  }
  .contact-inner h2 {
    font-size:44px;
  }
  .contact-inner p {
    font-size:20px;
  }
  .contact-actions .button {
    width:100%;
    justify-content:space-between;
  }
  .contact-actions {
    width:100%;
  }
  .footer-top .text-link {
    font-size:18px;
    gap:8px;
  }
  .footer-top .brand img {
    width:106px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}


.max-contact-label {
  color: var(--olive);
  font-size:16px;
  margin-top: 8px;
}

.button-contact-secondary {
  border-color: var(--olive);
  color: var(--paper);
  margin-top: 22px;
}

.button-contact-secondary:hover {
  background: var(--paper);
  color: var(--forest);
}

/* Оригинальные фотографии страницы Greenleaf, без обрезки. */
.benefit-photo {
  width: min(100%, 216px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 22px auto 24px;
}

.source-link {
  margin-top: 18px;
}

@media (max-width: 800px) {
  .benefit-photo {
    width: min(100%, 190px);
    margin-block: 18px 22px;
  }
}

@media (max-width: 480px) {
  .benefit,
  .benefit:nth-child(3n+2),
  .benefit:nth-child(3n),
  .benefit:nth-child(even) {
    padding-block: 28px;
  }

  .benefit-photo {
    width: 210px;
    max-width: 100%;
    margin-block: 14px 22px;
  }
}

/* Более крупный текст: блоки не сжимают содержание. */
.hero-copy,
.section-heading > *,
.start-intro,
.steps li > div,
.contact-inner > div {
  min-width: 0;
}

.hero-actions,
.hero-bottom,
.hero-tags,
.footer-top,
.footer-bottom {
  flex-wrap: wrap;
}

.button {
  min-height: 56px;
  max-width: 100%;
  gap: 16px;
  padding: 18px 24px;
  text-align: center;
  white-space: normal;
}

.hero-image figcaption > span {
  max-width: calc(100% - 64px);
}

.section-heading > p,
.start-intro > p,
.contact-inner p,
.benefit p,
.steps p {
  max-width: 100%;
}

.section-heading > p {
  flex: 0 1 440px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .button-header {
    margin-left: auto;
  }
}

@media (max-width: 800px) {
  .button-header {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .section-heading > p {
    max-width: 100%;
  }

  .brand {
    max-width: calc(100% - 60px);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefit,
  .benefit:nth-child(3n+2),
  .benefit:nth-child(3n),
  .benefit:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
    border-right: 0;
  }

  .benefit h3 br {
    display: none;
  }

  .hero-image figcaption {
    position: static;
    padding: 14px 16px;
    background: var(--white);
    gap: 12px;
  }

  .hero-image figcaption > span {
    padding: 0;
    background: transparent;
  }
}

/* Хорошо читаемый текст на компьютере и телефоне. */
:root {
  --muted: #40503f;
}

body {
  font-weight: 500;
  line-height: 1.7;
}

.hero-description,
.section-heading > p,
.benefit p,
.start-intro > p,
.steps p,
.contact-inner p {
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: normal;
}

.brand span,
.eyebrow,
.benefit-index,
.side-label {
  font-size: 16px;
  letter-spacing: .05em;
  line-height: 1.6;
}

.hero-note,
.hero-bottom p,
.hero-tags span,
.conditions,
.contact-caption,
.max-contact-label,
.footer-top p,
.footer-bottom {
  font-weight: 500;
  line-height: 1.75;
}

h1,
h2,
.section-heading h2,
.benefit h3,
.steps h3 {
  letter-spacing: -.025em;
}

.benefit h3 {
  line-height: 1.4;
}

.benefit h3 br {
  display: none;
}

.hero-tags span {
  padding: 10px 16px;
}

.steps li {
  padding-block: 30px;
}

.mobile-nav a {
  font-size: 20px;
  min-height: 52px;
}

@media (max-width: 800px) {
  .hero-description,
  .section-heading > p,
  .benefit p,
  .start-intro > p,
  .steps p,
  .contact-inner p {
    font-size: 22px;
  }

  .steps h3 {
    font-size: 26px;
  }
}

/* Увеличенный оригинальный логотип Greenleaf. */
.site-header .brand {
  gap: 10px;
}

.site-header .brand img {
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer .brand img {
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .site-header .brand img {
    width: 240px;
    height: auto;
  }
}

/* Две группы MAX вместо личных контактов. */
.contact-actions.contact-groups {
  flex: 0 1 380px;
  width: 380px;
  min-width: 0;
  max-width: 100%;
  align-items: stretch;
  gap: 18px;
}

.contact-groups .button {
  min-height: 90px;
  justify-content: space-between;
  text-align: left;
}

.contact-groups .button-contact-secondary {
  margin-top: 0;
}

.contact-groups .group-title {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.contact-groups .group-arrow {
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .contact-actions.contact-groups {
    width: 100%;
    max-width: 440px;
    flex-basis: auto;
  }
}
