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

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir-Medium.woff2") format("woff2");
    font-weight: 500 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir-Bold.woff2") format("woff2");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap
}

:root {
    --green: #032a20;
    --deep: #011d17;
    --brand: #064a38;
    /*--gold: #d6a536;*/
    --gold: #e6b31e;
    --gold-light: #e6b31e;
    /*--gold-light: #f3b211;*/
    /*--gold-light: #f0c55b;*/
    --warm: #faf8f3;
    --ink: #161616;
    --muted: #6c6c6c;
    --border: #e9e2d7;
    --shadow: 0 15px 45px rgba(34,25,8,.08);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: var(--warm);
    scroll-padding-top: 82px
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--warm);
    color: var(--ink);
    font-family: "Vazir",Tahoma,Arial,sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

::selection {
    background: rgba(214,165,54,.28);
    color: #161616
}

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

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

button, input, textarea {
    font: inherit
}

button, a {
    -webkit-tap-highlight-color: transparent
}

svg {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.container {
    width: min(1280px,calc(100% - 48px));
    margin-inline: auto
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: .3s ease
}

    .site-header.scrolled, .site-header.open {
        background: rgba(1,29,23,.93);
        border-color: rgba(255,255,255,.08);
        backdrop-filter: blur(16px);
        box-shadow: 0 12px 35px rgba(0,0,0,.18)
    }

.header-inner {
    height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    direction: ltr
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .02em;
    direction: ltr;
    width: max-content
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(214,165,54,.7);
    background: rgba(214,165,54,.1);
    border-radius: 12px;
    transition: .25s ease
}

.brand:hover .brand-mark {
    transform: translateY(-2px)
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    direction: rtl;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap
}

    .desktop-nav a {
        position: relative;
        padding: 10px 0;
        transition: .25s
    }

        .desktop-nav a::after {
            content: "";
            position: absolute;
            right: 8%;
            left: 8%;
            bottom: 3px;
            height: 1px;
            background: var(--gold);
            transform: scaleX(0);
            transform-origin: right;
            transition: .3s
        }

        .desktop-nav a:hover, .desktop-nav a.active {
            color: var(--gold-light)
        }

            .desktop-nav a:hover::after, .desktop-nav a.active::after {
                transform: scaleX(1)
            }

.header-cta {
    justify-self: end
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .3s,box-shadow .3s,border-color .3s,background .3s,color .3s
}

    .btn:hover {
        transform: translateY(-3px)
    }

    .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
        outline: 2px solid var(--gold-light);
        outline-offset: 3px
    }

.btn-gold {
    background: linear-gradient(135deg,#c88d22,var(--gold-light));
    color: #161616;
    box-shadow: 0 10px 28px rgba(214,165,54,.18)
}

    .btn-gold:hover {
        box-shadow: 0 15px 34px rgba(214,165,54,.26)
    }

.btn-outline {
    border-color: rgba(240,197,91,.75);
    color: var(--gold-light);
    background: rgba(255,255,255,.02)
}

    .btn-outline:hover {
        background: rgba(214,165,54,.08);
        border-color: var(--gold-light)
    }

.btn.compact {
    min-height: 44px;
    padding: 9px 22px
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: white;
    place-items: center;
    cursor: pointer
}

    .menu-btn .close-icon {
        display: none
    }

.site-header.open .menu-btn .menu-icon {
    display: none
}

.site-header.open .menu-btn .close-icon {
    display: block
}

.mobile-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: rgba(1,29,23,.98);
    border-top: 1px solid rgba(255,255,255,.08);
    transition: max-height .3s ease,opacity .3s ease
}

.site-header.open .mobile-nav {
    max-height: 600px;
    opacity: 1
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding-block: 4px 18px
}

    .mobile-nav-inner > a:not(.btn) {
        padding: 13px 4px;
        border-bottom: 1px solid rgba(255,255,255,.07);
        color: rgba(255,255,255,.88);
        font-size: 14px;
        transition: .2s
    }

        .mobile-nav-inner > a:not(.btn):hover {
            padding-right: 10px;
            color: var(--gold-light)
        }

.mobile-nav .btn {
    margin-top: 14px
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 76px;
    min-height: 100vh;
    min-height: 100svh;
    color: white;
    background: #011d17
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -3;
        background-image: url('../images/hero-software-agency.webp');
        background-repeat: no-repeat;
        background-position: right center;
        background-size: auto 100%;
        transform: scale(1.02);
        transform-origin: right center
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        background: linear-gradient(90deg,rgba(1,29,23,.98) 0%,rgba(1,29,23,.96) 28%,rgba(1,29,23,.77) 49%,rgba(1,29,23,.28) 72%,rgba(1,29,23,.08) 100%)
    }

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .23;
    background-image: linear-gradient(rgba(240,197,91,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(240,197,91,.016) 1px,transparent 1px);
    background-size: 54px 54px;
    pointer-events: none
}

.hero-glow {
    position: absolute;
    z-index: -1;
    left: 8%;
    top: 28%;
    width: 330px;
    height: 330px;
    background: rgba(214,165,54,.055);
    filter: blur(72px);
    border-radius: 50%;
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
    display: flex;
    align-items: center;
    padding-block: 48px 50px;
    direction: rtl
}

.hero-copy {
    direction: rtl;
    text-align: right;
    width: min(52%,610px);
    margin-right: auto;
    margin-left: 0;
    text-shadow: 0 2px 18px rgba(0,0,0,.22)
}

.eyebrow {
    display: none
}

.hero h1 {
    margin: 0;
    max-width: 590px;
    font-size: clamp(40px,3.8vw,56px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.035em;
    color: #f8f6f1
}

    .hero h1 span {
        display: block;
        margin-top: 2px;
        background: linear-gradient(90deg,#c88d22,#f0c55b,#f6d57f);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent
    }

.hero-copy > p {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 15.5px;
    line-height: 2.05
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px
}

.hero-visual {
    display: none
}

.light-section {
    background: var(--warm)
}

.services-section {
    padding: 38px 0 26px;
    border-radius: 18px 18px 0 0;
    margin-top: -1px;
    position: relative;
    z-index: 2
}

.section-heading {
    text-align: center;
    margin-bottom: 28px
}

    .section-heading h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 900;
        letter-spacing: -.02em
    }

    .section-heading > span {
        display: block;
        width: 44px;
        height: 2px;
        background: var(--gold);
        margin: 10px auto 0;
        border-radius: 4px
    }

    .section-heading.dark h2 {
        color: var(--gold-light)
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px
}

.service-card {
    min-height: 194px;
    padding: 24px 18px 20px;
    text-align: center;
    background: white;
    border: 1px solid #ece6dc;
    border-radius: 13px;
    box-shadow: 0 9px 25px rgba(30,22,8,.05);
    transition: .32s ease
}

    .service-card > svg {
        width: 34px;
        height: 34px;
        color: #d29a27;
        margin-bottom: 13px;
        stroke-width: 1.45
    }

    .service-card h3 {
        font-size: 14px;
        margin: 0 0 9px;
        font-weight: 800
    }

    .service-card p {
        margin: 0;
        color: #656565;
        font-size: 11.5px;
        line-height: 1.9
    }

    .service-card:hover {
        transform: translateY(-7px);
        border-color: rgba(214,165,54,.58);
        box-shadow: 0 16px 35px rgba(30,22,8,.09)
    }

.portfolio-section {
    padding: 18px 0 26px
}

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

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.15/1;
    border-radius: 10px;
    background: #05271f;
    box-shadow: 0 8px 23px rgba(20,25,20,.1)
}

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease
    }

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 42px 18px 16px;
    text-align: center;
    color: white;
    background: linear-gradient(180deg,transparent,rgba(1,29,23,.92) 65%)
}

    .project-overlay h3 {
        margin: 0 0 10px;
        font-size: 15px;
        font-weight: 800
    }

    .project-overlay span {
        display: inline-block;
        padding: 4px 13px;
        border-radius: 999px;
        background: rgba(214,165,54,.14);
        border: 1px solid rgba(214,165,54,.26);
        color: var(--gold-light);
        font-size: 10px
    }

.project-card:hover img {
    transform: scale(1.06)
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg,rgba(1,29,23,.03),rgba(1,29,23,.96) 62%)
}

.center-action {
    text-align: center;
    margin-top: 18px
}

.process-section {
    position: relative;
    padding: 24px 0 28px;
    background: linear-gradient(120deg,#032a20,#011d17);
    color: white;
    border-radius: 10px;
    overflow: hidden
}

    .process-section::after {
        content: "";
        position: absolute;
        left: 10%;
        top: -120px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(214,165,54,.045);
        filter: blur(60px)
    }

    .process-section .container {
        position: relative;
        z-index: 2
    }

    .process-section .section-heading {
        margin-bottom: 22px
    }

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px
}

.process-line {
    position: absolute;
    z-index: 0;
    top: 100px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(214,165,54,.62) 12%,rgba(214,165,54,.62) 88%,transparent)
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1
}

.process-icon {
    position: relative;
    margin: 0 auto 12px;
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: #032a20;
    color: var(--gold-light);
    transition: .3s
}

    .process-icon svg {
        width: 23px;
        height: 23px
    }

    .process-icon b {
        position: absolute;
        bottom: -12px;
        font-size: 9px;
        font-weight: 600;
        color: var(--gold);
        background: #032a20;
        padding: 0 4px
    }

.process-step h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800
}

.process-step p {
    margin: 0 auto;
    color: rgba(255,255,255,.58);
    font-size: 10.5px;
    line-height: 1.8;
    max-width: 190px
}

.process-step:hover .process-icon {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 0 7px rgba(214,165,54,.06)
}

.about-section {
    padding: 32px 0 26px
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 54px;
    direction: ltr
}

.about-copy {
    direction: rtl
}

.inline-heading {
    text-align: right;
    margin-bottom: 14px
}

    .inline-heading > span {
        margin: 9px 0 0 auto
    }

.about-copy > p {
    margin: 0;
    max-width: 680px;
    color: #565656;
    font-size: 14px;
    line-height: 2.1
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 25px
}

.stat {
    text-align: center;
    padding: 0 15px;
    border-left: 1px solid #d8d1c7
}

    .stat:first-child {
        border-left: 0
    }

    .stat strong {
        display: block;
        color: #cc982d;
        font-size: 30px;
        line-height: 1.2;
        font-weight: 900
    }

    .stat span {
        display: block;
        margin-top: 8px;
        font-size: 11px;
        font-weight: 700;
        color: #343434
    }

.about-visual {
    direction: rtl
}

    .about-visual img {
        width: 100%;
        height: 270px;
        object-fit: cover;
        border-radius: 80px 20px 80px 20px;
        box-shadow: var(--shadow)
    }

.contact-wrap {
    padding: 0 0 4px
}

.contact-card {
    padding: 18px 30px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg,#032a20,#011d17);
    border: 1px solid #0c4939;
    color: white;
    box-shadow: 0 13px 35px rgba(0,0,0,.08)
}

    .contact-card .section-heading {
        margin-bottom: 14px
    }

.contact-grid {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 40px;
    align-items: start;
    direction: ltr
}

.contact-info, .contact-form {
    direction: rtl
}

    .contact-info > p {
        margin: 0 0 18px;
        color: rgba(255,255,255,.62);
        font-size: 12.5px;
        line-height: 1.9
    }

.contact-list {
    display: grid;
    gap: 10px
}

    .contact-list a, .contact-list > div {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,.8);
        font-size: 12px
    }

    .contact-list span {
        width: 33px;
        height: 33px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(214,165,54,.28);
        border-radius: 50%;
        color: var(--gold-light);
        flex: 0 0 auto
    }

    .contact-list b {
        font-weight: 500
    }

.socials {
    display: flex;
    gap: 9px;
    margin-top: 15px
}

    .socials a {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 1px solid rgba(214,165,54,.38);
        color: var(--gold-light);
        transition: .25s
    }

        .socials a:hover {
            transform: translateY(-2px);
            border-color: var(--gold-light);
            background: rgba(214,165,54,.08)
        }

.contact-form {
    display: grid;
    gap: 12px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: rgba(240,197,91,.9);
    font-size: 11px;
    font-weight: 700
}

.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(1,29,23,.38);
    color: white;
    padding: 10px 12px;
    outline: none;
    transition: .22s
}

.contact-form input {
    height: 42px
}

.contact-form textarea {
    resize: vertical;
    min-height: 94px;
    line-height: 1.75
}

    .contact-form input::placeholder, .contact-form textarea::placeholder {
        color: rgba(255,255,255,.28)
    }

    .contact-form input:focus, .contact-form textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(214,165,54,.12)
    }

.form-submit {
    width: 100%;
    min-height: 42px;
    border: 0
}

.form-status {
    min-height: 18px;
    margin: 0;
    text-align: center;
    color: var(--gold-light);
    font-size: 11px
}

.footer {
    background: var(--warm);
    padding-top: 2px;
    color: white
}

.footer-card {
    border-radius: 13px 13px 0 0;
    border: 1px solid #0d4839;
    border-bottom: 0;
    background: #011d17;
    padding: 30px 32px 18px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .8fr .9fr 1fr;
    gap: 46px;
    direction: ltr
}

    .footer-grid > div {
        direction: rtl
    }

    .footer-grid p {
        max-width: 290px;
        color: rgba(255,255,255,.55);
        font-size: 11px;
        line-height: 1.9;
        margin: 14px 0 0
    }

    .footer-grid h3 {
        margin: 0 0 12px;
        font-size: 13px;
        font-weight: 800
    }

        .footer-grid h3.gold-title {
            color: var(--gold-light)
        }

    .footer-grid > div:not(:first-child) {
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }

        .footer-grid > div:not(:first-child) > a, .footer-grid > div:not(:first-child) > span {
            color: rgba(255,255,255,.58);
            font-size: 11px;
            line-height: 1.7;
            margin: 2.5px 0;
            transition: .2s
        }

            .footer-grid > div:not(:first-child) > a:hover {
                color: var(--gold-light)
            }

.footer-socials {
    margin-top: 10px !important;
    flex-direction: row !important
}

    .footer-socials a {
        margin: 0 !important
    }

.copyright {
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 13px;
    text-align: center;
    color: rgba(255,255,255,.42);
    font-size: 10.5px
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease,transform .65s ease
}

    .reveal.visible {
        opacity: 1;
        transform: none
    }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

@media(max-width:1100px) {
    .desktop-nav {
        gap: 17px;
        font-size: 12px
    }

    .header-inner {
        grid-template-columns: 1fr auto 1fr
    }

    .services-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .hero h1 {
        font-size: 48px
    }

    .hero-copy {
        width: min(56%,580px)
    }

    .about-grid {
        gap: 34px
    }

    .footer-grid {
        gap: 28px
    }
}

@media(max-width:900px) {
    .desktop-nav, .header-cta {
        display: none
    }

    .menu-btn {
        display: grid
    }

    .header-inner {
        grid-template-columns: 1fr auto
    }

    .brand {
        justify-self: start
    }

    .menu-btn {
        justify-self: end
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh
    }

        .hero::before {
            background-size: cover;
            background-position: 68% center
        }

        .hero::after {
            background: linear-gradient(90deg,rgba(1,29,23,.97) 0%,rgba(1,29,23,.90) 46%,rgba(1,29,23,.60) 72%,rgba(1,29,23,.35) 100%)
        }

    .hero-inner {
        min-height: calc(100vh - 76px);
        min-height: calc(100svh - 76px);
        align-items: flex-end;
        padding-top: 70px;
        padding-bottom: 46px
    }

    .hero-copy {
        width: min(72%,620px);
        margin-right: auto;
        margin-left: 0;
        text-align: right
    }

        .hero h1, .hero-copy > p {
            margin-left: 0;
            margin-right: 0
        }

    .hero-actions {
        justify-content: flex-start
    }

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

    .process-line {
        display: none
    }

    .process-grid {
        grid-template-columns: repeat(3,1fr);
        row-gap: 28px
    }

    .about-grid {
        grid-template-columns: 1fr;
        direction: rtl
    }

    .about-visual {
        max-width: 650px;
        margin: auto;
        width: 100%
    }

    .inline-heading {
        text-align: center
    }

        .inline-heading > span {
            margin-inline: auto
        }

    .about-copy > p {
        text-align: center;
        margin-inline: auto
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .contact-info {
        text-align: center
    }

    .contact-list {
        max-width: 460px;
        margin: auto
    }

        .contact-list a, .contact-list > div {
            justify-content: center
        }

    .socials {
        justify-content: center
    }

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

@media(max-width:650px) {
    .container {
        width: min(100% - 30px,1280px)
    }

    .header-inner {
        height: 70px
    }

    .hero {
        padding-top: 70px;
        min-height: 100vh;
        min-height: 100svh
    }

        .hero::before {
            background-size: auto 100%;
            background-position: 64% center
        }

        .hero::after {
            background: linear-gradient(90deg,rgba(1,29,23,.97) 0%,rgba(1,29,23,.91) 58%,rgba(1,29,23,.58) 100%)
        }

    .hero-inner {
        min-height: calc(100vh - 70px);
        min-height: calc(100svh - 70px);
        align-items: flex-end;
        padding-top: 92px;
        padding-bottom: 40px
    }

    .hero-copy {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        text-align: right
    }

    .hero h1 {
        font-size: 36px
    }

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

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px
    }

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

    .services-section {
        padding-top: 30px
    }

    .section-heading h2 {
        font-size: 21px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: auto;
        padding: 22px
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .project-card {
        aspect-ratio: 1.25/1
    }

    .process-grid {
        grid-template-columns: 1fr;
        padding-right: 28px;
        gap: 24px
    }

        .process-grid::before {
            content: "";
            position: absolute;
            right: 28px;
            top: 30px;
            bottom: 30px;
            width: 1px;
            background: rgba(214,165,54,.5)
        }

    .process-step {
        text-align: right;
        display: grid;
        grid-template-columns: 64px 1fr;
        column-gap: 14px;
        align-items: center
    }

    .process-icon {
        grid-row: 1/3;
        margin: 0;
        z-index: 2
    }

    .process-step h3 {
        margin: 0
    }

    .process-step p {
        margin: 6px 0 0;
        max-width: none
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
        row-gap: 24px
    }

    .stat {
        border-left: 0
    }

        .stat:nth-child(odd) {
            border-left: 1px solid #d8d1c7
        }

    .about-visual img {
        height: 230px;
        border-radius: 54px 16px 54px 16px
    }

    .contact-card {
        padding: 20px 16px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .contact-list a, .contact-list > div {
        justify-content: flex-start;
        text-align: right
    }

    .contact-info {
        text-align: right
    }

    .socials {
        justify-content: flex-start
    }

    .footer-card {
        padding: 26px 20px 18px
    }

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

        .footer-grid > div:not(:first-child) {
            align-items: flex-start
        }
}

@media(max-width:390px) {
    .hero {
        min-height: 590px
    }

        .hero::before {
            background-position: 61% center
        }

        .hero h1 {
            font-size: 32px
        }

    .brand {
        font-size: 17px
    }

    .brand-mark {
        width: 35px;
        height: 35px
    }

    .stat strong {
        font-size: 26px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}
.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.form-status {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    opacity: 1;
    transition: opacity .3s ease;
}


    /* پیام موفقیت */
    .form-status.success {
        color: #1f9d55;
    }


    /* پیام خطا */
    .form-status.error {
        color: #dc2626;
    }


/* دکمه هنگام ارسال */
.form-submit.sending {
    opacity: .7;
    cursor: wait;
}


.form-submit:disabled {
    pointer-events: none;
}