﻿
:root {
    --hp-navy-900: #0A1626;
    --hp-navy-800: #0D1B2A;
    --hp-navy-700: #122236;
    --hp-navy-600: #1A2E45;
    --hp-line: #233245;
    --hp-amber: #E2932C;
    --hp-amber-dark: #C97A1D;
    --hp-teal: #2C8C93;
    --hp-text: #EDEFF2;
    --hp-text-dim: #93A1B0;
    --hp-text-dimmer: #647688;
    --font-fa: 'Vazirmatn', Tahoma, sans-serif;
    --font-fa2: 'IRANSans', Tahoma, sans-serif;
    --brand-navy-900: #153d6e;
    --brand-navy-800: #10263f;
    --brand-navy-700: #16324f;
    --brand-orange: #f5821f;
    --brand-orange-d: #d96e0f;
    --brand-green: #1a9e6b;
    --brand-green-d: #148457;
    --brand-blue: #2f6fed;
    --bg-page: #f3f5f8;
    --bg-surface: #ffffff;
    --bg-surface-2: #f7f9fb;
    --border-soft: #e6e9ef;
    --text-primary: #1c2530;
    --text-secondary: #6b7686;
    --text-muted: #9aa4b2;
    --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
    --shadow-md: 0 4px 16px rgba(16,24,40,.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-size-box-title: 28px;
    --hp-bn-bg: #10233A; /* یه پله روشن‌تر، فقط برای bottom nav */


 
}

* {
    box-sizing: border-box;
}
html{
    direction:rtl;
}

body{
    padding:0px;
    margin:0px;
}

select {
    background: #122236;
    color: #e5e7eb;
    padding: 1px 5px;
}

.hp-page {
    background: var(--hp-navy-900);
    color: var(--hp-text);
    font-family: 'Vazirmatn','IRANSans',sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    /* the site already sets a bottom-nav-height body padding elsewhere;
       add it here too since .hp-bottomnav is fixed on mobile */
    padding-bottom: 0;
}

.hp-mono {
    font-family: 'IRANSans';
    unicode-bidi: isolate;
}

img, svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.hp-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px;
    position:inherit;
}

/* ---------- Top bar ---------- */
.hp-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--brand-navy-900);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hp-line);
}

.hp-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.hp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
}

.hp-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(155deg,var(--hp-amber),var(--hp-amber-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hp-logo-mark svg {
        width: 19px;
        height: 19px;
    }

.hp-logo-sub {
    color: var(--hp-text-dim);
    font-size: 11px;
    font-weight: 400;
    display: block;
    margin-top: 1px;
}

/* --------------- logo ---------------------*/
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex-shrink: 0;
}


.brand-logo {
    color: var(--brand-orange);
    display: flex;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}

    .brand-text strong {
        font-size: .95rem;
    }

    .brand-text small {
        font-size: .72rem;
        color: #9db0c9;
    }
/* ------------------------------------------*/
.hp-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--hp-line);
    background: #dde2e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hp-icon-btn svg {
        width: 18px;
        height: 18px;
        stroke: #1946cd;/* var(--hp-text-dim);*/ 
    }

.hp-btn-login {
    display: none;
    border: 1px solid var(--hp-line);
    background: var(--brand-orange);
    color: var(--hp-text);
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
}

.hp-nav-desktop {
    display: none;
}

    .hp-nav-desktop a {
        color: #c7d3e3;
        padding-bottom: 5px;
        border-bottom: 2px solid transparent;
    }

.hp-nav-desktop a:hover {
    color: #fff;
    font-weight:600;
    border-bottom:2px solid var(--brand-orange);
    padding-bottom:5px;
}

/* ===== منوی آبشاری زیر «شرکت‌ها» ===== */
.hp-dd {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* فلش کنار عنوان */
.hp-dd-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-start: 7px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.hp-dd:hover .hp-dd-toggle::after,
.hp-dd:focus-within .hp-dd-toggle::after {
    transform: translateY(1px) rotate(225deg);
}

/* پنل */
.hp-dd-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    min-width: 280px;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(10,22,38,.22), 0 2px 6px rgba(10,22,38,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 1000;
}
    /* پل نامرئی تا با حرکت ماوس از عنوان به پنل، منو نبندد */
    .hp-dd-menu::before {
        content: "";
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 14px;
    }
    /* مثلث کوچک بالای پنل */
    .hp-dd-menu::after {
        content: "";
        position: absolute;
        top: -6px;
        inset-inline-start: 22px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 2px;
        transform: rotate(45deg);
    }

.hp-dd:hover .hp-dd-menu,
.hp-dd:focus-within .hp-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

/* آیتم‌ها (specificity بالاتر از استایل لینک‌های nav) */
.hp-nav-desktop .hp-dd-menu a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #153D6E;
    text-decoration: none;
    white-space: normal;
    border-inline-start: 3px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}

    .hp-nav-desktop .hp-dd-menu a:hover,
    .hp-nav-desktop .hp-dd-menu a:focus-visible {
        background: #f2f6fb;
        color: #153D6E;
        text-decoration: none;
        border-inline-start-color: var(--hp-amber, #F5821F);
        outline: none;
    }

.hp-dd-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.hp-dd-desc {
    font-size: 12px;
    font-weight: 400;
    color: #6b7c93;
    line-height: 1.6;
}

@media (prefers-reduced-motion:reduce) {
    .hp-dd-menu, .hp-dd-toggle::after {
        transition: none;
    }
}

/* ---------- Hero ---------- */
.hp-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: var(--hp-navy); /* پس‌زمینه‌ی پشتیبان */
}

    .hp-hero::before {
        content: "";
        position: absolute;
        inset: -20px; /* کمی بزرگ‌تر از باکس تا لبه‌های بلور، بیرون از دید بمونن */
        background-image: url('Images/hero-bg.jpg');
        background-size: cover;
        background-position: center;
        filter: blur(3px) saturate(0.55) brightness(0.4);
        z-index: 0;
    }

    .hp-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(10,22,38,.35) 0%, var(--hp-navy) 100%);
        z-index: 1;
    }

.hp-hero-inner {
    position: relative;
    z-index: 2; /* بالاتر از هر دو لایه */
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hp-hero-eyebrow {
    color: var(--hp-teal);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hp-hero h1 {
    font-size: 26px;
    line-height: 1.45;
    font-weight: 800;
    margin: 35px auto;
    max-width: 20ch;
    text-align:center;

}

.hp-hero h1 span {
    color: var(--hp-amber);
}

.hp-hero p {
    color: var(--hp-text-dim);
    font-size: 14.5px;
    margin: 18px auto;
    text-align: center;
    /* max-width: 46ch; */
}

/* search block */
.hp-search {
    background: var(--hp-navy-800);
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 30;
    position: inherit;
}

.hp-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-navy-700);
    border: 1px solid var(--hp-line);
    border-radius: 11px;
    padding: 12px 13px;
}

    .hp-field svg {
        width: 17px;
        height: 17px;
        stroke: var(--hp-text-dim);
        flex-shrink: 0;
    }

    .hp-field select,
    .hp-field input {
        
        border: none;
        outline: none;
        color: var(--hp-text);
        font-family: inherit;
        font-size: 13.5px;
        width: 100%;
    }

    .hp-field input {
        background: none;
     }

        .hp-field select {
        appearance: none;
    }

        .hp-field select option {
            background-color: var(--hp-navy); /* یا هر متغیر پس‌زمینه‌ی تیره‌ای که داری */
            color: var(--hp-text);
        }

.hp-field-row {
    display: flex;
    gap: 10px;
}

    .hp-field-row .hp-field {
        flex: 1;
        min-width: 0;
    }

.hp-search-submit {
    width: 100%;
    border: none;
    border-radius: 11px;
    background: linear-gradient(155deg,var(--brand-orange-d),var(--brand-orange));
    color: var(--hp-navy-900);
    font-weight: 700;
    font-size: 14px;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor:pointer;
}

    .hp-search-submit svg {
        width: 16px;
        height: 16px;
        stroke: var(--hp-navy-900);
    }

/* stat strip */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--hp-line);
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    overflow: hidden;
    margin: 16px auto;
}

.hp-stat {
    background: var(--hp-navy-800);
    padding: 14px 8px;
    text-align: center;
  
}

    .hp-stat b {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: var(--hp-amber);
    }

    .hp-stat span {
        display: block;
        font-size: 11px;
        color: var(--hp-text-dim);
        margin-top: 3px;
    }

/* ---------- Section shell ---------- */
.hp-section {
    padding: 30px 0;
}

.hp-section-head {
    margin-bottom: 16px;
}

    .hp-section-head h2 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 5px;
    }

    .hp-section-head p {
        font-size: 13px;
        color: var(--hp-text-dim);
        margin: 0;
        max-width: 52ch;
    }

/* ---------- Categories ---------- */
.hp-cat-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
 
}

@media (min-width:760px)
{
    .hp-cat-scroll {
    
        justify-content: center;
    }
}

    .hp-cat-scroll::-webkit-scrollbar {
        display: none;
    }

.hp-cat {
    flex: 0 0 auto;
    width: 150px;
    background: var(--hp-navy-800);
    border: 1px solid var(--hp-line);
    border-radius: 13px;
    padding: 14px;
}

.hp-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--hp-navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

    .hp-cat-icon svg {
        width: 17px;
        height: 17px;
        stroke: var(--hp-amber);
    }

.hp-cat b {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.hp-code-chip {
    display: inline-block;
    font-size: 10.5px;
    color: var(--hp-teal);
    border: 1px solid rgba(44,140,147,.4);
    background: rgba(44,140,147,.08);
    border-radius: 6px;
    padding: 2px 7px;
}

/* ---------- Persona cards ---------- */
.hp-persona-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-persona {
    background: var(--hp-navy-800);
    border: 1px solid var(--hp-line);
    border-radius: 13px;
    padding: 16px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.hp-persona-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--hp-navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hp-persona-icon svg {
        width: 18px;
        height: 18px;
        stroke: var(--hp-teal);
    }

.hp-persona b {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.hp-persona p {
    font-size: 12.8px;
    color: var(--hp-text-dim);
    margin: 0;
}

/* ---------- Provinces ---------- */
.hp-prov-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    
}

@media (min-width:760px)
{
    .hp-prov-scroll {
       justify-content: center;
    }
}

.hp-prov-scroll::-webkit-scrollbar {
    display: none;
}

.hp-prov {
    flex: 0 0 auto;
    width: 172px;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    background: var(--hp-navy-800);
}

.hp-prov-top {
    height: 64px;
    background: linear-gradient(140deg,var(--hp-navy-600),var(--hp-navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hp-prov-top svg {
        width: 32px;
        height: 32px;
        stroke: var(--hp-amber);
        opacity: .85;
    }

.hp-prov-body {
    padding: 11px 12px;
}

    .hp-prov-body b {
        font-size: 13px;
        font-weight: 600;
        display: block;
        margin-bottom: 3px;
    }

    .hp-prov-body span {
        font-size: 11px;
        color: var(--hp-text-dim);
    }

/* ---------- Data / excel band ---------- */
.hp-data-card {
    background: var(--hp-navy-800);
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    padding: 20px;
}

.hp-data-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--hp-line);
    padding: 11px 0;
    font-size: 12.8px;
}

    .hp-data-row:last-of-type {
        border-bottom: none;
    }

    .hp-data-row svg {
        width: 15px;
        height: 15px;
        stroke: var(--hp-teal);
        flex-shrink: 0;
    }

    .hp-data-row b {
        font-weight: 600;
        color: var(--hp-text);
    }

    .hp-data-row span {
        color: var(--hp-text-dim);
    }

.hp-data-cta {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(155deg,var(--hp-amber),var(--hp-amber-dark));
    color: var(--hp-navy-900);
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 11px;
    padding: 13px;
}

    .hp-data-cta svg {
        width: 15px;
        height: 15px;
        stroke: var(--hp-navy-900);
    }

/* ---------- Membership CTA ---------- */
.hp-member {
    border-radius: 16px;
    padding: 22px 18px;
    background: radial-gradient(420px 200px at 15% 0%, rgba(226,147,44,.16), transparent 65%), var(--hp-navy-800);
    border: 1px solid var(--hp-line);
}

    .hp-member h3 {
        font-size: 17px;
        font-weight: 700;
        margin: 0 0 8px;
    }

    .hp-member p {
        font-size: 13px;
        color: var(--hp-text-dim);
        margin: 0 0 16px;
        max-width: 48ch;
    }

.hp-member-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.hp-member-perk {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.8px;
}

    .hp-member-perk svg {
        width: 15px;
        height: 15px;
        stroke: var(--hp-amber);
        flex-shrink: 0;
    }

.hp-member-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--hp-amber);
    color: var(--hp-amber);
    border-radius: 11px;
    padding: 12px;
    font-weight: 600;
    font-size: 13.5px;
}

    .hp-member-btn:hover {
    background: #f5821f2b;
}

/* ---------- CRM band ---------- */
.hp-crm {
    border-radius: 16px;
    padding: 20px 18px;
    background: linear-gradient(155deg, rgba(44,140,147,.14), rgba(44,140,147,.03));
    border: 1px solid rgba(44,140,147,.35);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-crm-title {
   
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0px;
    margin-top:-10px;
    padding: 0px;
    line-height: 0.5;
}


    .hp-crm-title h3 {
        color: var(--brand-orange);
        font-size: var(--font-size-box-title);
    }
    
    .hp-crm-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        background: rgba(44,140,147,.18);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hp-crm-icon svg {
        width: 19px;
        height: 19px;
        stroke: var(--hp-teal);
    }

.hp-crm b {
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.hp-crm p {
    font-size: 12.8px;
    color: var(--hp-text-dim);
    margin: 0 0 4px;
    max-width: 50ch;
}
 @media (min-width:760px) {
    .hp-crm p {
        font-size: 12.8px;
        color: var(--hp-text-dim);
        margin: 0 0 4px;
        max-width:90%;
       
    }
}

.hp-crm-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(44,140,147,.55);
    background: rgba(44,140,147,.12);
    color: var(--hp-teal);
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

@media (max-width: 759px) {
    .hp-crm-link {
        margin-right: auto;
    }
}

    .hp-crm-link:hover {
        background: rgba(44,140,147,.22);
        border-color: var(--hp-teal);
        transform: translateY(-1px);
    }

    .hp-crm-link svg {
        width: 14px;
        height: 14px;
        stroke: var(--hp-teal);
    }


/* ---------- Footer ---------- */
.hp-footer {
    border-top: 1px solid var(--hp-line);
    padding: 28px 0 90px;
}

.hp-footer-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hp-footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.hp-footer-col b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--hp-text);
}

.hp-footer-col a {
    display: block;
    font-size: 12.5px;
    color: var(--hp-text-dim);
    margin-bottom: 8px;
}

.hp-footer-bottom {
    border-top: 1px solid var(--hp-line);
    padding-top: 14px;
    font-size: 11.5px;
    color: var(--hp-text-dimmer,#5b6b7c);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- Mobile bottom nav ---------- */
.hp-bottomnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--hp-bn-bg);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -4px 16px rgba(0,0,0,.35);
    padding: 8px 0;
    z-index: 50;
    /*width: 96%;
    margin: 0px auto;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;*/
}

    .hp-bn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 11px;
        color: var(--hp-text-dim);
        text-decoration: none;
    }

    .hp-bn-item svg {
        width: 20px;
        height: 20px;
        stroke: var(--hp-text-dim);
    }

    .hp-bn-item.active {
        color: var(--brand-orange);
    }

    .hp-bn-item.active svg {
        stroke: var(--brand-orange);
    }

/* ---------- Tablet / Desktop upgrades ---------- */
@media (min-width:760px) {
    .hp-nav-desktop {
        display: flex;
        gap: 22px;
        font-size: 13.5px;
        color: var(--hp-text-dim);
    }

    .hp-btn-login {
        display: inline-block;
    }

    .hp-hero h1 {
        font-size: 34px;
        max-width:40ch;
    }

    .hp-hero p {
        font-size: 14.5px;
    }

    .hp-search {
        flex-direction: row;
        align-items: center;
        padding: 10px;
        border-radius: 16px;
    }

    .hp-field-row {
        flex: 1;
    }

    .hp-search-submit {
        width: auto;
        padding: 13px 26px;
        white-space: nowrap;
    }

    .hp-stats {
        grid-template-columns: repeat(3,1fr);
        max-width: 520px;
    }

    .hp-persona-list {
        flex-direction: row;
    }

    .hp-persona {
        flex: 1;
        flex-direction: column;
    }

    .hp-footer-cols {
        grid-template-columns: repeat(4,1fr);
    }

    .hp-bottomnav {
        display: none;
    }

    .hp-footer {
        padding-bottom: 40px;
    }

    .hp-member {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 26px 30px;
    }

    .hp-member-perks {
        flex-direction: row;
        gap: 22px;
        margin-bottom: 0;
    }

    .hp-member-btn {
        flex-shrink: 0;
        padding: 13px 26px;
    }

    .hp-member > div:first-child {
        flex: 1;
    }

    .hp-crm {
        flex-direction: row;
        align-items: center;
    }

    .hp-crm-main {
        flex: 1;
    }
}



/* ===================================================================
   PROVINCE SLIDER (v2) — چیدمان اسلایدر از نسخه‌ی اول، پوسته‌ی بصری از
   کارت شرکت‌ها. همه‌ی کلاس‌ها با پیشوند m- (متمایز از j- و k-)
   =================================================================== */

.m-select {
    --m-navy-dark: #0D1B2A;
    --m-navy: #18467A;
    --m-amber: #f5821f;
    --m-green: #1B7A5B;
    --m-green-bg: #E6F4EE;
    --m-bg: #F4F6F9;
    --m-card-bg: #FFFFFF;
    --m-text-muted: #6B7A90;
    --m-border: #E4E9EF;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    /*background: var(--m-bg);*/
    padding: 48px 32px;
    box-sizing: border-box;
}

    .m-select * {
        box-sizing: border-box;
    }

.m-select__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto 28px;
    flex-wrap: wrap;
}

.m-select__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--m-navy);
    margin: 0;
}

.m-select__subtitle {
    font-size: 14.5px;
    color: var(--m-text-muted);
    margin: 0;
}

.m-slider {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.m-slider__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: 4px 4px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .m-slider__track::-webkit-scrollbar {
        display: none;
    }

/* --- Card --- */
.m-card {
    scroll-snap-align: start;
    /* عرض کارت طوری محاسبه می‌شود که همیشه دقیقاً 3 کارت کامل در عرض اسلایدر جا شود
     (2 گپ 20px بین 3 کارت = 40px کسر می‌شود) */
    flex: 0 0 calc((100% - 40px) / 3);
    background: var(--m-card-bg);
    border: 1px solid var(--m-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(13, 27, 42, 0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .m-card:hover {
        box-shadow: 0 10px 24px rgba(13, 27, 42, 0.1);
        transform: translateY(-3px);
    }

/* header: bookmark / badge / name */
.m-card__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    direction: ltr;
}

.m-card__head_grid {
    display: grid;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
    direction: ltr;
    grid-auto-flow: column;
    align-content: stretch;
}

    .m-card__head_grid div {
        display: inline-flex;
        column-gap: 10px;
        align-content: center;
    }

.m-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--m-navy-dark);
    margin: 0;
    order: 3;
}

.thumb-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(10,22,38,.55);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.m-badge {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--m-green-bg);
    color: var(--m-green);
    border: 1px solid rgba(27, 122, 91, 0.25);
    font-size: 11.5px;
    font-weight: 500;
    border-radius: 999px;
    padding: 3px 9px;
    white-space: nowrap;
}

    .m-badge svg {
        width: 12px;
        height: 12px;
    }

.m-bookmark {
    order: 1;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--m-border);
    background: #fff;
    color: var(--m-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}

    .m-bookmark:hover {
        background: var(--m-navy);
        color: #fff;
        border-color: var(--m-navy);
    }

    .m-bookmark svg {
        width: 15px;
        height: 15px;
    }

/* media: real landmark photo (kept from v1, framed like the company logo box) */
.m-card__media {
    position: relative;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: #EAF0F6;
}

    .m-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

.m-card:hover .m-card__media img {
    transform: scale(1.06);
}

.m-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,42,0) 55%, rgba(13,27,42,0.5) 100%);
}

/* stats row: dashed divider like the company card footer */
.m-card__stats {
    border-top: 1px dashed var(--m-border);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.m-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--m-navy-dark);
    font-weight: 500;
}

    .m-stat svg {
        width: 15px;
        height: 15px;
        color: var(--m-text-muted);
        flex-shrink: 0;
    }

    .m-stat .m-num {
        font-family: 'JetBrains Mono', monospace;
        direction: ltr;
    }

/* footer actions: green + amber, matching the company card button pair */
.m-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.m-btn {
    border: none;
    border-radius: 9px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 8px;
    text-decoration: none;
    flex: 1;
    transition: filter .15s ease;
}

    .m-btn svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

.m-btn--lead {
    background: var(--m-green);
    color: #fff;
}

    .m-btn--lead:hover {
        filter: brightness(1.08);
    }

.m-btn--full {
    background: var(--m-amber);
    color: #fff;
}

    .m-btn--full:hover {
        filter: brightness(1.08);
    }

/* Arrows (same behavior as v1) */
.m-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--m-border);
    background: #fff;
    color: var(--m-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(13, 27, 42, 0.1);
    z-index: 2;
    transition: background .15s ease, opacity .15s ease;
}

    .m-arrow:hover {
        background: var(--m-amber);
        border-color: var(--m-amber);
        color: #fff;
    }

    .m-arrow[disabled] {
        opacity: 0.35;
        cursor: default;
        pointer-events: none;
    }

.m-arrow--prev {
    right: -22px;
}

.m-arrow--next {
    left: -22px;
}

.m-arrow svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 900px) {
    .m-arrow--prev {
        right: 4px;
    }

    .m-arrow--next {
        left: 4px;
    }
    /* روی تبلت 2 کارت کامل نمایش داده شود */
    .m-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 560px) {
    .m-select {
        padding: 32px 16px;
    }
    /* روی موبایل یک کارت کامل + کمی از کارت بعدی برای نشانه‌ی اسکرول */
    .m-card {
        flex: 0 0 82%;
    }

    .m-card__media {
        height: 120px;
    }

    .m-arrow {
        width: 36px;
        height: 36px;
    }

    .m-arrow--prev {
        right: -6px;
    }

    .m-arrow--next {
        left: -6px;
    }
}


.hp-bn-more {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    font-size: 12.5px;
    cursor: pointer;
}

.hp-bn-item.hp-bn-more[aria-expanded="true"] {
    color: var(--hp-amber);
}

.hp-more-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 60;
}

    .hp-more-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

.hp-more-sheet {
    position: fixed;
    left: 7px;
    right: 7px;
    bottom: 0;
    background: #b0d6ef; /*var(--brand-orange);*/
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    z-index: 61;
    box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}

    .hp-more-sheet.is-open {
        transform: translateY(0);
    }

.hp-more-sheet__handle {
    width: 40px;
    height: 4px;
    background: var(--hp-line);
    border-radius: 999px;
    margin: 6px auto 14px;
}

.hp-more-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .hp-more-sheet__list li + li {
        border-top: 1px solid var(--hp-line);
    }

    .hp-more-sheet__list a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 6px;
        color: var(--brand-navy-800);
        text-decoration: none;
        font-size: 14px;
    }

/* روی دسکتاپ نه نوار پایین لازم است نه این شیت */
@media (min-width: 760px) {
    .hp-more-overlay,
    .hp-more-sheet {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-more-sheet,
    .hp-more-overlay {
        transition: none;
    }
}

/* ---------- Exhibitions band ---------- */
.hp-exh {
    border-radius: 16px;
    padding: 20px 18px;
    background: linear-gradient(155deg, rgba(226,147,44,.10), rgba(226,147,44,.02));
    border: 1px solid rgba(226,147,44,.28);
    display: flex;
    flex-direction: column;
    gap: 16px;
    
}

.hp-exh-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .hp-exh-head h3 {
        color: var(--hp-text);
        font-size: var(--font-size-box-title);
        margin: 0;
    }

.hp-exh-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

    .hp-exh-more svg {
        width: 13px;
        height: 13px;
        stroke: var(--brand-orange);
    }

.hp-exh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .hp-exh-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .hp-exh-grid {
        grid-template-columns: 1fr;
    }
}

.hp-exh-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

    .hp-exh-card:hover {
        transform: translateY(-3px);
        border-color: rgba(226,147,44,.4);
        background: rgba(255,255,255,.05);
    }

.hp-exh-img {
    height: 110px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,.05);
}

.hp-exh-body {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-exh-date {
    font-size: 11.5px;
    color: var(--hp-teal);
}

.hp-exh-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--hp-text);
    margin: 0;
    line-height: 1.5;
}

.hp-exh-loc {
    font-size: 11.5px;
    color: var(--hp-text-dim);
}

.hp-exh-more-card {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px 12px;
    background: rgba(226,147,44,.06);
    border: 1px dashed rgba(226,147,44,.35);
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 600;
}

    .hp-exh-more-card:hover {
        background: rgba(226,147,44,.12);
        border-color: var(--brand-orange);
    }

.hp-exh-more-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(226,147,44,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hp-exh-more-icon svg {
        width: 18px;
        height: 18px;
        stroke: var(--brand-orange);
    }