/* Nutracare — статический сайт. Дизайн-токены живой версии. */
:root {
  --ink: #1f2d24;
  --green: #33523f;
  --green-2: #2f4a3a;
  --green-3: #4f6f5a;
  --muted: #5a6b60;
  --line: #e2ece5;
  --soft: #f0f5f2;
  --soft-2: #f7faf7;
  --white: #fff;
  --radius: 20px;
  --container: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Montserrat', Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--green-3); }
button, input, select { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--ink); }
p { margin-bottom: 1em; }
:focus-visible { outline: 3px solid rgba(79,111,90,.5); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 12px 20px; z-index: 300; }
.skip-link:focus { left: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 840px; }
.center { text-align: center; margin-bottom: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header__inner { min-height: 70px; display: flex; align-items: center; gap: 32px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.site-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.site-nav a { font-size: 14px; font-weight: 600; }
.header-consult { background: var(--green-2); color: #fff; padding: 11px 20px; border-radius: 30px; font-size: 13px; font-weight: 700; }
.header-consult:hover { color: #fff; background: var(--green); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green-2); color: #fff; border: 2px solid var(--green-2); border-radius: 30px; padding: 13px 28px; font-weight: 700; font-size: 15px; cursor: pointer; }
.btn:hover { color: #fff; background: var(--green); border-color: var(--green); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.text-link { color: var(--green-3); font-weight: 700; border-bottom: 1px solid currentColor; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--green-3); margin-bottom: 12px; }
.kicker--light { color: rgba(255,255,255,.85); }
.section-title { font-size: 34px; margin-bottom: 16px; }
.section-descr { color: var(--muted); font-size: 17px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(90deg, rgba(20,35,27,.92), rgba(20,35,27,.55)), url('/assets/images/02_Hydrating_and_Nut.png') right center / cover no-repeat; }
.hero__content { padding-top: 0; padding-bottom: 110px; max-width: 760px; margin-left: 0; }
.hero h1 { color: #fff; font-size: 46px; margin-bottom: 24px; }
.hero__lead { font-size: 19px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }
.gallery-section { padding: 40px 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { display: block; background: var(--soft-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,45,36,.1); }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,45,36,.1); border-color: #c9dbcf; }
.product-card__media { display: flex; align-items: center; justify-content: center; background: var(--soft-2); padding: 14px; height: 260px; }
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.product-card__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.product-card__descr { font-size: 14px; color: var(--muted); flex: 1; }
.product-card__more { font-size: 14px; font-weight: 700; color: var(--green-3); }
.product-card__more::after { content: ' →'; }
.direction-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.direction { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.direction img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; }
.direction h3 { font-size: 18px; margin-bottom: 6px; }
.direction p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-list li { background: #fff; border-radius: 14px; padding: 18px 22px; border: 1px solid var(--line); }
.mini-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.mini-article { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; font-weight: 600; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.review p { font-size: 15px; }
.review footer { font-weight: 700; color: var(--green-3); font-size: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 14px 0 0; color: var(--muted); }
.cta-band { background: var(--soft-2); text-align: center; }
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.inline-cta { margin-top: 48px; padding: 36px; border-radius: 18px; }

/* Inner pages */
.inner-page { padding-top: 48px; padding-bottom: 80px; }
.inner-page h1 { font-size: 38px; margin-bottom: 18px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a { color: var(--green-3); }
.breadcrumbs .sep { opacity: .5; }
.content-block { margin-top: 44px; }
.content-block h2 { font-size: 28px; margin-bottom: 16px; }
.content-block h3 { font-size: 20px; margin: 24px 0 10px; }
.bullets { display: grid; gap: 10px; margin-bottom: 20px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--green-3); font-weight: 700; }
.note-box { margin-top: 40px; background: var(--soft); border-left: 4px solid var(--green-3); border-radius: 0 14px 14px 0; padding: 20px 24px; color: var(--muted); }

/* Product */
.product-hero { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; margin-bottom: 48px; }
.product-hero img { width: 100%; border-radius: 20px; background: var(--soft-2); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
.sidebar { position: sticky; top: 100px; align-self: start; background: var(--soft-2); border-radius: 16px; padding: 22px; }
.sidebar h2 { font-size: 18px; margin-bottom: 14px; }
.side-list { display: grid; gap: 10px; font-size: 14px; }
.side-list a { color: var(--green-3); }

/* Listing */
.listing-controls { margin: 28px 0 18px; }
.search-box { display: block; max-width: 560px; }
.search-box input { width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 30px; background: var(--soft-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 30px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover, .chip.is-active { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.result-count { color: var(--muted); font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.article-card__rubric { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--green-3); font-weight: 700; }
.article-card__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.article-card__descr { font-size: 14px; color: var(--muted); flex: 1; }
.article-card__meta { font-size: 12px; color: var(--muted); }
.no-results { padding: 40px 0; text-align: center; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.page-numbers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-btn { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.page-btn:hover { border-color: var(--green-3); color: var(--green-3); }
.page-btn.is-active { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: default; }
.page-info { color: var(--muted); font-size: 14px; }
.rubric-nav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.rubric-nav h2 { font-size: 20px; margin-bottom: 6px; }

/* Article */
.article-page { max-width: 1160px; }
.article-header { max-width: 800px; margin-bottom: 32px; }
.article-header h1 { font-size: 40px; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.article-summary { font-size: 18px; color: var(--muted); background: var(--soft-2); border-left: 4px solid var(--green-3); border-radius: 0 14px 14px 0; padding: 18px 22px; }
.article-body { max-width: 800px; }
.article-body h2 { font-size: 27px; margin: 38px 0 14px; }
.article-body h3 { font-size: 21px; margin: 28px 0 12px; }
.article-body h4 { font-size: 18px; margin: 22px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 24px 0; padding: 20px 24px; background: var(--soft); border-left: 4px solid var(--green-3); border-radius: 0 14px 14px 0; }
.article-body blockquote p { margin: 0; }
.article-body code { background: var(--soft); border-radius: 4px; padding: 2px 6px; }
.article-body pre { background: var(--soft); border-radius: 12px; padding: 18px; overflow-x: auto; margin-bottom: 20px; }
.article-body a { color: var(--green-3); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--soft-2); }
.toc { background: var(--soft-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin-bottom: 32px; max-width: 800px; }
.toc h2 { font-size: 18px; margin-bottom: 10px; }
.toc ol { columns: 2; column-gap: 32px; list-style: decimal; margin-left: 20px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--green-3); }
.takeaways { background: var(--soft); border-radius: 16px; padding: 24px 26px; margin-bottom: 28px; max-width: 800px; }
.takeaways h2 { font-size: 18px; margin-bottom: 10px; }
.takeaways li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.takeaways li::before { content: '→'; position: absolute; left: 0; color: var(--green-3); }
.disclaimer { margin: 40px 0; max-width: 800px; padding: 18px 22px; background: var(--soft-2); border: 1px solid var(--line); border-radius: 14px; font-size: 13px; color: var(--muted); }
.related { margin-top: 44px; }
.related h2 { font-size: 22px; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-weight: 600; font-size: 14px; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { display: grid; gap: 8px; color: var(--muted); }
.contact-list li::before { content: '•'; color: var(--green-3); margin-right: 8px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft-2); }
.form-status { padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px 0 24px; margin-top: 40px; }
.site-footer .logo { color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; margin-top: 44px; font-size: 12px; }

@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .burger { display: block; }
  .header-consult { margin-left: auto; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .product-grid, .article-grid, .review-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero img { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero__content { padding: 0 0 80px; }
  .hero h1 { font-size: 30px; }
  .hero__lead { font-size: 16px; }
  .product-grid, .article-grid, .review-grid, .related-grid, .direction-grid, .why-list, .mini-articles, .footer__inner { grid-template-columns: 1fr; }
  .direction { grid-template-columns: 90px 1fr; }
  .direction img { width: 90px; height: 90px; }
  .toc ol { columns: 1; }
  .header-consult { display: none; }
  .inner-page h1, .article-header h1 { font-size: 30px; }
  .section-title { font-size: 25px; }
}
