:root {
  --ink: #171d2b;
  --graphite: #273142;
  --muted: #687386;
  --soft: #f3f6fa;
  --white: #ffffff;
  --line: #dce4ee;
  --blue: #219bd0;
  --navy: #212750;
  --green: #2f8a7a;
  --gold: #c79b47;
  --shadow: 0 26px 80px rgba(23, 29, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.78);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 210px;
}

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

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-action {
  padding: 0 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  overflow: hidden;
  padding: clamp(54px, 8vw, 112px) clamp(20px, 6vw, 92px) clamp(44px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(33, 155, 208, 0.15), rgba(199, 155, 71, 0.09));
}

.hero::before {
  position: absolute;
  top: 11%;
  right: -14%;
  width: min(880px, 70vw);
  height: min(460px, 40vw);
  content: "";
  background: url("img/pej_trans.png") center / contain no-repeat;
  opacity: 0.07;
}

.hero-copy,
.hero-panel,
.section,
.contact,
.marquee,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6.2vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero-copy p {
  max-width: 710px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.96rem;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(33, 155, 208, 0.25);
}

.button.ghost {
  border-color: rgba(23, 29, 43, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7)),
    var(--white);
  box-shadow: var(--shadow);
}

.hero-panel > img {
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
}

.panel-divider {
  height: 1px;
  background: var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid div {
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

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

.proof-grid strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.marquee {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--graphite);
  font-weight: 850;
  text-align: center;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: start;
  background: var(--white);
}

.section-kicker {
  position: sticky;
  top: 110px;
}

.intro-text {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
}

.intro-text p {
  margin-bottom: 24px;
}

.intro-text p:last-child,
.service-grid p,
.statement p,
.method-list p,
.contact-info p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading.compact {
  max-width: 760px;
}

.services {
  background:
    linear-gradient(180deg, rgba(243, 246, 250, 0), rgba(255, 255, 255, 0.7)),
    var(--soft);
}

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

.service-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(220, 228, 238, 0.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(23, 29, 43, 0.05);
}

.service-grid small {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border: 1px solid rgba(33, 155, 208, 0.25);
  border-radius: 50%;
  color: var(--blue);
  font-weight: 900;
}

.service-grid p,
.method-list p {
  color: var(--muted);
}

.statement {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  background: var(--ink);
  color: var(--white);
}

.statement .eyebrow {
  color: #70c8ec;
}

.statement p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
}

.method {
  background: var(--white);
}

.method-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.method-list article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 150px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
}

.method-list span {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
}

.method-list span::after {
  position: absolute;
  inset: 15px;
  content: "";
  border: 2px solid var(--white);
  border-radius: 50%;
}

.contact {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(120deg, rgba(33, 155, 208, 0.2), rgba(47, 138, 122, 0.1)),
    var(--graphite);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-info {
  color: var(--white);
}

.contact-info .eyebrow {
  color: #8bd7f3;
}

.contact-info p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  margin: 24px 0 30px;
}

.contact-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.24);
}

.contact-image img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.site-footer img {
  width: 176px;
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 650;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .intro,
  .statement,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    position: static;
  }

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

  .marquee {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand img {
    width: 182px;
  }

  .header-action,
  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .proof-grid,
  .service-grid,
  .marquee {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid small {
    margin-bottom: 30px;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-image img {
    min-height: 290px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
