/* ============================================================
   OPENOSINT — style.css
   ============================================================ */

:root {
  --bg-page: #0a101d;
  --bg-header: #04060c;
  --bg-nav: #080d17;
  --bg-hero: #0a1424;
  --orange: #f07e17;
  --orange-hover: #d96f0f;
  --white: #ffffff;
  --text-gray: #9aa7ba;
  --text-gray-dark: #8b98ac;
  --border-card: rgba(240, 126, 23, .85);
  --font: 'Montserrat', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 38px;
}

.container--narrow {
  max-width: 1048px;
  padding: 0 20px;
}

.container--mid {
  max-width: 1165px;
  padding: 0 20px;
}

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-hover); }
.btn:active { transform: scale(.97); }

.btn--sm { font-size: 13px; padding: 11px 24px; }
.btn--lg { font-size: 13px; padding: 12px 28px; }

/* ============================================================
   HEADER
   ============================================================ */
.header__top { background: var(--bg-header); }

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__icon { width: 44px; height: 44px; flex-shrink: 0; }

.logo__text-wrap { display: flex; flex-direction: column; gap: 3px; }

.logo__title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--white);
  line-height: 1;
}
.logo__title .accent { color: var(--orange); }

.logo__sub {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 1.35px;
  color: #c7d0dd;
}
.logo__sub i {
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
}

/* --- Right side --- */
.header__right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.work-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.work-hours__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.work-hours__value {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-gray);
}

/* --- Burger --- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: none;
  border: 1.5px solid rgba(240, 126, 23, .6);
  border-radius: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--orange);
  transition: transform .3s ease, opacity .3s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile menu --- */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 5, 10, .7);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(300px, 84vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #0d1626 0%, #080e1b 100%);
  border-left: 1px solid rgba(240, 126, 23, .35);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
  transform: translateX(100%);
  transition: transform .35s ease;
}

.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__overlay.is-open { opacity: 1; visibility: visible; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mobile-menu__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.mobile-menu__close {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--text-gray);
  cursor: pointer;
  transition: color .25s ease;
}
.mobile-menu__close:hover { color: var(--orange); }

.mobile-menu__list { padding: 10px 0; }
.mobile-menu__list a {
  display: block;
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color .25s ease, background .25s ease;
}
.mobile-menu__list a:hover,
.mobile-menu__list a:active {
  color: var(--orange);
  background: rgba(240, 126, 23, .07);
}

.mobile-menu__footer {
  margin-top: auto;
  padding: 20px 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.mobile-menu__hours {
  font-size: 13px;
  color: var(--text-gray);
}
.mobile-menu__hours span {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.mobile-menu__btn {
  width: 100%;
  margin-top: 16px;
}

/* --- Nav --- */
.header__nav {
  background: var(--bg-nav);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 56px;
  height: 50px;
}
.nav-list li { flex-shrink: 0; }
.nav-list a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  transition: color .25s ease;
}
.nav-list a:hover { color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(ellipse 120% 100% at 65% 40%, #0d1a30 0%, #081124 55%, #050b18 100%);
  overflow: hidden;
}

.hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --- Floating fx icons --- */
.fx { position: absolute; }

/* Лёгкое "парение" иконок */
@keyframes fx-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes fx-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(240, 126, 23, .35)); }
  50%      { filter: drop-shadow(0 0 20px rgba(240, 126, 23, .7)); }
}

.fx--btc          { animation: fx-float 7s ease-in-out infinite; }
.fx--hex-sm       { animation: fx-float 5.5s ease-in-out 1s infinite, fx-glow 4s ease-in-out infinite; }
.fx--person-orange{ animation: fx-float 6.5s ease-in-out .5s infinite, fx-glow 5s ease-in-out 1.2s infinite; }
.fx--person-gray  { animation: fx-float 8s ease-in-out 2s infinite; }

.magnifier__hex {
  animation: fx-glow 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fx, .magnifier__hex { animation: none !important; }
}

.fx--btc {
  width: 54px;
  left: 46.1%;
  top: 31%;
  opacity: .9;
}

.fx--hex-sm {
  width: 46px;
  left: 50.9%;
  top: 63.5%;
  filter: drop-shadow(0 0 14px rgba(240, 126, 23, .55));
}

.fx--person-orange {
  width: 47px;
  left: 66.2%;
  top: 71.5%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .45));
}

.fx--person-gray {
  width: 47px;
  left: 92.5%;
  top: 39.8%;
}

/* --- Magnifier --- */
.fx--magnifier {
  left: 70.7%;
  top: 12%;
  width: 280px;
  height: 280px;
}

.magnifier__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 9px;
  background: linear-gradient(135deg, #dfe6ef 0%, #8f9aa9 28%, #4a545f 62%, #9aa5b3 100%);
  box-shadow:
    0 0 55px rgba(240, 126, 23, .15),
    0 22px 55px rgba(0, 0, 0, .55);
}

.magnifier__glass {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 50% 55%, rgba(16, 34, 62, .55) 0%, rgba(8, 18, 38, .72) 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.magnifier__hex {
  width: 44%;
  filter: drop-shadow(0 0 20px rgba(240, 126, 23, .75));
}

.magnifier__handle {
  position: absolute;
  width: 38px;
  height: 170px;
  left: 85%;
  top: 85%;
  transform: rotate(-45deg);
  transform-origin: top center;
  border-radius: 20px;
  background: linear-gradient(90deg, #10151d 0%, #2b333f 45%, #0c1118 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
}

/* --- Hero content --- */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 68px;
  padding-bottom: 34px;
}

.hero__content { max-width: 560px; }

.hero__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.hero__text {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-gray);
}

.hero__content .btn--lg { margin-top: 30px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--bg-page);
  padding: 8px 0 60px;
}

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

.feature-card {
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 22px 18px 24px;
  background: rgba(10, 15, 26, .45);
  transition: box-shadow .3s ease, transform .3s ease;
}
.feature-card:hover {
  box-shadow: 0 0 30px rgba(240, 126, 23, .18);
  transform: translateY(-3px);
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

.feature-card__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.feature-card__text {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-gray-dark);
}

/* ============================================================
   ABOUT (O FIRMIE)
   ============================================================ */
.about {
  background: var(--bg-page);
  padding: 26px 0 64px;
}

.section-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--orange);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 40px;
}

/* --- Левая колонка --- */
.about__subtitle {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--white);
}

.about__media {
  position: relative;
  margin-top: 26px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, #0c1830 0%, #081124 60%, #060d1c 100%);
}
#about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* иконки поверх карты */
.amedia {
  position: absolute;
}
.amedia--lock {
  width: 132px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 22px rgba(240, 126, 23, .5));
  animation: fx-glow 4.5s ease-in-out infinite;
}
.amedia--search {
  width: 56px;
  left: 8.5%;
  top: 12%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .4));
  animation: fx-float 6.5s ease-in-out infinite;
}
.amedia--chart {
  width: 56px;
  left: 76%;
  top: 9%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .4));
  animation: fx-float 7s ease-in-out 1s infinite;
}
.amedia--wallet {
  width: 52px;
  left: 4.5%;
  top: 60%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .4));
  animation: fx-float 6s ease-in-out .5s infinite;
}
.amedia--btc {
  width: 54px;
  left: 84%;
  top: 44%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .4));
  animation: fx-float 7.5s ease-in-out 1.5s infinite;
}
.amedia--person {
  width: 50px;
  left: 62%;
  top: 66%;
  filter: drop-shadow(0 0 12px rgba(240, 126, 23, .4));
  animation: fx-float 5.5s ease-in-out 2s infinite;
}

.about__text {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-gray);
}
.about__text .accent { font-weight: 600; }

.about__slogan {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
}

/* --- Правая колонка --- */
.about__right { padding-top: 56px; }

.about__company {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--white);
}

.about__text--light {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #cbd4e0;
}
.about__text--light + .about__text--light { margin-top: 12px; }

.about__list-label {
  margin-top: 26px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
}

.benefits {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 26px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 0;
}

.benefit__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  color: var(--white);
}

.benefit__text {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-gray-dark);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  padding: 48px 0 56px;
  background:
    linear-gradient(180deg, rgba(8, 13, 26, .82) 0%, rgba(10, 16, 30, .9) 100%),
    repeating-linear-gradient(90deg,
      rgba(28, 48, 82, .14) 0px, rgba(28, 48, 82, .14) 3px,
      transparent 3px, transparent 26px),
    repeating-linear-gradient(0deg,
      rgba(22, 38, 66, .1) 0px, rgba(22, 38, 66, .1) 2px,
      transparent 2px, transparent 34px),
    #0b1222;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(240, 126, 23, .06) 0%, transparent 65%);
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto;
}

.stat__number {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--white);
}

.stat__line {
  width: 150px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 18%, var(--orange) 82%, transparent 100%);
}

.stat__caption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--white);
}

/* ============================================================
   TAGLINE
   ============================================================ */
.tagline {
  background:
    repeating-linear-gradient(115deg,
      rgba(255, 255, 255, .016) 0px, rgba(255, 255, 255, .016) 2px,
      transparent 2px, transparent 14px),
    #0a0f1c;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.tagline__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 10px;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  text-align: center;
}

.tagline__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
  color: var(--white);
}

/* ============================================================
   SERVICES (USŁUGI)
   ============================================================ */
.services {
  background: var(--bg-page);
  padding: 54px 0 46px;
}

.services__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
}

.services__subtitle {
  margin-top: 10px;
  font-size: 15px;
  text-align: center;
  color: #c3cdda;
}

.services__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.scard {
  background: rgba(11, 17, 30, .6);
  border: 1px solid rgba(130, 160, 205, .18);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.scard:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 126, 23, .45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4), 0 0 26px rgba(240, 126, 23, .1);
}

.scard__media {
  height: 128px;
  border-bottom: 1px solid rgba(130, 160, 205, .12);
}
.scard__media svg {
  width: 100%;
  height: 100%;
}

.scard__body { padding: 18px 18px 22px; }

.scard__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.scard__check {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1px;
}

.scard__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.scard__text {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-gray-dark);
}

.services__note {
  margin-top: 36px;
  font-size: 15px;
  line-height: 1.75;
  text-align: center;
  color: #dbe2ec;
}
.services__note .accent { font-weight: 600; }

/* ============================================================
   CTA + FORM
   ============================================================ */
.cta {
  position: relative;
  background:
    radial-gradient(ellipse 42% 70% at 0% 85%, rgba(240, 126, 23, .08) 0%, transparent 60%),
    radial-gradient(ellipse 38% 60% at 100% 10%, rgba(240, 126, 23, .05) 0%, transparent 60%),
    linear-gradient(180deg, #080d19 0%, #0a101f 100%);
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  padding: 52px 0 56px;
  overflow: hidden;
}

#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 48px;
  align-items: start;
}

.cta__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
}

.cta__features {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cta-feature__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-feature__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.cta-feature__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.cta-feature__text {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-gray);
}

.cta__note {
  margin-top: 34px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #dbe2ec;
}
.cta__note .accent { font-weight: 600; }

/* --- Form card --- */
.form-card {
  background: linear-gradient(165deg, #131b2c 0%, #0e1524 100%);
  border: 1px solid rgba(130, 160, 205, .14);
  border-radius: 16px;
  padding: 32px 32px 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.form-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.form-card__subtitle {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--orange);
}

.contact-form { margin-top: 22px; }

.field {
  position: relative;
  margin-bottom: 14px;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(9, 14, 26, .8);
  border: 1px solid rgba(240, 126, 23, .55);
  border-radius: 9px;
  padding: 15px 16px 15px 44px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 116px;
}
.field input::placeholder,
.field textarea::placeholder { color: #7d8a9e; }

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 126, 23, .15);
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: #e0452b; }

.field__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Телефон с выбором страны */
.field--phone input { padding-left: 126px; }

.field__prefix {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 0;
  border: none;
  border-right: 1px solid rgba(130, 160, 205, .25);
  background: none;
  cursor: pointer;
  font-family: var(--font);
}
.field__prefix:hover .field__code { color: var(--white); }

.field__flag-wrap { display: flex; }
.field__flag { width: 21px; height: 15px; border-radius: 2px; }
.field__code {
  font-size: 14px;
  color: #c3cdda;
  transition: color .2s ease;
}
.field__chevron { width: 9px; height: 6px; }

.field__icon--phone { left: 99px; }

/* выпадающий список стран */
.country-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  width: 260px;
  max-height: 228px;
  overflow-y: auto;
  background: #101828;
  border: 1px solid rgba(240, 126, 23, .4);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  padding: 5px;
}
.country-list::-webkit-scrollbar { width: 8px; }
.country-list::-webkit-scrollbar-thumb {
  background: rgba(240, 126, 23, .35);
  border-radius: 4px;
}
.country-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }

.country-list__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease;
}
.country-list__item:hover { background: rgba(240, 126, 23, .14); }

.country-list__name {
  font-size: 13.5px;
  color: var(--white);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-list__code {
  font-size: 13px;
  color: var(--text-gray);
}

.btn--form {
  width: 100%;
  font-size: 15px;
  padding: 15px 10px;
  margin-top: 6px;
}

.contact-form__status {
  margin-top: 14px;
  font-size: 13.5px;
  text-align: center;
  color: #58c98a;
}
.contact-form__status.is-error { color: #e0452b; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--bg-page);
  padding: 30px 0 34px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.trust-item__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.trust-item__text {
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-gray);
}

/* ============================================================
   WHY US
   ============================================================ */
.why {
  background: var(--bg-page);
  padding: 56px 0 64px;
}

.why__title {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}
.why__title .accent { font-weight: 700; }

.why__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.why-item { text-align: center; }

.why-item__circle {
  width: 162px;
  height: 162px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 126, 23, .75);
  padding: 4px;
  box-shadow: 0 0 32px rgba(240, 126, 23, .12);
  transition: box-shadow .3s ease, transform .3s ease;
}
.why-item:hover .why-item__circle {
  box-shadow: 0 0 46px rgba(240, 126, 23, .28);
  transform: translateY(-4px);
}

.why-item__circle svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.why-item__title {
  margin-top: 26px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--white);
}

.why-item__text {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #b9c3d2;
}

/* ============================================================
   EXPERTS
   ============================================================ */
.experts {
  background: #070b13;
  border-top: 1px solid rgba(255, 255, 255, .04);
  padding: 46px 0 54px;
}

.experts__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--white);
}

.experts__subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: #c3cdda;
}

.experts__slider {
  position: relative;
  margin-top: 28px;
}

.experts__viewport { overflow: hidden; }

.experts__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.expert {
  flex: 0 0 calc((100% - 48px) / 3);
}

.experts__arrow {
  position: absolute;
  top: 42%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  background: rgba(10, 16, 29, .8);
  color: var(--orange);
  cursor: pointer;
  z-index: 5;
  transition: background .25s ease, color .25s ease;
}
.experts__arrow:hover { background: var(--orange); color: #fff; }
.experts__arrow svg { width: 10px; height: 16px; }
.experts__arrow--prev { left: -58px; }
.experts__arrow--next { right: -58px; }

.expert {
  background: linear-gradient(170deg, #10182a 0%, #0c1322 100%);
  border: 1px solid rgba(130, 160, 205, .14);
  border-radius: 12px;
  overflow: hidden;
}

.expert__photo {
  height: 220px;
  overflow: hidden;
}
.expert__photo svg,
.expert__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert__body { padding: 20px 22px 24px; }

.expert__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

.expert__role {
  margin-top: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
}

.expert__list { margin-top: 16px; }

.expert__list li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #b9c3d2;
}
.expert__list li + li { margin-top: 11px; }
.expert__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* ============================================================
   STEPS (JAK DZIAŁAMY)
   ============================================================ */
.steps {
  position: relative;
  background:
    radial-gradient(ellipse 46% 75% at 88% 60%, rgba(240, 126, 23, .1) 0%, transparent 62%),
    radial-gradient(ellipse 30% 55% at 8% 90%, rgba(240, 126, 23, .05) 0%, transparent 60%),
    #0a0f1c;
  padding: 50px 0 58px;
  overflow: hidden;
}

.steps__title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
}

.steps__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: start;
}

.step { text-align: center; }

.step__circle {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 38%, #131c2f 0%, #0c1322 100%);
  border: 1px solid rgba(130, 160, 205, .16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.step:hover .step__circle {
  border-color: rgba(240, 126, 23, .5);
  box-shadow: 0 0 34px rgba(240, 126, 23, .18);
  transform: translateY(-4px);
}
.step__circle svg { width: 58px; height: 58px; }

.step__chevron {
  align-self: start;
  margin-top: 53px;
}
.step__chevron svg { width: 14px; height: 22px; }

.step__name {
  margin-top: 24px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--white);
}

.step__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #b9c3d2;
}

/* --- Баннер "Nasz cel" --- */
.goal {
  margin: 48px auto 0;
  max-width: 860px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 38px;
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  background: rgba(10, 16, 29, .55);
  box-shadow: 0 0 44px rgba(240, 126, 23, .08);
}

.goal__icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(240, 126, 23, .35));
}

.goal__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--orange);
}

.goal__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #e2e8f0;
}

/* ============================================================
   TECHNOLOGIE (светлая секция)
   ============================================================ */
.tech {
  background:
    radial-gradient(ellipse 55% 90% at 88% 40%, #c9ccd2 0%, transparent 65%),
    linear-gradient(100deg, #f7f8fa 0%, #eef0f3 55%, #dcdfe4 100%);
  padding: 58px 0 64px;
  overflow: hidden;
}

.tech__grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 30px;
  align-items: center;
}

.tech__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
}

.tech__title {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.28;
  color: #161a22;
}

.tech__lead {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #5c6472;
}

.tech__features { margin-top: 34px; }

.tech-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.tech-feature + .tech-feature { margin-top: 28px; }

.tech-feature__iconbox {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(22, 26, 34, .07);
}
.tech-feature__iconbox svg { width: 30px; height: 30px; }

.tech-feature__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1e26;
}

.tech-feature__text {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #6a7280;
}

.tech__visual { min-width: 0; }
.tech__visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(15, 18, 26, .35));
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(64, 48, 128, .16) 0%, transparent 60%),
    #14112b;
  padding: 54px 0 66px;
}

.reviews__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--white);
}
.reviews__title .accent { color: var(--orange); }

.reviews__subtitle {
  margin-top: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14.5px;
  font-style: italic;
  text-align: center;
  color: #9d99b8;
}

.reviews__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review {
  background: linear-gradient(170deg, #221d40 0%, #1a1633 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

.review__stars {
  font-size: 17px;
  letter-spacing: 5px;
  color: var(--orange);
}
.review__star-half {
  position: relative;
  color: rgba(240, 126, 23, .28);
}
.review__star-half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  overflow: hidden;
  color: var(--orange);
}

.review__text {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: #cfcbe2;
  flex: 1;
}

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

.review__avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.review__who { display: flex; flex-direction: column; gap: 3px; }
.review__who b {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.review__who i {
  font-style: normal;
  font-size: 11.5px;
  color: #8d89a8;
}

/* ============================================================
   CONTACTS / FOOTER
   ============================================================ */
.contacts {
  position: relative;
  background: #08090d;
  padding: 64px 0 70px;
  overflow: hidden;
}

#contacts-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contacts__city {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 92%;
  max-width: 44%;
  pointer-events: none;
  opacity: .95;
}

.contacts__inner { position: relative; }

.contacts__grid {
  display: grid;
  grid-template-columns: 350px 1px 430px;
  gap: 0 52px;
  align-items: start;
}

.contacts__divider {
  width: 1px;
  height: 100%;
  min-height: 520px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .18) 18%, rgba(255, 255, 255, .18) 82%, transparent 100%);
}

/* --- Левая колонка --- */
.contacts__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.contacts__title {
  margin-top: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}
.contacts__title .accent { color: var(--orange); }

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
}
.contacts__title + .c-item { margin-top: 16px; }
.c-item + .c-item { border-top: 1px solid rgba(255, 255, 255, .08); }

.c-item__iconbox {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, .06);
}
.c-item__iconbox svg { width: 26px; height: 26px; }

.c-item__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.c-item__value {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #e8ecf2;
}
.c-item__value a { transition: color .25s ease; }
.c-item__value a:hover { color: var(--orange); }

/* --- Правая колонка --- */
.contacts__right { padding-top: 6px; }

.contacts__logo { margin-bottom: 34px; }

.contacts__logo-icon {
  width: 84px;
  height: 84px;
}

.contacts__logo-title {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
}

.contacts__logo-sub {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.1px;
  color: #cfd6e0;
}

.c-data {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.c-data + .c-data { margin-top: 22px; }

.c-data__iconbox {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, .06);
}
.c-data__iconbox svg { width: 24px; height: 24px; }

.c-data .c-item__value { margin-top: 6px; font-size: 15px; }

/* ============================================================
   PHONE MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, .8);
  backdrop-filter: blur(3px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 40px));
  padding: 44px 36px 38px;
  text-align: center;
  background: linear-gradient(160deg, #0d1626 0%, #080f1d 100%);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(240, 126, 23, .15), 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(14px) scale(.97);
  transition: transform .3s ease;
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--text-gray);
  cursor: pointer;
  transition: color .25s ease;
}
.modal__close:hover { color: var(--orange); }

.modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 14px rgba(240, 126, 23, .45));
}

.modal__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--white);
}

.modal__phone {
  display: inline-block;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--orange);
  transition: color .25s ease;
}
.modal__phone:hover { color: var(--orange-hover); }

.modal__hours {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-gray);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1290px) {
  /* стрелки слайдера не вылезают за край окна */
  .experts__arrow--prev { left: -12px; }
  .experts__arrow--next { right: -12px; }
}

@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .fx--magnifier { width: 260px; height: 260px; left: 66%; }
  .fx--person-gray { right: 1%; }
}

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { max-width: 480px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); justify-content: start; }
  .why__grid { grid-template-columns: 1fr; gap: 44px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .expert { flex-basis: calc((100% - 24px) / 2); }
  .experts__arrow--prev { left: -10px; }
  .experts__arrow--next { right: -10px; }
  .tech__grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: 1fr; gap: 44px; }
  .contacts__divider { display: none; }
  .contacts__city { opacity: .3; }
  .steps__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .step__chevron { display: none; }
  .goal { flex-direction: column; text-align: center; gap: 18px; }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__right { padding-top: 0; }
  .benefit__title { white-space: normal; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}

@media (max-width: 860px) {
  /* бургер-меню вместо навигации */
  .burger { display: flex; }
  .header__nav { display: none; }
  .header__right { display: none; }
  .header__top-inner { height: 64px; }
  .hero__visual { opacity: .35; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: 27px; }
  /* убираем жёсткие переносы — текст переносится сам */
  .hero__text br,
  .about__subtitle br,
  .services__note br,
  .tagline__text br { display: none; }
}

@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .about__media { height: 240px; }
  .services__grid { grid-template-columns: 1fr; }
  .cta__features { grid-template-columns: 1fr; gap: 20px; }
  .cta-feature__title { white-space: normal; }
  .trust__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .expert { flex-basis: 100%; }
  .reviews__grid { grid-template-columns: 1fr; }
  .tech__title { font-size: 26px; }
  .hero__title { font-size: 22px; }
  .container { padding: 0 18px; }
}
