:root {
  --ink: #293127;
  --ink-soft: #586055;
  --porcelain: #f8f2e8;
  --paper: #fffdf8;
  --sage: #b8c58f;
  --sage-light: #e4e7ce;
  --lime: #d8e6a7;
  --blush: #e58ba0;
  --line: rgba(41, 49, 39, .16);
  --radius: 28px;
  --container: 1240px;
  --shadow: 0 24px 70px rgba(41, 49, 39, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
address { font-style: normal; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.seo-announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 8px 4vw;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.seo-announcement span + span::before { content: "✦"; margin-right: 42px; }

.seo-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 100px;
  padding: 18px max(5vw, 32px);
  background: rgba(248, 242, 232, .94);
  border-bottom: 1px solid var(--line);
}
.seo-header nav { display: flex; gap: 30px; font-size: 15px; }
.seo-header nav a, .seo-header__phone { position: relative; }
.seo-header nav a::after, .seo-header__phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.seo-header nav a:hover::after, .seo-header nav a:focus-visible::after, .seo-header__phone:hover::after, .seo-header__phone:focus-visible::after { right: 0; }
.seo-header__phone { justify-self: end; font-weight: 650; }
.seo-brand { position: relative; width: max-content; display: grid; line-height: 1; }
.seo-brand__name { position: relative; z-index: 2; font-size: 31px; font-weight: 350; letter-spacing: -.06em; }
.seo-brand small { position: relative; z-index: 2; margin-top: 7px; font-size: 10px; letter-spacing: .01em; }
.seo-brand__aura {
  position: absolute;
  width: 62px;
  height: 46px;
  left: 76px;
  top: -8px;
  border-radius: 48% 52% 57% 43%;
  background: radial-gradient(circle at 46% 50%, rgba(229,139,160,.86) 0 20%, rgba(216,230,167,.92) 47%, transparent 72%);
  filter: blur(8px);
  transform: rotate(-16deg);
}

main { min-height: 60vh; }
.crumbs {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs i { opacity: .45; font-style: normal; }

.page-hero, .product-hero {
  width: min(var(--container), calc(100% - 64px));
  margin: 24px auto 0;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  overflow: hidden;
  background: var(--sage-light);
  border-radius: 44px;
  box-shadow: var(--shadow);
}
.page-hero > div:first-child {
  align-self: center;
  padding: clamp(48px, 7vw, 94px);
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 380; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(52px, 6vw, 92px); }
h2 { margin-bottom: 24px; font-size: clamp(38px, 4.5vw, 66px); }
h3 { font-weight: 520; line-height: 1.12; letter-spacing: -.035em; }
.page-hero p:not(.eyebrow) { max-width: 650px; color: var(--ink-soft); font-size: 20px; }
.page-hero__visual { position: relative; min-height: 580px; background: var(--sage); }
.page-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__visual span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
}
.page-hero--compact { min-height: 430px; grid-template-columns: 1fr; background: linear-gradient(118deg, var(--sage-light), #f6e6e5 72%, var(--porcelain)); }
.page-hero--compact > div:first-child { padding-right: 18vw; }
.page-hero--compact h1 { max-width: 980px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 54px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--ink); }
.button--ghost { background: transparent; }

.content-section, .catalog-section, .seo-cta, .contact-grid {
  width: min(var(--container), calc(100% - 64px));
  margin: 110px auto;
}
.section-heading { margin-bottom: 40px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading > p { max-width: 440px; color: var(--ink-soft); }
.content-section--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.content-section--split > div > p:not(.eyebrow) { max-width: 690px; color: var(--ink-soft); font-size: 18px; }

.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.link-card {
  min-height: 260px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .66);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.link-card:hover, .link-card:focus-visible { transform: translateY(-5px); background: var(--paper); box-shadow: var(--shadow); }
.link-card small { margin-bottom: 32px; color: var(--ink-soft); font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.link-card h3 { margin-bottom: 16px; font-size: 28px; }
.link-card p { color: var(--ink-soft); }
.link-card span { margin-top: auto; font-weight: 750; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; }
.product-card__image { position: relative; height: clamp(330px, 34vw, 490px); display: block; overflow: hidden; border-radius: var(--radius); background: var(--sage-light); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__image > span { position: absolute; top: 16px; left: 16px; padding: 7px 11px; color: #fff; background: var(--ink); border-radius: 99px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.product-card__body { padding: 18px 5px 0; }
.product-card__body > p { margin-bottom: 8px; color: var(--ink-soft); font-size: 13px; }
.product-card__body h3 { margin-bottom: 16px; font-size: 24px; }
.product-card__body > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__body > div a { border-bottom: 1px solid currentColor; font-size: 14px; }

.fact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fact-list li { position: relative; padding: 22px 16px 22px 42px; border-bottom: 1px solid var(--line); font-size: 17px; }
.fact-list li::before { content: "✦"; position: absolute; left: 8px; color: #819257; }

.content-section--faq { max-width: 980px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 24px 52px 24px 0; list-style: none; font-size: 20px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -42px; font-size: 26px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 780px; padding: 0 0 24px; color: var(--ink-soft); font-size: 17px; }

.seo-cta {
  padding: clamp(40px, 6vw, 76px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: var(--ink);
  border-radius: 38px;
}
.seo-cta h2 { max-width: 700px; }
.seo-cta p:not(.eyebrow) { max-width: 660px; color: rgba(255,255,255,.72); }
.seo-cta .button--primary { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.seo-cta .button--ghost { color: #fff; border-color: rgba(255,255,255,.5); }

.product-hero { grid-template-columns: minmax(380px, .85fr) minmax(0, 1fr); background: var(--paper); }
.product-hero__visual { position: relative; min-height: 700px; overflow: hidden; background: var(--sage-light); }
.product-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__visual > span { position: absolute; top: 24px; left: 24px; padding: 9px 14px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.product-hero__copy { align-self: center; padding: clamp(46px, 6vw, 86px); }
.product-hero h1 { margin-bottom: 14px; }
.product-hero__price { margin-bottom: 28px; font-size: 28px; font-weight: 750; }
.product-hero__lead { max-width: 620px; color: var(--ink-soft); font-size: 20px; }
.product-hero dl { margin: 32px 0 0; border-top: 1px solid var(--line); }
.product-hero dl div { padding: 18px 0; display: grid; grid-template-columns: 100px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.product-hero dt { color: var(--ink-soft); }
.product-hero dd { margin: 0; font-weight: 600; }
.tag-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12px; }
.product-hero__note { display: block; max-width: 520px; margin-top: 16px; color: var(--ink-soft); }
.variant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.variant-grid a { display: grid; gap: 7px; min-height: 150px; padding: 24px; color: var(--ink); background: var(--sage-light); border: 1px solid transparent; border-radius: 22px; transition: transform .25s ease, border-color .25s ease; }
.variant-grid a:hover, .variant-grid a:focus-visible { border-color: var(--ink); transform: translateY(-3px); }
.variant-grid strong { font-size: 22px; }
.variant-grid span { color: var(--ink-soft); font-size: 14px; }
.variant-grid b { align-self: end; font-size: 19px; }

.delivery-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.delivery-table div { padding: 20px 26px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.delivery-table div:last-child { border-bottom: 0; }
.delivery-table span { text-align: right; color: var(--ink-soft); }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 18px 0; display: grid; grid-template-columns: 54px 1fr; align-items: start; border-bottom: 1px solid var(--line); font-size: 18px; }
.steps span { color: var(--ink-soft); font-size: 12px; letter-spacing: .12em; }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.level-grid article { padding: 40px; background: var(--sage-light); border-radius: var(--radius); }
.level-grid strong { display: block; margin-bottom: 38px; font-size: 68px; font-weight: 380; letter-spacing: -.06em; }
.level-grid h2 { font-size: 35px; }
.level-grid p { color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid article { min-height: 240px; padding: 34px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-grid small { margin-bottom: 48px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; }
.contact-grid a, .contact-grid strong { margin-bottom: 14px; font-size: 25px; font-weight: 560; }
.contact-grid p { margin-top: auto; color: var(--ink-soft); }

.article-page > header { width: min(980px, calc(100% - 64px)); margin: 70px auto 100px; }
.article-page > header h1 { max-width: 980px; }
.article-page > header > p:not(.eyebrow) { max-width: 820px; color: var(--ink-soft); font-size: 22px; }
.article-page__layout { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 760px); justify-content: space-between; gap: 80px; }
.article-page aside { position: sticky; top: 30px; align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.article-page aside ul { padding-left: 19px; color: var(--ink-soft); }
.article-page aside li + li { margin-top: 8px; }
.article-page aside a { display: inline-block; margin-top: 16px; border-bottom: 1px solid currentColor; font-weight: 700; }
.article-page__content section { padding-bottom: 56px; }
.article-page__content h2 { font-size: clamp(34px, 4vw, 52px); }
.article-page__content p { color: var(--ink-soft); font-size: 19px; line-height: 1.72; }

.seo-footer {
  margin-top: 130px;
  padding: 72px max(5vw, 32px) 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 50px;
  color: #fff;
  background: var(--ink);
}
.seo-footer > div:not(.seo-footer__bottom):not(.seo-footer__brand) { display: grid; align-content: start; gap: 11px; }
.seo-footer small { margin-bottom: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .12em; }
.seo-footer a:hover, .seo-footer a:focus-visible { color: var(--lime); }
.seo-footer__brand { display: flex; flex-direction: column; }
.seo-footer__brand strong { font-size: 34px; font-weight: 350; letter-spacing: -.06em; }
.seo-footer__brand span { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 12px; }
.seo-footer__bottom { grid-column: 1 / -1; margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); font-size: 13px; }

:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; }

@media (max-width: 1080px) {
  .seo-header { grid-template-columns: 1fr auto; }
  .seo-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .page-hero, .product-hero { grid-template-columns: 1fr 42%; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-footer { grid-template-columns: repeat(3, 1fr); }
  .seo-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .seo-announcement { min-height: 34px; justify-content: flex-start; overflow: hidden; white-space: nowrap; font-size: 10px; }
  .seo-announcement span + span { display: none; }
  .seo-header { min-height: 82px; padding: 15px 20px; grid-template-columns: 1fr auto; }
  .seo-header nav { width: calc(100vw - 40px); overflow-x: auto; justify-content: flex-start; gap: 22px; padding: 4px 24px 4px 0; scrollbar-width: none; scroll-snap-type: x proximity; }
  .seo-header nav::-webkit-scrollbar { display: none; }
  .seo-header nav a { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; scroll-snap-align: start; }
  .seo-header__phone { font-size: 0; }
  .seo-header__phone::before { content: "Позвонить"; font-size: 13px; font-weight: 700; }
  .seo-brand__name { font-size: 27px; }
  .seo-brand__aura { width: 52px; left: 63px; }
  .crumbs, .page-hero, .product-hero, .content-section, .catalog-section, .seo-cta, .contact-grid, .article-page__layout, .article-page > header { width: calc(100% - 32px); }
  .crumbs { padding-top: 18px; font-size: 12px; }
  .page-hero, .product-hero { margin-top: 16px; min-height: 0; grid-template-columns: 1fr; border-radius: 28px; }
  .page-hero > div:first-child { padding: 42px 24px; }
  .page-hero__visual { min-height: 390px; grid-row: 1; }
  .page-hero--compact > div:first-child { padding-right: 24px; }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  h2 { font-size: clamp(35px, 11vw, 52px); }
  .page-hero p:not(.eyebrow), .product-hero__lead { font-size: 17px; }
  .content-section, .catalog-section, .seo-cta, .contact-grid { margin: 72px auto; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .content-section--split { grid-template-columns: 1fr; gap: 36px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card__image { height: 58vw; border-radius: 19px; }
  .product-card__body h3 { font-size: 19px; }
  .product-card__body > div { align-items: start; flex-direction: column; }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 220px; }
  .seo-cta { padding: 36px 24px; align-items: stretch; flex-direction: column; border-radius: 28px; }
  .product-hero__visual { min-height: 510px; grid-row: 1; }
  .product-hero__copy { padding: 38px 24px 46px; }
  .product-hero dl div { grid-template-columns: 74px 1fr; }
  .delivery-table div { padding: 17px; align-items: start; flex-direction: column; gap: 4px; }
  .delivery-table span { text-align: left; }
  .level-grid, .contact-grid, .variant-grid { grid-template-columns: 1fr; }
  .level-grid strong { font-size: 56px; }
  .article-page > header { margin: 54px auto 70px; }
  .article-page > header > p:not(.eyebrow) { font-size: 18px; }
  .article-page__layout { grid-template-columns: 1fr; gap: 54px; }
  .article-page aside { position: static; }
  .article-page__content p { font-size: 17px; }
  .seo-footer { margin-top: 90px; padding: 54px 24px 24px; grid-template-columns: 1fr; }
  .seo-footer__brand { grid-column: auto; }
  .seo-footer__bottom { align-items: start; flex-direction: column; gap: 10px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card__image { height: 112vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
