/* =========================================================
   AZ — DarkCyan / LightSeaGreen theme
   ========================================================= */
:root {
  --dc: #008B8B;          /* DarkCyan */
  --lsg: #20B2AA;         /* LightSeaGreen */
  --deep: #034648;
  --deeper: #022f31;
  --ink: #0f2b2c;
  --text: #2a4546;
  --muted: #5d7778;
  --bg: #f2faf9;
  --surface: #ffffff;
  --tint: #e3f5f3;
  --line: #cfe9e6;
  --gold: #f4c95d;
  --grad: linear-gradient(135deg, var(--dc) 0%, var(--lsg) 100%);
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(0, 72, 72, .07);
  --shadow: 0 18px 45px -18px rgba(0, 72, 72, .35);
  --shadow-lg: 0 30px 70px -25px rgba(0, 72, 72, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--dc); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s; }
a:hover { color: var(--lsg); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--lsg); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255, 255, 255, .94); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__mark {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad);
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .04em;
  box-shadow: 0 8px 20px -8px rgba(0, 139, 139, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); box-shadow: 0 12px 26px -8px rgba(0, 139, 139, .8); }
.logo--light .logo__mark { box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .5); }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--dc); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--tint); }
.lang-switch a {
  min-width: 42px; padding: 6px 10px; border-radius: 9px; text-align: center;
  font-weight: 700; font-size: 13.5px; letter-spacing: .05em; color: var(--deep); text-decoration: none;
  transition: background .25s, color .25s, transform .25s;
}
.lang-switch a:hover { background: #fff; color: var(--dc); }
.lang-switch a.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 139, 139, .8); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--tint); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 150px;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(32, 178, 170, .55), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(32, 178, 170, .35), transparent 60%),
    linear-gradient(140deg, var(--deeper) 0%, var(--deep) 45%, var(--dc) 100%);
  color: #e9fbf9;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 222, 214, .55), transparent 65%);
  filter: blur(10px); animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-90px, 70px) scale(1.15); } }
.hero__inner { position: relative; }
.hero__title { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; margin: 0 0 26px; text-wrap: balance; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; margin-bottom: 18px; color: rgba(233, 251, 249, .75); }
.breadcrumbs a { color: #bff3ee; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs { flex-wrap: nowrap; min-width: 0; }
.breadcrumbs a { flex: none; }
.breadcrumbs [aria-current] { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta__item {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14.5px; font-weight: 600; color: #e9fbf9; backdrop-filter: blur(6px);
}
.meta__item small { font-weight: 500; opacity: .75; }
.meta__item svg, .contacts svg, .to-top svg {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.meta__item svg { color: #7fded6; }

.hero-figure { position: relative; margin-top: -110px; z-index: 2; }

/* ---------- framed images ---------- */
.frame {
  margin: 44px 0;
  padding: 10px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.hero-figure .frame { margin: 0; box-shadow: var(--shadow-lg); }
.frame:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.frame__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--tint);
  isolation: isolate;
  transition: transform .6s var(--ease);
}
.frame__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.02);
  animation: kenburns 22s ease-in-out infinite alternate;
  transition: transform 1.2s var(--ease), filter .8s;
  will-change: transform;
}
.frame:hover .frame__media img { transform: scale(1.08); filter: saturate(1.12) contrast(1.03); animation-play-state: paused; }
.frame__media::after {          /* light sheen sweeping across on hover */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.frame:hover .frame__media::after { transform: translateX(120%); }
.frame__media::before {         /* soft vignette — photo feel */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(2, 47, 49, .18); border-radius: inherit;
}
@keyframes kenburns {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.07) translate(-1.2%, -1%); }
}
.frame figcaption { padding: 12px 8px 4px; font-size: 14.5px; color: var(--muted); text-align: center; line-height: 1.5; }

/* ---------- article body ---------- */
.prose { padding-top: 46px; padding-bottom: 40px; }
.prose > p, .prose li { color: var(--text); }
.prose p { margin: 0 0 1.25em; }
.prose .lead { font-size: 1.13em; color: var(--ink); line-height: 1.8; }
.prose .lead::first-letter {
  float: left; font-family: var(--font-head); font-weight: 800; font-size: 3.4em; line-height: .9;
  margin: 6px 12px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prose h2 {
  position: relative; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 2.2em 0 .8em; padding-top: 18px;
}
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--grad); }
.prose strong { color: var(--ink); }

.prose ul, .prose ol { padding: 0; margin: 0 0 1.6em; list-style: none; }

.factors, .checklist { display: grid; gap: 14px; }
.factors li, .checklist li {
  position: relative; padding: 18px 20px 18px 62px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.factors li:hover, .checklist li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--lsg); }
.factors li::before, .checklist li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 28px; height: 28px; border-radius: 9px;
  background: var(--grad);
}
.factors li::after, .checklist li::after {
  content: ""; position: absolute; left: 27px; top: 26px; width: 7px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checklist--warn li::before {
  content: "!"; display: grid; place-items: center;
  background: linear-gradient(135deg, #e07a5f, #f2a65a);
  color: #fff; font-weight: 800; font-size: 17px; line-height: 1;
}
.checklist--warn li::after { display: none; }

.standards, .steps { counter-reset: n; display: grid; gap: 12px; }
.standards li, .steps li {
  counter-increment: n; position: relative; padding: 16px 20px 16px 74px;
  background: linear-gradient(90deg, var(--tint), var(--surface) 70%);
  border: 1px solid var(--line); border-radius: 16px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.standards li { font-weight: 700; color: var(--ink); font-size: 1.04em; }
.standards li:hover, .steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.standards li::before, .steps li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 18px -8px rgba(0, 139, 139, .8);
}
.steps li::before { top: 16px; transform: none; }

.quote {
  position: relative; margin: 36px 0; padding: 34px 34px 30px 92px;
  border-radius: 22px; color: #eafcfa;
  background: linear-gradient(135deg, var(--deep), var(--dc));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote::before {
  content: "“"; position: absolute; left: 22px; top: 6px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: rgba(127, 222, 214, .55);
}
.quote::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 178, 170, .5), transparent 70%);
}
.quote p { margin: 0; font-size: 1.08em; line-height: 1.75; font-style: italic; position: relative; z-index: 1; }

.note {
  margin: 28px 0; padding: 20px 24px; border-radius: 16px;
  background: var(--tint); border-left: 5px solid var(--lsg);
}
.note p { margin: 0; }
.small-print { font-size: 14.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 32px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.8em; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; min-width: 560px; }
th { background: var(--grad); color: #fff; text-align: left; font-weight: 700; padding: 14px 16px; }
td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: #f6fcfb; }
tbody tr { transition: background .2s; }
tbody tr:hover td { background: var(--tint); }
td:first-child { font-weight: 700; color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--lsg); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 64px 18px 22px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 18px; font-weight: 700; display: inline; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--tint); color: var(--dc); font-size: 22px; font-weight: 700; transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: #fff; }
.faq__answer { padding: 0 22px 6px; animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- article cards ---------- */
.articles { padding: 70px 0 90px; background: linear-gradient(180deg, var(--bg), #e6f6f4); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 0 0 10px; }
.section-head h2::after { content: ""; display: block; width: 70px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--grad); }
.section-head p { color: var(--muted); margin: 0; }

.cards { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border-radius: 22px; padding: 8px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--lsg); color: inherit; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s var(--ease), filter .6s; }
.card:hover .card__media img { transform: scale(1.09) rotate(.6deg); filter: saturate(1.15); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 47, 49, .35)); opacity: .7; transition: opacity .5s; }
.card:hover .card__media::after { opacity: .2; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 14px; }
.card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--dc); text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: 18.5px; font-weight: 700; margin: 10px 0 8px; line-height: 1.35; transition: color .3s; }
.card:hover .card__title { color: var(--dc); }
.card__text { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.card__more { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--dc); }
.card__more span { display: inline-block; transition: transform .35s var(--ease); }
.card:hover .card__more span { transform: translateX(6px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 40px;
  padding: 14px 28px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(0, 139, 139, .9); transition: transform .35s var(--ease), box-shadow .35s;
}
.btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(0, 139, 139, 1); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; color: #cdebe8; font-size: 16px; line-height: 1.7;
  background: linear-gradient(160deg, var(--deeper), var(--deep) 60%, #05605f);
  padding-top: 80px;
}
.footer__wave {
  position: absolute; left: 0; right: 0; top: -1px; height: 40px;
  background: #e6f6f4; border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 48px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 16px; letter-spacing: .02em; }
.footer__about .logo { margin-bottom: 18px; }
.footer__about p { margin: 0; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #9fe7e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__links a { display: inline-block; transition: transform .3s var(--ease); }
.footer__links a:hover { transform: translateX(4px); }
.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contacts li { display: flex; gap: 12px; align-items: flex-start; }
.contacts svg { color: var(--lsg); margin-top: 4px; }
.contacts a { white-space: nowrap; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__bottom p { margin: 0; font-size: 14.5px; }
.site-footer .lang-switch { background: rgba(255, 255, 255, .08); }
.site-footer .lang-switch a { color: #cdebe8; }
.site-footer .lang-switch a:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.site-footer .lang-switch a.is-active { color: #fff; }
.footer__disclaimer { margin: 0; padding: 0 0 28px; font-size: 13.5px; color: rgba(205, 235, 232, .7); display: flex; gap: 12px; align-items: flex-start; }
.badge21 { flex: none; padding: 2px 8px; border-radius: 8px; border: 1.5px solid var(--lsg); color: #fff; font-weight: 800; font-size: 12.5px; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .frame.reveal { transform: translateY(40px) scale(.97); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in:hover { transform: translateY(-10px); }
.js .frame.reveal.is-in:hover { transform: translateY(-6px); }
.js .checklist li.reveal.is-in:hover, .js .factors li.reveal.is-in:hover { transform: translateX(6px); }
.js .steps li.reveal.is-in:hover, .js .standards li.reveal.is-in:hover { transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .burger { display: block; }
  .header__inner { gap: 14px; }
  .lang-switch { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 74px; margin: 0;
    flex-direction: column; gap: 2px; padding: 12px 16px 18px;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 14px; }
  .nav a::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .header__inner { height: 66px; }
  .nav { top: 66px; }
  .logo__mark { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
  .lang-switch a { min-width: 36px; padding: 6px 7px; font-size: 12.5px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 11px; right: 11px; }
  .burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
  .hero { padding: 44px 0 110px; }
  .hero-figure { margin-top: -80px; }
  .meta__item { font-size: 13.5px; padding: 7px 12px; }
  .frame { padding: 6px; margin: 32px 0; }
  .frame__media { border-radius: 13px; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .quote { padding: 62px 22px 24px; }
  .quote::before { left: 16px; top: -4px; font-size: 96px; }
  .factors li, .checklist li { padding: 16px 16px 16px 56px; }
  .factors li::before, .checklist li::before { left: 14px; }
  .factors li::after, .checklist li::after { left: 23px; }
  .standards li, .steps li { padding: 14px 16px 14px 66px; }
  .standards li::before, .steps li::before { left: 12px; width: 40px; height: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
