/* The requested four navigation choices and three footer menu groups. */
#wesal-home .site-header .nav-links > a,
.wesal-detail .site-header .nav-links > a {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  color: #003f35;
}
#wesal-home .site-header .nav-cta,
.wesal-detail .site-header .nav-cta { font-weight: 700; }
.site-header .nav-links > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.site-footer .footer-meta {
  grid-template-columns: minmax(180px,.8fr) minmax(530px,2.3fr) minmax(150px,.65fr);
  column-gap: 32px;
}
.site-footer .footer-links,
.page-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
  align-items: start;
}
.footer-menu-group {
  list-style: none;
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.site-footer .footer-menu-group :is(a,.footer-menu-label),
.page-footer .footer-menu-group :is(a,.footer-menu-label) {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-block: 6px;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.85;
  white-space: normal;
}
.site-footer .footer-menu-label { color: #c3d8ce; }
.page-footer .footer-menu-label { color: #52645b; }
.footer-menu-label { cursor: default; }
.footer-menu-group a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width:1180px) {
  .site-footer .footer-meta {
    grid-template-columns: minmax(180px,.8fr) minmax(0,2.2fr);
    grid-template-areas: "identity links" "downloads links" "assurance assurance";
  }
  .site-footer .footer-links,.page-footer .footer-nav { gap: 22px; }
}
@media (max-width:980px) {
  .site-footer .footer-meta {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas: "identity downloads" "links links" "assurance assurance";
  }
  .site-footer .footer-downloads { display: grid; align-content: start; justify-content: start; }
  .page-footer .footer-top { grid-template-columns: 1fr; }
}
@media (max-width:700px) {
  .site-footer .footer-meta {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "identity" "links" "downloads" "assurance";
  }
  .site-footer .footer-links,.page-footer .footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 20px; }
  .footer-menu-group:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: repeat(3,auto);
    grid-auto-flow: column;
    column-gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(137,227,180,.22);
  }
  .page-footer .footer-menu-group:last-child { border-color: rgba(0,63,53,.15); }
  .site-footer .footer-downloads { justify-content: stretch; }
}

/* Two-line brand description and a right-to-left contact/download column. */
.footer-description > span { display: block; white-space: nowrap; }
.site-footer .commerce-registration { direction: rtl; }
.site-footer .commerce-registration img {
  display: block; width: 112px; height: auto; aspect-ratio: 8 / 3;
  object-fit: contain; flex: 0 0 auto; filter: none; opacity: 1;
}
.site-footer .footer-meta {
  grid-template-columns: minmax(240px,.95fr) minmax(420px,1.8fr) minmax(260px,1fr);
  column-gap: 24px;
}
.site-footer .footer-downloads { width: 100%; justify-items: stretch; gap: 16px; direction: rtl; }
#wesal-home .site-footer .footer-store-badges {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  width: 100%; gap: 10px; direction: rtl;
}
#wesal-home .site-footer .footer-store-badge {
  direction: rtl; justify-content: center; padding: 10px 8px; gap: 8px; min-width: 0;
}
.site-footer .footer-store-badge .store-copy { direction: ltr; white-space: nowrap; }
#wesal-home .site-footer .footer-store-badge .store-copy strong { font-size: .875rem; }
.site-footer .footer-store-badge svg { flex-shrink: 0; }
.footer-contact { display: grid; gap: 12px; width: 100%; }
.footer-contact-button,
.footer-whatsapp {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; box-sizing: border-box;
  min-height: 48px; padding: 10px 18px; border-radius: 14px 14px 3px 14px;
  color: #003f35; background: #c4e970; font-size: 1rem; font-weight: 500; line-height: 1.75;
}
.footer-contact-button:hover,.footer-whatsapp:hover { background: #89e3b4; }
.footer-whatsapp bdi { order: -1; }
.footer-whatsapp svg,.contact-actions svg { width: 23px; height: 23px; flex-shrink: 0; }
.footer-contact a:focus-visible { outline: 2px solid #c4e970; outline-offset: 4px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.contact-section { padding-bottom: 100px; }
.contact-panel { padding: 40px; border: 1px solid rgba(0,63,53,.2); border-radius: 28px 28px 5px 28px; background: #fff; }
.contact-panel h2 { margin: 0 0 24px; font-size: 1.5rem; color: #003f35; }
.contact-number { display: inline-block; font-size: clamp(1.75rem,3vw,2.5rem); color: #003f35; margin-bottom: 28px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width:1180px) {
  .site-footer .footer-meta { grid-template-columns: minmax(260px,1fr) minmax(0,2fr); }
}
@media (max-width:980px) {
  .site-footer .footer-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width:700px) {
  .site-footer .footer-meta { grid-template-columns: minmax(0,1fr); }
  .site-footer .footer-downloads { max-width: 360px; }
  .contact-panel { padding: 26px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { justify-content: center; }
}
