:root {
  /* тёмно-зелёный — основной */
  --bg:        #080e09;
  --bg-alt:    #080e09;
  --card:      #0e1f13;
  --border:    #1a3820;
  --border-md: #276030;

  /* золотой — второй */
  --yellow:    #e8b840;
  --yellow-dk: #c09820;

  /* чёрный — больше присутствия */
  --black:       #060a07;
  --bg-black:    #080e09;
  --card-black:  #0b1209;

  /* текст */
  --white:  #ffffff;
  --muted:  #7a9e84;
  --text:   #ddeee3;

  /* служебный зелёный для кнопки primary */
  --green:    #4dca7e;
  --green-dk: #35a863;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(77, 202, 126, 0.10), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(232, 184, 64, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(6, 10, 7, 0.34), rgba(6, 10, 7, 0.12));
}

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

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

.bubble-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.82;
}

.bubble {
  --size: 180px;
  --x: 70vw;
  --y: 18vh;
  --scale: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.30;
  pointer-events: auto;
  transform: translate3d(var(--x), var(--y), 0) scale(var(--scale));
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.30) 0 6%, transparent 8%),
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.12) 0 14%, transparent 15%),
    radial-gradient(circle at 64% 70%, rgba(77, 202, 126, 0.18), transparent 38%),
    radial-gradient(circle at 42% 42%, rgba(232, 184, 64, 0.11), transparent 58%),
    radial-gradient(circle, rgba(15, 80, 42, 0.13), rgba(8, 28, 16, 0.04) 62%, transparent 72%);
  border: 1px solid rgba(232, 184, 64, 0.22);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.07),
    inset -24px -28px 58px rgba(77, 202, 126, 0.08),
    0 0 42px rgba(77, 202, 126, 0.08);
  will-change: transform, opacity, filter;
}

.bubble::before,
.bubble::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.bubble::before {
  inset: -10%;
  border: 2px solid rgba(232, 184, 64, 0.36);
}

.bubble::after {
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 -44px 0 rgba(255, 255, 255, 0.82),
    31px -31px 0 rgba(232, 184, 64, 0.68),
    44px 0 0 rgba(77, 202, 126, 0.72),
    31px 31px 0 rgba(255, 255, 255, 0.70),
    0 44px 0 rgba(232, 184, 64, 0.62),
    -31px 31px 0 rgba(77, 202, 126, 0.68),
    -44px 0 0 rgba(255, 255, 255, 0.70),
    -31px -31px 0 rgba(232, 184, 64, 0.64);
  transform: translate(-50%, -50%) scale(0.25);
}

.bubble.popping {
  animation: bubble-pop 560ms ease-out forwards;
}

.bubble.popping::before {
  animation: bubble-ring 560ms ease-out forwards;
}

.bubble.popping::after {
  animation: bubble-sparks 560ms ease-out forwards;
}

.bubble-1 { --size: 340px; --x: 68vw; --y: 12vh; opacity: 0.30; }
.bubble-2 { --size: 180px; --x: 42vw; --y: 7vh; opacity: 0.26; }
.bubble-3 { --size: 130px; --x: 78vw; --y: 66vh; opacity: 0.32; }
.bubble-4 { --size: 68px; --x: 48vw; --y: 35vh; opacity: 0.28; }
.bubble-5 { --size: 230px; --x: 84vw; --y: 78vh; opacity: 0.24; }
.bubble-6 { --size: 96px; --x: 18vw; --y: 72vh; opacity: 0.26; }
.bubble-7 { --size: 54px; --x: 10vw; --y: 24vh; opacity: 0.30; }

@keyframes bubble-pop {
  0% {
    opacity: 0.30;
    filter: blur(0);
    transform: translate3d(var(--x), var(--y), 0) scale(calc(var(--scale) * 1));
  }
  24% {
    opacity: 0.42;
    filter: blur(0);
    transform: translate3d(var(--x), var(--y), 0) scale(calc(var(--scale) * 0.82));
  }
  42% {
    opacity: 0.56;
    filter: blur(0);
    transform: translate3d(var(--x), var(--y), 0) scale(calc(var(--scale) * 1.14));
  }
  58% {
    opacity: 0.06;
    transform: translate3d(var(--x), var(--y), 0) scale(calc(var(--scale) * 1.02));
  }
  100% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(var(--x), var(--y), 0) scale(calc(var(--scale) * 0.92));
  }
}

@keyframes bubble-ring {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  35% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes bubble-sparks {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15) rotate(0deg);
  }
  24% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.20) rotate(0deg);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.95) rotate(10deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.75) rotate(28deg);
  }
}

.messenger-dock {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  grid-template-rows: repeat(2, 42px);
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 10px;
  border: 1px solid rgba(232, 184, 64, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(6, 10, 7, 0.86);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.34),
    inset 0 0 34px rgba(77, 202, 126, 0.10);
  backdrop-filter: blur(14px);
}

.messenger-dock::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(77, 202, 126, 0.18);
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, filter 0.2s;
}

.messenger-link svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}

.messenger-link:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}

.messenger-link--telegram {
  background: linear-gradient(145deg, #36aee2, #168acd);
}

.messenger-link--whatsapp {
  background: linear-gradient(145deg, #41d96f, #128c4a);
}

.messenger-link--max {
  grid-column: 1 / -1;
  justify-self: center;
  background: linear-gradient(145deg, #5677ff, #2d45c7);
}

.messenger-link--max span {
  line-height: 1;
  transform: translateY(-1px);
}

/* ── HEADER ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(4, 8, 5, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 900;
  font-size: 17px;
  color: var(--yellow);
  letter-spacing: 0.07em;
  white-space: nowrap;
}

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

.nav a {
  color: var(--text);
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover { color: var(--yellow); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(11, 18, 9, 0.88);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 9px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--yellow);
  color: var(--black);
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-order:hover { background: var(--yellow-dk); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px clamp(20px, 5vw, 90px) 80px;
  background: var(--bg-black);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border-md);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 36px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--white);
}

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

.hero-sub {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--green-dk); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover { border-color: var(--yellow); transform: translateY(-1px); }

/* Hero orbs */
/* ── SECTION COMMONS ── */
.section {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 90px);
}

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

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-transform: uppercase;
  margin: 0 0 16px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 14px;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── SERVICES ── */
.services-section { background: var(--bg-black); }

.services-hint {
  margin-bottom: 28px;
}

.services-hint span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(240, 192, 48, 0.08);
  border: 1px solid rgba(240, 192, 48, 0.28);
  border-radius: 24px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
}

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

/* Flip card */
.flip-card {
  perspective: 1000px;
  cursor: pointer;
  outline: none;
  min-height: 280px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.flip-card:hover .flip-front,
.flip-card:hover .flip-back {
  border-color: var(--border-md);
}

.flip-back { transform: rotateY(180deg); }

.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border: 1px solid rgba(232, 184, 64, 0.34);
  border-radius: 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.svc-icon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border: 1px solid rgba(232, 184, 64, 0.34);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--yellow);
}

.flip-front h3 { font-size: 17px; margin-bottom: 8px; }

.flip-front p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0;
}

.svc-price {
  font-weight: 700;
  color: var(--yellow);
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 6px;
}

.svc-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}

.pl-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.pl-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.pl-row:last-child { border-bottom: none; }
.pl-row span { color: var(--muted); }
.pl-row strong { color: var(--white); white-space: nowrap; font-weight: 700; }
.pl-green { color: var(--green) !important; }

/* ── PRINCIPLES ── */
.principles-section { background: var(--bg-black); }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pc {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color 0.2s;
}

.pc:hover { border-color: var(--border-md); }

.pc--highlight { border-color: var(--yellow); }

.pc-icon {
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--card-black);
  margin-bottom: 14px;
}

.pc h3 { font-size: 15px; margin-bottom: 8px; }

.pc p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── PROCESS ── */
.process-section { background: var(--bg-black); }

.process-line {
  width: 44px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 46px;
  position: relative;
}

.step {
  position: relative;
  padding: 0 32px 0 0;
}

.step::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 5px;
  width: 18px;
  height: 10px;
  border-top: 2px solid rgba(232, 184, 64, 0.50);
  border-right: 2px solid rgba(232, 184, 64, 0.50);
  transform: rotate(45deg);
}

.step:nth-child(3n)::after,
.step:last-child::after {
  display: none;
}

.step--wide {
  grid-column: span 1;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(232, 184, 64, 0.38);
  border-radius: 18px;
  background: rgba(232, 184, 64, 0.08);
  font-size: 18px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 14px;
}

.step strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── AGENTS ── */
.agents-section { background: var(--bg-black); }

.agents-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.agents-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.agents-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agents-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-black);
  transition: border-color 0.2s;
}

.agents-list li:hover { border-color: var(--border-md); }

.ag-arrow {
  color: var(--yellow);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.agents-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.agents-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.partner-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-black);
}

.partner-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
}

.partner-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.partner-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.partner-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.btn-yellow:hover { background: var(--yellow-dk); transform: translateY(-1px); }
.btn-yellow.full { width: 100%; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg-black); }

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

.review-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(14, 31, 19, 0.86);
  transition: border-color 0.2s, transform 0.2s;
}

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

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.review-top strong,
.review-top span {
  display: block;
}

.review-top strong {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 3px;
}

.review-top span:not(.review-stars) {
  color: var(--muted);
  font-size: 12px;
}

.review-stars {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.review-form {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(39, 96, 48, 0.72);
  border-radius: 12px;
  background: rgba(11, 18, 9, 0.76);
}

.review-form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.review-form-head h3 {
  margin-bottom: 0;
}

.review-form-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 160px;
  gap: 12px;
  align-items: end;
}

.review-form .review-text {
  grid-column: 1 / -1;
}

.review-form .btn-yellow {
  margin-top: 4px;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--bg-black);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-left h2 { margin-bottom: 12px; }
.contact-left .section-sub { margin-bottom: 32px; }

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-black);
  transition: border-color 0.2s;
  font-size: 20px;
}

.contact-option:hover { border-color: var(--border-md); }

.contact-option > span:first-child {
  flex: 0 0 44px;
}

.contact-option strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.contact-option span:last-child {
  font-size: 13px;
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-black);
}

.contact-form h3 { font-size: 18px; margin-bottom: 4px; }

.form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
}

.form-group select option { background: var(--card); }

.contact-form .btn-yellow { margin-top: 8px; }

/* ── FOOTER ── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 90px);
  border-top: 1px solid var(--border);
  background: var(--bg-black);
}

.footer-brand {
  font-weight: 900;
  font-size: 15px;
  color: var(--yellow);
  letter-spacing: 0.07em;
}

.footer a,
.footer span:not(.footer-brand) {
  font-size: 14px;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .principles-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .topbar { gap: 14px; }
  .agents-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .review-form-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .review-form-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3n)::after { display: block; }
  .step:nth-child(2n)::after,
  .step:last-child::after { display: none; }
}

@media (max-width: 640px) {
  .messenger-dock {
    right: 14px;
    bottom: 14px;
    width: 96px;
    height: 96px;
    grid-template-columns: repeat(2, 36px);
    grid-template-rows: repeat(2, 36px);
    gap: 6px;
  }

  .messenger-link {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .messenger-link svg {
    width: 20px;
    height: 20px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .services-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step {
    padding-right: 0;
    padding-left: 22px;
  }

  .step::after {
    top: 42px;
    left: 23px;
    right: auto;
    width: 0;
    height: calc(100% - 8px);
    border-top: none;
    border-right: 1px dashed rgba(232, 184, 64, 0.32);
    transform: none;
  }

  .step:nth-child(2n)::after,
  .step:nth-child(3n)::after {
    display: block;
  }

  .step:last-child::after {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
