:root {
  --bg: #053322;
  --panel: rgba(5, 36, 25, 0.84);
  --panel-strong: rgba(4, 31, 21, 0.98);
  --gold: #d7ae2b;
  --gold-soft: #f0cf66;
  --text: #f5f2e9;
  --muted: rgba(245, 242, 233, 0.72);
  --line: rgba(215, 174, 43, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(23, 93, 63, 0.46), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(240, 207, 102, 0.08), transparent 22%),
    linear-gradient(180deg, #063a27 0%, #052e20 52%, #041f17 100%);
  overflow-x: hidden;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.06), transparent 25%),
    radial-gradient(circle at 78% 8%, rgba(215, 174, 43, 0.08), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.045), transparent 28%);
}

.header,
.section,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.header {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 20;
}

.brand img {
  display: block;
  width: min(330px, 34vw);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

.nav-item {
  position: relative;
}

.nav a,
.header-phone,
.contact-list a {
  transition: color 0.25s ease;
}

.nav a:hover,
.header-phone:hover,
.contact-list a:hover {
  color: var(--gold-soft);
}

.header-phone {
  color: var(--gold-soft);
  font-weight: 700;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  width: 320px;
  display: grid;
  gap: 0;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: rgba(245, 242, 233, 0.86);
  background-color: #06291d;
  background-image: none;
  border-color: rgba(215, 174, 43, 0.28);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav-dropdown strong {
  display: block;
  padding: 10px 20px 14px;
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dropdown span {
  display: block;
  padding: 12px 20px;
  border-top: 1px solid rgba(215, 174, 43, 0.14);
}

.nav-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  min-height: 42px;
  margin: 12px 20px 10px;
  border: 1px solid rgba(215, 174, 43, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.nav-telegram:hover {
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.section {
  margin-bottom: 112px;
}

.hero {
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

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

h1,
h2,
.request-panel strong {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 35px rgba(215, 174, 43, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(215, 174, 43, 0.35);
  background: rgba(255, 255, 255, 0.025);
}

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

.hero-metrics div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  justify-self: end;
  width: min(100%, 390px);
}

.hero-card-inner,
.info-card,
.price-card,
.trust-strip,
.step,
.review-card,
.faq-card,
.request-panel,
.request-form,
.modal-dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  border-radius: 32px;
  padding: 34px;
}

.hero-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-card strong {
  display: block;
  margin-bottom: 20px;
  font-size: 28px;
}

.hero-card > .hero-card-inner > a {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: 24px;
  font-weight: 700;
}

.messengers {
  display: flex;
  gap: 10px;
}

.messengers a {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 11px 16px;
  color: var(--muted);
}

.trust-strip {
  border-radius: 24px;
  padding: 24px 28px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 18px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 28px;
}

.seo-copy {
  max-width: 900px;
}

.seo-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

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

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

.info-card,
.price-card,
.step,
.review-card,
.faq-card {
  border-radius: 26px;
  padding: 28px;
}

.info-card span,
.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(215, 174, 43, 0.14);
  color: var(--gold-soft);
}

.info-card h3,
.price-card h3,
.step h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.info-card p,
.price-card p,
.step p,
.review-card p,
.faq-card p,
.request-copy p,
.request-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.faq-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

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

.review-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.review-card strong {
  margin-top: 18px;
}

.reviews-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.price-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-size: 32px;
}

.price-card.featured {
  transform: translateY(-10px);
  border-color: rgba(215, 174, 43, 0.42);
  background: linear-gradient(180deg, rgba(34, 42, 18, 0.96), rgba(5, 34, 24, 0.95));
}

.pricing-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px 24px;
  background: var(--panel);
}

.pricing-note span {
  color: var(--muted);
}

.pricing-note strong {
  color: var(--gold-soft);
  font-size: 24px;
}

.request {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.request-copy {
  padding-top: 8px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.request-panel,
.request-form {
  display: grid;
  gap: 16px;
  border-radius: 28px;
  padding: 28px;
}

.request-panel strong {
  font-size: 36px;
  font-weight: 600;
}

.request-form label {
  display: grid;
  gap: 8px;
}

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

.request-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.request-form input:focus {
  border-color: rgba(215, 174, 43, 0.6);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 35px rgba(215, 174, 43, 0.28);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 30px;
  padding: 30px;
  background: var(--panel-strong);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-size: 24px;
  cursor: pointer;
}

.modal-head {
  padding-right: 42px;
  margin-bottom: 22px;
}

.modal-head h2 {
  margin-bottom: 12px;
}

.modal-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.modal-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 207, 102, 0.8), transparent);
}

.modal-dialog .request-form {
  gap: 20px;
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: none;
}

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

.form-grid label:nth-child(3),
.form-grid label:nth-child(4),
.form-grid label:nth-child(5) {
  grid-column: 1 / -1;
}

.modal-dialog .request-form input {
  min-height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.modal-dialog .button {
  min-height: 58px;
  font-size: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 960px) {
  .header {
    min-height: auto;
    padding-top: 22px;
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .header-phone {
    order: 2;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .request {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

  .cards-grid,
  .steps,
  .reviews-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .price-card.featured {
    transform: none;
  }

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

@media (max-width: 640px) {
  .header,
  .section,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .section {
    margin-bottom: 78px;
  }

  .brand img {
    width: min(250px, 76vw);
  }

  .nav {
    gap: 18px;
    font-size: 14px;
  }

  .nav-dropdown {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text,
  .trust-strip p {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .hero-card-inner,
  .info-card,
  .price-card,
  .step,
  .request-panel,
  .request-form {
    padding: 22px;
  }

  .footer {
    min-height: auto;
    padding: 24px 0 90px;
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-call {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .modal-dialog {
    padding: 24px 18px 18px;
  }

  .modal-dialog::before {
    left: 18px;
    right: 18px;
  }

  .modal-head {
    padding-right: 36px;
  }

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

  .form-grid label:nth-child(3),
  .form-grid label:nth-child(4),
  .form-grid label:nth-child(5) {
    grid-column: auto;
  }
}
