:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --muted: #64748b;
  --paper: #ffffff;
  --paper-warm: #fbf8f0;
  --line: #e8edf3;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

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

button, input, textarea { font: inherit; }

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

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  overflow: visible;
  color: #fff;
  background: rgba(15, 23, 42, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: visible;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark, .footer-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.brand strong, .brand small, .footer-brand strong, .footer-brand small { display: block; }

.brand small, .footer-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 600;
  overflow: visible;
}

.header-nav > a,
.header-nav-trigger {
  position: relative;
  padding: 26px 0;
  color: inherit;
}

.header-nav-trigger {
  display: inline-block;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
}

.header-nav > a:hover,
.header-nav-trigger:hover,
.header-nav > a.active,
.header-nav-trigger.active {
  color: #fff;
}

.header-nav > a.active::after,
.header-nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--gold);
}

.header-nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.header-nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  padding: 8px;
  border-radius: 14px;
  background: #17171b;
  border: 1px solid rgba(201, 162, 77, 0.24);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.header-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.header-nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.header-nav-dropdown a:hover,
.header-nav-dropdown a.active {
  color: #fff;
  background: rgba(201, 162, 77, 0.14);
}

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

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.viber-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
padding-right: 25px;
  border-radius: 8px;
  color: #fff;
  background: #7360f2;
  font-weight: 800;
}

.viber-btn img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.gold-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
}

.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #e7c550);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.26);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  color: #fff;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 38%, rgba(15, 23, 42, 0.55) 62%, rgba(15, 23, 42, 0.25) 100%),
    url("../gruz-200/hero-flowers-candle.png") right center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 132px 0 108px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.42);
}

.hero .gold-pill {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
}

.hero h1 {
  max-width: 620px;
  margin: 22px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

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

.hero-card {
  width: min(100%, 390px);
  justify-self: end;
  padding: 34px;
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-card-label {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-weight: 800;
}

.hero-card h2 {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.18;
}

.hero-card h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold);
}

.hero-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.hero-card li:last-child { border-bottom: 0; }

.quick-strip {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding-bottom: 72px;
}

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

.quick-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
  color: #fff;
}

.quick-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.quick-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 22px;
}

.quick-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.section-head.centered {
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.panel-copy h2,
.cta-copy h2 {
  margin: 16px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p,
.panel-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: 17px;
}

.cases-section { padding: 72px 0; background: #fff; }

.cases-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

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

.case-card {
  min-height: 168px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.case-card img {
  width: 75px;
  height: 75px;
  margin-bottom: 20px;
  object-fit: contain;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}

.process-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.process-panel .gold-pill {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.process-panel .panel-copy p { color: rgba(255, 255, 255, 0.72); }

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

.process-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.process-card-top {
  margin-bottom: 14px;
}

.process-card-top b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #e7c550);
  font-size: 14px;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.docs-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--paper-warm);
}

.docs-section::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  width: min(420px, 38vw);
  height: min(520px, 50vw);
  transform: translateY(-50%);
  opacity: 0.14;
  background: url("../gruz-200/lily-line-large.png") center / contain no-repeat;
  pointer-events: none;
}

.docs-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  font-size: 17px;
  font-weight: 700;
}

.check-list img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-dark);
  font-weight: 800;
}

.price-section { padding: 72px 0; background: #fff; }

.price-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 36px 44px;
  align-items: center;
  padding: 48px 52px;
  border-radius: var(--radius-xl);
  background: var(--paper-warm);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.price-panel .panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.price-panel .panel-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.8vw, 36px);
}

.price-panel .panel-copy p {
  margin: 0;
}

.price-panel .panel-copy .btn {
  width: fit-content;
  margin-top: 14px;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 12px;
}

.factor-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.factor-card img {
  width: 44px;
  height: 44px;
  justify-self: center;
  object-fit: contain;
}

.factor-card span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.related-section {
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}

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

.related-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.related-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.38);
}

.related-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
}

.related-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.related-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.faq-section { padding: 72px 0; background: #fff; }

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

.faq-card {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.faq-card img {
  width: 75px;
  height: 75px;
  margin-bottom: 20px;
  object-fit: contain;
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.2;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}

.final-cta::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -40px;
  width: 360px;
  height: 360px;
  opacity: 0.22;
  background: url("../gruz-200/cta-flowers.png") left bottom / contain no-repeat;
  pointer-events: none;
}

.cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  align-items: start;
  padding: 54px;
  border-radius: var(--radius-xl);
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-panel .gold-pill {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.cta-panel .cta-copy p { color: rgba(255, 255, 255, 0.72); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form label:nth-of-type(3),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea { resize: vertical; }

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #0b1220;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

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

.footer-nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.62);
}

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

.mobile-call {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 800;
  box-shadow: var(--shadow);
}

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

  .hero-inner,
  .cases-layout,
  .process-panel,
  .docs-layout,
  .price-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-card { justify-self: start; width: 100%; }

  .quick-grid,
  .cases-grid,
  .process-grid,
  .factor-grid,
  .related-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }

  .header-phone { display: none; }

  .hero { min-height: auto; }

  .hero-inner { padding: 108px 0 56px; }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88)),
      url("../gruz-200/hero-flowers-candle.png") center top / cover no-repeat;
  }

  .quick-strip { margin-top: -40px; padding-bottom: 56px; }

  .quick-grid,
  .cases-grid,
  .process-grid,
  .factor-grid,
  .related-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .price-panel,
  .cta-panel {
    padding: 26px;
  }

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

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

  .footer-nav { flex-wrap: wrap; }

  .mobile-call { display: flex; }
}
