:root {
  --ink: #173142;
  --muted: #5f6f6c;
  --teal: #1199a7;
  --teal-dark: #003a73;
  --green: #57b51f;
  --mint: #dff5ef;
  --sky: #eaf5ff;
  --coral: #f97355;
  --gold: #f5b84b;
  --paper: #f7fbfb;
  --white: #ffffff;
  --line: #d7e4df;
  --shadow: 0 24px 70px rgba(21, 48, 47, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 54px);
  min-height: 86px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 153, 167, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(112px, 15vw, 158px);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: clamp(20px, 4vw, 44px);
  font-size: 1rem;
  font-weight: 650;
  color: var(--muted);
}

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

.nav a:hover,
.nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--green);
}

.header-cta {
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 750;
  border-radius: 999px;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 82px) clamp(18px, 5vw, 72px) 34px;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

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

.button.secondary {
  color: var(--teal-dark);
  background: var(--mint);
}

.hero-visual {
  justify-self: stretch;
  align-self: stretch;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.trust-band span {
  padding: 18px 16px;
  text-align: center;
  background: var(--white);
  font-weight: 800;
  color: var(--teal-dark);
}

.about {
  background: var(--white);
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eefafa);
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.page-hero {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #ffffff, #eaf5ff);
}

.page-hero h1,
.page-hero p {
  max-width: 820px;
}

.page-hero p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.content-band {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 28px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.service-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.service-card,
.gallery-item,
.review-grid figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(21, 48, 47, 0.06);
}

.service-card {
  padding: 24px;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p,
.steps p,
.contact-details p,
.thanks-panel p {
  color: var(--muted);
}

.gallery {
  background: var(--sky);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 32px auto 0;
}

.gallery-grid.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1160px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
}

.gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-zoom:focus-visible {
  outline: 4px solid rgba(17, 153, 167, 0.32);
  outline-offset: 4px;
}

.gallery-zoom img,
.gallery-item > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(17, 153, 167, 0.14), rgba(87, 181, 31, 0.13)),
    #f7fbfb;
  color: var(--teal-dark);
}

.gallery-placeholder span {
  padding: 10px 14px;
  border: 1px solid rgba(0, 58, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.66);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.reviews {
  background: #f7f3ea;
}

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

.review-grid figure {
  margin: 0;
  padding: 26px;
}

blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

figcaption {
  margin-top: 18px;
  color: var(--teal);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--teal-dark);
  color: var(--white);
}

.contact-section.standalone {
  min-height: calc(100vh - 86px);
  align-items: center;
}

.contact-details {
  max-width: 560px;
}

.contact-details .eyebrow,
.contact-details p {
  color: #bdece1;
}

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

address {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-style: normal;
}

address a,
address span {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  font-weight: 800;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #bfd1cc;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.2);
  border-color: var(--teal);
}

.form-button {
  width: 100%;
}

.hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(9, 24, 31, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1180px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--mint);
}

.thanks-panel {
  width: min(100%, 560px);
  padding: clamp(28px, 7vw, 56px);
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-panel img {
  margin: 0 auto 20px;
}

.thanks-panel h1 {
  font-size: clamp(2rem, 6vw, 3.35rem);
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .trust-band,
  .about-panel,
  .service-grid,
  .gallery-grid,
  .steps,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand img {
    width: 118px;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-band,
  .service-grid,
  .gallery-grid,
  .steps,
  .review-grid,
  .form-row.split {
    grid-template-columns: 1fr;
  }
}
