:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #121826;
  --muted: #5a6472;
  --line: #d9e0e8;
  --brand: #f4c400;
  --brand-dark: #2f2705;
  --accent: #0f766e;
  --blue: #1d4ed8;
  --dark: #1f2937;
  --danger: #b91c1c;
  --shadow: 0 16px 40px rgba(18, 24, 38, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

.main-nav,
.header-actions,
.hero-actions,
.contact-lines {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav a,
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.footer-grid a:hover {
  color: var(--text);
}

.phone-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  white-space: nowrap;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.lang-switch a[aria-current="page"] {
  background: var(--brand);
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

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

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(244, 196, 0, .24);
}

.btn-primary {
  background: var(--brand);
  border-color: #d7ab00;
  color: var(--brand-dark);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.hero,
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 72px 0 56px;
}

.page-hero {
  padding: 56px 0;
}

.hero-grid,
.split,
.form-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 0;
}

.hero-stats div,
.note-box,
.card,
.lead-form,
.price-list,
.calc-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats div {
  padding: 14px;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  animation: softRise .65s ease .08s both;
}

.hero-content,
.page-hero .split > div:first-child,
.page-hero .note-box {
  animation: softRise .55s ease both;
}

.panel-header,
.work-list div,
.price-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header {
  margin-bottom: 18px;
}

.panel-header span {
  color: var(--muted);
}

.work-list {
  display: grid;
  gap: 10px;
}

.work-list div {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.work-list p {
  flex: 1;
  margin: 0;
}

.work-list strong {
  color: var(--muted);
  font-size: 13px;
}

.status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.done { background: var(--accent); }
.status.live {
  background: var(--blue);
  animation: softPulse 1.8s ease-in-out infinite;
}
.status.wait { background: var(--brand); }

.panel-image {
  display: block;
  margin: 20px auto 0;
  max-height: 210px;
  object-fit: contain;
}

.trust-band {
  background: var(--dark);
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid div {
  padding: 22px 18px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  color: #cbd5e1;
}

.section {
  padding: 64px 0;
}

.muted-section {
  background: var(--surface-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  padding: 22px;
  animation: softRise .5s ease both;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #c6d1df;
  box-shadow: var(--shadow);
}

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

.card-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent);
  font-weight: 700;
}

.service-price {
  display: block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 22px;
}

.proof-grid,
.case-grid,
.service-layout,
.pain-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.case-grid,
.service-layout {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.proof-item,
.case-card,
.service-layout article,
.pain-grid article,
.metric-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  animation: softRise .5s ease both;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.proof-item:hover,
.case-card:hover,
.service-layout article:hover,
.pain-grid article:hover,
.metric-grid article:hover,
.map-links a:hover,
.messenger-link:hover {
  transform: translateY(-2px);
  border-color: #c6d1df;
  box-shadow: var(--shadow);
}

.proof-item strong,
.proof-item span,
.pain-grid strong,
.pain-grid span,
.metric-grid strong,
.metric-grid span {
  display: block;
}

.proof-item strong,
.metric-grid strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.proof-item span,
.case-card p,
.service-layout p,
.pain-grid span,
.metric-grid span,
.check-list {
  color: var(--muted);
}

.pain-section {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, .06), rgba(255, 255, 255, 0)),
    var(--surface);
}

.pain-grid strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.compact-cards .card {
  min-height: 210px;
}

.calc-box {
  display: grid;
  gap: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.calc-box label {
  display: grid;
  gap: 7px;
}

.calc-box label span {
  color: var(--muted);
  font-size: 14px;
}

.calc-box input,
.calc-box select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.calc-result {
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 8px;
  background: rgba(15, 118, 110, .08);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
}

.case-card p:last-child {
  margin-bottom: 0;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 8px;
}

.price-list {
  padding: 10px;
}

.price-list div {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list span {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 700;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form label span {
  color: var(--muted);
  font-size: 14px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .check {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.lead-form .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form .check input {
  min-height: auto;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-ok {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-lines {
  flex-wrap: wrap;
  margin-top: 22px;
}

.contact-lines a {
  color: var(--text);
  font-weight: 700;
}

.map-links,
.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.map-links a,
.messenger-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.messenger-link {
  gap: 8px;
}

.messenger-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.messenger-link[aria-label="Telegram"] {
  color: #1677b8;
}

.messenger-link[aria-label="WhatsApp"] {
  color: #128c4a;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.map-section {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-grid {
  align-items: stretch;
}

.contact-grid iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.note-box {
  padding: 24px;
  border-left: 5px solid var(--brand);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

td:last-child,
th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 72px;
  background: var(--dark);
  color: #e5e7eb;
}

.footer-grid {
  grid-template-columns: 1fr auto auto;
}

.footer-grid p {
  margin: 0;
  color: #cbd5e1;
}

.footer-grid div:nth-child(2) {
  display: flex;
  gap: 18px;
}

.footer-grid a {
  color: #e5e7eb;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .header-row {
    gap: 12px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero-grid,
  .split,
  .form-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .cards,
  .steps,
  .proof-grid,
  .case-grid,
  .service-layout,
  .pain-grid,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero,
  .page-hero,
  .section,
  .map-section {
    padding: 42px 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats,
  .trust-grid,
  .cards,
  .steps,
  .proof-grid,
  .case-grid,
  .service-layout,
  .pain-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats dt {
    font-size: 24px;
  }

  .footer-grid div:nth-child(2) {
    flex-wrap: wrap;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--surface);
    border-top: 1px solid var(--line);
  }

  .mobile-cta a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid var(--line);
  }

  .mobile-cta a:last-child {
    border-right: 0;
  }
}

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