:root {
  --bg: #f3f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --ink: #12213c;
  --muted: #51627f;
  --primary: #3e95cf;
  --primary-deep: #0f1f4b;
  --accent: #ef5b2e;
  --line: rgba(18, 33, 60, 0.1);
  --shadow: 0 24px 70px rgba(15, 31, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(62, 149, 207, 0.18), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 52%, #e9eff8 100%);
  color: var(--ink);
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem clamp(1.2rem, 3vw, 3rem) 4rem;
  background:
    linear-gradient(110deg, rgba(15, 31, 75, 0.94) 0%, rgba(15, 31, 75, 0.88) 42%, rgba(15, 31, 75, 0.45) 65%, rgba(15, 31, 75, 0.16) 100%),
    url("assets/cover.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(62, 149, 207, 0.5), transparent 68%);
  filter: blur(22px);
}

.topbar,
.hero-content,
.section,
.cta-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: min(15rem, 42vw);
  padding: 0.6rem 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.9;
}

.hero-content {
  width: min(70rem, 100%);
  margin: 6rem auto 0;
}

.eyebrow,
.section-heading span,
.safety-copy span,
.cta-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-heading span::before,
.safety-copy span::before,
.cta-card span::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.safety-copy h2,
.cta-card h2 {
  margin: 1rem 0;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p {
  width: min(44rem, 100%);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ff8158);
  box-shadow: 0 18px 38px rgba(239, 91, 46, 0.32);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.hero-stats article {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: 1.2rem;
}

.hero-stats span {
  display: block;
  margin-top: 0.45rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  width: min(76rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-heading {
  width: min(46rem, 100%);
  margin-bottom: 2.4rem;
}

.section-heading.light {
  color: #fff;
}

.section-heading h2,
.safety-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: inherit;
}

.intro-grid,
.safety {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
}

.intro-copy,
.highlight-card,
.service-card,
.safety-panel,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.intro-copy {
  padding: 2rem;
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.mission-vision div,
.highlight-card {
  padding: 1.4rem;
}

.mission-vision h3,
.highlight-card h3,
.service-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: 1.25rem;
}

.highlight-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.showcase {
  width: 100%;
  padding-inline: clamp(1.2rem, 3vw, 3rem);
  background:
    linear-gradient(135deg, rgba(15, 31, 75, 0.98), rgba(24, 52, 118, 0.88)),
    url("assets/installation.jpg") center/cover no-repeat;
}

.showcase .section-heading {
  margin-inline: auto;
}

.clients-grid {
  width: min(76rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.clients-grid span {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-family: "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
}

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

.service-card.feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  padding: 0;
  overflow: hidden;
}

.service-card.feature img,
.safety-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card.feature div {
  padding: 1.5rem;
}

.safety {
  align-items: stretch;
}

.safety-copy {
  align-self: center;
}

.safety-copy p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.safety-panel {
  overflow: hidden;
  min-height: 24rem;
}

.cta {
  padding-top: 0;
  padding-bottom: 6rem;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(15, 31, 75, 0.96), rgba(24, 52, 118, 0.88)),
    url("assets/crane.jpg") center/cover no-repeat;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.cta-card p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.contact-list {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.contact-list a,
.contact-list p {
  margin: 0;
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-content {
    margin-top: 4rem;
  }

  .hero-stats,
  .services-grid,
  .clients-grid,
  .intro-grid,
  .safety,
  .cta-card,
  .service-card.feature,
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .service-card.feature {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .section {
    width: min(100% - 1.5rem, 76rem);
    padding: 4rem 0;
  }

  .intro-copy,
  .mission-vision div,
  .highlight-card,
  .service-card,
  .cta-card {
    padding: 1.2rem;
  }
}
