:root {
  --navy: #071b43;
  --teal: #006b7f;
  --deep-teal: #004864;
  --lime: #b8d922;
  --ink: #0a1a3a;
  --muted: #39445b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: minmax(310px, 1.45fr) auto minmax(170px, .75fr);
  align-items: center;
  gap: 34px;
  padding: 0 50px;
  border-bottom: 1px solid #e4e6e8;
  background: #fff;
  position: relative;
  z-index: 10;
}

.brand { display: block; width: min(100%, 440px); }
.brand img { width: 100%; height: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; white-space: nowrap; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--teal); }

.phone {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 145px;
  min-height: 38px;
  padding: 10px 17px;
  border-radius: 11px;
  background: var(--lime);
  font-weight: 600;
  font-size: 14px;
}

.phone span { font-size: 19px; line-height: 0; transform: rotate(-42deg); }
.hero { min-height: 430px; display: grid; grid-template-columns: 44.55% 55.45%; }

.hero-copy {
  min-width: 0;
  padding: 53px 54px 35px 81px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 15% 35%, #fff 0, #fff 45%, #fbfcfd 100%);
}

.hero h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(38px, 3.55vw, 57px);
  line-height: 1.01;
  letter-spacing: -2.2px;
  font-weight: 760;
}

.hero-copy > p { margin: 21px 0 26px; color: var(--muted); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.35; }

.primary-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-width: 267px;
  padding: 14px 18px 14px 24px;
  border-radius: 11px;
  background: var(--lime);
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, filter .2s ease;
}

.primary-cta:hover { transform: translateY(-2px); filter: brightness(.96); }
.primary-cta span { font-size: 26px; line-height: .7; }
.trust-row { margin-top: auto; padding-top: 27px; display: grid; grid-template-columns: repeat(4, 1fr); }

.trust-item {
  min-width: 0;
  min-height: 43px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #0b2f58;
  font-size: 12px;
  border-right: 1px solid #cdd4dc;
}

.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1.6px solid #005176; border-radius: 50%; font-size: 15px; }
.hero-visual { position: relative; min-height: 430px; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

.services {
  padding: 15px clamp(28px, 7.6vw, 116px) 20px;
  color: #fff;
  background: linear-gradient(110deg, #034362 0%, #00546d 50%, #00788c 100%);
}

.services > h2 { margin: 0 0 11px; text-align: center; font-size: clamp(21px, 1.7vw, 26px); font-weight: 450; letter-spacing: .2px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
  min-height: 112px;
  padding: 16px 23px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  background: rgba(10, 125, 143, .5);
}

.service-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.15; }
.service-card p { margin: 0; font-size: 12px; line-height: 1.55; }
.service-icon { position: relative; display: block; width: 64px; height: 64px; color: var(--lime); }
.service-icon::before, .service-icon::after { content: ''; position: absolute; border: 2px solid currentColor; }
.service-icon.design::before { inset: 6px 9px; border-radius: 6px; }
.service-icon.design::after { width: 42px; height: 8px; left: 23px; top: 24px; border-radius: 5px; transform: rotate(-45deg); background: transparent; }
.service-icon.cabinet::before { inset: 5px 9px; border-radius: 2px; box-shadow: 5px 5px 0 -3px #00677a, 5px 5px 0 -1px currentColor; }
.service-icon.cabinet::after { top: 12px; bottom: 9px; left: 31px; border-width: 0 0 0 2px; }
.service-icon.tools::before { width: 52px; height: 13px; top: 26px; left: 5px; border-radius: 8px; transform: rotate(45deg); }
.service-icon.tools::after { width: 52px; height: 13px; top: 26px; left: 5px; border-radius: 8px; transform: rotate(-45deg); }
.service-icon.monitor::before { inset: 7px 6px 15px; border-radius: 4px; }
.service-icon.monitor::after { width: 28px; height: 12px; left: 18px; bottom: 7px; border-width: 2px 0 0; }

.projects { padding: 17px clamp(28px, 9.6vw, 148px) 23px; background: #fff; }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(22px, 1.7vw, 27px); line-height: 1.2; letter-spacing: -.3px; }
.section-heading p { margin: 2px 0 12px; color: #536079; font-size: 15px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid #dadddf; border-radius: 10px; background: #fff; }
.project-image { position: relative; height: 124px; overflow: hidden; }
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-copy { padding: 9px 16px 10px; }
.project-copy h3 { margin: 0 0 7px; font-size: 13.5px; line-height: 1.2; }
.project-copy p { margin: 0; color: #243653; font-size: 12px; }
.project-copy p span { color: #008ba0; font-size: 18px; vertical-align: -2px; }

.secondary-cta {
  width: 255px;
  min-height: 38px;
  margin: 12px auto 0;
  padding: 8px 18px 8px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #00849b;
  border-radius: 10px;
  color: #00647b;
  font-weight: 600;
  font-size: 14px;
}

.secondary-cta span { font-size: 23px; line-height: 0; }
.contact { margin: 0; padding: 48px max(28px, 9.6vw); display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff; background: var(--navy); }
.contact .eyebrow { margin: 0 0 5px; color: var(--lime); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.contact h2 { margin: 0; font-size: 34px; }

@media (max-width: 1120px) {
  .site-header { padding: 0 28px; grid-template-columns: minmax(260px, 1fr) auto; }
  .site-header nav { display: none; }
  .hero-copy { padding-left: 48px; padding-right: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 18px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand { width: min(100%, 285px); }
  .phone { min-width: 46px; width: 46px; height: 42px; padding: 0; font-size: 0; }
  .phone span { font-size: 21px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 24px 30px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); letter-spacing: -1.9px; }
  .hero-copy > p { font-size: 17px; }
  .trust-row { margin-top: 26px; }
  .hero-visual { min-height: 330px; }
  .services { padding: 22px 20px 28px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-image { height: 180px; }
  .projects { padding: 28px 20px; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand { width: 240px; }
  .site-header { padding-right: 12px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .primary-cta { min-width: 0; width: 100%; }
}
