/* =========================================================
   IRANSans
   ========================================================= */

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb-UltraLight.woff2') format('woff2'),
         url('../fonts/IRANSansWeb-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb-Medium.woff2') format('woff2'),
         url('../fonts/IRANSansWeb-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb-Black.woff2') format('woff2'),
         url('../fonts/IRANSansWeb-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   Global
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: 'IRANSans', sans-serif;
}

body {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================================
   Premium cosmetics footer
   ========================================================= */

.site-footer {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-top: 72px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 194, 209, .17), transparent 27%),
        radial-gradient(circle at 88% 82%, rgba(245, 118, 151, .17), transparent 31%),
        linear-gradient(118deg, #420012 0%, #62001d 38%, #851235 72%, #590018 100%);
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.site-footer::before {
    inset: 0;
    opacity: .5;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .28) 1px, transparent 1.5px),
        linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, .025) 50%, transparent 52%);
    background-position: 0 0, 0 0;
    background-size: 44px 44px, 110px 110px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 48%, rgba(0, 0, 0, .35));
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 48%, rgba(0, 0, 0, .35));
}

.site-footer::after {
    width: 530px;
    height: 530px;
    left: -290px;
    bottom: -350px;
    border: 1px solid rgba(255, 224, 232, .18);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(255, 216, 226, .025),
        0 0 0 96px rgba(255, 216, 226, .018);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 80px, 1280px);
    margin-inline: auto;
    padding: 42px 0 14px;
}

.site-footer__layout {
    display: grid;
    grid-template-columns: minmax(330px, 1.18fr) minmax(300px, .9fr) minmax(320px, 1.06fr);
    grid-template-areas: 'artwork contact brand';
    align-items: stretch;
    gap: 24px;
    min-height: 340px;
    direction: ltr;
}

.site-footer__brand,
.site-footer__contact,
.site-footer__artwork {
    min-width: 0;
}

.site-footer__brand,
.site-footer__contact {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 241, .15);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045));
    box-shadow:
        0 24px 55px rgba(28, 0, 8, .18),
        inset 0 1px 0 rgba(255, 255, 255, .10);
}

.site-footer__brand::before,
.site-footer__contact::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 198, 212, .07);
    pointer-events: none;
}

.site-footer__brand::before {
    top: -85px;
    left: -60px;
}

.site-footer__contact::before {
    right: -85px;
    bottom: -90px;
}

.site-footer__brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
    direction: rtl;
    text-align: right;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    min-height: 72px;
    padding: 8px 15px;
    border-radius: 18px;
    color: #6e0b2b;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 26px rgba(33, 0, 9, .17);
    text-decoration: none;
}

.site-footer__logo img {
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 62px;
    object-fit: contain;
}

.site-footer__logo span {
    color: #74102f;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 900;
}

.site-footer__slogan {
    margin: 17px 0 0;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.8;
}

.site-footer__intro {
    max-width: 360px;
    margin: 7px 0 0;
    color: rgba(255, 240, 244, .79);
    font-size: 12px;
    line-height: 2;
}

.site-footer__enamad-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 17px;
}

.site-footer__enamad-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    padding: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 27px rgba(31, 0, 8, .22);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.site-footer__enamad-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__contact {
    grid-area: contact;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px 24px;
    direction: rtl;
    text-align: right;
}

.site-footer__title {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
}

.site-footer__contact-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 231, 237, .12);
    border-radius: 17px;
    background: rgba(48, 0, 14, .18);
    transition: transform .18s ease, background-color .18s ease;
}

.site-footer__contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    padding: 10px;
    border-radius: 14px;
    color: #7b1232;
    background: linear-gradient(145deg, #ffe7ed, #f6a4b8);
    box-shadow: 0 8px 18px rgba(33, 0, 9, .18), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.site-footer__contact-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__contact-icon--phone {
    color: #75132f;
    background: linear-gradient(145deg, #fff3f6 0%, #f5a9bc 100%);
}

.site-footer__contact-icon--location {
    color: #6b1730;
    background: linear-gradient(145deg, #fff7ef 0%, #efb7a8 100%);
}

.site-footer__contact-icon--phone svg,
.site-footer__contact-icon--location svg {
    stroke-width: 1.75;
}

.site-footer__contact-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.site-footer__contact-label {
    color: rgba(255, 225, 233, .68);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.7;
}

.site-footer__phone,
.site-footer__phone:visited {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    text-decoration: none;
    direction: ltr;
    unicode-bidi: embed;
    text-align: right;
}

.site-footer__address {
    max-width: 250px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.9;
}

.site-footer__follow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 3px;
}

.site-footer__follow-title {
    color: rgba(255, 240, 244, .9);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

.site-footer__instagram-button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #f8c45f 0%, #e54d78 39%, #b32b9e 69%, #5b5bd9 100%);
    box-shadow: 0 11px 24px rgba(33, 0, 9, .28);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.site-footer__instagram-button .icon,
.site-footer__instagram-button svg {
    width: 100%;
    height: 100%;
}

.site-footer__instagram-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__artwork {
    position: relative;
    isolation: isolate;
    grid-area: artwork;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 340px;
    padding: 12px 10px 0;
    overflow: hidden;
}

.site-footer__artwork::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 310px;
    height: 310px;
    left: 50%;
    bottom: -96px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 224, 232, .2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 216, 226, .16), rgba(255, 255, 255, .025) 64%, transparent 65%);
    box-shadow: 0 0 0 28px rgba(255, 220, 229, .022);
}

.site-footer__artwork-image {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    max-height: 335px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 27px rgba(25, 0, 7, .30));
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 0 0;
    direction: rtl;
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    padding: 7px 17px;
    border-radius: 999px;
    color: rgba(255, 239, 243, .72);
    background: rgba(31, 0, 9, .14);
    font-size: 10px;
    line-height: 1.8;
}

.site-footer__credit a,
.site-footer__credit a:visited {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__contact-row:hover {
        transform: translateY(-2px);
        background: rgba(48, 0, 14, .28);
    }

    .site-footer__enamad-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(31, 0, 8, .29);
    }

    .site-footer__instagram-button:hover {
        transform: translateY(-3px) rotate(-3deg);
        box-shadow: 0 15px 31px rgba(33, 0, 9, .35);
    }

    .site-footer__phone:hover,
    .site-footer__credit a:hover {
        color: #ffd1dc;
    }
}

@media (max-width: 1120px) {
    .site-footer__inner {
        width: min(100% - 48px, 1120px);
    }

    .site-footer__layout {
        grid-template-columns: minmax(260px, 1fr) minmax(270px, .92fr) minmax(280px, 1fr);
        gap: 17px;
    }

    .site-footer__brand {
        padding: 25px;
    }

    .site-footer__contact {
        padding-inline: 18px;
    }
}

@media (max-width: 900px) {
    .site-footer {
        margin-top: 54px;
    }

    .site-footer__inner {
        width: min(100% - 30px, 680px);
        padding-top: 28px;
    }

    .site-footer__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            'artwork'
            'brand'
            'contact';
        gap: 16px;
        min-height: 0;
    }

    .site-footer__artwork {
        min-height: 0;
        padding-top: 8px;
    }

    .site-footer__artwork-image {
        width: min(100%, 460px);
        max-height: 275px;
    }

    .site-footer__brand,
    .site-footer__contact {
        align-items: center;
        text-align: center;
    }

    .site-footer__brand {
        padding: 28px;
    }

    .site-footer__intro {
        max-width: 510px;
    }

    .site-footer__enamad-wrap {
        justify-content: center;
    }

    .site-footer__contact {
        padding: 28px;
    }

    .site-footer__contact-row {
        width: min(100%, 430px);
        text-align: right;
    }

    .site-footer__address {
        max-width: 330px;
    }

    .site-footer__follow {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .site-footer__inner {
        width: min(100% - 22px, 430px);
        padding-top: 22px;
    }

    .site-footer__layout {
        gap: 12px;
    }

    .site-footer__brand,
    .site-footer__contact {
        border-radius: 22px;
    }

    .site-footer__brand,
    .site-footer__contact {
        padding: 22px 18px;
    }

    .site-footer__logo {
        min-width: 180px;
    }

    .site-footer__logo img {
        max-width: 165px;
        max-height: 56px;
    }

    .site-footer__slogan {
        font-size: 15px;
    }

    .site-footer__intro,
    .site-footer__address {
        font-size: 11px;
    }

    .site-footer__contact-row {
        width: 100%;
    }

    .site-footer__artwork-image {
        max-height: 235px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-footer__contact-row,
    .site-footer__enamad-link,
    .site-footer__instagram-button {
        transition: none;
    }
}
