/* HOME-01B — Homepage footer stylesheet (blocking in <head>).
   Extracted from homepage-noncritical.css (FOOTER — Design C section).
   Footer-only: .smf* + legacy .hp2-footer hide rules. */

    /* ══════════════════════════════════════════════════════════
       FOOTER — Design C  (Senior Redesign)
       ══════════════════════════════════════════════════════════ */

    /* ── Base ──────────────────────────────────────────────── */
    .smf {
      background: #FFFFFF;
      border-top: 1px solid rgba(0,0,0,0.08);
      padding: 48px 20px 0;
      font-family: inherit;
    }
    @media (min-width: 768px)  { .smf { padding: 56px 28px 0; } }
    @media (min-width: 1280px) { .smf { padding: 64px 40px 0; } }
    .smf-inner { max-width: 1200px; margin: 0 auto; }

    /* ── Main grid ─────────────────────────────────────────── */
    .smf-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      padding-bottom: 36px;
      border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    @media (min-width: 768px) {
      .smf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
        padding-bottom: 44px;
      }
    }
    @media (min-width: 1024px) {
      .smf-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
        gap: 0 48px;
        align-items: start;
        padding-bottom: 52px;
      }
    }

    /* ── Brand column ──────────────────────────────────────── */
    .smf-brand {
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(0,0,0,0.08);
      margin-bottom: 4px;
    }
    @media (min-width: 768px) {
      .smf-brand {
        grid-column: span 2;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
      }
    }
    @media (min-width: 1024px) {
      .smf-brand { grid-column: 1; padding-inline-end: 40px; border-inline-end: 1px solid rgba(0,0,0,0.08); }
    }
    .smf-logo {
      font-size: 22px; font-weight: 800; color: #111827;
      letter-spacing: -.01em; margin-bottom: 10px;
      display: flex; align-items: center; gap: 6px;
    }
    .smf-logo-icon { color: #E54B00; }
    .smf-logo span { color: #E54B00; }
    .smf-desc {
      font-size: 13px; color: rgba(0,0,0,0.55); line-height: 1.7;
      max-width: 280px; margin-bottom: 20px;
    }
    /* Social icons */
    .smf-socials { display: flex; gap: 8px; flex-wrap: wrap; }
    .smf-soc {
      display: flex; align-items: center; justify-content: center;
      width: 34px; height: 34px; border-radius: 50%;
      background: rgba(0,0,0,0.04);
      border: 1px solid rgba(0,0,0,0.1);
      color: rgba(0,0,0,0.55); transition: background .18s, color .18s, border-color .18s;
      flex-shrink: 0; text-decoration: none;
    }
    .smf-soc svg { width: 14px; height: 14px; }
    .smf-soc:hover { background: rgba(229,75,0,0.2); color: #FF8A5B; border-color: rgba(229,75,0,0.35); }

    /* ── Link columns ──────────────────────────────────────── */
    .smf-col { padding: 0; }
    @media (min-width: 1024px) { .smf-col { padding-inline-start: 0; } }

    /* Column title — doubles as accordion toggle on mobile */
    .smf-col-title {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%; background: none; border: none; outline: none;
      text-align: inherit; cursor: pointer;
      font-size: 11px; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: #111827;
      padding: 14px 0; margin: 0;
      border-bottom: 1px solid rgba(0,0,0,0.08);
      transition: color .15s;
    }
    @media (min-width: 768px) {
      .smf-col-title {
        padding: 0 0 14px; border-bottom: 1px solid rgba(0,0,0,0.1);
        cursor: default; pointer-events: none;
        font-size: 11px;
      }
    }
    .smf-col-title-caret {
      width: 14px; height: 14px; color: rgba(0,0,0,0.35);
      transition: transform .22s ease; flex-shrink: 0;
    }
    .smf-col-title.smf-open .smf-col-title-caret { transform: rotate(180deg); }
    @media (min-width: 768px) { .smf-col-title-caret { display: none; } }

    /* Links list */
    .smf-links {
      list-style: none; padding: 0; margin: 0;
      display: none; /* collapsed by default on mobile */
      padding-top: 8px;
    }
    @media (min-width: 768px) { .smf-links { display: block !important; padding-top: 14px; } }
    .smf-links.smf-open { display: block; }
    .smf-links li { padding: 5px 0; }
    .smf-link {
      font-size: 13px; color: rgba(0,0,0,0.6);
      text-decoration: none; transition: color .15s;
      display: inline-block;
    }
    .smf-link:hover { color: #E54B00; }

    /* ── Contact column ────────────────────────────────────── */
    .smf-contact-list { list-style: none; padding: 0; margin: 0; padding-top: 14px; }
    .smf-contact-list li {
      display: flex; align-items: flex-start; gap: 9px;
      padding: 5px 0; font-size: 13px; color: rgba(0,0,0,0.6);
    }
    .smf-contact-list a {
      color: rgba(0,0,0,0.6); text-decoration: none; transition: color .15s;
    }
    .smf-contact-list a:hover { color: #E54B00; }
    .smf-contact-icon {
      width: 16px; height: 16px; color: #E54B00;
      flex-shrink: 0; margin-top: 1px;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .smf-contact-icon svg { width: 15px; height: 15px; }

    /* ── Locale selector row ───────────────────────────────── */
    .smf-locale-row {
      display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center;
      padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .smf-locale-label {
      font-size: 11px; font-weight: 600; color: rgba(0,0,0,0.4);
      text-transform: uppercase; letter-spacing: .06em;
    }
    .smf-locale-sel {
      padding: 4px 10px; font-size: 12px; border-radius: 6px;
      background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.7);
      border: 1px solid rgba(0,0,0,0.12); cursor: pointer;
      font-family: inherit;
    }
    .smf-locale-sel:focus { outline: 1px solid rgba(229,75,0,0.5); }
    .smf-locale-sel option { background: #fff; color: #111; }

    /* ── Bottom bar ────────────────────────────────────────── */
    .smf-bottom {
      display: flex; flex-direction: column; gap: 10px;
      padding: 18px 0 20px; align-items: flex-start;
    }
    @media (min-width: 768px) {
      .smf-bottom {
        flex-direction: row; align-items: center; justify-content: space-between;
      }
    }
    .smf-copy { font-size: 12px; color: rgba(0,0,0,0.4); }
    .smf-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .smf-bottom-link {
      font-size: 12px; color: rgba(0,0,0,0.4); text-decoration: none; transition: color .15s;
    }
    .smf-bottom-link:hover { color: #E54B00; }
    .smf-admin-link {
      font-size: 11px; color: rgba(0,0,0,0.3); text-decoration: none; transition: color .15s;
    }
    .smf-admin-link:hover { color: #E54B00; }

    /* ── RTL adjustments ───────────────────────────────────── */
    html[dir=rtl] .smf-logo     { flex-direction: row-reverse; justify-content: flex-end; }
    html[dir=rtl] .smf-socials  { flex-direction: row-reverse; }
    html[dir=rtl] .smf-bottom   { flex-direction: column; }
    @media (min-width: 768px) {
      html[dir=rtl] .smf-bottom { flex-direction: row-reverse; }
    }
    html[dir=rtl] .smf-contact-list li { flex-direction: row-reverse; }
    html[dir=rtl] .smf-locale-row { flex-direction: row-reverse; }

    /* ── Legacy classes (keep so inline server.js styles don't break) ── */
    .hp2-footer { display: none; }
    .hp2-footer-inner, .hp2-footer-top, .hp2-footer-brand,
    .hp2-footer-links, .hp2-footer-cx-row, .hp2-footer-bottom { display: none; }
