:root {
  --navy: #12344d;
  --navy-2: #0c2639;
  --blue: #7eb5c8;
  --blue-soft: #d9edf3;
  --cream: #faf7ef;
  --white: #ffffff;
  --gray-50: #f5f7f8;
  --gray-100: #e8edf0;
  --gray-500: #64727c;
  --text: #1c2d38;
  --shadow: 0 18px 50px rgba(12, 38, 57, 0.13);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: 84px 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 260px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  background: var(--navy);
  border-radius: var(--radius);
}

.brand strong,
.site-footer strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 0.78rem;
  line-height: 1.25;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a,
.footer-links a {
  text-decoration: none;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--navy-2);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.main-nav a:hover {
  background: var(--gray-50);
}

.header-call {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  background: var(--navy);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(217, 237, 243, 0.76), rgba(250, 247, 239, 0.96) 54%, #fff 100%),
    var(--cream);
}

.hero::after,
.detail-section::before {
  content: "";
  position: absolute;
  inset: auto -8% -140px -8%;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(126, 181, 200, 0.24), rgba(126, 181, 200, 0) 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #2c7086;
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-2);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: #365260;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(18, 52, 77, 0.18);
}

.button-primary:hover,
.header-call:hover {
  background: var(--navy-2);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(18, 52, 77, 0.18);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.project-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 52, 77, 0.12);
  border-radius: var(--radius);
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 154px;
  gap: 10px;
  align-self: stretch;
  min-height: 520px;
}

.mosaic-item {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--blue-soft);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(12, 38, 57, 0.08);
}

.mosaic-large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-strip {
  background: var(--navy);
}

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

.strip-inner span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 14px;
  color: var(--white);
  font-weight: 850;
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--gray-500);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 206px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(18, 52, 77, 0.06);
}

.card p {
  margin: 14px 0 0;
  color: var(--gray-500);
}

.detail-section {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 14px;
}

.detail-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.detail-list strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.detail-list span {
  color: var(--gray-500);
}

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

.project-list span {
  justify-content: center;
  min-height: 66px;
  padding: 14px;
  background: var(--cream);
}

.areas {
  background: linear-gradient(180deg, var(--white), var(--gray-50));
}

.areas-grid {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 44px;
  align-items: center;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.area-list a {
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 0 18px;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.area-list a:hover {
  border-color: rgba(18, 52, 77, 0.28);
  box-shadow: 0 12px 28px rgba(18, 52, 77, 0.08);
}

.faq-wrap {
  max-width: 940px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18, 52, 77, 0.05);
}

summary {
  padding: 20px 22px;
  color: var(--navy-2);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--gray-500);
}

.estimate {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(12, 38, 57, 0.98), rgba(18, 52, 77, 0.93)),
    var(--navy);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  align-items: start;
}

.estimate h2,
.estimate .eyebrow,
.estimate-copy p,
.estimate a {
  color: var(--white);
}

.estimate-copy p {
  margin: 18px 0 0;
  opacity: 0.84;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  color: var(--navy-2);
  background: var(--cream);
  border-radius: var(--radius);
}

.contact-card a {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 950;
  text-decoration: none;
}

.contact-card span {
  color: #51616a;
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimate-form label,
.form-status,
.form-note,
.full {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .estimate-form label:nth-of-type(1),
  .estimate-form label:nth-of-type(2),
  .estimate-form label:nth-of-type(3),
  .estimate-form label:nth-of-type(4),
  .estimate-form label:nth-of-type(5),
  .estimate-form label:nth-of-type(6) {
    grid-column: auto;
  }
}

.estimate-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-2);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(126, 181, 200, 0.34);
  border-color: var(--blue);
}

.form-status {
  display: none;
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.form-status.is-visible {
  display: block;
}

.form-note {
  margin: -4px 0 0;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.form-note code {
  padding: 2px 4px;
  background: var(--gray-50);
  border-radius: 4px;
}

.site-footer {
  padding: 34px 0;
  background: var(--cream);
  border-top: 1px solid var(--gray-100);
}

.footer-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  color: var(--navy);
  font-weight: 850;
}

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

  .main-nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero-grid,
  .detail-grid,
  .areas-grid,
  .estimate-grid {
    grid-template-columns: 1fr;
  }

  .image-mosaic {
    min-height: 460px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .section-pad {
    padding: 58px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0 8px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.72rem;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .header-call {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .main-nav {
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    padding: 7px 9px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .hero-actions,
  .hero-proof,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .image-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 128px;
    min-height: auto;
  }

  .mosaic-large {
    grid-column: span 2;
  }

  .strip-inner,
  .card-grid,
  .project-list,
  .area-list,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .strip-inner span {
    min-height: 58px;
  }

  .card {
    min-height: auto;
    padding: 22px;
  }

  .estimate-form {
    padding: 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
