:root {
  --navy: #073d75;
  --blue: #07539a;
  --blue-dark: #032f5d;
  --blue-light: #eaf4ff;
  --sky: #dcecff;
  --ink: #15283d;
  --muted: #526579;
  --line: #cbd9e8;
  --white: #ffffff;
  --warm: #f4b942;
  --shadow: 0 14px 34px rgba(3, 47, 93, 0.14);
  --max-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(7, 61, 117, 0.12);
  box-shadow: 0 5px 18px rgba(12, 52, 92, 0.06);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 114px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.brand img {
  width: 226px;
  height: 104px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: #1f2c3a;
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--blue);
}

.header-call {
  min-width: 224px;
  min-height: 62px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 83, 154, 0.22);
  font-size: 1.17rem;
  font-weight: 800;
  text-decoration: none;
}

.header-call small {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.header-call svg {
  width: 27px;
  height: 27px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  width: min(100%, 1600px);
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  background: var(--white);
}

.hero-copy {
  padding: clamp(52px, 5vw, 80px) clamp(34px, 5vw, 76px) 54px max(34px, calc((100vw - var(--max-width)) / 2));
  align-self: center;
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 750px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: clamp(2.35rem, 3.3vw, 3.45rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 850;
}

h3 {
  font-size: 1.08rem;
}

.hero-summary {
  max-width: 670px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.hero-phone {
  width: fit-content;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: clamp(1.9rem, 3vw, 3.35rem);
  font-weight: 850;
  text-decoration: none;
}

.hero-phone svg {
  width: 38px;
  height: 38px;
  fill: var(--blue);
}

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

.button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(7, 83, 154, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

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

.hero-media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--blue-light);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-logo-card {
  position: absolute;
  right: 5%;
  bottom: 15%;
  width: min(300px, 42%);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo-card img {
  width: 100%;
  max-height: 155px;
  object-fit: contain;
}

.hero-logo-card strong {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: clamp(1.2rem, 2vw, 2rem);
  text-align: center;
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: rgba(3, 47, 93, 0.92);
  font-weight: 750;
}

section[id] {
  scroll-margin-top: 114px;
}

.section {
  padding: 72px max(28px, calc((100vw - var(--max-width)) / 2));
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.ruled-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.ruled-heading > span {
  height: 1px;
  background: var(--blue);
}

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

.service-item {
  min-height: 176px;
  padding: 24px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(7, 61, 117, 0.06);
}

.service-item svg {
  width: 54px;
  height: 54px;
  color: var(--blue);
  stroke-width: 1.8;
}

.service-item h3 {
  max-width: 170px;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 780;
}

.service-area {
  padding: 34px max(28px, calc((100vw - var(--max-width)) / 2));
  background: var(--blue-light);
  border-block: 1px solid #c9def2;
}

.area-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.area-inner > svg {
  width: 64px;
  height: 64px;
  color: var(--blue);
  fill: var(--blue);
  stroke: var(--white);
}

.area-inner h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.pricing {
  padding: 24px max(28px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--blue);
}

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

.price-item {
  min-height: 150px;
  padding: 20px clamp(24px, 4vw, 58px);
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 22px;
}

.price-item + .price-item {
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.price-item > svg {
  width: 76px;
  height: 76px;
  padding: 16px;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
}

.price-item p,
.price-item small {
  margin: 0;
}

.price-item p {
  font-weight: 700;
}

.price-item strong {
  display: block;
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  line-height: 1;
}

.price-item small {
  color: #dbeeff;
}

.projects {
  padding-bottom: 82px;
}

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

.project-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: var(--blue-light);
  border-radius: 6px;
}

.project-card.project-wide {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(3, 47, 93, 0.9);
  font-weight: 750;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: center;
  padding: 72px max(28px, calc((100vw - var(--max-width)) / 2));
  background: #f7fbff;
  border-top: 1px solid var(--line);
}

.about-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-grid > div {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.trust-grid svg {
  width: 40px;
  height: 40px;
  margin-bottom: 17px;
  color: var(--blue);
}

.trust-grid strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.trust-grid span {
  margin-top: 5px;
  color: var(--muted);
}

.contact {
  padding: 70px max(28px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--blue-dark);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}

.contact .eyebrow {
  color: #9ed0ff;
}

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

.contact p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: #c6dcf0;
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: center;
}

.button-light {
  color: var(--blue-dark);
  background: var(--white);
}

.contact-actions span {
  color: #c6dcf0;
  font-size: 0.84rem;
}

.site-footer {
  min-height: 126px;
  padding: 24px max(28px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.9rem;
}

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

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 200px 1fr auto;
    gap: 20px;
  }

  .brand img {
    width: 190px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .header-call {
    min-width: 184px;
    padding-inline: 14px;
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-color: var(--blue) var(--blue-light);
  }

  .price-item {
    grid-template-columns: 66px 1fr;
    padding-inline: 24px;
  }

  .price-item > svg {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 940px) {
  section[id] {
    scroll-margin-top: 88px;
  }

  .header-inner {
    height: 88px;
    grid-template-columns: 1fr auto auto;
  }

  .brand img {
    width: 160px;
    height: 80px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    padding: 18px 24px 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    padding: 12px 4px;
  }

  .header-call {
    min-width: 56px;
    width: 56px;
    min-height: 52px;
    padding: 0;
  }

  .header-call span {
    display: none;
  }

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

  .hero-copy {
    padding: 56px 28px 48px;
  }

  .hero-media {
    min-height: 470px;
  }

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

  .price-item {
    min-height: 126px;
  }

  .price-item + .price-item {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    border-left: 0;
  }

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

  .about {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-actions {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--max-width));
    gap: 10px;
  }

  .brand img {
    width: 132px;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-logo-card {
    right: 18px;
    bottom: 70px;
    width: 180px;
    padding: 8px 10px;
  }

  .hero-logo-card img {
    max-height: 90px;
  }

  .hero-phone {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .hero-phone svg {
    width: 31px;
    height: 31px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 20px;
  }

  .ruled-heading {
    grid-template-columns: 32px 1fr 32px;
    gap: 12px;
  }

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

  .service-item {
    min-height: 160px;
  }

  .service-item svg {
    width: 44px;
    height: 44px;
  }

  .area-inner {
    grid-template-columns: auto 1fr;
  }

  .area-inner > svg {
    width: 52px;
    height: 52px;
  }

  .area-inner .text-link {
    grid-column: 1 / -1;
  }

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

  .project-card.project-wide {
    grid-column: auto;
  }

  .project-card,
  .project-card img {
    min-height: 250px;
  }

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

  .trust-grid > div {
    min-height: 150px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
