:root {
  --bg-body: #F8F9FA;
  --bg-card: rgba(255, 255, 255, 0.96);
  --accent: #0066CC;
  --accent-soft: rgba(0, 102, 204, 0.12);
  --accent-strong: #004a96;
  --text-main: #333333;
  --text-muted: #6B7280;
  --border-soft: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #FFFFFF 0, #F8F9FA 55%, #E5E7EB 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

/* Promo bar */
.promo-bar {
  background: #FFC928;
  color: #111827;
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}

.promo-bar__btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #F9FAFB;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-top { padding: 10px 0; }

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 102, 204, 0.18), rgba(59, 130, 246, 0.4)),
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.95), transparent 55%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo__icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #FFFFFF;
}

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

.logo__name {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.logo__tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
}

.header-contacts__item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.header-contacts__tel {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-strong);
}

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

.socials__link {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, rgba(0, 102, 204, 0.18), rgba(148, 163, 184, 0.12));
}


.socials__link svg { width: 20px; height: 20px; }

/* Nav */
.nav {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav__link {
  position: relative;
  padding: 6px 10px;
  border-radius: 999px;
  color: #111827;
  font-weight: 500;
}

.nav__item--active > .nav__link {
  background: var(--accent);
  color: #F9FAFB;
}

.nav__item--has-sub {
  position: relative;
}

.nav__submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  padding: 8px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.35);
  list-style: none;
  margin: 0;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  z-index: 50;
}

.nav__item--has-sub:hover > .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__submenu-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 4px 8px 2px;
}

.nav__submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__submenu-link {
  display: block;
  padding: 6px 9px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.nav__submenu-link:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(255, 255, 255, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle__lines {
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-toggle__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.nav-toggle__lines span:nth-child(1) { top: 0; }
.nav-toggle__lines span:nth-child(2) { top: 6px; }
.nav-toggle__lines span:nth-child(3) { bottom: 0; }

.nav-mobile-panel {
  display: none;
  padding: 8px 0 14px;
}

.nav-mobile-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-panel__item {
  border-radius: 16px;
  margin-bottom: 4px;
  background: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.nav-mobile-panel__btn {
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-mobile-panel__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease-out;
  background: #F9FAFB;
}

.nav-mobile-panel__sub a {
  display: block;
  padding: 6px 14px 8px 24px;
  font-size: 0.86rem;
}

.nav-mobile-panel__item--open .nav-mobile-panel__sub {
  max-height: 320px;
}

.nav-mobile-panel__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* Hero & sections */
.hero {
  padding: 32px 0 30px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero__media {
  position: relative;
}

.hero__card {
  border-radius: 26px;
  padding: 12px;
  background: radial-gradient(circle at top left, #FFFFFF, #E5E7EB);
  box-shadow: var(--shadow-soft);
}

.hero__img-wrap {
  border-radius: 20px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.section {
  padding: 32px 0;
}

.section--light {
  background: radial-gradient(circle at top, #FFFFFF 0, #F3F4F6 60%, #E5E7EB 100%);
}

.section__header {
  margin-bottom: 18px;
  max-width: 640px;
}

.section__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.section__subtitle {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Grids & cards */
.grid {
  display: grid;
  gap: 16px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  padding: 12px 14px 14px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.card__title {
  margin: 4px 0 6px;
  font-size: 0.98rem;
}

.card__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card--image {
  padding: 0;
}

.card__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card--image .card__body {
  padding: 10px 12px 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  border-color: rgba(37, 99, 235, 0.45);
}

/* Benefits icons */
.benefits-card__icon,
.company-adv__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--accent-soft);
  margin-bottom: 6px;
}

/* Prices */
.prices-table-wrap {
  margin-top: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  padding: 10px;
  overflow-x: auto;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.86rem;
}

.prices-table th,
.prices-table td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.prices-table thead th {
  border-bottom: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.prices-table tbody tr:nth-child(odd) {
  background: rgba(249, 250, 251, 0.9);
}

.prices-table__note {
  margin: 8px 2px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  margin-top: 16px;
}

.timeline__track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(209, 213, 219, 0.9);
  margin-bottom: 14px;
  overflow: hidden;
}

.timeline__progress {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #0EA5E9);
  transition: width 700ms ease-out;
}

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

.timeline__item {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 9px 10px;
  font-size: 0.8rem;
}

.timeline__num {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.timeline__title {
  margin: 0 0 4px;
  font-size: 0.86rem;
}

.timeline__text {
  margin: 0;
  color: var(--text-muted);
}

/* Works gallery */
.works-gallery {
  margin-top: 16px;
  position: relative;
}

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

.work {
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.work__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 220ms ease-out;
}

.work__caption {
  margin: 8px 10px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.work:hover .work__image {
  transform: scale(1.05);
}

/* FAQ */
.faq {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  padding: 8px;
}

.faq__item + .faq__item {
  border-top: 1px solid rgba(229, 231, 235, 0.95);
}

.faq__question {
  width: 100%;
  padding: 8px 6px;
  border: none;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.9rem;
}

.faq__toggle {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  position: relative;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1.4px;
  border-radius: 999px;
  background: #111827;
  transform: translateY(-50%);
}

.faq__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: max-height 220ms ease-out;
}

.faq__item--open .faq__answer {
  max-height: 220px;
}

.faq__item--open .faq__toggle::after {
  opacity: 0;
}

/* Reviews */
.reviews {
  margin-top: 16px;
}

.reviews__viewport {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.reviews__track {
  display: flex;
  transition: transform 360ms ease-out;
}

.review {
  min-width: 100%;
  padding: 12px 14px 14px;
  font-size: 0.9rem;
}

.review__text {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.review__author {
  font-size: 0.86rem;
  font-weight: 600;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.reviews__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.9);
  cursor: pointer;
}

.reviews__dot--active {
  background: var(--accent);
  width: 16px;
}

/* Footer */
.site-footer {
  margin-top: 32px;
  padding: 22px 0 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.98);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.footer__title {
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 4px;
}

.footer-menu a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-menu a:hover {
  color: var(--accent-strong);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  padding-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.lightbox--open {
  display: flex;
}

.lightbox__inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
}

.lightbox__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  max-height: 70vh;
}

.lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox__caption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #E5E7EB;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #E5E7EB;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close {
  right: 12px;
}

.lightbox__prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease-out, transform 480ms ease-out;
}

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

/* Responsive */
@media (max-width: 991px) {
  .header-contacts { display: none; }
  .nav__list { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__img {
    height: 220px;
  }

  /* Timeline slider */
  .timeline__items {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .timeline__item {
    min-width: 80%;
    scroll-snap-align: start;
  }

  /* Works gallery slider + arrow hint */
  .works-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .work {
    min-width: 80%;
    scroll-snap-align: start;
  }

  .works-gallery::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #E5E7EB;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
}


.footer-bottom {
  padding: 16px 0 24px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
}

.footer-bottom__text {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
  line-height: 1.5;
  text-align: left;
}



.socials__link img { width: 20px; height: 20px; display: block; }


.section--custom-html {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .section--custom-html {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.custom-html {
  width: 100%;
}
