/* ==========================================================================
   ФРИЛАЙН — студия веб-разработки
   Main stylesheet
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyr.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-lat.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyr.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-lat.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f3ee;
  --paper-2: #ecebe4;
  --surface: #ffffff;
  --ink: #0b0e13;
  --ink-2: #11151d;
  --ink-3: #191e28;
  --text: #1b2029;
  --muted: #5f6674;
  --muted-dark: #a7adba;
  --line: #dedcd4;
  --line-soft: #e9e7e0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #c9f24b;
  --accent-2: #a8d92e;
  --accent-ink: #101408;
  --violet: #7a5af8;
  --cyan: #55dfcf;
  --danger: #d64545;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -30px rgba(11, 14, 19, 0.28);
  --shadow-soft: 0 12px 32px -18px rgba(11, 14, 19, 0.22);
  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - (var(--gutter) * 2), 860px);
}
.section {
  padding-block: clamp(64px, 9vw, 128px);
  position: relative;
}
.section--paper {
  background: var(--paper);
}
.section--surface {
  background: var(--surface);
}
.section--dark {
  background: var(--ink);
  color: #eef0f3;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(201, 242, 75, 0.22);
  flex: none;
}
.eyebrow--light {
  color: var(--muted-dark);
}
.eyebrow--light .eyebrow__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 242, 75, 0.16);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-label--light {
  color: var(--muted-dark);
}
.text-accent {
  color: var(--accent-2);
}
.text-muted {
  color: var(--muted);
}
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--accent);
  z-index: -1;
  border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s,
    color 0.25s, border-color 0.25s, box-shadow 0.25s;
  text-align: center;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0);
}
.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  box-shadow: 0 10px 30px -12px rgba(201, 242, 75, 0.55);
}
.btn--accent:hover {
  --btn-bg: #d7fb67;
}
.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.btn--dark:hover {
  --btn-bg: var(--ink-3);
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(11, 14, 19, 0.22);
}
.btn--ghost:hover {
  --btn-bd: var(--ink);
  --btn-bg: rgba(11, 14, 19, 0.04);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.24);
}
.btn--ghost-light:hover {
  --btn-bd: rgba(255, 255, 255, 0.66);
  --btn-bg: rgba(255, 255, 255, 0.06);
}
.btn--sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}
.btn--lg {
  min-height: 56px;
  padding: 15px 30px;
  font-size: 16px;
}
.btn--wide {
  width: 100%;
}
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.25s var(--ease);
}
.link-arrow::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  border-color: currentColor;
}
.link-arrow:hover::after {
  transform: translateX(3px);
}
.link-arrow--light {
  color: #fff;
}
.price-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.price-tag--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(9, 11, 16, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex: none;
  min-width: 0;
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}
.custom-logo-link img {
  max-height: 44px;
  width: auto;
}
.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a,
.nav__list .current-menu-parent > a,
.nav__list .current_page_parent > a {
  color: #fff;
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after,
.nav__list .current-menu-parent > a::after,
.nav__list .current-page-ancestor > a::after,
.nav__list .current-page-parent > a::after,
.nav__list .current_page_parent > a::after {
  right: 0;
}
body.post-type-archive-portfolio .nav__list .current_page_parent > a {
  color: rgba(255, 255, 255, 0.74);
}
body.post-type-archive-portfolio .nav__list .current_page_parent > a::after {
  right: 100%;
}
body.single-portfolio .nav__list .current_page_parent > a {
  color: rgba(255, 255, 255, 0.74);
}
body.single-portfolio .nav__list .current_page_parent > a::after {
  right: 100%;
}
body.single-portfolio .nav__list a[href*="/portfolio/"] {
  color: #fff;
}
body.single-portfolio .nav__list a[href*="/portfolio/"]::after {
  right: 0;
}
.nav__list .menu-item-has-children > a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
  vertical-align: 2px;
  opacity: 0.65;
}
.nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  min-width: 230px;
  padding: 10px;
  border-radius: 14px;
  background: #0b0e13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}
.nav__list li {
  position: relative;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
  display: block;
}
.nav__list .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.nav__list .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav__list .sub-menu a::after {
  display: none;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}
.header__phone svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.header__phone:hover {
  color: var(--accent);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #f4f5f7;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(122, 90, 248, 0.28), transparent 62%),
    radial-gradient(720px 420px at 18% 82%, rgba(85, 223, 207, 0.14), transparent 60%),
    radial-gradient(560px 360px at 52% 0%, rgba(201, 242, 75, 0.08), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.55;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero__copy {
  max-width: 660px;
}
.hero__title {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw, 4.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero__title .text-accent {
  color: var(--accent);
}
.hero__lead {
  margin-top: 26px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}
.hero__lead strong {
  color: #fff;
  font-weight: 700;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
}
.hero__list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup {
  position: relative;
  width: min(100%, 500px);
  border-radius: 18px;
  background: #f7f7f4;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(2deg);
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.hero__visual:hover .mockup {
  transform: rotate(0deg) translateY(-6px);
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #e9e9e3;
  border-bottom: 1px solid #dcdcd5;
}
.mockup__bar > span:not(.mockup__url) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8c8c0;
}
.mockup__bar > span:first-child {
  background: #f28b82;
}
.mockup__bar > span:nth-child(2) {
  background: #f5c451;
}
.mockup__bar > span:nth-child(3) {
  background: #7fce8a;
}
.mockup__url {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f7f7f4;
  color: #777;
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.mockup__screen {
  padding: 14px;
  background: #fbfbf8;
}
.mockup__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 14px;
}
.mockup__nav i {
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: #d9d9d2;
}
.mockup__nav i:first-child {
  width: 34px;
  height: 12px;
  border-radius: 4px;
  background: #191e28;
  margin-right: auto;
}
.mockup__nav i:last-child {
  width: 42px;
  height: 14px;
  border-radius: 999px;
  background: #c9f24b;
}
.mockup__hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #10141b;
  min-height: 156px;
  overflow: hidden;
}
.mockup__lines {
  padding: 8px 2px;
}
.mockup__lines span {
  display: block;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 7px;
}
.mockup__lines .l--1 {
  width: 92%;
  height: 15px;
  background: #fff;
}
.mockup__lines .l--2 {
  width: 70%;
  height: 15px;
  background: #c9f24b;
}
.mockup__lines .l--3 {
  width: 86%;
  margin-top: 12px;
  height: 4px;
}
.mockup__lines .l--4 {
  width: 68%;
  height: 4px;
}
.mockup__btn {
  display: inline-block;
  width: 66px;
  height: 17px;
  border-radius: 999px;
  background: #c9f24b;
  margin-top: 10px;
}
.mockup__art {
  position: relative;
  border-radius: 8px;
  background: linear-gradient(140deg, #7a5af8, #55dfcf);
  overflow: hidden;
}
.mockup__orb {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, #fff7, transparent 45%),
    linear-gradient(160deg, #d8ff7a, #7a5af8 70%);
  filter: blur(0.5px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
}
.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.mockup__cards span {
  display: block;
  height: 44px;
  border-radius: 8px;
  background: #edede6;
  border: 1px solid #e2e2da;
}
.mockup__cards span:nth-child(2) {
  background: #f4f9df;
  border-color: #e3edc0;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 24, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  animation: floaty 6s ease-in-out infinite;
}
.float-card small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.float-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(201, 242, 75, 0.12);
  color: var(--accent);
  flex: none;
}
.float-card__icon svg {
  width: 18px;
  height: 18px;
}
.float-card--wp {
  top: 6%;
  left: -2%;
}
.float-card--seo {
  bottom: 7%;
  right: -1%;
  animation-delay: -3s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 7vw, 76px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat__num em {
  font-style: normal;
  color: var(--accent);
}
.stat__label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 13px 0;
  animation: marquee 34s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  font-size: 14px;
  line-height: 1;
  opacity: 0.5;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 24px 60px;
}
.section-title {
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.section-sub {
  max-width: 480px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.section-head--center {
  align-items: center;
  text-align: center;
}
.section-head--center .section-sub {
  margin-inline: auto;
}
.section-head--center .section-head__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.section--dark .section-sub {
  color: var(--muted-dark);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 242, 75, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  flex: none;
}
.service-card__icon svg {
  width: 23px;
  height: 23px;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: #b8b6ae;
  letter-spacing: 0.04em;
}
.service-card__title {
  font-size: 1.22rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.service-card__title a {
  transition: color 0.2s;
}
.service-card__bottom .link-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-card__text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.service-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}
.service-card__bottom .link-arrow {
  font-size: 13px;
  color: var(--muted);
}
.service-card--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.service-card--accent .service-card__icon {
  background: var(--accent);
  color: var(--accent-ink);
}
.service-card--accent .service-card__title {
  color: #fff;
}
.service-card--accent .service-card__text {
  color: rgba(255, 255, 255, 0.6);
}
.service-card--accent .service-card__num {
  color: rgba(255, 255, 255, 0.32);
}
.service-card--accent .service-card__bottom .link-arrow {
  color: var(--accent);
}
.service-card--accent .price-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.service-card--accent::before {
  background: radial-gradient(circle, rgba(122, 90, 248, 0.4), transparent 65%);
}

/* ---------- Advantages ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}
.split__aside .section-title {
  margin-top: 20px;
  color: #fff;
}
.split__aside p {
  margin-top: 20px;
  max-width: 400px;
  color: var(--muted-dark);
  font-size: 15.5px;
}
.split__aside .btn {
  margin-top: 28px;
}
.adv-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.adv {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}
.adv__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.adv h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}
.adv p {
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 560px;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.step h3 {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.steps-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(201, 242, 75, 0.16);
  border: 1px solid rgba(168, 217, 46, 0.32);
  color: #3c4a12;
  font-size: 14px;
  line-height: 1.55;
}
.steps-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.project-card__media {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 3.1;
  border: 1px solid var(--line-soft);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}
.project-card__view {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.project-card:hover .project-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.project-card:hover .project-card__media::after {
  opacity: 1;
}
.project-card:hover .project-card__view {
  transform: none;
  opacity: 1;
}
.project-card__body {
  padding: 18px 4px 0;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-card__tags span {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.project-card__body h3 {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.project-card__body h3 a {
  transition: color 0.2s;
}
.project-card__body h3 a:hover {
  color: var(--violet);
}
.project-card__body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-bar button {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-bar button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-bar button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.project-card.is-hidden {
  display: none;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.price-card--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.price-card--accent::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 242, 75, 0.2), transparent 65%);
  pointer-events: none;
}
.price-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card--accent .price-card__label {
  color: rgba(255, 255, 255, 0.5);
}
.price-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.price-card__price {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.price-card--accent .price-card__price {
  color: #fff;
}
.price-card__price small {
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: 0.6em;
  margin-left: 4px;
  color: var(--muted);
}
.price-card--accent .price-card__price small {
  color: rgba(255, 255, 255, 0.55);
}
.price-card__desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 460px;
}
.price-card--accent .price-card__desc {
  color: rgba(255, 255, 255, 0.6);
}
.check-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.price-card--accent .check-list {
  border-top-color: var(--line-dark);
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.price-card--accent .check-list li {
  color: rgba(255, 255, 255, 0.76);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101408' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.price-card .check-list {
  flex: 1;
}
.price-card .btn {
  margin-top: 30px;
  align-self: flex-start;
}
.pricing-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 780px;
}
.pricing-note strong {
  color: var(--ink);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  isolation: isolate;
}
.about__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 320px at 70% 22%, rgba(122, 90, 248, 0.45), transparent 65%),
    radial-gradient(340px 260px at 20% 85%, rgba(85, 223, 207, 0.25), transparent 65%);
  z-index: -1;
}
.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.6;
  z-index: -1;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
}
.about__monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  user-select: none;
}
.about__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}
.about__tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about__copy .section-title {
  margin-top: 18px;
}
.about__copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.about__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about__points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.about__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.about__sign-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  flex: none;
}
.about__sign strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.about__sign span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.faq__aside .section-title {
  margin-top: 18px;
}
.faq__aside p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 360px;
}
.faq__aside .link-arrow {
  margin-top: 22px;
}
.faq__list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: border-color 0.25s;
}
.faq-item[open] {
  border-color: var(--ink);
}
.faq-item summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101408' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--accent);
}
.faq-item__body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-item__body p + p {
  margin-top: 10px;
}

/* ---------- CTA + form ---------- */
.cta {
  position: relative;
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 460px at 82% 12%, rgba(122, 90, 248, 0.35), transparent 62%),
    radial-gradient(600px 420px at 10% 92%, rgba(201, 242, 75, 0.12), transparent 60%);
  pointer-events: none;
}
.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.cta__copy h2 {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
}
.cta__copy p {
  margin-top: 20px;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.6;
}
.cta__contacts {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.cta-contact__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.cta-contact__icon svg {
  width: 18px;
  height: 18px;
}
.cta-contact small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.cta-contact strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.cta-contact:hover strong {
  color: var(--accent);
}
.lead-form {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.lead-form__head {
  margin-bottom: 22px;
}
.lead-form__head h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.lead-form__head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.field label .req {
  color: var(--violet);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbf8;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.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='%235f6674' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 242, 75, 0.35);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9a9faa;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--ink);
  flex: none;
}
.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lead-form .btn {
  margin-top: 16px;
}
.form-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #9298a4;
  text-align: center;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}
.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.form-alert--ok {
  background: rgba(201, 242, 75, 0.2);
  border: 1px solid rgba(168, 217, 46, 0.45);
  color: #3c4a12;
}
.form-alert--error {
  background: rgba(214, 69, 69, 0.08);
  border: 1px solid rgba(214, 69, 69, 0.3);
  color: #a22e2e;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #080a0e;
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: 36px;
  padding-bottom: 48px;
}
.footer__brand .brand {
  margin-bottom: 16px;
}
.footer__brand p {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.48);
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.footer__col ul {
  display: grid;
  gap: 9px;
}
.footer__col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--accent);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer__bottom a:hover {
  color: var(--accent);
}
.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background-color 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--violet);
}
.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Mobile menu extras ---------- */
.nav__mobile-cta {
  display: none;
}
.nav__mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}
.nav__mobile-phone svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

/* ---------- Anchor offset ---------- */
#zayavka,
#services,
#portfolio,
#process,
#pricing,
#about,
#faq,
#journal {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- Project placeholder ---------- */
.project-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: radial-gradient(circle at 30% 20%, rgba(122, 90, 248, 0.45), transparent 60%),
    linear-gradient(140deg, #10141b, #1b2230);
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
}

/* ---------- Contacts ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contacts-info h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.contacts-info > p {
  margin-top: 10px;
  max-width: 440px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
a.contact-item:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: none;
}
.contact-item__icon svg {
  width: 19px;
  height: 19px;
}
.contact-item__body {
  min-width: 0;
}
.contact-item__body small {
  display: block;
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item__body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contacts-legal {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.contacts-legal strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.contacts-legal p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.contacts-legal .btn {
  margin-top: 14px;
}
.contacts-form {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.contacts-form .lead-form {
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}

/* ---------- Article sidebar links ---------- */
.aside-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.aside-links a {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.aside-links a:hover {
  color: var(--violet);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(48px, 7vw, 84px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 420px at 82% 8%, rgba(122, 90, 248, 0.3), transparent 62%),
    radial-gradient(560px 360px at 8% 100%, rgba(85, 223, 207, 0.12), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
  opacity: 0.6;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs span {
  color: rgba(255, 255, 255, 0.28);
}
.breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.8);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-top: 18px;
}
.page-hero__lead {
  margin-top: 20px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.page-hero__meta span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 600;
}
.page-hero__card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-hero__card h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}
.page-hero__card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.55;
}
.page-hero__card .btn {
  margin-top: 18px;
}
.page-hero__card-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.page-hero__card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}
.page-hero__card-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex: none;
}
.page-hero--simple {
  padding-bottom: clamp(36px, 5vw, 56px);
}
.page-hero--simple .page-hero__grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

/* ---------- Prose ---------- */
.prose {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  max-width: 760px;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.prose h4 {
  margin-top: 1.5em;
  font-size: 1.1rem;
}
.prose p {
  color: #3a404b;
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.prose a:hover {
  color: var(--violet);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.prose ul,
.prose ol {
  padding-left: 0;
  display: grid;
  gap: 9px;
}
.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 30px;
  color: #3a404b;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.prose ol {
  counter-reset: li;
}
.prose ol li {
  counter-increment: li;
  padding-left: 38px;
}
.prose ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
  background: rgba(122, 90, 248, 0.1);
  border-radius: 6px;
  padding: 3px 6px;
  line-height: 1.3;
}
.prose blockquote {
  margin-top: 1.6em;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  border-radius: 0 14px 14px 0;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--ink);
}
.prose blockquote p {
  color: var(--ink);
}
.prose img {
  border-radius: 14px;
  margin-block: 1.6em;
  border: 1px solid var(--line-soft);
}
.prose figure {
  margin-block: 1.6em;
}
.prose figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  font-size: 0.9em;
  color: #4b3d8f;
}
.prose pre {
  padding: 18px;
  overflow: auto;
  border-radius: 12px;
  background: var(--ink);
  color: #e8eaf0;
  font-size: 13px;
  line-height: 1.6;
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin-block: 2em;
}

/* ---------- Service single ---------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.service-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 16px;
}
.aside-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.aside-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.aside-card__price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}
.aside-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.aside-card__meta span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.aside-card hr {
  border: 0;
  height: 1px;
  background: var(--line-soft);
  margin: 18px 0;
}
.aside-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.aside-card .check-list {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
  gap: 8px;
}
.aside-card .check-list li {
  font-size: 13px;
}
.aside-card .btn {
  margin-top: 20px;
}
.aside-note {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(201, 242, 75, 0.18);
  border: 1px solid rgba(168, 217, 46, 0.35);
  font-size: 12.5px;
  line-height: 1.55;
  color: #3c4a12;
}
.aside-note strong {
  display: block;
  margin-bottom: 4px;
  color: #26310a;
}
.related-services {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.related-services h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.related-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.related-card span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.related-card svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}

/* ---------- Services page ---------- */
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.services-intro__text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.services-intro__text p + p {
  margin-top: 14px;
}
.services-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-stat {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.mini-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Portfolio single ---------- */
.project-single {
  padding-top: clamp(36px, 5vw, 60px);
}
.project-single__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.project-single__media img {
  width: 100%;
  height: auto;
}
.project-single__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.project-single__bar .btn {
  flex: none;
}
.project-single__info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.project-info__item span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-info__item strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.project-info__item a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 3px;
}
.project-single__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 56px);
  align-items: start;
}

/* ---------- Blog / archive ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  overflow: hidden;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card__media img {
  transform: scale(1.04);
}
.post-card__media--empty {
  position: relative;
  display: grid;
  place-items: center;
  background: #0d1118;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
}
.post-card__media--empty::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 72% 28%, rgba(201, 242, 75, 0.4), transparent 42%),
    radial-gradient(circle at 26% 78%, rgba(122, 90, 248, 0.55), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(85, 223, 207, 0.16), transparent 55%);
  filter: blur(4px);
}
.post-card__media--empty::after {
  content: "ЖУРНАЛ";
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.post-card__meta span {
  color: var(--violet);
}
.post-card__body h2,
.post-card__body h3 {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.post-card__body h2 a:hover,
.post-card__body h3 a:hover {
  color: var(--violet);
}
.post-card__body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.post-card__foot .link-arrow {
  font-size: 12px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pagination .dots {
  border-color: transparent;
  background: transparent;
}

/* ---------- Single post ---------- */
.article-head {
  padding-bottom: clamp(32px, 5vw, 56px);
}
.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.article-head__meta a {
  color: var(--accent);
}
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.article-side {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 16px;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.article-share a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}
.article-share a:hover {
  background: var(--ink);
  color: #fff;
}
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.post-nav a {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.post-nav a:hover {
  border-color: var(--ink);
}
.post-nav small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-nav .next {
  text-align: right;
}
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.comments-title,
.comment-reply-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.comment-list {
  display: grid;
  gap: 18px;
}
.comment-body {
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.comment-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.comment-author {
  font-weight: 700;
  color: var(--ink);
}
.comment-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.comment-form p {
  margin: 0;
}
.comment-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.comment-form .submit {
  justify-self: start;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border: 0;
}

/* ---------- 404 / search ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 10vw, 120px);
}
.error-page__inner {
  max-width: 620px;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent-2);
}
.error-page h1 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
.error-page p {
  margin-top: 14px;
  color: var(--muted);
}
.error-page .btn {
  margin-top: 24px;
}
.search-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
}
.search-form input[type="search"] {
  flex: 1;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.search-form button {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

/* ---------- Reveal animations ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
html.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
html.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header__phone {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__copy {
    max-width: 100%;
  }
  .hero__visual {
    width: 100%;
    max-width: 560px;
    min-height: 420px;
    margin-inline: auto;
  }
  .float-card--wp {
    left: 0;
  }
  .float-card--seo {
    right: 0;
  }
  .service-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 28px var(--gutter) 40px;
    background: rgba(8, 10, 14, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav__list a {
    display: block;
    padding: 16px 0;
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
  }
  .nav__list a::after {
    display: none;
  }
  .nav__list .menu-item-has-children > a::before {
    width: 6px;
    height: 6px;
    margin-right: 10px;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__mobile-cta {
    display: grid;
    gap: 12px;
    margin-top: 30px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__actions {
    margin-left: auto;
  }
  .header__actions .btn {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__copy {
    max-width: 100%;
  }
  .hero__visual {
    min-height: 400px;
    max-width: 540px;
    margin-inline: auto;
    width: 100%;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split__aside {
    position: static;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about__grid,
  .faq__grid,
  .cta__grid,
  .services-intro,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .about__visual {
    min-height: 340px;
    order: 2;
  }
  .faq__aside {
    max-width: 560px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .page-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .page-hero__card {
    max-width: 460px;
  }
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aside-card:first-child {
    grid-row: span 2;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .article-side {
    position: static;
  }
  .project-single__body {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .section-head__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero__title {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__visual {
    min-height: 330px;
  }
  .float-card {
    padding: 9px 12px;
    font-size: 11px;
  }
  .float-card__icon {
    width: 28px;
    height: 28px;
  }
  .float-card--wp {
    top: 0;
  }
  .float-card--seo {
    bottom: 0;
  }
  .hero__stats {
    margin-top: 40px;
  }
  .services-grid,
  .steps,
  .portfolio-grid,
  .pricing-grid,
  .post-grid,
  .project-single__info,
  .about__points,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: auto;
  }
  .service-card {
    min-height: 0;
    padding: 22px;
  }
  .service-aside {
    grid-template-columns: 1fr;
  }
  .aside-card:first-child {
    grid-row: auto;
  }
  .page-hero__card {
    max-width: 100%;
  }
  .project-single__info {
    gap: 18px;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav .next {
    text-align: left;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .to-top {
    right: 14px;
    bottom: 14px;
  }
  .cta-contact strong {
    font-size: 15px;
  }
  .lead-form {
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .brand__tag {
    display: none;
  }
  .brand__name {
    font-size: 14px;
  }
  .brand__mark {
    width: 38px;
    height: 38px;
  }
  .section-label {
    font-size: 10.5px;
  }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta,
  .to-top,
  .marquee {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .section {
    padding-block: 20px;
  }
}
