@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0f1720;
    --bg-soft: #17212d;
    --text: #17212d;
    --muted: #667085;
    --line: #e6e8ec;
    --paper: #ffffff;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    direction: rtl;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(245, 158, 11, .08), transparent 28%),
        #f7f8fa;
    line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 32px)); }
.skip-link { position: absolute; top: -80px; right: 16px; background: var(--accent); padding: 8px 12px; z-index: 20; }
.skip-link:focus { top: 16px; }

.emergency-bar { background: #f59e0b; color: #111827; font-weight: 900; }
.emergency-inner { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.emergency-inner a { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: 999px; background: #111827; color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(12, 18, 27, .97), rgba(19, 31, 45, .93));
    color: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 158, 11, .12);
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand {
    margin-inline-end: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand-mark, .footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.brand-mark {
    padding: 0;
}
.brand-image, .footer-brand-image {
    width: auto;
    border-radius: 0;
}
.brand-image {
    max-height: 54px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.brand-copy {
    position: relative;
    display: grid;
    gap: 4px;
    min-width: 0;
    padding-inline-start: 14px;
}
.brand-copy::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245,158,11,.95), rgba(245,158,11,.15));
}
.brand.has-brand-logo .site-title { font-size: 1.3rem; }
.brand.has-brand-logo .site-description { display: block; }
.site-title { display: block; font-weight: 900; font-size: 1.34rem; line-height: 1.15; }
.site-description { display: block; color: #cbd5e1; font-size: .78rem; line-height: 1.45; }
.primary-nav ul, .site-footer ul { display: flex; gap: 18px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: inline-block; padding: 5px 0; border-bottom: 2px solid transparent; color: #e5e7eb; font-weight: 700; transition: color .2s ease, border-color .2s ease; }
.primary-nav a:hover, .site-footer a:hover { color: var(--accent); }
.primary-nav a:hover { border-color: rgba(245, 158, 11, .65); }
.phone-button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
}
.phone-button, .btn-primary { background: var(--accent); color: #111827; }
.phone-button:hover, .btn-primary:hover { background: var(--accent-dark); }
.btn-primary { box-shadow: 0 10px 24px rgba(245,158,11,.25); }
.btn-secondary { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.menu-toggle { display: none; border: 0; border-radius: 10px; padding: 8px 12px; background: var(--accent); font-weight: 800; }

.section { padding: 72px 0; }
.section-dark { position: relative; background: radial-gradient(circle at top right, #26384d, var(--bg)); color: #fff; }
.hero {
    position: relative;
    padding: 92px 0;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset-inline-start: clamp(-20px, 2vw, 24px);
    top: 84px;
    width: min(40vw, 430px);
    aspect-ratio: 1;
    background: url('../images/brand-watermark.png') center/contain no-repeat;
    opacity: .12;
    pointer-events: none;
    filter: saturate(.9);
}
.hero-grid, .contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; align-items: center; }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: min(100%, 560px);
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-brand-mark-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
}
.hero-brand-mark {
    width: auto;
    max-height: 52px;
    border-radius: 0;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.16));
}
.hero-brand-copy { display: grid; gap: 5px; }
.hero-brand-copy strong { font-size: 1.12rem; line-height: 1.35; }
.hero-brand-copy span { color: #d6deea; font-size: .9rem; line-height: 1.75; }
.hero h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 6vw, 4.4rem); line-height: 1.25; letter-spacing: -.04em; }
.hero-subtitle { color: #d4dbe6; font-size: 1.15rem; max-width: 680px; }
.eyebrow { color: var(--accent); font-weight: 900; margin: 0 0 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; list-style: none; color: #e5e7eb; }
.hero-points li { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); border-radius: 999px; padding: 7px 12px; font-size: .92rem; }
.hero-card { position: relative; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; padding: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.25); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset-inline-start: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(245,158,11,.16); }
.hero-card > * { position: relative; z-index: 1; }
.hero-card strong, .hero-card span, .hero-card a { display: block; }
.hero-card strong { font-size: 1.35rem; margin-bottom: 10px; }
.hero-card a { color: var(--accent); font-size: 1.5rem; font-weight: 900; margin-top: 18px; }
.hero-contact-list { display: grid; gap: 10px; margin-top: 18px; }
.hero-card .hero-contact-list a { margin-top: 0; }
.hero-hours { color: #d4dbe6; font-size: .92rem; }
.status-pill { width: max-content; color: #111827; background: var(--accent); border-radius: 999px; padding: 4px 10px; font-weight: 900; margin-bottom: 16px; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.quick-facts span { text-align: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px; background: rgba(0,0,0,.12); color: #fff; }

.trust-strip { margin-top: -34px; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 18px 45px rgba(15,23,32,.12); }
.trust-grid article { padding: 12px 14px; border-radius: 16px; background: #f8fafc; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-weight: 900; color: #111827; }
.trust-grid span { color: var(--muted); font-size: .9rem; }

.section-heading { margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 760px; margin: 10px 0 0; }
.card-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card, .project-card, .post-card, .feature-grid article, details, .order-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(15,23,32,.06);
}
.service-card h3, .project-card h3, .post-card h2 { margin: 14px 0 8px; }
.service-card p, .project-card p, .feature-grid p { color: var(--muted); margin: 0; }
.service-icon { width: 42px; height: 6px; display: block; border-radius: 999px; background: var(--accent); margin-top: 14px; }
.mini-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 22px; border-radius: var(--radius); background: #111827; color: #fff; box-shadow: 0 16px 36px rgba(17,24,39,.16); }
.mini-cta strong, .mini-cta span { display: block; }
.mini-cta span { color: #cbd5e1; }
.mini-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-cta .btn-secondary { border-color: rgba(255,255,255,.22); }
.why-us { background: #fff; }
.feature-grid { grid-template-columns: repeat(5, 1fr); }
.feature-grid article { padding: 20px; }
.feature-grid h3 { margin-top: 0; font-size: 1.02rem; }

.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: process; }
.process-grid article { position: relative; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.process-grid span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: var(--accent); color: #111827; font-weight: 900; }
.process-grid h3 { margin: 0 0 8px; }
.process-grid p { margin: 0; color: var(--muted); }

.areas-section { padding-top: 0; }
.areas-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center; background: linear-gradient(135deg, #182334, #0f1720); color: #fff; border-radius: 26px; padding: 30px; box-shadow: 0 20px 50px rgba(15,23,32,.16); }
.areas-card h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.areas-card p { color: #cbd5e1; margin-bottom: 0; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); border-radius: 999px; padding: 8px 13px; font-weight: 800; }

.pricing-section { background: #f7f8fa; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricing-grid article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(15,23,32,.05); }
.pricing-grid h3 { margin: 0 0 8px; }
.pricing-grid p { margin: 0; color: var(--muted); }
.pricing-note { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 18px; border-radius: var(--radius); background: #fff7ed; border: 1px solid rgba(245,158,11,.28); }
.pricing-note strong { color: #9a3412; }
.pricing-note span { color: #475467; }

.order-section { background: linear-gradient(180deg, #f7f8fa, #eef2f7); }
.order-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: start; }
.order-aside { position: sticky; top: 96px; background: #0f1720; color: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 20px 50px rgba(15,23,32,.18); }
.order-aside h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; }
.order-aside p { color: #cbd5e1; }
.order-aside ul { padding-inline-start: 20px; color: #e5e7eb; }
.order-phone-list { display: grid; gap: 8px; }
.order-phone { display: inline-flex; margin-top: 12px; color: var(--accent); font-weight: 900; }
.order-form { display: grid; gap: 16px; }
.hp-field { position: absolute; right: -9999px; opacity: 0; pointer-events: none; }
.order-form label { display: grid; gap: 6px; font-weight: 800; }
input, textarea, select {
    width: 100%;
    border: 1px solid #cfd5df;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #667085 50%), linear-gradient(135deg, #667085 50%, transparent 50%); background-position: left 18px center, left 12px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-left: 34px; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(245,158,11,.22); border-color: var(--accent); }
.notice { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-weight: 800; }
.notice.success { background: #ecfdf3; color: #027a48; }
.notice.error { background: #fef3f2; color: #b42318; }
.success-panel { margin-bottom: 18px; border: 1px solid #abefc6; border-radius: 18px; padding: 18px; background: #ecfdf3; color: #064e3b; }
.success-panel strong { display: block; font-size: 1.15rem; }
.success-panel p { margin: 8px 0 14px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.success-actions .btn-secondary { border-color: #16a34a; color: #065f46; background: #fff; }
.faq-list { display: grid; gap: 14px; }
summary { cursor: pointer; font-weight: 900; }
details div { color: var(--muted); margin-top: 10px; }
details[open] { border-color: rgba(245,158,11,.45); box-shadow: 0 16px 34px rgba(245,158,11,.08); }
.testimonials-section { background: linear-gradient(180deg, #fff, #f7f8fa); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 32px rgba(15,23,32,.06); }
.testimonial-grid blockquote { margin: 0; color: #344054; }
.testimonial-grid blockquote::before { content: "\201D"; display: block; color: var(--accent); font-size: 3rem; line-height: 1; font-weight: 900; }
.testimonial-grid figcaption { margin-top: 16px; font-weight: 900; color: #111827; }
.projects-section { background: #fff; }
.contact-section a { color: var(--accent); font-weight: 900; }
address { font-style: normal; }
.contact-list p, .footer-contact-list p { margin: 0 0 8px; }
.entry-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.entry-content a { color: var(--accent-dark); text-decoration: underline; }
.page-cta { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: #111827; color: #fff; }
.page-cta strong { display: block; font-size: 1.1rem; }
.page-cta p { color: #cbd5e1; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-cta .btn { text-decoration: none; }
.page-cta .btn-secondary { border-color: rgba(255,255,255,.22); }
.content-list { display: grid; gap: 18px; }

.site-footer { background: #0b1118; color: #d8dee8; padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand-head { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand-mark {
    padding: 0;
    flex-shrink: 0;
}
.footer-brand-copy { display: grid; gap: 8px; }
.footer-brand-copy p { margin: 0; color: #b5c0ce; }
.footer-brand-image {
    max-height: 58px;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}
.site-footer h2 { color: #fff; font-size: 1.1rem; }
.site-footer ul { flex-direction: column; gap: 8px; }
.footer-bottom { margin-top: 32px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); color: #9aa4b2; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; padding: 12px 0; }
    .brand { flex: 1 1 auto; }
    .brand-image { max-height: 48px; }
    .menu-toggle { display: inline-flex; }
    .primary-nav { display: none; width: 100%; order: 5; }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 8px; padding: 12px 0; }
    .hero-brand-lockup { width: 100%; }
    .hero-grid, .contact-grid, .footer-grid, .order-layout, .areas-card { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .order-aside { position: static; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .process-grid, .pricing-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-note { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .container, .narrow { width: min(100% - 24px, 1120px); }
    .emergency-inner { display: grid; gap: 6px; padding: 8px 0; }
    .brand { gap: 10px; }
    .brand-image { max-height: 42px; }
    .brand-copy { padding-inline-start: 12px; }
    .brand.has-brand-logo .site-title, .site-title { font-size: 1.08rem; }
    .site-description { font-size: .72rem; }
    .footer-brand-image { max-height: 60px; }
    .footer-brand-head { align-items: center; }
    .hero-brand-lockup { gap: 12px; padding-bottom: 14px; }
    .hero-brand-mark { max-height: 52px; }
    .hero-brand-copy strong { font-size: .98rem; }
    .hero-brand-copy span { font-size: .84rem; }
    .section, .hero { padding: 48px 0; }
    .phone-button { width: 100%; }
    .hero-points { display: grid; }
    .trust-strip { margin-top: 0; padding-top: 14px; background: #f7f8fa; }
    .trust-grid { grid-template-columns: 1fr; }
    .card-grid, .feature-grid { grid-template-columns: 1fr; }
    .process-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .cta-row .btn { width: 100%; }
    .mini-cta { display: grid; }
    .mini-cta-actions { display: grid; }
    .mini-cta .btn { width: 100%; }
    .pricing-note .btn, .success-actions .btn { width: 100%; }
    .page-cta-actions { display: grid; }
    .page-cta-actions .btn { width: 100%; }
    .hero-card, .service-card, .project-card, .post-card, .feature-grid article, details, .order-form, .entry-content { padding: 18px; }
    .order-aside { padding: 20px; }
    body { padding-bottom: 72px; }
    .mobile-actions {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        background: rgba(15, 23, 32, .94);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0,0,0,.25);
        backdrop-filter: blur(10px);
    }
    .mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 12px;
        background: var(--accent);
        color: #111827;
        font-weight: 900;
        font-size: .92rem;
    }
}
