/* IN-TECH Scaffolding — static rebuild */
:root {
  --navy: #2b3990;
  --navy-dark: #1b2d4b;
  --red: #ed1c24;
  --text: #333;
  --muted: #666;
  --light: #f5f6f8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Ubuntu', 'Roboto', Arial, sans-serif;
  line-height: 1.25;
  color: var(--navy-dark);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

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

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.site-header .logo img { width: 170px; }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--navy-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy-dark);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: url('../img/hero.jpg') center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(63, 7, 7, .49) 0, rgba(27, 45, 75, .85) 100%);
}

.hero .container { position: relative; }

.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 500;
  max-width: 800px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.hero h1 strong { color: #fff; font-weight: 700; }

.hero .btn { margin-top: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  transition: background .2s, color .2s;
}

.btn:hover { background: transparent; color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--red);
  margin: 14px auto 0;
}

.section-intro {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Dark image band sections */
.band {
  position: relative;
  padding: 90px 0;
  background: center / cover no-repeat fixed;
  color: #fff;
}

.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 45, 75, .82);
}

.band > .container { position: relative; }

.band h2, .band h3 { color: #fff; }

.band .section-title::after { background: var(--red); }

.bg-tank { background-image: url('../img/bg-tank.jpg'); }
.bg-numbers { background-image: url('../img/bg-numbers.jpg'); }
.bg-strengths { background-image: url('../img/bg-strengths.jpg'); }

/* ---------- Page banner (subpages) ---------- */
.page-banner {
  position: relative;
  padding: 90px 0;
  background: url('../img/hero.jpg') center / cover no-repeat;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(63, 7, 7, .49) 0, rgba(27, 45, 75, .85) 100%);
}

.page-banner h1 {
  position: relative;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Numbers (About) ---------- */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.number-card {
  background: rgba(255, 255, 255, .08);
  border-top: 4px solid var(--red);
  padding: 30px 26px;
}

.number-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ---------- Strengths (About) ---------- */
.strengths-list { max-width: 900px; margin: 40px auto 0; }

.strengths-list li {
  list-style: none;
  margin-bottom: 28px;
  padding-left: 34px;
  position: relative;
}

.strengths-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  background: var(--red);
}

.strengths-list strong { display: block; font-size: 1.15rem; }

/* ---------- Experience ---------- */
.exp-band {
  position: relative;
  padding: 80px 0;
  background: center / cover no-repeat;
  color: #fff;
}

.exp-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 45, 75, .85);
}

.exp-band:nth-of-type(even)::before { background: rgba(20, 22, 28, .85); }

.exp-band > .container { position: relative; max-width: 950px; }

.exp-band h2 {
  color: #fff;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.exp-band h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  margin-top: 12px;
}

.exp-band ul { margin: 16px 0 0 22px; }
.exp-band p + p { margin-top: 14px; }

.bg-industrial { background-image: url('../img/bg-industrial.jpg'); }
.bg-incineration { background-image: url('../img/bg-incineration.jpg'); }
.bg-bridges { background-image: url('../img/bg-bridges.jpg'); }
.bg-cubature { background-image: url('../img/bg-cubature.jpg'); }
.bg-transmission { background-image: url('../img/bg-tank.jpg'); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.gallery-grid a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  padding: 10px 18px;
  line-height: 1;
}

.lightbox .lb-close { top: 12px; right: 16px; }
.lightbox .lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-card {
  background: var(--light);
  border-top: 4px solid var(--navy);
  padding: 30px;
}

.contact-card h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--red);
}

.contact-card p { margin-bottom: 6px; }

.contact-card a { text-decoration: none; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cfd6e4;
  padding: 60px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  align-items: start;
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--red); }

.footer-logo-ir {
  background: #fff;
  padding: 12px;
  border-radius: 4px;
  display: inline-block;
  max-width: 220px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 50px;
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
    display: none;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }

  .main-nav a { border-bottom: none; padding: 12px 24px; }

  .two-col { grid-template-columns: 1fr; gap: 28px; }

  .band, .exp-band { background-attachment: scroll; }

  .section { padding: 56px 0; }
}
