:root {
  --bg: #f5f0e6;
  --paper: #fffaf0;
  --ink: #1d2a1f;
  --muted: #697263;
  --green: #244b34;
  --sage: #8fa482;
  --clay: #c28b5c;
  --line: rgba(36, 75, 52, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(18px, 4vw, 56px); background: rgba(245, 240, 230, 0.88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand img { width: 174px; }
.nav { display: flex; gap: 26px; color: var(--muted); font-size: 15px; }
.nav a:hover, .contact-link:hover { color: var(--green); }
.header__cta { border: 1px solid var(--green); border-radius: 999px; padding: 12px 18px; color: var(--green); font-weight: 600; }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 86px 0; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1fr 0.86fr; gap: 58px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--clay); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 8vw, 96px); line-height: .94; letter-spacing: -.05em; margin-bottom: 28px; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.035em; margin-bottom: 0; }
h3 { font-size: 22px; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: var(--muted); max-width: 720px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; }
.btn--primary { background: var(--green); color: #fffaf0; box-shadow: 0 18px 40px rgba(36, 75, 52, .2); }
.btn--ghost { border: 1px solid var(--line); color: var(--green); }

.hero__visual { position: relative; min-height: 590px; }
.garden-card { position: absolute; border-radius: 36px; background: radial-gradient(circle at 30% 20%, rgba(255,250,240,.35), transparent 28%), linear-gradient(135deg, #243f2e, #59754b 48%, #d6b17d); box-shadow: 0 30px 90px rgba(36, 75, 52, .24); }
.garden-card--main { inset: 20px 0 70px 44px; }
.garden-card--small { width: 46%; height: 220px; left: 0; bottom: 0; background: linear-gradient(135deg, #d7c7a4, #6f875b 55%, #213a2a); border: 12px solid var(--bg); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); color: var(--green); font-weight: 800; text-align: center; }
.strip span { padding: 24px 12px; border-right: 1px solid var(--line); }
.strip span:last-child { border-right: 0; }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: end; }
.intro p:last-child { font-size: 22px; line-height: 1.55; color: var(--muted); margin-bottom: 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.grid--services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { min-height: 290px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 250, 240, .7); }
.card span { color: var(--clay); font-weight: 800; }
.card p, .work p, .contacts p, .about p, .steps span { color: var(--muted); line-height: 1.55; }

.portfolio__grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 260px 260px; gap: 16px; }
.work { display: flex; align-items: flex-end; padding: 28px; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, #263e2d, #80906a); color: #fffaf0; }
.work--one { grid-row: span 2; background: linear-gradient(140deg, #203628, #5f7a53 45%, #d2ad75); }
.work--two { background: linear-gradient(140deg, #8a9b73, #273d2d); }
.work--three { background: linear-gradient(140deg, #c49b6e, #415b39 60%, #1d3124); }
.work div { max-width: 360px; }
.work p { color: rgba(255, 250, 240, .82); margin: 0; }

.steps { list-style: none; counter-reset: item; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: item; padding: 28px; min-height: 230px; border-radius: 28px; background: var(--green); color: #fffaf0; }
.steps li::before { content: counter(item, decimal-leading-zero); display: block; color: #d8b178; font-weight: 800; margin-bottom: 42px; }
.steps strong { display: block; font-size: 21px; margin-bottom: 12px; }
.steps span { color: rgba(255, 250, 240, .78); }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.about__panel, .quote, .contact-card { border-radius: 32px; background: var(--paper); border: 1px solid var(--line); padding: 36px; }
.quote { display: flex; align-items: center; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; color: var(--green); }
.contacts { display: grid; grid-template-columns: 1fr .9fr; gap: 42px; align-items: center; padding-bottom: 110px; }
.contact-card { display: grid; gap: 18px; }
.contact-link { font-weight: 800; color: var(--green); }
.muted { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .header { position: static; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; overflow-x: auto; }
  .header__cta { display: none; }
  .hero, .intro, .about, .contacts { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero__visual { min-height: 390px; }
  .garden-card--main { inset: 0 0 50px 30px; }
  .garden-card--small { height: 150px; }
  .strip, .grid--services, .steps, .portfolio__grid { grid-template-columns: 1fr; }
  .strip { text-align: left; }
  .strip span { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 18px; }
  .portfolio__grid { grid-template-rows: auto; }
  .work, .work--one { min-height: 290px; grid-row: auto; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 28px, 1180px); padding: 62px 0; }
  .brand img { width: 150px; }
  .nav a { font-size: 14px; }
  h1 { font-size: 48px; }
  .lead, .intro p:last-child { font-size: 18px; }
  .actions .btn { width: 100%; }
  .card, .about__panel, .quote, .contact-card { padding: 24px; border-radius: 24px; }
}
