      /* ═══════════════════════════════════════════════════════════
         Unified site footer (all pages) — exactly two rows (RTL):
           row 1: brand (right) | the page links spread on one line
           row 2: mail + WhatsApp buttons + address (right),
                  copyright pushed to the far end (left)
         A soft hairline separates the rows. Every selector is prefixed
         with "footer" so it outranks site-nav.css and page CSS; this
         file loads last.
         ═══════════════════════════════════════════════════════════ */
      footer {
        flex: 0 auto;
        padding: 0.4rem 1.5rem 0.45rem;
        background: rgba(237, 243, 215, 0.94);
        border-top: 1px solid rgba(29, 102, 82, 0.14);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        line-height: 1.4;
      }

      footer .footer-shell {
        max-width: var(--container, 1200px);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
      }

      /* Row 1 — brand | links spread across the remaining width */
      footer .footer-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem 1.25rem;
        flex-wrap: wrap;
        width: 100%;
      }

      /* Brand block: round logo + name/tagline, all on one line */
      footer .footer-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 0 0 auto;
        color: var(--muted, #5a6b66);
        white-space: nowrap;
      }
      footer .footer-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
        border-radius: 50%;
        border: 1px solid rgba(29, 102, 82, 0.14);
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(29, 102, 82, 0.1);
        display: grid;
        place-items: center;
        padding: 0.28rem;
      }
      footer .footer-mark img {
        width: 150%;
        height: 150%;
        object-fit: contain;
      }
      footer .footer-brand-copy { display: flex; flex-direction: column; gap: 0.06rem; }
      footer .footer-brand strong { font-size: 0.82rem; font-weight: 700; color: var(--text, #1a1a1a); }
      footer .footer-brand span { font-size: 0.64rem; color: var(--muted, #5a6b66); }

      /* Links — one line, evenly spread to use the whole width */
      footer .footer-links {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.12rem 0.2rem;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0;
      }
      footer .footer-links li { list-style: none; }
      footer .footer-links a {
        display: inline-block;
        text-decoration: none;
        color: var(--muted, #5a6b66);
        font-size: 0.78rem;
        font-weight: 400;
        padding: 0.1rem 0.4rem;
        border-radius: 999px;
        transition: background-color 0.2s ease, color 0.2s ease;
        white-space: nowrap;
      }
      footer .footer-links a:hover { background: rgba(237, 243, 215, 0.7); color: var(--brand-deep, #1d6652); }

      /* Row 2 — contact side + copyright, under a soft hairline */
      footer .footer-contact {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.35rem 0.55rem;
        width: 100%;
        margin: 0;
        padding-top: 0.4rem;
        border-top: 1px solid rgba(29, 102, 82, 0.1);
      }
      footer .footer-contact a { text-decoration: none; }

      /* Icon buttons — round, text-free (labels live in aria-labels) */
      footer .footer-contact .footer-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.9rem;
        height: 1.9rem;
        min-height: 1.9rem;
        padding: 0;
        gap: 0;
        border-radius: 999px;
        border: 1px solid rgba(29, 102, 82, 0.2);
        background: #ffffff;
        color: var(--brand-deep, #1d6652);
        flex: 0 0 auto;
        box-shadow: 0 1px 5px rgba(29, 102, 82, 0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
      }
      footer .footer-contact .footer-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 9px rgba(29, 102, 82, 0.16);
      }
      footer .footer-contact .footer-btn-mail:hover { color: var(--brand-deep, #1d6652); }

      /* WhatsApp — official glyph + official WhatsApp green (P1 2026-11-27) */
      footer .footer-contact .footer-btn-whatsapp,
      footer .footer-contact .footer-btn-whatsapp:hover {
        color: #ffffff;
        width: 2.1rem;
        height: 2.1rem;
        min-height: 2.1rem;
        border-color: transparent;
        background: #25d366;
        box-shadow: 0 1px 6px rgba(37, 211, 102, 0.28);
      }
      footer .footer-contact .footer-btn-whatsapp:hover {
        background: #1fa855;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.38);
      }
      footer .footer-btn-whatsapp svg { flex: 0 0 auto; }

      footer .footer-contact-address {
        color: var(--muted, #5a6b66);
        font-size: 0.62rem;
        padding-inline: 0.15rem;
      }

      /* Copyright — pushed to the far end of row 2 */
      footer .footer-copy {
        margin: 0;
        margin-inline-start: auto;
        color: var(--muted, #5a6b66);
        font-size: 0.62rem;
        text-align: end;
      }

      /* Phone screens: everything stacks and centers */
      @media (max-width: 860px) {
        footer .footer-top {
          flex-direction: column;
          align-items: center;
          gap: 0.35rem;
        }
        footer .footer-brand { white-space: normal; }
        footer .footer-links { justify-content: center; row-gap: 0.15rem; }
        footer .footer-contact { justify-content: center; row-gap: 0.3rem; }
        footer .footer-copy {
          margin-inline-start: 0;
          width: 100%;
          text-align: center;
        }
      }
      /* ═══ MINI FOOTER RAIL — generalization (P4, 2026-11-28) ═══
         One-line contact rail on every platform page (guide.html excluded
         per owner decision). On the one-screen index it is a layout row;
         on scrolling pages it sits IN FLOW at the content end — it appears
         with scrolling, never pinned over content (owner confirmation
         2026-11-28). This file is the shared authority; index-inline.css
         keeps the index-only deck counter styles. */
      footer.footer-mini {
        padding: 0.18rem 1.5rem 0.22rem;
      }

      footer .footer-mini-shell {
        max-width: var(--container, 1200px);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0;
      }

      footer .footer-mini .footer-mini-copy {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
