:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #142235;
  --muted: #5f7188;
  --line: #d7e0ea;
  --primary: #0f3b66;
  --primary-dark: #0b2d4d;
  --accent: #f47c20;
  --accent-dark: #dd6a13;
  --shadow: 0 18px 45px rgba(16, 37, 63, 0.10);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-text strong,
.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.brand-text-hero strong {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: #fff;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-phone {
  font-weight: 700;
  color: #fff;
}

.header-phone-secondary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.header-mail {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #dfe8f1;
}

.hero-clean {
  min-height: 82vh;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 18, 31, 0.86) 0%, rgba(8, 18, 31, 0.58) 45%, rgba(8, 18, 31, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.hero-content-clean {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.hero-title-only {
  max-width: 720px;
}

.hero h1,
.section h2,
.cta-box h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  color: #fff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(244, 124, 32, 0.22);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-secondary-dark {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--line);
}

.btn-secondary-dark:hover {
  background: #f5f8fb;
}

.btn-full {
  width: 100%;
}

.trust-strip {
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

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

.trust-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 224, 234, 0.9);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-item-profile {
  margin-top: 36px;
}

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

.messenger-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fbfe;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.messenger-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 37, 63, 0.10);
}

.messenger-badge--max:hover {
  border-color: rgba(244, 124, 32, 0.35);
}

.messenger-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.messenger-badge--max .messenger-icon {
  background: linear-gradient(135deg, #f7a14b, #f47c20);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef4f9 100%);
}

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

.section-label {
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2,
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--primary-dark);
}

.section-head p,
.contact-info p,
.cta-box p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.services-grid,
.advantages-grid,
.geo-grid {
  display: grid;
  gap: 24px;
}

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

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

.service-card,
.adv-card,
.geo-card,
.geo-note,
.process-side,
.contact-box,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card,
.adv-card {
  padding: 30px;
}

.service-card h3,
.adv-card h3,
.step h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.service-card p,
.adv-card p,
.step p,
.geo-note p {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #eaf1f9, #dce8f4);
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.process-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.process-steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.process-side {
  overflow: hidden;
  min-height: 520px;
}

.process-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.geography-section {
  background: linear-gradient(180deg, #0f2e4d 0%, #12395e 100%);
}

.geography-section .section-label,
.geography-section h2,
.geography-section .section-head p {
  color: #fff;
}

.geography-section .section-head p {
  opacity: 0.8;
}

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

.geo-card,
.geo-note {
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.geo-card span,
.geo-note strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  text-align: left;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  cursor: pointer;
}

.faq-plus {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .2s ease;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.contact-info {
  padding: 42px;
  background: linear-gradient(180deg, #f7fafc 0%, #edf3f8 100%);
  border-right: 1px solid var(--line);
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-row {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-row a,
.contact-row strong {
  font-weight: 700;
  color: var(--primary-dark);
}

.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.contact-messenger-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.contact-messenger-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
  border-color: #b8cadb;
}

.contact-form-wrap {
  padding: 42px;
  background: var(--surface);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  color: var(--primary-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fbfe;
  color: var(--text);
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #8db1d4;
  box-shadow: 0 0 0 4px rgba(20, 72, 120, 0.09);
  background: #fff;
}

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

.cta-box {
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f6fb 100%);
}

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

.site-footer {
  background: #10253f;
  color: #fff;
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  font-size: 1.25rem;
}

.footer-text,
.footer-links a,
.footer-contacts a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 10px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  background: rgba(18, 37, 63, 0.97);
  color: #fff;
  border-radius: 18px;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-btn {
  min-width: 140px;
}

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

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

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .header-contacts {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .services-grid,
  .geo-grid,
  .footer-inner,
  .contact-box,
  .process-layout,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    margin-top: 28px;
  }

  .trust-item-profile {
    margin-top: 0;
  }

  .contact-info {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-side {
    min-height: 340px;
  }

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

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

  .header-inner {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
    max-width: 100%;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text-hero strong {
    display: block;
    font-size: clamp(0.92rem, 4vw, 1.15rem);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .hero,
  .hero-clean {
    min-height: 70vh;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-content-clean {
    min-height: 70vh;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3vh;
  }

  .hero-title-only {
    max-width: 100%;
    width: 100%;
    text-align: center;
    transform: translateY(-40%);
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7.5vw, 2.48rem);
    line-height: 0.98;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
    margin: 0 auto;
  }

  .trust-strip {
    margin-top: 20px;
  }

  .service-card,
  .adv-card,
  .geo-card,
  .geo-note,
  .contact-info,
  .contact-form-wrap,
  .cta-box {
    padding: 24px;
  }

  .step {
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

  .step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .messenger-list,
  .contact-messengers {
    flex-direction: column;
    align-items: stretch;
  }

  .messenger-badge,
  .contact-messenger-link {
    justify-content: center;
  }

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

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    overflow: hidden;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text-hero strong {
    font-size: 0.84rem;
    letter-spacing: -0.02em;
  }

  .hero-content {
    padding: 28px 0;
  }

  .hero-content-clean {
    min-height: calc(70vh - 20px);
    padding-top: 2vh;
  }

  .hero-title-only {
    transform: translateY(-40%);
  }

  .hero h1 {
    font-size: clamp(1.35rem, 9vw, 2rem);
  }
}