/*
Theme Name: SEO Урал
Theme URI: https://seou.ru
Author: SEO Урал
Author URI: https://seou.ru
Description: Монохромная тема для digital-агентства. Стиль: светлый, минималистичный, профессиональный.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: seo-ural
*/

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --ink:  #0d0d0d;
  --mid:  #555;
  --soft: #999;
  --rule: #e5e5e5;
  --bg:   #f8f8f8;
  --bg2:  #f0f0f0;
  --white:#ffffff;
  --dark: #2e2e2e;
  --dark2:#262626;
  --shadow-s: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-m: 0 4px 24px rgba(0,0,0,.1);
  --shadow-l: 0 12px 50px rgba(0,0,0,.13);
  --r:  18px;
  --r2: 26px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg); color: var(--ink);
  overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,248,248,.9);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; background: var(--ink); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); display: block; }
.logo-sub  { font-size: 10px; color: var(--soft); display: block; line-height: 1; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-a {
  padding: 7px 13px; border-radius: 10px;
  font-size: 14px; font-weight: 400; color: var(--mid);
  transition: color .2s, background .2s; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
}
.nav-a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.nav-links > li.has-dropdown:hover > .nav-a { color: var(--ink); background: rgba(0,0,0,.04); }
.chevron { font-size: 9px; transition: transform .2s; display: inline-block; }
.nav-links > li.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 260px; background: var(--white);
  border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: var(--shadow-l); padding: 8px;
  opacity: 0; pointer-events: none;
  transition: all .22s cubic-bezier(.34,1.56,.64,1); z-index: 200;
}
.nav-links > li.has-dropdown:hover .dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 13px; border-radius: 11px;
  font-size: 14px; color: var(--mid);
  transition: all .18s; cursor: pointer;
}
.dd-item:hover { background: var(--bg2); color: var(--ink); }
.dd-ico {
  width: 32px; height: 32px; border-radius: 9px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.dd-txt strong { display: block; font-weight: 500; color: var(--ink); font-size: 13px; }
.dd-txt span   { font-size: 11px; color: var(--soft); }

.btn-nav {
  padding: 9px 22px; border-radius: 11px;
  font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  background: var(--ink); color: var(--white);
  border: none; cursor: pointer;
  transition: opacity .2s, transform .2s; white-space: nowrap;
}
.btn-nav:hover { opacity: .82; transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ── MOBILE MENU ────────────────────────────────────── */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(248,248,248,.97); backdrop-filter: blur(30px);
  flex-direction: column; padding: 84px 32px 40px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.mob-menu.open { transform: translateX(0); }
.mob-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700;
  color: var(--ink); cursor: pointer;
}
.mob-sub { display: none; padding: 8px 0 14px 14px; }
.mob-sub.open { display: block; }
.mob-sub-a { display: block; padding: 9px 0; font-size: 15px; color: var(--mid); cursor: pointer; transition: color .2s; }
.mob-sub-a:hover { color: var(--ink); }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── LABELS / HEADINGS ──────────────────────────────── */
.s-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--soft); margin-bottom: 12px;
}
.s-label::before { content: ''; width: 14px; height: 1px; background: var(--rule); }
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em; color: var(--ink); margin-bottom: 22px;
}
h1 em { font-style: normal; color: var(--soft); }
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink);
}
h2 em { font-style: normal; color: var(--soft); }
.s-sub { font-size: 16px; color: var(--mid); line-height: 1.7; }
.entry-content h2, .entry-content h3 { font-family: 'Syne', sans-serif; font-weight: 700; margin: 28px 0 12px; }
.entry-content p { margin-bottom: 18px; color: var(--mid); line-height: 1.75; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 18px; color: var(--mid); }
.entry-content li { margin-bottom: 6px; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  padding: 14px 30px; border-radius: 12px;
  font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  background: var(--ink); color: var(--white);
  border: none; cursor: pointer;
  transition: opacity .2s, transform .2s; display: inline-block;
}
.btn-primary:hover { opacity: .82; transform: translateY(-1px); }
.btn-secondary {
  padding: 13px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 400; font-family: 'DM Sans', sans-serif;
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule); cursor: pointer;
  transition: background .2s, transform .2s; display: inline-block;
}
.btn-secondary:hover { background: var(--bg2); transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding: 140px 0 100px;
  display: flex; align-items: center;
  background: var(--bg); border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--soft);
  border: 1px solid var(--rule); padding: 6px 14px;
  border-radius: 20px; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--rule); }
.hero-sub  { font-size: 16px; color: var(--mid); line-height: 1.75; margin-bottom: 14px; max-width: 480px; }
.hero-note { font-size: 13px; color: var(--soft); margin-bottom: 38px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--rule); padding-top: 30px;
}
.stat { flex: 1; padding-right: 28px; border-right: 1px solid var(--rule); }
.stat:last-child  { border-right: none; padding-right: 0; padding-left: 28px; }
.stat:not(:first-child) { padding-left: 28px; }
.stat-n { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-l { font-size: 12px; color: var(--soft); margin-top: 4px; }

/* HERO VISUAL */
.hero-visual { position: relative; height: 490px; }
.chart-panel {
  position: absolute; inset: 0;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r2); box-shadow: var(--shadow-l);
  padding: 26px 26px 18px; display: flex; flex-direction: column; overflow: hidden;
}
.cp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.cp-title  { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.cp-period { font-size: 12px; color: var(--soft); margin-top: 3px; }
.cp-badge  {
  background: var(--ink); color: var(--white);
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  padding: 5px 13px; border-radius: 20px;
}
.chart-area { flex: 1; position: relative; min-height: 0; }
.chart-svg  { width: 100%; height: 100%; }
.c-line {
  fill: none; stroke: var(--ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: drawLine 2.2s ease forwards .4s;
}
.c-fill { fill: url(#fillG); opacity: 0; animation: fadeIn 2.2s ease forwards .7s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn   { to { opacity: 1; } }

.m-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--rule); border-radius: 13px;
  padding: 11px 15px; box-shadow: var(--shadow-m);
  display: flex; align-items: center; gap: 10px;
  animation: float 4s ease-in-out infinite alternate;
  z-index: 10; white-space: nowrap;
}
.m-card:nth-child(2) { animation-delay: -1.3s; }
.m-card:nth-child(3) { animation-delay: -2.1s; }
.m-card:nth-child(4) { animation-delay: -.7s;  }
@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
.mc1 { top: 26px;   left: -26px; }
.mc2 { top: 52px;   right: -16px; }
.mc3 { bottom: 88px; left: -16px; }
.mc4 { bottom: 46px; right: -8px; }
.m-ico {
  width: 30px; height: 30px; border-radius: 8px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.m-v { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.m-l { font-size: 10px; color: var(--soft); margin-top: 1px; }

/* ── TRUST INTRO ────────────────────────────────────── */
.trust-intro { padding: 80px 0; border-bottom: 1px solid var(--rule); background: var(--white); }
.trust-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ti-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700; color: var(--ink); line-height: 1.4;
  position: relative; padding-left: 24px;
}
.ti-quote::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; background: var(--ink); border-radius: 2px;
}
.ti-right { display: flex; flex-direction: column; gap: 20px; }
.ti-text  { font-size: 15px; color: var(--mid); line-height: 1.75; }
.ti-sign  { font-size: 13px; color: var(--soft); font-style: italic; }

/* ── WHY TRUST ──────────────────────────────────────── */
.why-trust { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.wt-head { margin-bottom: 52px; }
.wt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--r2); overflow: hidden;
}
.wt-card { background: var(--white); padding: 36px 32px; transition: background .25s; }
.wt-card:hover { background: var(--bg); }
.wt-icon   { font-size: 22px; margin-bottom: 18px; display: block; }
.wt-title  { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.wt-desc   { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ── SERVICES ───────────────────────────────────────── */
.services { padding: 100px 0; border-bottom: 1px solid var(--rule); background: var(--white); }
.svc-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px; gap: 40px;
}
.svc-head-l { max-width: 480px; }
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--r2); overflow: hidden;
}
.svc-card {
  background: var(--bg); padding: 40px 36px;
  display: flex; flex-direction: column;
  transition: background .25s; cursor: pointer;
}
.svc-card:hover { background: var(--bg2); }
.svc-card:nth-child(1) { border-radius: var(--r2) 0 0 0; }
.svc-card:nth-child(2) { border-radius: 0 var(--r2) 0 0; }
.svc-card:nth-child(3) { border-radius: 0 0 0 var(--r2); }
.svc-card:nth-child(4) { border-radius: 0 0 var(--r2) 0; }
.svc-num   { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--soft); letter-spacing: .08em; margin-bottom: 24px; }
.svc-title { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.svc-desc  { font-size: 14px; color: var(--mid); line-height: 1.7; margin-bottom: 26px; flex: 1; }
.svc-tags  { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tag { font-size: 11px; padding: 4px 10px; border-radius: 20px; background: var(--white); color: var(--soft); border: 1px solid var(--rule); }
.svc-link  { font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.svc-link span { transition: transform .2s; }
.svc-card:hover .svc-link span { transform: translateX(4px); }

/* ── CASES ──────────────────────────────────────────── */
.cases { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.cases-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px; gap: 40px;
}
.ptf-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.f-btn {
  padding: 8px 18px; border-radius: 20px;
  font-size: 13px; cursor: pointer;
  background: var(--white); color: var(--mid);
  border: 1px solid var(--rule); transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.f-btn.active, .f-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r2); overflow: hidden; cursor: pointer;
  transition: box-shadow .3s, transform .3s; display: flex; flex-direction: column;
}
.case-card:hover { box-shadow: var(--shadow-l); transform: translateY(-5px); }
.case-thumb {
  height: 170px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; transition: background .3s;
}
.case-card:hover .case-thumb { background: var(--bg); }
.case-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case-type { font-size: 11px; font-weight: 500; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.case-name { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.25; }
.case-row  { margin-bottom: 10px; }
.case-row-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--soft); margin-bottom: 4px; }
.case-row-text  { font-size: 13px; color: var(--mid); line-height: 1.6; }
.case-metrics {
  display: flex; gap: 18px; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--rule);
}
.cm-v { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); }
.cm-l { font-size: 10px; color: var(--soft); margin-top: 2px; }

/* ── PROCESS ────────────────────────────────────────── */
.process { padding: 100px 0; background: var(--white); border-bottom: 1px solid var(--rule); }
.process-head { margin-bottom: 52px; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden;
}
.step  { background: var(--bg); padding: 34px 28px; transition: background .25s; }
.step:hover { background: var(--bg2); }
.step-n     { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--soft); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.step-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.step-desc  { font-size: 13px; color: var(--mid); line-height: 1.7; }

/* ── TRUST QUOTE ────────────────────────────────────── */
.trust-block { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.trust-inner {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r2); padding: 56px 64px;
  display: flex; gap: 64px; align-items: flex-start;
}
.trust-mark { font-family: 'Syne', sans-serif; font-size: 80px; font-weight: 800; color: var(--rule); line-height: 1; }
.trust-text p    { font-family: 'Syne', sans-serif; font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: var(--ink); line-height: 1.55; margin-bottom: 20px; }
.trust-text span { font-size: 14px; color: var(--soft); }

/* ── CTA ────────────────────────────────────────────── */
.cta-wrap { background: var(--dark); padding: 100px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.cta-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.cta-h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(24px, 3vw, 40px);
  font-weight: 800; color: #fff; line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 18px;
}
.cta-p { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 34px; max-width: 420px; }
.c-contacts { display: flex; flex-direction: column; gap: 9px; }
.c-chip {
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content; padding: 10px 17px; border-radius: 11px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); font-size: 14px; transition: all .2s; cursor: pointer;
}
.c-chip:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-form {
  background: rgba(255,255,255,.05); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r2); padding: 34px;
}
.form-h  { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.form-sh { font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.fg { margin-bottom: 12px; }
.fg label {
  display: block; font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.35); margin-bottom: 7px;
  letter-spacing: .04em; text-transform: uppercase;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color .2s, background .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1);
}
.fg select { appearance: none; cursor: pointer; }
.fg select option { background: #333; color: #fff; }
.fg textarea { resize: vertical; min-height: 80px; }
.btn-form {
  width: 100%; padding: 13px; border-radius: 11px; border: none; cursor: pointer;
  background: var(--white); color: var(--dark);
  font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  transition: opacity .2s, transform .2s; margin-top: 4px;
}
.btn-form:hover { opacity: .88; transform: translateY(-1px); }
.msg-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.msg-chip {
  padding: 7px 13px; border-radius: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45); font-size: 12px; cursor: pointer; transition: all .18s;
}
.msg-chip:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--dark2); border-top: 1px solid rgba(255,255,255,.05);
  padding: 60px 0 26px;
}
.foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-desc { font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.75; margin: 12px 0 20px; max-width: 280px; }
.socials { display: flex; gap: 8px; }
.soc {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: background .2s;
  color: rgba(255,255,255,.4);
}
.soc:hover { background: rgba(255,255,255,.12); }
.foot-col h4 {
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.6); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px;
}
.foot-col a, .foot-col p { display: block; font-size: 13px; color: rgba(255,255,255,.3); margin-bottom: 8px; transition: color .18s; cursor: pointer; }
.foot-col a:hover { color: rgba(255,255,255,.65); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-copy   { font-size: 12px; color: rgba(255,255,255,.2); }
.foot-policy { font-size: 12px; color: rgba(255,255,255,.22); cursor: pointer; transition: color .2s; }
.foot-policy:hover { color: rgba(255,255,255,.5); }

/* ── PAGE TEMPLATE ──────────────────────────────────── */
.page-hero { padding: 130px 0 60px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { margin-bottom: 0; }
.page-content { padding: 60px 0 100px; }
.page-content-inner { max-width: 760px; }

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal, .reveal-l, .reveal-r { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.reveal   { transform: translateY(22px); }
.reveal-l { transform: translateX(-22px); }
.reveal-r { transform: translateX(22px); }
.reveal.on, .reveal-l.on, .reveal-r.on { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.stagger.on > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.stagger.on > *:nth-child(2) { opacity:1; transform:none; transition-delay:.09s; }
.stagger.on > *:nth-child(3) { opacity:1; transform:none; transition-delay:.18s; }
.stagger.on > *:nth-child(4) { opacity:1; transform:none; transition-delay:.27s; }
.stagger.on > *:nth-child(5) { opacity:1; transform:none; transition-delay:.36s; }
.stagger.on > *:nth-child(6) { opacity:1; transform:none; transition-delay:.45s; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner, .trust-intro-inner, .cta-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { height: 340px; }
  .mc1, .mc3 { left: 0; } .mc2, .mc4 { right: 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .svc-card:nth-child(1) { border-radius: var(--r2) var(--r2) 0 0; }
  .svc-card:nth-child(2), .svc-card:nth-child(3) { border-radius: 0; }
  .svc-card:nth-child(4) { border-radius: 0 0 var(--r2) var(--r2); }
  .wt-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .trust-inner { padding: 40px 36px; gap: 32px; flex-direction: column; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .burger { display: flex; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .wt-grid { grid-template-columns: 1fr; }
  .svc-head, .cases-head { flex-direction: column; align-items: flex-start; }
  .foot-inner { grid-template-columns: 1fr; }
  h1 { font-size: 30px; } h2 { font-size: 22px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat { border-right: none; padding: 0 0 20px; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .trust-inner { padding: 32px 24px; }
  .trust-mark { font-size: 56px; }
}

/* ── CONTACT FORM 7 ─────────────────────────────────── */

/* Убираем встроенные стили CF7 */
.wpcf7 { margin: 0; }
.wpcf7 .screen-reader-response { display: none; }

/* Блок формы */
.wpcf7-form { display: flex; flex-direction: column; gap: 0; }

/* Каждая строка с полем */
.cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cf7-field { margin-bottom: 12px; }

/* Label */
.cf7-label {
  display: block; font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.35); margin-bottom: 7px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* Все поля ввода */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder { color: rgba(255,255,255,.2); }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
}
.wpcf7-form select { cursor: pointer; }
.wpcf7-form select option { background: #333; color: #fff; }
.wpcf7-form textarea { resize: vertical; min-height: 80px; }

/* Кнопка отправки */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100%; padding: 13px; border-radius: 11px; border: none; cursor: pointer;
  background: #fff; color: var(--dark);
  font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  transition: opacity .2s, transform .2s; margin-top: 4px;
  -webkit-appearance: none;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover { opacity: .88; transform: translateY(-1px); }
.wpcf7-form input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Сообщения об ошибках */
.wpcf7-not-valid-tip {
  font-size: 11px; color: rgba(255,180,180,.8);
  margin-top: 4px; display: block;
}
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: rgba(255,100,100,.4);
}

/* Ответ после отправки */
.wpcf7-response-output {
  margin: 12px 0 0; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; border: 1px solid;
}
.wpcf7-mail-sent-ok {
  background: rgba(60,200,100,.12); border-color: rgba(60,200,100,.3);
  color: rgba(180,255,200,.9);
}
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background: rgba(255,80,80,.1); border-color: rgba(255,80,80,.2);
  color: rgba(255,180,180,.9);
}
.wpcf7-acceptance-missing {
  background: rgba(255,200,50,.1); border-color: rgba(255,200,50,.2);
  color: rgba(255,230,150,.9);
}

/* Spinner */
.wpcf7-spinner {
  display: none; width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: rgba(255,255,255,.7);
  border-radius: 50%; animation: cf7spin .6s linear infinite;
  vertical-align: middle; margin-left: 10px;
}
.wpcf7-form.submitting .wpcf7-spinner { display: inline-block; }
@keyframes cf7spin { to { transform: rotate(360deg); } }

/* wrap-спаны CF7 — убираем лишнее */
.wpcf7-form-control-wrap { display: block; }

@media (max-width: 768px) {
  .cf7-row { grid-template-columns: 1fr; }
}

/* ── PRICING: SHARED ────────────────────────────────── */
.pricing-head { margin-bottom: 44px; }

/* ── PRICING: WEBSITE DEV ───────────────────────────── */
.pricing-dev { padding: 100px 0; background: var(--white); border-bottom: 1px solid var(--rule); }
.pdev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pdev-card {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r2); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s, background .3s;
}
.pdev-card:hover { background: var(--white); box-shadow: var(--shadow-l); transform: translateY(-4px); }
.pdev-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.pdev-price {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--ink); margin-bottom: 26px; line-height: 1;
}
.pdev-from { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400; color: var(--soft); margin-right: 2px; }
.pdev-cur  { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400; color: var(--soft); }
.pdev-list { margin-bottom: 28px; flex: 1; }
.pdev-list li {
  font-size: 13.5px; color: var(--mid); line-height: 1.6;
  padding-left: 18px; position: relative; margin-bottom: 10px;
}
.pdev-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 7px; height: 1.5px; background: var(--ink);
}
.pdev-btn { text-align: center; width: 100%; }

/* ── PRICING: SEO ───────────────────────────────────── */
.pricing-seo { padding: 100px 0; border-bottom: 1px solid var(--rule); }

/* Переключатель периода */
.period-switch {
  display: inline-flex; gap: 4px;
  background: var(--bg2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 5px;
  margin-bottom: 44px;
}
.period-btn {
  padding: 10px 22px; border-radius: 10px; border: none;
  background: transparent; color: var(--mid);
  font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background .2s, color .2s; white-space: nowrap;
}
.period-btn:hover { color: var(--ink); }
.period-btn.active { background: var(--ink); color: var(--white); }

.pseo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pseo-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r2); padding: 36px 32px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.pseo-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.pseo-featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.pseo-featured:hover { box-shadow: var(--shadow-l); }

.pseo-tag {
  position: absolute; top: -1px; right: 32px;
  background: var(--white); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 0 0 10px 10px;
}
.pseo-name {
  font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700;
  margin-bottom: 18px; color: var(--ink);
}
.pseo-featured .pseo-name { color: #fff; }

.pseo-price-wrap { display: flex; align-items: center; gap: 10px; min-height: 22px; margin-bottom: 4px; }
.pseo-old { font-size: 14px; color: var(--soft); text-decoration: line-through; }
.pseo-featured .pseo-old { color: rgba(255,255,255,.4); }
.pseo-badge {
  font-size: 11px; font-weight: 700; color: #1a8a1a;
  background: rgba(40,160,40,.1); padding: 3px 9px; border-radius: 20px;
}
.pseo-featured .pseo-badge { background: rgba(120,230,140,.15); color: #8af0a0; }

.pseo-price {
  font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800;
  color: var(--ink); margin-bottom: 24px; line-height: 1;
}
.pseo-featured .pseo-price { color: #fff; }
.pseo-amount { transition: opacity .15s; display: inline-block; }
.pseo-cur { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 400; color: var(--soft); }
.pseo-featured .pseo-cur { color: rgba(255,255,255,.45); }

.pseo-list { margin-bottom: 28px; flex: 1; }
.pseo-list li {
  font-size: 13.5px; color: var(--mid); line-height: 1.6;
  padding-left: 18px; position: relative; margin-bottom: 9px;
}
.pseo-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 7px; height: 1.5px; background: var(--ink);
}
.pseo-featured .pseo-list li { color: rgba(255,255,255,.65); }
.pseo-featured .pseo-list li::before { background: rgba(255,255,255,.7); }

.pseo-btn { text-align: center; width: 100%; }
.pseo-featured .btn-primary { background: #fff; color: var(--ink); }
.pseo-featured .btn-primary:hover { opacity: .88; }

.pseo-note { font-size: 12.5px; color: var(--soft); margin-top: 28px; text-align: center; }

/* Анимация смены цены */
.pseo-amount.fading { opacity: 0; }

@media (max-width: 1024px) {
  .pdev-grid { grid-template-columns: 1fr; }
  .pseo-grid { grid-template-columns: 1fr; }
  .period-switch { flex-wrap: wrap; width: 100%; }
  .period-btn { flex: 1; text-align: center; }
}
@media (max-width: 768px) {
  .pseo-tag { right: 24px; }
}

/* ── BROWSER MOCKUP (hero visual, "Разработка сайта") ─ */
.browser-panel {
  position: absolute; inset: 0;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r2); box-shadow: var(--shadow-l);
  overflow: hidden; display: flex; flex-direction: column;
}
.browser-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.browser-dot:nth-child(1) { background: #e0a0a0; }
.browser-dot:nth-child(2) { background: #e0d090; }
.browser-dot:nth-child(3) { background: #a0d0a0; }
.browser-url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 7px;
  background: var(--bg2); display: flex; align-items: center;
  padding: 0 12px; font-size: 11px; color: var(--soft);
  font-family: 'DM Sans', sans-serif; overflow: hidden; white-space: nowrap;
}
.browser-body { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }

.wire-nav { display: flex; align-items: center; justify-content: space-between; }
.wire-logo { width: 64px; height: 10px; border-radius: 4px; background: var(--ink); opacity: .85; }
.wire-menu { display: flex; gap: 8px; }
.wire-menu span { width: 28px; height: 7px; border-radius: 3px; background: var(--rule); }

.wire-hero {
  border-radius: 14px; background: linear-gradient(135deg, var(--bg2), var(--bg));
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  animation: wireFade .6s ease forwards .2s; opacity: 0;
}
.wire-hero .wire-title { width: 65%; height: 12px; border-radius: 4px; background: var(--ink); opacity: .8; }
.wire-hero .wire-text  { width: 85%; height: 7px;  border-radius: 4px; background: var(--rule); }
.wire-hero .wire-text2 { width: 55%; height: 7px;  border-radius: 4px; background: var(--rule); }
.wire-hero .wire-btn   { width: 86px; height: 18px; border-radius: 7px; background: var(--ink); margin-top: 6px; }

.wire-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1; }
.wire-card {
  border: 1px solid var(--rule); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 7px;
  animation: wireFade .6s ease forwards; opacity: 0;
}
.wire-card:nth-child(1) { animation-delay: .4s; }
.wire-card:nth-child(2) { animation-delay: .55s; }
.wire-card:nth-child(3) { animation-delay: .7s; }
.wire-card .wire-ico   { width: 22px; height: 22px; border-radius: 7px; background: var(--bg2); }
.wire-card .wire-line  { width: 100%; height: 6px; border-radius: 3px; background: var(--rule); }
.wire-card .wire-line2 { width: 70%;  height: 6px; border-radius: 3px; background: var(--rule); }

.wire-footer {
  height: 16px; border-radius: 6px; background: var(--bg2);
  margin-top: auto; animation: wireFade .6s ease forwards .85s; opacity: 0;
}
@keyframes wireFade { to { opacity: 1; } }

/* ── DEMO PLATES ────────────────────────────────────── */
.demo-section { padding: 80px 0; border-bottom: 1px solid var(--rule); background: var(--white); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-card {
  display: flex; align-items: center; gap: 22px;
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r2); padding: 30px 32px;
  text-decoration: none; transition: all .3s; cursor: pointer;
}
.demo-card:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-l); }
.demo-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--rule); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  transition: all .3s;
}
.demo-card:hover .demo-ico { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.demo-text { flex: 1; }
.demo-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin-bottom: 6px; transition: color .3s; }
.demo-card:hover .demo-label { color: rgba(255,255,255,.45); }
.demo-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; transition: color .3s; }
.demo-card:hover .demo-title { color: #fff; }
.demo-sub { font-size: 13px; color: var(--mid); transition: color .3s; }
.demo-card:hover .demo-sub { color: rgba(255,255,255,.55); }
.demo-arrow {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink); flex-shrink: 0; transition: all .3s;
}
.demo-card:hover .demo-arrow { background: rgba(255,255,255,.12); color: #fff; transform: translateX(3px); }

.demo-placeholder {
  font-size: 12px; color: var(--soft); margin-top: 10px;
}

/* ── PORTFOLIO DESCRIPTION (reuse .case-card) ─────────── */
.case-desc { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 16px; }

@media (max-width: 1024px) {
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .demo-card { flex-wrap: wrap; }
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { padding: 100px 0; background: var(--white); border-bottom: 1px solid var(--rule); }
.faq-head { margin-bottom: 44px; max-width: 600px; }
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r2); overflow: hidden; }
.faq-item { background: var(--bg); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: 'Syne', sans-serif; font-size: 15.5px; font-weight: 700; color: var(--ink);
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg2); }
.faq-plus { font-size: 20px; font-weight: 400; color: var(--soft); flex-shrink: 0; transition: transform .25s; line-height: 1; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 30px 24px; font-size: 14px; color: var(--mid); line-height: 1.75; max-width: 720px; }

/* ── SEO PRICING NOTE / CTA STRIP ─────────────────────── */
.kp-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--bg2); border: 1px solid var(--rule); border-radius: var(--r2);
  padding: 30px 36px; margin-top: 44px;
}
.kp-strip-text { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); }
.kp-strip-sub  { font-size: 13px; color: var(--mid); margin-top: 4px; font-family: 'DM Sans', sans-serif; font-weight: 400; }

@media (max-width: 640px) {
  .faq-item summary { padding: 20px 22px; font-size: 14.5px; }
  .faq-answer { padding: 0 22px 20px; }
  .kp-strip { flex-direction: column; align-items: flex-start; text-align: left; }
}
