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

:root {
  --orange: #F07B1D;
  --orange-dark: #d96c0d;
  --navy: #1B2A4A;
  --navy-dark: #111d35;
  --navy-light: #253659;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --text: #2d3748;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(27,42,74,.10);
  --shadow-lg: 0 8px 48px rgba(27,42,74,.18);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(240,123,29,.4); }
.btn--outline {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--full { width: 100%; }

/* ===== SECTION COMMON ===== */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label--light { color: #f9b56a; }
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
.section-title--light { color: var(--white); }
.section-desc { margin-top: 16px; color: var(--gray-600); font-size: 17px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27,42,74,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__img {
  height: 64px;
  width: auto;
  display: block;
}
.logo__img--footer {
  height: 60px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}
.logo__icon {
  width: 40px; height: 40px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.logo__icon span {
  display: block;
  width: 14px;
  background: var(--orange);
  border-radius: 3px 3px 0 0;
}
.logo__icon span:nth-child(1) { height: 28px; }
.logo__icon span:nth-child(2) { height: 36px; }
.logo__icon--sm span:nth-child(1) { height: 22px; }
.logo__icon--sm span:nth-child(2) { height: 28px; }
.logo__text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: .04em;
}
.logo__text small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* NAV */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--orange-dark) !important; }

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,53,.97) 0%, rgba(27,42,74,.90) 50%, rgba(240,123,29,.18) 100%),
    url('img/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--navy-dark);
}

/* Decorative steel structure pattern for hero */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--navy-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-light) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .08;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.015) 60px,
    rgba(255,255,255,.015) 61px
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 24px;
}
.hero__tag {
  display: inline-block;
  background: rgba(240,123,29,.2);
  border: 1px solid rgba(240,123,29,.4);
  color: #f9b56a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero__title span { color: var(--orange); }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero__stat span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  display: block;
}

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-200);
  aspect-ratio: 4/3;
}
.about__img-frame.no-img {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__img-frame.no-img::after {
  content: '⚙️';
  font-size: 64px;
  opacity: .3;
}
.about__img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.about__badge span { font-size: 12px; font-weight: 500; opacity: .9; }
.about__text .section-label { display: block; }
.about__text .section-title { margin-bottom: 20px; }
.about__text p { color: var(--gray-600); margin-bottom: 16px; font-size: 15px; }
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.about__feature-icon {
  width: 22px; height: 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services { background: var(--gray-50); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.service-card__photo {
  width: calc(100% + 48px);
  margin: -32px -24px 20px;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-card__photo img { transform: scale(1.06); }
.service-card__body { flex: 1; }
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== CAPACITY ===== */
.capacity { background: var(--navy); }
.capacity__banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  margin-bottom: 40px;
}
.capacity__banner img { width: 100%; height: 100%; object-fit: cover; }
.capacity__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,53,.85) 0%, rgba(27,42,74,.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.capacity__banner-overlay .section-title--light { margin-top: 8px; }
.capacity__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.capacity-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.capacity-card:hover {
  background: rgba(240,123,29,.15);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.capacity-card--wide {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
}
.capacity-card--wide p { margin: 0; }
.capacity-card__num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}
.capacity-card--wide .capacity-card__num {
  font-size: 48px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.capacity-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }

/* ===== PROJECTS ===== */
.projects { background: var(--white); }
.projects__volume {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}
.projects__volume strong {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.projects__volume span {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  opacity: .9;
}
.projects__list { display: flex; flex-direction: column; gap: 0; }
.project-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.project-item:first-child { border-top: 1px solid var(--gray-200); }
.project-item:hover { background: var(--gray-50); margin: 0 -24px; padding-left: 24px; padding-right: 24px; border-radius: 8px; border-color: transparent; }
.project-item__check {
  width: 28px; height: 28px;
  background: rgba(240,123,29,.15);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.project-item__info { flex: 1; }
.project-item__info h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.project-item__info p { font-size: 13px; color: var(--gray-600); }
.project-item__weight {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ===== MATERIALS ===== */
.materials { background: var(--gray-50); }
.materials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.materials__text .section-label { display: block; }
.materials__text .section-title { margin-bottom: 20px; }
.materials__text p { color: var(--gray-600); font-size: 15px; margin-bottom: 16px; }
.materials__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.materials__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.materials__list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.materials__img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-200);
  aspect-ratio: 4/3;
}
.materials__img-frame.no-img {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.materials__img-frame.no-img::after {
  content: '🔩';
  font-size: 64px;
  opacity: .3;
}
.materials__img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PARTNERS ===== */
.partners { background: var(--white); }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.partner-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.partner-card:hover {
  border-color: var(--orange);
  background: rgba(240,123,29,.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partner-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ===== CONTACTS ===== */
.contacts { background: var(--navy-dark); padding: 96px 0; }
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contacts__info .section-label { display: block; margin-bottom: 12px; }
.contacts__info .section-title { margin-bottom: 40px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-item__icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.contact-item p, .contact-item a {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}
.contact-item a:hover { color: var(--orange); }

/* FORM */
.contacts__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.contacts__form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,123,29,.12); }
.form__success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 8px;
  color: #166534;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.form__success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 24px 40px;
}
.footer__logo .logo { margin-bottom: 16px; }
.footer__logo p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer__links, .footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4, .footer__contacts h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}
.footer__links a, .footer__contacts a, .footer__contacts p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links a:hover, .footer__contacts a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.3); text-align: center; }

/* ===== SCROLL ANIMATIONS ===== */
.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(240,123,29,.4);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .capacity__grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-card--wide { grid-column: span 2; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 12px 16px; border-radius: 8px; font-size: 15px; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__features { grid-template-columns: 1fr; }

  .materials__inner { grid-template-columns: 1fr; gap: 40px; }
  .materials__img-frame { order: -1; }

  .contacts__inner { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .capacity__grid { grid-template-columns: 1fr 1fr; }
  .capacity-card--wide { grid-column: span 2; flex-direction: column; gap: 8px; }

  .hero__btns { flex-direction: column; gap: 12px; }
  .hero__btns .btn { width: 100%; text-align: center; }
  .hero__stats { gap: 24px; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: 1fr 1fr; }

  .projects__volume { flex-direction: column; gap: 4px; text-align: center; padding: 24px; }

  .contacts__form { padding: 28px 20px; }

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

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .capacity__grid { grid-template-columns: 1fr; }
  .capacity-card--wide { grid-column: span 1; }
  .partners__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 60px 0 40px; }
}
