:root {
  --ink: #16212b;
  --muted: #5f6d7b;
  --line: #dbe3e9;
  --surface: #ffffff;
  --soft: #f3f7f8;
  --navy: #123044;
  --teal: #0a7d79;
  --gold: #f2b84b;
  --red: #c84b3a;
  --shadow: 0 18px 50px rgba(18, 48, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 233, 0.8);
  backdrop-filter: blur(14px);
}

.site-header,
main,
.footer {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 8px;
  font-size: 1.3rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--teal);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav a[aria-current="page"],
.header-cta[aria-current="page"] {
  color: var(--teal);
}

.header-cta[aria-current="page"] {
  color: #fff;
  background: var(--teal);
}

.nav a,
.header-cta,
.btn,
.quick-contact a,
.industry-list span,
.footer a,
.footer span {
  overflow-wrap: anywhere;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: var(--red);
}

.header-cta:hover,
.btn.primary:hover {
  background: #a93c2e;
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fff;
  display: grid;
  align-items: end;
  padding: clamp(120px, 18vh, 190px) clamp(18px, 5vw, 64px) 34px;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 31, 45, 0.88), rgba(12, 31, 45, 0.48) 48%, rgba(12, 31, 45, 0.2)),
    linear-gradient(0deg, rgba(12, 31, 45, 0.74), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 96px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.hero-panel span {
  display: grid;
  gap: 2px;
  padding: 22px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.hero-panel span:last-child {
  border-right: 0;
}

.hero-panel strong {
  color: var(--navy);
  font-size: 1.45rem;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.quick-contact a {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-right: 1px solid var(--line);
  color: var(--muted);
  min-width: 0;
}

.quick-contact a:last-child {
  border-right: 0;
}

.quick-contact strong {
  display: block;
  color: var(--ink);
}

.icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal);
  background: #e6f4f2;
  border-radius: 50%;
  font-weight: 900;
}

.section,
.band,
.reviews,
.quote,
.footer {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro > *,
.band > *,
.quote > *,
.footer > *,
.section-heading,
.service-card,
.steps li,
.review-grid figure {
  min-width: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  min-height: 190px;
}

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

.service-card p,
.steps p,
.quote-copy p,
.footer p {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  color: #fff;
  background: var(--navy);
}

.band h2 {
  color: #fff;
}

.band-copy p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

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

.industry-list span {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  min-height: 260px;
  background: var(--soft);
  border-radius: 8px;
}

.steps span {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--red);
  font-weight: 900;
}

.reviews {
  background: var(--soft);
}

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

.review-grid figure {
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.review-grid figcaption {
  margin-top: 24px;
  color: var(--teal);
  font-weight: 900;
}

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #0d1d29;
}

.footer .brand {
  color: #fff;
}

.footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #fff;
}

.page-hero {
  display: grid;
  min-height: 440px;
  align-items: end;
  padding: clamp(88px, 12vw, 142px) clamp(18px, 5vw, 64px) clamp(54px, 8vw, 90px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 48, 68, 0.94), rgba(18, 48, 68, 0.74)),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero.compact h1,
.quote-page h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow),
.quote-page p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.page-hero .btn {
  margin-top: 22px;
}

.service-detail-grid,
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid article,
.industry-cards article,
.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-detail-grid span,
.timeline span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-weight: 900;
}

.service-detail-grid h2,
.industry-cards h2,
.timeline h2,
.contact-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.service-detail-grid p,
.industry-cards p,
.timeline p,
.contact-panel p {
  color: var(--muted);
}

.comparison-list,
.quote-benefits {
  display: grid;
  gap: 12px;
}

.comparison-list span,
.quote-benefits span {
  padding: 16px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 60px) clamp(18px, 5vw, 64px);
  background: var(--soft);
}

.quote-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 86px minmax(220px, 0.35fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.page-reviews {
  background: #fff;
}

.contact-layout,
.quote-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-panel a,
.contact-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 800;
}

.contact-panel .btn {
  display: inline-flex;
  margin-top: 10px;
  color: #fff;
}

.quote-page {
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 48, 68, 0.96), rgba(18, 48, 68, 0.76)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.quote-page .quote-form {
  background: rgba(13, 29, 41, 0.94);
}

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

.quote-page .full-field,
.quote-page .quote-form button,
.quote-page .form-note {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .intro,
  .band,
  .quote,
  .footer,
  .contact-layout,
  .quote-page {
    grid-template-columns: 1fr;
  }

  .service-detail-grid,
  .industry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .timeline article p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-header.nav-open .nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 22px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
    line-height: 0.96;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-panel,
  .quick-contact,
  .service-grid,
  .steps,
  .review-grid,
  .industry-list,
  .service-detail-grid,
  .industry-cards,
  .quote-page .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-panel span,
  .quick-contact a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel span:last-child,
  .quick-contact a:last-child {
    border-bottom: 0;
  }

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

  .quick-contact a {
    min-height: 76px;
    padding: 18px 16px;
  }

  .section,
  .band,
  .reviews,
  .quote,
  .footer {
    padding: 54px 16px;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .service-card div,
  .steps li,
  .review-grid figure {
    padding: 22px;
  }

  .steps span {
    margin-bottom: 24px;
  }

  .quote-form {
    padding: 20px;
  }

  .page-hero,
  .quote-page {
    min-height: auto;
    padding: 76px 16px 54px;
  }

  .page-hero.compact h1,
  .quote-page h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .quote-strip {
    display: grid;
    padding: 42px 16px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline article p {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 3.4rem);
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero-panel span {
    padding: 18px;
  }

  .service-card img {
    min-height: 170px;
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  .hero {
    min-height: 680px;
  }
}
