/* ProCeiling — единый стиль по дизайн-референсу (Claude Design):
   Geologica + IBM Plex Mono, тёплый белый, чёрная типографика, моно-ярлыки,
   тонкие линейки, плоские карточки. Обслуживает все 5 страниц. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF8;
  --bg-alt: #F5F5F1;
  --bg-card: #FFFFFF;
  --line: #E6E6E1;
  --line-dark: #14181B;
  --ink: #14181B;
  --ink-deep: #04222E;
  --muted: #4B5257;
  --dim: #7C848A;
  --accent: #17B0E6;
  --accent-dark: #0B6F96;
  --ok: #1F9D63;
  --mono: 'IBM Plex Mono', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geologica', system-ui, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img, video { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Моно-ярлыки (kicker и старый .section__label) ---------- */
.kicker, .section__label {
  display: block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 0;
}
.section__label { margin-bottom: 6px; }
.section__label::before { display: none; }
.kicker b, .section__label b { color: var(--accent-dark); font-weight: 500; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; height: 64px; gap: 40px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.logo img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }

nav.menu { display: flex; gap: 26px; }
nav.menu a {
  white-space: nowrap;
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 400;
  padding: 21px 0 19px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
nav.menu a:hover { color: var(--ink); }
nav.menu a.current { color: var(--ink); font-weight: 500; border-bottom-color: var(--accent); }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 4px;
  font-family: 'Geologica', system-ui, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.3;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--ink-deep); }
.btn.accent, .btn.primary { background: var(--accent); color: #fff; }
.btn.accent:hover, .btn.primary:hover { background: var(--accent-dark); }
.btn.outline, .btn.ghost { background: var(--bg-card); color: var(--ink); border-color: var(--line-dark); }
.btn.outline:hover, .btn.ghost:hover { background: var(--bg-alt); }
.btn.sm { padding: 9px 18px; font-size: 13px; }
.btn.lg { padding: 13px 26px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 40px; height: 40px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .25s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: var(--bg); padding: 96px 32px 32px; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.current { color: var(--accent-dark); }
.mobile-menu .btn { margin-top: 20px; border-bottom: none; }
body.menu-locked { overflow: hidden; }

/* ---------- SECTIONS ---------- */
main { padding-top: 64px; }
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.rule, .section-divider { border: 0; border-top: 1px solid var(--line); height: 0; max-width: none; margin: 0; background: none; }

h1, h2 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
h1 b, h2 b { font-weight: 700; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.section h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 12px 0 16px; }
.section .lead { color: var(--muted); font-size: 16px; max-width: 640px; font-weight: 300; }
.section p { color: var(--muted); font-weight: 300; }
.section h2 + p:not(.lead) { max-width: 640px; }

/* «Центрированные» шапки секций в новом стиле выравниваются влево */
.center { text-align: left; }
.center .lead { margin: 0; }

/* ---------- HERO (главная) ---------- */
.hero { padding: 72px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.hero__grid > * { min-width: 0; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); margin: 18px 0 22px; }
.hero__desc { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 30px; max-width: 540px; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.hero__note b { color: var(--muted); font-weight: 500; }

.hero__media { border: 1px solid var(--line); background: var(--bg-card); }
.hero__media video { width: 100%; height: auto; display: block; }

.spec { border: 1px solid var(--line); border-top: 0; background: var(--bg-card); }
.spec__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink); font-weight: 400;
}
.spec__row:first-child { border-top: 0; }
.spec__val { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); white-space: nowrap; }

/* ---------- Карточки главной (.cards) и общие карточки (.card) ---------- */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 44px; }
.cards > .card { padding: 24px 18px; }
.cards > a.card:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.card { background: var(--bg-card); padding: 26px 22px; border: 0; border-radius: 0; box-shadow: none; transition: none; }
.card:hover { transform: none; box-shadow: none; }
.card::before { content: ''; display: block; width: 22px; height: 3px; background: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.card__icon { display: none; }
.card.soon { position: relative; }
.card.soon::before { background: #C9CED2; }
.card__soon {
  position: absolute; top: 26px; right: 22px;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark);
}

/* Старые сетки карточек (внутренние страницы) */
.cards-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid.c5 { grid-template-columns: repeat(5, 1fr); }
.cards-grid > .card, .cards-grid > .info-panel, .cards-grid > a.card { border: 0; }
.info-panel .cards-grid { background: none; border: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover h3 { color: var(--accent-dark); }

/* ---------- GEO ---------- */
.geo__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.geo__grid > * { min-width: 0; }
.geo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.geo-chips > span {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 3px;
  font-size: 13px; color: var(--muted); font-weight: 400;
}
.flag { display: inline-block; width: 18px; height: 13px; border-radius: 2px; overflow: hidden; line-height: 0; box-shadow: inset 0 0 0 1px rgba(20,24,27,0.10); flex-shrink: 0; }
.flag svg { width: 18px; height: 13px; display: block; }
.map-frame { border: 1px solid var(--line); background: var(--bg-card); border-radius: 0; box-shadow: none; overflow: hidden; }
.map-frame img { width: 100%; display: block; }
.map-caption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 12px; }

/* ---------- AUDIENCE (главная) ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.aud h3 { font-size: 16px; margin-bottom: 10px; }
.aud p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- CTA ---------- */
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 30px; max-width: 560px; }
.cta__btns, .cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: 48px 44px; text-align: left; box-shadow: none; }
.cta-band h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; max-width: 620px; }

/* ---------- PRICING ---------- */
.pricing-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
.toggle-group { display: flex; gap: 0; background: var(--bg-card); border: 1px solid var(--line-dark); border-radius: 4px; padding: 0; overflow: hidden; }
.toggle-group button {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; border-left: 1px solid var(--line);
  color: var(--muted); font-family: 'Geologica', system-ui, sans-serif;
  font-size: 13.5px; font-weight: 400; padding: 10px 16px; cursor: pointer;
  transition: background .2s, color .2s; white-space: nowrap;
}
.toggle-group button:first-child { border-left: 0; }
.toggle-group button.active { background: var(--ink); color: #fff; font-weight: 500; }
.toggle-group button:hover:not(.active) { color: var(--ink); background: var(--bg-alt); }
.discount-badge { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ok); }
.toggle-group button.active .discount-badge { color: #9BE8C4; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); align-items: stretch; margin-top: 40px; }
.price-card {
  background: var(--bg-card); border: 0; border-radius: 0; box-shadow: none;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: none; transform: none;
}
.price-card:hover { transform: none; box-shadow: none; }
.price-card.featured { box-shadow: inset 0 3px 0 var(--accent); }
.price-card__badge {
  position: static; display: inline-block; margin-bottom: 12px; padding: 0;
  background: none; color: var(--accent-dark);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.price-card h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.price-card__price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.price-card__price small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.price-card__setup { font-size: 13px; color: var(--muted); margin-bottom: 4px; font-weight: 300; }
.price-card__setup b { font-weight: 500; color: var(--ink); }
.price-card__period-info { font-family: var(--mono); font-size: 11px; color: var(--ok); min-height: 17px; margin-bottom: 6px; }
.price-card__users { font-size: 13px; color: var(--ink); font-weight: 400; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; flex: 1; }
.price-card ul li { display: flex; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.45; font-weight: 300; }
.price-card ul li::before { content: '—'; color: var(--accent); font-weight: 500; flex-shrink: 0; }
.price-card .btn { width: 100%; }

.pricing-note { text-align: left; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--dim); text-transform: uppercase; }

/* Инфо-панели */
.info-panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: 0; padding: 32px; box-shadow: none; }
.info-panel.accent { background: var(--bg-card); box-shadow: inset 3px 0 0 var(--accent); border-color: var(--line); }
.info-panel h3 { font-size: 20px; margin: 8px 0 10px; }
.info-panel p { color: var(--muted); font-size: 14.5px; }
.cards-grid .info-panel { border: 0; }
.upgrade-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); font-weight: 400; }
.upgrade-row:last-child { border-bottom: none; }
.upgrade-row .price { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-dark); white-space: nowrap; }

/* Чек-списки */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; font-size: 14px; color: var(--muted); line-height: 1.5; font-weight: 300;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: '—'; width: auto; height: auto; margin-top: 0; background: none; color: var(--accent); font-weight: 500; font-size: 14px; display: inline; flex-shrink: 0; }

/* ---------- FEATURE SPLIT (features) ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-split > * { min-width: 0; }
.feature-split + .feature-split { margin-top: 84px; }
.feature-split.reverse .feature-split__text { order: 2; }
.feature-split.reverse .feature-split__media { order: 1; }
.feature-split h2 { font-size: clamp(24px, 2.5vw, 32px); margin: 10px 0 12px; }
.feature-split p { color: var(--muted); font-size: 15px; font-weight: 300; }

.media-frame { border: 1px solid var(--line); background: var(--bg-card); border-radius: 0; overflow: hidden; box-shadow: none; }
.media-frame img { width: 100%; height: auto; display: block; transition: none; }
.media-frame:hover img { transform: none; }
.media-caption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-top: 10px; text-align: left; }

/* ---------- STEPS (getting-started) ---------- */
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.step > * { min-width: 0; }
.step + .step { margin-top: 72px; }
.step--text { grid-template-columns: minmax(0, 720px); }
.step:nth-child(even) .step__text { order: 2; }
.step:nth-child(even) .step__media { order: 1; }
.step__num {
  display: inline-block; width: auto; height: auto; border-radius: 0; margin-bottom: 12px;
  background: none; border: 0;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--accent-dark);
}
.step__num::before { content: 'Шаг 0'; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; max-width: none; margin: 36px 0 0; }
.faq-col { min-width: 0; }
.faq-item { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.faq-item summary {
  padding: 16px 0; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--mono); font-size: 16px; color: var(--accent-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 16px; font-size: 14px; color: var(--muted); font-weight: 300; max-width: none; }

/* ---------- FOOTER (единый однострочный) ---------- */
.footer { border-top: 1px solid var(--line); padding: 26px 0; margin-top: 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__copy { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.footer__copy a { color: var(--muted); text-decoration: none; }
.footer__copy a:hover { color: var(--ink); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__features { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.footer__features span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer__features a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__features a:hover { color: var(--ink); }

/* ---------- ПОДМЕНЮ «ВОЗМОЖНОСТИ» ---------- */
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 3px;
}
.sub-toggle span { display: block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.sub-toggle:hover, .nav-item:hover .sub-toggle { color: var(--ink); }
.sub-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.has-sub.open .sub-toggle span, .m-sub.open .sub-toggle span { transform: translateY(2px) rotate(-135deg); }
.submenu {
  display: none; position: absolute; top: 100%; left: -18px; z-index: 110; min-width: 220px;
  background: var(--bg-card); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(20,24,27,0.08); padding: 6px 0;
}
.has-sub:hover .submenu, .has-sub.open .submenu { display: block; }
nav.menu .submenu a { display: block; padding: 10px 18px; border-bottom: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
nav.menu .submenu a:hover, nav.menu .submenu a:focus-visible { color: var(--ink); background: var(--bg-alt); outline: none; }
nav.menu .submenu a.current { color: var(--ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }

/* мобильное подменю внутри бургера */
.m-sub__row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.m-sub__row a { flex: 1; border-bottom: 0 !important; }
.m-sub .sub-toggle { width: 44px; height: 44px; color: var(--ink); }
.m-sub .sub-toggle span { width: 9px; height: 9px; border-width: 2px; }
.m-sub__list { display: none; padding: 4px 0 10px 16px; border-bottom: 1px solid var(--line); }
.m-sub.open .m-sub__list { display: block; }
.mobile-menu .m-sub__list a { display: block; font-size: 16px; font-weight: 400; padding: 9px 0; border-bottom: 0; color: var(--muted); }
.mobile-menu .m-sub__list a.current { color: var(--accent-dark); font-weight: 500; }

/* ---------- СТРАНИЦЫ ВОЗМОЖНОСТЕЙ ---------- */
.section h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--accent-dark); }
.feature-split__text .lead { margin-bottom: 14px; }
.feature-split__text p + p { margin-top: 12px; }
.more { margin-top: 18px; }
.module-note h3 { margin-bottom: 8px; }
.module-note .btn { margin-top: 18px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.related span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.related a { font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 1px; }
.related a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 72px; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: auto; display: block; }

/* masonry-галерея ИИ-генераций */
.masonry { columns: 3; column-gap: 12px; margin-top: 36px; }
.masonry__item { break-inside: avoid; margin: 0 0 12px; background: var(--bg-card); border: 1px solid var(--line); }
.masonry__item img { width: 100%; height: auto; display: block; }
.masonry__item figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding: 8px 10px; }

/* ---------- ANIMATIONS ---------- */
[data-anim] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-anim].visible { opacity: 1; transform: translateY(0); }
[data-anim-delay="1"] { transition-delay: .07s; }
[data-anim-delay="2"] { transition-delay: .14s; }
[data-anim-delay="3"] { transition-delay: .21s; }
[data-anim-delay="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { [data-anim] { opacity: 1; transform: none; transition: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .header__note { display: none; }
  .header__inner { gap: 28px; }
  nav.menu { gap: 20px; }
}
@media (max-width: 1024px) {
  .cards, .cards-grid.c4, .cards-grid.c5, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.c3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  nav.menu, .header__right { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero { padding: 48px 0; }
  .hero__grid, .geo__grid, .feature-split, .step { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .feature-split__text, .feature-split.reverse .feature-split__media,
  .step:nth-child(even) .step__text, .step:nth-child(even) .step__media { order: 0; }
  .feature-split + .feature-split, .step + .step { margin-top: 56px; }
  .section { padding: 56px 0; }
  .aud { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 22px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .faq-grid, .cards-grid.c2, .cards-grid.c3, .pricing-grid { grid-template-columns: 1fr; }
  .toggle-group { flex-wrap: wrap; }
  .toggle-group button { border-left: 0; border-top: 1px solid var(--line); flex: 1 1 auto; justify-content: center; }
  .toggle-group button:first-child { border-top: 0; }
  .cta-band { padding: 32px 24px; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry__item { margin-bottom: 8px; }
  .pair { margin-top: 56px; }
}
@media (max-width: 560px) {
  .cards, .cards-grid.c4, .cards-grid.c5 { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .hero__cta { gap: 16px; }
}
