.af-footer { background: #f0f5f8; color: #344d60; border-top: 1px solid #dbe6ed; }
.af-container { width: 100%; max-width: var(--nc-container); margin: 0 auto; padding: 0 40px; }
.af-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0 20px; border-bottom: 1px solid #d3e0e8; }
.af-intro p { max-width: 660px; margin: 0; color: #0a2540; font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.25; letter-spacing: normal; }
.af-intro p > span { color: #0284c7; }
.af-intro__message { min-width: 0; }
.af-signature { display: block; width: 145px; max-width: 100%; height: auto; margin-top: 2px; color: #0a2540; }
.af-signature path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.af-signature.is-pending path,.af-signature.is-drawing path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.af-signature.is-drawing path { animation: af-sign var(--sign-duration, .6s) linear var(--sign-delay, 0s) forwards; }
.af-signature .af-signature__underline { stroke-width: 1.2; }
@keyframes af-sign { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .af-signature.is-drawing path,.af-signature.is-pending path { animation: none; stroke-dashoffset: 0; } }
html.ac-access-motion .af-signature path { animation: none !important; stroke-dashoffset: 0 !important; }
.af-intro > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; flex-shrink: 0; padding: 16px 22px; border-radius: 5px; background: #0a2540; color: #fff; font-size: 13px; font-weight: 600; }
.af-intro > a:hover { background: #0369a1; }
.af-intro > a span { font-size: 22px; }
.af-footer__widgets { padding: 48px 0 52px; }
.af-footer__bg { display: none; }
.af-footer__grid { display: grid; grid-template-columns: 1.05fr 1fr 1.1fr .75fr; gap: 36px; align-items: start; }
.af-widget { min-width: 0; }
.af-widget--brand { order: -1; text-align: start; justify-self: stretch; padding: 0; }
.af-widget__title { margin: 0 0 19px; color: #0a2540 !important; font-size: 13px !important; line-height: 1.5; font-weight: 700; letter-spacing: 0 !important; }
.af-widget__title--spaced { margin: 26px 0 12px; }
.af-list { margin: 0; padding: 0; list-style: none; }
.af-list--lines li + li { margin-top: 11px; }
.af-list--lines a { display: inline-block; font-size: 12px; line-height: 1.8; color: #526a7b; overflow-wrap: anywhere; }
.af-list--lines a:hover { color: #007ca8; text-decoration: underline; text-underline-offset: 4px; }
.af-list--social { display: flex; flex-wrap: wrap; gap: 8px; }
.af-list--social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #cadbe6; border-radius: 50%; color: #0a2540; }
.af-list--social a:hover { background: #0a2540; border-color: #0a2540; color: #fff; }
.af-social-ico { display: flex; }
.af-brand { display: block; width: 240px; max-width: 100%; margin: 0; padding: 0; text-align: start; }
.af-brand__img { display: block; width: 100%; height: auto; margin: 0; padding: 0; object-fit: contain; object-position: left center; }
.af-ownership { width: 240px; max-width: 100%; margin: 10px 0 0; color: #647c8c; font-size: 11px; line-height: 1.6; text-align: center; }
.af-cta { display: flex; flex-direction: column; align-items: center; width: 240px; max-width: 100%; gap: 24px; margin-top: 16px; text-align: center; }
.af-btn { color: #0a2540; font-size: 12px; font-weight: 700; border-bottom: 1px solid #b8cdd9; padding-bottom: 8px; }
.af-btn:hover { color: #0284c7; }
.af-footer__bottom-grid { display: flex; align-items: center; gap: 24px; padding: 12px 0; border-top: 1px solid #d3e0e8; }
.af-footer__legal { min-width: 0; margin-inline-end: auto; }
.af-copyright { margin: 0; margin-inline-end: auto; font-size: 10px; line-height: 1.8; color: #647c8c; }
.af-privacy { font-size: 11px; color: #526a7b; }
.af-browser-note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 2px 0 0; padding: 0; color: #647c8c; font-size: 10px; line-height: 1.6; text-align: start; }
.af-browser-icons { display: inline-flex; align-items: center; gap: 5px; direction: ltr; }
.af-browser-icons svg { display: block; width: 15px; height: 15px; }
.af-footer .ac-settings-trigger { width: auto; min-height: 44px; height: auto; gap: 9px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #0a2540; box-shadow: none; direction: ltr; text-align: start; }
.af-footer .ac-settings-trigger > svg { flex: 0 0 42px; width: 42px; height: 42px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: #0284c7; color: #fff; }
.af-access-label { max-width: 220px; font-size: 11px; line-height: 1.5; unicode-bidi: plaintext; }
.af-footer a:focus-visible { outline: 3px solid #0284c7; outline-offset: 5px; }
.af-more { margin-top: 16px; padding: 6px 0; border: 0; border-bottom: 1px solid #b8cdd9; background: transparent; color: #007ca8; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.af-more:hover { color: #0a2540; }
.af-more:focus-visible { outline: 3px solid #0284c7; outline-offset: 4px; }
.af-more[hidden],#af-product-types > li[hidden] { display: none !important; }
html[lang^="fa"] .af-footer { direction: rtl; text-align: right; }
html[lang^="fa"] .af-intro p { font-family: Tahoma, Arial, sans-serif; letter-spacing: normal; }
@media (max-width: 1000px) {
    .af-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
    .af-intro { gap: 24px; }
}
@media (max-width: 640px) {
    .af-container { padding: 0 20px; }
    .af-intro { align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px 0; }
    .af-footer__widgets { padding: 32px 0; }
    .af-footer__grid { gap: 30px 20px; }
    .af-brand { width: 200px; }
    .af-ownership { width: 200px; }
    .af-cta { width: 200px; }
    .af-footer__bottom-grid { flex-wrap: wrap; gap: 16px; }
    .af-footer__legal { flex-basis: 100%; order: 0; }
    .af-footer .ac-settings-trigger { order: 1; margin-inline-start: auto; }
    .af-privacy { order: 2; flex-basis: 100%; }
}
@media (max-width: 380px) { .af-footer__grid { grid-template-columns: 1fr; } }
.af-signature.af-signature--author{width:max-content;max-width:100%;font-family:'Caveat','Segoe Print',cursive;font-size:27px;font-weight:600;line-height:1.3;margin-top:5px;padding-inline-start:5px;white-space:nowrap}
.af-signature--author.is-pending{opacity:0;clip-path:none}
.af-signature--author.is-drawing{opacity:1;animation:af-author-write 2s ease-out forwards}
@keyframes af-author-write{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@media(prefers-reduced-motion:reduce){.af-signature--author.is-pending,.af-signature--author.is-drawing{animation:none;clip-path:none}}
html.ac-access-motion .af-signature--author{animation:none!important;clip-path:none!important}

html.ac-access-dark:not(.ac-access-contrast) .af-signature--author{color:#d7eaf6!important}
@media(prefers-reduced-motion:reduce){.af-signature--author.is-pending{opacity:1}}
html.ac-access-motion .af-signature--author{opacity:1!important}

/* ============================================================
   MOBILE — compact footer with collapsible widgets
============================================================ */
@media (max-width: 640px) {
    .af-footer .af-container { padding: 0 18px; }

    /* compact intro */
    .af-intro { gap: 10px; padding: 16px 0 14px; }
    .af-intro p { font-size: 22px; line-height: 1.3; }
    .af-intro > a {
        align-self: stretch;
        justify-content: center;
        gap: 18px;
        padding: 11px 16px;
        border-radius: 6px;
        font-size: 11.5px;
    }
    .af-intro > a span { font-size: 18px; }

    /* widgets */
    .af-footer__widgets { padding: 16px 0 20px; }
    .af-footer__grid { grid-template-columns: 1fr; gap: 0; }

    /* brand row: logo + CTA */
    .af-widget--brand {
        order: -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 0 0 15px;
        text-align: start;
    }
    .af-brand { width: 148px; }
    .af-ownership { display: none; }
    .af-cta { width: auto; margin: 0; align-items: flex-end; gap: 0; }
    .af-btn { padding-bottom: 5px; font-size: 10.5px; white-space: nowrap; }

    /* collapsible sections */
    .af-widget--contact,
    .af-widget--specialties,
    .af-widget--links {
        padding: 0;
        border-bottom: 1px solid #d3e0e8;
    }
    .af-widget__title,
    .af-widget__title--spaced {
        position: relative;
        margin: 0 !important;
        padding: 13px 24px 13px 0;
        font-size: 11.5px !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .af-widget__title::after {
        content: "";
        position: absolute;
        right: 4px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid #7b8ea3;
        border-bottom: 2px solid #7b8ea3;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.22s ease;
    }
    .af-widget__title.is-open::after { transform: translateY(-30%) rotate(-135deg); }
    .af-widget__title + .af-list { padding: 0 0 14px; }
    .af-widget__title--spaced { border-top: 1px solid #e4edf2; margin-top: 2px !important; }

    .af-list--lines li + li { margin-top: 7px; }
    .af-list--lines a { font-size: 11.5px; line-height: 1.65; }
    .af-list--social { gap: 7px; padding: 0 0 14px; }
    .af-list[hidden] { display: none !important; }
    .af-list--social a { width: 32px; height: 32px; }
    .af-list--social svg { width: 16px; height: 16px; }
    .af-more { margin-top: 10px; font-size: 11px; }
    .af-list[hidden] ~ .af-more { display: none !important; }

    /* bottom bar */
    .af-footer__bottom-grid { gap: 10px; padding: 12px 0; }
    .af-copyright { font-size: 9px; line-height: 1.6; }
    .af-privacy { font-size: 10px; }
    .af-browser-note { display: none; }
    .af-footer .ac-settings-trigger { min-height: 36px; gap: 0; }
    .af-footer .ac-settings-trigger > svg {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        padding: 8px;
    }
    .af-access-label { display: none; }
}

/* Quick links: leading icons and an even vertical rhythm. */
.af-widget--links .af-list--lines { display: flex; flex-direction: column; gap: 12px; }
.af-widget--links .af-list--lines li + li { margin-top: 0; }
.af-widget--links .af-list--lines a { display: flex; align-items: flex-start; gap: 9px; line-height: 1.55; }
.af-list__ico { display: inline-flex; flex: 0 0 16px; align-items: center; justify-content: center; width: 16px; height: 16px; margin-top: 1px; color: #007ca8; }
.af-list__ico svg { display: block; width: 16px; height: 16px; }
.af-list__label { min-width: 0; }
html.ac-access-dark .af-list__ico { color: var(--ac-dark-link); }
