/* ============================================
   SITE FOOTER (.ph-footer)
   One footer on every page: brand column + four link columns,
   one rainbow stripe, one bottom bar. On phones the link columns
   are tap-to-open <details> (site-nav.js keeps them open on wider
   screens). Replaces .ph-localnav, the "Explore More" block and
   the old .footer / .footer-content markup.
   ============================================ */

.ph-footer {
  background-color: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
}

.ph-footer__grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 40px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr 0.9fr;
  gap: 40px;
}

/* ---------- Brand column ---------- */
.ph-footer__logo {
  display: inline-block;
  margin-bottom: 14px;
}

.ph-footer__logo img {
  display: block;
  width: 170px;
  height: auto;
}

.ph-footer__brand p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.ph-footer__contact a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.ph-footer__brand .ph-footer__address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.ph-footer__social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.ph-footer__social a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.18s ease;
}

.ph-footer__social svg {
  width: 24px;
  height: 24px;
}

/* ---------- Link columns ---------- */
.ph-footer__col > summary {
  list-style: none;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  cursor: default;
}

.ph-footer__col > summary::-webkit-details-marker {
  display: none;
}

.ph-footer__col:nth-of-type(1) > summary { color: var(--cyan); }
.ph-footer__col:nth-of-type(2) > summary { color: var(--magenta); }
.ph-footer__col:nth-of-type(3) > summary { color: var(--yellow); }
.ph-footer__col:nth-of-type(4) > summary { color: var(--orange); }

.ph-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ph-footer__col li {
  margin: 0 0 9px;
}

.ph-footer__col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease;
}

/* ---------- Bottom bar ---------- */
.ph-footer__bar {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 40px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.ph-footer__bar p {
  margin: 0;
}

.ph-footer__bar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

/* ---------- Hover and focus ---------- */
.ph-footer a:hover,
.ph-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.ph-footer__social a:hover,
.ph-footer__social a:focus-visible {
  color: var(--cyan);
}

.ph-footer a:focus-visible,
.ph-footer summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- Laptop / iPad: brand row on top, four columns under it ---------- */
@media (max-width: 1100px) {
  .ph-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .ph-footer__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 0 40px;
    align-items: start;
  }

  .ph-footer__logo {
    grid-row: span 3;
  }
}

/* ---------- Phone: stacked, link columns tap to open ---------- */
@media (max-width: 768px) {
  .ph-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 36px 20px 20px;
  }

  .ph-footer__brand {
    display: block;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ph-footer__col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ph-footer__col > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 16px 0;
    cursor: pointer;
  }

  .ph-footer__col > summary::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 1;
    color: var(--white);
  }

  .ph-footer__col[open] > summary::after {
    content: '\2013';
  }

  .ph-footer__col ul {
    padding: 0 0 14px;
  }

  .ph-footer__col li {
    margin: 0 0 12px;
  }

  .ph-footer__col a {
    font-size: 16px;
  }

  .ph-footer__bar {
    padding: 16px 20px 24px;
    text-align: center;
  }
}
