:root {
  --ink: #102027;
  --muted: #5d7078;
  --line: #dce7e7;
  --paper: #f7fbfb;
  --white: #ffffff;
  --blue: #0f5f8c;
  --teal: #0f766e;
  --green: #2f8f5b;
  --dark: #0b2530;
  --shadow: 0 18px 50px rgba(13, 45, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 251, 251, 0.92);
  border-bottom: 1px solid rgba(220, 231, 231, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: #25414a;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--teal);
}

.site-nav a.is-active {
  color: var(--teal);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--dark);
}

.hero {
  padding: clamp(46px, 9vw, 104px) clamp(18px, 4vw, 54px) 36px;
  background:
    linear-gradient(135deg, rgba(15, 95, 140, 0.12), rgba(47, 143, 91, 0.1)),
    var(--paper);
}

.hero-grid,
.section,
.site-footer {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.hero-copy,
.section-heading,
.about-copy,
.contact-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

.button.primary:hover,
.site-nav .nav-cta:hover {
  background: #0b5f59;
  color: var(--white);
}

.button.secondary {
  color: var(--dark);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(11, 37, 48, 0.78), rgba(15, 95, 140, 0.56)),
    url("https://images.unsplash.com/photo-1589550051329-c567a50f3869?auto=format&fit=crop&w=1000&q=72") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  position: relative;
  z-index: 1;
  max-width: 310px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1;
}

.metric span,
.status-card p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-lines {
  position: absolute;
  right: 24px;
  bottom: 95px;
  left: 24px;
  display: grid;
  gap: 16px;
}

.hero-lines span {
  display: block;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero-lines span:nth-child(2) {
  width: 72%;
}

.hero-lines span:nth-child(3) {
  width: 48%;
}

.status-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(11, 37, 48, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.status-card p {
  margin: 0;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: #7ee0a3;
  border-radius: 50%;
}

.section {
  padding: clamp(54px, 9vw, 96px) clamp(18px, 4vw, 54px);
}

.page-hero {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 9vw, 104px) clamp(18px, 4vw, 54px) clamp(28px, 5vw, 54px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-action {
  display: flex;
  margin-top: 24px;
}

.section-action.on-dark {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

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

.card,
.project-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(13, 45, 57, 0.06);
}

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

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

.detail-card,
.portfolio-card,
.cta-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(13, 45, 57, 0.06);
}

.detail-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-card li + li {
  margin-top: 8px;
}

.portfolio-card {
  min-height: 240px;
}

.portfolio-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card p,
.detail-card p,
.cta-panel p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  color: var(--teal);
  background: #e7f6f3;
  border-radius: 8px;
  font-weight: 800;
}

.card p,
.project-card p,
.trust-list span,
.site-footer p,
.form-note {
  color: var(--muted);
}

.band {
  max-width: none;
  background: var(--dark);
}

.band .section-heading,
.band .project-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.band h2,
.project-card h3 {
  color: var(--white);
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.project-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #8ee8c0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card p {
  color: rgba(255, 255, 255, 0.75);
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  margin-bottom: 5px;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 800;
}

.cta-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.cta-panel .button {
  justify-self: start;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.contact-strip h2 {
  max-width: 760px;
  margin: 0;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #29464f;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfefe;
  border: 1px solid #cadbdb;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--teal);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 340px;
  }

  .service-grid,
  .project-grid,
  .detail-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .card-icon {
    margin-bottom: 26px;
  }

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

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions .button,
  .quote-form .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 315px;
    padding: 20px;
  }

  .metric strong {
    font-size: 28px;
  }

  .status-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
