/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

:root {
  --blue-dark:   #071a52;
  --blue-main:   #0f3fa6;
  --blue-mid:    #1a5ed4;
  --blue-light:  #2e7df5;
  --blue-pale:   #dbeafe;
  --white:       #ffffff;
  --gray-light:  #eef2fb;
  --text-dark:   #0a1836;
  --text-body:   #334270;

  --font-heading: 'DrukWideBold', 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(7,26,82,0.15);
  --shadow-lg: 0 20px 60px rgba(7,26,82,0.22);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-body); background: #e8edf8;; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; position: relative; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 16px 40px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--blue-main);
  color: #fff;
  box-shadow: 0 6px 24px rgba(15,63,166,0.4);
  font-family: 'DrukTextWideCyr-Bold' !important;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,255,255,0.42) 50%,
    transparent 85%
  );
  transform: skewX(-18deg);
  animation: btnShine 2.6s ease-in-out infinite;
}
@keyframes btnShine {
  0%   { left: -130%; }
  50%  { left: 140%; }
  100% { left: 140%; }
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(7,26,82,0.45);
}
.btn--outline {
  font-family: 'DrukTextWideCyr-Bold' !important;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn--hero-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  backdrop-filter: blur(6px);
}
.btn--hero-outline:hover {
  background: rgba(255,255,255,0.25);
}
.btn--contacts {
  background: var(--blue-dark);
  color: #fff;
  border: none;
  padding: 18px 48px;
  font-size: 13px;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 20px rgba(7,26,82,0.3);
  font-family: 'DrukTextWideCyr-Bold' !important;
}
.btn--contacts:hover {
  background: #040f32;
  transform: translateY(-2px);
}
.btn--sm {
  padding: 11px 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.btn--sm:hover { background: #e8f0ff; }
.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  height: 100px;
  padding-bottom: 20px;
  padding-top: 10px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(7,26,82,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 80px;
}
.header__logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}
.header__nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  text-transform: uppercase;
}
.nav__link:hover { color: #fff; }
.header__cta { margin-left: 16px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-image: url('img/bg1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
}
.hero__overlay {
  position: absolute;
  inset: 0;
      background: linear-gradient(110deg, rgb(24 56 147 / 69%) 0%, rgb(20 79 206 / 64%) 55%, rgba(7, 26, 82, 0.55) 100%);
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__left {
  max-width: 640px;
}
.hero__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-size: 55px;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero__btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__btns .btn {
  padding: 22px 56px;
  font-size: 14px;
  letter-spacing: 0.12em;
}
.hero__badges {
  width: 1000px;
  display: flex;
  gap: 48px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 200px;
}
.hero__badge-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.hero__badge-item span {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
}
@media screen and (max-width: 768px){
.hero__badges {
  width: 100%;
  display: flex;
  gap: 48px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 2px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollPulse 1.6s ease-in-out infinite;
}
.hero__scroll span:nth-child(2) { animation-delay: 0.2s; }
.hero__scroll span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scrollPulse {
  0%,100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: 150px 80px;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #e8edf8;
  overflow: hidden;
  margin-bottom: 50px;
}
.about__bg {
  position: absolute;
  /* отступы: верх/низ 40px, лево/право 80px — совпадают с padding секции */
  inset: 80px 150px;
  z-index: 0;
  border-radius: 12px;
  overflow: hidden;
}
.about__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,26,82,0.18) 0%,
    rgba(7,26,82,0.06) 50%,
    rgba(7,26,82,0.0) 100%
  );
}
/* Белая карточка справа — с отступом от правого края фото */
.about__card {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 490px;
  max-width: 46%;
  margin-left: auto;
  /* отступ от правого края фото = 40px */
  margin-right: 150px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(7,26,82,0.16);
}
.about__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-size: clamp(1.6rem, 2.6vw, 2.0rem);
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.about__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.about__desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.about__list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about__list li {
  font-size: 15px;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}
.about__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-main);
  font-size: 18px;
  top: -1px;
}
.about__highlight {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* ===== SECTION COMMON ===== */
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title--light { color: #fff; }
.section__sub {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section__sub--light { color: rgba(255,255,255,0.7); }

/* ===== SERVICES ===== */
.services { background: var(--gray-light); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border-radius: 10px;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.service-card:hover .service-card__img { transform: scale(1.07); }

/* Постоянный градиент — всегда виден */
.service-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: linear-gradient(
    to top,
    rgba(7,26,82,0.85) 0%,
    rgba(7,26,82,0.50) 55%,
    rgba(7,26,82,0.18) 100%
  );
  transition: background var(--transition);
}
.service-card:hover .service-card__body {
  background: linear-gradient(
    to top,
    rgba(7,26,82,0.95) 0%,
    rgba(7,26,82,0.78) 65%,
    rgba(7,26,82,0.38) 100%
  );
}
.service-card__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  transition: transform var(--transition);
  margin-bottom: 0;
}
/* При hover заголовок чуть поднимается, под ним появляется кнопка */
.service-card:hover .service-card__title {
  transform: translateY(-8px);
}

/* Кнопка — появляется прямо под заголовком */
.service-card__overlay {
  position: absolute;
  /* позиционируем через flex в __body, поэтому убираем absolute */
  display: none;
}
/* Переопределим через flex-структуру в __body */
.service-card__body {
  gap: 0;
}
.service-card__overlay-btn {
  font-family: 'DrukTextWideCyr-Bold' !important;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.service-card:hover .service-card__overlay-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== WHY US ===== */
.why {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.why__bg {
  position: absolute;
  inset: 0;
  background-image: url('img/bg2.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.why__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,26,82,0.95) 0%, rgba(15,63,166,0.88) 100%);
  z-index: 0;
}
.why .container { position: relative; z-index: 1; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.28);
}
.why-card__icon {
  width: 64px;
  height: 64px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.why-card__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.why-card__desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}

/* ===== CONTACTS ===== */
.contacts {
  position: relative;
  padding: 60px 80px;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: #e8edf8;
  overflow: hidden;
  margin-bottom: 0;
}
.contacts__bg {
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  bottom: 40px;
  z-index: 0;
  border-radius: 12px;
  overflow: hidden;
}
.contacts__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contacts__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,26,82,0.18) 0%,
    rgba(7,26,82,0.06) 50%,
    rgba(7,26,82,0.0) 100%
  );
}
/* Белая карточка слева — с отступом от левого края фото */
.contacts__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 490px;
  max-width: 46%;
  margin-right: auto;
  margin-left: 40px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(7,26,82,0.16);
}
.contacts__title {
  font-family: 'DrukTextWideCyr-Bold' !important;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.contacts__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
.contacts__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  flex-wrap: wrap;
}
.contacts__label {
  font-weight: 700;
  color: var(--text-dark);
  min-width: 90px;
}
.contacts__val {
  color: var(--blue-main);
  font-weight: 500;
  transition: color var(--transition);
}
.contacts__val:hover { color: var(--blue-dark); text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  margin: 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer__desc { font-size: 14px; line-height: 1.7; opacity: 0.6; }
.footer__nav, .footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a, .footer__contacts a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80 !important;
}
.footer__bottom {
  padding: 20px 0;
  font-size: 13px;
  opacity: 0.4;
  text-align: center;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,26,82,0.78);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 30px 80px rgba(7,26,82,0.3);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: background var(--transition);
}
.modal__close:hover { background: #d0d8ef; }
.modal__close svg { width: 18px; height: 18px; }
.modal__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal__sub {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.6;
}
.form-group { margin-bottom: 14px; }
.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5eaf4;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--gray-light);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--blue-main); background: #fff; }
.form-input::placeholder { color: #b0bbcc; }
.form-message {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0;
  display: none;
}
.form-message.success {
  display: block;
  color: #16a34a;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  padding: 12px 16px;
}
.form-message.error {
  display: block;
  color: #dc2626;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  padding: 12px 16px;
}

/* ===== WhatsApp Float ===== */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-up.visible,
.animate-slide-left.visible,
.animate-slide-right.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__left { grid-column: 1/-1; }
  .about__text { padding: 60px 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .header__nav, .header__cta { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(7,26,82,0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
  }
  .burger { display: flex; }
  .about {
    flex-direction: column;
    padding: 24px;
    min-height: auto;
  }
  .about__bg {
    position: relative;
    inset: auto;
    height: 280px;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  .about__bg img { height: 280px; }
  .about__card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 36px 24px;
    box-shadow: 0 8px 32px rgba(7,26,82,0.12);
  }
  .contacts {
    flex-direction: column;
    padding: 24px;
    min-height: auto;
  }
  .contacts__bg {
    position: relative;
    inset: auto;
    height: 260px;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  .contacts__bg-img { height: 260px; }
  .contacts__panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 36px 24px;
    box-shadow: 0 8px 32px rgba(7,26,82,0.12);
  }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .contacts { flex-direction: column; min-height: auto; }
  .contacts__bg { position: relative; height: 300px; }
  .contacts__bg-img { height: 300px; }
  .contacts__panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 48px 24px;
  }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .modal { padding: 36px 24px; }
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 30px; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .why__grid { grid-template-columns: 1fr; }
}

/* ===== PROJECTS ===== */
.projects {
  background: var(--blue-dark);
  padding: 100px 0;
  overflow: hidden;
}
.projects__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.projects__title {
  font-family: 'DrukWideBold', 'DrukTextWideCyr-Bold', 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.projects__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 520px;
}
.projects__nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 8px;
}
.proj-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.proj-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.proj-nav svg { width: 20px; height: 20px; }

/* Carousel */
.projects__carousel-wrap {
  overflow: hidden;
  margin: 0 -8px;
}
.projects__carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  padding: 0 8px 4px;
}
.proj-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.proj-card__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.proj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-card__img { transform: scale(1.04); }
.proj-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.proj-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.5;
  flex: 1;
}
.proj-card__btn {
  font-family: 'DrukWideBold', 'DrukTextWideCyr-Bold', 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gray-light);
  color: var(--text-body);
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.proj-card__btn:hover {
  background: var(--blue-main);
  color: #fff;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,26,82,0.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.lightbox__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1000px;
  width: 100%;
  flex-direction: column;
}
.lightbox__img-wrap {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: block;
  transition: opacity 0.25s ease;
}
.lightbox__img.fading { opacity: 0; }

.lightbox__close {
  position: absolute;
  top: -16px;
  right: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.lightbox__close:hover { background: rgba(255,255,255,0.28); }
.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
  flex-shrink: 0;
}
.lightbox__arrow:hover { background: rgba(255,255,255,0.24); }
.lightbox__arrow svg { width: 22px; height: 22px; }
.lightbox__arrow--prev { left: -70px; }
.lightbox__arrow--next { right: -70px; }

.lightbox__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.lightbox__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.lightbox__dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Responsive projects */
@media (max-width: 1024px) {
  .proj-card { flex: 0 0 calc(50% - 12px); }
  .lightbox__arrow--prev { left: -16px; }
  .lightbox__arrow--next { right: -16px; }
}
@media (max-width: 640px) {
  .proj-card { flex: 0 0 calc(100% - 0px); }
  .projects__header { flex-direction: column; gap: 20px; }
  .projects__nav { align-self: flex-end; }
  .lightbox__arrow--prev { left: 4px; }
  .lightbox__arrow--next { right: 4px; }
  .lightbox__arrow { width: 40px; height: 40px;
	}
}

@media screen and (max-width: 768px){
 .projects__title { font-size: 25px !important;}
}