/* Optional fifth footer column for a genuine or clearly labeled demo trust seal. */
@media (min-width: 801px) {
  .site-footer .footer-grid--with-enamad {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)) minmax(100px, .82fr);
    column-gap: clamp(14px, 2.4vw, 36px);
    align-items: start;
  }
}
.site-footer .footer-enamad { min-width:0; text-align:center; }
.site-footer .footer-enamad .footer-title { white-space:nowrap; }
.site-footer .footer-enamad-image { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; max-width:100%; }
.site-footer .footer-enamad-image a { display:inline-flex !important; align-items:center; justify-content:center; margin:0 !important; max-width:100%; }
.site-footer .footer-enamad-image img { display:block; width:auto; max-width:100%; height:auto; max-height:112px; object-fit:contain; }
.site-footer .footer-enamad-demo-label { color:#7a887c; font-size:10px; line-height:1.5; }
.site-footer .footer-enamad-mobile { display:none; }
@media (max-width: 800px) {
  .site-footer .footer-enamad-mobile {
    display:flex; align-items:center; justify-content:center;
    padding:13px 0 6px; text-align:center;
  }
  .site-footer .footer-enamad-mobile .footer-enamad-image img { max-width:82px; max-height:90px; }
  .site-footer .footer-enamad-mobile .footer-enamad-demo-label { font-size:9px; }
}

/* Mobile footer: seal in its own left-hand column, content on the right. */
@media (max-width: 800px) {
  .site-footer .footer-mobile-main {
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    align-items:start;
  }
  .site-footer .footer-mobile-main--with-enamad {
    grid-template-columns:minmax(0, 1fr) 84px;
    column-gap:12px;
  }
  .site-footer .footer-mobile-info {min-width:0;}
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-head {
    flex-wrap:wrap;
    align-items:flex-start;
    gap:7px;
  }
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-actions {
    margin-right:0;
    margin-left:0;
  }
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav {
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-start;
    border-bottom:0;
    padding-bottom:0;
  }
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav a {font-size:10.5px;}
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-brand .footer-brand-name {white-space:normal;}
  .site-footer .footer-mobile-main--with-enamad .footer-enamad-mobile {
    display:flex;
    align-items:center;
    justify-content:center;
    align-self:stretch;
    min-width:0;
    padding:4px 0 4px 0;
    border-right:1px solid #e2e9e2;
    text-align:center;
  }
  .site-footer .footer-mobile-main--with-enamad .footer-enamad-image {width:100%;}
  .site-footer .footer-mobile-main--with-enamad .footer-enamad-image img {max-width:74px;max-height:88px;}
  .site-footer .footer-mobile-bottom {
    border-top:1px solid #e6ebe6;
    margin-top:10px;
  }
}
@media (max-width: 350px) {
  .site-footer .footer-mobile-main--with-enamad {
    grid-template-columns:minmax(0, 1fr) 72px;
    column-gap:9px;
  }
  .site-footer .footer-mobile-main--with-enamad .footer-enamad-image img {max-width:65px;max-height:78px;}
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav {gap:7px;}
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav a {font-size:10px;}
}

/* Footer mobile v3: contact buttons above a properly spaced three-link row. */
@media (max-width: 800px) {
  .site-footer .footer-mobile-actions,
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
  }
  .site-footer .footer-mobile-nav,
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: stretch;
    gap: 4px;
    margin-top: 12px;
    padding: 11px 0 10px;
    border-top: 1px solid #e6ebe6;
    border-bottom: 0;
  }
  .site-footer .footer-mobile-nav a,
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 28px;
    padding: 3px 2px;
    text-align: center;
    white-space: nowrap;
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .site-footer .footer-mobile-nav a,
  .site-footer .footer-mobile-main--with-enamad .footer-mobile-nav a {
    font-size: 10px;
    padding-inline: 1px;
  }
}
