:root {
  --orange: #f6a400;
  --orange-dark: #d98700;
  --ink: #111518;
  --muted: #68717a;
  --soft: #f5f6f7;
  --line: #e5e8ec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 21, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 10px clamp(18px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(17, 21, 24, 0.08);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 154px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  flex: 1;
  font-weight: 700;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding: 30px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--orange-dark);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--orange-dark);
  border: 1px solid rgba(246, 164, 0, 0.45);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone svg,
.btn svg,
.contact-band svg {
  width: 19px;
  height: 19px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 14, 18, 0.95) 0%, rgba(9, 14, 18, 0.78) 39%, rgba(9, 14, 18, 0.15) 73%),
    url("assets/hero-btp.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -54px;
  height: 116px;
  background: var(--white);
  transform: rotate(-2.4deg);
  transform-origin: left top;
  border-top: 7px solid var(--orange);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 82px clamp(22px, 6vw, 82px) 118px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 36px);
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-text {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  padding: 78px clamp(18px, 5vw, 78px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 14, 18, 0.95) 0%, rgba(9, 14, 18, 0.74) 48%, rgba(9, 14, 18, 0.22) 100%),
    url("assets/hero-btp.png") center / cover;
}

.page-hero div {
  max-width: 760px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 30px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(246, 164, 0, 0.25);
}

.btn.primary:hover {
  background: var(--orange-dark);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.btn.outline-dark {
  color: var(--ink);
  border: 1px solid rgba(17, 21, 24, 0.24);
  background: var(--white);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.hero-badges div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 13px;
  align-items: center;
}

.hero-badges svg {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  color: var(--orange);
}

.hero-badges strong {
  font-size: 15px;
}

.hero-badges span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 82px clamp(18px, 5vw, 78px);
}

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

.section h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.06;
}

.section-copy {
  max-width: 680px;
}

.section-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.about {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.about-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-grid div,
.news-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 21, 24, 0.06);
}

.about-grid svg,
.news-grid span {
  color: var(--orange);
}

.about-grid svg {
  width: 34px;
  height: 34px;
}

.about-grid h3,
.news-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.about-grid p,
.news-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.content-split,
.contact-page,
.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.info-panel,
.contact-action-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-panel h3,
.contact-action-panel h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.info-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: #343b42;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.info-panel li:last-child {
  border-bottom: 0;
}

.info-panel svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.values-section {
  background: var(--soft);
}

.services {
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.service-card {
  padding: 0 24px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: -30px auto 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  border: 8px solid var(--white);
}

.highlighted .icon-wrap {
  background: var(--orange);
}

.icon-wrap svg {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 18px;
}

.service-card p {
  min-height: 84px;
  margin: 0;
  color: #343b42;
  line-height: 1.55;
}

.service-card ul {
  padding: 0;
  margin: 22px 0;
  text-align: left;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: #343b42;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
  font-weight: 900;
}

.service-card a {
  display: inline-flex;
  justify-content: center;
  min-width: 142px;
  padding: 11px 15px;
  border: 1px solid rgba(17, 21, 24, 0.26);
  border-radius: 6px;
  font-weight: 800;
}

.highlighted a {
  color: var(--orange-dark);
  border-color: rgba(246, 164, 0, 0.42);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 46px clamp(18px, 5vw, 78px);
  color: var(--white);
  background:
    linear-gradient(rgba(11, 15, 18, 0.93), rgba(11, 15, 18, 0.93)),
    url("assets/stats-chantier.jpg") center / cover;
}

.stats div {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 132px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats div:last-child {
  border-right: 0;
}

.stats svg {
  width: 42px;
  height: 42px;
}

.stats strong {
  color: var(--orange);
  font-size: 42px;
  line-height: 1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.project-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.project-grid div {
  padding: 20px;
}

.project-grid h3 {
  margin: 0 0 10px;
}

.project-grid p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
}

.project-grid svg {
  width: 16px;
  color: var(--orange);
}

.center-btn {
  width: fit-content;
  margin: 30px auto 0;
}

.gallery-section {
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.equipment-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.gallery-card div {
  padding: 22px;
}

.gallery-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

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

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-cards a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 21, 24, 0.06);
}

.contact-cards svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
}

.contact-cards strong {
  font-size: 19px;
}

.contact-cards span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-form-section {
  padding-top: 0;
}

.contact-action-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-action-panel .btn {
  margin: 8px 10px 0 0;
}

.dark-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 16, 19, 0.94), rgba(12, 16, 19, 0.78)),
    url("assets/engins.jpg") center / cover;
}

.dark-section .section-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.equipment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.equipment-list span {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.news-grid article {
  min-height: 210px;
}

.news-grid span {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(290px, 1.4fr) repeat(3, minmax(190px, 0.8fr));
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 78px);
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #e89000);
}

.contact-intro {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-intro > svg {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  padding: 17px;
  color: var(--orange);
  background: var(--white);
  border-radius: 999px;
}

.contact-band h2,
.contact-band p {
  margin: 0;
}

.contact-band p {
  margin-top: 8px;
}

.contact-band a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-band a svg {
  flex: 0 0 auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #101417;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.95fr 1.1fr;
  gap: 42px;
  padding: 46px clamp(18px, 5vw, 78px) 34px;
}

.footer-logo {
  width: 106px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  padding: 4px;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 310px;
  margin: 0;
  line-height: 1.65;
}

.site-footer a {
  display: block;
  margin: 10px 0;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 78px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 22px;
    background: var(--white);
    box-shadow: 0 18px 32px rgba(17, 21, 24, 0.12);
  }

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

  .main-nav a {
    padding: 15px 0;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero-badges,
  .about,
  .about-grid,
  .content-split,
  .contact-page,
  .contact-form-section,
  .equipment,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats div:nth-child(2) {
    border-right: 0;
  }

  .stats div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .stats div:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 118px;
  }

  .hero-content {
    padding-top: 62px;
  }

  .hero-actions,
  .btn,
  .center-btn {
    width: 100%;
  }

  .project-grid,
  .gallery-grid,
  .stats,
  .contact-band,
  .equipment-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    margin-top: 26px;
  }

  .contact-intro {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
