:root {
    --maroon: #8a1c2f;
    --maroon-dark: #6e1526;
    --maroon-light: #a52338;
    --cream: #faf6f2;
    --pink-soft: #f8e9e6;
    --ink: #2b2320;
    --ink-soft: #5c5049;
    --line: #eadfda;
    --white: #ffffff;
    --green: #25D366;
    --blue: #0088cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.9;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .25s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--maroon);
    color: #fff;
}

.btn-primary:hover {
    background: var(--maroon-dark);
}

.btn-outline {
    background: #fff;
    border-color: var(--maroon);
    color: var(--maroon);
}

.btn-outline:hover {
    background: var(--pink-soft);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
}

.dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
}

.dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maroon);
    opacity: .4;
}

.dots span:nth-child(2) {
    opacity: .7;
}

.dots span:nth-child(3) {
    opacity: 1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--maroon);
}

.logo .logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--maroon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
}

nav.main-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

nav.main-nav a {
    position: relative;
    padding-bottom: 6px;
    transition: .2s;
}

nav.main-nav a:hover {
    color: var(--maroon);
}

nav.main-nav a.active {
    color: var(--maroon);
    border-bottom: 2px solid var(--maroon);
}

.nav-toggle {
    display: none;
    font-size: 22px;
    color: var(--maroon);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .15);
    padding: 8px 24px 18px;
    z-index: 99;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.mobile-nav a.active {
    color: var(--maroon);
}

/* Page head */
.page-head {
    padding: 44px 0 30px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--ink-soft);
}

.breadcrumb a:hover {
    color: var(--maroon);
}

.breadcrumb i {
    font-size: 10px;
}

.page-head h1 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-head h1 span {
    color: var(--maroon);
}

.page-head p {
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}

/* Contact method cards */
.methods-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px;
}

.method-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 22px;
    text-align: center;
    transition: .25s;
}

.method-card:hover {
    border-color: var(--maroon);
    box-shadow: 0 16px 30px -18px rgba(138, 28, 47, .35);
    transform: translateY(-3px);
}

.method-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.method-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.method-card p {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 2px;
}

.method-card .btn {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
}

/* Map + address */
.map-grid {
    display: grid;
    grid-template-columns:1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.map-box {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 340px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

.address-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
}

.address-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: right;
}

.address-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.address-line i {
    color: var(--maroon);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.address-line.whatsapp i {
    color: var(--green);
}

.address-card .btn {
    margin-top: auto;
    justify-content: center;
}

/* Form + channels */
.contact-grid {
    display: grid;
    grid-template-columns:1fr 0.85fr;
    gap: 30px;
    align-items: start;
}

.form-card, .channels-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    height: 100%;
}

.form-card h3, .channels-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.field {
    position: relative;
}

.field input, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 42px 13px 14px;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--ink);
    background: #fff;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.field i {
    position: absolute;
    top: 16px;
    left: 15px;
    color: var(--ink-soft);
    font-size: 13px;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(138, 28, 47, .08);
}

.form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.channels-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.channel-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    transition: .2s;
}

.channel-item:hover {
    border-color: var(--maroon);
    transform: translateY(-2px);
}

.channel-item i {
    font-size: 24px;
    margin-bottom: 10px;
}

.channel-item.whatsapp i {
    color: var(--green);
}

.channel-item.telegram i {
    color: var(--blue);
}

.channel-item.instagram i {
    color: #d62976;
}

.channel-item.email i {
    color: var(--maroon);
}

.channel-item h4 {
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.channel-item p {
    font-size: 11.5px;
    color: var(--ink-soft);
}

.consult-box {
    background: var(--pink-soft);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.consult-box i {
    font-size: 24px;
    color: var(--maroon);
}

.consult-box h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
}

.consult-box p {
    font-size: 11.5px;
    color: var(--ink-soft);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0 40px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    cursor: pointer;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14.5px;
}

.faq-q i {
    color: var(--maroon);
    transition: .25s;
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 13.5px;
    transition: .3s;
}

.faq-item.open .faq-a {
    max-height: 200px;
    margin-top: 10px;
}

@media (max-width: 960px) {
    nav.main-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .methods-grid {
        grid-template-columns:1fr 1fr;
    }

    .map-grid {
        grid-template-columns:1fr;
    }

    .contact-grid {
        grid-template-columns:1fr;
    }

    .form-card, .channels-card {
        order: initial;
    }

    .faq-grid {
        grid-template-columns:1fr;
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 600px) {
    .methods-grid {
        grid-template-columns:1fr;
    }

    .form-row {
        grid-template-columns:1fr;
    }

    .channels-grid {
        grid-template-columns:1fr;
    }

    .page-head h1 {
        font-size: 26px;
    }
}

/* ===== هماهنگ‌سازی خودکار رنگ‌ها و هدر با index.html ===== */
:root {
    --maroon: #7a1a2b !important;
    --maroon-dark: #5e1220 !important;
    --maroon-light: #9c2438 !important;
    --cream: #FAF6F2 !important;
    --gold: #c99a4a !important;
    --line: #ece3dd !important;
    --muted: #7d6f70 !important;
}

/* ===== Top bar ===== */
.topbar {
    background: var(--maroon-dark);
    color: #f4e9df;
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f4e9df;
    opacity: .9;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-right i {
    opacity: .85;
    font-size: 13px;
}

/* ===== Header ===== */
header.main {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

header.main .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.logo-word {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--maroon);
}

.logo-word span {
    color: var(--gold);
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}

nav.mainnav ul {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    flex-wrap: nowrap;
}

nav.mainnav a {
    color: #4a3a3c;
    padding: 6px 2px;
    position: relative;
}

nav.mainnav li.active a {
    color: var(--maroon);
}

nav.mainnav li.active a::after {
    content: "";
    position: absolute;
    bottom: -16px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--maroon);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon {
    position: relative;
    font-size: 18px;
    color: var(--maroon);
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    left: -10px;
    background: var(--maroon);
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== تکمیل CSS هدر: منوی موبایل + جهت صحیح المان‌ها (رفع برخورد با استایل قدیمی صفحه) ===== */
header.main .wrap {
    flex-direction: row !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #4a3a3c;
    cursor: pointer;
    padding: 6px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .15);
    padding: 8px 24px 18px;
    z-index: 99;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #4a3a3c;
}

.mobile-nav a.active {
    color: var(--maroon);
}

@media (max-width: 1180px) {
    nav.mainnav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
