﻿ 

:root {
    --brick-primary: #B55239;
    --brick-dark: #8F3D2E;
    --brick-light: #D9785F;
    --brick-bg: #F8EEE9;
    --text: #292521;
    --muted: #726B66;
    --white: #ffffff;
    --border: #ead8cf;
    --surface: #fffaf7;
    --success: #2f8f63;
    --warning: #d68d27;
    --shadow-sm: 0 8px 24px rgba(77, 47, 37, 0.08);
    --shadow-lg: 0 24px 70px rgba(77, 47, 37, 0.16);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --container: 1200px;
}


@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('/fonts/IRANSans/eot/IRANSansWeb.eot');
    src: url('/fonts/IRANSans/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('/fonts/IRANSans/woff/IRANSansWeb.woff') format('woff'), url('/fonts/IRANSans/ttf/IRANSansWeb.ttf') format('truetype');
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: IRANSans, Arial, sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: linear-gradient(180deg, #fff, var(--brick-bg));
}

.section-title {
    text-align: center;
    margin-bottom: 42px;
}

    .section-title .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--brick-primary);
        background: rgba(181, 82, 57, 0.09);
        border: 1px solid rgba(181, 82, 57, 0.12);
        border-radius: 999px;
        padding: 6px 13px;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 13px;
    }

    .section-title h2 {
        font-size: clamp(27px, 3vw, 42px);
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .section-title p {
        color: var(--muted);
        max-width: 680px;
        margin: auto;
        font-size: 15px;
    }

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 13px;
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    transition: 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brick-primary), var(--brick-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(181, 82, 57, 0.22);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(181, 82, 57, 0.3);
    }

.btn-outline {
    color: var(--brick-primary);
    background: transparent;
    border: 1px solid rgba(181, 82, 57, 0.28);
}

    .btn-outline:hover {
        background: rgba(181, 82, 57, 0.06);
    }

.btn-light {
    background: #fff;
    color: var(--brick-dark);
}

.icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brick-bg);
    color: var(--brick-primary);
    font-size: 21px;
    flex: 0 0 auto;
}

.placeholder {
    border: 2px dashed rgba(181, 82, 57, 0.52);
    background: repeating-linear-gradient( -45deg, rgba(181, 82, 57, 0.035), rgba(181, 82, 57, 0.035) 12px, rgba(255, 255, 255, 0.75) 12px, rgba(255, 255, 255, 0.75) 24px );
    color: var(--brick-primary);
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 20px;
    min-height: 160px;
    padding: 20px;
    font-weight: 800;
}

/* Top bar */
.topbar {
    background: var(--brick-dark);
    color: rgba(255,255,255,.9);
    font-size: 12px;
}

    .topbar .container {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(181, 82, 57, 0.1);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
}

.logo-placeholder {
    width: 54px;
    height: 54px;
    border: 2px dashed var(--brick-primary);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--brick-primary);
    font-size: 10px;
    font-weight: 800;
    background: var(--brick-bg);
}

.brand-text strong {
    display: block;
    color: var(--brick-dark);
    font-size: 22px;
    line-height: 1.2;
}

.brand-text small {
    color: var(--muted);
    font-size: 10px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

    .nav-menu a {
        transition: .2s;
    }

        .nav-menu a:hover {
            color: var(--brick-primary);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    color: var(--brick-dark);
    font-size: 22px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 15%, rgba(217,120,95,.18), transparent 28%), radial-gradient(circle at 85% 30%, rgba(181,82,57,.16), transparent 30%), linear-gradient(135deg, #fff 0%, #fff9f6 46%, var(--brick-bg) 100%);
    padding: 66px 0 54px;
}

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(181,82,57,.06);
        pointer-events: none;
    }

    .hero::before {
        width: 360px;
        height: 360px;
        top: -180px;
        right: -120px;
    }

    .hero::after {
        width: 240px;
        height: 240px;
        bottom: -120px;
        left: -80px;
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 44px;
    align-items: center;
}

.hero-copy .tag {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(181,82,57,.15);
    background: rgba(255,255,255,.85);
    color: var(--brick-primary);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5.2vw, 70px);
    line-height: 1.22;
    letter-spacing: -1.3px;
    margin-bottom: 18px;
}

    .hero h1 span {
        color: var(--brick-primary);
    }

.hero-copy > p {
    color: var(--muted);
    font-size: 17px;
    max-width: 690px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-points {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

    .hero-points span {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .hero-points b {
        color: var(--success);
    }

.hero-visual {
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(181,82,57,.12);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-slider {
    min-height: 440px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.slide {
    display: none;
    min-height: 440px;
    padding: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed rgba(181,82,57,.48);
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,238,233,.95));
    color: var(--brick-primary);
    font-weight: 900;
}

    .slide.active {
        display: flex;
    }

.slider-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(143,61,46,.25);
    cursor: pointer;
    transition: .2s;
}

    .slider-dot.active {
        width: 26px;
        border-radius: 10px;
        background: var(--brick-primary);
    }

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 14px 16px;
    width: 220px;
}

    .floating-card strong {
        display: block;
        margin-bottom: 3px;
        font-size: 14px;
    }

    .floating-card small {
        color: var(--muted);
    }

/* Search box */
.search-panel {
    margin-top: -2px;
    position: relative;
    z-index: 2;
}

.search-box {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr auto;
    gap: 12px;
}

.field {
    position: relative;
}

    .field input,
    .field select {
        width: 100%;
        height: 54px;
        border: 1px solid #eadfd8;
        background: #fffdfa;
        border-radius: 13px;
        padding: 0 16px;
        outline: none;
        color: var(--text);
        transition: .2s;
    }

        .field input:focus,
        .field select:focus {
            border-color: var(--brick-primary);
            box-shadow: 0 0 0 4px rgba(181,82,57,.08);
        }

.search-box .btn {
    min-width: 145px;
    height: 54px;
}

/* Stats */
.stats {
    padding: 26px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

    .stat-card strong {
        display: block;
        font-size: 24px;
        color: var(--brick-dark);
        line-height: 1.2;
    }

    .stat-card span {
        color: var(--muted);
        font-size: 12px;
    }

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    transition: .25s;
    min-height: 145px;
}

    .category-card:hover {
        transform: translateY(-5px);
        border-color: rgba(181,82,57,.4);
        box-shadow: var(--shadow-sm);
    }

    .category-card h3 {
        font-size: 16px;
        margin: 12px 0 4px;
    }

    .category-card p {
        color: var(--muted);
        font-size: 12px;
    }

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 22px 22px;
    box-shadow: var(--shadow-sm);
}

    .step-card::before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        top: 16px;
        left: 16px;
        width: 31px;
        height: 31px;
        border-radius: 10px;
        background: var(--brick-bg);
        color: var(--brick-primary);
        display: grid;
        place-items: center;
        font-weight: 900;
    }

    .step-card h3 {
        margin: 16px 0 7px;
        font-size: 17px;
    }

    .step-card p {
        color: var(--muted);
        font-size: 13px;
    }

/* Suppliers */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.supplier-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .25s;
}

    .supplier-card:hover {
        transform: translateY(-5px);
    }

.supplier-cover {
    min-height: 155px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.supplier-body {
    padding: 18px;
}

.supplier-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.supplier-name {
    display: flex;
    align-items: center;
    gap: 11px;
}

.mini-logo {
    width: 44px;
    height: 44px;
    border: 1px dashed var(--brick-primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 9px;
    color: var(--brick-primary);
}

.verified {
    font-size: 11px;
    color: var(--success);
    background: rgba(47,143,99,.1);
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.supplier-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    margin-top: 14px;
}

/* Requests */
.request-list {
    display: grid;
    gap: 14px;
}

.request-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

    .request-card h3 {
        font-size: 16px;
        margin-bottom: 7px;
    }

.request-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.request-badge {
    color: var(--warning);
    background: rgba(214,141,39,.11);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Banner */
.promo {
    background: linear-gradient(135deg, var(--brick-dark), var(--brick-primary));
    color: #fff;
    border-radius: 30px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 34px;
    overflow: hidden;
    position: relative;
}

    .promo::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        background: rgba(255,255,255,.06);
        border-radius: 50%;
        top: -130px;
        left: -90px;
    }

    .promo h2 {
        font-size: clamp(26px, 3.4vw, 43px);
        margin-bottom: 12px;
    }

    .promo p {
        color: rgba(255,255,255,.83);
        margin-bottom: 22px;
    }

    .promo .placeholder {
        min-height: 250px;
        color: #fff;
        border-color: rgba(255,255,255,.7);
        background: rgba(255,255,255,.05);
    }

/* Blog */
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.blog-image {
    min-height: 170px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.blog-body {
    padding: 18px;
}

    .blog-body span {
        color: var(--brick-primary);
        font-size: 11px;
        font-weight: 800;
    }

    .blog-body h3 {
        margin: 8px 0 8px;
        font-size: 16px;
    }

    .blog-body p {
        color: var(--muted);
        font-size: 12px;
    }

/* Footer */
.footer {
    background: #251d1a;
    color: rgba(255,255,255,.82);
    padding: 62px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer h4 {
    color: #fff;
    margin-bottom: 14px;
}

.footer p,
.footer a {
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-brand .logo-placeholder {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.65);
    color: #fff;
    margin-bottom: 14px;
}

.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
}

/* Mobile nav */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 16px 18px;
}

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        display: grid;
        gap: 5px;
    }

    .mobile-menu a {
        display: block;
        padding: 11px 12px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 13px;
    }

        .mobile-menu a:hover {
            background: var(--brick-bg);
            color: var(--brick-primary);
        }

@media (max-width: 1050px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

        .hero-copy > p {
            margin-inline: auto;
        }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .hero-visual {
        max-width: 760px;
        width: 100%;
        margin-inline: auto;
    }

    .search-box {
        grid-template-columns: repeat(2, 1fr);
    }

        .search-box .btn {
            grid-column: span 2;
        }

    .stats-grid,
    .category-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .topbar {
        display: none;
    }

    .navbar {
        min-height: 68px;
    }

    .brand-text small {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding: 42px 0 38px;
    }

        .hero h1 {
            font-size: 38px;
        }

    .hero-copy > p {
        font-size: 14px;
    }

    .hero-slider,
    .slide {
        min-height: 300px;
    }

    .floating-card {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .search-panel {
        margin-top: 18px;
    }

    .search-box {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

        .search-box .btn {
            grid-column: auto;
            width: 100%;
        }

    .stats-grid,
    .category-grid,
    .steps,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .request-card {
        grid-template-columns: 1fr;
    }

        .request-card .btn {
            width: 100%;
        }

    .promo {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 16px 0;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .brand {
        min-width: auto;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .logo-placeholder {
        width: 46px;
        height: 46px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
 
