/* Juno Beach Digital — mobile layout fixes */
html, body { overflow-x: hidden; }

.hero-subline {
  font-size: clamp(0.7rem, 2vw, 0.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(234, 234, 234, 0.52);
}

/* ── Site footer ───────────────────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: 4rem;
  background: linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
  border-top: 1px solid rgba(135, 206, 235, 0.1);
  box-shadow: 0 -12px 40px -12px rgba(0, 0, 0, 0.45);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(135, 206, 235, 0.55) 35%,
    rgba(255, 105, 180, 0.35) 65%,
    transparent 100%
  );
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.25rem 1.25rem 2rem;
}

@media (min-width: 640px) {
  .site-footer__inner { padding: 3.5rem 1.5rem 2rem; }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.35fr 1.1fr 0.75fr 1fr;
    gap: 2rem 3rem;
    align-items: start;
  }
}

.site-footer__logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #87ceeb;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s, text-shadow 0.2s;
}

.site-footer__logo:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(135, 206, 235, 0.45);
}

.site-footer__tagline {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(234, 234, 234, 0.52);
  max-width: 22rem;
}

.site-footer__cta,
.site-footer__all-link {
  display: inline-flex;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(135, 206, 235, 0.9);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.site-footer__cta:hover,
.site-footer__all-link:hover {
  color: #87ceeb;
  transform: translateX(2px);
}

.site-footer__heading {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(135, 206, 235, 0.95);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(135, 206, 235, 0.14);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li { margin-bottom: 0.45rem; }

.site-footer__links a {
  font-size: 0.84rem;
  color: rgba(234, 234, 234, 0.68);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer__links a:hover {
  color: #87ceeb;
  transform: translateX(3px);
}

.site-footer__links--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.25rem;
}

.site-footer__links--span {
  grid-column: 1 / -1;
}

.site-footer__contact-card {
  background: rgba(135, 206, 235, 0.035);
  border: 1px solid rgba(135, 206, 235, 0.12);
  border-radius: 0.75rem;
  padding: 1.15rem 1.2rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(234, 234, 234, 0.78);
}

.site-footer__contact-item + .site-footer__contact-item {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(135, 206, 235, 0.08);
}

.site-footer__contact-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  color: #87ceeb;
  opacity: 0.85;
}

.site-footer__muted {
  font-size: 0.78rem;
  color: rgba(234, 234, 234, 0.45);
}

.site-footer__email {
  color: rgba(234, 234, 234, 0.78);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.site-footer__email:hover { color: #87ceeb; }

.site-footer__bottom {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(135, 206, 235, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(234, 234, 234, 0.38);
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(234, 234, 234, 0.42);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__bottom-links a:hover { color: #87ceeb; }

#mobile-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(234, 234, 234, 0.85);
}
#mobile-nav a:hover { color: #fff; background: rgba(135, 206, 235, 0.1); }

@media (max-width: 639px) {
  .service-card svg { width: 2rem; height: 2rem; }
  #service-details-panel.open { max-height: 90vh; overflow-y: auto; }
}

@media (max-width: 767px) {
  .contact-stack > div { margin-bottom: 0; }
}
