.site-header {
  position: fixed;
  top: var(--header-visible-top, 0px);
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  height: auto;
  padding: 0.65rem 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: top 0.22s ease, box-shadow 0.22s ease;
  isolation: isolate;
}

.site-header.is-hidden:not(.is-open) {
  top: var(--header-hide-top, -6rem);
  box-shadow: none;
  pointer-events: none;
}

@media (min-width: 901px) {
  .site-header {
    transition: top 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
  }

  .site-header.is-hidden:not(.is-open) {
    transition: top 0.22s ease-in, box-shadow 0.22s ease-in;
  }
}

.site-header.is-solid,
.site-header.is-inner {
  background: #fff;
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  color: var(--navy);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1.05;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 52px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.logo small {
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.58rem;
  color: var(--muted);
}

.nav {
  margin-left: 0;
}

@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav {
    grid-column: 2;
    justify-self: center;
  }

  .header-end {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}

.nav-list {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-list a {
  color: var(--charcoal);
  font-size: 0.95rem;
}

.nav-list a.is-active {
  color: var(--teal);
}

.nav-item {
  position: relative;
}

/* Invisible bridge so the cursor can reach the dropdown without losing hover */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 14px;
  display: none;
}

.nav-item:hover::after,
.nav-item:focus-within::after,
.nav-item.is-sub-open::after {
  display: block;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -1rem;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 220px;
  padding: 0.7rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-sub-open .dropdown {
  display: grid;
  gap: 0.3rem;
}

.dropdown a {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--charcoal) !important;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--aqua-light);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .header-actions .btn--ghost {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

/* Hover colors for .btn--primary also in spinning-border-button.css */

.btn--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--full {
  width: 100%;
}

.card-grid .card .card-link.btn {
  margin-top: auto;
  align-self: flex-start;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: none;
  border: 0;
  color: var(--navy);
  font: inherit;
  font-weight: 500;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.25rem;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  font-size: 0.92rem;
}

.hero {
  position: relative;
  min-height: max(36rem, 100vh);
  margin-top: 0;
  padding: var(--header-h) 0 var(--hero-padding-bottom);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  touch-action: pan-y;
}

@supports (min-height: 100svh) {
  .hero {
    min-height: max(36rem, 100svh);
  }
}

.hero-curve:not(.section-curve) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: var(--hero-shape-divider-height);
  z-index: 2;
  pointer-events: none;
  line-height: 0;
  color: var(--aqua-light);
}

.hero-curve:not(.section-curve) svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero + #services.section {
  padding-top: clamp(2.25rem, 4vw, 3.75rem);
}

@media (min-width: 980px) {
  .hero + #services.section {
    padding-top: clamp(2.75rem, 3.5vw, 4.25rem);
  }
}

.hero .hero__layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: 0;
  padding: clamp(0.5rem, 2vh, 1.25rem) 0;
}

/* Button sits in normal flow directly above the wave, so no bottom offset math is needed. */
.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.hero__bottom .hero-curve:not(.section-curve) {
  position: relative;
  bottom: auto;
  flex-shrink: 0;
}

.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 52rem;
  gap: clamp(1.15rem, 2.8vh, 1.65rem);
  padding-inline: 0.5rem;
}

.hero__stack .eyebrow {
  margin-bottom: 0;
}

.hero__title--liquid {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  font-family: var(--font-hero-liquid);
  font-weight: 600;
  font-size: clamp(2rem, 4.25vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: #f8fafc;
  text-transform: uppercase;
  /* Matte white — depth only, no gloss or gradient shine */
  text-shadow: 0 3px 24px rgba(5, 12, 28, 0.62);
  -webkit-font-smoothing: antialiased;
}

.hero__title-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .hero .hero__title-line {
    white-space: normal;
    overflow-wrap: normal;
  }
}

.hero__rule {
  width: 100%;
  max-width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.32);
}

.hero h1,
.hero p {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 24, 36, 0.45);
}

.hero p {
  max-width: 34rem;
  margin-inline: auto;
  font-size: 1.15rem;
}

.hero__foot .hero-lede {
  text-align: center;
}

.hero-lede strong {
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 24, 36, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.8rem 0 2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.55rem, 2.5vw, 1rem);
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-strip > div {
  min-width: 0;
}

.trust-strip span {
  display: block;
  font-size: clamp(0.68rem, 2.8vw, 0.85rem);
  letter-spacing: 0.02em;
  line-height: 1.35;
  opacity: 0.9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trust-strip strong {
  display: block;
  font-weight: 500;
  font-size: clamp(0.7rem, 2.85vw, 0.88rem);
  margin-bottom: 0.15rem;
}

.trust-strip__tel,
.trust-strip__email {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trust-strip__tel:hover,
.trust-strip__tel:focus-visible,
.trust-strip__email:hover,
.trust-strip__email:focus-visible {
  text-decoration: underline;
}

.hero__trust-icons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__overlay {
  background:
    linear-gradient(
      to top,
      rgba(6, 10, 22, 0.9) 0%,
      rgba(6, 10, 22, 0.55) 32%,
      transparent 58%
    ),
    linear-gradient(
      to right,
      rgba(6, 10, 22, 0.55) 0%,
      rgba(6, 10, 22, 0.22) 42%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(15, 22, 40, 0.35) 0%,
      rgba(8, 14, 28, 0.2) 28%,
      rgba(8, 14, 28, 0.35) 100%
    );
}

.hero .hero__title-desktop {
  display: none;
}

.hero .trust-strip {
  display: none;
}

.hero__review-cta {
  display: none;
}

.hero .hero__rule {
  display: none;
}

.hero .hero__stack .hero__title--liquid {
  margin-top: 0;
  transform: none;
}

.hero .hero__title--liquid {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  min-height: 0;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  text-shadow: none;
}

.hero .hero__title-mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  gap: 0.02em;
  filter: drop-shadow(0 3px 16px rgba(5, 12, 28, 0.4));
}

.hero .hero__title-mobile .hero__title-line {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: clamp(2.55rem, min(15.5vw, 11.5svh, 11.5vh), 4.65rem);
  line-height: 0.86;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    180deg,
    #f8fafc 0%,
    #f8fafc 62%,
    #e2e8f0 78%,
    #9aa8c4 92%,
    var(--navy) 100%
  );
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero .hero__title-mobile .hero__title-line--m1 {
  font-size: clamp(2.05rem, min(12.5vw, 9.5svh, 9.5vh), 3.65rem);
  line-height: 0.88;
}

.hero .hero__title-mobile .hero__title-line--m4 {
  font-size: clamp(2.95rem, min(18vw, 13.5svh, 13.5vh), 5.35rem);
  line-height: 0.84;
}

.hero .hero__title-mobile .hero__title-line--m5,
.hero .hero__title-mobile .hero__title-line--m6 {
  font-size: clamp(3.25rem, min(20vw, 15.5svh, 15.5vh), 5.85rem);
  line-height: 0.82;
}

.hero .hero__emoji-row.hero__trust-icons {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 4.5vw, 1.65rem);
  z-index: 2;
  width: 100%;
  margin: clamp(0.55rem, 2.2vh, 1.05rem) 0 0;
  padding: 0 0 0 clamp(0.15rem, 1vw, 0.35rem);
}

.hero .hero__emoji-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.35rem, 10vw, 2.85rem);
  height: clamp(2.35rem, 10vw, 2.85rem);
  border-radius: 50%;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 18px rgba(6, 10, 22, 0.35);
}

.hero .hero__emoji-icon-svg {
  display: block;
  width: clamp(1.15rem, 4.8vw, 1.35rem);
  height: clamp(1.15rem, 4.8vw, 1.35rem);
  color: var(--brand-blue);
}

@media (max-width: 900px) {
  .hero .hero__layout {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    width: 100%;
    max-width: none;
    flex: 1;
    min-height: calc(100vh - var(--header-h) - var(--hero-padding-bottom) - 4.75rem);
    padding: clamp(0.5rem, 2vh, 1rem) clamp(0.65rem, 3vw, 1.1rem)
      clamp(1.1rem, 3.5vh, 1.95rem);
  gap: 0;
}

@supports (min-height: 100svh) {
  .hero .hero__layout {
    min-height: calc(100svh - var(--header-h) - var(--hero-padding-bottom) - 4.75rem);
  }
}

.hero .hero__stack {
    align-items: flex-start;
    justify-content: center;
    max-width: none;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
    margin: 0;
    gap: clamp(0.65rem, 2vh, 1rem);
    padding-inline: 0;
  transform: translateY(clamp(1.2rem, 4.8vh, 2.35rem));
}

  .hero {
    padding-bottom: calc(var(--hero-padding-bottom) + 4.75rem);
  }
}

@media (min-width: 901px) {
  .hero .hero__layout {
    align-items: center;
    justify-content: center;
    text-align: center;
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
    min-height: calc(100vh - var(--header-h) - var(--hero-padding-bottom));
    padding: clamp(0.5rem, 2vh, 1.25rem) clamp(1.25rem, 4vw, 2.5rem);
    box-sizing: border-box;
    overflow: visible;
  }

  @supports (min-height: 100svh) {
    .hero .hero__layout {
      min-height: calc(100svh - var(--header-h) - var(--hero-padding-bottom));
    }
  }

  .hero .hero__stack {
    align-items: center;
    justify-content: center;
    max-width: min(52rem, 100%);
    width: 100%;
    gap: clamp(0.65rem, 2vh, 1rem);
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    box-sizing: border-box;
    overflow: visible;
    transform: none;
    margin-inline: auto;
  }

  .hero .hero__title--liquid {
    align-items: center;
    text-align: center;
  }

  .hero .hero__title-mobile {
    display: none !important;
  }

  .hero .hero__title-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 0.08em;
    overflow: visible;
  }

  .hero .hero__title-desktop .hero__title-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    text-transform: uppercase;
    font-size: clamp(2.95rem, min(7.25vw, 6.55vh), 6.65rem);
    filter: drop-shadow(0 3px 16px rgba(5, 12, 28, 0.4));
    line-height: 1.04;
    letter-spacing: 0.032em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
      180deg,
      #f8fafc 0%,
      #f8fafc 62%,
      #e2e8f0 78%,
      #9aa8c4 92%,
      var(--navy) 100%
    );
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
  }

  .hero .hero__title-desktop .hero__title-line + .hero__title-line {
    font-size: clamp(3.35rem, min(8.1vw, 7.35vh), 7.45rem);
    line-height: 1.02;
  }

  .hero .hero__emoji-row.hero__trust-icons {
    justify-content: center;
    padding-inline: 0;
    margin-inline: auto;
  }
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
}

/* Portrait renovation photo: pool + sky (no top-only crop) */
.card--renovation img {
  object-position: center 62%;
}

.card--equipment-chemicals img {
  object-position: center 58%;
}

.card-body {
  padding: 1.3rem 1.35rem 1.5rem;
}

.card-grid .card {
  height: 100%;
}

#services .card-grid .card,
#build .card--construction-info {
  background: #fff;
  box-shadow: 0 8px 22px rgba(38, 51, 88, 0.06);
  border-color: transparent;
}

#contact .quote-form {
  background: #fff;
}

.card-grid .card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card-body p {
  font-size: 0.98rem;
}

.card-grid .card .card-body p {
  flex: 1;
}

#services > .wrap > h2,
.section--services-wave > .wrap > h2,
.section--construction-wave > .wrap > h2,
#projects > .wrap > h2,
#testimonials > .wrap > h2,
#contact .contact-panel > div > h2,
#maintenance .split-copy > h2,
#equipment .split-copy > h2,
.section--aqua-light#commercial .split-copy > h2,
.section--maintenance .split-copy > .section-heading {
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0.75rem;
}

#services > .wrap > h2,
.section--construction-wave > .wrap > h2,
#projects > .wrap > h2,
#testimonials > .wrap > h2 {
  text-align: center;
  width: 100%;
}

#equipment .split-copy > h2 {
  color: #fbf9f6;
}

#maintenance .split-copy,
#equipment .split-copy,
#commercial .split-copy {
  text-align: center;
  margin-inline: auto;
}

#maintenance .split-copy > h2,
#equipment .split-copy > h2,
#commercial .split-copy > h2 {
  text-align: center;
}

#maintenance .split-copy .lede,
#maintenance .split-copy > p,
#equipment .split-copy > p,
#commercial .split-copy > p {
  text-align: center;
  margin-inline: auto;
}

#equipment.section,
#commercial.section {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

#equipment .grid-2,
#commercial .grid-2 {
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

#equipment .media-frame,
#commercial .media-frame {
  max-width: min(100%, 22rem);
  margin-inline: auto;
}

#equipment .media-frame img,
#commercial .media-frame img {
  min-height: 0;
  height: auto;
  max-height: clamp(10.5rem, 26vw, 14rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 720px) {
  #equipment .media-frame,
  #commercial .media-frame {
    margin-inline-start: auto;
  }
}

@media (min-width: 980px) {
  #equipment.section,
  #commercial.section {
    padding-block: clamp(3rem, 4.5vw, 4.5rem);
  }
}

.section--construction-wave > .wrap > .lede,
.section--services-wave > .wrap > .lede,
#projects > .wrap > .lede {
  margin-bottom: 2rem;
}

#services > .wrap > .lede,
#projects > .wrap > .lede,
.section--construction-wave > .wrap > .lede {
  text-align: center;
  margin-inline: auto;
}

#projects .projects-view-all-cta {
  margin: 1.5rem 0 0;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

#projects .projects-view-all-cta .btn {
  margin-inline: auto;
}

.section--construction-wave > .wrap > .construction-info-wrap {
  margin-top: 0;
}

.construction-info-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  column-gap: 1.25rem;
  row-gap: 0.85rem;
  grid-template-areas:
    "media"
    "actions";
  width: min(100%, 36rem);
  margin-inline: auto;
}

.card--construction-info {
  grid-area: actions;
  align-self: start;
  width: 100%;
  min-height: 0;
}

#build .card--construction-info {
  min-height: 0;
  flex: none;
}

.card--construction-info .process {
  margin: 1.25rem 0 1.5rem;
}

.card--construction-info .card-body .eyebrow {
  margin-top: 0;
  color: var(--brand-blue);
}

.construction-info-media {
  grid-area: media;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--ivory);
}

.construction-info-media:has(.expandable-gallery) {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.construction-info-media > img,
.construction-info-media .aqualive-inline-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (min-width: 980px) {
  .construction-info-wrap {
    width: 100%;
    max-width: var(--max);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "actions media";
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
    row-gap: clamp(0.85rem, 2.2vw, 1.35rem);
    align-items: start;
  }

  .construction-info-media > img,
  .construction-info-media .aqualive-inline-media img {
    height: 100%;
    min-height: 420px;
  }

  .construction-info-media {
    min-height: 420px;
    width: 100%;
    min-width: 0;
  }

  .construction-info-media:has(.expandable-gallery) {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .construction-info-media .expandable-gallery {
    width: 100%;
    flex: 1;
    min-height: 420px;
    height: 100%;
  }
}

.card--construction-info .step-num {
  border-color: var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.process {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.proof {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.proof h3 {
  font-size: 1.2rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  margin: 0;
}

/* Landing + Projects grid: equal card size regardless of source image aspect ratio. */
.project-grid .project-card {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

a.project-card figure {
  margin: 0;
  height: 100%;
}

.project-card > img,
.project-card .project-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.project-grid .project-card > img {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.project-card__title-link {
  color: inherit;
  text-decoration: none;
}

.project-card__title-link:hover,
.project-card__title-link:focus-visible {
  text-decoration: underline;
}

.project-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(6, 46, 54, 0.82));
  color: #fff;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.quote-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.4;
}

.quote-card cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.testimonials-review-cta {
  margin-top: 3rem;
  text-align: center;
}

#testimonials .testimonials-below-wave .testimonials-review-cta {
  margin-top: 0;
}

.concept-note {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

.quote-form {
  background: var(--ivory);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
  min-height: 44px;
}

.form-note {
  font-size: 0.8rem;
  margin: 1rem 0;
}

.form-alert {
  background: #f8e8e4;
  color: #6b2b22;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.form-alert--success {
  background: #e6f4ef;
  color: #1e4d3a;
}

.quote-form .btn.btn--primary {
  color: #fff;
}

.contact-details {
  display: grid;
  gap: 0.7rem;
}

.contact-details a {
  color: var(--navy);
}

.contact-panel--home {
  display: block;
  max-width: 52rem;
  margin-inline: auto;
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 6px 18px rgba(15, 35, 55, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--brand-blue);
  margin-bottom: 0.15rem;
}

.contact-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
  line-height: 1.25;
}

.contact-card__body {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--navy);
}

.contact-card__body a {
  color: var(--navy);
  text-decoration: none;
}

.contact-card__body a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-card:last-child:nth-child(5) {
    grid-column: span 1;
  }
}

@media (min-width: 901px) {
  .contact-panel--home {
    max-width: 72rem;
  }

  .contact-panel--home .contact-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.site-footer {
  background: var(--navy);
  color: rgba(244, 239, 230, 0.82);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.1rem;
}

.site-footer .footer-logo {
  display: inline-block;
  line-height: 0;
}

.site-footer .footer-logo img {
  display: block;
  height: auto;
  max-height: 36px;
  max-width: min(152px, 52vw);
  width: auto;
  object-fit: contain;
}

.site-footer a {
  color: #fff;
  transition: color 0.18s ease;
}

.site-footer ul a:hover,
.site-footer ul a:focus-visible,
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible {
  color: #b8aa96;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-whatsapp {
  display: flex;
  align-items: flex-start;
}

.footer-whatsapp__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.footer-whatsapp__icon {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

.footer-whatsapp__number {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy::after {
  background: transparent;
}

.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy:hover,
.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy:focus-visible {
  color: var(--brand-blue);
  border-color: #fff;
}

.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy:hover::after,
.site-footer .footer-whatsapp a.btn.btn--ghost.btn-ghost--on-navy:focus-visible::after {
  background: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.mobile-cta {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.filter-bar button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 1rem;
  font: inherit;
  cursor: pointer;
}

.filter-bar button.is-active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.project-card.is-hidden {
  display: none;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}

.map-frame iframe,
.map-frame img {
  width: 100%;
  min-height: 280px;
  border: 0;
  object-fit: cover;
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-panel,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.8fr 0.8fr;
  }

  .contact-panel {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: stretch;
    min-height: 0;
    padding: 0.5rem 0;
  }

  .site-header.is-hidden:not(.is-open) {
    top: var(--header-visible-top, 0px);
    box-shadow: 0 1px 0 var(--line);
    pointer-events: auto;
  }

  .site-header.is-open {
    box-shadow: 0 8px 24px rgba(38, 51, 88, 0.12);
  }

  .header-inner {
    width: min(var(--max), calc(100% - 1.25rem));
    gap: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo menu"
      "nav nav";
    align-items: center;
  }

  .logo {
    grid-area: logo;
    min-width: 0;
    max-width: 100%;
  }

  .logo img {
    max-width: min(180px, 58vw);
    max-height: 44px;
  }

  .header-end {
    grid-area: menu;
    justify-self: end;
    flex-shrink: 0;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .nav {
    grid-area: nav;
    display: none;
    margin-left: 0;
    width: 100%;
    min-width: 0;
    border-top: 1px solid var(--line);
    margin-top: 0.65rem;
    padding-top: 0.35rem;
    overflow: visible;
  }

  .nav.is-open {
    display: block;
    max-height: min(calc(100dvh - var(--header-h) - 1.5rem), 32rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open .nav-list {
    display: grid;
    gap: 0.65rem;
    align-items: stretch;
    justify-items: center;
    width: 100%;
    padding-inline: 0;
  }

  .nav.is-open .nav-list > li {
    width: min(100%, 20rem);
  }

  .nav.is-open .nav-item {
    width: min(100%, 20rem);
  }

  .nav.is-open .nav-list > li > a,
  .nav.is-open .dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    color: var(--charcoal) !important;
    font-size: 1rem;
    background-color: transparent;
    width: 100%;
  }

  .nav.is-open .nav-list > li > a:hover,
  .nav.is-open .nav-list > li > a:focus-visible,
  .nav.is-open .dropdown a:hover,
  .nav.is-open .dropdown a:focus-visible {
    background-color: var(--aqua-light);
    color: var(--brand-blue) !important;
  }

  .nav.is-open .nav-item .dropdown {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0.25rem;
    gap: 0.15rem;
    width: 100%;
  }

  .nav.is-open .nav-item.is-sub-open .dropdown,
  .nav.is-open .nav-item:focus-within .dropdown {
    display: grid;
  }

  .nav.is-open .nav-item > a.has-submenu::after {
    content: " +";
    margin-left: 0.35rem;
    font-size: 0.85em;
    opacity: 0.65;
  }

  .nav.is-open .nav-item.is-sub-open > a.has-submenu::after,
  .nav.is-open .nav-item:focus-within > a.has-submenu::after {
    content: " −";
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
