/* =====================================================
   OSP KURYLYS — style.css
   Industrial / Engineering / Premium
   Цвета: #07182D (navy), #D9A441 (gold), #fff, #999
   ===================================================== */

/* ---- CSS VARIABLES ---- */
:root {
  --navy:        #07182D;
  --navy-mid:    #0D2238;
  --navy-light:  #152D4A;
  --gold:        #D9A441;
  --gold-dark:   #B8892E;
  --white:       #ffffff;
  --gray-100:    #F4F5F7;
  --gray-300:    #CBD0D8;
  --gray-500:    #7E8A99;
  --gray-700:    #3E4A59;
  --text-body:   #D1D9E4;
  --text-muted:  #7E8A99;

  --font:        'Montserrat', sans-serif;

  --radius:      4px;
  --radius-lg:   8px;

  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 4px 24px rgba(7,24,45,0.45);
  --shadow-sm:   0 2px 10px rgba(7,24,45,0.3);

  --header-h:    72px;
  --section-py:  96px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,164,65,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* =====================================================
   SECTION COMMONS
   ===================================================== */
.section {
  padding: var(--section-py) 0;
}
.section__header {
  margin-bottom: 64px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

/* =====================================================
   REVEAL ANIMATION
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 24, 45, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,164,65,0.12);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(7, 24, 45, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.logo__osp {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.logo__divider {
  width: 1px;
  height: 20px;
  background: rgba(217,164,65,0.4);
  margin: 0 10px;
}
.logo__kurylys {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

/* Навигация */
.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  color: var(--gold);
  border: 1px solid rgba(217,164,65,0.4);
  padding: 6px 18px;
  border-radius: var(--radius);
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.nav__link--cta::after { display: none; }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(7,24,45,0.98);
  border-bottom: 1px solid rgba(217,164,65,0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav__list { padding: 16px 0; }
.mobile-nav__link {
  display: block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.mobile-nav__link:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(217,164,65,0.06);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-mid);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero__bg.loaded { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7,24,45,0.82) 0%,
      rgba(7,24,45,0.55) 40%,
      rgba(7,24,45,0.25) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(7,24,45,0.25) 0%,
      rgba(7,24,45,0.65) 100%
    );
}
.hero__title-osp,
.hero__title-sub,
.hero__desc {
  text-shadow: 0 3px 14px rgba(0,0,0,0.45);
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 48px;
  max-width: 820px;
}
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease forwards;
}
.hero__title-osp {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__title-sub {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.hero__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s ease forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
	 margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s ease forwards;
}

/* Статистика */
.hero__stats {
  position: relative;
  z-index: 2;
  background: rgba(13,34,56,0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(217,164,65,0.18);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(217,164,65,0.1);
  transition: background var(--transition);
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(217,164,65,0.05); }
.stat__num {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  background: var(--navy);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about__lead {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}
.about__text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about__cta { margin-top: 32px; }

/* Scope list */
.about__scope {
  background: var(--navy-mid);
  border: 1px solid rgba(217,164,65,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.about__scope-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217,164,65,0.15);
}
.scope__list { display: flex; flex-direction: column; gap: 16px; }
.scope__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
}
.scope__item:hover { color: var(--white); }
.scope__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(217,164,65,0.08);
  border: 1px solid rgba(217,164,65,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.scope__icon svg { width: 18px; height: 18px; color: var(--gold); }
.scope__item:hover .scope__icon {
  background: rgba(217,164,65,0.15);
  border-color: var(--gold);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services {
  background: var(--navy-mid);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  padding: 40px 36px;
  background: rgba(7,24,45,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover { background: rgba(217,164,65,0.05); border-color: rgba(217,164,65,0.2); }
.service-card:hover::before { width: 100%; }
.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--gold);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.service-card:hover .service-card__icon { opacity: 1; }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}
.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================================================
   PROJECTS
   ===================================================== */
.projects {
  background: var(--navy);
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.project-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.project-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.project-card:hover { border-color: rgba(217,164,65,0.3); transform: translateY(-4px); }

.project-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.project-card--featured .project-card__img-wrap { min-height: 340px; }
.project-card:not(.project-card--featured) .project-card__img-wrap { height: 200px; }
.project-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card__img { transform: scale(1.05); }

.project-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.project-card__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card--featured .project-card__body { padding: 40px 44px; }
.project-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.project-card__title {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.project-card__capacity {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.project-card__capacity strong { color: var(--gold); }
.project-card__desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* =====================================================
   LICENSE
   ===================================================== */
.license {
  background: var(--navy-mid);
}
.license__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.license__text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.75;
}
.license__text strong { color: var(--white); }
.license__list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.license__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.license__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Карточка лицензии */
.license__card-wrap { display: flex; justify-content: center; }
.license__card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(217,164,65,0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.license__card-header {
  background: var(--navy);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217,164,65,0.2);
}
.license__card-state {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.license__card-emblem svg { width: 44px; height: 44px; }
.license__card-body { padding: 32px; }
.license__card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.license__card-category {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.license__card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.license__card-type {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.license__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(217,164,65,0.12);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.license__card-valid {
  color: #5CC888;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}


/* =====================================================
   MAP NEW
===================================================== */

.map-section {
    background: var(--navy);
}

.map__wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.map__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.map__image {
    width: 100%;
    display: block;
    opacity: 0.95;
}

.map-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    line-height: 1;
    text-shadow:
        1px 1px 2px rgba(0,0,0,0.9),
        -1px -1px 2px rgba(0,0,0,0.9),
        0 0 6px rgba(0,0,0,0.8);
}
}

.astana {
    left: 53%;
    top: 40%;
    color: #ffffff;
    font-weight: 700;
}

/* Головной офис */

.astana {
    left: 53%;
    top: 40%;
    color: #ffffff; !important;
    font-weight: 700 !important;
}


/* Координаты */

.aktau {
    left: 14%;
    top: 63%;
}

.sko {
    left: 43%;
    top: 15%;
}

.kokshetau {
    left: 47%;
    top: 25%;
}

.astana {
    left: 53%;
    top: 40%;
    color: #111111;
    font-weight: 700;
}

.karaganda {
    left: 61%;
    top: 53%;
}

.uko {
    left: 82%;
    top: 58%;
}

.map__legend {
    display: flex;
    gap: 28px;
    margin-top: 24px;
    justify-content: center;
}

.map__legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.map__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.map__legend-dot--regular {
    background: var(--gold);
}

.map__legend-dot--capital {
    background: transparent;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--navy-mid); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.contact__tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 340px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  transition: color var(--transition);
}
a.contact__item:hover { color: var(--gold); }
.contact__item-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: rgba(217,164,65,0.08);
  border: 1px solid rgba(217,164,65,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__item-icon svg { width: 16px; height: 16px; color: var(--gold); }

/* Форма */
.contact__form-wrap {
  background: var(--navy);
  border: 1px solid rgba(217,164,65,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form__field { margin-bottom: 20px; }
.form__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form__input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form__input:focus {
  border-color: var(--gold);
  background: rgba(217,164,65,0.04);
}
.form__input::placeholder { color: var(--gray-700); }
.form__textarea { resize: vertical; min-height: 110px; }
.form__submit { width: 100%; justify-content: center; margin-top: 4px; padding: 15px; }
.form__note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--gray-700);
  text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(217,164,65,0.1);
  padding: 48px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer__left { display: flex; flex-direction: column; gap: 10px; }
.footer__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 280px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer__nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold); }
.footer__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__sub {
  font-size: 0.75rem;
  color: var(--gray-700);
}

/* =====================================================
   SCROLL-TO-TOP BUTTON
   ===================================================== */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--gold-dark); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%   { r: 8; opacity: 0.9; }
  60%  { r: 16; opacity: 0; }
  100% { r: 16; opacity: 0; }
}

/* =====================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .project-card--featured .project-card__img-wrap { min-height: 280px; }

  .about__grid { gap: 48px; }
  .license__grid { gap: 48px; }
  .contact__grid { gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
  .footer__right { grid-column: 1 / -1; text-align: left; }
}

/* =====================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ===================================================== */
@media (max-width: 768px) {
  :root { 
    --section-py: 56px; 
    --header-h: 62px; 
  }

  .container { padding: 0 20px; }

  /* Header */
  .nav { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero__content {
    padding-top: calc(var(--header-h) + 110px);
  }

  .hero__title-osp {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    line-height: 1.05;
  }

  .hero__title-sub {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    line-height: 1.25;
  }

  .hero__desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero__desc br { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(217,164,65,0.1);
    padding: 22px 20px;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(217,164,65,0.1);
  }

  .stat:last-child,
  .stat:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* Sections */
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__scope { padding: 28px; }
  .services__grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { padding: 28px 24px; }

  /* Projects */
  .projects__grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: 1; }
  .project-card--featured .project-card__img-wrap { min-height: 220px; }
  .project-card--featured .project-card__body { padding: 28px 24px; }

  /* License */
  .license__grid { grid-template-columns: 1fr; gap: 40px; }
  .license__card { max-width: 100%; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form-wrap { padding: 28px 24px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 20px;
  }
  .footer__right { text-align: left; }

  .scroll-top { bottom: 20px; right: 20px; }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.current-project {
    background: var(--navy-mid);
}

.current-project__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.current-project__docs img {
    border-radius: 8px;
    margin-bottom: 20px;
}

.doc-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-docs {
    background: var(--navy);
}

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

.doc-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: var(--navy-mid);
    transition: 0.3s;
}

.doc-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.doc-card h3 {
    color: var(--gold);
    margin-bottom: 12px;
}

.doc-card p {
    color: var(--text-body);
}

@media(max-width:768px){
    .current-project__grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }
}
.map__container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.map__image {
    width: 100%;
    opacity: 0.9;
}

.map-point {
    position: absolute;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.map-point::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

/* Координаты точек */

.aktau {
    left: 10%;
    top: 62%;
}

.sko {
    left: 42%;
    top: 14%;
}

.kokshetau {
    left: 48%;
    top: 24%;
}

.astana {
    left: 52%;
    top: 35%;
    font-weight: 700;
    color: #D9A441;
}

.karaganda {
    left: 58%;
    top: 48%;
}

.uko {
    left: 78%;
    top: 54%;
}
.map-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}.astana::before {
    width: 14px;
    height: 14px;
    border: 3px solid #D9A441;
    background: transparent;
}

