/* ============================
   CSS Custom Properties
   ============================ */
:root {
  --color-bg: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1c1c28;
  --color-surface: #1e1e2a;
  --color-border: #2a2a3a;
  --color-border-light: #3a3a4a;

  --color-text: #e8e8ed;
  --color-text-secondary: #9a9ab0;
  --color-text-muted: #6a6a80;

  --color-primary: #6c5ce7;
  --color-primary-light: #a29bfe;
  --color-primary-dark: #5a4bd1;
  --color-primary-glow: rgba(108, 92, 231, 0.3);

  --color-accent: #00cec9;
  --color-accent-glow: rgba(0, 206, 201, 0.3);

  --color-telegram: #2AABEE;

  --color-success: #00b894;
  --color-error: #e17055;

  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-hero: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px var(--color-primary-glow);

  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-max: 1200px;
  --header-height: 72px;
}

/* ============================
   Reset & Base
   ============================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ============================
   Utility
   ============================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary-light);
  background: rgba(108, 92, 231, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--color-primary-glow), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn--outline {
  border: 2px solid var(--color-border-light);
  color: var(--color-text);
}

.btn--outline:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  background: rgba(108, 92, 231, 0.05);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn--full {
  width: 100%;
}

.btn--header {
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  box-shadow: var(--shadow-glow);
}

.btn--header:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--color-primary-glow);
}

.btn--telegram {
  background: var(--color-telegram);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
}

.btn--telegram svg {
  width: 20px;
  height: 20px;
}

.btn--telegram:hover {
  background: #229ED9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.3);
}

.btn__loader {
  display: inline-flex;
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================
   Header
   ============================ */
/* backdrop-filter вынесен в ::before, чтобы не создавать containing block
   для position:fixed у nav (бургер-меню на мобильных) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  transition: background-color var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
}

.header--scrolled::before {
  background: rgba(10, 10, 15, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  z-index: 1001;
  min-width: 3.5em; /* fixed width to prevent layout shift during animation */
}

.logo__w {
  color: var(--color-primary-light);
}

.logo__mid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
}

.logo__eb {
  display: inline-block;
  color: var(--color-text);
  white-space: nowrap;
}

.logo__caret {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent);
  opacity: 0;
  pointer-events: none;
}

.logo__k {
  color: var(--color-primary-light);
}

/* WebK → W^K logo animation (runs once on load) */
.logo--animated {
  gap: 0.12em;
  animation: logoConverge 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.logo--animated .logo__w {
  animation: logoWMargin 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.logo--animated .logo__k {
  animation: logoKMargin 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.logo--animated .logo__mid {
  animation: logoMidShrink 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s forwards;
}

.logo--animated .logo__eb {
  animation: logoEbOut 0.7s ease-out 0.2s forwards;
}

.logo--animated .logo__caret {
  animation: logoCaretIn 0.6s ease-out 0.5s forwards;
}

@keyframes logoConverge {
  from { gap: 0.2em; }
  to { gap: 0; }
}

@keyframes logoWMargin {
  to { margin-right: -0.12em; }
}

@keyframes logoKMargin {
  to { margin-left: -0.12em; }
}

@keyframes logoMidShrink {
  from { min-width: 1.1em; }
  to { min-width: 0.28em; }
}

@keyframes logoEbOut {
  to {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes logoCaretIn {
  to {
    opacity: 1;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-switcher__btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switcher__btn:hover {
  color: var(--color-text-secondary);
}

.lang-switcher__btn--active {
  color: var(--color-text);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__footer {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   Hero
   ============================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: left;
}

.stat__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
}

.stat__plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary-light);
}

.stat__label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero__shape--1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  top: 20%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  bottom: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 150px;
  height: 150px;
  background: var(--color-primary-light);
  top: 10%;
  left: 30%;
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__code {
  position: relative;
  z-index: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 15px;
  line-height: 2;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
}

.code-line {
  white-space: nowrap;
}

.code-keyword { color: var(--color-primary-light); }
.code-var { color: var(--color-text); }
.code-func { color: var(--color-accent); }
.code-string { color: #ffeaa7; }

/* ============================
   Services
   ============================ */
.services {
  padding: 120px 0;
  background: var(--color-bg-secondary);
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--color-border-light);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--color-primary-light);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
}

.service-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__tags li {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.08);
  color: var(--color-primary-light);
  border: 1px solid rgba(108, 92, 231, 0.15);
}

/* ============================
   About
   ============================ */
.about {
  padding: 120px 0;
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
}

.about-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.about-card__number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

.about-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================
   Workflow
   ============================ */
.workflow {
  padding: 120px 0;
  background: var(--color-bg-secondary);
}

.workflow__steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.workflow__steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-primary-light);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.step__icon svg {
  width: 24px;
  height: 24px;
}

.step:hover .step__icon {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.step__content {
  padding-top: 4px;
}

.step__number {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================
   Contact
   ============================ */
.contact {
  padding: 120px 0;
  background: var(--color-bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.form-group {
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a6a80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-block__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-block__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.response-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.response-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.response-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer__brand .logo {
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer__links h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================
   Toast
   ============================ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--error .toast__icon {
  color: var(--color-error);
}

.toast__content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
}

.toast__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-success);
}

.toast__message {
  font-size: 14px;
  font-weight: 500;
}

/* ============================
   Animations (scroll reveal)
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    min-height: 300px;
  }

  .hero__code {
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 1001;
    pointer-events: none;
  }

  .nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav__link {
    font-size: 24px;
    font-weight: 600;
  }

  .header__actions .btn--header {
    display: none;
  }

  .header__actions .lang-switcher {
    display: none;
  }

  .nav {
    flex-direction: column;
  }

  .nav__footer {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
  }

  .nav__footer .lang-switcher {
    padding: 4px;
  }

  .nav__footer .lang-switcher__btn {
    padding: 10px 20px;
    font-size: 15px;
    min-height: 44px;
  }

  .burger {
    display: flex;
  }

  .hero__inner {
    padding: 40px 0 60px;
  }

  .hero__title {
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero__stats {
    gap: 32px;
  }

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

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

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

  .contact-form {
    padding: 32px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .services,
  .about,
  .workflow,
  .contact {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat {
    text-align: center;
  }

  .hero__code {
    font-size: 13px;
    padding: 24px;
  }
}
