/*
Theme Name: Web-Spark*
Theme URI: https://web-spark.ru/
Author: Web-Spark
Author URI: https://web-spark.ru/
Description: Современная русскоязычная тема веб-студии: сайты, Telegram-боты, цифровые ассистенты, портфолио, SEO и защищённые заявки.
Version: 1.7.1
Update URI: https://web-spark.ru/web-spark-modern/
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: webspark
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--accent: #c8ff3d;
	--ink: #0b0d0c;
	--ink-soft: #141814;
	--paper: #f6f7f2;
	--paper-2: #eceee7;
	--white: #fff;
	--line: rgba(11, 13, 12, .14);
	--line-light: rgba(255, 255, 255, .15);
	--muted: #62675f;
	--radius: 20px;
	--shadow: 0 30px 90px rgba(0, 0, 0, .14);
	--container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: clamp(88px, 8.5vw, 132px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--white); }
.section-muted { background: var(--paper-2); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 1000; left: 20px; top: -100px; background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 20px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(52px, 6.2vw, 94px); font-weight: 680; }
h2 { font-size: clamp(42px, 5.2vw, 76px); font-weight: 650; }
h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 650; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--accent); }
.eyebrow--dark { color: #5e635b; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .55fr); align-items: end; gap: 64px; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 8px; color: var(--muted); font-size: 18px; }
.section-heading--light > p { color: rgba(255,255,255,.62); }

.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 58px;
	padding: 0 26px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent);
	color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: -.01em;
	transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.button span { font-size: 19px; }
.button:hover { transform: translateY(-3px); background: var(--white); border-color: var(--white); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.button--small { min-height: 46px; padding: 0 20px; font-size: 13px; }
.button--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button--dark:hover { background: #30352f; border-color: #30352f; }
.button--wide { width: 100%; border-radius: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.35); padding: 12px 0 8px; font-size: 15px; font-weight: 700; }
.text-link span { color: var(--accent); }

.site-header {
	position: fixed; z-index: 100; top: 0; left: 0; width: 100%; color: var(--white);
	background: linear-gradient(to bottom, rgba(11,13,12,.82), rgba(11,13,12,0));
	transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.is-scrolled { background: rgba(11,13,12,.91); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 44px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
body:not(.home) .site-header { background: rgba(11,13,12,.94); backdrop-filter: blur(18px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 82px; display: flex; align-items: center; gap: 38px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-brand__vector { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.site-brand__vector .site-brand__logo { width: 44px; height: 44px; }
.site-brand__wordmark > span { display: block; color: var(--white); font-family: Arial, sans-serif; font-size: 20px; font-weight: 900; line-height: 1.1; letter-spacing: .035em; }
.site-brand__wordmark i { margin-left: 4px; color: var(--accent); font-style: normal; }
.site-brand__wordmark small { display: block; margin-top: 5px; color: rgba(255,255,255,.74); font-size: 8px; font-weight: 500; line-height: 1; letter-spacing: .35em; }
.site-brand--footer .site-brand__wordmark > span { font-size: 25px; }
.site-brand--footer .site-brand__vector .site-brand__logo { width: 52px; height: 52px; }
.custom-logo-link { display: flex; }
.custom-logo { max-height: 48px; width: auto; }
.site-brand__art { position: relative; display: block; width: 220px; height: 48px; flex: 0 0 auto; overflow: hidden; }
.site-brand__art img { position: absolute; top: 0; left: 0; width: 126.2%; max-width: none; height: auto; transform: translate(-10.12%, -23.88%); mix-blend-mode: screen; }
.site-brand__logo { width: 38px; height: 38px; flex: 0 0 auto; overflow: visible; filter: drop-shadow(0 0 15px color-mix(in srgb, var(--accent) 20%, transparent)); }
.site-brand__tile { fill: var(--accent); }
.site-brand__letter { fill: var(--ink); }
.site-brand__flare { fill: none; stroke: var(--white); stroke-width: 2.1; stroke-linecap: round; }
.site-brand__name { display: inline-flex; align-items: center; font-size: 15px; font-weight: 900; letter-spacing: .055em; }
.site-brand__name i { margin-left: 4px; color: var(--accent); font-size: 20px; font-style: normal; font-weight: 900; line-height: .8; }
.site-nav { margin-left: auto; }
.site-nav__list, .site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 40px); list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--accent); transition: right .2s ease; }
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { right: 0; }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; width: 48px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; }
.menu-toggle i { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }
body.menu-open { overflow: hidden; }

.hero { position: relative; min-height: min(920px, 100svh); overflow: clip; padding: 138px 0 0; }
.hero__grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__glow { position: absolute; width: 800px; height: 800px; right: -160px; top: 0; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 65%); filter: blur(10px); opacity: .55; }
.hero__inner { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr); align-items: center; gap: 20px; }
.hero__copy { position: relative; z-index: 3; max-width: 770px; padding-bottom: 46px; }
.hero h1 { max-width: 770px; margin-bottom: 28px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.7); font-size: clamp(18px, 1.45vw, 21px); }
.hero__actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 46px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.64); font-size: 13px; }
.hero__trust i { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 7px; border-radius: 50%; background: rgba(200,255,61,.13); color: var(--accent); font-style: normal; }
.hero__visual { position: absolute; right: -17vw; top: -24px; width: min(76vw, 1120px); height: 680px; z-index: 0; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,13,12,.94) 10%, rgba(11,13,12,.1) 49%, rgba(11,13,12,.15) 100%), linear-gradient(to top, var(--ink), transparent 42%); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px 0 0 36px; opacity: .9; }
.hero__status, .hero__mini-card { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.14); background: rgba(12,16,13,.7); box-shadow: 0 20px 60px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.hero__status { right: 26%; top: 58px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.3; }
.hero__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(200,255,61,.1); }
.hero__status b { color: var(--white); }
.hero__mini-card { right: 14%; bottom: 78px; width: 220px; padding: 20px; border-radius: 18px; }
.hero__mini-card span { color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero__mini-card div { display: flex; gap: 5px; margin: 14px 0; }
.hero__mini-card i { flex: 1; height: 4px; border-radius: 9px; background: var(--accent); }
.hero__mini-card strong { font-size: 12px; }
.technology-line { position: relative; z-index: 2; min-height: 94px; border-top: 1px solid var(--line-light); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.technology-line i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }

.intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: 10vw; align-items: end; }
.intro h2 { margin-bottom: 0; }
.intro__text { padding-bottom: 4px; }
.intro__text p { margin-bottom: 20px; color: var(--muted); font-size: 18px; }

.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 470px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.42); overflow: hidden; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.service-card:hover { background: var(--white); transform: translateY(-6px); z-index: 2; box-shadow: var(--shadow); }
.service-card__number { display: block; margin-bottom: 62px; color: #7f857b; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 18px; font-size: 21px; font-weight: 700; }
.service-card__icon--label { font-size: 13px; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 18px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card ul { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; padding-left: 17px; color: #4e534c; font-size: 13px; }
.service-card li + li { margin-top: 7px; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--ink); }
.service-card--automation { background: var(--ink); color: var(--white); }
.service-card--automation:hover { background: #151a15; box-shadow: 0 28px 70px rgba(11,13,12,.22); }
.service-card--automation .service-card__number { color: var(--accent); }
.service-card--automation .service-card__icon { border-color: rgba(255,255,255,.18); color: var(--accent); }
.service-card--automation h3 { color: var(--white); }
.service-card--automation p { color: rgba(255,255,255,.62); }
.service-card--automation ul { border-color: rgba(255,255,255,.14); }
.service-card--automation li { color: rgba(255,255,255,.75); }
.service-card--automation li::before { box-shadow: none; }
.service-card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; font-weight: 800; }
.service-card--automation .service-card__more { color: var(--accent); }
.service-card--accent { background: var(--accent); }
.service-card--accent:hover { background: var(--accent); }
.service-card--accent p { color: rgba(11,13,12,.72); }
.service-card--accent a { position: absolute; bottom: 40px; left: 32px; right: 32px; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(11,13,12,.25); font-size: 14px; font-weight: 800; }

.portfolio { overflow: hidden; }
.portfolio__orb { position: absolute; top: 20%; left: -260px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(200,255,61,.12); box-shadow: 0 0 160px rgba(200,255,61,.07); }
.portfolio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card { position: relative; }
.project-card__image { position: relative; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: #191d19; aspect-ratio: 1.28; }
.project-card--wide .project-card__image { aspect-ratio: 1.52; }
.project-card--full { grid-column: 1 / -1; }
.project-card--full .project-card__image { aspect-ratio: 2 / 1; }
.project-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.36), transparent 36%); pointer-events: none; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.project-card__image--focus-left img { object-position: 28% center; }
.project-card--full .project-card__image img { object-position: center 18%; }
.project-card:hover img { transform: scale(1.035); filter: saturate(1.08); }
.project-card__meta { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 24px 4px 42px; }
.project-card__meta > div:first-child { max-width: 660px; }
.project-card__meta span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.46); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.project-card__meta h3 { margin-bottom: 0; font-size: 30px; }
.project-card__meta p { max-width: 610px; margin: 13px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.project-card__meta b { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.56); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.project-card__actions { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 12px; }
.project-card__actions a { color: var(--white); font-size: 13px; font-weight: 800; }
.project-card__actions a span { display: inline; margin: 0 0 0 4px; color: var(--accent); font-size: inherit; letter-spacing: normal; }
.portfolio__concept-heading { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 8vw; align-items: end; margin: 52px 0 38px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.13); }
.portfolio__concept-heading h3 { max-width: 780px; margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: .98; letter-spacing: -.04em; }
.portfolio__concept-heading > p { max-width: 520px; margin: 0 0 8px; color: rgba(255,255,255,.56); line-height: 1.75; }
.portfolio__grid--concepts { gap: 24px 28px; }
.project-card--concept .project-card__image { background: #151815; }
.project-card--concept .project-card__image img { filter: saturate(.9) contrast(1.02); }
.project-card--concept:hover .project-card__image img { filter: saturate(1.05) contrast(1.02); }
.project-card--concept .project-card__meta { padding-bottom: 30px; }
.project-card--concept .project-card__meta h3 { font-size: 27px; }
.portfolio__note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 34px 38px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.portfolio__note span { color: rgba(255,255,255,.5); }
.portfolio__note a { font-weight: 800; }
.portfolio__note a span { color: var(--accent); }

.process__layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 10vw; align-items: start; }
.process__sticky { position: sticky; top: 140px; }
.process__sticky h2 { margin-bottom: 28px; }
.process__sticky > p:not(.eyebrow) { max-width: 500px; margin-bottom: 38px; color: var(--muted); }
.process__steps { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.process__steps li { display: grid; grid-template-columns: 68px 1fr; gap: 30px; padding: 42px 0; border-top: 1px solid var(--line); }
.process__steps li:last-child { border-bottom: 1px solid var(--line); }
.process__steps > li > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 11px; font-weight: 900; }
.process__steps h3 { margin-bottom: 13px; font-size: 29px; }
.process__steps p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.seo-section__hero { position: relative; display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 80px; padding: clamp(42px, 6vw, 80px); border-radius: 32px; background: var(--ink); color: var(--white); overflow: hidden; }
.seo-section__hero::before { content: ""; position: absolute; right: -10%; bottom: -50%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,61,.18), transparent 65%); }
.seo-section__hero h2 { max-width: 800px; margin-bottom: 26px; }
.seo-section__hero p:not(.eyebrow) { max-width: 730px; margin-bottom: 0; color: rgba(255,255,255,.6); }
.seo-score { position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; }
.seo-score > div { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--accent) 0 94%, rgba(255,255,255,.12) 94% 100%); }
.seo-score > div::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); }
.seo-score span { position: relative; z-index: 1; color: var(--accent); font-size: 23px; font-weight: 900; }
.seo-score strong { font-size: 13px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.seo-features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.35); overflow: hidden; }
.seo-features > div { min-height: 290px; padding: 32px; border-right: 1px solid var(--line); }
.seo-features > div:last-child { border-right: 0; }
.seo-features span { display: block; margin-bottom: 68px; color: #848a80; font-size: 11px; font-weight: 800; }
.seo-features h3 { margin-bottom: 14px; font-size: 22px; }
.seo-features p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle-card { display: flex; flex-direction: column; min-height: 390px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 40px rgba(25,30,23,.04); }
.principle-card > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 11px; font-weight: 900; }
.principle-card h3 { margin: 72px 0 20px; font-size: 28px; }
.principle-card p { margin-bottom: 34px; color: var(--muted); font-size: 15px; }
.principle-card strong { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.principle-card:nth-child(2) { border-color: var(--ink); background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.principle-card:nth-child(2) > span { border-color: rgba(255,255,255,.18); color: var(--accent); }
.principle-card:nth-child(2) p { color: rgba(255,255,255,.58); }
.principle-card:nth-child(2) strong { border-color: rgba(255,255,255,.14); color: var(--accent); }

.faq__layout { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); gap: 10vw; align-items: start; }
.faq__layout > div:first-child { position: sticky; top: 140px; }
.faq__layout > div:first-child > p:last-child { max-width: 420px; color: var(--muted); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; padding: 28px 0; border: 0; background: transparent; text-align: left; font-size: 19px; font-weight: 720; }
.faq-item button i { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .25s ease, background .25s ease; }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-item__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-item__answer > p { min-height: 0; overflow: hidden; margin: 0; color: var(--muted); font-size: 15px; }
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__answer > p { padding: 0 58px 28px 0; }

.contact { overflow: hidden; }
.contact__noise { position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(circle at 20% 30%, rgba(200,255,61,.22), transparent 24%), radial-gradient(circle at 80% 80%, rgba(200,255,61,.12), transparent 30%); }
.contact__layout { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, .75fr); gap: 9vw; align-items: start; }
.contact__copy h2 { margin-bottom: 28px; }
.contact__copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.62); font-size: 18px; }
.contact__direct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 58px; }
.contact__direct a { padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.035); transition: background .2s ease, border .2s ease; }
.contact__direct a:hover { background: rgba(255,255,255,.08); border-color: rgba(200,255,61,.45); }
.contact__direct small, .contact__direct strong { display: block; }
.contact__direct small { margin-bottom: 5px; color: rgba(255,255,255,.42); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact__direct strong { font-size: 14px; }
.lead-form { position: relative; padding: 40px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.055); box-shadow: 0 30px 90px rgba(0,0,0,.25); backdrop-filter: blur(15px); }
.lead-form label { display: block; margin-bottom: 20px; }
.lead-form label > span:first-child { display: block; margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; outline: 0; background: rgba(0,0,0,.2); color: var(--white); transition: border-color .2s ease, background .2s ease; }
.lead-form input, .lead-form select { height: 54px; padding: 0 16px; }
.lead-form textarea { resize: vertical; padding: 14px 16px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.3); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); background: rgba(0,0,0,.35); }
.lead-form select option { color: var(--ink); }
.lead-form .checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 20px 0 24px; }
.lead-form .checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.lead-form .checkbox span { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.lead-form .checkbox a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 13px; text-align: center; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #ff8a8a; }
.lead-verification { padding: 20px; border: 1px solid rgba(200,255,61,.28); border-radius: 16px; background: rgba(200,255,61,.035); }
.lead-verification__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.lead-verification__heading strong { color: var(--white); font-size: 14px; }
.lead-verification__heading button { padding: 2px 0; border: 0; background: transparent; color: var(--accent); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.lead-verification label { margin: 0; }
.lead-verification p { margin: 10px 0 0; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.5; }
.lead-verification [hidden] { display: none !important; }
.lead-verification input { max-width: 200px; }

.site-footer { padding: 76px 0 30px; background: #050605; color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr .55fr .9fr; gap: 8vw; padding-bottom: 64px; }
.site-brand--footer { margin-bottom: 24px; }
.site-brand--footer .site-brand__art { width: 286px; height: 62px; }
.site-brand--footer .site-brand__logo { width: 48px; height: 48px; }
.site-brand__footer-caption { color: var(--white); font-size: 17px; font-weight: 850; letter-spacing: .025em; }
.site-footer__top p { color: rgba(255,255,255,.45); }
.site-footer__nav, .site-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer__nav strong, .site-footer__contacts strong { margin-bottom: 15px; color: rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.site-footer__nav a, .site-footer__contacts a, .site-footer__contacts span { color: rgba(255,255,255,.72); font-size: 14px; }
.site-footer__nav a:hover, .site-footer__contacts a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom p, .site-footer__bottom a { margin: 0; color: rgba(255,255,255,.35); font-size: 10px; }
.site-footer__bottom > div { display: flex; gap: 20px; }
.site-footer__bottom a:hover { color: var(--white); }
.form-legal-note { margin: 2px 0 -2px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.5; }
.form-legal-note a { color: var(--white); text-underline-offset: 3px; }
.cookie-note { position: fixed; z-index: 300; right: 20px; bottom: 20px; width: min(560px, calc(100% - 40px)); padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(11,13,12,.97); box-shadow: 0 24px 80px rgba(0,0,0,.46); color: var(--white); backdrop-filter: blur(16px); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.55; }
.cookie-note p strong, .cookie-note a { color: var(--white); }
.cookie-note__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.button--ghost { border-color: rgba(255,255,255,.22); background: transparent; color: var(--white); }
.footer-cookie-settings { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.35); font: inherit; font-size: 10px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie-settings:hover { color: var(--white); }
#clearfy-cookie { display: none !important; }

/* Стандартные страницы WordPress */
.page-shell { min-height: 70vh; padding: 154px 0 110px; background: radial-gradient(circle at 86% 6%, rgba(200,255,61,.14), transparent 26%), var(--paper); }
.page-shell__header { max-width: 980px; margin-bottom: 46px; }
.page-shell__header h1 { max-width: 940px; margin-bottom: 0; font-size: clamp(44px, 5.2vw, 72px); }
.entry-content { max-width: 940px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: 0 24px 80px rgba(20,26,18,.07); }
.entry-content > p:first-child { margin-bottom: 32px; padding: 13px 16px; border-left: 3px solid var(--accent); background: var(--paper-2); color: #333830; }
.entry-content h2 { margin: 2.1em 0 .75em; padding-top: .15em; font-size: clamp(27px, 3vw, 35px); letter-spacing: -.035em; }
.entry-content h3 { margin-top: 1.7em; }
.entry-content p, .entry-content li { color: #41473f; font-size: 16.5px; line-height: 1.75; }
.entry-content p { margin-bottom: 1.15em; }
.entry-content code { padding: 2px 6px; border-radius: 5px; background: var(--paper-2); font-size: .92em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entry-content .button { text-decoration: none; }
.entry-content .detail-lead { padding: 0; border: 0; background: transparent; color: var(--ink); font-size: clamp(21px, 2.6vw, 30px); font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.case-preview { margin: 30px 0 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.case-preview img { width: 100%; height: auto; }
.page-shell__back { display: inline-block; margin-bottom: 26px; color: #5e635b; font-size: 13px; text-underline-offset: 3px; }
.not-found { text-align: center; }
.not-found .button { margin-top: 20px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
	.site-header__inner { gap: 24px; }
	.header-cta { display: none; }
	.hero__inner { grid-template-columns: minmax(0, 1fr) 340px; }
	.hero__visual { right: -28vw; width: 95vw; }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.seo-features { grid-template-columns: 1fr 1fr; }
	.seo-features > div:nth-child(2) { border-right: 0; }
	.seo-features > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.contact__layout { grid-template-columns: 1fr 480px; gap: 5vw; }
}

@media (max-width: 860px) {
	.container { width: min(calc(100% - 32px), var(--container)); }
	.site-header__inner { min-height: 72px; }
	.site-header .site-brand__art { width: 180px; height: 39px; }
	.menu-toggle { position: relative; z-index: 103; display: block; margin-left: auto; color: var(--white); cursor: pointer; touch-action: manipulation; }
	.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
	.site-nav { position: fixed; z-index: 102; inset: 72px 0 auto; display: grid; grid-template-rows: 0fr; margin: 0; background: rgba(11,13,12,.98); box-shadow: 0 24px 50px rgba(0,0,0,.28); visibility: hidden; opacity: 0; pointer-events: none; transition: grid-template-rows .28s ease, opacity .2s ease, visibility 0s linear .28s; }
	.admin-bar .site-nav { top: 104px; }
	.site-nav > ul { min-height: 0; overflow: hidden; }
	.site-nav.is-open, .menu-toggle[aria-expanded="true"] + .site-nav { grid-template-rows: 1fr; visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
	.site-nav__list, .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; padding: 0 24px; }
	.site-nav.is-open > ul { padding-bottom: 28px; }
	.site-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
	.site-nav a { display: block; padding: 16px 0; font-size: 18px; }
	.hero { min-height: auto; padding-top: 130px; }
	.hero__inner { display: block; min-height: 800px; }
	.hero__copy { width: 90%; }
	.hero h1 { font-size: clamp(52px, 11vw, 82px); }
	.hero__visual { top: 380px; right: -20%; width: 115%; height: 520px; opacity: .75; }
	.hero__visual::after { background: linear-gradient(to bottom, var(--ink) 0%, transparent 24%, transparent 65%, var(--ink) 100%); }
	.hero__status { right: 28%; top: 70px; }
	.hero__mini-card { right: 18%; bottom: 50px; }
	.technology-line { overflow-x: auto; justify-content: flex-start; }
	.technology-line span { flex: 0 0 auto; }
	.section-heading, .intro__grid, .process__layout, .faq__layout { grid-template-columns: 1fr; gap: 42px; }
	.section-heading { align-items: start; }
	.intro__text { max-width: 680px; }
	.portfolio__grid { grid-template-columns: 1fr; }
	.portfolio__concept-heading { grid-template-columns: 1fr; gap: 24px; }
	.project-card--full { grid-column: auto; }
	.project-card__image, .project-card--wide .project-card__image, .project-card--full .project-card__image { aspect-ratio: 1.45; }
	.process__sticky, .faq__layout > div:first-child { position: static; }
	.seo-section__hero { grid-template-columns: 1fr; gap: 40px; }
	.principles__grid { grid-template-columns: 1fr; }
	.principle-card { min-height: 330px; }
	.contact__layout { grid-template-columns: 1fr; }
	.contact__copy { max-width: 720px; }
	.site-footer__top { grid-template-columns: 1.2fr .7fr; }
	.site-footer__contacts { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: 118px; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.site-header .site-brand__art { width: 170px; height: 37px; }
	.section { padding: 80px 0; }
	.eyebrow { margin-bottom: 20px; }
	h2 { font-size: 41px; }
	.hero { padding-top: 112px; }
	.hero__inner { min-height: 800px; }
	.hero__copy { width: 100%; }
	.hero h1 { font-size: 50px; }
	.hero__lead { font-size: 17px; }
	.hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
	.hero__trust { display: none; }
	.hero__visual { top: 420px; right: -38%; width: 145%; height: 440px; }
	.hero__status { display: none; }
	.hero__mini-card { right: 27%; bottom: 35px; }
	.technology-line { min-height: 80px; }
	.section-heading { margin-bottom: 42px; }
	.services__grid { grid-template-columns: 1fr; }
	.service-card { min-height: 430px; padding: 28px; }
	.service-card__number { margin-bottom: 44px; }
	.project-card__image, .project-card--wide .project-card__image, .project-card--full .project-card__image { aspect-ratio: 1.36; }
	.project-card__meta { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 34px; }
	.project-card__meta h3 { font-size: 25px; }
	.project-card__actions { align-items: flex-start; margin-top: 5px; }
	.portfolio__concept-heading { margin-top: 30px; padding-top: 44px; }
	.portfolio__concept-heading h3 { font-size: 38px; }
	.portfolio__note { align-items: flex-start; flex-direction: column; padding: 26px; }
	.process__steps li { grid-template-columns: 50px 1fr; gap: 18px; padding: 30px 0; }
	.process__steps > li > span { width: 42px; height: 42px; }
	.process__steps h3 { font-size: 24px; }
	.seo-section__hero { padding: 30px 24px; border-radius: 22px; }
	.seo-score > div { width: 105px; height: 105px; }
	.seo-features { grid-template-columns: 1fr; }
	.seo-features > div { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
	.seo-features > div:last-child { border-bottom: 0; }
	.seo-features span { margin-bottom: 42px; }
	.principle-card { padding: 28px; }
	.principle-card h3 { margin-top: 52px; font-size: 25px; }
	.faq-item button { font-size: 17px; }
	.contact__direct, .form-row { grid-template-columns: 1fr; }
	.lead-form { padding: 26px 20px; border-radius: 22px; }
	.cookie-note { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px; border-radius: 16px; }
	.cookie-note p { font-size: 12px; }
	.cookie-note__actions { margin-top: 11px; }
	.cookie-note .button { min-height: 44px; }
	.cookie-note__actions { display: grid; }
	.cookie-note .button { width: 100%; }
	.site-footer__top { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__contacts { grid-column: auto; }
	.site-footer__bottom > div { align-items: flex-start; flex-direction: column; gap: 8px; }
	.page-shell { padding: 122px 0 78px; }
	.page-shell__header { margin-bottom: 30px; }
	.entry-content { padding: 26px 20px; border-radius: 20px; }
	.entry-content p, .entry-content li { font-size: 15.5px; }
}

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