@font-face {
    font-family: 'IRANSans';
    src: url('../../fonts/IRANSansWeb_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../../fonts/IRANSansWeb_Medium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.sp-light-template-body {
    margin: 0;
    background: #ffffff;
    color: #1f2937;
}

.sp-light-page,
.sp-light-page * {
    box-sizing: border-box;
}

.sp-light-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

.sp-light-page a {
    color: inherit;
    text-decoration: none;
}

.sp-light-page .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sp-light-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 74px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.14);
}

.sp-light-header__inner {
    width: min(1120px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
    align-items: center;
    gap: 18px;
}

.sp-light-header__link {
    justify-self: start;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 14px 7px 18px;
    border: 1px solid #9ca3af;
    border-radius: 7px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 900;
    color: #9ca3af !important;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sp-light-header__link::before {
    content: "<";
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.sp-light-header__button {
    justify-self: end;
    min-width: 118px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 7px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(180deg, #2389ff 0%, #0753bd 100%);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 6px 14px rgba(20, 118, 243, 0.22);
}

.sp-light-brand {
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #343434;
}

.sp-light-brand__image {
    display: block;
    max-width: 210px;
    max-height: 48px;
    width: auto;
    height: auto;
}

.sp-light-brand__text {
    display: grid;
    text-align: left;
    line-height: 1.15;
    font-size: 13px;
    font-weight: 700;
}

.sp-light-brand__text small {
    color: #60636a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.sp-light-brand__mark,
.sp-light-footer-card__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.sp-light-footer-card__logo {
    display: block;
    width: min(310px, 100%);
    height: auto;
}

.sp-light-main {
    flex: 1 0 auto;
    width: 100%;
    min-height: 72vh;
}

.sp-light-main > .elementor,
.sp-light-main > :not(.elementor) {
    width: 100%;
}

.sp-light-footer {
    flex: 0 0 auto;
    margin-top: 86px;
    background: #214a83;
    color: #ffffff;
}

.sp-light-footer__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0;
}

.sp-light-footer-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: center;
    padding: 26px 36px;
    background: linear-gradient(180deg, #1889ff 0%, #164989 100%);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 24px rgba(20, 118, 243, 0.16);
    transform: translateY(-64px);
    margin-bottom: -42px;
}

.sp-light-footer-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.sp-light-footer-card__brand strong,
.sp-light-footer-card__brand small {
    display: block;
}

.sp-light-footer-card__brand strong {
    font-size: 25px;
    line-height: 1.4;
}

.sp-light-footer-card__brand small {
    font-size: 15px;
    letter-spacing: 3px;
}

.sp-light-footer-card p {
    margin: 0;
    font-size: 13px;
    text-align: justify;
}

.sp-light-contact {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(170px, 0.9fr) minmax(430px, 1.8fr);
    gap: 18px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.sp-light-contact li {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
}

.sp-light-contact img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.sp-light-contact span {
    color: #ffffff;
}

.sp-light-contact a {
    color: #ffffff !important;
    text-decoration: none;
}

.sp-light-contact__address {
    justify-content: flex-start;
    text-align: right;
}

.sp-light-newsletter {
    width: min(920px, 100%);
    height: 48px;
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: 1fr 320px;
    border: 4px solid #ffffff;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
}

.sp-light-newsletter input,
.sp-light-newsletter button {
    min-width: 0;
    border: 0;
    font: inherit;
}

.sp-light-newsletter input {
    padding: 0 26px;
    color: #1f2937;
    outline: none;
}

.sp-light-newsletter button {
    cursor: pointer;
    color: #ffffff;
    background: #214a83;
    font-weight: 700;
}

.sp-light-newsletter .np-input1 {
    direction: rtl;
    text-align: right;
    background: #ffffff;
    color: #1f2937;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.sp-light-newsletter .np-input1::placeholder {
    color: #6b7280;
    direction: rtl;
    text-align: right;
}

.sp-light-newsletter .np-input1:focus {
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.sp-light-newsletter .np-submit-btn1 {
    width: auto;
    min-width: 0;
    border-radius: 0;
    background: #214a83;
    box-shadow: none;
}

.sp-light-newsletter-message {
    width: min(920px, 100%);
    margin: -20px auto 28px;
}

.sp-light-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.sp-light-footer-nav h2 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 20px;
    line-height: 1.5;
}

.sp-light-footer-nav a {
    display: block;
    padding: 3px 0;
    color: #ffffff !important;
    font-size: 14px;
}

.sp-light-footer-nav a:hover {
    color: #cfe5ff;
}

.sp-light-header__link:hover {
    border-color: #6b7280;
    color: #6b7280 !important;
    box-shadow: 0 6px 14px rgba(107, 114, 128, 0.14);
}

.sp-light-footer-credentials {
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr;
    align-items: center;
    gap: 34px;
    margin-bottom: 0;
    direction: ltr;
}

.sp-light-trust-box {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    border-radius: 14px 14px 0 0;
    background: #e0e3e6;
    direction: rtl;
}

.sp-light-trust-box img {
    display: block;
    width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.sp-light-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 19px;
}

.sp-light-social a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sp-light-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.sp-light-social img {
    display: block;
    width: 20px;
    height: 20px;
}

.sp-light-footer__bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 0 calc((100vw - 100%) / -2);
    padding: 12px calc((100vw - 100%) / 2);
    background: #1476f3;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.sp-light-footer__bottom span {
    width: 100%;
}

@media (max-width: 820px) {
    .sp-light-header__inner {
        width: min(100% - 24px, 1120px);
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
    }

    .sp-light-brand {
        min-width: 0;
    }

    .sp-light-brand__text {
        display: none;
    }

    .sp-light-header__link,
    .sp-light-header__button {
        font-size: 12px;
    }

    .sp-light-header__button {
        min-width: 92px;
        padding-inline: 12px;
    }

    .sp-light-footer-card,
    .sp-light-contact,
    .sp-light-footer-credentials {
        grid-template-columns: 1fr;
    }

    .sp-light-footer-nav {
        display: none;
    }

    .sp-light-footer-card {
        gap: 18px;
        padding: 24px 22px;
        text-align: center;
    }

    .sp-light-footer-card__brand {
        justify-content: center;
        padding-left: 0;
        padding-bottom: 18px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    }

    .sp-light-footer-card p {
        text-align: center;
    }

    .sp-light-newsletter {
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .sp-light-newsletter input,
    .sp-light-newsletter button {
        min-height: 44px;
        text-align: center;
    }

    .sp-light-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .sp-light-footer-credentials {
        gap: 20px;
    }

    .sp-light-social {
        order: -1;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 460px) {
    .sp-light-header {
        min-height: 66px;
    }

    .sp-light-header__inner {
        min-height: 66px;
    }

    .sp-light-brand__mark {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .sp-light-header__button {
        min-width: 78px;
    }

    .sp-light-footer-card__brand {
        flex-direction: column;
    }

    .sp-light-footer-card__brand strong {
        font-size: 20px;
    }

    .sp-light-footer-card__brand small {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .sp-light-trust-box {
        gap: 10px;
        padding: 10px 14px;
    }
}
