@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #1c1c1c;
    --muted: #5e5e5e;
    --title: #7a3068;
    --red: #e10613;
    --blue: #1d4f9f;
    --line: #e7e7e7;
    --soft: #f5f6f8;
    --footer: #d4d4d4;
    --footer-dark: #3c3c3c;
    --shadow: 0 14px 40px rgba(28, 20, 40, .08);
    --radius: 22px;
    --header: 78px;
    --grad: linear-gradient(115deg, #ff4b73 0%, #d6256e 38%, #6a3ee0 100%);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 15.5px;
    line-height: 1.9;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }

.page-title {
    margin: 0 0 .35rem;
    color: var(--title);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.02em;
}
.page-lead { margin: 0 auto 1.6rem; max-width: 46rem; color: var(--muted); }
.edu-page { padding: 2.4rem 0 3rem; }
.edu-page h1 {
    width: max-content; margin: 0 auto 1.35rem;
    font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.4rem);
    background: linear-gradient(90deg, #6d4d98 0%, #8d4a7a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.edu-copy { max-width: 760px; margin: 0 auto; text-align: center; color: #2a2a2a; font-size: .95rem; line-height: 2.05; }
.edu-copy p { margin: 0 0 .9rem; }
.edu-paths { display: flex; direction: ltr; justify-content: center; align-items: flex-start; gap: clamp(2.5rem, 10vw, 8rem); margin-top: 2.6rem; }
.edu-paths figure { margin: 0; width: min(220px, 42vw); text-align: center; }
.edu-paths img { height: 118px; width: auto; max-width: 100%; }
.edu-paths figcaption { margin-top: .85rem; color: #3a3a3a; font-size: 1.15rem; font-weight: 500; }
.page-head { padding: 2.2rem 0 1rem; text-align: center; }

.about-page h1 {
    margin: 0;
    padding: 2.1rem 0 1.25rem;
    text-align: center;
    color: #8d4a86;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 500;
}
.about-film {
    display: block;
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(24, 20, 40, .12);
}
.about-film img { display: block; width: 100%; height: auto; }
.about-copy {
    width: min(880px, 100%);
    margin: 1.35rem auto 0;
    text-align: center;
    color: #242424;
    font-size: .96rem;
    line-height: 2.05;
}
.about-family {
    margin: 1.7rem 0 1.35rem;
    padding: 1.05rem 1rem;
    text-align: center;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 500;
    background: linear-gradient(90deg, #3a4ea8 0%, #6a3a84 46%, #d23a52 100%);
    box-shadow: inset 0 10px 16px rgba(30, 16, 50, .16), inset 0 -10px 16px rgba(30, 16, 50, .14);
}
.about-org { display: block; width: min(980px, 100%); height: auto; margin: 0 auto 1.2rem; }
.about-org-m { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 42px;
    padding: .45rem 1.05rem;
    border-radius: 10px;
    border: 1.5px solid transparent;
    background: #fff;
    font-weight: 700;
    line-height: 1.4;
}
.btn-red { color: var(--red); border-color: var(--red); }
.btn-blue { color: var(--blue); border-color: var(--blue); }
.btn-fill { color: #fff; border: 0; background: var(--grad); }
.btn-red.fill { color: #fff; background: var(--red); }
.btn:hover { transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .55rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header);
}
.logo { display: flex; align-items: center; }
.tools { margin-inline-start: auto; }
.logo img { height: 58px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: .15rem; }
.mnav-head, .mnav-foot { display: none; }
.mnav-links { display: contents; }
.mnav-links > a, .nav-drop > .trigger {
    background: none;
    border: 0;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    color: #222;
    font-weight: 500;
    font-size: .92rem;
    padding: .45rem .55rem;
    border-radius: 8px;
}
.mnav-links > a:hover, .nav-drop > .trigger:hover,
.mnav-links > a.active { color: var(--title); background: #faf7fb; }
.nav-drop { position: relative; }
.mega, .drop {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 30;
    display: none;
    padding: 12px .7rem .7rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.mega::before, .drop::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12px 0 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.nav-drop:hover .drop, .nav-drop:focus-within .drop,
.nav-drop.open .drop, .nav-drop.open .mega, .nav-drop:hover .mega { display: grid; }
.drop { min-width: 210px; }
.drop a, .mega a { display: block; padding: .45rem .7rem; border-radius: 8px; position: relative; }
.drop a:hover, .mega a:hover { background: #f7f4f8; color: var(--title); }
.mega {
    width: min(760px, 72vw);
    grid-template-columns: repeat(2, 1fr);
    gap: .3rem;
    padding: 22px .9rem .9rem;
}
.mega::before { inset: 12px 0 0; }
.mega a small { display: block; color: var(--muted); font-size: .78rem; }

.tools {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4a4a4a;
    display: grid;
    place-items: center;
}
.icon-btn:hover { background: var(--soft); color: var(--title); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn em { display: none; }
.burger { display: none; }
.only-sm { display: none; }
.m-hero-copy { display: none; }
.industry-row figure { margin: 0; }
.industry-row figcaption { display: none; }

.hero { position: relative; background: #140c22; color: #fff; overflow: hidden; }
.hero-slide { display: none; min-height: 460px; position: relative; }
.hero-slide.on { display: block; }
.hero-slide img { width: 100%; height: 520px; object-fit: cover; }
.hero-copy {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(18,8,32,.15), rgba(18,8,32,.28));
}
.hero-copy h1 { margin: 0 0 .4rem; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
.hero-copy p { margin: 0; font-size: 1.05rem; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 58px;
    border: 0;
    background: transparent;
    color: rgba(228, 224, 236, .9);
    padding: 0;
    cursor: pointer;
}
.hero-arrow svg { width: 100%; height: 100%; display: block; }
.hero-arrow:hover { color: #fff; }
.hero-arrow.prev { inset-inline-start: 36px; }
.hero-arrow.next { inset-inline-end: 36px; }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 26px 26px 0 0;
    padding: .55rem 1.1rem .35rem;
    display: flex;
    gap: .4rem;
}
.hero-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 0; background: #d5d5d5;
}
.hero-dots button.on { background: var(--red); }
.hero:has(.hero-jump) .hero-arrow.prev { inset-inline-start: 78px; }
.hero-jump {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 32;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .85rem .55rem .85rem .7rem;
    background: linear-gradient(180deg, #3f46b0 0%, #6d3696 46%, #d43358 100%);
    border-radius: 26px 0 0 26px;
}
.hero-jump a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 10px;
}
.hero-jump a:hover,
.hero-jump a.on { background: rgba(255, 255, 255, .18); }
.hero-jump svg { width: 22px; height: 22px; display: block; }
#home, #certs, #articles, #clients { scroll-margin-top: var(--header); }
body:has(.hero-jump) .rail { display: none; }

.section { padding: 2.6rem 0; }
.home-certs { padding: 2.2rem 0 1.2rem; }
.home-scope { position: relative; }
.scope-tab, .scope-panel {
    position: absolute;
    right: auto;
    left: max(8px, calc((100% - min(var(--max), calc(100% - 40px))) / 2 - 46px));
    top: 34%;
    transform: translateY(-50%);
    z-index: 6;
}
.scope-tab {
    border: 1.5px solid transparent;
    border-radius: 16px;
    padding: .9rem .28rem;
    cursor: pointer;
    writing-mode: vertical-rl;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #3a4ea8, #d23a52) border-box;
}
.scope-tab span {
    background: linear-gradient(180deg, #3a4ea8, #d23a52);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .02em;
}
.home-scope.open .scope-tab { visibility: hidden; }
.scope-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    width: 86px;
    padding: .7rem .3rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #e23b4c 0%, #c43868 32%, #6a43a4 66%, #3c57c6 100%);
    box-shadow: 0 10px 24px rgba(50, 24, 70, .16);
}
.home-scope.open .scope-panel { display: flex; }
.scope-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    background: none;
    color: #fff;
    padding: .28rem .15rem;
    cursor: pointer;
}
.scope-item svg { width: 26px; height: 26px; display: block; }
.scope-item span {
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.scope-item:hover span,
.scope-item:focus-visible span {
    max-height: 2.8em;
    opacity: 1;
    margin-top: .22rem;
}
.certs { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.cert-col { text-align: center; padding: 0 1.6rem; }
.cert-member { border-inline-end: 1px solid #e6e6e6; }
.cert-col h2 { margin: 0 0 1.15rem; font-size: 1.45rem; font-weight: 700; }
.cert-member h2 { color: #8d2d66; }
.cert-lab h2 {
    background: linear-gradient(90deg, #314eae, #7a3a84);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-row { display: flex; direction: ltr; justify-content: center; align-items: center; gap: .7rem; }
.logo-row img { width: 104px; height: 104px; object-fit: contain; }
.cert-note { margin-top: .85rem; color: #8d8d8d; }
.cert-note svg { width: 22px; height: 12px; margin: .15rem auto; color: #b5b5b5; }
.cert-note ul { list-style: none; margin: .25rem 0; padding: 0; font-size: .82rem; line-height: 1.85; }
.cert-note li::before { content: "•"; margin-inline: .35rem; }
.cert-note li.on { color: #2a2a2a; font-weight: 700; font-size: .95rem; }
.cert-note li.on::before { content: none; }

.home-arc { padding: .4rem 0 1.4rem; }
.arc {
    background: linear-gradient(90deg, #3a4a96 0%, #6a3c86 42%, #c23a5c 78%, #d83248 100%);
    color: #fff;
    border-radius: 42px 42px 30px 30px;
    padding: .65rem .7rem .4rem;
}
.arc-photos { display: grid; direction: ltr; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.arc-photos figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.arc-photos img { height: 118px; width: 100%; object-fit: cover; display: block; background: #fff; }
.arc-photos figcaption {
    position: absolute; inset: 0; margin: 0;
    display: flex; direction: rtl; align-items: center; justify-content: center;
    gap: .25rem;
    background: rgba(255, 255, 255, .84);
    opacity: 0;
    font-weight: 700;
    font-size: .98rem;
    white-space: nowrap;
}
.arc-photos figure:hover figcaption,
.arc-photos figure:focus-visible figcaption { opacity: 1; }
.arc-photos .b { color: #2f4ea8; }
.arc-photos .r { color: #9a3058; }
.arc p { text-align: center; margin: .5rem 0 .15rem; font-size: .98rem; font-weight: 500; }

.home-industries { padding: .2rem 0 2.4rem; }
.home-industries h2 { margin: 0 0 1.3rem; text-align: center; color: #8d2d66; font-size: 1.45rem; }
.industry-row { display: flex; direction: ltr; justify-content: space-between; align-items: flex-end; gap: .6rem; }
.industry-row img { height: 104px; width: auto; max-width: 150px; object-fit: contain; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: center; }
.split img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; }
.prose h2, .prose h3 { color: var(--title); margin: 0 0 .6rem; }
.prose p { margin: 0 0 .8rem; }

.home-article {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 268px;
    padding: 1.7rem 0 1.9rem;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 12, 16, .38) 0%, rgba(10, 12, 16, .12) 46%, rgba(10, 12, 16, 0) 68%),
        url("/images/lightning-tree.jpg") right center / cover no-repeat;
}
.home-article-copy {
    width: min(620px, 44%);
    margin-left: max(32px, 8%);
    margin-inline-start: auto;
    text-align: right;
}
.home-article h2 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
}
.home-article h3 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
}
.home-article-copy > p {
    margin: 0;
    color: #fff;
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.95;
}
.home-article-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .95rem;
}
.home-article-q {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    color: #fff;
    font-size: .92rem;
    font-weight: 500;
}
.home-article-q svg { width: 22px; height: 22px; flex: none; }
.home-article-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 34px;
    padding: .2rem 1.05rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font-size: .88rem;
    font-weight: 500;
}
.home-article-more:hover { background: rgba(255, 255, 255, .14); }
.home-clients { padding: 1.1rem 0 .4rem; }
.home-clients h2 { margin: 0 0 1.15rem; text-align: center; color: #8d2d66; font-size: 1.45rem; }
.client-row { display: flex; direction: ltr; align-items: flex-start; gap: .15rem; }
.client-arrow {
    display: grid; place-items: center;
    border: 0; background: transparent; color: #c4c4c4; width: 26px; height: 112px;
    padding: 0; cursor: pointer; flex: none;
}
.client-arrow svg { width: 18px; height: 18px; }
.client-rail {
    display: flex; justify-content: space-between; gap: .4rem;
    overflow: auto; scroll-behavior: smooth; flex: 1;
    scrollbar-width: none; padding-bottom: .2rem;
}
.client-rail::-webkit-scrollbar { display: none; }
.client-rail figure { margin: 0; width: 112px; flex: none; text-align: center; }
.client-rail img { width: 112px; height: 112px; object-fit: contain; }
.client-rail figcaption { margin-top: .4rem; color: #6d6d6d; font-size: .72rem; line-height: 1.45; }

.help {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    background: linear-gradient(90deg, #3a56c8 0%, #6a3faf 38%, #d1336c 74%, #e23b4c 100%);
    color: #fff;
    border-radius: 36px;
    padding: .85rem;
    box-shadow: var(--shadow);
}
.help-info { padding: 1.15rem 1.1rem .9rem 1.3rem; display: flex; flex-direction: column; }
.help-info h2 { margin: .15rem 0 1.15rem; font-size: clamp(1.7rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.35; }
.help-info ul { margin: 0; padding: 0; }
.help-info li { list-style: none; display: flex; align-items: center; gap: .55rem; margin: .42rem 0; font-size: .9rem; }
.help-info li svg { width: 18px; height: 18px; flex: none; }
.help-social { margin-top: auto; display: flex; direction: ltr; gap: .5rem; justify-content: flex-end; padding-top: 1.2rem; }
.help-social a {
    width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #4d4d4d;
    display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.help-social svg { width: 18px; height: 18px; }
.help-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 1rem 1rem .85rem; }
.help-q { margin: 0 0 .7rem; text-align: center; font-weight: 700; font-size: .95rem; }
.help-q i, .help-fields i, .help-msg i { color: #e10613; font-style: normal; }
.pill-rows { display: grid; gap: .4rem; }
.pills { display: flex; direction: ltr; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pills label {
    position: relative;
    border: 1.5px solid #7a45c4;
    color: #6b36b8;
    border-radius: 999px;
    padding: .12rem .75rem;
    font-size: .78rem;
    cursor: pointer;
}
.pills input { position: absolute; opacity: 0; }
.pills label:has(input:checked) { background: #7a45c4; color: #fff; }
.help-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; margin-top: .9rem; }
.help-fields span, .help-msg > span { display: block; font-size: .8rem; color: #555; margin-bottom: .15rem; }
.help-fields input {
    width: 100%; border: 0; border-bottom: 1.5px solid #d5d5d5; background: transparent;
    padding: .4rem 0; outline: none;
}
.help-fields input[dir="ltr"] { text-align: right; }
.help-msg { position: relative; display: block; margin-top: .85rem; }
.help-msg textarea {
    width: 100%; border: 1.5px solid #e23a4c; border-radius: 12px; min-height: 108px;
    padding: .65rem .75rem 2.1rem; outline: none; resize: vertical;
}
.help-send {
    position: absolute; left: 8px; bottom: 8px; width: 32px; height: 32px;
    border: 0; background: transparent; color: #d1264a; cursor: pointer; padding: 0;
}
.help-send svg { width: 22px; height: 22px; }
.field { margin-bottom: .55rem; }
.field span { display: block; font-size: .82rem; color: #666; }
.field input, .field textarea, .searchbar input, .line input, .line textarea {
    width: 100%;
    border: 0;
    border-bottom: 1.5px solid #e4e4e4;
    padding: .45rem .1rem;
    background: transparent;
    outline: none;
}
.field textarea, .line textarea { border: 1.5px solid #e4e4e4; border-radius: 10px; min-height: 90px; padding: .6rem; }
.field input:focus, .field textarea:focus { border-color: var(--title); }
.form-ok {
    background: #f4fff6;
    border: 1px solid #b7e4c7;
    color: #1b4332;
    border-radius: 12px;
    padding: .7rem .9rem;
    margin-bottom: .8rem;
}
.join-page { padding: 2.6rem 0 1rem; }
.join-title {
    width: max-content; margin: 0 auto; text-align: center; font-size: clamp(1.9rem, 3vw, 2.45rem); font-weight: 700;
    background: linear-gradient(90deg, #3a4f9e, #a8324b);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.join-lead { margin: .75rem auto 2.3rem; text-align: center; color: #222; font-size: .98rem; }
.join-form { max-width: 1080px; margin: 0 auto; }
.join-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem 1.7rem; }
.join-field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.join-field span { color: #4a4a4a; font-size: .95rem; }
.join-field .req { color: #e10613; font-style: normal; margin-inline-end: .15rem; }
.join-field input {
    width: 100%; border: 0; border-bottom: 1.5px solid #4e4e4e;
    background: transparent; padding: .4rem 0; outline: none;
}
.join-low {
    display: grid; direction: ltr; grid-template-columns: 1fr 1fr;
    gap: 1.8rem; margin-top: 1.6rem; align-items: stretch;
}
.join-drop {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .55rem; min-height: 150px; border: 1.5px solid #c5c5c5; border-radius: 16px;
    cursor: pointer; color: #222; direction: rtl; text-align: center; padding: 1rem;
}
.join-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.join-drop svg { width: 46px; height: 36px; }
.join-motive { direction: rtl; min-height: 150px; }
.join-motive input { margin-top: auto; }
.join-submit {
    display: flex; margin: 2.1rem auto 0; padding: .5rem 1.55rem;
    border-radius: 12px; border: 1.6px solid transparent; cursor: pointer;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #1f4f93, #d23a52) border-box;
}
.join-submit span {
    background: linear-gradient(90deg, #2456a8, #d23a52);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: 1rem; font-weight: 500;
}

.footer { background: #bbbbbb; margin-top: 2.4rem; color: #2c2c2c; }
body:has(.contact-page) .footer { margin-top: 0; }
.footer-grid {
    display: grid;
    direction: ltr;
    grid-template-columns: 210px 1.15fr .7fr 1.45fr;
    gap: 1.3rem 1.5rem;
    align-items: start;
    padding: 1.45rem 0 1.15rem;
}
.footer-grid > * { direction: rtl; }
.foot-map img { width: 100%; height: auto; border-radius: 18px; }
.foot-map p {
    display: flex; direction: rtl; align-items: flex-start; gap: .35rem;
    margin: .55rem 0 0; font-size: .74rem; line-height: 1.55;
}
.foot-map p span span { display: block; white-space: nowrap; }
.foot-map svg { width: 16px; height: 16px; flex: none; margin-top: .1rem; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; direction: ltr; }
.foot-brand b { direction: rtl; }
.foot-logo { width: 132px; height: auto; margin: 0 0 .45rem; }
.foot-brand b { display: block; font-size: .95rem; margin-bottom: .4rem; }
.foot-brand ul { margin: 0; padding: 0; }
.foot-brand li {
    list-style: none; display: flex; direction: ltr; width: max-content;
    align-items: center; gap: .35rem; margin: .22rem 0; font-size: .8rem;
}
.foot-brand svg { width: 15px; height: 15px; flex: none; }
.foot-brand a { padding: 0; }
.foot-links { text-align: center; }
.foot-pill {
    display: inline-block; background: #3d3d3d; color: #fff;
    border-radius: 999px; padding: .28rem 1.15rem; font-size: .86rem; margin-bottom: .65rem;
}
.foot-pill.wide { display: block; text-align: center; border-radius: 10px; padding: .38rem 1rem; }
.foot-links a { display: block; padding: .16rem 0; font-size: .88rem; }
.partner-row { display: flex; direction: ltr; align-items: center; gap: .65rem; margin: .7rem 0; }
.partner-row div { flex: 1; direction: rtl; text-align: center; }
.partner-row b, .partner-row span { display: block; font-weight: 500; font-size: .76rem; color: #555; line-height: 1.45; white-space: nowrap; }
.partner-row i { width: 1px; align-self: stretch; background: #8d8d8d; }
.partner-row img { height: 36px; width: auto; }
.foot-certs { display: none; }
.foot-brand li.foot-extra,
.foot-brand li.foot-break { display: none; }
.legal {
    background: #333;
    color: #f2f2f2;
    text-align: center;
    font-size: .82rem;
    padding: .75rem 1rem;
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card .body { padding: 1rem 1rem 1.1rem; }
.card h3 { margin: 0 0 .35rem; }
.poster {
    height: 190px;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 40%),
        linear-gradient(160deg, #2a1248, #8e1d4a 70%);
}
.poster b { font-size: 1.5rem; letter-spacing: .08em; }
.dark-card .poster { height: 210px; }

.searchbar {
    display: flex;
    gap: .5rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: .25rem .35rem .25rem .8rem;
    max-width: 640px;
    margin: 0 auto 1.4rem;
}
.searchbar input { border: 0; }
.searchbar button { border: 0; border-radius: 999px; background: #5a2ea6; color: #fff; padding: .35rem 1rem; font-weight: 700; }
.std-search {
    display: flex; direction: rtl; align-items: center; gap: .45rem;
    width: min(760px, 100%); margin: 0 auto 1.5rem;
    border: 1.5px solid #e7a0b4; border-radius: 999px;
    padding: .28rem .35rem .28rem .7rem; background: #fff;
}
.std-search input {
    border: 0; flex: 1; outline: none; background: transparent; min-width: 0;
    font: inherit; color: #333; text-align: right;
}
.std-search input::placeholder { color: #b5b5b5; }
.std-search select {
    border: 0; color: #fff; border-radius: 999px; flex: none;
    padding: .42rem .95rem .42rem 1.65rem;
    font: inherit; font-size: .92rem; cursor: pointer; appearance: none;
    background: #5c2f88 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2 6 6.2 11 1.2' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat left .65rem center / 11px;
}
.std-search button {
    border: 0; background: transparent; color: #8a8a8a;
    width: 34px; height: 34px; padding: 0; flex: none;
    display: grid; place-items: center; cursor: pointer;
}
.std-search svg { width: 20px; height: 20px; }
.std-books, .std-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.4rem; direction: ltr; }
.std-books article, .std-list article { direction: rtl; }
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.5rem; direction: ltr; }
.lib-card { direction: rtl; color: inherit; text-decoration: none; }
.lib-card img { width: 100%; height: auto; border-radius: 26px; display: block; }
.lib-card h2 {
    margin: 1rem 0 .45rem; font-size: 1.35rem; font-weight: 700; text-align: right;
    background: linear-gradient(90deg, #3c4884, #963454);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lib-card p { margin: 0; font-size: .92rem; line-height: 1.95; color: #5c5c5c; text-align: right; }
.std-books img { width: 100%; height: auto; border-radius: 22px; }
.std-books p, .std-list p { margin: .85rem 0 0; font-size: .8rem; line-height: 1.8; color: #4a4a4a; text-align: center; }
.std-list { margin-top: 2.5rem; gap: 2.2rem 1.5rem; }
.std-list h2 { margin: 0 0 .4rem; font-size: 1.45rem; font-weight: 500; color: #5a5a5a; letter-spacing: .01em; }
.std-list .rule { height: 2px; width: 86%; margin: 0 auto .15rem; background: linear-gradient(90deg, #d42733, #0d539e); }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.15rem; }
.book-card img { width: 100%; height: auto; border-radius: 16px; display: block; }
.book-card h2 { margin: .85rem 0 .35rem; color: #7a3068; font-size: 1.02rem; font-weight: 700; line-height: 1.6; }
.book-card p { margin: 0; color: #6a6a6a; font-size: .78rem; line-height: 1.95; text-align: justify; }
.book-card .book-dl { color: #7a3068; font-weight: 700; }
.book-card a { color: inherit; }
.book-card.hot h2, .book-card.hot .book-dl { color: #aa3049; }
.book-meta { margin-top: .45rem !important; color: #8a8a8a !important; text-align: right; font-size: .78rem !important; }

.product-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: center; }
.art {
    height: 280px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #f7f7f8, #ececef);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
}
.banner-en {
    margin: 1.4rem 0;
    border-radius: 16px;
    min-height: 110px;
    display: grid;
    place-items: center;
    color: #fff;
    letter-spacing: .18em;
    font-weight: 700;
    background:
        linear-gradient(90deg, rgba(20,80,60,.55), rgba(30,90,140,.35)),
        url("/images/hero-city.png") center/cover;
}
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tabs button { background: none; border: 0; padding: .55rem .8rem; color: #666; font-weight: 700; }
.tabs button.on { color: var(--title); border-bottom: 2px solid var(--title); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { border-bottom: 1px solid var(--line); padding: .55rem .3rem; text-align: start; }
.spec th { color: var(--muted); font-weight: 500; width: 34%; }

.steps { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.steps span {
    display: flex; align-items: center; gap: .35rem; color: #888; font-size: .85rem;
}
.steps i {
    width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ccc; display: inline-block;
}
.steps .now { color: var(--title); font-weight: 700; }
.steps .now i { background: var(--red); border-color: var(--red); }
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.choice {
    border: 2px solid #c9d4ee;
    background: #fff;
    border-radius: 16px;
    min-height: 92px;
    font-weight: 700;
    color: #24324a;
}
.choice:nth-child(odd) { border-color: #efc0cc; }
.choice:hover, .choice.on { border-color: var(--title); color: var(--title); background: #fdf8fb; }
.wizard { display: none; }
.wizard.on { display: block; }
.arr-title {
    width: max-content; margin: 0 auto .4rem;
    font-weight: 500; font-size: clamp(1.55rem, 3vw, 2.15rem);
    background: linear-gradient(90deg, #5c5a8c, #b15a78);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.arr-done .page-lead, body.arr-done .steps, body.arr-done #wizNav { display: none; }
.arr-table { width: min(680px, 100%); margin: 1.2rem auto 1.8rem; border-collapse: collapse; direction: ltr; }
.arr-table th, .arr-table td { border: 1px solid #d5d5d5; padding: .75rem .85rem; text-align: center; direction: rtl; vertical-align: middle; }
.arr-table th { font-weight: 700; color: #222; }
.arr-table td { color: #333; font-size: .92rem; line-height: 1.8; }
.arr-sec { margin: 1.5rem 0 .2rem; text-align: right; font-size: 1.05rem; font-weight: 700; color: #1c1c1c; }
.spd {
    direction: ltr;
    display: grid;
    grid-template-columns: 150px 168px minmax(0, 1fr);
    grid-template-areas: "name . copy" "photo spec copy";
    column-gap: .85rem; row-gap: .25rem;
    align-items: center;
    margin: .85rem 0 1.15rem;
}
.spd > b { grid-area: name; font-size: .98rem; color: #111; }
.spd img { grid-area: photo; width: 118px; height: auto; }
.spd-spec { grid-area: spec; margin: 0; padding: 0; list-style: none; direction: ltr; font-size: .78rem; line-height: 1.55; color: #222; }
.spd-copy { grid-area: copy; margin: 0; direction: rtl; text-align: right; font-size: .78rem; line-height: 1.9; color: #333; }
.spd-copy b { display: block; grid-area: auto; font-size: .8rem; margin-bottom: .15rem; color: #222; }
.spd-copy span { color: #d42733; }
.arr-actions { direction: ltr; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 820px; margin: 1.8rem auto 0; }
.arr-act { text-align: center; }
.arr-act p { display: flex; align-items: flex-start; justify-content: center; gap: .45rem; margin: 0 0 .55rem; color: #666; font-size: .75rem; line-height: 1.7; direction: rtl; }
.arr-act svg { width: 28px; height: 28px; flex: none; color: #c23a52; }
.arr-act button, .arr-restart {
    border: 0; color: #fff; font-weight: 700; cursor: pointer;
    background: linear-gradient(90deg, #45467f, #9f324f);
}
.arr-act button { width: min(280px, 100%); min-height: 48px; border-radius: 12px; font-size: 1.02rem; }
.arr-restart { display: block; margin: 1.05rem auto 0; border-radius: 10px; padding: .5rem 1.15rem; font-size: .95rem; }
.album-list h1 {
    margin: 0;
    padding: 2rem 0 1.7rem;
    text-align: center;
    color: #8d4a86;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 500;
}
.album-row { display: flex; direction: ltr; align-items: center; gap: .35rem; }
.album-arrow {
    border: 0; background: none; width: 42px; height: 72px; padding: 0;
    display: grid; place-items: center; cursor: pointer; flex: none; color: #8d4a86;
}
.album-arrow svg { width: 26px; height: 40px; display: block; }
.album-rail {
    display: flex; direction: ltr; gap: 1.35rem; flex: 1;
    overflow: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.album-rail::-webkit-scrollbar { display: none; }
.album-card { flex: 1 1 0; min-width: 220px; color: inherit; }
.album-card img { width: 100%; height: auto; display: block; border-radius: 16px; }
.album-meta {
    display: flex; direction: rtl; align-items: center; justify-content: space-between;
    gap: .7rem; margin-top: .65rem;
}
.album-cap { text-align: right; color: #2a2a2a; font-size: .84rem; line-height: 1.45; font-weight: 500; }
.album-cap b { display: block; font-weight: 500; }
.album-go {
    flex: none; color: #fff; font-size: .78rem; font-weight: 500;
    padding: .32rem .75rem; border-radius: 8px;
    background: linear-gradient(90deg, #5c467c 0%, #c4334c 100%);
}
.album-title {
    width: max-content; margin: 0 auto;
    font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.25rem);
    background: linear-gradient(90deg, #3a4c7e, #8a4056);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.album-sub { margin: .45rem 0 0; text-align: center; color: #222; font-size: 1.05rem; }
.album-grid { direction: ltr; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem 1.15rem; }
.album-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 1100px) {
    .page-head:has(.album-title) { padding: 2.2rem 0 .15rem; }
    .album-title {
        background: none;
        color: #844268;
        -webkit-text-fill-color: #844268;
        font-size: 1.7rem;
        font-weight: 600;
    }
    .album-sub { margin-top: .85rem; font-size: .95rem; font-weight: 500; }
    .album-grid { grid-template-columns: 1fr; gap: 1.05rem; margin-top: 1.35rem; }
    .album-grid img { aspect-ratio: auto; height: auto; object-fit: unset; border-radius: 20px; }
}
@media (max-width: 1100px) {
    .spd { grid-template-areas: "name" "photo" "spec" "copy"; }
}

.profile-banner {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(820px 240px at 12% 45%, rgba(64, 36, 140, .4), transparent 70%),
        radial-gradient(680px 260px at 78% 18%, rgba(196, 36, 64, .5), transparent 68%),
        linear-gradient(102deg, #1a1644 0%, #3a184f 32%, #7a1d46 66%, #9a243c 100%);
}
.bolts {
    position: absolute; inset: 0; width: 100%; height: 100%;
    stroke: #ff6d86; stroke-width: 1.4; fill: none; opacity: .55;
    pointer-events: none;
}
.profile-banner-in {
    position: relative; z-index: 1;
    min-height: 228px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "id out" "id nav";
    align-items: center;
    column-gap: 1rem;
    padding: 1.15rem 0 1.15rem;
}
.profile-id { grid-area: id; display: flex; align-items: center; gap: 1.05rem; }
.profile-id img {
    width: 118px; height: 118px; border-radius: 16px; background: #fff; object-fit: cover;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.profile-id h1 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; }
.profile-id p { margin: .35rem 0 0; font-size: 1.02rem; }
.logout {
    grid-area: out; justify-self: end; align-self: start; margin-top: .25rem;
    background: none; border: 0; color: #fff; cursor: pointer;
    display: flex; align-items: center; gap: .35rem; font: inherit; font-size: .95rem;
}
.profile-nav {
    grid-area: nav; justify-self: end; align-self: end;
    display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: .1rem;
}
.profile-nav button, .profile-nav a {
    border: 1.5px solid rgba(255,255,255,.9);
    background: transparent; color: #fff;
    border-radius: 999px; padding: .32rem .9rem;
    font: inherit; font-size: .86rem; font-weight: 500;
}
.profile-nav .on { background: #fff; color: #2c2c2c; border-color: #fff; }
.profile-body { padding: 2.6rem 0 3.2rem; }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.15rem 1.7rem; }
.profile-grid label { display: grid; gap: .7rem; color: #3a3a3a; font-size: .92rem; }
.profile-grid i { color: #e0232c; font-style: normal; margin-inline-end: .12rem; }
.profile-grid input {
    width: 100%; border: 0; border-bottom: 1px solid #c5c5c5; border-radius: 0;
    background: transparent; padding: .4rem 0 .35rem; font: inherit; outline: none;
}
.profile-grid .wide { grid-column: 1 / -1; }
.profile-save {
    display: block; width: max-content; margin-top: 2.5rem; margin-inline-start: auto;
    border: 0; color: #fff; cursor: pointer; font: inherit; font-weight: 700;
    border-radius: 10px; padding: .55rem 1.15rem;
    background: linear-gradient(90deg, #653f6e, #d42733);
}
.profile-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.profile-list a { font-weight: 700; }
.orders { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; align-items: start; }
.order-side, .order-row {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
}
.order-row { display: grid; grid-template-columns: 92px 1fr 180px; gap: .8rem; margin-bottom: .7rem; align-items: center; }
.qty { display: flex; align-items: center; gap: .4rem; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #ccc; background: #fff; }

.invoice {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.2rem;
}
.invoice-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.invoice-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.box { border: 1.5px solid #d9a3c4; border-radius: 12px; padding: .8rem; }
.invoice-line {
    display: grid;
    grid-template-columns: 74px 1.4fr .8fr 90px;
    gap: .7rem;
    align-items: center;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
}
.qr {
    width: 74px; height: 74px;
    background:
        repeating-linear-gradient(90deg, #111 0 4px, #fff 4px 8px),
        repeating-linear-gradient(#111 0 4px, #fff 4px 8px);
    background-blend-mode: difference;
}
.invoice-foot {
    display: grid; grid-template-columns: 1fr 1fr; margin-top: .6rem;
}
.invoice-foot div { padding: .7rem; color: #fff; }
.invoice-foot div:first-child { background: var(--blue); }
.invoice-foot div:last-child { background: var(--red); }

.olist-m { display: block; }
.olist-m .profile-banner-in {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "id out" "nav nav";
    min-height: 0; padding: 1.15rem 0 .85rem; align-items: center;
}
.olist-m .logout { justify-self: end; align-self: center; margin-top: 0; }
.olist-m .profile-nav {
    direction: ltr; justify-self: stretch; justify-content: space-between;
    width: 100%; flex-wrap: nowrap; gap: .7rem; margin: .85rem 0 .15rem;
}
.otable-head, .otable-row {
    display: grid; direction: rtl;
    grid-template-columns: 72px minmax(0, 1fr) 140px 88px 110px 72px;
    align-items: center; gap: .35rem;
    padding: .85rem .15rem; border-bottom: 1px solid #e5e5e5;
    color: #3a3a3a; font-size: .95rem; text-align: center;
}
.otable-head { color: #6a6a6a; font-size: .86rem; font-weight: 500; }
.otable-head span:nth-child(5) { line-height: 1.3; }
.otable-row a, .otable-row button {
    width: 28px; height: 28px; margin-inline: auto; border: 0; background: none;
    color: #4a4a4a; display: grid; place-items: center; padding: 0; cursor: pointer;
}
.otable-row svg { width: 20px; height: 20px; }
.omore {
    display: block; margin: 1.5rem auto .4rem; border: 0; background: none;
    font: inherit; color: #2a2a2a; cursor: pointer;
}
.olist { display: none; padding: 1.6rem 0 1rem; }
.olist.sheet-view { display: block; }
.olist > h1 {
    margin: 0 0 1.1rem; text-align: right; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: #8a3470;
}
.olist-grid { display: grid; direction: ltr; grid-template-columns: minmax(0, 1fr) 250px; gap: 1rem; align-items: start; justify-items: stretch; }
.order-doc { direction: rtl; background: #fff; width: 100%; min-width: 0; }
.sheet-bar { display: block; width: 100%; height: 28px; }
.sheet-head { display: flex; direction: ltr; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .2rem .45rem; }
.sheet-dates { display: grid; gap: .28rem; min-width: 180px; }
.sheet-dates div { display: flex; direction: rtl; align-items: baseline; gap: .45rem; color: #333; font-size: .86rem; }
.sheet-dates i { flex: 1; border-bottom: 1px dotted #9a9a9a; min-width: 90px; }
.sheet-brand { display: flex; direction: ltr; align-items: center; gap: .7rem; }
.sheet-brand b { display: block; font-size: 1.02rem; }
.sheet-brand small { color: #555; }
.sheet-brand img { height: 58px; width: auto; }
.order-doc h2 { margin: .35rem 0 .8rem; text-align: center; color: #8a3470; font-size: 1.15rem; font-weight: 700; }
.sheet-head + h2 { border-top: 1.5px solid #e23b4c; padding-top: .7rem; }
.sheet-meta {
    display: grid; grid-template-columns: 64px 1.15fr 1fr; gap: .6rem 1rem; align-items: center;
    border: 1.6px solid transparent; border-radius: 16px; padding: .75rem .9rem; margin-bottom: 1.1rem;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #6a3a9a, #e23b4c) border-box;
}
.sheet-meta img { width: 58px; height: 58px; object-fit: contain; }
.sheet-meta p { margin: 0; font-size: .84rem; line-height: 1.7; }
.sheet-meta b { font-weight: 700; }
.ol {
    display: grid; grid-template-columns: 52px 96px minmax(0, 1fr) 74px;
    gap: .7rem; align-items: center; padding: .85rem 0; border-bottom: 1.5px solid #222;
}
.ol-price { font-weight: 700; font-size: 1.05rem; text-align: center; }
.ol-shot { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; border: 1.6px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #6a3a9a, #e23b4c) border-box; padding: 4px; }
.ol-line { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; font-size: .86rem; }
.ol-line > span:first-child { white-space: nowrap; }
.ol-name { text-align: center; font-weight: 700; }
.ol-name small, .ol-qty small { display: block; font-weight: 500; }
.ol-qty { text-align: center; }
.ol-qty b { font-size: 1.15rem; }
.ol-main p { margin: .35rem 0 0; font-size: .75rem; line-height: 1.7; color: #333; text-align: center; }
.ol-qr { width: 74px; height: 74px; }
.sheet-address { display: grid; direction: ltr; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; margin-top: .9rem; font-size: .8rem; }
.sheet-address > div:last-child { direction: rtl; }
.sheet-address p { margin: 0 0 .2rem; display: flex; align-items: center; gap: .35rem; }
.sheet-address svg { width: 16px; height: 16px; flex: none; }
.sheet-bars { display: grid; direction: ltr; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .55rem; }
.sheet-bars div { background: #0d55a1; color: #fff; text-align: center; padding: .38rem .4rem; font-size: .86rem; }
.order-actions {
    direction: rtl; border: 1.5px solid #cfcfcf; border-radius: 18px; padding: 1.15rem .9rem 1.3rem;
    display: grid; gap: 1.15rem;
}
.order-actions p { margin: 0 0 .55rem; color: #666; font-size: .78rem; line-height: 1.7; display: flex; align-items: flex-start; gap: .4rem; }
.order-actions svg { width: 26px; height: 26px; flex: none; }
.order-actions button, .order-actions a {
    display: block; width: 100%; text-align: center; color: #fff; font-weight: 700; font-size: .98rem;
    border: 0; border-radius: 10px; padding: .55rem .6rem; cursor: pointer;
    background: linear-gradient(90deg, #5c3d78, #d42733);
}
.pager { display: flex; direction: ltr; justify-content: center; align-items: center; gap: .45rem; margin: 1.7rem 0 .2rem; }
.pager a, .pager span.num, .pager span.arrow {
    min-width: 36px; height: 36px; padding: 0 .4rem; display: grid; place-items: center;
    border: 1px solid #e3e3e3; border-radius: 8px; background: #fff; color: #4a4a4a; font-size: .95rem;
}
.pager a.num.on, .pager span.num.on { border: 1.5px solid #8a3470; color: #8a3470; font-weight: 700; }
.pager span.gap { min-width: 22px; color: #888; letter-spacing: .08em; }
.pager svg { width: 16px; height: 16px; }
.pager .off { opacity: .4; }
.ordedit { padding: 1.4rem 0 1.2rem; }
.ordedit > h1 { margin: 0 0 1.3rem; text-align: center; color: #8a3470; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; }
.ordedit-grid { display: grid; direction: ltr; grid-template-columns: 300px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.ordedit-side { direction: rtl; border: 1.5px solid #d5d5d5; border-radius: 18px; padding: 1.15rem 1rem 1.2rem; }
.edate { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; font-size: .95rem; }
.ordedit-side label { display: grid; gap: .4rem; margin-bottom: 1rem; }
.ordedit-side label span { display: flex; align-items: flex-start; gap: .4rem; color: #444; font-size: .82rem; line-height: 1.6; }
.ordedit-side svg { width: 22px; height: 22px; flex: none; }
.ordedit-side input, .ordedit-side textarea, .erow textarea, .eqty input {
    width: 100%; border: 1.5px solid transparent; border-radius: 10px; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #5b3d92, #e23b4c) border-box; outline: none; padding: .45rem .6rem;
}
.ordedit-side textarea { min-height: 110px; resize: vertical; }
.edone { display: flex; align-items: flex-start; gap: .4rem; margin: .2rem 0 .7rem; color: #555; font-size: .78rem; line-height: 1.7; }
.ordedit-side > button {
    width: 100%; border: 0; color: #fff; font-weight: 700; border-radius: 10px; padding: .6rem .5rem; cursor: pointer;
    background: linear-gradient(90deg, #5c3d78, #d42733);
}
.erow {
    direction: rtl; display: grid; grid-template-columns: 34px 96px 168px minmax(0, 1fr);
    gap: .7rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #d8d8d8;
}
.enum {
    width: 28px; height: 28px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
    background: linear-gradient(135deg, #6a3a9a, #e23b4c); justify-self: center;
}
.erow > img { width: 92px; height: 92px; object-fit: contain; }
.erow-buy { display: grid; justify-items: center; text-align: center; gap: .15rem; }
.erow-buy b { font-size: .95rem; }
.erow-buy small { color: #444; }
.eqty { display: grid; grid-template-columns: auto 72px; gap: .35rem .4rem; align-items: center; justify-content: center; margin-top: .25rem; }
.eqty-kind { display: grid; font-size: .72rem; line-height: 1.25; color: #333; }
.eqty input { text-align: center; min-height: 34px; padding: .2rem; }
.eqty div { grid-column: 1 / -1; display: flex; direction: ltr; justify-content: center; gap: .3rem; }
.eqty button {
    width: 26px; height: 24px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #333; padding: 0; display: grid; place-items: center;
}
.eqty svg { width: 14px; height: 14px; }
.erow textarea { min-height: 92px; resize: vertical; font-size: .8rem; }
.erow-hint { display: none; }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: .7rem; text-align: start; vertical-align: top; }
.compare th { background: #faf7fb; }

.modal, .drawer-bg, .toast {
    position: fixed; inset: 0; z-index: 60;
}
.modal, .drawer-bg { background: rgba(16,10,24,.46); display: none; }
.modal.on, .drawer-bg.on { display: grid; place-items: center; }
.sheet {
    width: min(460px, calc(100% - 28px));
    background: #fff;
    border-radius: 20px;
    padding: 1.1rem 1.1rem 1.2rem;
}
.sheet h3 { margin: 0 0 .7rem; color: var(--title); }
.login-card { padding: 0; overflow: hidden; width: min(380px, calc(100% - 32px)); }
.login-head { position: relative; color: #fff; }
.login-head svg { display: block; width: 100%; height: 132px; }
.login-head h3 {
    position: absolute; inset: 0; margin: 0; display: grid; place-items: start center;
    padding-top: 1.15rem; color: #fff; font-size: 1.02rem; font-weight: 600;
}
.login-field { display: block; position: relative; margin: 1.25rem 1.15rem 0; border-bottom: 1px solid #c8c8c8; }
.login-field input {
    width: 100%; border: 0; background: transparent; font: inherit; text-align: center;
    color: #444; padding: .45rem 1.4rem .5rem; outline: none;
}
.login-field input::placeholder { color: #9a9a9a; }
.login-eye {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border: 0; background: none; color: #8a8a8a;
    display: grid; place-items: center; cursor: pointer; padding: 0;
}
.login-eye svg { width: 18px; height: 18px; }
.login-go {
    display: block; margin: 1.35rem auto .55rem; border: 0; cursor: pointer;
    color: #fff; font: inherit; font-weight: 700; border-radius: 10px;
    padding: .48rem 1.7rem; background: linear-gradient(90deg, #35498a 0%, #6a3c78 52%, #983454 100%);
}
.login-forgot {
    display: block; margin: 0 auto .95rem; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: .75rem; color: #8a8a8a;
}
.login-join, .login-back {
    display: flex; align-items: center; gap: .7rem; justify-content: center;
    width: 100%; border: 0; cursor: pointer; font: inherit;
    color: #fff; text-decoration: none; padding: .85rem 1rem;
    background: linear-gradient(90deg, #d23a52 0%, #7a3a84 50%, #2f5eae 100%);
}
.login-join i, .login-back i { flex: 1; height: 1px; background: rgba(255,255,255,.9); }
.login-head .reg-title, .reg-pane, .login-back { display: none; }
.login-card.register .login-pane,
.login-card.register .login-head .login-title,
.login-card.register .login-join { display: none; }
.login-card.register .reg-pane { display: block; }
.login-card.register .login-head .reg-title { display: grid; }
.login-card.register .login-back { display: flex; }
.reg-pane .login-field { margin-top: .85rem; }
.reg-pane .login-go { margin-top: 1rem; margin-bottom: .85rem; }
.lang-pop {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: 230px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: .7rem .8rem;
    display: none;
    z-index: 50;
}
.lang-pop.on { display: block; }
.toast {
    inset: auto 16px 16px auto;
    background: #24182e;
    color: #fff;
    border-radius: 12px;
    padding: .7rem .9rem;
    width: min(320px, calc(100% - 32px));
    display: none;
}
.toast.on { display: block; }
.to-top {
    position: fixed;
    inset-inline-start: 16px;
    bottom: 16px;
    width: 42px; height: 42px;
    border: 0; border-radius: 50%;
    background: #fff; color: var(--title);
    box-shadow: var(--shadow);
    display: none;
}
.to-top.on { display: grid; place-items: center; }

.rail {
    position: fixed;
    inset-inline-end: 0;
    top: 40%;
    z-index: 30;
    background: var(--title);
    color: #fff;
    border-radius: 12px 0 0 12px;
    writing-mode: vertical-rl;
    padding: .7rem .35rem;
    font-size: .82rem;
}

.org { width: min(920px, 100%); margin: 1rem auto; background: #0e0e10; border-radius: 18px; }
.video {
    background: #111 center/cover;
    min-height: 240px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
}
.video button {
    width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 1.2rem;
}
.accordion details { border-bottom: 1px solid var(--line); padding: .6rem 0; }
.accordion summary { cursor: pointer; font-weight: 700; color: var(--title); }

.contact-page { background: #e4e6e5; }
.contact-mid {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 3.6rem 0 3.4rem;
    text-align: center;
}
.contact-mid h1 {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 500;
}
.c-num {
    direction: ltr;
    display: flex;
    justify-content: center;
    gap: clamp(1.4rem, 3.2vw, 2.6rem);
    margin: 2.5rem 0 0;
    color: #2c2c2c;
    font-weight: 500;
    font-size: clamp(2.6rem, 5.5vw, 4.35rem);
    line-height: 1;
    white-space: nowrap;
}
.c-num span { letter-spacing: 0; }
.c-send { margin-top: 1.15rem; font-weight: 500; }
.c-ok { margin: .9rem 0 0; color: #2f6a3a; }
.c-depts {
    direction: ltr;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.3rem 2.7rem;
    list-style: none;
    margin: 2.8rem 0 0;
    padding: 0;
}
.c-depts li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    min-width: 4.4rem;
    color: #161616;
    font-weight: 700;
}
.c-depts i {
    font-style: normal;
    width: 30px;
    height: 30px;
    border: 1.6px solid #222;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 500;
    font-size: .92rem;
}
.c-wood {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 122px;
    padding: 1rem 3.4rem;
    overflow: hidden;
    background: #c9a57c url("/images/wood.png") center / cover no-repeat;
}
.c-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 1.05rem 1.2rem; }
.c-icons button {
    border: 0; background: none; padding: 0; color: #141414; cursor: pointer;
    display: grid; place-items: center; font: inherit;
}
.c-icons svg { width: 28px; height: 28px; }
.c-icons button.on { color: #fff; }
.c-panel { display: none; }
.c-panel.on { display: block; }
.c-handle, .c-brand {
    margin: 2.4rem 0 .15rem; color: #3a3a3a; font-weight: 500;
    font-size: clamp(1.45rem, 4.2vw, 2.05rem); line-height: 1.35;
}
.c-brand span { display: block; font-size: .78em; }
.c-addr { max-width: 340px; margin: 2.2rem auto .2rem; line-height: 2; font-size: 1.05rem; color: #2a2a2a; }
.c-maps { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1rem; }
.c-maps a, .c-send {
    display: inline-flex; padding: .32rem .85rem .38rem;
    border: 1.5px solid #2e2e2e; border-radius: 10px; background: #fff; color: #222; font-size: .9rem;
}
.c-pair { display: grid; justify-items: center; gap: 1.35rem; margin-top: 2rem; }
.c-pair b { display: block; font-size: clamp(1.35rem, 4vw, 1.85rem); font-weight: 500; letter-spacing: .08em; color: #2a2a2a; }
.c-pair .c-send { margin-top: .55rem; }
.c-postal { margin: 2.6rem 0 0; font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 500; letter-spacing: .22em; color: #2a2a2a; }
.c-share { display: none; border: 0; background: none; color: #222; width: 36px; height: 36px; margin: 0 auto .35rem; padding: 0; cursor: pointer; }
.c-share svg { width: 22px; height: 22px; }
.c-land {
    color: #fff;
    font-size: clamp(1.55rem, 2.7vw, 2.2rem);
    font-weight: 500;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .contact-page { min-height: calc(100vh - var(--header)); display: flex; flex-direction: column; }
    .contact-mid { flex: 1; display: flex; flex-direction: column; padding: 1.6rem 0 1rem; }
    .contact-mid h1 { font-size: 1.35rem; font-weight: 600; }
    .c-panel.on { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .c-depts { gap: .7rem 1.1rem; margin-top: 1.6rem; }
    .c-share { display: grid; place-items: center; }
    .c-wood { flex-direction: column; align-items: center; gap: .55rem; padding: .85rem .55rem .7rem; min-height: 0; }
    .c-icons { display: grid; grid-template-columns: repeat(7, 1fr); width: 100%; gap: .7rem .15rem; justify-items: center; }
    .c-icons svg { width: 26px; height: 26px; }
    .c-land { align-self: center; font-size: 1.15rem; font-weight: 500; margin-top: .15rem; }
    .c-maps { flex-wrap: nowrap; gap: .28rem; }
    .c-maps a { font-size: .72rem; padding: .28rem .42rem .32rem; white-space: nowrap; }
}

@media (max-width: 1100px) {
    .burger { display: grid; }
    .site-header { z-index: 80; }
    .header-row { direction: ltr; justify-content: flex-start; }
    .logo { margin-right: auto; margin-left: 0; }
    .nav {
        position: fixed;
        top: 172px;
        right: 0;
        left: auto;
        bottom: auto;
        width: 58%;
        direction: rtl;
        max-height: calc(100dvh - 186px);
        background: #fff;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        overflow: auto;
        z-index: 70;
        border-radius: 20px 0 0 20px;
        box-shadow: -8px 14px 36px rgba(40, 16, 48, .16);
    }
    .nav.on { display: flex; }
    .nav.on .mnav-head { display: block; position: relative; flex: none; }
    .mnav-art { display: block; width: 100%; height: auto; }
    .mnav-close { display: none; }
    .nav.on .mnav-links {
        display: flex; flex-direction: column; justify-content: flex-start;
        flex: none; gap: .12rem; padding: .7rem 0 .55rem; overflow: visible;
    }
    .nav.on .mnav-links > a, .nav.on .nav-drop > .trigger {
        display: block; width: 100%; text-align: start; border-radius: 0;
        background: none; color: #1a1a1a; font-size: .98rem; font-weight: 500;
        padding-block: .2rem; padding-inline: .95rem 1.15rem;
    }
    .nav.on .mnav-links > .nav-drop:first-child > .trigger {
        background: linear-gradient(90deg, #e44558 0%, #8a3a78 46%, #2a62c0 100%);
        -webkit-background-clip: text; background-clip: text;
        color: transparent; -webkit-text-fill-color: transparent;
    }
    .nav.on .mnav-links > a:hover, .nav.on .nav-drop > .trigger:hover,
    .nav.on .mnav-links > a:focus-visible, .nav.on .nav-drop > .trigger:focus-visible {
        background: none; color: #1a5cad; -webkit-text-fill-color: #1a5cad;
    }
    .tools .icon-btn { position: relative; }
    .tools .icon-btn em { display: none; }
    .tools .icon-btn:hover, .tools .icon-btn:focus-visible, .tools .icon-btn:active { background: transparent; color: #1a5cad; }
    #loginModal.on { display: block; background: transparent; }
    #loginModal .login-card {
        position: absolute; top: 168px; left: 0; right: auto;
        width: 56%; border-radius: 0 22px 22px 0;
        box-shadow: 12px 18px 40px rgba(20, 10, 40, .22);
    }
    .tools .icon-btn:hover em, .tools .icon-btn:focus-visible em, .tools .icon-btn:active em {
        display: block; position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%);
        font-style: normal; font-size: .78rem; font-weight: 700; white-space: nowrap; line-height: 1;
        background: linear-gradient(90deg, #e23b4c 0%, #8a3a78 52%, #1a5cad 100%);
        -webkit-background-clip: text; background-clip: text;
        color: transparent; -webkit-text-fill-color: transparent;
        pointer-events: none; z-index: 3;
    }
    .nav.on .mnav-foot {
        display: block; flex: none; color: #fff;
        padding: .72rem .95rem .65rem;
        background: linear-gradient(90deg, #d23a52 0%, #7a3a84 46%, #2f5eae 100%);
    }
    .mnav-contact { direction: ltr; text-align: left; display: flex; flex-direction: column; gap: .12rem; }
    .mnav-contact a { color: #fff; font-size: .84rem; line-height: 1.45; letter-spacing: .01em; }
    .mnav-social { direction: ltr; display: flex; gap: .65rem; margin-top: .7rem; }
    .mnav-social a {
        width: 30px; height: 30px; border: 1.6px solid #fff; border-radius: 7px;
        color: #fff; display: grid; place-items: center;
    }
    .mnav-social svg { width: 16px; height: 16px; }
    .mega, .drop { position: static; width: auto; box-shadow: none; border: 0; padding: 0 .6rem .4rem 0; }
    .mega::before, .drop::before { display: none; }
    .nav-drop.open .mega, .nav-drop.open .drop { display: grid; }
    .nav-drop:hover .mega, .nav-drop:hover .drop { display: none; }
    .nav-drop.open:hover .mega, .nav-drop.open:hover .drop { display: grid; }
    .certs, .split, .help, .footer-grid, .product-hero, .orders, .card-grid, .choice-grid, .std-books, .std-list, .lib-grid, .book-grid, .profile-grid, .join-row, .join-low, .olist-grid, .sheet-meta, .ol, .sheet-address, .sheet-bars, .ordedit-grid, .erow, .spd, .arr-actions { grid-template-columns: 1fr; }
    .profile-banner-in { grid-template-columns: 1fr; grid-template-areas: "id" "nav" "out"; min-height: 0; }
    .profile-nav, .logout { justify-self: start; }
    .profile-id img { width: 84px; height: 84px; }
    .cert-member { border-inline-end: 0; border-bottom: 1px solid #e6e6e6; padding-bottom: 1.4rem; margin-bottom: 1.4rem; }
    .logo-row { flex-wrap: nowrap; gap: .3rem; }
    .logo-row img { width: 68px; height: 68px; }
    .industry-row {
        flex-wrap: nowrap; justify-content: flex-start; gap: .15rem;
        overflow: auto; scrollbar-width: none; padding-bottom: .3rem;
    }
    .industry-row::-webkit-scrollbar { display: none; }
    .industry-row figure { flex: none; width: 96px; align-items: center; display: flex; flex-direction: column; }
    .industry-row figcaption { display: block; margin-top: .35rem; color: #5c5c5c; font-size: .68rem; line-height: 1.35; text-align: center; }
    .industry-row img { height: 62px; max-width: 84px; }
    .industry-row figure:nth-child(odd) img { filter: grayscale(1) sepia(1) hue-rotate(230deg) saturate(6); }
    .industry-row figure:nth-child(even) img { filter: grayscale(1) sepia(1) hue-rotate(320deg) saturate(7); }
    .home-arc { padding: 0; }
    .home-arc .wrap { width: 100%; }
    .arc { border-radius: 0; padding: 0; background: transparent; }
    .arc-photos {
        display: flex; grid-template-columns: none; overflow: auto; gap: .65rem;
        padding: .8rem .7rem; scrollbar-width: none;
        background: linear-gradient(90deg, #4c3d96 0%, #8a3470 52%, #e23b4c 100%);
    }
    .arc-photos::-webkit-scrollbar { display: none; }
    .arc-photos figure { flex: 0 0 58%; }
    .arc-photos img { height: 148px; }
    .arc p {
        margin: 0; padding: .95rem 1.1rem; font-size: .95rem; line-height: 1.75;
        background: linear-gradient(90deg, #314eae 0%, #6a3a84 58%, #8d3a6a 100%);
    }
    .order-row, .invoice-line, .invoice-meta, .map-card, .invoice-foot { grid-template-columns: 1fr; }
    .home-article {
        display: block; min-height: 0; padding: 0 0 1.3rem; color: #242424;
        background: #fff;
    }
    .home-article::before {
        content: ""; display: block; height: 220px;
        background: url("/images/lightning-tree.jpg") center 42% / cover no-repeat;
    }
    .home-article-copy { width: auto; margin: 0; padding: 1.15rem 1.15rem 0; text-align: right; }
    .home-article h2, .home-article h3, .home-article-copy > p, .home-article-q { color: #3a3a3a; }
    .home-article h2 { font-size: 1.35rem; font-weight: 700; }
    .home-article h3 { font-size: 1rem; font-weight: 700; }
    .home-article-more { border-color: #d0d0d0; color: #333; background: #fff; }
    .hero-slide { min-height: 0; }
    .hero-arrow, .hero-dots { display: none; }
    .hero-slide img { width: 100%; height: 64vh; min-height: 460px; max-height: none; object-fit: cover; }
    .m-hero-copy {
        display: grid; position: absolute; inset: 0; place-items: center;
        text-align: center; color: #fff; padding: 1.4rem 4.2rem 2rem;
        text-shadow: 0 2px 16px rgba(20, 8, 30, .45);
    }
    .m-hero-copy h1 { margin: 0 0 .55rem; font-size: 1.55rem; font-weight: 800; color: #fff; }
    .m-hero-copy p { margin: 0; font-size: .92rem; line-height: 1.9; font-weight: 500; }
    .hero-jump {
        position: absolute; right: 0; top: 54%; z-index: 3;
        padding: .65rem .35rem .65rem .5rem;
    }
    .hero-jump a { width: 34px; height: 34px; }
    .hero-jump svg { width: 18px; height: 18px; }
    .page-head, .certs h2, .industry-row { text-align: center; }
    .header-row { gap: .35rem; }
    .rail { display: none; }
    .tools .hide-sm { display: none; }
    .footer-grid {
        direction: ltr;
        grid-template-columns: .72fr 1.4fr;
        grid-template-areas: "links partners" "brand brand" "map map";
        gap: .85rem .9rem;
        padding: 1.15rem 0 .35rem;
    }
    .foot-links { grid-area: links; }
    .foot-partners { grid-area: partners; }
    .footer-grid > .foot-brand {
        grid-area: brand;
        display: grid;
        direction: ltr;
        grid-template-columns: 74px 1fr;
        grid-template-areas: "logo contacts" "name contacts";
        align-items: center;
        column-gap: .4rem;
        row-gap: .1rem;
    }
    .foot-logo { grid-area: logo; width: 70px; margin: 0; justify-self: center; }
    .foot-brand b { grid-area: name; margin: 0; text-align: center; font-size: .74rem; }
    .foot-brand ul { grid-area: contacts; display: flex; flex-wrap: wrap; gap: .22rem .5rem; align-items: center; min-width: 0; }
    .foot-brand li { margin: 0; font-size: .72rem; white-space: nowrap; max-width: 100%; gap: .22rem; }
    .foot-brand li.foot-break { display: block; flex-basis: 100%; width: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
    .foot-brand li.foot-extra { display: flex; }
    .foot-map { grid-area: map; }
    .foot-map img { border-radius: 14px; }
    .foot-map p { justify-content: center; font-size: .72rem; width: 100%; }
    .foot-map p > span { flex: none; max-width: calc(100% - 24px); }
    .foot-map p span span { display: inline; white-space: nowrap; }
    .foot-map p span span + span::before { content: " "; }
    .partner-row { flex-wrap: nowrap; gap: .35rem; margin: .4rem 0; align-items: center; }
    .partner-row div { min-width: 0; }
    .partner-row b, .partner-row span { font-size: .66rem; white-space: normal; line-height: 1.35; }
    .partner-row img { height: 24px; max-width: 42%; object-fit: contain; flex: none; }
    .foot-pill { font-size: .78rem; }
    .foot-certs { display: flex; direction: ltr; justify-content: center; align-items: center; gap: .85rem; padding: .35rem 0 .95rem; }
    .foot-certs img { height: 52px; width: auto; }
    .help-fields { grid-template-columns: 1fr; }
    .help { border-radius: 24px; }
    .client-rail figure, .client-rail img { width: 92px; }
    .client-rail img { height: 92px; border-radius: 16px; border: 1px solid #ececec; background: #fff; }
    .client-arrow { display: none; }
    .client-rail { justify-content: flex-start; gap: .75rem; }
    .header-row { direction: ltr; }
    .tools { direction: ltr; }
    .only-sm { display: grid; }
    .tools a[aria-label="تماس"] { display: grid; }
    .tools a[aria-label="سبد خرید"] { order: 1; }
    .tools button[aria-label="ورود"] { order: 2; }
    .tools a[aria-label="تماس"] { order: 3; }
    .tools > div { order: 4; }
    .tools a[aria-label="جستجو"] { order: 5; }
    .logo img { height: 44px; }
    .burger svg { width: 28px; height: 28px; }
    .certs { display: flex; flex-direction: column; gap: .4rem; }
    .cert-lab { order: -1; }
    .cert-member { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
    .home-certs {
        position: relative; z-index: 2; margin-top: -52px;
        padding: 2.1rem 0 .6rem; background: #fff; border-radius: 36px 36px 0 0;
    }
    .scope-tab, .scope-panel { left: 0; right: auto; top: 78px; }
    .scope-tab { border-radius: 0 16px 16px 0; }
    .help { background: linear-gradient(90deg, #c43a6c 0%, #e23b4c 100%); }
}

body.bare .rail, body.bare .to-top { display: none; }
body:has(.pdp) .rail { display: none; }
.soon {
    min-height: calc(100vh - var(--header));
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 4.5rem 1rem 3rem;
}
.soon h1 {
    margin: 0; font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 500;
    background: linear-gradient(90deg, #3a56c8 0%, #7a3a84 55%, #8d2d66 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soon-gears { width: 156px; height: auto; margin: 3.2rem 0 2.6rem; }
.soon p { margin: 0; color: #2a2a2a; font-size: .95rem; }
.soon-follow { margin-top: 1.15rem; }
.soon-social { display: flex; direction: ltr; justify-content: center; gap: .85rem; margin-bottom: .35rem; }
.soon-social img { width: 22px; height: 22px; }
.soon-back {
    margin-top: 2.6rem; display: inline-block; padding: .45rem 1.7rem;
    border-radius: 12px; color: #333; font-size: .95rem;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #e23a55, #3a56c8) border-box;
    border: 1.5px solid transparent;
}
.pdp { padding: 1.6rem 0 0; }
.pdp-actions { max-width: 100%; }
.pdp-hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 1.6rem;
    align-items: center;
}
.pdp-shot { width: 100%; max-height: 360px; object-fit: contain; }
.pdp-copy h1 {
    margin: 0 0 .7rem;
    color: #1aa56a;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.heart {
    border: 0; background: none; color: #1aa56a; display: grid; place-items: center; padding: 0;
}
.heart svg { width: 34px; height: 34px; }
.star-ico { display: none; }
.heart.on { color: #e23b5a; }
.heart.on .heart-ico { display: block; fill: currentColor; stroke: currentColor; }
.heart.on .star-ico { display: none; }
.pdp-copy p { margin: 0 0 .9rem; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp-actions .line-btn { border-radius: 999px; font-weight: 500; min-height: 34px; padding: .28rem .95rem; }
.line-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: .3rem .85rem; border-radius: 8px;
    background: #fff; font-weight: 700; font-size: .86rem; border: 1.5px solid;
}
.line-btn.green { color: #1aa56a; border-color: #1aa56a; }
.line-btn.blue { color: #2a67d0; border-color: #2a67d0; }
.earth-banner {
    margin-top: 1.7rem;
    height: 92px;
    display: grid; place-items: center;
    color: rgba(255,255,255,.92);
    letter-spacing: .28em;
    font-size: clamp(1.05rem, 2.5vw, 1.55rem);
    font-weight: 500;
    padding: 0 1.2rem;
    overflow: hidden;
    background: linear-gradient(90deg, #59af51 0%, #3b8a78 46%, #1c6590 100%);
}
.pdp-stage {
    direction: ltr;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "tabs tabs" "back card";
    gap: .85rem 1rem;
    align-items: end;
    background: #d7d1cb url("/images/pdp-ground.png") center top / cover no-repeat;
    padding: 1.15rem 4vw 1.6rem;
}
.pdp-stage > * { direction: rtl; }
.pdp-card.tab-panel.on[data-panel="feat"] {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 340px; padding: 2.8rem 3.2rem;
}
.pdp-card.tab-panel.on[data-panel="feat"] p { margin: 0; line-height: 2.05; color: #222; }
.pdp-card.tab-panel.on[data-panel="site"] {
    display: block; background: transparent; box-shadow: none; padding: .15rem 0 0; min-height: 0;
}
.site-gallery { width: 100%; }
.site-gallery .shot-stage { border-radius: 18px; }
.site-gallery .shot-stage img { aspect-ratio: 16 / 8.4; }
.site-gallery .shot-thumbs { margin-top: .65rem; }
.site-gallery .shot-thumbs img { height: 74px; }
.pdp-tabs {
    grid-area: tabs;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: .35rem 0 .15rem;
}
.pdp-tabs button {
    background: none; border: 0; color: #3a3a3a; font-weight: 700; padding: .15rem .15rem;
}
.pdp-tabs button + button::before {
    content: "|";
    color: #6d6d6d;
    font-weight: 400;
    margin-inline: .55rem .7rem;
}
.pdp-tabs button.on { color: #1aa56a; }
.pdp-card {
    grid-area: card;
    min-width: 0;
    background: #fff;
    border-radius: 18px;
    min-height: 220px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.pdp-card p { margin: 0 0 .85rem; }
.back-btn {
    grid-area: back;
    justify-self: center;
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
    color: #1aa56a; font-weight: 700; font-size: .82rem;
}
.back-btn span {
    width: 42px; height: 42px; border-radius: 8px; background: #2fae4a; color: #fff;
    display: grid; place-items: center; font-size: 1.15rem;
}
.dim-grid { display: grid; grid-template-columns: .7fr 1.1fr; gap: 1rem; align-items: center; }
.dim-specs div {
    display: flex; justify-content: space-between; gap: 1rem;
    border-bottom: 2px solid #3caf4a; padding: .55rem 0; max-width: 280px; margin-inline-start: auto;
}
.iso { width: 100%; height: auto; }
.pdp-card[data-panel="table"] { padding: 1rem 1rem 1.05rem; }
.table-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: .85rem; align-items: stretch; }
.table-side { display: flex; flex-direction: column; gap: .55rem; padding: .15rem .15rem .1rem; }
.table-search {
    display: flex; align-items: center; gap: .45rem;
    border-bottom: 1px solid #d7d7d7; padding: .15rem .15rem .4rem; color: #b7bdd0;
}
.table-search input {
    border: 0; flex: 1; min-width: 0; background: transparent; outline: none;
    font: inherit; font-weight: 500; color: #9aa0b0; text-align: right;
}
.table-search input::placeholder { color: #b7bdd0; }
.table-side .opt {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    color: #3f3f3f; font-size: .9rem; padding: .12rem .2rem;
}
.table-side .opt input {
    appearance: none; width: 16px; height: 16px; margin: 0; flex: none;
    border: 2px solid #3caf4a; border-radius: 50%; background: #fff;
}
.table-side .opt input:checked { background: #2fae4a; box-shadow: inset 0 0 0 3px #fff; }
.grad-btn {
    border: 0; color: #fff; border-radius: 999px; min-height: 42px; font-weight: 700;
    background: linear-gradient(90deg, #56ab54, #1a6392);
}
.grad-btn.on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #1a8a62; }
.table-scroll { max-height: 520px; overflow: auto; direction: ltr; }
.joint-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; direction: rtl; }
.joint-table th, .joint-table td { text-align: center; }
.joint-table th {
    position: sticky; top: 0; z-index: 1;
    color: #fff; font-weight: 500; padding: .62rem .35rem;
}
.joint-table th:nth-child(1) { background: linear-gradient(90deg, #2c86a4, #165d97); }
.joint-table th:nth-child(2) { background: linear-gradient(90deg, #3aa36a, #2c86a4); }
.joint-table th:nth-child(3) { background: linear-gradient(90deg, #4eb15a, #3aa36a); }
.joint-table th:nth-child(4) { background: linear-gradient(90deg, #5fb64b, #4eb15a); }
.joint-table th.check, .joint-table td.check { width: 46px; background: #fff; }
.joint-table td { border-bottom: 1px solid #2b2b2b; padding: .48rem .3rem; color: #222; background: #fff; }
.joint-table td.col-on, .joint-table th.col-on { box-shadow: inset 0 -3px 0 #2fae4a; }
.joint-table input[type="checkbox"] { width: 15px; height: 15px; accent-color: #2fae4a; }
.table-empty { direction: rtl; text-align: center; color: #666; margin: 1.2rem 0; }
.register-btn {
    margin-top: auto; border: 2px solid transparent; border-radius: 999px;
    min-height: 42px; font-weight: 700; cursor: pointer;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #5fb64b, #165d97) border-box;
    color: #1a8f45;
}
.pdp-media {
    direction: ltr;
    display: grid; grid-template-columns: 1.35fr .82fr; gap: .85rem;
    margin-top: 1.4rem; align-items: start;
}
.media-video { width: 100%; height: auto; border-radius: 14px; }
.shot-stage { position: relative; border-radius: 14px; overflow: hidden; background: #ececec; }
.shot-stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.shot-full {
    position: absolute; top: 10px; left: 10px; width: 34px; height: 34px;
    border: 0; border-radius: 8px; background: rgba(255,255,255,.92); color: #222;
    display: grid; place-items: center; cursor: pointer;
}
.shot-thumbs { direction: ltr; display: flex; gap: .45rem; margin-top: .5rem; }
.shot-thumbs button {
    flex: 1; min-width: 0; border: 2px solid transparent; padding: 0; border-radius: 10px;
    overflow: hidden; background: #e4e4e4; cursor: pointer;
}
.shot-thumbs img { width: 100%; height: 58px; object-fit: cover; display: block; }
.shot-thumbs .on { border-color: #1aa56a; }
.light {
    position: fixed; inset: 0; z-index: 90; background: rgba(12,14,18,.9);
    display: grid; place-items: center;
}
.light[hidden] { display: none; }
.light img { max-width: min(1080px, 78vw); max-height: 82vh; object-fit: contain; border-radius: 10px; }
.light-close, .light-nav {
    position: absolute; border: 0; background: #fff; color: #222; cursor: pointer;
    display: grid; place-items: center;
}
.light-close { top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 10px; font-size: 1.5rem; }
.light-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; }
.light-nav.prev { left: 18px; }
.light-nav.next { right: 18px; }

.article-block {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; align-items: start;
    grid-template-areas: "shot shot" "tools copy";
}
.article-shot { display: contents; }
.article-photo { grid-area: shot; width: 100%; height: 340px; object-fit: cover; border-radius: 18px; display: block; }
.article-tools { grid-area: tools; display: grid; gap: .45rem; position: sticky; top: 96px; align-self: start; margin-top: 1.2rem; }
.article-block .prose { grid-area: copy; margin-top: 1.2rem; }
.tool {
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid #e4e4e4; background: #fff;
    display: grid; place-items: center; color: #444;
}
.tool svg { width: 18px; height: 18px; }
.tool span { display: none; }
.tool.on { color: #1aa56a; border-color: #1aa56a; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.comment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.comment-box { border: 1.5px solid #222; border-radius: 6px; padding: 1rem; background: #fff; min-height: 240px; }
.comment-box h3 { margin: 0 0 .8rem; font-size: 1rem; }
.comment { display: grid; grid-template-columns: 42px 1fr; gap: .6rem; margin-bottom: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(160deg, #7a3cff, #e23b6a); }
.comment b { display: block; }
.comment p { margin: .15rem 0 0; }
.send {
    border: 0; color: #fff; background: #7a3cff; border-radius: 8px; min-height: 38px; padding: 0 1.1rem; font-weight: 700;
}

@media (max-width: 1100px) {
    .pdp { padding-top: .4rem; }
    .pdp-hero { gap: 1.1rem; }
    .pdp-copy h1 { font-size: 1.45rem; justify-content: flex-start; }
    .heart-ico { display: none; }
    .star-ico { display: block; }
    .heart { color: #1a6eb5; }
    .pdp-copy p { text-align: center; line-height: 2; font-size: .92rem; }
    .pdp-actions { justify-content: center; flex-wrap: nowrap; gap: .28rem; }
    .pdp-actions .line-btn { font-size: .66rem; padding: .18rem .32rem; min-height: 30px; white-space: nowrap; }
    .pdp-actions .line-btn:nth-child(2) { color: #1aa56a; border-color: #2a67d0; }
    .pdp-shot { max-height: none; }
    .earth-banner { height: 62px; margin-top: 1rem; letter-spacing: .16em; font-size: .92rem; }
    .pdp-tabs { flex-wrap: nowrap; }
    .pdp-tabs button { font-size: .68rem; padding: .1rem 0; white-space: nowrap; }
    .pdp-tabs button + button::before { margin-inline: .22rem .28rem; }
    .pdp-stage { padding: .85rem 3vw 1.2rem; }
    .pdp-card.tab-panel.on[data-panel="feat"] { min-height: 260px; padding: 2rem 1rem; }
    .site-gallery { width: 100%; }
    .pdp-media { gap: .9rem; margin-top: .2rem; }
    .shot-thumbs img { height: 62px; }
    .pdp-hero, .dim-grid, .table-layout, .pdp-media, .comment-grid, .article-layout { grid-template-columns: 1fr; }
    .spd { grid-template-columns: 1fr; grid-template-areas: "name" "photo" "spec" "copy"; }
    .pdp-stage { grid-template-columns: 1fr; grid-template-areas: "tabs" "card" "back"; }
    .back-btn { flex-direction: row; }
    .article-block { display: block; }
    .article-shot {
        display: block; position: relative;
        width: calc(100% + 40px); margin-inline: -20px;
    }
    .article-photo {
        width: 100%; height: auto; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: center 42%;
        border-radius: 0; opacity: 1; filter: none;
    }
    .article-shot .article-tools {
        position: absolute; left: 10px; top: 46%; right: auto; bottom: auto;
        margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
        z-index: 2; background: none;
    }
    .article-shot .tool {
        width: auto; height: auto; border: 0; background: transparent; color: #fff;
        border-radius: 0; box-shadow: none; padding: 0;
        display: flex; flex-direction: row; align-items: center; gap: .28rem;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.45));
    }
    .article-shot .tool svg { width: 22px; height: 22px; }
    .article-shot .tool span { display: inline; color: #fff; font-size: .78rem; font-weight: 600; }
    .article-block .prose { margin-top: 1rem; }
    .dim-specs div { margin-inline: 0; }
    .about-page h1 { padding: 1.05rem 0 .8rem; font-size: 1.55rem; }
    .about-film { border-radius: 14px; }
    .about-copy {
        text-align: justify;
        font-size: .9rem;
        line-height: 2.15;
        margin: 1.05rem auto 0;
        padding-inline: .45rem;
    }
    .about-family { margin: 1.35rem 0 0; padding: .85rem 1rem; font-size: 1.2rem; }
    .about-org { display: none; }
    .about-org-m { display: block; width: min(520px, 100%); height: auto; margin: .35rem auto 1.1rem; }
    .ordedit { padding-top: 1.8rem; }
    .ordedit > h1 { font-size: 1.55rem; font-weight: 600; margin-bottom: 1.5rem; }
    .ordedit-grid { grid-template-columns: 1fr; grid-template-areas: "list" "side"; gap: 1.5rem; }
    .ordedit-list { grid-area: list; }
    .ordedit-side { grid-area: side; }
    .erow {
        grid-template-columns: 34px 112px minmax(0, 1fr);
        grid-template-areas: "num photo buy" "hint hint hint" "note note note";
        gap: .45rem .35rem;
        align-items: center;
        padding: .95rem 0 1.05rem;
    }
    .enum { grid-area: num; }
    .erow > img { grid-area: photo; width: 108px; height: 86px; }
    .erow-buy { grid-area: buy; }
    .erow-hint {
        display: block; grid-area: hint; margin: .45rem 0 .1rem;
        text-align: center; color: #9a9a9a; font-size: .75rem;
    }
    .erow textarea { grid-area: note; min-height: 132px; border-radius: 16px; }
    .erow textarea::placeholder { color: transparent; }
    .edu-page { padding-top: 1.6rem; }
    .edu-paths { gap: 1.1rem; margin-top: 1.8rem; }
    .edu-paths img { height: 84px; }
    .edu-paths figcaption { font-size: .95rem; }
    .otable-head, .otable-row {
        grid-template-columns: 32px minmax(0, 1.4fr) 76px 34px 46px 30px;
        gap: .15rem; padding: .62rem .1rem; font-size: .74rem;
    }
    .otable-row svg { width: 18px; height: 18px; }
    .olist-m .profile-banner-in {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "id out" "nav nav";
        min-height: 0; padding: .7rem 0 .55rem; align-items: center;
    }
    .olist-m .profile-id { gap: .55rem; }
    .olist-m .profile-id img { width: 58px; height: 58px; border-radius: 12px; }
    .olist-m .profile-id h1 { font-size: 1rem; }
    .olist-m .profile-id p { margin-top: .15rem; font-size: .82rem; }
    .olist-m .logout { justify-self: end; align-self: center; margin-top: 0; }
    .olist-m .profile-nav {
        direction: ltr; justify-self: stretch; justify-content: space-between;
        width: 100%; flex-wrap: nowrap; gap: .28rem; margin: .35rem 0 .15rem;
    }
    .olist-m .profile-nav a { font-size: .62rem; padding: .28rem .42rem; white-space: nowrap; }
    .otable-wrap { padding: .35rem 0 1.5rem; }
}

@media print {
    .site-header, .footer, .help, .to-top, .rail, .hero-jump, .scope-tab, .scope-panel, .no-print, .order-actions, .arr-actions, .arr-restart { display: none !important; }
    body { background: #fff; }
    .invoice { border: 0; }
}
