.footer__parent-brand {
  width: min(calc(100% - 2rem), 1200px);
  margin: 2rem auto 1.35rem;
  padding: 0;
}

.footer__parent-brand a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: .85rem;
  background: linear-gradient(135deg, rgba(38,196,184,.17), rgba(255,255,255,.07));
  box-shadow: 0 16px 42px rgba(0,0,0,.14);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer__parent-brand a:hover,
.footer__parent-brand a:focus-visible {
  border-color: rgba(211,242,106,.72);
  background: linear-gradient(135deg, rgba(38,196,184,.24), rgba(255,255,255,.1));
  transform: translateY(-2px);
  outline: none;
}

.footer__parent-brand-label {
  color: rgba(255,255,255,.78);
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__parent-brand-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  max-height: 86px;
  justify-self: center;
  object-fit: contain;
}

.footer__parent-brand-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: #d3f26a;
  color: #0b0d10;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Shared header alignment across every public page. */
@media (min-width: 1024px) and (max-width: 1239px) {
  .nav__links,
  .nav__cta-group {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

@media (min-width: 1240px) {
  .nav__inner {
    display: grid;
    grid-template-columns: clamp(150px, 12vw, 178px) minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: clamp(1rem, 2vw, 2.25rem);
    max-width: 1440px;
  }

  .nav__logo,
  .nav__brand {
    width: 100%;
    max-width: 178px;
    justify-self: start;
  }

  .nav__logo img,
  .nav__brand img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
  }

  .nav__links {
    display: grid;
    grid-template-columns: repeat(8, max-content);
    align-items: center;
    justify-content: center;
    column-gap: clamp(.8rem, 1.35vw, 1.45rem);
    min-width: 0;
  }

  .nav__links li {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .35rem 0;
    font-size: clamp(.78rem, .82vw, .88rem);
    line-height: 1;
    white-space: nowrap;
  }

  .nav__cta-group {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: .5rem;
  }

  /* Financing remains in the primary menu. Hiding the duplicate CTA prevents header crowding. */
  .nav__cta-group .nav__cta:nth-child(n + 2) {
    display: none;
  }

  .nav__cta {
    padding: .72rem 1.1rem;
    font-size: .78rem;
  }

  .nav__hamburger {
    display: none;
  }
}

@media (min-width: 1500px) {
  .nav__inner {
    column-gap: 2.5rem;
  }

  .nav__links {
    column-gap: 1.55rem;
  }
}

@media (max-width: 1239px) {
  .nav__inner {
    max-width: 1200px;
  }

  .nav__logo,
  .nav__brand {
    width: clamp(148px, 38vw, 178px);
  }

  .nav__logo img,
  .nav__brand img {
    width: 100%;
    height: auto;
    max-height: 58px;
    object-fit: contain;
  }
}

.manufacturer-strip {
  border-bottom: 1px solid rgba(9,45,56,.13);
  background: #f6f5ef;
}

.manufacturer-strip__inner {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding-top: .8rem;
  padding-bottom: .8rem;
  color: #52656b;
  text-align: center;
  font-size: .86rem;
  line-height: 1.5;
}

.manufacturer-strip__inner strong {
  color: #092d38;
}

.manufacturer-strip__inner a {
  color: #0e5969;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .22rem;
}

.leisure-collection .pools-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.leisure-collection .pool-card {
  min-height: 100%;
}

.leisure-collection .pool-info {
  height: 100%;
}

.leisure-collection .pool-info h3 {
  color: #0e5969;
}

@media (max-width: 900px) {
  .footer__parent-brand a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer__parent-brand-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer__parent-brand-logo {
    width: min(100%, 270px);
  }

  .leisure-collection .pools-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 560px) {
  .footer__parent-brand {
    width: min(calc(100% - 1.25rem), 1200px);
    margin-top: 1.5rem;
    margin-bottom: 5.5rem;
  }

  .footer__parent-brand a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .7rem;
    padding: 1.1rem;
    text-align: center;
  }

  .footer__parent-brand-label {
    font-size: .74rem;
  }

  .footer__parent-brand-logo {
    width: min(82%, 250px);
    max-height: 78px;
  }

  .footer__parent-brand-cta {
    width: 100%;
    margin-top: .1rem;
    padding: .75rem .95rem;
  }

  .manufacturer-strip__inner {
    align-items: center;
    flex-direction: column;
    gap: .2rem;
  }

  .leisure-collection .pools-grid {
    grid-template-columns: 1fr;
  }
}

/* Production marker: Alto Builders logo and aligned site navigation. */
