/* Glatiox Core — стили сайта */

@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--glx-ink: #1F2440;
	--glx-ink-2: #4B5170;
	--glx-ink-3: #6E7390;
	--glx-brand: #7480AE;
	--glx-brand-deep: #4F5A8A;
	--glx-mist: #E9ECF5;
	--glx-paper: #F7F8FB;
	--glx-white: #FFFFFF;
	--glx-line: #D8DCEA;
	--glx-error: #B3261E;
	--glx-ok: #2C6E52;
	--glx-serif: "Lora", Georgia, "Times New Roman", serif;
	--glx-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--glx-wrap: 1240px;
	--glx-gutter: 24px;
	--glx-header-h: 76px;
	--glx-section: clamp(64px, 8vw, 120px);
	--glx-top: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- База ---------- */
:where(.glx) *, :where(.glx) *::before, :where(.glx) *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--glx-header-h) + 72px); -webkit-text-size-adjust: 100%; }
body.glx {
	margin: 0;
	background: var(--glx-paper);
	color: var(--glx-ink);
	font-family: var(--glx-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(.glx) :where(img, svg, video, iframe) { display: block; max-width: 100%; }
:where(.glx) img { height: auto; }
:where(.glx) a { color: inherit; text-decoration: none; }
:where(.glx) p { margin: 0 0 1em; }
:where(.glx) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.glx) :where(h1, h2, h3, h4) { margin: 0; font-weight: inherit; }
:where(.glx) button { font: inherit; color: inherit; }
.glx :focus-visible { outline: 2px solid var(--glx-brand-deep); outline-offset: 3px; border-radius: 4px; }
.glx-icon { flex: none; }
.glx-nw { white-space: nowrap; }

.glx-wrap { width: 100%; max-width: calc(var(--glx-wrap) + var(--glx-gutter) * 2); margin: 0 auto; padding: 0 var(--glx-gutter); }
.glx-narrow > * { max-width: 860px; }
.glx-main { display: block; }

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

/* ---------- Типографика ---------- */
.glx-h1 {
	font-family: var(--glx-serif);
	font-weight: 500;
	font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.glx-h1--page { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.glx-h1--product { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.08; }
.glx-h2 {
	font-family: var(--glx-serif);
	font-weight: 500;
	font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin-bottom: 0.6em;
}
.glx-h2--narrow { max-width: 18ch; }
.glx-h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.5em; }
.glx-lead { font-size: 1.1875rem; line-height: 1.6; color: var(--glx-ink-2); max-width: 46ch; }

.glx-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 15px; color: var(--glx-brand-deep);
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
	transition: color .2s;
}
.glx-link:hover { color: var(--glx-ink); }

.glx-prose { max-width: 68ch; }
.glx-prose--narrow { max-width: calc(68ch + var(--glx-gutter) * 2); }
.glx-prose p, .glx-prose li { color: var(--glx-ink-2); }
.glx-prose h2 { font-family: var(--glx-serif); font-weight: 500; font-size: 1.75rem; line-height: 1.2; margin: 1.6em 0 0.6em; color: var(--glx-ink); }
.glx-prose h3 { font-weight: 600; font-size: 1.2rem; margin: 1.4em 0 0.5em; color: var(--glx-ink); }
.glx-prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.glx-prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.glx-prose a { color: var(--glx-brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.glx-prose > :first-child { margin-top: 0; }

/* ---------- Кнопки ---------- */
.glx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--glx-sans); font-size: 15px; font-weight: 600; line-height: 1.2;
	cursor: pointer; text-align: center; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.glx-btn .glx-icon { width: 18px; height: 18px; }
.glx-btn--primary { background: var(--glx-brand-deep); color: #fff; }
.glx-btn--primary:hover { background: var(--glx-ink); }
.glx-btn--ghost { border-color: var(--glx-ink); color: var(--glx-ink); background: transparent; }
.glx-btn--ghost:hover { background: var(--glx-ink); color: #fff; }
.glx-btn--light { background: #fff; color: var(--glx-ink); }
.glx-btn--light:hover { background: var(--glx-mist); }
.glx-btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.glx-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.glx-btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.glx-btn--block { width: 100%; }
.glx-btn[disabled] { opacity: .6; cursor: progress; }
.glx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Шапка ---------- */
.glx-header {
	position: sticky; top: var(--glx-top); z-index: 50;
	background: var(--glx-paper);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, background-color .2s;
}
.glx-header.is-scrolled { border-bottom-color: var(--glx-line); background: rgba(247,248,251,.98); }
.glx-header__inner { display: flex; align-items: center; gap: 32px; height: var(--glx-header-h); }

.glx-logo { display: flex; align-items: center; flex: none; }
.glx-logo-img { height: 34px; width: auto; }
.glx-logo-text { font-family: var(--glx-serif); font-size: 30px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--glx-ink); }

.glx-nav { flex: 1; display: flex; justify-content: center; }
.glx-nav__list { display: flex; align-items: center; gap: 4px; }
.glx-nav__item { position: relative; display: flex; align-items: center; }
.glx-nav__item.has-mega { position: static; }
.glx-nav__link {
	display: block; padding: 10px 12px;
	font-size: 15px; font-weight: 500; color: var(--glx-ink);
	border-radius: 999px; transition: color .2s, background-color .2s;
}
.glx-nav__link:hover { color: var(--glx-brand-deep); }
.glx-nav__item.is-current > .glx-nav__link { color: var(--glx-brand-deep); box-shadow: inset 0 -2px 0 var(--glx-brand); border-radius: 0; }
.glx-nav__toggle {
	display: grid; place-items: center; width: 24px; height: 24px; margin-left: -8px;
	background: none; border: 0; padding: 0; cursor: pointer; color: var(--glx-ink-3);
}
.glx-nav__toggle .glx-icon { width: 16px; height: 16px; transition: transform .2s; }
.glx-nav__item.is-open .glx-nav__toggle .glx-icon { transform: rotate(180deg); }

/* Выпадающая панель продукции */
.glx-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--glx-white);
	border-top: 1px solid var(--glx-line);
	border-bottom: 1px solid var(--glx-line);
	box-shadow: 0 24px 48px -28px rgba(31,36,64,.35);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.glx-nav__item.has-mega:hover .glx-mega,
.glx-nav__item.has-mega:focus-within .glx-mega,
.glx-nav__item.has-mega.is-open .glx-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.glx-mega__inner { display: grid; grid-template-columns: 1fr 260px; gap: 48px; padding-top: 28px; padding-bottom: 32px; }
.glx-mega__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 380px)); gap: 16px; }
.glx-mega__card { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 20px; transition: background-color .2s; }
.glx-mega__card:hover { background: var(--glx-mist); }
.glx-mega__thumb { flex: none; width: 88px; height: 100px; border-radius: 44px 44px 12px 12px; overflow: hidden; background: var(--glx-mist); }
.glx-mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.glx-mega__name { display: block; font-family: var(--glx-serif); font-size: 1.25rem; line-height: 1.2; }
.glx-mega__sub { display: block; font-size: 14px; color: var(--glx-ink-3); margin-top: 6px; line-height: 1.4; }
.glx-mega__aside { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--glx-line); padding-left: 32px; }
.glx-mega__link { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 500; color: var(--glx-ink); }
.glx-mega__link:first-child { font-family: var(--glx-serif); font-size: 1.25rem; font-weight: 500; }
.glx-mega__link:hover { color: var(--glx-brand-deep); }
.glx-mega__link .glx-icon { width: 18px; height: 18px; color: var(--glx-brand); }

/* Обычное подменю (если меню собрано в админке) */
.glx-sub {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px;
	background: #fff; border: 1px solid var(--glx-line); border-radius: 16px;
	box-shadow: 0 24px 48px -28px rgba(31,36,64,.35);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.glx-nav__item.has-sub:hover .glx-sub, .glx-nav__item.has-sub:focus-within .glx-sub, .glx-nav__item.has-sub.is-open .glx-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.glx-sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.glx-sub a:hover { background: var(--glx-mist); }

.glx-header__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.glx-header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.glx-header__phone:hover { color: var(--glx-brand-deep); }
.glx-header__cta { min-height: 44px; padding: 0 22px; }

.glx-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; position: relative; }
.glx-burger span { display: block; height: 1.5px; background: var(--glx-ink); margin: 6px 0; transition: transform .2s, opacity .2s; }
.glx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.glx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.glx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Мобильное меню */
.glx-drawer {
	position: fixed; z-index: 45; left: 0; right: 0;
	top: calc(var(--glx-top) + var(--glx-header-h)); bottom: 0;
	background: var(--glx-paper); overflow-y: auto;
	padding: 16px var(--glx-gutter) 32px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.glx-drawer[hidden] { display: none; }
.glx-drawer__nav > ul > li { border-bottom: 1px solid var(--glx-line); }
.glx-drawer__nav > ul > li > a { display: block; padding: 16px 0; font-family: var(--glx-serif); font-size: 1.6rem; line-height: 1.2; }
.glx-drawer__nav a[aria-current="page"] { color: var(--glx-brand-deep); }
.glx-drawer__sub { padding: 0 0 16px; }
.glx-drawer__sub a { display: block; padding: 6px 0; color: var(--glx-ink-2); }
.glx-drawer__foot { display: flex; flex-direction: column; gap: 12px; }
.glx-drawer__contact { display: flex; align-items: center; gap: 12px; font-weight: 500; padding: 4px 0; }
.glx-drawer__contact .glx-icon { color: var(--glx-brand); }
body.glx-lock { overflow: hidden; }

/* ---------- Секции ---------- */
.glx-section { padding: var(--glx-section) 0; }
.glx-section--flush { padding-top: 8px; }
.glx-section--tint { background: var(--glx-mist); }
.glx-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.glx-section__head .glx-h2 { margin: 0; }

/* Арка — форма флакона, общий мотив изображений */
.glx-arch { position: relative; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--glx-mist); aspect-ratio: 8 / 9; }
.glx-arch img { width: 100%; height: 100%; object-fit: cover; }
.glx-arch--soft { border-radius: 999px 999px 32px 32px; }

/* ---------- Первый экран ---------- */
.glx-hero { padding: clamp(24px, 4vw, 56px) 0 var(--glx-section); }
.glx-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.glx-hero__lead { font-size: 1.1875rem; color: var(--glx-ink-2); max-width: 44ch; margin: 28px 0 36px; }
.glx-hero__media .glx-arch { max-width: 520px; margin-left: auto; }
.glx-hero__media .glx-arch img { animation: glx-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes glx-rise { from { clip-path: inset(100% 0 0 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }

.glx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--glx-line); max-width: 560px; }
.glx-facts__item { margin: 0; }
.glx-facts dt { font-family: var(--glx-serif); font-size: 2rem; line-height: 1.1; color: var(--glx-brand-deep); font-variant-numeric: lining-nums; }
.glx-facts dd { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--glx-ink-3); }
.glx-facts--compact { margin-top: 28px; padding-top: 20px; }
.glx-facts--compact dt { font-size: 1.625rem; }

/* ---------- Две колонки ---------- */
.glx-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.glx-split__media .glx-arch { max-width: 460px; }
.glx-split__text .glx-prose { font-size: 1.0625rem; }
.glx-twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }

/* ---------- Плитки без рамок: линия сверху ---------- */
.glx-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 16px; }
.glx-tile { padding-top: 22px; border-top: 2px solid var(--glx-brand); }
.glx-tile p { color: var(--glx-ink-2); margin: 0; font-size: 16px; }
.glx-tile--line { border-top-color: var(--glx-ink); }

/* ---------- Карточки продуктов ---------- */
.glx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.glx-cards--single { grid-template-columns: 1fr; }
.glx-card__media { position: relative; display: block; border-radius: 160px 160px 24px 24px; overflow: hidden; background: var(--glx-mist); aspect-ratio: 8 / 9; }
.glx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.glx-card:hover .glx-card__media img { transform: scale(1.03); }
.glx-card__body { padding-top: 22px; }
.glx-card__title { font-family: var(--glx-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.glx-card__sub { color: var(--glx-brand-deep); font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.glx-card__text { color: var(--glx-ink-2); font-size: 16px; }
.glx-badge {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	background: #fff; color: var(--glx-ink); font-size: 13px; font-weight: 600;
	padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}

.glx-wide { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--glx-white); border-radius: 36px; padding: clamp(20px, 3vw, 40px); }
.glx-wide__media { position: relative; display: block; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--glx-mist); aspect-ratio: 8 / 9; }
.glx-wide__media img { width: 100%; height: 100%; object-fit: cover; }
.glx-wide__title { font-family: var(--glx-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 500; line-height: 1.12; margin-bottom: 12px; }
.glx-wide__sub { color: var(--glx-brand-deep); font-weight: 500; margin-bottom: 16px; }
.glx-wide__body > p { color: var(--glx-ink-2); max-width: 52ch; }
.glx-wide__label, .glx-product__label { font-size: 14px; font-weight: 600; color: var(--glx-ink-3); margin: 24px 0 12px; }
.glx-wide .glx-actions { margin-top: 32px; }

.glx-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--glx-line); font-size: 16px; }
.glx-checklist li:last-child { border-bottom: 0; }
.glx-checklist .glx-icon { color: var(--glx-brand); margin-top: 3px; }

/* ---------- Результат ---------- */
.glx-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.glx-benefits li { padding: 4px 28px 0; border-left: 1px solid rgba(79,90,138,.28); }
.glx-benefits li:first-child { padding-left: 0; border-left: 0; }
.glx-benefits p { color: var(--glx-ink-2); margin: 0; font-size: 16px; }

/* ---------- Для кого ---------- */
.glx-audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 6vw, 96px); }
.glx-audience .glx-h2 { position: sticky; top: calc(var(--glx-top) + var(--glx-header-h) + 32px); align-self: start; }
.glx-audience__list li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--glx-line); }
.glx-audience__list li:last-child { border-bottom: 1px solid var(--glx-line); }
.glx-audience__age { font-family: var(--glx-serif); font-size: 3.25rem; line-height: 1; color: var(--glx-brand-deep); }
.glx-audience__list p { margin: 0; font-size: 1.0625rem; color: var(--glx-ink-2); }

/* ---------- Шаги (это последовательность) ---------- */
.glx-howto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.glx-howto__head .glx-lead { margin-bottom: 28px; }
.glx-howto__head .glx-video { margin-top: 8px; }
.glx-steps { counter-reset: glx-step; }
.glx-steps__item { counter-increment: glx-step; position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 28px; }
.glx-steps__item::before {
	content: counter(glx-step);
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1.5px solid var(--glx-brand); background: var(--glx-paper);
	font-family: var(--glx-serif); font-size: 1.25rem; color: var(--glx-brand-deep); position: relative; z-index: 1;
}
.glx-section--tint .glx-steps__item::before { background: var(--glx-mist); }
.glx-steps__item::after { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; width: 1px; background: var(--glx-brand); opacity: .4; }
.glx-steps__item:last-child::after { display: none; }
.glx-steps__item:last-child { padding-bottom: 0; }
.glx-steps__item p { margin: 0; padding-top: 11px; font-size: 1.0625rem; }

.glx-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: glx-path; margin-top: 8px; }
.glx-path__item { counter-increment: glx-path; position: relative; padding-top: 72px; }
.glx-path__item::before { content: counter(glx-path); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glx-brand-deep); color: #fff; font-family: var(--glx-serif); font-size: 1.25rem; }
.glx-path__item::after { content: ""; position: absolute; top: 24px; left: 64px; right: -16px; height: 1px; background: var(--glx-brand); opacity: .45; }
.glx-path__item:last-child::after { display: none; }
.glx-path__item p { color: var(--glx-ink-2); margin: 0; font-size: 16px; }

/* ---------- Тёмный блок для партнёров ---------- */
.glx-band { background: var(--glx-ink); color: #fff; padding: var(--glx-section) 0; }
.glx-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.glx-band .glx-lead { color: rgba(255,255,255,.72); margin-bottom: 32px; }
.glx-band__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; align-content: start; }
.glx-band__points li { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); }
.glx-band__points h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.glx-band__points p { color: rgba(255,255,255,.7); margin: 0; font-size: 16px; }

/* ---------- Форма ---------- */
.glx-leadsec__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.glx-leadsec__form { background: var(--glx-white); border-radius: 32px; padding: clamp(24px, 3.5vw, 48px); }
.glx-contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.glx-contact-list a { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.0625rem; }
.glx-contact-list a:hover { color: var(--glx-brand-deep); }
.glx-contact-list .glx-icon { color: var(--glx-brand); }

.glx-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.glx-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.glx-field--wide { grid-column: 1 / -1; }
.glx-field label { font-size: 14px; font-weight: 600; color: var(--glx-ink); }
.glx-req { color: var(--glx-brand-deep); }
.glx-field input, .glx-field select, .glx-field textarea {
	width: 100%; min-height: 52px; padding: 13px 16px;
	font: inherit; font-size: 16px; color: var(--glx-ink);
	background: var(--glx-paper); border: 1.5px solid var(--glx-line); border-radius: 14px;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
.glx-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F5A8A' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.glx-field textarea { min-height: 104px; resize: vertical; }
.glx-field input::placeholder, .glx-field textarea::placeholder { color: #9A9EB5; }
.glx-field input:focus, .glx-field select:focus, .glx-field textarea:focus { outline: none; border-color: var(--glx-brand-deep); background: #fff; box-shadow: 0 0 0 4px rgba(116,128,174,.2); }
.glx-field.has-error input, .glx-field.has-error select, .glx-field.has-error textarea { border-color: var(--glx-error); }
.glx-field__error { margin: 0; font-size: 13px; color: var(--glx-error); min-height: 0; }
.glx-field__error:empty { display: none; }
.glx-field--check { margin-top: 20px; }
.glx-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; color: var(--glx-ink-2) !important; line-height: 1.5; cursor: pointer; }
.glx-check input { flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 0; border-radius: 6px; border: 1.5px solid var(--glx-line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.glx-check input:checked { background: var(--glx-brand-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--glx-brand-deep); }
.glx-check a { color: var(--glx-brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.glx-field--check.has-error .glx-check input { border-color: var(--glx-error); }
.glx-form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.glx-form__note { margin: 0; font-size: 13px; color: var(--glx-ink-3); }
.glx-form__status { margin: 16px 0 0; font-size: 15px; }
.glx-form__status:empty { display: none; }
.glx-form__status.is-error { color: var(--glx-error); }
.glx-form.is-sent .glx-form__grid, .glx-form.is-sent .glx-field--check, .glx-form.is-sent .glx-form__foot { display: none; }
.glx-form.is-sent .glx-form__status { margin: 0; padding: 24px; border-radius: 20px; background: var(--glx-mist); color: var(--glx-ink); font-size: 1.0625rem; }
.glx-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Внутренние страницы ---------- */
.glx-pagehead { padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 4vw, 56px); }
.glx-pagehead__intro { margin-top: 20px; max-width: 58ch; }
.glx-crumbs { margin-bottom: 20px; font-size: 14px; color: var(--glx-ink-3); }
.glx-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.glx-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--glx-line); }
.glx-crumbs a:hover { color: var(--glx-brand-deep); }
.glx-empty { color: var(--glx-ink-3); }
.glx-emptybox { background: var(--glx-mist); border-radius: 32px; padding: clamp(24px, 4vw, 48px); max-width: 820px; }
.glx-emptybox p { font-size: 1.125rem; color: var(--glx-ink-2); max-width: 56ch; margin-bottom: 28px; }

/* ---------- Страница продукта ---------- */
.glx-product { padding: clamp(24px, 4vw, 48px) 0 var(--glx-section); }
.glx-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.glx-product__gallery { position: sticky; top: calc(var(--glx-top) + var(--glx-header-h) + 24px); }
.glx-product__main { max-width: 560px; }
.glx-product__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .35s; }
.glx-product__slide.is-active { opacity: 1; position: relative; }
.glx-product__slide img { width: 100%; height: 100%; object-fit: cover; }
.glx-product__main > .glx-fallback-img { width: 100%; height: 100%; object-fit: cover; }
.glx-product__main .glx-badge { z-index: 2; }
.glx-product__thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.glx-product__thumb { width: 72px; height: 72px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--glx-mist); cursor: pointer; }
.glx-product__thumb.is-active { border-color: var(--glx-brand-deep); }
.glx-product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.glx-product__sub { font-size: 1.125rem; color: var(--glx-brand-deep); font-weight: 500; margin: 16px 0 0; }
.glx-product__excerpt { font-size: 1.0625rem; color: var(--glx-ink-2); margin: 20px 0 0; }
.glx-product__buy { margin-top: 32px; padding: 24px; background: var(--glx-mist); border-radius: 24px; }
.glx-product__note { font-size: 14px; color: var(--glx-ink-2); margin-bottom: 18px; }

.glx-toc { position: sticky; top: calc(var(--glx-top) + var(--glx-header-h)); z-index: 40; background: var(--glx-paper); border-top: 1px solid var(--glx-line); border-bottom: 1px solid var(--glx-line); }
.glx-toc ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.glx-toc ul::-webkit-scrollbar { display: none; }
.glx-toc a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--glx-ink-2); }
.glx-toc a:hover, .glx-toc a.is-active { background: var(--glx-mist); color: var(--glx-ink); }

.glx-comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.glx-comp__col { background: var(--glx-white); border-radius: 24px; padding: clamp(20px, 3vw, 36px); }
.glx-comp__col p { margin: 0; color: var(--glx-ink-2); font-size: 15px; line-height: 1.75; }
.glx-note { background: var(--glx-mist); }
.glx-note .glx-h3 { display: flex; align-items: center; gap: 10px; }
.glx-note .glx-icon { color: var(--glx-brand-deep); }

/* ---------- Файлы ---------- */
.glx-files { border-top: 1px solid var(--glx-line); }
.glx-files__item { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--glx-line); }
.glx-files__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--glx-white); display: grid; place-items: center; color: var(--glx-brand-deep); }
.glx-section--tint .glx-files__icon { background: var(--glx-paper); }
.glx-files__name { flex: 1; font-weight: 500; }
.glx-files__name small { display: block; font-weight: 400; font-size: 13px; color: var(--glx-ink-3); margin-top: 2px; }

/* ---------- Где купить ---------- */
.glx-sellers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glx-seller { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--glx-white); border: 1px solid var(--glx-line); border-radius: 24px; height: 100%; transition: border-color .2s; }
a.glx-seller:hover { border-color: var(--glx-brand); }
.glx-seller__logo { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--glx-mist); display: grid; place-items: center; overflow: hidden; }
.glx-seller__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.glx-seller__initial { font-family: var(--glx-serif); font-size: 1.75rem; color: var(--glx-brand-deep); }
.glx-seller__text { flex: 1; min-width: 0; }
.glx-seller__name { display: block; font-weight: 600; line-height: 1.3; }
.glx-seller__type { display: block; font-size: 14px; color: var(--glx-ink-3); margin-top: 2px; }
.glx-seller__go { color: var(--glx-ink-3); }

/* ---------- Контакты ---------- */
.glx-contacts { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.glx-contacts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.glx-contacts__item { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; background: var(--glx-white); border-radius: 24px; padding: 22px; }
.glx-contacts__icon { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: var(--glx-mist); display: grid; place-items: center; color: var(--glx-brand-deep); }
.glx-contacts__label { font-size: 13px; color: var(--glx-ink-3); }
.glx-contacts__value { font-weight: 500; font-size: 1.0625rem; line-height: 1.4; overflow-wrap: anywhere; }
a.glx-contacts__value:hover { color: var(--glx-brand-deep); }
.glx-contacts__req { background: var(--glx-mist); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.glx-contacts__req dl { margin: 0; }
.glx-contacts__req dl div { padding: 12px 0; border-top: 1px solid var(--glx-line); }
.glx-contacts__req dt { font-size: 13px; color: var(--glx-ink-3); }
.glx-contacts__req dd { margin: 2px 0 0; font-weight: 500; }

/* ---------- Видео ---------- */
.glx-video { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--glx-ink); }
.glx-video iframe, .glx-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.glx-video__link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 600; }
.glx-video--empty { background: var(--glx-mist); }
.glx-video__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 16px; color: var(--glx-ink-2); }
.glx-video__placeholder .glx-icon { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: #fff; color: var(--glx-brand-deep); }
.glx-video__placeholder p { max-width: 40ch; margin: 0; }
.glx-video__steps-title { margin-top: clamp(40px, 6vw, 72px); }
.glx-video__links { margin-top: 48px; }

/* ---------- Список записей, 404 ---------- */
.glx-postlist li { padding: 24px 0; border-bottom: 1px solid var(--glx-line); }
.glx-postlist time { font-size: 14px; color: var(--glx-ink-3); }
.glx-postlist p { color: var(--glx-ink-2); margin: 0; }
.glx-404__code { font-family: var(--glx-serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--glx-brand); opacity: .35; margin: 0 0 8px; }
.glx-404 .glx-lead { margin: 20px 0 32px; }

/* ---------- Подвал ---------- */
.glx-footer { background: var(--glx-ink); color: rgba(255,255,255,.72); font-size: 15px; }
.glx-footer a:hover { color: #fff; }
.glx-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.glx-footer__logo { display: inline-flex; margin-bottom: 20px; }
.glx-footer__logo .glx-logo-img { height: 40px; }
.glx-footer__logo .glx-logo-img--invert { filter: brightness(0) invert(1); }
.glx-footer__logo .glx-logo-text { color: #fff; font-size: 34px; }
.glx-footer__brand p { max-width: 34ch; margin-bottom: 24px; }
.glx-footer__title { color: #fff; font-weight: 600; margin-bottom: 16px; }
.glx-footer__col li { padding: 5px 0; }
.glx-footer__contacts a, .glx-footer__line { display: flex; gap: 12px; align-items: flex-start; }
.glx-footer__contacts .glx-icon { margin-top: 2px; color: var(--glx-brand); }
.glx-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 32px; padding-top: 28px; padding-bottom: 36px; font-size: 13px; color: rgba(255,255,255,.55); }
.glx-footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--glx-gutter); right: var(--glx-gutter); height: 1px; background: rgba(255,255,255,.12); }
.glx-footer__legal p { margin: 0 0 6px; max-width: 80ch; }
.glx-footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; text-align: right; }
.glx-footer__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Окно заявки ---------- */
.glx-modal { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 32px; background: var(--glx-paper); color: var(--glx-ink); box-shadow: 0 40px 80px -40px rgba(31,36,64,.6); overflow: auto; overscroll-behavior: contain; }
.glx-modal::backdrop { background: rgba(31,36,64,.55); }
.glx-modal[open] { animation: glx-pop .22s ease-out; }
@keyframes glx-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.glx-modal__box { position: relative; padding: clamp(24px, 4vw, 48px); }
.glx-modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--glx-mist); display: grid; place-items: center; cursor: pointer; }
.glx-modal__close:hover { background: var(--glx-line); }
.glx-modal__title { font-family: var(--glx-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 500; line-height: 1.15; margin: 0 48px 12px 0; }
.glx-modal__text { color: var(--glx-ink-2); margin-bottom: 24px; max-width: 52ch; }
.glx-modal .glx-field input, .glx-modal .glx-field select, .glx-modal .glx-field textarea { background: #fff; }

/* ---------- Cookies ---------- */
.glx-cookies { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 440px; display: flex; gap: 16px; align-items: flex-end; padding: 18px 18px 18px 22px; background: #fff; border: 1px solid var(--glx-line); border-radius: 24px; box-shadow: 0 24px 48px -28px rgba(31,36,64,.45); font-size: 14px; line-height: 1.5; color: var(--glx-ink-2); }
.glx-cookies[hidden] { display: none; }
.glx-cookies p { margin: 0; }
.glx-cookies a { color: var(--glx-brand-deep); text-decoration: underline; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
	.glx-header__phone { display: none; }
	.glx-header__inner { gap: 20px; }
	.glx-nav__link { padding: 10px 9px; }
}

@media (max-width: 1080px) {
	.glx-nav { display: none; }
	.glx-burger { display: block; }
	.glx-header__actions { margin-left: auto; gap: 12px; }
	.glx-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.glx-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.glx-benefits li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.glx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.glx-cards--single { grid-template-columns: 1fr; }
	.glx-sellers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.glx-footer__top { grid-template-columns: 1fr 1fr; }
	.glx-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.glx-path__item:nth-child(2n)::after { display: none; }
	.glx-contacts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	:root { --glx-header-h: 64px; }
	.glx-hero__inner, .glx-split, .glx-twocol, .glx-howto, .glx-band__inner, .glx-leadsec__inner, .glx-product__top, .glx-wide, .glx-audience { grid-template-columns: 1fr; }
	.glx-hero__media .glx-arch { margin: 0 auto; max-width: 360px; }
	.glx-split__media .glx-arch { max-width: 340px; }
	.glx-audience .glx-h2 { position: static; }
	.glx-product__gallery { position: static; }
	.glx-product__main { margin: 0 auto; max-width: 420px; }
	.glx-product__thumbs { justify-content: center; }
	.glx-comp { grid-template-columns: 1fr; }
	.glx-logo-img { height: 28px; }
	.glx-logo-text { font-size: 26px; }
}

@media (max-width: 640px) {
	:root { --glx-gutter: 16px; }
	body.glx { font-size: 16px; }
	.glx-header__cta { display: none; }
	.glx-hero__lead { font-size: 1.0625rem; margin: 20px 0 28px; }
	.glx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
	.glx-facts dt { font-size: 1.5rem; }
	.glx-facts dd { font-size: 13px; }
	.glx-actions .glx-btn { flex: 1 1 100%; }
	.glx-grid4, .glx-benefits, .glx-cards, .glx-sellers, .glx-band__points, .glx-form__grid, .glx-contacts__list, .glx-path { grid-template-columns: 1fr; }
	.glx-benefits li { padding: 0 0 0 18px; border-left: 2px solid var(--glx-brand); }
	.glx-benefits li:nth-child(odd) { padding-left: 18px; border-left: 2px solid var(--glx-brand); }
	.glx-path__item::after { display: none; }
	.glx-audience__list li { grid-template-columns: 1fr; gap: 8px; }
	.glx-audience__age { font-size: 2.5rem; }
	.glx-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.glx-files__item { flex-wrap: wrap; }
	.glx-files__item .glx-btn { margin-left: 66px; }
	.glx-footer__top { grid-template-columns: 1fr; padding-top: 56px; }
	.glx-footer__bottom { flex-direction: column; }
	.glx-footer__meta { align-items: flex-start; text-align: left; }
	.glx-cookies { left: 8px; right: 8px; bottom: 8px; max-width: none; flex-direction: column; align-items: stretch; }
	.glx-wide { border-radius: 28px; }
	.glx-modal { border-radius: 24px; }
}

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