/* =========================================================
   FOOTER
   Premium, readable, responsive, conversion-focused
   Optimized for TVs, ultrawide, desktop, tablet, and phones
   ========================================================= */

/* =========================================================
   FOUNDATION
   ========================================================= */
   .site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-family: var(--font-primary);
    color: #e8f2f8;
    background:
      radial-gradient(circle at top left, rgba(34, 211, 238, 0.10), transparent 28%),
      radial-gradient(circle at bottom right, rgba(14, 165, 198, 0.12), transparent 30%),
      linear-gradient(180deg, #173244 0%, #142b3a 52%, #102330 100%);
    padding-block: clamp(3rem, 4vw, 5rem) 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }
  
  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.00) 100%);
    pointer-events: none;
    z-index: 0;
  }
  
  .site-footer::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -18%;
    width: clamp(240px, 28vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, rgba(34,211,238,0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
  }
  
  .site-footer .container,
  .site-footer .footer-top,
  .site-footer .footer-bottom {
    position: relative;
    z-index: 1;
  }
  
  /* =========================================================
     GLOBAL TYPOGRAPHY / LINKS
     ========================================================= */
  .site-footer a {
    color: #eef8fd;
    text-decoration: none;
    transition:
      color 0.2s ease,
      opacity 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease,
      background-color 0.2s ease;
  }
  
  .site-footer a:hover {
    color: #9beaff;
  }
  
  .site-footer h3,
  .site-footer h4,
  .site-footer h5 {
    margin: 0 0 0.85rem;
    color: #f7fbff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  
  .site-footer h3 {
    font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.8rem);
    font-weight: 800;
  }
  
  .site-footer h4 {
    font-size: clamp(1.02rem, 0.28vw + 0.98rem, 1.2rem);
    font-weight: 700;
  }
  
  .site-footer p {
    margin: 0;
    color: #c7d8e4;
    line-height: 1.75;
    text-wrap: pretty;
  }
  
  .site-footer strong {
    color: #ffffff;
    font-weight: 700;
  }
  
  /* =========================================================
     TOP GRID
     ========================================================= */
  .footer-top {
    width: min(100% - 2rem, 1320px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.4rem, 2vw, 2.2rem);
    align-items: start;
    padding-bottom: clamp(1.75rem, 2vw, 2.25rem);
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  
  .footer-top > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  @media (min-width: 992px) {
    .footer-top > div:not(:last-child) {
      padding-right: clamp(1rem, 1.5vw, 1.5rem);
      border-right: 1px solid rgba(255,255,255,0.08);
    }
  }
  
  /* =========================================================
     BRANDING
     ========================================================= */
  .footer-branding {
    gap: 1rem;
  }
  
  .footer-branding p {
    max-width: 56ch;
    font-size: clamp(0.96rem, 0.14vw + 0.94rem, 1.02rem);
  }
  
  .footer-branding .btn-footer-cta {
    align-self: flex-start;
  }
  
  /* =========================================================
     SERVICES LINKS
     ========================================================= */
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
  }
  
  .footer-links li {
    margin: 0;
  }
  
  .footer-links li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #d7e6ef;
    font-size: 0.96rem;
    line-height: 1.6;
  }
  
  .footer-links li a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #64d9f4;
    box-shadow: 0 0 0 4px rgba(100,217,244,0.10);
  }
  
  .footer-links li a:hover {
    color: #ffffff;
    transform: translateX(2px);
  }
  
  /* =========================================================
     CONTACT SECTION
     ========================================================= */
  .footer-contact {
    gap: 1rem;
  }
  
  .footer-contact .contact-subtext {
    color: #c6d7e3;
    font-size: 0.96rem;
    line-height: 1.6;
    margin-top: -0.15rem;
  }
  
  .contact-buttons {
    display: grid;
    gap: 0.75rem;
  }
  
  /* =========================================================
     BUTTON SYSTEM
     ========================================================= */
  .site-footer .btn-footer-cta,
  .site-footer .contact-btn,
  .site-footer .footer-cta-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.16);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 52px;
    padding: 0.82rem 1.1rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.96rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow:
      0 10px 24px rgba(2, 12, 20, 0.20),
      inset 0 1px 0 rgba(255,255,255,0.10);
  }
  
  .site-footer .btn-footer-cta::before,
  .site-footer .contact-btn::before,
  .site-footer .footer-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0),
      rgba(255,255,255,0.24),
      rgba(255,255,255,0)
    );
    transition: left 0.55s ease;
    pointer-events: none;
  }
  
  /* primary footer CTA */
  .site-footer .btn-footer-cta,
  .site-footer .footer-cta-btn {
    background: linear-gradient(135deg, #22d3ee 0%, #1297c7 52%, #0b7ea8 100%);
    color: #ffffff;
    border-color: rgba(255,255,255,0.18);
    box-shadow:
      0 12px 28px rgba(9, 121, 156, 0.28),
      inset 0 1px 0 rgba(255,255,255,0.16);
  }
  
  .site-footer .btn-footer-cta:hover,
  .site-footer .footer-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
      0 16px 34px rgba(9, 121, 156, 0.36),
      inset 0 1px 0 rgba(255,255,255,0.18);
  }
  
  .site-footer .btn-footer-cta:hover::before,
  .site-footer .footer-cta-btn:hover::before,
  .site-footer .contact-btn:hover::before {
    left: 140%;
  }
  
  /* phone button */
  .site-footer .phone-btn {
    background: linear-gradient(135deg, #18c47c 0%, #0f9d63 100%);
    color: #ffffff;
    border-color: rgba(255,255,255,0.16);
    box-shadow:
      0 10px 24px rgba(9, 117, 76, 0.28),
      inset 0 1px 0 rgba(255,255,255,0.14);
  }
  
  .site-footer .phone-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
      0 14px 30px rgba(9, 117, 76, 0.36),
      inset 0 1px 0 rgba(255,255,255,0.16);
  }
  
  /* email button */
  .site-footer .email-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    color: #f3fbff;
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .site-footer .email-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    transform: translateY(-2px);
    box-shadow:
      0 14px 28px rgba(2, 12, 20, 0.22),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
  
  /* full width CTA in contact section */
  .footer-cta-btn {
    width: 100%;
  }
  
  /* focus states */
  .site-footer .btn-footer-cta:focus-visible,
  .site-footer .contact-btn:focus-visible,
  .site-footer .footer-cta-btn:focus-visible,
  .site-footer a:focus-visible {
    outline: none;
    box-shadow:
      0 0 0 3px rgba(255,255,255,0.16),
      0 0 0 6px rgba(100,217,244,0.24);
  }
  
  /* active */
  .site-footer .btn-footer-cta:active,
  .site-footer .contact-btn:active,
  .site-footer .footer-cta-btn:active {
    transform: translateY(0);
  }
  
  /* =========================================================
     FOOTER BOTTOM
     ========================================================= */
  .footer-bottom {
    width: min(100% - 2rem, 1320px);
    margin: 1rem auto 0;
    padding-top: 1rem;
    text-align: center;
  }
  
  .footer-bottom p {
    color: #b8cad7;
    font-size: clamp(0.8rem, 0.12vw + 0.78rem, 0.9rem);
    line-height: 1.7;
  }
  
  .footer-bottom a {
    color: #9beaff;
    font-weight: 700;
  }
  
  .footer-bottom a:hover {
    color: #ffffff;
  }
  
  /* =========================================================
     LARGE DESKTOP / ULTRAWIDE / TV
     ========================================================= */
  @media (min-width: 1600px) {
    .footer-top,
    .footer-bottom {
      width: min(100% - 4rem, 1560px);
    }
  
    .footer-top {
      gap: 2.4rem;
    }
  
    .site-footer h3 {
      font-size: 1.95rem;
    }
  
    .site-footer h4 {
      font-size: 1.22rem;
    }
  
    .footer-branding p,
    .footer-contact .contact-subtext,
    .footer-links li a {
      font-size: 1rem;
    }
  
    .site-footer .btn-footer-cta,
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn {
      min-height: 56px;
      font-size: 0.98rem;
      padding-inline: 1.2rem;
    }
  }
  
  /* =========================================================
     DESKTOP / LAPTOP
     ========================================================= */
  @media (max-width: 1199px) {
    .footer-top,
    .footer-bottom {
      width: min(100% - 1.75rem, 1200px);
    }
  
    .footer-top {
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1fr);
      gap: 1.5rem;
    }
  }
  
  /* =========================================================
     TABLET
     ========================================================= */
  @media (max-width: 991px) {
    .footer-top {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .footer-top > div {
      border-right: 0 !important;
      padding-right: 0 !important;
    }
  
    .footer-branding {
      grid-column: 1 / -1;
    }
  
    .footer-branding p {
      max-width: 64ch;
    }
  
    .contact-buttons {
      grid-template-columns: 1fr;
    }
  }
  
  /* =========================================================
     MOBILE
     ========================================================= */
  @media (max-width: 767px) {
    .site-footer {
      padding-block: 2.5rem 1rem;
    }
  
    .footer-top,
    .footer-bottom {
      width: min(100% - 1.25rem, 100%);
    }
  
    .footer-top {
      grid-template-columns: 1fr;
      gap: 1.6rem;
      text-align: center;
      padding-bottom: 1.5rem;
    }
  
    .footer-top > div {
      align-items: center;
      text-align: center;
      gap: 0.75rem;
    }
  
    .footer-branding p,
    .footer-contact .contact-subtext,
    .footer-bottom p {
      max-width: 36ch;
      margin-inline: auto;
    }
  
    .footer-branding .btn-footer-cta {
      align-self: center;
      width: 100%;
      max-width: 340px;
    }
  
    .footer-links ul {
      justify-items: center;
      width: 100%;
    }
  
    .footer-links li {
      width: 100%;
    }
  
    .footer-links li a {
      justify-content: center;
    }
  
    .contact-buttons {
      width: 100%;
      max-width: 340px;
      margin-inline: auto;
    }
  
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn {
      width: 100%;
      max-width: 340px;
      margin-inline: auto;
    }
  
    .site-footer .btn-footer-cta,
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn {
      min-height: 50px;
      border-radius: 14px;
      font-size: 0.95rem;
    }
  
    .footer-bottom {
      margin-top: 0.9rem;
      padding-top: 0.9rem;
    }
  
    .footer-links li a:hover,
    .site-footer .btn-footer-cta:hover,
    .site-footer .contact-btn:hover,
    .site-footer .footer-cta-btn:hover {
      transform: none;
    }
  }
  
  /* =========================================================
     SMALL PHONES
     ========================================================= */
  @media (max-width: 479px) {
    .site-footer {
      padding-inline: 0;
    }
  
    .footer-top,
    .footer-bottom {
      width: min(100% - 1rem, 100%);
    }
  
    .footer-top {
      gap: 1.35rem;
    }
  
    .site-footer h3 {
      font-size: 1.28rem;
    }
  
    .site-footer h4 {
      font-size: 1rem;
    }
  
    .footer-branding p,
    .footer-contact .contact-subtext,
    .footer-links li a {
      font-size: 0.93rem;
      line-height: 1.65;
    }
  
    .site-footer .btn-footer-cta,
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn {
      min-height: 48px;
      font-size: 0.92rem;
      padding: 0.78rem 0.95rem;
    }
  
    .footer-bottom p {
      font-size: 0.78rem;
      line-height: 1.6;
    }
  }
  
  /* =========================================================
     REDUCED MOTION
     ========================================================= */
  @media (prefers-reduced-motion: reduce) {
    .site-footer a,
    .site-footer .btn-footer-cta,
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn,
    .site-footer .btn-footer-cta::before,
    .site-footer .contact-btn::before,
    .site-footer .footer-cta-btn::before {
      transition: none;
    }
  }
  
  /* =========================================================
     PRINT
     ========================================================= */
  @media print {
    .site-footer {
      background: #173244 !important;
      color: #ffffff !important;
      box-shadow: none;
    }
  
    .site-footer::before,
    .site-footer::after {
      display: none;
    }
  
    .footer-top {
      grid-template-columns: 1.3fr 1fr 1fr;
      gap: 1rem;
      border-bottom-color: rgba(255,255,255,0.2);
    }
  
    .site-footer .btn-footer-cta,
    .site-footer .contact-btn,
    .site-footer .footer-cta-btn {
      box-shadow: none;
    }
  }



  /* =========================================================
   APPENDED: UNIFIED FOOTER EXPANSION
   Shared footer for homepage, product pages, account/cart flows
   ========================================================= */

.footer-top {
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 0.9fr)
    minmax(0, 1fr)
    minmax(0, 0.9fr)
    minmax(0, 1.05fr);
  gap: clamp(1.2rem, 1.6vw, 2rem);
}

.footer-top > div,
.footer-top > nav {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 1200px) {
  .footer-top > :not(:last-child) {
    padding-right: clamp(0.85rem, 1.15vw, 1.2rem);
    border-right: 1px solid rgba(255,255,255,0.08);
  }
}

.footer-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fe7fb !important;
}

.footer-branding h2 {
  margin: 0;
  font-size: clamp(1.3rem, 0.9vw + 1rem, 1.95rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

.footer-brand-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.footer-brand-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #eaf8ff;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.footer-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.15rem;
}

.footer-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #bff2ff;
}

.footer-secondary-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 0.2rem;
  font-size: clamp(1rem, 0.3vw + 0.96rem, 1.16rem);
  font-weight: 800;
  color: #f8fcff;
}

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

.footer-links li {
  margin: 0;
}

.footer-links li a {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #d7e6ef;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-links li a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #64d9f4;
  box-shadow: 0 0 0 4px rgba(100,217,244,0.10);
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-contact {
  gap: 1rem;
}

.footer-contact-meta {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer-contact-meta p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #cfe0ea;
}

.footer-bottom {
  width: min(100% - 2rem, 1320px);
  margin: 1rem auto 0;
  padding-top: 1rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-bottom-links a {
  color: #a6eafb;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

@media (max-width: 1399px) {
  .footer-top {
    grid-template-columns:
      minmax(0, 1.3fr)
      repeat(3, minmax(0, 0.88fr))
      minmax(0, 1fr);
  }
}

@media (max-width: 1199px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-branding {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-top > :not(:last-child) {
    border-right: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .footer-branding,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-branding p {
    max-width: 68ch;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.45rem;
    text-align: center;
  }

  .footer-top > div,
  .footer-top > nav {
    align-items: center;
    text-align: center;
  }

  .footer-brand-actions {
    justify-content: center;
    width: 100%;
  }

  .footer-brand-actions .btn-footer-cta,
  .footer-brand-actions .footer-secondary-link {
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }

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

  .footer-links ul {
    justify-items: center;
    width: 100%;
  }

  .footer-links li {
    width: 100%;
  }

  .footer-links li a {
    justify-content: center;
    text-align: center;
  }

  .footer-links li a::before {
    margin-top: 0.42rem;
  }

  .footer-contact-meta {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    text-align: center;
  }

  .footer-bottom-links {
    gap: 0.65rem 0.9rem;
  }
}

@media (max-width: 479px) {
  .footer-branding h2 {
    font-size: 1.22rem;
  }

  .footer-brand-highlights span {
    min-height: 32px;
    padding: 0.48rem 0.72rem;
    font-size: 0.78rem;
  }

  .footer-contact-meta {
    padding: 0.85rem 0.85rem;
    border-radius: 16px;
  }

  .footer-contact-meta p,
  .footer-links li a,
  .footer-secondary-link {
    font-size: 0.9rem;
  }

  .footer-bottom-links a {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-secondary-link {
    transition: none;
  }
}





/* =========================================================
   APPENDED: FOOTER CONTACT COLUMN WIDTH / BUTTON FIT
   Makes the contact section wider and keeps button text cleaner
   ========================================================= */

/* Give the last column more room on large screens */
@media (min-width: 1200px) {
  .footer-top {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(0, 0.82fr)
      minmax(0, 0.92fr)
      minmax(0, 0.82fr)
      minmax(360px, 1.3fr);
  }

  .footer-contact {
    min-width: 360px;
  }
}

/* Slightly rebalance on mid-large desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .footer-top {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(0, 0.9fr)
      minmax(0, 0.95fr)
      minmax(0, 1.15fr);
  }

  .footer-branding {
    grid-column: 1 / span 2;
  }

  .footer-contact {
    grid-column: 3 / -1;
    min-width: 0;
  }
}

/* Contact area structure */
.footer-contact {
  gap: 1rem;
  align-self: stretch;
}

.footer-contact .contact-subtext {
  max-width: 42ch;
}

.footer-contact .contact-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
}

/* Make contact buttons roomier and less likely to wrap awkwardly */
.site-footer .contact-btn {
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1.15rem;
  justify-content: flex-start;
  text-align: left;
  gap: 0.8rem;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer .contact-btn span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-contact .footer-cta-btn {
  min-height: 56px;
  padding: 0.95rem 1.15rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

/* Give the info panel a little more usable width */
.footer-contact-meta {
  width: 100%;
  max-width: 100%;
}

/* Wide desktop polish */
@media (min-width: 1400px) {
  .footer-contact .contact-subtext {
    max-width: 48ch;
  }

  .site-footer .contact-btn,
  .footer-contact .footer-cta-btn {
    min-height: 58px;
    font-size: 1rem;
    padding-inline: 1.2rem;
  }
}

/* Tablet: keep it broad and comfortable */
@media (max-width: 991px) {
  .footer-contact {
    width: 100%;
    max-width: 100%;
  }

  .footer-contact .contact-subtext {
    max-width: 60ch;
  }

  .footer-contact .contact-buttons {
    max-width: 520px;
  }

  .footer-contact .footer-cta-btn {
    max-width: 520px;
  }
}

/* Mobile: centered, full-width, still clean */
@media (max-width: 767px) {
  .footer-contact .contact-subtext {
    max-width: 34ch;
    margin-inline: auto;
  }

  .footer-contact .contact-buttons,
  .footer-contact .footer-cta-btn,
  .footer-contact-meta {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
  }

  .site-footer .contact-btn,
  .footer-contact .footer-cta-btn {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .site-footer .contact-btn span:last-child {
    overflow: visible;
    text-overflow: unset;
  }
}

/* Small phones */
@media (max-width: 479px) {
  .footer-contact .contact-buttons,
  .footer-contact .footer-cta-btn,
  .footer-contact-meta {
    max-width: 100%;
  }

  .site-footer .contact-btn,
  .footer-contact .footer-cta-btn {
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 0.94rem;
  }
}