html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  padding: 0 32px;
  height: 86px;
}
.navbar-logo img {
  height: 56px;
  width: auto;
}
.navbar-menu {
  display: flex;
  gap: 32px;
}
.navbar-menu a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.navbar-menu a:hover {
  color: #179e54;
}
.navbar-socials {
  display: flex;
  gap: 18px;
}
.icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s;
}
.icon.whatsapp { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/whatsapp.svg'); filter: hue-rotate(86deg) brightness(1.2);}
.icon.telegram { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/telegram.svg'); }
.icon.email { background-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/gmail.svg'); }
.icon:hover { transform: scale(1.13) rotate(-12deg); }

.hero {
  position: relative;
  height: 75vh;
  min-height: 380px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.56);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.13;
}
.hero-desc {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.35;
}

.about-section {
  background: #fff;
  padding: 56px 0;
}
.about-container {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  gap: 38px;
  align-items: flex-start;
  padding: 0 16px;
}
.about-title {
  flex: 0 0 220px;
  font-size: 2rem;
  color: #005fab;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-left: 5px solid #005fab;
  padding-left: 16px;
  margin-top: 14px;
}
.about-block {
  background: #f9f9fc;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 32px 24px;
  font-size: 1.14rem;
  color: #222;
  line-height: 1.7;
}

.services-section {
  background: #f5f7fa;
  padding: 60px 0 40px 0;
}
.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #005fab;
  margin-bottom: 42px;
  font-weight: 800;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  max-width: 1250px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  max-width: 380px;
  min-width: 300px;
  flex: 1 1 320px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,95,171,0.18);
  transform: translateY(-2px) scale(1.02);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-card h3 {
  color: #005fab;
  margin-bottom: 12px;
  font-size: 1.17rem;
}
.service-card ul {
  margin: 8px 0 8px 24px;
  padding: 0;
  font-size: 1em;
}
.service-card b { color: #005fab; display: block; margin-top: 8px; }

.gallery-section {
  background: #fff;
  padding: 40px 0;
}
.gallery-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #005fab;
  font-weight: 800;
  margin-bottom: 30px;
}
.gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  max-width: 1050px;
  margin: 0 auto;
}
.gallery-list img {
  width: 240px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.09);
}

.contact-section {
  background: #f5f7fa;
  padding: 52px 0 36px 0;
}
.contact-section h2 {
  text-align: center;
  color: #005fab;
  font-size: 2rem;
  margin-bottom: 28px;
  font-weight: 800;
}
.contact-form-block {
  background: url("bg2.jpg") center center / cover no-repeat;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 440px;
  margin: 0 auto;
  padding: 30px 24px;
}
.contact-form-block form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-block input, .contact-form-block button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.lightbox-modal {
  position: fixed;
  z-index: 12000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,24,28,0.95);
  display: flex; justify-content: center; align-items: center;
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.lightbox-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 4px 28px #0007;
  background: #fff;
  object-fit: contain;
  animation: lightbox-in 0.25s cubic-bezier(.44,1.55,.44,1);
}
@keyframes lightbox-in {
  from { transform: scale(0.85); opacity: 0.2;}
  to   { transform: scale(1); opacity: 1;}
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  font-weight: 300;
  z-index: 12200;
  text-shadow: 0 2px 16px #000;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #f00; }
@media (max-width:600px) {
  .lightbox-close { right: 22px; top: 18px; font-size: 2.1rem; }
}
footer {
  background: #191b1f;
  color: #f5f6fa;
  padding: 38px 0 24px 0;
  font-size: 1.07rem;
  width: 100%;
}
footer b, footer strong {
  font-weight: 700;
  color: #fff;
}
footer a {
  color: #2cb742;
  text-decoration: none;
  transition: color 0.17s;
  word-break: break-all;
}
footer a.email, footer a[href^="mailto"] { color: #79a7fb; }
footer a.web, footer a[href^="https"]   { color: #e3e5f2; }
footer a:hover { color: #fff; text-decoration: underline;}
footer .footer-icons {
  margin: 14px 0 0 0;
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
footer .footer-icons a {
  display: inline-flex;
  width: 38px; height: 38px;
  background: #23252b;
  border-radius: 50%;
  justify-content: center; align-items: center;
  transition: background 0.15s, transform 0.16s;
}
footer .footer-icons a:hover {
  background: #005fab;
  transform: scale(1.07) rotate(-6deg);
}
footer .footer-icons svg {
  width: 28px; height: 28px;
  display: block;
  animation: rotate 1.8s infinite cubic-bezier(.55,.19,.34,1.11);
}
footer .footer-icons a:nth-child(2) svg { animation-duration: 2.1s; }
footer .footer-icons a:nth-child(3) svg { animation-duration: 2.5s; }
footer .footer-bottom {
  margin-top: 18px;
  color: #b4bbc4;
  font-size: 0.97rem;
  text-align: center;
}
@media (max-width:600px) {
  footer { font-size: .97rem; padding: 22px 0 12px 0;}
  .footer-main { font-size: .96rem;}
}
@import url('https://fonts.googleapis.com/css?family=Roboto:700,400&display=swap');

.custom-header {
  background: #000;
  width: 100vw;
  min-height: 112px;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 48px;
  height: 112px;
  box-sizing: border-box;
}

.header-menu {
  display: flex;
  gap: 48px;
  flex: 1 1 0;
}

.header-link {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 0 2px;
  line-height: 112px;
  transition: color 0.15s;
  display: inline-block;
  letter-spacing: 0.01em;
}

.header-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 170px;
  margin: 0 20px;
}

.header-logo {
  width: 48px;
  height: auto;
  margin-bottom: 2px;
  margin-top: 4px;
}

.header-logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-logo-main {
  color: #fff;
  font-size: 1.6rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.header-logo-sub {
  color: #ff2c2c;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.10em;
  font-weight: 700;
  margin-top: -1px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 0;
  justify-content: flex-end;
}

.header-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  animation: social-bounce 2.2s infinite;
}

.header-icon:nth-child(2) { animation-delay: .35s;}
.header-icon:nth-child(3) { animation-delay: .7s;}

.header-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

@keyframes social-bounce {
  0%,100% { transform: scale(1);}
  10%    { transform: scale(1.17);}
  20%    { transform: scale(1);}
}

/* Адаптив под мобильный */
@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    height: auto;
    padding: 16px;
    gap: 12px;
  }
  .header-menu, .header-socials { gap: 20px; justify-content: center; }
  .header-logo-block { margin: 6px 0; }
  .header-link { font-size: 1.1rem; line-height: 2.5rem;}
}
.main-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url('bg.jpg') center center/cover no-repeat;
  filter: brightness(0.7);
  transition: transform 0.2s;
  will-change: transform;
  pointer-events: none;
}

.main-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

.main-hero__title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 4vw;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.main-hero__subtitle {
  color: #fff;
  font-size: 1.5vw;
  font-weight: 400;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 44px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.main-hero__arrow {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
  animation: arrow-bounce 2.4s infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);}
  40% { transform: translateX(-50%) translateY(14px);}
  60% { transform: translateX(-50%) translateY(8px);}
}

@media (max-width: 900px) {
  .main-hero__title { font-size: 7vw;}
  .main-hero__subtitle { font-size: 3.7vw;}
}
.main-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url('bg.jpg') center center/cover no-repeat;
  background-attachment: fixed;   /* ЭФФЕКТ "ПРИЛИПШЕГО" ФОНА */
  filter: brightness(0.7);
  transition: transform 0.2s;
  will-change: transform;
  pointer-events: none;
}
.contact-section {
  position: relative;
  width: 100vw;
  min-height: 480px;
  background: url('bg2.jpg') center center/cover no-repeat;
  padding: 64px 0 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,26,32, 0.62); /* затемнение */
  z-index: 1;
  pointer-events: none;
}

.contact-section h2 {
  z-index: 2;
  position: relative;
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 36px;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,0.22);
  letter-spacing: 0.02em;
}

.contact-form-block {
  z-index: 2;
  position: relative;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 44px rgba(40,46,60,0.12), 0 1.5px 8px rgba(0,0,0,0.04);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 38px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  transition: box-shadow 0.18s;
}

.contact-form-block form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-block input,
.contact-form-block button {
  padding: 15px 14px;
  border-radius: 12px;
  border: 1px solid #dde3ea;
  font-size: 1.07rem;
  background: #f8fafc;
  transition: border 0.16s, box-shadow 0.14s;
}

.contact-form-block input:focus {
  outline: none;
  border-color: #179e54;
  box-shadow: 0 0 0 2px rgba(23,158,84,0.10);
}

.send-btn {
  background: #1163b1;
  color: #fff;
  font-weight: 700;
  border: none;
  font-size: 1.18rem;
  border-radius: 11px;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(0,95,171,0.05);
  transition: background 0.16s, transform 0.11s;
  width: 100%;
  padding: 14px 0;
  opacity: 1 !important;
}

.send-btn:hover,
.send-btn:focus {
  background: #0c4990;
  color: #fff;
  opacity: 1 !important;
  transform: translateY(-1px) scale(1.022);
}

.send-btn:disabled {
  background: #f3f5f8;
  color: #c4c4c4;
  opacity: 1;
  cursor: not-allowed;
}

#contact-success {
  margin-top: 13px;
  color: #179e54;
  text-align: center;
  font-size: 1.07rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .contact-section {
    padding: 32px 0 32px 0;
    min-height: 320px;
  }
  .contact-form-block {
    padding: 18px 3vw 16px 3vw;
    border-radius: 15px;
    max-width: 98vw;
  }
  .contact-section h2 {
    font-size: 1.23rem;
    margin-bottom: 19px;
  }
  .contact-form-block input,
  .contact-form-block button {
    font-size: 0.98rem;
    padding: 12px 7px;
    border-radius: 8px;
  }
}
.send-btn {
  background: #1163b1 !important;
  color: #fff !important;
  opacity: 1 !important;
  border: none !important;
}

.send-btn:disabled {
  background: #f3f5f8 !important;
  color: #c4c4c4 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}
/* ABOUT SECTION */
@media (max-width: 700px) {
  .about-container {
    flex-direction: column;
    gap: 10px;
    padding: 0 6vw;
  }
  .about-title {
    border-left: 4px solid #005fab;
    padding-left: 10px;
    font-size: 1.35rem;
    margin: 0 0 18px 0;
    flex: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .about-block {
    padding: 18px 12px;
    font-size: 1rem;
    border-radius: 12px;
    margin: 0;
  }
  .about-section {
    padding: 28px 0 22px 0;
  }
}

/* HEADER */
@media (max-width: 900px) {
  .custom-header {
    min-height: unset;
    padding: 0;
  }
  .header-content {
    flex-direction: column;
    gap: 10px;
    height: unset;
    padding: 12px 2vw 0 2vw;
  }
  .header-menu {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 10px;
  }
  .header-link {
    font-size: 1.12rem;
    line-height: 1.8rem;
    padding: 2px 0;
    width: 100%;
    text-align: center;
  }
  .header-logo-block {
    margin: 5px 0 0 0;
    min-width: unset;
  }
  .header-logo-main {
    font-size: 1.22rem;
  }
  .header-logo-sub {
    font-size: 0.91rem;
  }
  .header-socials {
    gap: 18px;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .about-block {
    font-size: 0.98rem;
  }
  .about-title {
    font-size: 1.08rem;
  }
}

/* Фиксированный фон для десктопа */
.main-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: url('bg.jpg') center center/cover no-repeat;
  background-attachment: fixed; /* Эффект "прилипающего" фона */
  filter: brightness(0.7);
  will-change: transform;
  pointer-events: none;
  transition: background-position 0.2s;
}

/* Адаптив для мобильных — background-attachment: scroll, позиция сверху */
@media (max-width: 900px) {
  .main-hero__bg {
    background-attachment: scroll !important;   /* Убрать fixed, чтобы фон не зумился */
    background-position: center top !important; /* Сместить наверх, чтобы лицо или ключевой объект попадал в экран */
    height: 100%;
    min-height: 400px;
  }
}

@media (max-width: 600px) {
  .main-hero__bg {
    background-attachment: scroll !important;
    background-position: center top !important;
    min-height: 300px;
    height: 100%;
  }
  .main-hero {
    min-height: 400px !important;  /* Не даём секции быть слишком большой */
    height: 60vw !important;
    max-height: 92vh;
  }
  .main-hero__title {
    font-size: 1.25rem !important;
    padding: 0 2vw;
  }
  .main-hero__subtitle {
    font-size: 0.97rem !important;
    padding: 0 2vw;
  }
}

/* Для поддержки iOS Safari, чтобы не было багов с "fixed" */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    .main-hero__bg {
      background-attachment: scroll !important;
    }
  }
}

.lang-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 32px;
}

.lang-btn {
  background: #23252b;
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 6px 20px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.13s;
  outline: none;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.06);
}

.lang-btn.active, .lang-btn:focus {
  background: #ff2c2c;
  color: #fff;
  transform: scale(1.09);
  box-shadow: 0 4px 16px rgba(255,44,44,0.13);
  cursor: default;
}

.lang-btn:not(.active):hover {
  background: #005fab;
  color: #fff;
  transform: scale(1.07);
}
@media (max-width: 700px) {
  .lang-switcher {
    margin-left: 0;
    gap: 5px;
  }
  .lang-btn { font-size: 0.97rem; padding: 5px 10px;}
}
