@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-cyr.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-lat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Prata;
  src: url("/assets/prata-cyr.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Prata;
  src: url("/assets/prata-lat.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f8f7f0;
  --forest: #183526;
  --deep: #142c1f;
  --ink: #202c21;
  --muted: #4e5949;
  --line: #d6d9c9;
  --sage: #ecede2;
  --cream: #f5f3e5;
  --gold: #bfa265;
  --serif: Prata, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a46a31; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.19; }
h2 { color: var(--deep); font-size: clamp(1.9rem, 4.25vw, 3.6rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.75rem); letter-spacing: -.035em; }
.wrap { width: min(calc(100% - clamp(2rem, 7.2vw, 8rem)), 1370px); margin-inline: auto; }
.section { margin-top: clamp(3.35rem, 7vw, 7rem); }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 5; transform: translateY(-160%); background: var(--paper); padding: .65rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 86px; }
/* Знак — гравюрная ветка с шишками, как на подарочном сертификате */
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--forest); text-decoration: none; flex: none; }
.brand-mark { width: 70px; height: auto; }
.brand-text { display: flex; flex-direction: column; gap: .3rem; padding-left: .85rem; border-left: 1px solid var(--gold); font-weight: 400; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.brand-tagline { color: var(--muted); font-size: .75rem; line-height: 1.2; }
.navigation, .site-footer nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.75rem); }
.navigation a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-action { white-space: nowrap; }
.navigation a:hover, .navigation a[aria-current="page"], .site-footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 5px; text-align: center; text-decoration: none; font-size: .9375rem; font-weight: 800; line-height: 1.35; }
.button-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.button-outline:hover { background: var(--sage); }
.button-light { background: var(--cream); color: var(--deep); }
.button-light:hover { background: #e2e7cf; }

.hero { position: relative; isolation: isolate; min-height: clamp(430px, 45vw, 635px); border-radius: 12px; overflow: hidden; display: grid; align-items: center; background: #2a4030; color: #fffdf1; }
.hero-photo, .hero-photo img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 54%; }
.hero::before { content: ""; background: linear-gradient(90deg, rgb(11 29 18 / .91), rgb(12 31 20 / .78) 31%, rgb(14 33 21 / .37) 57%, rgb(14 33 21 / .04) 87%); z-index: -1; }
.hero-content { padding: clamp(2rem, 6.2vw, 6rem); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 6.15rem); letter-spacing: -.055em; line-height: 1.14; }
.hero p { max-width: 34rem; margin-top: 1.1rem; color: #f5f2e4; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero .button { margin-top: 1.75rem; }

.section-intro { display: flex; flex-wrap: wrap; gap: 1.15rem 2.5rem; justify-content: space-between; align-items: end; margin-bottom: 1.5rem; }
.section-intro p { margin-top: .6rem; color: var(--muted); }
.catalog-page { margin-top: clamp(1.25rem, 4vw, 3.5rem); }
.catalog-home { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; text-underline-offset: 4px; }
.catalog-intro h1 { color: var(--deep); font-size: clamp(2.35rem, 6vw, 4.8rem); letter-spacing: -.055em; }
.catalog-note { margin-bottom: .9rem; color: var(--muted); font-size: .875rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { min-height: 44px; padding: .45rem .84rem; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--forest); font-size: .875rem; font-weight: 750; }
.filters button:hover { border-color: var(--forest); }
.filters button[aria-pressed="true"] { color: #fff; background: var(--forest); border-color: var(--forest); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.5rem); }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plant { min-width: 0; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #fbfaf4; scroll-margin-top: 1rem; }
.plant:target { border-color: var(--forest); outline: 2px solid var(--forest); outline-offset: 2px; }
.plant a { display: block; height: 100%; text-decoration: none; }
.plant a:focus-visible { outline-offset: -4px; }
.plant a:hover h3, .plant a:focus-visible h3 { text-decoration: underline; text-underline-offset: .2em; }
.plant img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e6e0d2; }
.plant-body { padding: clamp(.75rem, 1.7vw, 1.4rem); }
.plant h2, .plant h3 { margin-top: .35rem; color: var(--forest); font-size: clamp(1.125rem, 2.25vw, 1.7rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.plant-species { color: var(--muted); font-size: .875rem; font-weight: 750; }
.plant-description { margin-top: .55rem; color: var(--muted); }

.order { background: var(--sage); padding-block: clamp(2.5rem, 6vw, 5rem); }
.steps { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: order; }
.steps li { display: flex; align-items: start; gap: .9rem; padding-top: 1rem; border-top: 1px solid #aab3a0; counter-increment: order; }
.steps li::before { content: counter(order); display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #d9e2cf; color: var(--forest); font-weight: 800; font-size: .875rem; }
.steps h3 { color: var(--forest); }
.steps p { margin-top: .5rem; color: var(--muted); max-width: 35ch; }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.about-photo { min-width: 0; margin: 0; }
.about-photo img { width: 100%; border-radius: 8px; aspect-ratio: 1.5; object-fit: cover; background: var(--sage); }
.about-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .8125rem; }
.about-content p { color: var(--muted); margin-top: .9rem; max-width: 52ch; }
.about .button { margin-top: 1.25rem; }

.selection { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 2rem clamp(1.5rem, 5vw, 5rem); padding: clamp(1.35rem, 4.8vw, 4.5rem); border-radius: 10px; color: #fbfaed; background: var(--forest); margin-top: clamp(3.35rem, 7vw, 7rem); }
.selection h2 { color: inherit; }
.selection p { color: #e6ead8; margin-top: .8rem; }
.selection form { display: grid; align-items: start; gap: .55rem; }
.selection label { font-weight: 750; font-size: .9375rem; }
.selection select { min-height: 48px; min-width: 0; width: 100%; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: .5rem; }
.selection label:not(:first-child) { margin-top: .4rem; }
.selection .button { margin-top: .65rem; justify-self: start; }
.selection-result { border-top: 1px solid #718675; margin-top: .65rem; }
.selection-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; text-underline-offset: 4px; }

.site-footer { min-height: 145px; margin-top: 2.5rem; padding-block: 1.25rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; color: var(--forest); }

@media (max-width: 1040px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* На узком десктопе кнопка подбора дублирует раздел на странице и не помещается рядом со знаком */
@media (max-width: 960px) {
  .header-action { display: none; }
}
@media (max-width: 810px) {
  .site-header { flex-wrap: wrap; min-height: 72px; gap: .5rem .75rem; padding-block: .55rem; }
  .header-action { display: none; }
  .js .menu-toggle { display: flex; align-items: center; gap: .45rem; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--forest); font-size: .875rem; font-weight: 800; padding: .5rem .65rem; }
  .menu-toggle span { display: block; width: 14px; height: 10px; border-block: 2px solid currentColor; }
  .navigation { flex-basis: 100%; flex-wrap: wrap; }
  .js .navigation:not(.is-open) { display: none; }
  .hero::before { background: linear-gradient(90deg, rgb(11 29 18 / .9), rgb(12 31 20 / .7) 52%, rgb(14 33 21 / .23)); }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .steps p { max-width: 60ch; }
}
@media (max-width: 640px) {
  .hero { min-height: 430px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, rgb(11 29 18 / .96), rgb(12 31 20 / .79) 54%, rgb(14 33 21 / .1)); }
  .hero-content { padding: 1.4rem; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 3.5rem); }
  .hero p { margin-top: .9rem; }
  .hero .button { margin-top: 1.2rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plant h2, .plant h3 { font-size: clamp(1.1rem, 4.7vw, 1.4rem); }
  .plant-description { font-size: .9375rem; }
  .about, .selection { grid-template-columns: 1fr; }
  .site-footer nav { order: 1; flex-basis: 100%; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .brand { gap: .6rem; }
  .brand-mark { width: 54px; }
  .brand-text { gap: .2rem; padding-left: .6rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-tagline { font-size: .66rem; }
}
@media (max-width: 350px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .brand { gap: .5rem; }
  .brand-mark { width: 46px; }
  .brand-text { padding-left: .5rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-tagline { display: none; }
}
