/* MM Maintenance website
   Main colors:
   Navy: #102d3f
   Turquoise: #169eaa
   Light turquoise: #8ed7d7
   Warm wood: #8a5a36
*/

:root {
  --navy: #102d3f;
  --navy-deep: #081d2a;
  --teal: #169eaa;
  --teal-light: #8ed7d7;
  --sand: #f5f1e9;
  --cream: #fbfaf6;
  --white: #ffffff;
  --ink: #162731;
  --muted: #61727b;
  --line: #dbe4e6;
  --wood: #8a5a36;
  --shadow: 0 20px 55px rgba(11, 39, 52, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(16, 45, 63, 0.08);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand img {
  width: 96px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.site-nav a:hover,
.site-nav a:focus {
  color: var(--teal);
}

.site-nav .nav-cta {
  padding: 10px 17px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
  color: white;
  background: var(--teal);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(142, 215, 215, 0.38), transparent 26%),
    linear-gradient(120deg, #ffffff 0%, #f8f5ee 52%, #e8f5f5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 120px;
  background:
    radial-gradient(120px 28px at 10% 0%, transparent 70%, rgba(22, 158, 170, 0.12) 72%, transparent 76%) repeat-x;
  background-size: 240px 60px;
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 90px 0 130px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.5vw, 84px);
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 25px;
}

.hero-text {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  color: white;
  background: var(--navy);
}

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

.button.secondary {
  color: var(--navy);
  border-color: rgba(16, 45, 63, 0.24);
  background: rgba(255, 255, 255, 0.68);
}

.button.full {
  width: 100%;
}

.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.hero-trust span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal);
}

.scene-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.78);
  border-radius: 40px 40px 140px 40px;
  background: linear-gradient(#bde9ef 0 55%, #78bdca 55% 100%);
  box-shadow: var(--shadow);
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.42), transparent 46%);
}

.sun {
  position: absolute;
  top: 60px;
  right: 70px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff2c4;
  box-shadow: 0 0 50px #fff2c4;
}

.cloud,
.cloud::before,
.cloud::after {
  position: absolute;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.cloud {
  width: 90px;
}

.cloud::before,
.cloud::after {
  content: "";
  bottom: 0;
}

.cloud::before {
  left: 16px;
  width: 40px;
  height: 40px;
}

.cloud::after {
  right: 12px;
  width: 50px;
  height: 48px;
}

.cloud-one {
  top: 92px;
  left: 45px;
}

.cloud-two {
  top: 145px;
  right: 42px;
  transform: scale(0.68);
}

.shoreline {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 41%;
  height: 72px;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(160deg, #5d806d 0 40%, #73917a 40% 65%, #526f5e 65%);
}

.house {
  position: absolute;
  left: 38px;
  bottom: 220px;
  width: 195px;
  height: 126px;
  z-index: 3;
}

.roof {
  position: absolute;
  left: 10px;
  top: 0;
  width: 176px;
  height: 74px;
  background: #263c46;
  clip-path: polygon(50% 0, 100% 65%, 89% 65%, 89% 100%, 11% 100%, 11% 65%, 0 65%);
}

.house-body {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  z-index: 2;
  height: 82px;
  background: #e7dfd0;
  box-shadow: 0 12px 20px rgba(10, 42, 52, 0.18);
}

.window,
.door {
  position: absolute;
  bottom: 25px;
  background: #8dcbd1;
  border: 4px solid white;
}

.w1 { left: 17px; width: 35px; height: 34px; }
.w2 { right: 17px; width: 35px; height: 34px; }
.door { left: 65px; bottom: 0; width: 33px; height: 58px; background: #8a5a36; }



.house-deck {
  position: absolute;
  left: -40px;
  bottom: -16px;
  z-index: 3;
  width: 220px;
  height: 16px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      #9a6842 0 18px,
      #825334 18px 21px
    );
  box-shadow: 0 8px 12px rgba(10, 42, 52, 0.18);
}

.house-deck::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 13px;
  z-index: -1;
  height: 31px;
  border-top: 4px solid #263c46;
  border-bottom: 3px solid #263c46;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 21px,
      #263c46 21px 25px
    );
}

.house-deck::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      #263c46 0 4px,
      transparent 4px 94px
    );
}

.boat {
  position: absolute;
  right: 4px;
  bottom: 74px;
  width: 290px;
  height: 148px;
  filter: drop-shadow(0 18px 14px rgba(12, 56, 66, 0.22));
}

.boat-top {
  position: absolute;
  right: 35px;
  top: 0;
  width: 190px;
  height: 17px;
  border-radius: 8px 8px 0 0;
  background: #183746;
}

.boat-top::before,
.boat-top::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 5px;
  height: 27px;
  background: #183746;
}

.boat-top::before { left: 16px; }
.boat-top::after { right: 16px; }

.boat-cabin {
  position: absolute;
  right: 12px;
  top: 42px;
  width: 245px;
  height: 63px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 8px 10px 4px 4px;
  background: #f8f7f2;
}

.boat-cabin span {
  width: 48px;
  height: 34px;
  border-radius: 3px;
  background: #315c6b;
}

.boat-hull {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 290px;
  height: 51px;
  border-radius: 4px 5px 60px 30px;
  background: linear-gradient(#f4f5f2 0 65%, #cbd7d8 65%);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 7% 86%);
}

.boat-hull::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 42px;
  top: 18px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  transform: rotate(-2deg);
}

.water-lines {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  display: grid;
  gap: 10px;
}

.water-lines span {
  height: 10px;
  opacity: 0.55;
  background:
    radial-gradient(42px 11px at 42px 0, transparent 67%, rgba(255,255,255,0.8) 70%, transparent 74%) repeat-x;
  background-size: 84px 22px;
}

.section {
  padding: 110px 0;
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.about-copy {
  color: var(--muted);
  font-size: 18px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.stat-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row div {
  position: relative;
  min-width: 0;
  padding: 25px 28px;
  text-align: center;
}

.stat-row div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  bottom: 20%;
  width: 1px;
  background: var(--line);
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.stat-row span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.services {
  background:
    linear-gradient(rgba(16, 45, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 45, 63, 0.035) 1px, transparent 1px),
    var(--sand);
  background-size: 36px 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.section-heading.split > p {
  max-width: 390px;
}

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

.service-card {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16, 45, 63, 0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 30px rgba(16, 45, 63, 0.06);
}

.service-card.featured {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-14px);
}

.service-card.featured h3,
.service-card.featured a {
  color: white;
}

.service-card.featured p {
  color: #c9dde4;
}

.service-card h3 {
  margin: 26px 0 12px;
}

.service-card p {
  margin: 0 0 28px;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.service-card a span {
  margin-left: 6px;
}

.service-icon {
  position: relative;
  width: 78px;
  height: 66px;
  color: var(--navy);
}

.featured .service-icon {
  color: white;
}

.roof-icon {
  position: absolute;
  left: 8px;
  top: 0;
  width: 60px;
  height: 42px;
  border: 8px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  border-radius: 3px;
}

.home-box {
  position: absolute;
  left: 17px;
  bottom: 0;
  width: 48px;
  height: 42px;
  background: currentColor;
}

.home-box i {
  position: absolute;
  left: 17px;
  bottom: 0;
  width: 14px;
  height: 25px;
  background: var(--teal-light);
}

.mini-boat-top {
  position: absolute;
  left: 18px;
  top: 2px;
  width: 45px;
  height: 7px;
  background: currentColor;
}

.mini-boat-top::before,
.mini-boat-top::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 3px;
  height: 12px;
  background: currentColor;
}

.mini-boat-top::before { left: 5px; }
.mini-boat-top::after { right: 5px; }

.mini-boat-body {
  position: absolute;
  left: 8px;
  top: 20px;
  width: 62px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: currentColor;
}

.mini-boat-body i {
  width: 15px;
  height: 12px;
  background: var(--teal-light);
}

.mini-boat-body::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -14px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 10% 80%);
}

.mini-wave {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -3px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.building-icon span {
  position: absolute;
  bottom: 0;
  background: currentColor;
}

.building-one {
  left: 3px;
  width: 27px;
  height: 46px;
}

.building-two {
  left: 32px;
  width: 26px;
  height: 62px;
}

.building-three {
  left: 60px;
  width: 17px;
  height: 34px;
}

.building-icon span::after {
  content: "";
  position: absolute;
  inset: 9px 6px;
  background: repeating-linear-gradient(
    to bottom,
    var(--teal-light) 0 5px,
    transparent 5px 11px
  );
}

.projects {
  background: white;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.project-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.project-placeholder span {
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  backdrop-filter: blur(5px);
}

.project-home .project-placeholder::before {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.2), rgba(13,49,64,0.78)),
    linear-gradient(35deg, #a48a6b 0 35%, #e5dfd2 35% 60%, #718a73 60%);
}

.project-marine .project-placeholder::before {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.2), rgba(13,49,64,0.7)),
    linear-gradient(#a9dbe2 0 48%, #4b9db0 48%);
}

.project-commercial .project-placeholder::before {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.25), rgba(13,49,64,0.76)),
    repeating-linear-gradient(90deg, #667a83 0 30px, #b8c9cd 30px 43px);
}

.project-detail .project-placeholder::before {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.1), rgba(13,49,64,0.65)),
    repeating-linear-gradient(45deg, #bca98f 0 12px, #8c6a47 12px 24px);
}

.project-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  color: white;
  background: linear-gradient(transparent, rgba(6, 28, 40, 0.92));
}

.project-info strong,
.project-info span {
  display: block;
}

.project-info span {
  font-size: 12px;
  opacity: 0.75;
}

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

.reviews h2 {
  color: white;
}

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

blockquote {
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
}

blockquote p {
  min-height: 72px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

blockquote footer {
  color: #a9c0c8;
  font-size: 13px;
}

.stars {
  color: #f2d27d;
  letter-spacing: 0.15em;
}

.contact {
  background:
    radial-gradient(circle at 0 100%, rgba(22, 158, 170, 0.16), transparent 28%),
    var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 76px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  text-decoration: none;
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--muted);
}

.contact-item strong {
  color: var(--navy);
}

.contact-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: var(--teal);
}

.estimate-card {
  padding: 38px;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.estimate-card > p {
  margin-top: -10px;
  color: var(--muted);
}

form {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #cbd7da;
  border-radius: 11px;
  background: #fbfcfc;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 158, 170, 0.19);
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 36px 0;
  color: #b9cbd1;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-brand span {
  font-size: 11px;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 77px;
    left: 20px;
    right: 20px;
    padding: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

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

  .hero-grid {
    gap: 34px;
    padding-top: 70px;
  }

  .hero-art {
    max-width: 650px;
  }

  .about-grid,
  .contact-grid {
    gap: 42px;
  }

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

  .service-card.featured {
    transform: none;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 280px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

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

  .nav-wrap {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    width: 64px;
    height: 44px;
    flex: 0 0 auto;
  }

  .brand span {
    min-width: 0;
  }

  .brand small {
    display: block;
    margin-top: 3px;
    font-size: 8.5px;
    letter-spacing: 0.05em;
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 105px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 17px;
  }

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

  .hero-trust {
    display: grid;
  }

  .scene-card {
    height: 360px;
    border-width: 8px;
    border-radius: 30px 30px 90px 30px;
  }

  .house {
    left: 10px;
    bottom: 160px;
    transform: scale(0.72);
    transform-origin: left bottom;
  }

  .boat {
    right: -34px;
    bottom: 56px;
    transform: scale(0.76);
    transform-origin: right bottom;
  }

  .section {
    padding: 80px 0;
  }

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

  .stat-row div {
    padding: 20px 9px;
  }

  .stat-row strong {
    font-size: 27px;
  }

  .stat-row span {
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.25;
  }

  .section-heading.split {
    display: block;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }

  .estimate-card {
    padding: 25px;
  }
}


.service-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.service-list {
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
}

.service-list li {
  position: relative;
  padding-left: 24px;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.service-card.featured .service-list {
  color: #c9dde4;
}

.service-card.featured .service-list li::before {
  color: var(--teal-light);
}

@media (max-width: 900px) {
  .service-grid.two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 76px;
    height: 48px;
  }
}


.about-logo-wrap {
  margin-bottom: 58px;
  display: flex;
  justify-content: center;
}

.about-full-logo {
  width: min(680px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-brand img {
  width: 120px;
  height: 72px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .about-logo-wrap {
    margin-bottom: 40px;
  }

  .about-full-logo {
    width: 100%;
  }

  .footer-brand img {
    width: 100px;
    height: 62px;
  }
}


@media (max-width: 380px) {
  .brand img {
    width: 56px;
    height: 40px;
  }

  .brand {
    gap: 6px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 7.5px;
    letter-spacing: 0.035em;
  }
}


@media (max-width: 380px) {
  .stat-row div {
    padding: 17px 6px;
  }

  .stat-row strong {
    font-size: 24px;
  }

  .stat-row span {
    font-size: 9px;
  }
}


.footer-brand img {
  width: 155px;
  height: 110px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .footer-brand img {
    width: 145px;
    height: 103px;
  }
}


/* Final selected hero artwork */
.scene-card {
  height: auto;
  aspect-ratio: 1 / 1;
  background: #dceced;
}

.scene-card::before {
  display: none;
}

.hero-scene-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 620px) {
  .scene-card {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}


/* Final service-section logos */
.service-logo-wrap {
  width: 178px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
}

.residential-service-logo-wrap {
  padding: 14px 18px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(16, 45, 63, 0.14);
}

.houseboat-service-logo-wrap {
  width: 210px;
  padding: 4px 0;
  background: rgba(255, 255, 255, 0.04);
}

.service-logo-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.residential-service-logo {
  width: 132px;
}

.houseboat-service-logo {
  width: 204px;
}

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

@media (max-width: 620px) {
  .service-logo-wrap {
    width: 150px;
    height: 90px;
  }

  .residential-service-logo {
    width: 112px;
  }

  .houseboat-service-logo-wrap {
    width: 180px;
  }

  .houseboat-service-logo {
    width: 174px;
  }
}


/* Final service-logo refinement */
.residential-service-logo-wrap,
.houseboat-service-logo-wrap {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.residential-service-logo-wrap {
  width: 172px;
  height: 112px;
}

.residential-service-logo {
  width: 154px;
  max-height: 104px;
}

.houseboat-service-logo-wrap {
  width: 232px;
  height: 108px;
}

.houseboat-service-logo {
  width: 226px;
  max-height: 102px;
}

@media (max-width: 620px) {
  .residential-service-logo-wrap {
    width: 150px;
    height: 96px;
  }

  .residential-service-logo {
    width: 136px;
    max-height: 90px;
  }

  .houseboat-service-logo-wrap {
    width: 196px;
    height: 94px;
  }

  .houseboat-service-logo {
    width: 192px;
    max-height: 90px;
  }
}


/* Full logo in the hero area */
.hero-logo-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card {
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
  border: 1px solid rgba(16, 45, 63, 0.10);
  border-radius: 40px 40px 140px 40px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-full-logo {
  display: block;
  width: 100%;
  max-width: 660px;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}

/* Selected artwork above the Project Gallery */
.project-feature-art {
  width: min(880px, 100%);
  margin: 0 auto 64px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: #dceced;
  box-shadow: var(--shadow);
}

.project-feature-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 780px) {
  .hero-logo-card {
    min-height: 380px;
    padding: 26px;
    border-radius: 30px 30px 90px 30px;
  }

  .hero-full-logo {
    max-height: 340px;
  }

  .project-feature-art {
    margin-bottom: 48px;
    border-width: 7px;
    border-radius: 26px;
  }
}

@media (max-width: 620px) {
  .hero-logo-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .hero-full-logo {
    max-height: none;
  }

  .project-feature-art {
    margin-bottom: 38px;
  }
}


/* Project Gallery heading order */
.project-gallery-heading h2 {
  margin-bottom: 14px;
}

.project-gallery-eyebrow {
  margin: 0;
}


/* Commercial Services card */
.commercial-service-card {
  background: linear-gradient(145deg, #f6f4ee 0%, #ffffff 100%);
  border: 1px solid var(--line);
}

.commercial-service-logo-wrap {
  width: 220px;
  height: 118px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.commercial-service-logo {
  width: 214px;
  max-height: 112px;
}

@media (max-width: 780px) {
  .commercial-service-card {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .commercial-service-logo-wrap {
    width: 185px;
    height: 100px;
  }

  .commercial-service-logo {
    width: 180px;
    max-height: 96px;
  }
}


/* ============================================================
   Interactive Project Galleries
   ============================================================ */

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

.gallery-category-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(9, 43, 58, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-category-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(9, 43, 58, 0.14);
    border-color: rgba(31, 174, 187, 0.42);
  }
}

.gallery-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe7e9;
}

.gallery-residential .gallery-cover {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.10), rgba(13,49,64,0.58)),
    linear-gradient(35deg, #b6a188 0 34%, #ece6dc 34% 62%, #78927e 62%);
}

.gallery-houseboat .gallery-cover {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.08), rgba(13,49,64,0.56)),
    linear-gradient(#c8e8ec 0 48%, #4aa1b2 48% 100%);
}

.gallery-commercial .gallery-cover {
  background:
    linear-gradient(135deg, rgba(13,49,64,0.10), rgba(13,49,64,0.54)),
    repeating-linear-gradient(90deg, #71848b 0 34px, #c0d0d2 34px 49px);
}

.gallery-cover-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cover-image.is-missing {
  display: none;
}

.gallery-cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 9px;
  padding: 20px;
  color: white;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-cover-icon {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 400;
}

.gallery-category-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 21px 22px;
}

.gallery-category-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
}

.gallery-category-action {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 36, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 28px;
  background: white;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.30);
  scrollbar-gutter: stable;
}

.gallery-dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-dialog-top .eyebrow {
  margin-bottom: 5px;
}

.gallery-dialog-top h2 {
  margin: 0;
}

.gallery-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-viewer {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 14px;
}

.gallery-slide-frame {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 71, 84, 0.12), rgba(12, 71, 84, 0.62)),
    linear-gradient(35deg, #c0c9bd, #dbe9e9 55%, #70a7b1);
  touch-action: pan-y;
}

.gallery-slide-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f8f8;
}

.gallery-slide-image.is-missing {
  display: none;
}

.gallery-slide-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 26px;
  color: white;
  text-align: center;
}

.gallery-slide-fallback-icon {
  font-size: 2.6rem;
  line-height: 1;
}

.gallery-slide-fallback strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.gallery-slide-fallback span:last-child {
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-arrow:focus-visible,
.gallery-close:focus-visible,
.gallery-thumbnail:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.gallery-slide-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 66px 8px;
}

.gallery-slide-details p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.gallery-slide-details span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 800;
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 14px;
}

.gallery-thumbnail {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(13, 49, 64, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(9, 43, 58, 0.06);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.gallery-thumbnail.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
  box-shadow:
    0 0 0 3px rgba(31, 174, 187, 0.18),
    0 5px 14px rgba(9, 43, 58, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-thumbnail:hover {
    border-color: var(--teal-dark);
    background: rgba(31, 174, 187, 0.08);
    box-shadow: 0 4px 10px rgba(9, 43, 58, 0.08);
  }

  .gallery-thumbnail.is-active:hover {
    background: var(--navy);
    color: white;
  }
}

/* ============================================================
   Before & After Gallery
   ============================================================ */

.before-after {
  background: #f5f8f8;
}

.before-after-heading {
  margin-bottom: 34px;
}

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

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 38px rgba(9, 43, 58, 0.08);
}

.comparison-stage {
  --position: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 71, 84, 0.08), rgba(12, 71, 84, 0.55)),
    linear-gradient(35deg, #b9a58d, #e1e8e4 52%, #6fa1aa);
}

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

.comparison-image {
  z-index: 2;
  object-fit: cover;
}

.comparison-image.is-missing {
  display: none;
}

.comparison-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.96);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.comparison-before-placeholder {
  background:
    linear-gradient(135deg, rgba(8, 41, 53, 0.28), rgba(8, 41, 53, 0.62)),
    linear-gradient(35deg, #887d70, #c7c2b8 58%, #627b74);
}

.comparison-after-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.comparison-after-placeholder {
  background:
    linear-gradient(135deg, rgba(0, 105, 117, 0.16), rgba(0, 105, 117, 0.48)),
    linear-gradient(35deg, #d1bd99, #edf1eb 52%, #71a6ae);
}

.comparison-divider {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 0 0 1px rgba(13,49,64,0.18);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  box-shadow: 0 5px 18px rgba(6, 28, 40, 0.22);
  font-weight: 900;
}

.comparison-label {
  position: absolute;
  z-index: 6;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(6, 28, 40, 0.76);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  pointer-events: none;
}

.comparison-label-before {
  left: 14px;
}

.comparison-label-after {
  right: 14px;
}

.comparison-range {
  position: absolute;
  z-index: 7;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-range:focus-visible {
  opacity: 0.01;
  outline: 4px solid var(--teal);
  outline-offset: -5px;
}

.comparison-copy {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
}

.comparison-copy span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.comparison-copy strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .gallery-category-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .gallery-category-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .gallery-cover {
    aspect-ratio: 16 / 10;
  }

  .gallery-category-copy {
    align-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .comparison-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  }

  .comparison-copy {
    align-content: center;
  }
}

@media (max-width: 620px) {
  .gallery-category-card,
  .comparison-card {
    display: block;
  }

  .gallery-category-copy {
    flex-direction: row;
    align-items: center;
  }

  .gallery-category-action {
    font-size: 0.7rem;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-dialog {
    max-height: calc(100vh - 20px);
    padding: 16px;
    border-radius: 20px;
  }

  .gallery-viewer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.94);
  }

  .gallery-arrow-prev {
    left: 22px;
  }

  .gallery-arrow-next {
    right: 22px;
  }

  .gallery-slide-frame {
    aspect-ratio: 4 / 3;
  }

  .gallery-slide-details {
    padding: 12px 4px 4px;
  }

  .gallery-thumbnail {
    width: 38px;
    height: 38px;
  }
}


/* ============================================================
   Side-by-Side Before & After Gallery
   ============================================================ */

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.before-after-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 38px rgba(9, 43, 58, 0.08);
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: white;
}

.before-after-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dfe8e8;
}

.before-after-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.before-after-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9, 43, 58, 0.86);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.before-after-badge-after {
  background: rgba(0, 126, 139, 0.92);
}

.before-after-copy {
  display: grid;
  gap: 4px;
  padding: 17px 19px 20px;
}

.before-after-copy span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.before-after-copy strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

@media (max-width: 820px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .before-after-badge {
    top: 8px;
    left: 8px;
    padding: 6px 8px;
    font-size: 0.64rem;
  }

  .before-after-copy {
    padding: 15px 16px 18px;
  }
}


/* ============================================================
   Gallery Project Descriptions
   ============================================================ */

.gallery-slide-details {
  align-items: flex-start;
}

.gallery-project-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.gallery-slide-details .gallery-slide-project {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-slide-details .gallery-slide-location {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.gallery-slide-details .gallery-slide-caption {
  margin: 4px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 620px) {
  .gallery-slide-details {
    align-items: flex-start;
    gap: 12px;
  }

  .gallery-slide-details .gallery-slide-project {
    font-size: 1.05rem;
  }

  .gallery-slide-details .gallery-slide-caption {
    font-size: 0.86rem;
  }
}

/* ============================================================
   Before & After Project Story Cards
   ============================================================ */
.project-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.project-story-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:26px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 15px 40px rgba(9,43,58,.08);transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}
.project-story-card:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
.project-story-cover{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.project-story-cover figure{position:relative;min-width:0;aspect-ratio:4/3;margin:0;overflow:hidden;background:#dfe8e8}
.project-story-cover img{width:100%;height:100%;display:block;object-fit:cover}
.project-story-copy{display:grid;gap:6px;padding:20px 21px 22px}
.project-story-category{color:var(--teal-dark);font-size:.74rem;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
.project-story-copy h3{margin:0;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:1.28rem;line-height:1.3}
.project-story-copy p{margin:0;color:var(--muted);font-size:.9rem}
.project-story-link{margin-top:8px;color:var(--navy);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
@media (hover:hover) and (pointer:fine){.project-story-card:hover{transform:translateY(-5px);border-color:rgba(31,174,187,.42);box-shadow:0 22px 52px rgba(9,43,58,.14)}}

/* ============================================================
   Dedicated Before & After Project Pages
   ============================================================ */
.project-page-main{padding-top:105px}
.project-page-hero{padding:52px 0 28px}
.project-page-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:22px;color:var(--teal-dark);font-size:.8rem;font-weight:900;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}
.project-page-heading{max-width:840px}
.project-page-heading h1{margin:5px 0 13px;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.15rem,5vw,4rem);line-height:1.06}
.project-page-heading>p:last-of-type{margin:0;max-width:760px;color:var(--muted);line-height:1.7}
.project-meta-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.project-meta-pill{padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:.76rem;font-weight:800}
.project-cover-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden;border-radius:28px;background:#fff;box-shadow:0 18px 48px rgba(9,43,58,.10)}
.project-cover-comparison figure{position:relative;min-width:0;margin:0;aspect-ratio:4/3;overflow:hidden;background:#dfe8e8}
.project-cover-comparison img{width:100%;height:100%;object-fit:cover;display:block}
.project-story-section{padding-top:58px}
.project-story-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.project-story-section-heading h2{margin:0;color:var(--navy)}
.project-story-section-heading p{margin:0;max-width:520px;color:var(--muted)}
.project-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.project-photo-grid figure{min-width:0;margin:0;overflow:hidden;border-radius:18px;background:#e8efef;border:1px solid var(--line)}
.project-photo-grid img{width:100%;aspect-ratio:4/3;display:block;object-fit:cover;cursor:zoom-in}
.project-page-cta{margin-top:64px;padding:34px;border-radius:26px;background:var(--navy);color:#fff;text-align:center}
.project-page-cta h2{margin:0 0 8px;color:#fff}
.project-page-cta p{margin:0 auto 20px;max-width:620px;color:rgba(255,255,255,.82)}
.project-page-cta .button{background:#fff;color:var(--navy)}
.project-lightbox[hidden]{display:none}
.project-lightbox{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}
.project-lightbox-backdrop{position:absolute;inset:0;background:rgba(5,25,36,.88);backdrop-filter:blur(7px)}
.project-lightbox-content{position:relative;z-index:1;width:min(1040px,100%)}
.project-lightbox-image{display:block;width:100%;max-height:calc(100vh - 60px);object-fit:contain;border-radius:20px}
.project-lightbox-close{position:absolute;top:10px;right:10px;width:46px;height:46px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:var(--navy);font-size:2rem;line-height:1;cursor:pointer}
@media (max-width:900px){.project-story-grid{grid-template-columns:1fr}.project-story-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr)}.project-story-copy{align-content:center}.project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.project-story-card{display:block}.project-page-main{padding-top:80px}.project-cover-comparison{grid-template-columns:1fr}.project-story-section-heading{display:block}.project-story-section-heading p{margin-top:8px}.project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.project-page-cta{padding:28px 20px}}


/* ============================================================
   Residential Sub-Galleries
   ============================================================ */

.subgallery-modal[hidden] {
  display: none;
}

.subgallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.subgallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 36, 0.82);
  backdrop-filter: blur(8px);
}

.subgallery-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 28px;
  background: white;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.30);
}

.subgallery-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.subgallery-top h2 {
  margin: 2px 0 5px;
}

.subgallery-top > div > p:last-child {
  margin: 0;
  color: var(--muted);
}

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

.subgallery-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  min-height: 126px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 9px 28px rgba(9, 43, 58, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.subgallery-card img {
  width: 100%;
  height: 100%;
  min-height: 126px;
  object-fit: cover;
}

.subgallery-card-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px;
}

.subgallery-card-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.subgallery-card-copy span {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subgallery-card:focus-visible,
.gallery-back-categories:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.gallery-back-categories {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .subgallery-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 174, 187, 0.45);
    box-shadow: 0 15px 34px rgba(9, 43, 58, 0.12);
  }

  .gallery-back-categories:hover {
    text-decoration: underline;
  }
}

@media (max-width: 700px) {
  .subgallery-modal {
    padding: 10px;
  }

  .subgallery-dialog {
    padding: 18px;
    border-radius: 21px;
    max-height: calc(100vh - 20px);
  }

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

  .subgallery-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 108px;
  }

  .subgallery-card img {
    min-height: 108px;
  }
}

@media (max-width: 420px) {
  .subgallery-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .subgallery-card-copy {
    padding: 14px;
  }

  .subgallery-card-copy strong {
    font-size: 1rem;
  }
}


/* Empty sub-gallery category covers */
.subgallery-placeholder {
  display: grid;
  place-items: center;
  min-height: 126px;
  background:
    linear-gradient(145deg, rgba(13,49,64,0.96), rgba(31,174,187,0.62));
  color: white;
}

.subgallery-placeholder > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .subgallery-placeholder {
    min-height: 108px;
  }

  .subgallery-placeholder > span {
    width: 52px;
    height: 52px;
    font-size: 0.74rem;
  }
}


/* ============================================================
   Gallery Number Button Stability Fix
   ============================================================ */

.gallery-thumbnail,
.gallery-thumbnail:hover,
.gallery-thumbnail:focus,
.gallery-thumbnail:active,
.gallery-thumbnail.is-active {
  transform: none !important;
}

.gallery-thumbnails {
  min-height: 42px;
  align-items: center;
}

.gallery-dialog {
  scrollbar-gutter: stable;
}


/* Four main Project Gallery categories */
@media (max-width: 1100px) and (min-width: 901px) {
  .gallery-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ============================================================
   Craftsmanship Services Card
   ============================================================ */

.craftsmanship-service-logo-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
}

.craftsmanship-service-icon {
  width: 82px;
  height: 66px;
  color: var(--navy);
}

.craftsmanship-service-card {
  position: relative;
}

@media (max-width: 620px) {
  .craftsmanship-service-icon {
    width: 74px;
    height: 60px;
  }
}


/* ============================================================
   Services 2x2 Desktop Layout Fix
   ============================================================ */

.service-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.service-grid.two-column .commercial-service-card,
.service-grid.two-column .craftsmanship-service-card {
  grid-column: auto;
}

.service-grid.two-column .service-card.featured {
  transform: none;
}

.service-grid.two-column .service-card {
  height: 100%;
}

/* Clear, recognizable Craftsmanship icon */
.craftsmanship-service-logo-wrap {
  width: 120px;
  height: 82px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.craftsmanship-service-icon {
  width: 112px;
  height: 76px;
  color: var(--navy);
  display: block;
}

@media (max-width: 900px) {
  .service-grid.two-column {
    grid-template-columns: 1fr;
  }

  .craftsmanship-service-logo-wrap {
    width: 108px;
    height: 74px;
    min-height: 74px;
  }

  .craftsmanship-service-icon {
    width: 100px;
    height: 70px;
  }
}


/* ============================================================
   Craftsmanship Icon Cleanup
   ============================================================ */

.craftsmanship-service-logo-wrap {
  width: 112px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.craftsmanship-service-icon {
  width: 104px;
  height: 72px;
  color: var(--navy);
  display: block;
}

@media (max-width: 900px) {
  .craftsmanship-service-logo-wrap {
    width: 104px;
    height: 72px;
    min-height: 72px;
  }

  .craftsmanship-service-icon {
    width: 96px;
    height: 66px;
  }
}


/* ============================================================
   Craftsmanship Roofing Square + Hammer Icon
   ============================================================ */

.craftsmanship-service-logo-wrap {
  width: 112px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.craftsmanship-service-icon {
  width: 106px;
  height: 76px;
  display: block;
  color: var(--navy);
}

@media (max-width: 900px) {
  .craftsmanship-service-logo-wrap {
    width: 104px;
    height: 72px;
    min-height: 72px;
  }

  .craftsmanship-service-icon {
    width: 98px;
    height: 70px;
  }
}


/* ============================================================
   Craftsmanship Roofing Square Only Icon
   ============================================================ */

.craftsmanship-service-logo-wrap {
  width: 104px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.craftsmanship-service-icon {
  width: 96px;
  height: 70px;
  display: block;
  color: var(--navy);
}

@media (max-width: 900px) {
  .craftsmanship-service-logo-wrap {
    width: 98px;
    height: 72px;
    min-height: 72px;
  }

  .craftsmanship-service-icon {
    width: 90px;
    height: 66px;
  }
}


/* ============================================================
   Craftsmanship Uploaded Roofing Square Icon
   ============================================================ */

.craftsmanship-service-logo-wrap {
  width: 104px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.craftsmanship-service-icon {
  width: 88px;
  height: 68px;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .craftsmanship-service-logo-wrap {
    width: 98px;
    height: 72px;
    min-height: 72px;
  }

  .craftsmanship-service-icon {
    width: 82px;
    height: 64px;
  }
}


/* ============================================================
   Gallery Photo Preview Thumbnails
   Replaces the old numbered gallery buttons.
   ============================================================ */

.gallery-thumbnails {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  margin-top: 10px;
  padding: 10px 4px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 49, 64, 0.28) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 7px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13, 49, 64, 0.24);
}

.gallery-thumbnail,
.gallery-thumbnail:hover,
.gallery-thumbnail:focus,
.gallery-thumbnail:active,
.gallery-thumbnail.is-active {
  flex: 0 0 86px;
  width: 86px !important;
  height: 64px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px !important;
  background: #eef3f3 !important;
  color: transparent !important;
  box-shadow: none;
  transform: none !important;
  cursor: pointer;
  scroll-snap-align: center;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef3f3;
}

.gallery-thumbnail:not(.is-active) {
  opacity: 0.72;
}

.gallery-thumbnail.is-active {
  opacity: 1;
  border-color: var(--teal) !important;
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px rgba(31, 174, 187, 0.26) !important;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-thumbnail:hover {
    opacity: 1;
    border-color: rgba(31, 174, 187, 0.55) !important;
  }
}

@media (max-width: 700px) {
  .gallery-thumbnails {
    min-height: 70px;
    gap: 8px;
    margin-inline: -2px;
    padding: 9px 2px 11px;
  }

  .gallery-thumbnail,
  .gallery-thumbnail:hover,
  .gallery-thumbnail:focus,
  .gallery-thumbnail:active,
  .gallery-thumbnail.is-active {
    flex-basis: 72px;
    width: 72px !important;
    height: 54px !important;
    border-radius: 9px !important;
  }
}


/* ============================================================
   Project Gallery Card Action Fit Fix
   ============================================================ */

.gallery-category-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.gallery-category-title {
  min-width: 0;
  flex: 1 1 auto;
}

.gallery-category-action {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(0.70rem, 0.78vw, 0.86rem);
  letter-spacing: 0.08em;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .gallery-category-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-category-action {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .gallery-category-copy {
    flex-direction: row;
    align-items: center;
  }
}


/* ============================================================
   Project Gallery Card Footer Overlap Fix
   ============================================================ */

/*
  Four gallery cards are fairly narrow on desktop, so keep the
  category title and action on separate rows instead of forcing
  them onto one line.
*/
.gallery-category-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  justify-items: start !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 22px 24px 23px !important;
}

.gallery-category-title {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  line-height: 1.05 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.gallery-category-action {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
}

/* Cancel the earlier flex-based card footer rules at every width. */
@media (max-width: 1200px) and (min-width: 901px) {
  .gallery-category-copy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .gallery-category-action {
    width: auto !important;
  }
}

@media (max-width: 900px) {
  .gallery-category-copy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .gallery-category-action {
    width: auto !important;
  }
}


/* ============================================================
   How We Work
   ============================================================ */

.how-we-work-section {
  background:
    linear-gradient(rgba(13, 49, 64, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 49, 64, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

.process-step {
  position: relative;
  min-width: 0;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(9, 43, 58, 0.06);
}

.process-number {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(31, 174, 187, 0.10);
  color: var(--navy);
}

.process-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step h3 {
  margin: 0 0 10px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 24px 22px;
  }

  .process-cta {
    justify-content: stretch;
  }

  .process-cta .button {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   Review Fade Slideshow
   ============================================================ */

.review-intro {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
}

.review-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  grid-template-areas:
    "prev stage next"
    ". dots .";
  align-items: center;
  gap: 18px;
  max-width: 980px;
  margin: 34px auto 0;
}

.review-stage {
  grid-area: stage;
  position: relative;
  min-height: 270px;
}

.review-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0;
  padding: 46px 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(9, 43, 58, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 650ms ease,
    transform 650ms ease,
    visibility 650ms ease;
  pointer-events: none;
}

.review-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.review-slide .stars {
  color: var(--teal-dark);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
}

.review-slide p {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.3;
}

.review-slide footer {
  color: var(--muted);
  font-weight: 700;
}

.review-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(9, 43, 58, 0.06);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.review-arrow-prev {
  grid-area: prev;
}

.review-arrow-next {
  grid-area: next;
}

.review-dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
}

.review-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 49, 64, 0.24);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.review-dot.is-active {
  width: 28px;
  background: var(--teal);
}

@media (hover: hover) and (pointer: fine) {
  .review-arrow:hover {
    border-color: var(--teal);
    background: rgba(31, 174, 187, 0.08);
    transform: translateY(-2px);
  }
}

@media (max-width: 700px) {
  .review-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    margin-top: 26px;
  }

  .review-stage {
    min-height: 310px;
  }

  .review-slide {
    padding: 34px 28px;
    border-radius: 22px;
  }

  .review-slide p {
    font-size: clamp(1.28rem, 6vw, 1.8rem);
  }

  .review-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-slide,
  .review-arrow,
  .review-dot {
    transition: none !important;
  }
}


/* ============================================================
   How We Work Number + CTA Fix
   ============================================================ */

.process-number {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.process-cta {
  margin-top: 34px;
}

.process-start-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 15px 24px !important;
  border: 2px solid var(--navy) !important;
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: white !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(9, 43, 58, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .process-start-button:hover {
    border-color: var(--teal-dark) !important;
    background: var(--teal-dark) !important;
    color: white !important;
    transform: translateY(-1px);
  }
}

@media (max-width: 620px) {
  .process-start-button { width: 100%; }
}
