:root {
  --navy: #123e55;
  --navy-dark: #0a2b3d;
  --cyan: #66c4d7;
  --cyan-light: #eaf8fb;
  --text: #1b2b34;
  --muted: #60727c;
  --border: #d9e4e8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(14, 55, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 790px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 228, 232, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.logo-mark {
  position: relative;
  width: 45px;
  height: 37px;
  display: grid;
  place-items: end center;
}

.roof {
  position: absolute;
  top: 2px;
  width: 29px;
  height: 29px;
  border-left: 7px solid var(--cyan);
  border-top: 7px solid var(--cyan);
  transform: rotate(45deg);
  border-radius: 2px;
}

.house {
  position: relative;
  z-index: 1;
  width: 39px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 1px;
}

.logo-name {
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover,
.nav a:focus-visible {
  color: #1687a0;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(102, 196, 215, .35), transparent 28%),
    linear-gradient(135deg, #f6fcfd 0%, #e8f6f9 55%, #d4edf2 100%);
  padding: 105px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #147c93;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--navy-dark);
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -4px;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-dark);
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.8px;
}

h3 {
  color: var(--navy-dark);
}

.lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: #425a66;
  font-size: 20px;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(18, 62, 85, .2);
}

.button-primary:hover {
  background: var(--navy-dark);
}

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

.hero-card {
  padding: 35px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 25px;
  letter-spacing: -.6px;
}

.hero-card dl,
.company-data dl {
  margin: 0;
}

.hero-card dl > div {
  padding: 15px 0;
  border-top: 1px solid var(--border);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.hero-card a,
.text-link {
  color: #087e99;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.hero-card a:hover,
.hero-card a:focus-visible {
  color: var(--navy-dark);
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
}

.section {
  padding: 100px 0;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.section-alt {
  background: #f5f9fa;
}

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

.service-card {
  min-height: 245px;
  padding: 30px 25px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.service-card h3 {
  margin: 18px 0 9px;
  font-size: 20px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--cyan-light);
  border-radius: 10px;
  font-size: 24px;
  font-weight: 800;
}

.contact-section {
  background: var(--navy-dark);
  color: var(--white);
}

.contact-section h2,
.contact-section h3,
.contact-section p {
  color: var(--white);
}

.contact-section p {
  opacity: .76;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.text-link {
  color: var(--white);
  font-weight: 700;
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  color: var(--navy-dark);
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(102, 196, 215, .22);
}

.text-link:hover,
.text-link:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
}

.button:focus-visible,
.hero-card a:focus-visible,
.text-link:focus-visible,
.footer-inner a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.company-data {
  padding: 35px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
}

.company-data h3 {
  margin-bottom: 21px;
  font-size: 23px;
}

.company-data dl > div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.company-data dt {
  color: rgba(255, 255, 255, .6);
}

.company-data dd {
  margin-top: 0;
}

.site-footer {
  color: #c5d3d9;
  background: #061f2d;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .hero {
    padding: 80px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: clamp(18px, 8vw, 32px);
  }

  .nav a {
    padding: 6px 0;
    font-size: 14px;
  }

  .hero,
  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 47px;
    letter-spacing: -2.7px;
  }

  .lead {
    font-size: 18px;
  }

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

  .service-card {
    min-height: auto;
  }

  .company-data {
    padding: 24px 20px;
  }

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

  .footer-inner {
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
}
