/*
Theme Name: Фонд выкупа лекарств
Theme URI: https://продатьлекарствафонд.рф/
Author: Фонд выкупа лекарств
Description: Фирменная тема фонда с редактируемой главной и материалами WordPress.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: fond-vykupa
*/

@font-face { font-family: "Onest Variable"; src: url("assets/fonts/onest-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Oswald Variable"; src: url("assets/fonts/oswald-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 200 700; font-display: swap; }

:root {
  --paper: #f4efe8;
  --paper-deep: #e9dfd3;
  --ink: #242425;
  --muted: #6e6863;
  --wine: #7d2730;
  --wine-dark: #5d1c24;
  --apricot: #e8ad87;
  --line: #cfc3b7;
  --white: #fffdfa;
  font-family: "Onest Variable", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; -webkit-font-smoothing: antialiased; background: var(--paper); }
.admin-bar .site-header { top: 32px; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { width: 100%; overflow: clip; background: var(--paper); }
.site-header {
  position: relative; z-index: 30; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 40px; min-height: 88px; padding: 14px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid rgba(69, 50, 39, .16); background: rgba(244, 239, 232, .96);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 17px; line-height: 1.08; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--wine); }
.brand-mark svg, .brand-mark img { width: 48px; height: 48px; }
.nav { justify-self: center; display: flex; align-items: center; gap: clamp(22px, 3vw, 50px); font-size: 14px; font-weight: 650; }
.nav a { position: relative; padding: 12px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--wine); transition: right .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.header-phone { white-space: nowrap; color: var(--wine); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.header-phone:hover, .header-phone:focus-visible { color: var(--wine-dark); text-decoration: underline; text-underline-offset: 4px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-button svg { width: 29px; height: 29px; }

.messengers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.messenger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid currentColor; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.messenger:hover { transform: translateY(-2px); }
.messenger svg { width: 22px; height: 22px; }
.messengers.compact { flex-wrap: nowrap; }
.messengers.compact .messenger { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
.whatsapp { color: #287a46; }
.telegram { color: #236a94; }
.max { color: #654591; }

.hero { display: grid; grid-template-columns: minmax(400px, .85fr) minmax(500px, 1.15fr); min-height: 700px; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 64px clamp(28px, 5vw, 84px); }
.eyebrow { margin: 0 0 16px; color: var(--wine); font-size: 12px; line-height: 1.2; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2 { margin: 0; font-family: "Oswald Variable", Impact, sans-serif; font-weight: 540; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
h1 { font-size: clamp(72px, 7vw, 118px); }
h1 em { color: var(--wine); font-style: normal; }
h2 { font-size: clamp(48px, 5vw, 78px); }
h3, h4, p { margin-top: 0; }
.hero-lead { max-width: 620px; margin: 34px 0 28px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: #4e4945; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 24px; border: 0; background: var(--wine); color: white; font-weight: 750; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--wine-dark); transform: translateY(-2px); }
.primary-button svg { width: 22px; height: 22px; }
.primary-button svg:last-child { margin-left: 10px; }
.hero-copy > .messengers { margin-top: 20px; }
.hero-image-wrap { position: relative; min-height: 620px; overflow: hidden; background: #ebe0d5; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.round-note { position: absolute; top: 44px; right: 44px; display: grid; place-content: center; width: 128px; height: 128px; border: 1px solid var(--wine); border-radius: 50%; color: var(--wine); background: rgba(244, 239, 232, .9); text-align: center; font-size: 12px; line-height: 1.6; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; transform: rotate(8deg); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px clamp(24px, 5vw, 80px); background: var(--white); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 0 28px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item > svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--wine); }
.trust-item span { display: grid; gap: 4px; }
.trust-item strong { font-size: 14px; }
.trust-item small { color: var(--muted); font-size: 12px; }

.section { padding: clamp(76px, 9vw, 140px) clamp(24px, 5vw, 80px); }
.categories { display: grid; grid-template-columns: .65fr .85fr 1.25fr; gap: clamp(38px, 5vw, 82px); align-items: center; }
.section-heading > p:last-child { max-width: 500px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.category-list { border-top: 1px solid var(--line); }
.category-item { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.category-item > svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--wine); }
.category-item h3 { margin: 0 0 6px; font-size: 16px; }
.category-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.outline-button { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: 26px; padding: 0 20px; border: 1px solid var(--wine); color: var(--wine); font-weight: 700; font-size: 14px; }
.outline-button svg { width: 18px; height: 18px; transition: transform .2s ease; }
.outline-button:hover svg { transform: translateX(4px); }
.evaluation-photo { position: relative; margin: 0; }
.evaluation-photo img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.evaluation-photo figcaption { position: absolute; left: -42px; bottom: -34px; display: flex; align-items: center; gap: 14px; max-width: 430px; padding: 20px 24px; background: var(--white); border-left: 5px solid var(--wine); box-shadow: 0 16px 40px rgba(75, 46, 38, .13); font-size: 13px; line-height: 1.5; }
.evaluation-photo figcaption svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--wine); }

.section-dark { color: var(--white); background: #292929; }
.process { display: grid; grid-template-columns: .62fr 2fr; gap: 60px; padding: clamp(72px, 7vw, 120px) clamp(24px, 5vw, 80px); }
.process .eyebrow { color: var(--apricot); }
.process-title h2 { color: var(--white); }
.process-title > p:last-child { margin: 28px 0 0; color: #c8c1bb; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; min-height: 320px; padding: 0 clamp(18px, 2.5vw, 36px); border-left: 1px solid #65615e; }
.step-number { display: block; color: var(--apricot); font-family: "Oswald Variable", sans-serif; font-size: 68px; line-height: 1; }
.step > svg { width: 30px; height: 30px; margin: 34px 0 18px; color: var(--apricot); }
.step h3 { margin: 0 0 14px; font-size: 17px; }
.step p { margin: 0; color: #c8c1bb; font-size: 13px; line-height: 1.6; }

.about { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(50px, 7vw, 120px); align-items: center; padding-right: 0; }
.about-copy { max-width: 540px; }
.about-copy p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-copy .about-lead { margin-top: 28px; color: var(--ink); font-size: 20px; line-height: 1.55; }
.about-copy strong { display: block; margin-top: 28px; color: var(--wine); font-size: 17px; line-height: 1.5; }
.about > img { width: 100%; min-height: 530px; max-height: 700px; object-fit: cover; }

.benefits { display: grid; grid-template-columns: .7fr 2fr; gap: 60px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-heading h2 { font-size: clamp(44px, 4vw, 68px); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit-grid article { padding: 10px 26px 0; border-left: 1px solid var(--line); }
.benefit-grid svg { width: 36px; height: 36px; margin-bottom: 22px; color: var(--wine); }
.benefit-grid h3 { margin-bottom: 10px; font-size: 15px; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.faq { display: grid; grid-template-columns: .62fr 1.45fr .6fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 720; cursor: pointer; }
.faq-item button svg { flex: 0 0 auto; width: 19px; height: 19px; transition: transform .25s ease; }
.faq-item.open button svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer p { overflow: hidden; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding-bottom: 22px; }
.faq-contact { padding: 34px; background: var(--white); border-top: 5px solid var(--wine); }
.faq-contact h3 { margin: 0 0 12px; font-size: 20px; }
.faq-contact p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.articles-section { background: var(--white); border-top: 1px solid var(--line); }
.articles-section > .section-heading { display: grid; grid-template-columns: .65fr 1fr; column-gap: 60px; align-items: end; }
.articles-section > .section-heading .eyebrow { grid-column: 1 / -1; }
.articles-section > .section-heading > p:last-child { margin: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.article-card { display: flex; flex-direction: column; min-height: 360px; padding: 34px; background: var(--paper); }
.article-date { color: var(--wine); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.article-card h3 { margin: 28px 0 18px; font-family: "Oswald Variable", sans-serif; font-size: 30px; line-height: 1.08; text-transform: uppercase; }
.article-card > p:not(.article-date) { color: var(--muted); font-size: 14px; line-height: 1.65; }
.article-card a { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; color: var(--wine); font-size: 13px; font-weight: 800; }
.article-card a svg { width: 18px; height: 18px; }
.articles-empty { display: flex; align-items: center; gap: 24px; max-width: 720px; margin-top: 48px; padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.articles-empty > svg { flex: 0 0 auto; width: 42px; height: 42px; color: var(--wine); }
.articles-empty h3 { margin: 0 0 8px; font-size: 18px; }
.articles-empty p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.article-header { grid-template-columns: 1fr auto auto; }
.article-back { color: var(--wine); font-size: 13px; font-weight: 800; }
.article-page { padding-bottom: clamp(80px, 10vw, 150px); }
.article-hero { padding: clamp(70px, 10vw, 150px) clamp(24px, 12vw, 190px) clamp(60px, 8vw, 110px); background: #efe5da; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 1150px; font-size: clamp(58px, 7vw, 106px); line-height: 1; }
.article-hero > p:last-child { max-width: 820px; margin: 34px 0 0; color: #4e4945; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.55; }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 300px; justify-content: center; gap: clamp(50px, 8vw, 120px); padding: clamp(65px, 8vw, 120px) 24px 0; }
.article-body section + section { margin-top: 58px; }
.article-body h2 { margin-bottom: 24px; color: var(--wine); font-size: clamp(34px, 3.4vw, 50px); line-height: 1.08; }
.article-body p { color: #4e4945; font-size: 17px; line-height: 1.82; }
.article-body p + p { margin-top: 20px; }
.article-faq > div { padding: 24px 0; border-top: 1px solid var(--line); }
.article-faq h3 { margin: 0 0 10px; font-size: 17px; }
.article-faq > div p { margin: 0; font-size: 15px; }
.article-aside { position: sticky; top: 112px; align-self: start; padding: 30px; border-top: 5px solid var(--wine); background: var(--white); }
.article-aside h3 { margin: 0 0 14px; font-size: 20px; }
.article-aside p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.article-aside small { display: block; margin-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.article-not-found { min-height: 70vh; padding: clamp(100px, 14vw, 200px) clamp(24px, 10vw, 160px); }
.article-not-found h1 { max-width: 900px; font-size: clamp(58px, 8vw, 110px); }

.seo-section { display: grid; grid-template-columns: .6fr 1.7fr; gap: clamp(50px, 8vw, 140px); background: #efe5da; border-top: 1px solid var(--line); }
.seo-title { align-self: start; }
.seo-copy { max-width: 900px; columns: 2; column-gap: clamp(34px, 4vw, 70px); column-rule: 1px solid var(--line); }
.seo-copy h3, .seo-copy h4 { break-after: avoid; color: var(--wine); font-size: 17px; line-height: 1.35; }
.seo-copy h4 { margin-top: 28px; text-transform: uppercase; letter-spacing: .06em; }
.seo-copy p { break-inside: avoid; color: #55504b; font-size: 14px; line-height: 1.75; }
.seo-copy ul { break-inside: avoid; margin: 0 0 20px; padding: 0; list-style: none; }
.seo-copy li { display: flex; gap: 9px; margin: 10px 0; color: #55504b; font-size: 14px; line-height: 1.5; }
.seo-copy li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--wine); }

.contact-section { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(50px, 8vw, 130px); padding: clamp(76px, 9vw, 140px) clamp(24px, 7vw, 110px); color: var(--white); background: var(--wine); }
.contact-section .eyebrow { color: var(--apricot); }
.contact-section h2 { font-size: clamp(62px, 7vw, 104px); }
.contact-section > div > p:not(.eyebrow) { max-width: 500px; margin: 24px 0 30px; color: #e8d7d1; font-size: 18px; }
.contact-section .messenger { color: var(--white); }
.email-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 700; }
.email-link svg { width: 22px; height: 22px; }
.contact-section form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-self: start; padding: 34px; background: var(--paper); color: var(--ink); }
.contact-section label { display: grid; gap: 9px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.contact-section label:nth-child(3), .contact-section form .primary-button, .success { grid-column: 1 / -1; }
.contact-section input, .contact-section textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #9e9289; outline: 0; background: transparent; color: var(--ink); resize: vertical; font-size: 15px; text-transform: none; letter-spacing: 0; }
.contact-section input:focus, .contact-section textarea:focus { border-bottom-color: var(--wine); }
.success { display: flex; gap: 8px; margin: 0; color: #4b6749; font-size: 13px; line-height: 1.5; }
.success svg { flex: 0 0 auto; width: 19px; height: 19px; }

footer { display: grid; grid-template-columns: .85fr 1.2fr 1fr .65fr; gap: clamp(32px, 4vw, 60px); align-items: start; padding: 58px clamp(24px, 5vw, 80px) 30px; color: #d9d0c8; background: #252424; scroll-margin-top: 24px; }
.brand-light { color: var(--white); }
.footer-license { max-width: 620px; margin: 0; font-size: 13px; line-height: 1.65; }
.footer-legal, .footer-contacts { display: grid; gap: 10px; font-size: 13px; }
.footer-legal strong { margin-bottom: 4px; color: var(--white); font-size: 14px; }
.footer-legal a, .footer-contacts a { font-weight: 650; }
.footer-legal a:hover, .footer-contacts a:hover, footer small a:hover { color: var(--apricot); }
.footer-legal a { scroll-margin-top: 24px; }
footer small { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #4f4b48; color: #948e89; }
footer small a { flex: 0 0 auto; color: #d9d0c8; font-weight: 700; }
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: none; }
.wp-home-content { padding: clamp(60px, 8vw, 110px) clamp(24px, 7vw, 110px); border-top: 1px solid var(--line); }
.wp-home-content > * { max-width: 980px; margin-left: auto; margin-right: auto; }
.wp-home-content h2 { margin: 48px auto 24px; font-size: clamp(42px, 5vw, 72px); }
.wp-home-content h3 { margin: 34px auto 14px; color: var(--wine); font-size: 24px; }
.wp-home-content p, .wp-home-content li { color: #55504b; font-size: 16px; line-height: 1.75; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1120px) {
  .site-header { gap: 22px; }
  .nav { gap: 20px; }
  .hero { grid-template-columns: .9fr 1.1fr; min-height: 610px; }
  .categories { grid-template-columns: .8fr 1fr; }
  .categories .section-heading { grid-column: 1 / -1; max-width: 780px; }
  .process { grid-template-columns: 1fr; }
  .process-title h2 br { display: none; }
  .benefits, .faq { grid-template-columns: 1fr; }
  .benefits-heading { max-width: 600px; }
  .faq-contact { max-width: 420px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .seo-section { grid-template-columns: 1fr; }
  .seo-title { position: static; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto auto; min-height: 72px; padding: 10px 20px; }
  .brand { font-size: 14px; }
  .brand-mark, .brand-mark svg, .brand-mark img { width: 38px; height: 38px; }
  .header-actions .messengers { display: none; }
  .header-actions { gap: 0; }
  .header-phone { font-size: 14px; }
  .menu-button { display: grid; place-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; padding: 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); transition: max-height .3s ease, padding .3s ease; }
  .nav.open { max-height: 320px; padding-top: 12px; padding-bottom: 22px; }
  .nav a { border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 590px; padding-top: 70px; padding-bottom: 58px; }
  h1 { font-size: clamp(66px, 18vw, 94px); }
  .hero-image-wrap { min-height: 440px; }
  .round-note { width: 104px; height: 104px; top: 24px; right: 24px; font-size: 10px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 16px; }
  .categories { grid-template-columns: 1fr; }
  .evaluation-photo { margin-top: 25px; }
  .evaluation-photo figcaption { left: 18px; right: 18px; bottom: -42px; max-width: none; }
  .process { margin-top: 26px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 300px; padding-bottom: 36px; }
  .about { grid-template-columns: 1fr; padding-right: 24px; }
  .about > img { min-height: 390px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article { padding: 22px; border-bottom: 1px solid var(--line); }
  .faq { gap: 46px; }
  .articles-section > .section-heading { grid-template-columns: 1fr; }
  .articles-section > .section-heading > p:last-child { margin-top: 24px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .seo-copy { columns: 1; }
  .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-license { grid-column: 1 / -1; }
  .floating-contact { display: block; }
  .floating-contact .messengers { flex-direction: column; }
  .floating-contact .messenger { background: var(--paper); box-shadow: 0 8px 24px rgba(39, 25, 22, .18); }
}

@media (max-width: 520px) {
  .section { padding-top: 76px; padding-bottom: 76px; }
  .hero-copy { min-height: 560px; padding-left: 20px; padding-right: 20px; }
  .hero-copy .messengers.compact { display: none; }
  .hero-lead { margin-top: 26px; font-size: 18px; }
  .primary-button { width: 100%; }
  .hero-image-wrap { min-height: 310px; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 20px; }
  .trust-item, .trust-item:nth-child(odd) { padding: 18px 0; border-right: 0; }
  .categories { gap: 36px; }
  h2 { font-size: 48px; }
  .evaluation-photo figcaption { position: relative; left: auto; right: auto; bottom: auto; margin: -10px 14px 0; }
  .process { padding-left: 20px; padding-right: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 30px 0 34px 32px; border-left: 1px solid #65615e; border-bottom: 1px solid #4e4a48; }
  .step-number { font-size: 58px; }
  .step > svg { margin: 22px 0 16px; }
  .about { padding-right: 20px; }
  .about > img { min-height: 300px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { padding-left: 0; border-left: 0; }
  .faq-contact { padding: 28px 22px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 320px; padding: 28px 22px; }
  .articles-empty { align-items: flex-start; padding: 24px 20px; }
  .article-header .header-actions .messengers { display: none; }
  .article-header { grid-template-columns: 1fr auto; }
  .article-header .article-back { display: none; }
  .article-hero { padding-left: 20px; padding-right: 20px; }
  .article-body p { font-size: 16px; }
  .seo-copy p, .seo-copy li { font-size: 15px; }
  .contact-section { padding-left: 20px; padding-right: 20px; }
  .contact-section .messengers { align-items: stretch; flex-direction: column; }
  .contact-section form { grid-template-columns: 1fr; padding: 26px 20px; }
  .contact-section label, .contact-section label:nth-child(3), .contact-section form .primary-button, .success { grid-column: 1; }
  footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-license, footer small { grid-column: 1; }
  footer small { align-items: flex-start; flex-direction: column; }
  .floating-contact { right: 12px; bottom: 12px; }
}

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