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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #F9FAFB;
  color: #1F2937;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn--primary {
  background-color: #C26D38 !important;
  color: #FFFFFF !important;
}

.btn--primary:hover {
  background-color: #A85827 !important;
  transform: translateY(-1px);
}

.btn--outline {
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--full { width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E7EB;
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #1F2937;
  text-decoration: none;
}

.logo__badge {
  width: 14px;
  height: 14px;
  background: #C26D38;
  border-radius: 3px;
  transform: rotate(45deg);
}

.nav { display: flex; gap: 28px; }
.nav__link { color: #1F2937; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__link:hover { color: #C26D38; }

.hero {
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 100px 0 80px;
}

.hero__content { max-width: 820px; }
.hero__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; line-height: 1.18; margin-bottom: 20px; }
.hero__subtitle { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, 0.92); margin-bottom: 32px; max-width: 680px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__disclaimer { font-size: 12px; color: rgba(255, 255, 255, 0.75); max-width: 650px; }

.section { padding: 80px 0; }
.section--gray { background-color: #EEF1F5; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; line-height: 1.22; margin-bottom: 12px; }
.section__desc { color: #6B7280; font-size: 16px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card { background: #FFFFFF; padding: 28px; border-radius: 16px; border: 1px solid #E5E7EB; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(194, 109, 56, 0.12); color: #C26D38; font-weight: 800; margin-bottom: 16px;
}
.feature-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card__text { font-size: 14px; color: #6B7280; }

/* ВКЛАДКИ ПРОЕКТОВ */
.project-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.project-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background-color: #FFFFFF;
  color: #1F2937;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.project-tab:hover {
  border-color: #C26D38;
  color: #C26D38;
}

.project-tab.is-active {
  background-color: #C26D38 !important;
  color: #FFFFFF !important;
  border-color: #C26D38 !important;
  box-shadow: 0 4px 14px rgba(194, 109, 56, 0.35);
}

.project-viewer {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.project-gallery__main { position: relative; border-radius: 10px; overflow: hidden; background: #EAECEF; aspect-ratio: 4 / 3; }
.project-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-zoom-btn {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(17, 24, 39, 0.8); color: #FFFFFF;
  border: none; padding: 8px 14px; border-radius: 8px; font-size: 13px; cursor: pointer;
}

.project-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb-btn { width: 84px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; flex-shrink: 0; background: #eee; }
.thumb-btn.is-active { border-color: #C26D38; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.project-info__badge { display: inline-block; padding: 5px 12px; border-radius: 6px; background: rgba(194, 109, 56, 0.12); color: #C26D38; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.project-info__title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.project-info__desc { color: #6B7280; margin-bottom: 22px; }
.project-specs__heading { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.project-specs__list { list-style: none; margin-bottom: 22px; }
.project-specs__list li { padding: 8px 0; border-bottom: 1px solid #E5E7EB; font-size: 15px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.project-tag { background: #F3F4F6; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }

.cta-box {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  background: #FFFFFF; padding: 44px; border-radius: 16px; border: 1px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); align-items: center;
}
.cta-box__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.cta-box__text { color: #6B7280; margin-bottom: 20px; }
.cta-box__list { list-style: none; display: grid; gap: 10px; }
.cta-box__list li::before { content: "✓ "; color: #C26D38; font-weight: 800; }

.lead-form { background: #F3F4F6; padding: 28px; border-radius: 10px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #D1D5DB; font-family: inherit; font-size: 15px; background: #FFFFFF; }
.form-input:focus { outline: none; border-color: #C26D38; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #6B7280; margin: 14px 0 18px; cursor: pointer; }
.checkbox-label a { color: #C26D38; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 600; color: #15803D; }

.footer { background: #111827; color: #F9FAFB; padding: 64px 0 40px; }
.footer__title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.footer__subtitle { color: #9CA3AF; margin-bottom: 32px; }
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 48px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; text-decoration: none; color: #FFFFFF; transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: #C26D38; transform: translateY(-2px); }
.contact-card__label { font-size: 13px; color: #9CA3AF; }
.contact-card__value { font-size: 18px; font-weight: 700; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; font-size: 12px; color: #9CA3AF; display: grid; gap: 8px; }
.footer__legal a { color: #D1D5DB; }

.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, 0.65); }
.modal__dialog { position: relative; background: #FFFFFF; border-radius: 16px; padding: 32px; width: 100%; max-width: 460px; z-index: 1; }
.modal__dialog--wide { max-width: 640px; }
.modal__close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 28px; cursor: pointer; color: #6B7280; }
.modal__title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal__subtitle { font-size: 14px; color: #C26D38; font-weight: 600; margin-bottom: 18px; }
.privacy-text { display: grid; gap: 12px; font-size: 14px; color: #1F2937; margin-top: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, 0.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #FFFFFF; font-size: 40px; cursor: pointer; }

@media (max-width: 900px) {
  .header__inner {
    height: auto;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 8px;
    border-top: 1px solid #E5E7EB;
    -webkit-overflow-scrolling: touch;
  }

  .nav__link {
    font-size: 14px;
  }

  .project-viewer,
  .cta-box {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

