:root {
  --navy: #062b62;
  --blue: #1f6fae;
  --teal: #48b9bd;
  --sky: #eef9fd;
  --line: #d5e5ee;
  --text: #102a4f;
  --muted: #5b7186;
  --white: #fff;
  --shadow: 0 18px 42px rgba(7, 38, 82, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 0 56px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 3px solid var(--navy);
  border-radius: 50%;
}

.brand-mark::before {
  position: absolute;
  inset: 5px 13px 5px 12px;
  content: "";
  background: var(--navy);
  transform: skew(-20deg) rotate(20deg);
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: 4px;
  width: 26px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 20px;
  transform: rotate(-24deg);
}

.global-nav {
  justify-self: center;
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 800;
}

.global-nav a {
  position: relative;
  padding: 24px 0;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.global-nav a:hover::after {
  background: var(--navy);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
}

.header-button,
.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(6,43,98,.18);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 45%) minmax(0, 55%);
  min-height: 430px;
  background: linear-gradient(90deg, #f2fbff, #fff);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 58px 40px 58px 68px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.28;
  font-weight: 900;
}

.lead {
  max-width: 500px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

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

.hero-image {
  position: relative;
  min-height: 430px;
  background: url("assets/hero-consult.jpg") center / cover no-repeat;
}

.badge {
  position: absolute;
  right: 42px;
  top: 40%;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  color: #fff;
  text-align: center;
  background: rgba(72,185,189,.95);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.badge strong {
  font-size: 17px;
}

.badge span {
  padding-top: 6px;
  font-size: 12px;
  font-weight: 900;
  border-top: 1px solid rgba(255,255,255,.75);
}

.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: -38px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.strengths article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.strengths span {
  color: var(--teal);
  font-weight: 900;
}

.strengths h2 {
  margin: 5px 0 8px;
  color: var(--navy);
  font-size: 22px;
}

.strengths p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  max-width: 1040px;
  margin: 70px auto 0;
  padding: 0 28px;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2,
.company-strip h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.35;
}

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

.service-grid article {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  background: #edf7fb;
  border-radius: 50%;
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.faucet::before {
  width: 28px;
  height: 16px;
  border: 4px solid var(--navy);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.faucet::after {
  bottom: 12px;
  width: 12px;
  height: 17px;
  background: var(--teal);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
}

.air::before {
  width: 34px;
  height: 16px;
  border: 4px solid var(--navy);
  border-radius: 4px;
}

.air::after {
  bottom: 13px;
  width: 36px;
  height: 12px;
  border-bottom: 3px solid var(--teal);
  border-radius: 50%;
}

.wrench::before {
  width: 38px;
  height: 8px;
  background: var(--navy);
  border-radius: 8px;
  transform: rotate(-45deg);
}

.wrench::after {
  top: 13px;
  right: 12px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--navy);
  border-left-color: transparent;
  border-radius: 50%;
}

.helmet::before {
  bottom: 17px;
  width: 40px;
  height: 24px;
  border: 4px solid var(--navy);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
}

.helmet::after {
  bottom: 15px;
  width: 46px;
  height: 5px;
  background: var(--navy);
  border-radius: 8px;
}

.service-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.works-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(7,38,82,.08);
}

.works-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.works-grid div {
  padding: 18px;
}

.works-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 2px 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  background: var(--sky);
  border-radius: 999px;
}

.works-grid h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.works-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.company-strip {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 40px;
  max-width: 1040px;
  margin: 76px auto 0;
  padding: 36px 40px;
  background: linear-gradient(135deg, #f1fbfd, #fff);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.company-strip dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.company-strip div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.company-strip dt {
  color: var(--navy);
  font-weight: 900;
}

.company-strip dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
  gap: 40px;
  max-width: 1040px;
  margin: 76px auto 0;
  padding: 0 28px 70px;
}

.contact-copy p:last-child {
  color: var(--muted);
  font-weight: 800;
}

.contact-box {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.phone {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--navy);
}

.phone span {
  grid-row: span 2;
  font-size: 26px;
}

.phone strong {
  font-size: 34px;
  line-height: 1.1;
}

.phone small {
  color: var(--muted);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.wide,
.contact-form button {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px 56px;
  color: #fff;
  background: linear-gradient(135deg, #00295f, #005092);
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.footer-brand .brand-mark::before {
  background: #fff;
}

.site-footer p,
.site-footer small {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 22px;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .menu-button span {
    height: 2px;
    background: var(--navy);
  }

  .global-nav,
  .header-button {
    display: none;
  }

  .site-header.is-open .global-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .global-nav a {
    padding: 15px 24px;
    border-top: 1px solid var(--line);
  }

  .global-nav a::after {
    display: none;
  }

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

  .hero-image {
    order: -1;
  }

  .hero-copy {
    padding: 34px 24px 44px;
  }

  .strengths,
  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .strengths {
    margin-top: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 22px;
  }

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

  .hero h1 {
    font-size: 36px;
  }

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

  .badge {
    right: 18px;
    top: 24px;
    width: 104px;
    height: 104px;
  }

  .company-strip div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .phone strong {
    font-size: 25px;
  }
}
