:root {
  --orange: #d86f1f;
  --orange-dark: #a94d0d;
  --black: #111315;
  --ink: #1b1f23;
  --muted: #606a72;
  --line: #d9d9d4;
  --paper: #f5f4ef;
  --paper-2: #ebebe5;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--orange);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
}

.brand span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong,
h1,
h2,
h3,
.button,
.nav,
.hero-menu,
.section-title p,
.number,
.trust strong,
.contact-card a {
  font-family: "Barlow", sans-serif;
}

.brand small {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 24px;
  color: #30363b;
  font-weight: 700;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: end;
  gap: 40px;
  padding: 70px max(22px, calc((100vw - var(--max-width)) / 2)) 46px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.72), rgba(16, 19, 21, 0.46)),
    linear-gradient(180deg, rgba(16, 19, 21, 0.1), rgba(16, 19, 21, 0.72)),
    url("./assets/images/hero-industrial-floor.jpg") center / cover,
    linear-gradient(135deg, #9a9c98, #5f6464);
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff9a3d;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p:not(.eyebrow),
.intro > p,
.contact-copy > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  color: var(--orange-dark);
  background: transparent;
  cursor: pointer;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.detail-button:hover,
.detail-button:focus-visible {
  color: var(--white);
  background: var(--orange);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.hero-menu {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

.hero-menu a {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(20, 24, 27, 0.58);
}

.intro,
.activities,
.civil-works,
.trust,
.contact {
  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 38px;
  padding-top: 42px;
  padding-bottom: 26px;
  background: var(--white);
}

.section-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.section-title span {
  display: block;
  width: 5px;
  height: 56px;
  margin-top: 3px;
  background: var(--orange);
}

.section-title p {
  margin: 0 0 6px;
  color: var(--orange-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro > p {
  margin: 0;
  color: var(--muted);
}

.activities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 44px;
  background: var(--white);
}

.activity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.activity-media {
  min-height: 190px;
  background: #d9d9d4;
}

.activity-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.activity-body {
  padding: 22px;
}

.number {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.05;
}

ul {
  margin: 0;
  padding-left: 19px;
  color: #333b40;
  line-height: 1.65;
}

.civil-works {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 38px;
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--paper-2);
}

.work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-list details {
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  background: var(--white);
}

.work-list summary {
  cursor: pointer;
  font-weight: 700;
}

.work-list summary::marker {
  color: var(--orange);
}

.work-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.work-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.work-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.work-photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.work-photos figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.work-photos figcaption strong {
  font-weight: 700;
}

.work-photos figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--white);
  background: var(--black);
}

.trust div {
  padding: 30px 24px;
  background: #1c2023;
}

.trust strong {
  display: block;
  margin-bottom: 6px;
  color: #ff9a3d;
  font-size: 1.7rem;
}

.trust span {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 38px;
  padding-top: 46px;
  padding-bottom: 54px;
  background: var(--white);
}

.contact-copy > p {
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-card a {
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-card .button {
  margin-top: 8px;
  color: var(--white);
  font-size: 1rem;
}

.service-modal {
  width: min(640px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
}

.service-modal::backdrop {
  background: rgba(17, 19, 21, 0.72);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
  border-top: 6px solid var(--orange);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-kicker {
  margin: 0;
  color: var(--orange-dark);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-card h2 {
  padding-right: 32px;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.modal-card ul {
  display: grid;
  gap: 6px;
}

.modal-card .button {
  justify-self: start;
}

@media (max-width: 900px) {
  .site-header,
  .nav,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 10px;
  }

  .hero,
  .intro,
  .civil-works,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-menu {
    width: 100%;
  }

  .activities,
  .trust,
  .work-photos {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 24px;
  }
}
