:root {
  color-scheme: light;
  --blue-950: #0d2d46;
  --blue-900: #123653;
  --blue-800: #174762;
  --blue-700: #235f82;
  --blue-100: #dcecf6;
  --blue-50: #f4f9fc;
  --orange-600: #e96f2c;
  --orange-500: #f47a34;
  --orange-100: #ffe7d7;
  --ink: #10293d;
  --muted: #5a7184;
  --line: #cbdce8;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(13, 45, 70, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fbfd;
  color: var(--ink);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 45, 70, 0.96);
  backdrop-filter: blur(16px);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: white;
}

.brand img {
  width: min(360px, 68vw);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--orange-500);
  color: white;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 111, 34, 0.24);
  padding: 12px 20px;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue-900);
  box-shadow: none;
}

.site-header .button.secondary,
.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero {
  background:
    linear-gradient(90deg, rgba(13, 45, 70, 0.98), rgba(13, 45, 70, 0.9), rgba(13, 45, 70, 0.7)),
    var(--hero-image) center / cover;
  color: white;
}

.hero-inner {
  display: grid;
  min-height: 680px;
  align-items: center;
  padding: 92px 0 84px;
}

.hero-inner > div {
  width: min(100%, 900px);
}

.eyebrow {
  color: var(--orange-500);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7.4vw, 5.8rem);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 680px;
  color: white;
  font-size: 1.2rem;
}

.hero-service-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--orange-500) !important;
  font-size: clamp(1rem, 2.1vw, 1.35rem) !important;
  font-weight: 900;
  line-height: 1.18;
}

.hero-service-line span {
  border: 1px solid rgba(244, 122, 52, 0.45);
  border-radius: 999px;
  background: rgba(13, 45, 70, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  color: #ff9a5c;
  padding: 10px 14px;
  white-space: nowrap;
}

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

.stats-section {
  background: #f7fbfd;
  padding: 28px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat {
  background: var(--surface);
  padding: 24px;
}

.stat strong {
  display: block;
  color: var(--orange-600);
  font-size: 1.7rem;
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.accent-heading {
  align-items: center;
  border-left: 6px solid var(--orange-500);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(244, 249, 252, 0));
  padding: 22px 0 22px 24px;
}

.accent-heading .eyebrow {
  margin: 0 0 8px;
}

.section-intro {
  display: grid;
  max-width: 560px;
  gap: 12px;
}

.section-intro p {
  max-width: none;
  color: var(--blue-900);
  font-size: 1.12rem;
  font-weight: 650;
}

.section-intro span {
  width: fit-content;
  border: 1px solid rgba(244, 122, 52, 0.28);
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 8px 12px;
}

.dark-heading {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(13, 45, 70, 0));
}

.dark-heading .section-intro p {
  color: #eaf4fb;
}

.dark-heading .section-intro span {
  border-color: rgba(244, 122, 52, 0.42);
  background: rgba(244, 122, 52, 0.14);
  color: #ff9a5c;
}

.service-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 900;
}

.service-card h3,
.testimonial-card h3 {
  margin: 18px 0 8px;
  color: var(--blue-950);
}

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

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

.project-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.project-card h3 {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  background: linear-gradient(transparent, rgba(13, 45, 70, 0.94));
  color: white;
  padding: 70px 18px 18px;
}

.testimonials {
  background: var(--blue-950);
  color: white;
}

.testimonials .section-heading h2,
.testimonials .section-heading p {
  color: white;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 28px;
  align-items: stretch;
}

.testimonial-layout > img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: cover;
}

.testimonial-grid {
  grid-template-columns: 1fr;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card p {
  font-size: 1.08rem;
}

.contact {
  background: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cert-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-950);
  color: white;
  padding: 28px;
  text-align: center;
  text-decoration: none;
}

.cert-card img {
  width: min(180px, 60%);
}

.footer {
  background: var(--blue-950);
  color: white;
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer img {
  width: 210px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--blue-900);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

@media (max-width: 900px) {
  .nav,
  .section-heading,
  .contact-layout,
  .testimonial-layout {
    align-items: start;
    flex-direction: column;
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
  }

  .accent-heading {
    padding: 20px 0 20px 18px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: 600px;
    justify-items: center;
    text-align: center;
  }

  .hero-inner > div {
    width: min(100%, 760px);
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-service-line {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats,
  .service-grid,
  .project-grid,
  .contact-layout,
  .testimonial-layout {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero-inner {
    min-height: 560px;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-service-line {
    display: grid;
    justify-items: center;
    gap: 6px;
  }

  .hero-service-line span {
    white-space: normal;
  }

  .stats,
  .service-grid,
  .project-grid,
  .contact-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}
