/* ==========================================================================
   ВЛ-Автоматизация — единый стиль сайта
   ========================================================================== */

:root {
  --navy-950: #061225;
  --navy-900: #0a1b33;
  --navy-800: #0e2647;
  --navy-700: #14305b;
  --navy-600: #1a3d74;

  --blue-600: #0e5fd8;
  --blue-500: #2e7cf6;
  --blue-400: #5b9bf8;
  --sky-200: #d7e6fb;
  --sky-100: #eaf2fd;
  --sky-50: #f5f9fe;

  --green: #21b96b;
  --green-600: #169b57;
  --green-100: #dff6ea;

  --amber: #ffb321;
  --amber-100: #fff3da;

  --text: #1b2b41;
  --text-soft: #44566e;
  --muted: #5b6d85;
  --line: #e3eaf3;

  --white: #ffffff;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 12px 32px rgba(10, 27, 51, 0.08);
  --shadow-card: 0 22px 55px rgba(10, 27, 51, 0.12);

  --grad-primary: linear-gradient(135deg, #0e5fd8 0%, #2e7cf6 100%);
  --grad-green: linear-gradient(135deg, #21b96b 0%, #16a15c 100%);
  --grad-navy: linear-gradient(160deg, #0a1b33 0%, #0e2647 55%, #14305b 100%);
  --grad-hero: linear-gradient(115deg, rgba(6, 18, 37, 0.97) 0%, rgba(13, 34, 61, 0.93) 45%, rgba(22, 53, 92, 0.82) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.eyebrow--light {
  color: var(--blue-400);
}

.eyebrow--center {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
}

.section-head {
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(14, 95, 216, 0.32);
}

.btn--primary:hover {
  box-shadow: 0 18px 38px rgba(14, 95, 216, 0.42);
}

.btn--green {
  background: var(--grad-green);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(33, 185, 107, 0.3);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn--ghost {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 18px;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled,
.navbar.is-open {
  background: rgba(7, 18, 38, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(6, 18, 37, 0.35);
  padding-block: 12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand:hover img {
  filter: brightness(1.08);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown__caret {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown:focus-within .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 360px;
  padding: 8px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(2, 10, 24, 0.55);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-phone:hover {
  border-color: var(--green);
  background: rgba(33, 185, 107, 0.12);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  color: var(--white);
  background:
    var(--grad-hero),
    url("../img/hero-bg.jpeg") center / cover no-repeat;
  padding: 168px 0 220px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -160px;
  background: radial-gradient(circle, rgba(33, 185, 107, 0.32) 0%, rgba(33, 185, 107, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: -260px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(46, 124, 246, 0.28) 0%, rgba(46, 124, 246, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--green);
}

.hero-subtitle {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  max-width: 560px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-badge svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: var(--green);
}

.hero-badge b {
  font-weight: 800;
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

/* Slider */

.hero-slider {
  position: relative;
}

.hero-slider .slides {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 5 / 5.7;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s ease, transform 5s ease;
}

.hero-slider .slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 26px;
  height: 6px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.slider-dots button.is-active {
  background: var(--green);
  width: 40px;
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stats {
  margin-top: -150px;
  position: relative;
  z-index: 3;
  padding-bottom: 96px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.stat-main {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--grad-green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: 0 26px 60px rgba(33, 185, 107, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.stat-main .stat-number {
  font-size: clamp(3.2rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-main .stat-label {
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 0.95;
  line-height: 1.4;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--sky-200);
}

.stat-card .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--sky-100);
}

.stat-card .stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-600);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services {
  background: var(--sky-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.07);
}

.service-card__tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--grad-navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(6, 18, 37, 0.35);
}

.service-card__body {
  padding: 28px 26px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__intro {
  color: var(--text-soft);
  font-size: 0.97rem;
  margin-bottom: 16px;
}

.service-card ul {
  display: grid;
  gap: 12px;
}

.service-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.service-card ul li strong {
  color: var(--navy-800);
}

.service-card ul li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--green);
  margin-top: 7px;
}

.service-card__footer {
  margin-top: auto;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sky-50);
}

.service-card__footer .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 4px 10px rgba(10, 27, 51, 0.15);
}

.service-card__footer .avatar--initials {
  background: var(--sky-200);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__footer span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
  background: var(--grad-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -160px;
  top: -160px;
  background: radial-gradient(circle, rgba(46, 124, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px dashed rgba(33, 185, 107, 0.45);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-feature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 26px;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
  flex: none;
}

.about .section-title {
  color: var(--white);
}

.about .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.about-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.about-card h4 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}

.about-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

.about-card p + p {
  margin-top: 8px;
}

/* ==========================================================================
   BLACK / FEATURE SECTIONS (преимущества, методология, поддержка)
   ========================================================================== */

.feature {
  background: var(--sky-100);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 60px;
  align-items: start;
}

.feature .section-title {
  max-width: 560px;
}

.feature-bullets {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.feature-bullet {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-bullet:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-bullet .bullet-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 12px 24px rgba(14, 95, 216, 0.28);
}

.feature-bullet h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.feature-bullet p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------- Steps ---------------------------------- */

.steps {
  background: var(--grad-navy);
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 40px 24px 26px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
}

.step-card .step-num {
  position: absolute;
  top: -26px;
  left: 22px;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad-green);
  color: var(--white);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(33, 185, 107, 0.4);
}

.step-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.step-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

/* ---------------------------------- Messenger ---------------------------------- */

.messenger {
  background: var(--white);
}

.messenger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.messenger-panel {
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-card);
}

.messenger-panel .chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.chat-header strong {
  color: var(--navy-900);
  font-size: 1.02rem;
}

.chat-header span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-stream {
  display: grid;
  gap: 12px;
}

.chat-bubble {
  max-width: 84%;
  border-radius: 16px;
  padding: 11px 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chat-bubble--from {
  justify-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.chat-bubble--to {
  justify-self: end;
  background: var(--grad-primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-status {
  justify-self: end;
  display: inline-flex;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky-100);
}

.chat-status--done {
  color: var(--green-600);
  background: var(--green-100);
}

.messenger-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.messenger-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.messenger-list li svg {
  width: 22px;
  height: 22px;
  fill: var(--green);
  flex: none;
  margin-top: 3px;
}

.messenger-list li p {
  color: var(--text-soft);
}

.messenger-list li strong {
  color: var(--navy-900);
}

/* ==========================================================================
   CLIENTS & PARTNERS
   ========================================================================== */

.trust {
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 16px;
}

.trust-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
  padding: 26px 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.trust-tile:hover,
a.trust-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--sky-200);
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
}

.trust-logo img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.trust-name {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

.trust-name--lead {
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.trust-note {
  margin-top: 26px;
  color: var(--ink-mute);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team {
  background: var(--grad-navy);
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 64px;
}

.team-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 44px 30px 34px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
}

.team-card__photo {
  width: 172px;
  height: 172px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card h3 {
  font-size: 1.7rem;
  font-weight: 800;
  font-style: italic;
}

.team-card__role {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--green);
  margin: 8px 0 14px;
}

.team-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
  max-width: 340px;
  margin-inline: auto;
}

.team-note {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.team-note h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.team-note p {
  color: rgba(255, 255, 255, 0.78);
  margin-block: 10px;
}

/* ==========================================================================
   CONTACTS
   ========================================================================== */

.contacts {
  position: relative;
  color: var(--white);
  background: var(--grad-hero), url("../img/contact-bg.jpeg") center / cover no-repeat;
}

.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 18, 37, 0.82), rgba(10, 27, 51, 0.9));
  pointer-events: none;
}

.contacts-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contacts h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contacts .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
}

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.contact-form h3 {
  color: var(--navy-900);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--sky-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 124, 246, 0.15);
}

.form-result {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.94rem;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .contact-item__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .contact-item__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
}

.contact-item small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item .contact-value {
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
}

.contact-item a:hover {
  color: var(--green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer .brand img {
  height: 40px;
  margin-bottom: 18px;
  filter: brightness(0.98);
}

.footer p {
  font-size: 0.94rem;
  max-width: 360px;
}

.footer h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer ul a {
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer ul a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--green);
}

/* ==========================================================================
   VACANCY PAGE
   ========================================================================== */

.page-hero {
  position: relative;
  color: var(--white);
  background: var(--grad-hero), url("../img/hero-bg.jpeg") center / cover no-repeat;
  padding: 190px 0 110px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -200px;
  top: -180px;
  background: radial-gradient(circle, rgba(33, 185, 107, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb a:hover {
  color: var(--green);
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.page-hero p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
  max-width: 640px;
}

/* Подборка 'почему тебе понравится' */

.perks {
  background: var(--sky-50);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.perk-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.perk-card .perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--sky-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.perk-card .perk-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-600);
}

.perk-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.perk-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.perk-card--dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.perk-card--dark .perk-icon {
  background: rgba(33, 185, 107, 0.22);
}

.perk-card--dark .perk-icon svg {
  fill: var(--green);
}

.perk-card--dark h4 {
  color: var(--white);
}

.perk-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

/* Vacancies */

.vacancies {
  background: var(--white);
}

.vacancy-card {
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 34px;
  transition: box-shadow 0.25s ease;
}

.vacancy-card:hover {
  box-shadow: var(--shadow-card);
}

.vacancy-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vacancy-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.vacancy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vacancy-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

.vacancy-tag svg {
  width: 15px;
  height: 15px;
  fill: var(--blue-600);
}

.vacancy-intro {
  font-size: 1.05rem;
  color: var(--text);
}

.vacancy-block {
  margin-top: 26px;
}

.vacancy-block h5 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.vacancy-block ul {
  display: grid;
  gap: 10px;
}

.vacancy-block ul li {
  display: flex;
  gap: 11px;
  color: var(--text-soft);
  line-height: 1.55;
}

.vacancy-block ul li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--green);
  margin-top: 9px;
}

.vacancy-contact {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px dashed var(--sky-200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.vacancy-contact .phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.vacancy-contact .phone svg {
  width: 18px;
  height: 18px;
  fill: var(--green);
}

.vacancy-contact .who {
  color: var(--muted);
  font-size: 0.92rem;
}

.vacancy-btn {
  margin-left: auto;
}

/* Contacts strip */

.contacts-strip {
  background: var(--grad-navy);
  color: var(--white);
}

.contacts-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contacts-strip .row-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contacts-strip .row-item .ri {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-strip .row-item .ri svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
}

.contacts-strip small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 4px;
}

.contacts-strip .row-item a,
.contacts-strip .row-item strong {
  color: var(--white);
  font-weight: 700;
}

.contacts-strip .row-item a:hover {
  color: var(--green);
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-slider {
    max-width: 480px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-main {
    grid-row: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .about-grid,
  .feature-grid,
  .messenger-grid,
  .contacts-inner {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 48px;
  }

  .steps-grid,
  .perks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 340px);
    background: rgba(7, 18, 38, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 28px 40px;
    transform: translateX(105%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }

  .nav-list.is-open {
    transform: none;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-phone {
    display: none;
  }

  .footer-grid,
  .contacts-strip-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding-block: 64px;
  }

  .hero {
    padding: 140px 0 210px;
  }

  .stat-main {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: -120px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .perks-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .vacancy-card {
    padding: 30px 22px;
  }

  .vacancy-btn {
    margin-left: 0;
    width: 100%;
  }

  .brand img {
    height: 36px;
  }
}

/* ==========================================================================
   DEVELOPMENTS PAGE («Наши разработки»)
   ========================================================================== */

.dev-intro {
  background: var(--sky-50);
}

.dev-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 52px;
  align-items: center;
}

.dev-media {
  position: relative;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dev-media::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(33, 185, 107, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.dev-media img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
  width: 100%;
}

.dev-media small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.dev-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

.dev-badge svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: var(--blue-600);
}

.dev-badge--green {
  color: var(--green-600);
  background: var(--green-100);
  border-color: transparent;
}

.dev-badge--green svg {
  fill: var(--green);
}

.dev-desc {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.dev-desc p + p {
  margin-top: 12px;
}

/* --- Features --- */

.dev-features {
  background: var(--white);
}

.dev-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dev-feature {
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dev-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.dev-feature .df-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(33, 185, 107, 0.3);
}

.dev-feature .df-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.dev-feature h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
}

.dev-feature p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* --- Advantages (dark) --- */

.dev-advs {
  background: var(--grad-navy);
  color: var(--white);
}

.dev-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Buy / technical --- */

.dev-buy {
  background: var(--sky-50);
}

.dev-buy-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.dev-tech {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.dev-tech-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.dev-tech-item .ti {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--sky-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-tech-item .ti svg {
  width: 19px;
  height: 19px;
  fill: var(--blue-600);
}

.dev-tech-item h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.dev-tech-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.dev-stats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.dev-stats b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.dev-stats small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dev-price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 110px;
}

.dev-price-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.dev-price-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.dev-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 15px;
  border-bottom: 1px dashed var(--sky-200);
}

.dev-price-row:last-of-type {
  border-bottom: none;
}

.dev-price-row .p-name {
  font-weight: 700;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.3;
}

.dev-price-row .p-name small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: 3px;
}

.dev-price-row .p-price {
  flex: none;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  white-space: nowrap;
}

.dev-price-card .btn {
  width: 100%;
  margin-top: 24px;
}

.dev-price-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.dev-price-contact {
  display: block;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--sky-200);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-600);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(14, 95, 216, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.dev-price-contact:hover {
  color: var(--navy-900);
  text-decoration-color: currentColor;
}

/* --- Screenshots --- */

.dev-shots {
  background: var(--white);
}

.dev-shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dev-shot {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.dev-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.dev-shot:hover img {
  transform: scale(1.06);
}

.dev-shot--cta {
  background: var(--grad-primary);
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  transition: transform 0.25s ease;
}

.dev-shot--cta:hover {
  transform: translateY(-5px);
}

.dev-shot--cta svg {
  width: 34px;
  height: 34px;
  fill: rgba(255, 255, 255, 0.9);
}

.dev-shot--cta span {
  font-weight: 800;
  font-size: 1.05rem;
  max-width: 220px;
}

.dev-shot--cta small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

/* --- More CTA + coming soon --- */

.dev-more {
  background: var(--grad-navy);
  color: var(--white);
}

.dev-more-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.dev-more h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dev-more p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
  max-width: 560px;
}

.dev-more .dev-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.dev-downloads-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.dev-downloads-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.dev-downloads-item:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.dev-downloads-item .di {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-downloads-item .di svg {
  width: 20px;
  height: 20px;
  fill: var(--blue-600);
}

.dev-downloads-item b {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-900);
}

.dev-downloads-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dev-soon {
  background: var(--sky-50);
}

.dev-soon-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--sky-200);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-soft);
}

.dev-soon-card .soon-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 18px;
  background: var(--sky-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-soon-card .soon-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue-600);
}

.dev-soon-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.dev-soon-card p {
  color: var(--muted);
}

.dev-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.dev-catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(14, 38, 71, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(6, 18, 37, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dev-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(6, 18, 37, 0.14);
}

.dev-catalog-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grad-navy);
}

.dev-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dev-catalog-card:hover .dev-catalog-media img {
  transform: scale(1.04);
}

.dev-catalog-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

.dev-catalog-media--empty svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.dev-catalog-media__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(7, 18, 38, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.dev-catalog-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.dev-catalog-body h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--navy-900);
}

.dev-catalog-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(10, 27, 51, 0.72);
}

.dev-catalog-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.92rem;
}

.dev-catalog-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.dev-catalog-card:hover .dev-catalog-link svg {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  .dev-layout,
  .dev-buy-layout,
  .dev-more-inner {
    grid-template-columns: 1fr;
  }

  .dev-media {
    max-width: 560px;
  }

  .dev-feature-grid,
  .dev-adv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dev-shots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dev-price-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .dev-feature-grid,
  .dev-adv-grid,
  .dev-shots-grid {
    grid-template-columns: 1fr;
  }

  .dev-price-card {
    padding: 28px 22px;
  }

  .dev-more-actions {
    width: 100%;
  }

  .dev-more-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 1560px) {
  .nav-inner {
    gap: 14px;
  }

  .nav-link {
    padding: 8px 11px;
    font-size: 0.88rem;
  }

  .nav-phone {
    display: none;
  }
}

@media (max-width: 1200px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 340px);
    background: rgba(7, 18, 38, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 28px 40px;
    transform: translateX(105%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }

  .nav-list.is-open {
    transform: none;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-phone {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown .nav-dropdown__menu,
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    padding: 0 6px;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    max-height: 320px;
    padding: 6px;
    visibility: visible;
  }

  .nav-dropdown.is-open .nav-dropdown__caret {
    transform: rotate(180deg);
  }

  .nav-dropdown__link {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   LIGHTBOX (скриншоты разработок)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  background: rgba(4, 12, 26, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1400px, calc(100vw - 180px));
}

.lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
  font-weight: 600;
  text-align: center;
  max-width: 720px;
  margin-top: -8px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.lightbox__close:hover {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(90deg);
}

.lightbox__nav {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.lightbox__nav:hover {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.06);
}

.lightbox__nav[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 680px) {
  .lightbox {
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px;
    gap: 14px;
  }

  .lightbox__stage {
    max-width: 100%;
  }

  .lightbox__stage img {
    max-height: calc(100vh - 240px);
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }
}