/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #fdf3e7 0, #fff9f2 35%, #ffffff 75%);
  color: #2b170f;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* subtle paper grain (very light) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 23, 15, 0.35) 1px, transparent 0);
  background-size: 22px 22px;
  mix-blend-mode: multiply;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* PAGE BACKGROUND GRADIENT / GLOW */
.page-gradient {
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(161, 98, 63, 0.25), transparent 60%),
    radial-gradient(circle at top right, rgba(255, 138, 60, 0.35), transparent 55%),
    radial-gradient(circle at bottom, rgba(250, 204, 165, 0.4), transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    135deg,
    rgba(253, 244, 233, 0.9),
    rgba(255, 249, 243, 0.9)
  );
  border-bottom: 1px solid rgba(203, 161, 120, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #5f3c2b,
    #ff8a3c,
    #fbbf77,
    #7b4a31,
    #5f3c2b
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  box-shadow:
    0 10px 26px rgba(107, 64, 36, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.logo-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
}

/* LOGO IMAGE (PNG) */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(43, 23, 15, 0.78);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a3c, #facc8f);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: #2b170f;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 149, 94, 0.8);
  box-shadow:
    0 10px 24px rgba(180, 105, 52, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  color: #070b12 !important;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 26px;
  height: 22px;
  justify-content: center;
  align-items: center;
}

.burger span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.9);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(40deg);
}

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

.burger.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-40deg);
}

/* GLASS CARD */
.glass {
  backdrop-filter: blur(20px);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(255, 245, 233, 0.96));
  border-radius: 24px;
  border: 1px solid rgba(222, 184, 135, 0.6);
  box-shadow:
    0 24px 60px rgba(107, 64, 36, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

/* HERO */
.hero {
  padding: 40px 0 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 149, 94, 0.7);
  background: radial-gradient(circle at 0 0, rgba(255, 180, 120, 0.65), transparent 52%),
    rgba(255, 252, 248, 0.96);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(43, 23, 15, 0.9);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 16px;
  max-width: 520px;
  color: rgba(43, 23, 15, 0.78);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

/* secondary CTA lighter */
.btn-ghost-lite {
  padding: 8px 14px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.55);
}

.btn.primary {
  background: linear-gradient(135deg, #ff8a3c, #f6b16a);
  color: #ffffff;
  box-shadow:
    0 16px 40px rgba(158, 89, 38, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 60px rgba(158, 89, 38, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.55);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(222, 184, 135, 0.9);
  color: #2b170f;
}

.btn.ghost:hover {
  background: rgba(250, 252, 255, 0.95);
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(143, 89, 50, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

.btn.large {
  padding: 12px 26px;
  font-size: 15px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.7);
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(222, 184, 135, 0.9);
}

.hero-meta span {
  line-height: 1.25;
}

/* Hero Visual: блок с фото сверху, «Почему мы» снизу; колонка шире */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.hero-card {
  position: relative;
  padding: 18px 18px 16px;
}

.hero-card-main {
  min-height: 260px;
  overflow: hidden;
}

.hero-card-strong {
  padding: 20px 20px 18px;
  box-shadow:
    0 30px 80px rgba(107, 64, 36, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

.hero-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(43, 23, 15, 0.72);
  margin-bottom: 10px;
}

.hero-tag-strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
}

.hero-tag-badge {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 238, 218, 0.92);
  border: 1px solid rgba(226, 149, 94, 0.65);
  color: rgba(95, 60, 43, 0.9);
}

.hero-before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-image-placeholder {
  position: relative;
  border-radius: 24px;
  height: 180px;
  background:
    radial-gradient(circle at 5% 0, rgba(252, 211, 77, 0.9), transparent 60%),
    radial-gradient(circle at 85% 10%, rgba(96, 165, 250, 0.9), transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(244, 114, 182, 0.9), transparent 60%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 45px rgba(147, 197, 253, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.food-chip {
  position: absolute;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

.food-chip:nth-child(2) {
  top: 32%;
  left: 13%;
}

.food-chip:nth-child(3) {
  top: 20%;
  right: 20%;
}

.food-chip:nth-child(4) {
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
}

.tech-orbit {
  position: absolute;
  inset: 20%;
  border-radius: 32px;
  border: 1px dashed rgba(248, 250, 252, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.tech-orbit.secondary {
  inset: 10%;
  border-style: solid;
  border-color: rgba(248, 250, 252, 0.3);
  mix-blend-mode: screen;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

/* HERO quote */
.hero-quote {
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 241, 225, 0.75);
  border: 1px solid rgba(226, 149, 94, 0.45);
}

.hero-quote-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: #2b170f;
}

.hero-quote-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(222, 184, 135, 0.7);
}

.hero-quote-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(43, 23, 15, 0.75);
}

.hero-card-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.hero-card-caption {
  font-size: 12px;
  color: rgba(7, 11, 18, 0.7);
}

.hero-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(22, 101, 52, 0.9);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(240, 253, 250, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.7);
}

.hero-status-dot span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}

.hero-card-side {
  max-width: 100%;
  margin-left: 0;
}

.hero-card-square {
  aspect-ratio: 1;
  width: 100%;
  max-width: 320px;
  margin-top: 20px;
  box-sizing: border-box;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(7, 11, 18, 0.6);
}

.hero-stat-value {
  font-size: 16px;
  font-weight: 600;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(199, 210, 254, 0.95);
}

/* SECTIONS */
.section {
  padding: 40px 0;
}

.section-header {
  max-width: 620px;
  margin-bottom: 22px;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: rgba(7, 11, 18, 0.7);
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 20px 18px 18px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 160, 90, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
}

.gradient-icon {
  background: radial-gradient(circle at 0 0, #ff8a3c, #fbbf77);
  color: #ffffff;
  box-shadow:
    0 12px 26px rgba(166, 88, 34, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(43, 23, 15, 0.78);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.78);
}

.card-list li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "•";
  color: #ff8a3c;
  font-size: 14px;
  line-height: 1.2;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-item {
  padding: 18px 16px 16px;
}

.why-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(199, 210, 254, 0.9);
  margin-bottom: 10px;
}

.why-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.why-item p {
  margin: 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.78);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  padding: 10px;
}

.gallery-image {
  border-radius: 22px;
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.4);
}

.gallery-image span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 14px 10px;
  background: rgba(26, 15, 8, 0.82);
  border-radius: 10px;
  line-height: 1.35;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.02);
}

.gallery-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.1), transparent 55%);
}

.placeholder.gradient-one {
  background: linear-gradient(135deg, #ff9248, #ff3f6c);
}

.placeholder.gradient-two {
  background: linear-gradient(135deg, #22c1c3, #3a7bd5);
}

.placeholder.gradient-three {
  background: linear-gradient(135deg, #f97316, #ec4899);
}

.placeholder.gradient-four {
  background: linear-gradient(135deg, #6366f1, #22c55e);
}

.placeholder.gradient-five {
  background: linear-gradient(135deg, #06b6d4, #4ade80);
}

.placeholder.gradient-six {
  background: linear-gradient(135deg, #facc15, #f97316);
}

/* PROCESS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 138, 60, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(43, 23, 15, 0.68);
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: rgba(43, 23, 15, 0.78);
}

/* CONTACT */
.contact-section {
  padding-bottom: 64px;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 22px 20px;
}

.contact-text h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 22px;
}

.contact-text p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(43, 23, 15, 0.78);
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
}

.contact-note {
  font-size: 12px;
  color: rgba(43, 23, 15, 0.68);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(210, 180, 140, 0.8);
  background: rgba(255, 248, 239, 0.95);
  backdrop-filter: blur(18px);
  padding: 12px 0 14px;
  font-size: 12px;
  color: rgba(7, 11, 18, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-tagline {
  margin-left: 10px;
  color: rgba(71, 40, 24, 0.65);
}

.footer-meta {
  color: rgba(71, 40, 24, 0.65);
}

/* HERO ADD-ONS */
.hero-menu-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-menu-note {
  font-size: 13px;
  color: rgba(43, 23, 15, 0.7);
}

/* New HERO price block (near CTA) */
.hero-price {
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  margin: 2px 0 16px;
}

.hero-price-sub {
  font-size: 12px;
  color: rgba(43, 23, 15, 0.72);
  padding-left: 6px;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-badge {
  padding: 6px 16px;
  border-radius: 999px;
  position: relative;
  overflow: visible;
}

.price-badge--hero {
  padding: 10px 20px;
}

.price-badge__brush {
  position: absolute;
  inset: -8px -18px;
  background:
    radial-gradient(circle at 15% 0, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.9), transparent 50%),
    linear-gradient(120deg, #ffbf84, #ff8a3c, #e96b2f);
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  box-shadow:
    0 8px 22px rgba(166, 88, 34, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  opacity: 0.96;
}

.price-badge__sketch {
  position: absolute;
  inset: -12px -22px;
  border-radius: 999px;
  border: 2px dashed rgba(95, 60, 43, 0.35);
  transform: rotate(-6deg);
  filter: blur(0.2px);
  opacity: 0.9;
}

.price-badge__text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  color: #3b2518;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.price-badge--hero .price-badge__text {
  font-size: 18px; /* ~30% larger anchor */
}

.price-badge--hero .price-badge__brush {
  inset: -10px -20px;
  opacity: 1;
}

/* BEFORE / AFTER */
.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.before-after-item {
  position: relative;
  border-radius: 18px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 120px;
}

.before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.before-after-item > * {
  position: relative;
  z-index: 1;
}

.before-placeholder::after,
.after-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.22), transparent 60%);
  opacity: 0.55;
}

.after-placeholder::after {
  opacity: 0.2;
}

.before-placeholder {
  background: linear-gradient(135deg, #5b4337, #2b170f);
  color: rgba(248, 244, 239, 0.9);
}

.after-placeholder {
  background: linear-gradient(135deg, #ffe0b8, #ffb26b);
  color: #3b2518;
}

.before-after-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.before-after-caption {
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.after-placeholder .before-after-caption {
  text-shadow: 0 10px 30px rgba(43, 23, 15, 0.18);
}

.hero-before-after {
  margin-top: 12px;
}

.hero-before-after .before-after-item {
  min-height: 260px;
}

/* PAIN SECTION */
.pain-section .section-header p {
  max-width: 560px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.pain-card {
  padding: 16px 14px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pain-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(222, 184, 135, 0.75);
  flex: 0 0 auto;
}

.pain-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.86);
}

/* CLIENTS SECTION «Нам доверяют» */
.clients-section .section-header p {
  max-width: 560px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

/* Карточка — кликабельная ссылка целиком */
.client-card {
  padding: 28px 22px 22px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(222, 184, 135, 0.5);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 56px rgba(107, 64, 36, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 32px rgba(255, 138, 60, 0.12);
  border-color: rgba(226, 149, 94, 0.75);
}

.client-card:focus {
  outline: 2px solid rgba(255, 138, 60, 0.7);
  outline-offset: 3px;
}

.client-card:focus:not(:focus-visible) {
  outline: none;
}

/* Обёртка логотипа: фиксированная высота, object-fit contain */
.client-logo-wrap {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

.client-logo-img {
  max-width: 120px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.client-logo-img.client-logo-error {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Заглушка инициалов, если логотип не загрузился */
.client-initials {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 138, 60, 0.2), rgba(226, 149, 94, 0.35));
  border: 1px solid rgba(226, 149, 94, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(43, 23, 15, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.client-initials.client-initials-visible {
  opacity: 1;
}

/* Если логотипа нет (только инициалы в обёртке) — показываем заглушку */
.client-logo-wrap .client-initials:only-child {
  opacity: 1;
}

.client-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(43, 23, 15, 0.92);
  text-align: center;
  margin-bottom: 6px;
}

.client-hint {
  font-size: 12px;
  color: rgba(43, 23, 15, 0.6);
  text-align: center;
}

.clients-note {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.72);
}

.clients-section .btn.primary {
  margin-top: 0;
}

.clients-audit-text {
  margin-top: 22px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.72);
}

.clients-section .btn.ghost {
  margin-top: 0;
}

/* TRUST STRIP */
.trust-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 14px 14px 12px;
}

.trust-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #2b170f;
}

.trust-label {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(43, 23, 15, 0.72);
}

/* PROCESS SECTION */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-price {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.process-price .price-badge {
  margin-right: 28px;
}

.process-price-note {
  font-size: 13px;
  color: rgba(43, 23, 15, 0.76);
}

/* SERVICES SECTION */
.services-section {
  padding-top: 48px;
}

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

.service-card {
  padding: 18px 18px 16px;
}

.service-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.service-card h3 {
  margin: 0;
  font-size: 16px;
}

.service-price {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #5f3c2b;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 238, 218, 0.9);
  border: 1px solid rgba(226, 149, 94, 0.65);
}

.service-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(43, 23, 15, 0.8);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.8);
}

.service-list li {
  margin-bottom: 4px;
}

/* EXAMPLES */
.examples-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.78);
}

/* FINAL CTA / CONTACTS */
.cta-section .contact-inner {
  align-items: flex-start;
}

.steps-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.steps-mini-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.steps-mini-number {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 234, 210, 0.9);
  border: 1px solid rgba(226, 149, 94, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #5f3c2b;
  margin-top: 2px;
}

.steps-mini-item p {
  margin: 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.82);
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(43, 23, 15, 0.85);
}

.contacts-list li {
  margin-bottom: 4px;
}

.contacts-list span {
  font-weight: 500;
  margin-right: 4px;
}

.contacts-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ANIMATIONS */
.animate,
.fade-in,
.fade-in-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
  transform: translateY(0);
}

.fade-in-up {
  transform: translateY(18px);
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* HOVER SCALE */
.card:hover,
.why-item:hover,
.gallery-item:hover,
.step:hover,
.contact-inner:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 0;
  }

  .nav {
    position: fixed;
    inset: 60px 16px auto 16px;
    border-radius: 20px;
    padding: 12px 16px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: rgba(248, 250, 255, 0.98);
    box-shadow:
      0 22px 60px rgba(15, 23, 42, 0.28),
      0 0 0 1px rgba(199, 210, 254, 0.9);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  .burger {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    grid-template-columns: 1fr;
  }

  .hero-card-side {
    margin-left: 0;
    max-width: 100%;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .trust-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta span {
    padding: 6px 10px;
  }

  .before-after {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-price {
    width: 100%;
  }

  .contact-inner {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 480px) {
  .section {
    padding: 42px 0;
  }

  .clients-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-meta {
    font-size: 12px;
  }

  .hero-image-placeholder {
    height: 190px;
  }

  .card,
  .why-item,
  .step,
  .contact-inner {
    border-radius: 20px;
  }
}

