:root {
  --bg: #fffdf7;
  --ink: #1f2a1d;
  --muted: #57624e;
  --line: #e2e7d9;
  --soft: #f1f5ec;
  --soft2: #faf3e3;
  --green: #2e7d32;
  --green-dark: #1d5c25;
  --amber: #c7761b;
  --max: 1080px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.22; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { margin: 0 0 10px; }
:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 3px; }
[id] { scroll-margin-top: 90px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,253,247,0.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { text-decoration: none; font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; color: var(--green-dark); }
.logo b { color: var(--amber); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 15.5px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--amber); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; margin: 0 auto;
}
.menu-btn > span:first-child::before { content: ""; position: absolute; top: -5px; }
.menu-btn > span:first-child::after { content: ""; position: absolute; top: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; border: 1px solid var(--green);
  font-size: 15.5px; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--line { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn--line:hover { background: var(--soft); }
.btn--amber { background: var(--amber); border-color: var(--amber); }
.btn--amber:hover { background: #a9610f; border-color: #a9610f; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 100%); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); }
.hero__lead { margin: 18px 0 26px; color: var(--muted); font-size: 18px; max-width: 54ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__figure { border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 18px; box-shadow: 0 12px 30px rgba(31,42,29,0.07); }
.hero__figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 12px; }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section--soft { background: var(--soft); border-block: 1px solid var(--line); }
.section--sand { background: var(--soft2); border-block: 1px solid var(--line); }
.section__intro { color: var(--muted); max-width: 62ch; margin: 10px 0 34px; }
h2.section__title { font-size: clamp(24px, 3.2vw, 34px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 14px; color: var(--green-dark); }
.card__tag { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--amber); font-weight: 600; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; color: var(--green-dark); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- article list ---------- */
.art-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.art { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.art__figure { border-bottom: 1px solid var(--line); background: var(--soft); }
.art__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art__meta { font-size: 13px; color: var(--muted); }
.art h3 { font-size: 19px; }
.art p { color: var(--muted); font-size: 15px; flex: 1; }
.art .btn { align-self: flex-start; }

/* ---------- article page ---------- */
.article { padding: 56px 0; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.article__meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.article figure { margin: 26px 0; padding: 20px; background: var(--soft); border-radius: 14px; border: 1px solid var(--line); }
.article h2 { font-size: 24px; margin: 30px 0 12px; }
.article h3 { font-size: 19px; margin: 22px 0 10px; }
.article p { margin-bottom: 16px; color: #2c3527; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article blockquote { margin: 24px 0; padding: 18px 22px; background: var(--soft2); border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; font-family: var(--serif); font-style: italic; }
.article .notice { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 15px; color: var(--muted); margin: 22px 0; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-align: center; }
.prod__figure { margin: 0 auto 16px; }
.prod h3 { font-size: 21px; }
.prod__sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; }
.prod__price { font-family: var(--serif); font-size: 26px; color: var(--green-dark); margin: 10px 0 16px; }
.prod__price small { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.prod ul { list-style: none; text-align: left; margin: 0 0 18px; }
.prod ul li { padding-left: 26px; position: relative; font-size: 15px; color: var(--muted); }
.prod ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }

/* ---------- quiz ---------- */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz__box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.quiz__progress { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.quiz__progress i { display: block; height: 100%; background: var(--green); width: 0; transition: width .25s ease; }
.quiz__q { font-family: var(--serif); font-size: 22px; margin-bottom: 18px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button { text-align: left; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.quiz__opts button:hover { border-color: var(--green); background: var(--soft); }
.quiz__result { text-align: center; }
.quiz__result b { display: block; font-family: var(--serif); font-size: 40px; color: var(--green-dark); }
.quiz__bar { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.quiz__bar span { width: 34px; height: 8px; border-radius: 999px; background: var(--line); }
.quiz__bar span.on { background: var(--green); }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form__ok { background: var(--soft); border: 1px solid var(--green); color: var(--green-dark); border-radius: 12px; padding: 16px 18px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.member__ava { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: #fff; background: var(--green); }
.member h3 { font-size: 18px; }
.member p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-list { list-style: none; }
.contact-list li { padding-left: 30px; position: relative; }
.contact-list li::before { content: "✉"; position: absolute; left: 2px; color: var(--amber); }
.contact-list li.map::before { content: "◉"; color: var(--green); }
.contact-list li.clock::before { content: "◷"; color: var(--green); }

/* ---------- policy ---------- */
.policy { padding: 56px 0; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.policy .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.policy h2 { font-size: 21px; margin: 28px 0 10px; }
.policy p { margin-bottom: 14px; color: #2c3527; }
.policy ul { margin: 0 0 14px 22px; }

/* ---------- table ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { background: var(--soft); font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; }
.tbl tr:last-child td { border-bottom: 0; }

/* ---------- cta band ---------- */
.cta-band { background: var(--green-dark); color: #fff; padding: 54px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); }
.cta-band p { color: #d9e7d5; max-width: 56ch; margin: 12px auto 26px; }
.cta-band .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--soft2); }

/* ---------- footer ---------- */
.footer { background: #17211a; color: #cfd8c8; padding: 52px 0 28px; font-size: 15px; }
.footer a { color: #e4ecdf; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 36px; }
.footer__brand { font-family: var(--serif); font-size: 22px; color: #fff; }
.footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer__bottom { border-top: 1px solid #2b3a2e; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #9fae97; font-size: 13.5px; }

/* ---------- cookie ---------- */
.cookie-notice { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(23,33,26,0.16); padding: 18px; font-size: 14.5px; }
.cookie-notice p { color: var(--muted); margin-bottom: 12px; }
.cookie-notice__row { display: flex; gap: 10px; }
.cookie-notice .btn { padding: 8px 14px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 18px 20px 22px; gap: 14px;
  }
  .nav.is-open { display: flex; }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 40px; }
}

/* ---------- photo figures ---------- */
.hero__figure img { width: 100%; border-radius: 12px; }
.art__figure { margin: 0; }
.art__figure img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article figure img { width: 100%; border-radius: 10px; }
.prod__figure img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; }
