:root {
  --ink: #11212a;
  --muted: #5c6d74;
  --line: #d9e5e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --navy: #12384a;
  --teal: #0f7d7e;
  --green: #4f8f5a;
  --gold: #d6a842;
  --shadow: 0 20px 50px rgba(17, 33, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(9, 24, 31, 0.78), rgba(9, 24, 31, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.77rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.phone-mark {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-42deg);
}

.phone-mark::before,
.phone-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.phone-mark::before {
  left: -2px;
  top: 1px;
}

.phone-mark::after {
  right: 1px;
  bottom: -2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 76px) 56px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 31, 0.84) 0%, rgba(7, 24, 31, 0.56) 44%, rgba(7, 24, 31, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 24, 31, 0.68), rgba(7, 24, 31, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 30px rgba(15, 125, 126, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 52px;
}

.hero-stats span {
  min-height: 82px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

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

.trust-band span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.section,
.results {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 76px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p,
.results-copy p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 33, 42, 0.05);
}

.service-icon {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid currentColor;
}

.icon-house::before {
  inset: 16px 12px 10px;
}

.icon-house::after {
  inset: 10px 13px auto;
  width: 18px;
  height: 18px;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.icon-concrete::before {
  inset: 13px;
}

.icon-concrete::after {
  inset: 13px;
  border-right: 0;
  border-bottom: 0;
  background:
    linear-gradient(90deg, transparent 47%, currentColor 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, currentColor 47% 53%, transparent 53%);
}

.icon-patio::before {
  inset: 12px;
  transform: rotate(45deg);
}

.icon-patio::after {
  inset: 18px;
  border-width: 0 2px 2px 0;
}

.icon-commercial::before {
  inset: 10px 14px;
}

.icon-commercial::after {
  inset: 17px 20px 10px;
  border-top: 0;
  border-bottom: 0;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.results {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.results-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
}

.process-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.process-panel div {
  min-height: 300px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-panel div:last-child {
  border-right: 0;
}

.process-panel span {
  color: var(--gold);
  font-weight: 800;
}

.process-panel h3 {
  margin: 80px 0 10px;
  font-size: 1.5rem;
}

.process-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

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

.photo-slider {
  display: grid;
  grid-auto-columns: minmax(680px, 82vw);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) var(--line);
}

.photo-slide {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.photo-slide img {
  width: 100%;
  height: clamp(380px, 52vw, 620px);
  object-fit: cover;
}

.photo-slide img:first-child {
  border-right: 1px solid var(--line);
}

.slide-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(8, 24, 31, 0.82);
  backdrop-filter: blur(10px);
}

.slide-caption strong,
.slide-caption span {
  display: block;
}

.slide-caption strong {
  flex: 0 0 auto;
  font-size: 1rem;
}

.slide-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: right;
}

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

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

.review-card {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(17, 33, 42, 0.05);
}

.stars {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.65;
}

.review-card strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, rgba(15, 125, 126, 0.08) 0 1px, transparent 1px 14px);
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cadad7;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfefd;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 76px);
  color: var(--white);
  background: #08181f;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: right;
}

.footer-links a[href^="mailto:"] {
  font-size: 0.82rem;
}

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

  .site-nav {
    display: none;
  }

  .hero-stats,
  .service-grid,
  .review-grid,
  .trust-band,
  .results,
  .quote {
    grid-template-columns: 1fr 1fr;
  }

  .process-panel {
    grid-template-columns: 1fr;
  }

  .process-panel div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-panel div:last-child {
    border-bottom: 0;
  }

  .process-panel h3 {
    margin-top: 38px;
  }

  .photo-slider {
    grid-auto-columns: minmax(560px, 86vw);
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-cta {
    justify-self: start;
  }

  .hero {
    min-height: 94vh;
    padding-top: 168px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 24, 31, 0.86), rgba(7, 24, 31, 0.48)),
      linear-gradient(0deg, rgba(7, 24, 31, 0.76), rgba(7, 24, 31, 0.12));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

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

  .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .review-grid,
  .trust-band,
  .results,
  .quote {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .photo-slider {
    grid-auto-columns: 88vw;
  }

  .photo-slide {
    grid-template-columns: 1fr;
  }

  .photo-slide img {
    height: 330px;
  }

  .photo-slide img:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .slide-caption {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 0;
    background: var(--navy);
  }

  .slide-caption span {
    text-align: left;
  }

  .footer-links {
    justify-items: start;
    text-align: left;
  }
}
