:root {
  --navy: #101923;
  --coal: #18222d;
  --steel: #52616f;
  --gold: #c9973b;
  --orange: #e06f28;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #dce2e8;
  --text: #1f2933;
  --muted: #64707d;
  --whatsapp: #25d366;
  --phone: #1f6feb;
  --shadow: 0 18px 44px rgba(16, 25, 35, 0.12);
  --deep-shadow: 0 28px 70px rgba(9, 16, 24, 0.24);
  --radius: 8px;
  --container: 1160px;
  --header: 78px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 22px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section--soft { background: var(--soft); }

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: 0; }
h1 { margin-bottom: 0; color: #fff; font-size: clamp(2.15rem, 4.8vw, 4.4rem); }
h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { margin-bottom: 8px; font-size: 1.12rem; }

.section-heading {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 800;
  color: var(--navy);
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo span {
  max-width: 240px;
  font-size: .95rem;
  line-height: 1.18;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 9px;
  border-radius: var(--radius);
  color: var(--coal);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: rgba(201, 151, 59, .16);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 62px 0 72px;
  background:
    linear-gradient(90deg, rgba(12, 19, 29, .96), rgba(17, 29, 41, .84) 48%, rgba(17, 29, 41, .38)),
    url("img/generated/stock-construction-site.png") center / cover no-repeat;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(310px, .94fr);
  align-items: center;
  gap: 48px;
}

.hero__text {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d8e0e8;
  font-size: 1.08rem;
}

.hero__actions, .cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 900;
  text-align: center;
  transition: transform .2s ease, filter .2s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn--whatsapp { color: #fff; background: var(--whatsapp); box-shadow: 0 14px 30px rgba(37, 211, 102, .26); }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); }
.btn--dark { color: #fff; background: var(--navy); }

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li, .barter-list li {
  position: relative;
  padding: 13px 14px 13px 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #eef3f7;
  background: rgba(255,255,255,.08);
  font-weight: 700;
}

.trust-list li::before, .barter-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--deep-shadow);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__visual figcaption {
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--coal));
  font-weight: 800;
}

.about-grid, .barter-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 44px;
  align-items: center;
}

.about-grid p, .contact-grid p { color: var(--muted); }

.about-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-grid span, .why-grid div {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,25,35,.07);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,151,59,.62);
}

.line-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--steel));
}

.line-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  border-top-color: transparent;
  transform: rotate(45deg);
}

.service-card p { margin: 0; color: var(--muted); }

.barter-section {
  padding: 82px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16,25,35,.96), rgba(24,34,45,.92)),
    url("img/generated/stock-material-warehouse.png") center / cover no-repeat;
}

.barter-section h2 { color: #fff; }
.barter-section p { max-width: 680px; margin: 0; color: #dbe2e8; }

.barter-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 235px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10,17,25,.9), rgba(10,17,25,0));
  font-weight: 900;
  text-align: left;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16,25,35,.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.active .faq-answer { max-height: 240px; }
.faq-item.active .faq-question span { background: var(--navy); }

.cta-strip {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy), #26313d 58%, #563f1f);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.cta-strip h2 { color: #fff; }
.cta-strip p:last-child { margin: 0; color: #e2e7ec; }

.contact-section { background: #fff; }

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 22px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
}

.contact-list strong { color: var(--muted); font-size: .84rem; }
.contact-list a { color: var(--navy); font-size: 1.2rem; font-weight: 900; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 18, 28, .26);
}

.floating-btn svg { width: 28px; height: 28px; }
.floating-btn--whatsapp { background: var(--whatsapp); }
.floating-btn--phone { background: var(--phone); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 16, .86);
}

.lightbox.open { display: flex; }

.lightbox figure {
  width: min(100%, 980px);
  max-height: 88vh;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox figcaption {
  padding-top: 12px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  padding: 54px 0 24px;
  color: #d7dee6;
  background: var(--navy);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(180px, .7fr);
  gap: 34px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.12);
}

.footer__grid p { max-width: 440px; margin: 0; }
.footer__grid h3 { color: #fff; font-size: .95rem; }
.footer__grid a { display: table; margin: 8px 0; color: #d7dee6; }
.footer__grid a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
  .header-call { display: none; }
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header: 70px; }
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 64px 0; }
  .logo img { width: 48px; height: 48px; }
  .logo span { max-width: 178px; font-size: .78rem; }
  .hero { min-height: auto; padding: 52px 0 58px; }
  .hero__grid, .about-grid, .barter-grid, .contact-grid, .cta-strip__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__visual img { aspect-ratio: 16 / 11; }
  .trust-list, .feature-grid, .why-grid, .service-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide { grid-column: auto; }
  .cta-strip__actions, .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .floating-actions {
    right: 12px;
    bottom: 12px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
}
