:root {
    --arzho-blue: #0b2d78;
    --arzho-blue-dark: #08225f;
    --arzho-blue-soft: #2d75c7;
    --arzho-yellow: #f1b538;
    --arzho-bg: #fdfaf4;
    --arzho-surface: #fffdf8;
    --arzho-line: #e8dcc4;
    --arzho-text: #182640;
    --arzho-muted: #5f6b83;
    --arzho-shadow: 0 20px 44px rgba(11, 45, 120, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    color: var(--arzho-text);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: linear-gradient(180deg, #fffef9 0%, #fdfaf4 100%);
}

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

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

.screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
}

.arzho-main {
    overflow: hidden;
}

.arzho-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.arzho-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 0;
    background: rgba(255, 252, 245, 0.92);
    backdrop-filter: blur(10px);
}

.arzho-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.arzho-brand {
    justify-self: end;
}

.arzho-brand__link,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.arzho-brand__link img,
.custom-logo-link img {
    width: 126px;
}

.arzho-nav {
    justify-self: center;
}

.arzho-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.arzho-nav__list a,
.arzho-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.arzho-nav__list a {
    color: #fff;
    background: var(--arzho-blue);
}

.arzho-header__cta {
    justify-self: start;
    color: var(--arzho-text);
    background: var(--arzho-yellow);
}

.arzho-generic-page {
    padding: 48px 0 72px;
}

.arzho-page-card {
    padding: 28px;
    background: var(--arzho-surface);
    border: 1px solid var(--arzho-line);
    border-radius: 24px;
    box-shadow: var(--arzho-shadow);
}

.arzho-section__title {
    margin: 0 0 14px;
    color: var(--arzho-blue);
}

.home .arzho-header,
.home .arzho-footer {
    display: none;
}

.home .arzho-main {
    overflow: visible;
}

.arzho-webapp {
    min-height: 100vh;
    padding: 20px 18px 108px;
    background:
        radial-gradient(circle at top left, rgba(241, 181, 56, 0.18), transparent 20%),
        radial-gradient(circle at top right, rgba(11, 45, 120, 0.09), transparent 22%),
        var(--arzho-bg);
}

.arzho-webapp__window {
    width: min(100%, 1380px);
    margin: 0 auto;
}

.arzho-webapp__topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 26px;
}

.arzho-webapp__consult,
.arzho-webapp__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.arzho-webapp__consult {
    color: var(--arzho-text);
    background: var(--arzho-yellow);
    justify-self: start;
}

.arzho-webapp__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.arzho-webapp__nav a {
    color: #fff;
    background: var(--arzho-blue);
}

.arzho-webapp__brand {
    justify-self: end;
}

.arzho-webapp__brand img {
    width: 164px;
}

.arzho-webapp__surface {
    display: grid;
    gap: 26px;
}

.arzho-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 28px;
    align-items: center;
}

.arzho-home-hero__visual,
.arzho-home-hero__content {
    position: relative;
}

.arzho-home-hero__visual img {
    width: 100%;
    max-width: 620px;
}

.arzho-home-hero__content h1 {
    margin: 0;
    color: var(--arzho-blue);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.24;
}

.arzho-home-hero__content h1 span {
    color: #1c5bb9;
}

.arzho-home-hero__lead {
    margin: 18px 0 0;
    color: var(--arzho-text);
    font-size: 1.15rem;
    font-weight: 500;
}

.arzho-home-hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.arzho-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.arzho-home-btn--primary {
    color: var(--arzho-blue);
    background: #fff8e6;
    border: 2px solid rgba(241, 181, 56, 0.8);
}

.arzho-home-btn--secondary {
    color: #fff;
    background: var(--arzho-blue);
}

.arzho-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.arzho-stat-card,
.arzho-service-card,
.arzho-project-card,
.arzho-testimonial,
.arzho-webapp-footer {
    background: var(--arzho-surface);
    border: 1px solid var(--arzho-line);
    box-shadow: var(--arzho-shadow);
}

.arzho-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 100px;
    padding: 18px 22px;
    border-radius: 22px;
}

.arzho-stat-card img {
    width: 62px;
    height: 62px;
}

.arzho-stat-card strong {
    display: block;
    color: var(--arzho-blue);
    font-size: 2rem;
    font-weight: 800;
}

.arzho-stat-card span {
    color: var(--arzho-text);
    font-size: 1rem;
}

.arzho-block {
    display: grid;
    gap: 16px;
}

.arzho-block__head {
    display: flex;
    justify-content: flex-start;
}

.arzho-block__head h2 {
    margin: 0;
    color: var(--arzho-blue);
    font-size: 2rem;
    font-weight: 800;
}

.arzho-service-grid,
.arzho-project-grid,
.arzho-testimonial-grid {
    display: grid;
    gap: 18px;
}

.arzho-service-grid,
.arzho-project-grid,
.arzho-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arzho-service-card,
.arzho-project-card {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 18px;
    align-items: center;
    min-height: 142px;
    padding: 18px 20px;
    border-radius: 20px;
}

.arzho-service-card__content,
.arzho-project-card__meta {
    display: grid;
    gap: 6px;
}

.arzho-service-card h3,
.arzho-project-card h3 {
    margin: 0;
    color: var(--arzho-blue);
    font-size: 1.28rem;
    font-weight: 800;
}

.arzho-service-card p,
.arzho-project-card p,
.arzho-testimonial p,
.arzho-webapp-footer p {
    margin: 0;
    color: var(--arzho-muted);
    line-height: 1.9;
}

.arzho-service-card__arrow {
    display: inline-flex;
    margin-top: 10px;
    color: var(--arzho-yellow);
    font-size: 1.3rem;
    font-weight: 700;
}

.arzho-service-card img,
.arzho-project-card img {
    width: 96px;
    justify-self: end;
}

.arzho-project-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: fit-content;
    padding: 0 16px;
    margin-top: 10px;
    color: #fff;
    background: var(--arzho-blue);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.arzho-testimonial {
    position: relative;
    min-height: 182px;
    padding: 28px 24px 20px;
    border-radius: 34px;
}

.arzho-testimonial::before {
    content: "”";
    position: absolute;
    top: 10px;
    right: 18px;
    color: var(--arzho-blue);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
}

.arzho-testimonial::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: 40px;
    width: 22px;
    height: 22px;
    background: var(--arzho-surface);
    border-right: 1px solid var(--arzho-line);
    border-bottom: 1px solid var(--arzho-line);
    transform: rotate(45deg);
}

.arzho-testimonial strong {
    display: block;
    margin-top: 18px;
    color: var(--arzho-blue);
}

.arzho-testimonial span {
    display: block;
    margin-top: 4px;
    color: var(--arzho-muted);
    font-size: 0.9rem;
}

.arzho-testimonial--plant,
.arzho-testimonial--heart,
.arzho-testimonial--star {
    background-image: none;
}

.arzho-testimonial--plant {
    background-image: none;
}

.arzho-testimonial--heart {
    background-image: none;
}

.arzho-testimonial--star {
    background-image: none;
}

.arzho-webapp-footer {
    padding: 22px 24px 14px;
    border-radius: 24px;
}

.arzho-webapp-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 24px;
}

.arzho-webapp-footer h3 {
    margin: 0 0 12px;
    color: var(--arzho-blue);
    font-size: 1.2rem;
}

.arzho-webapp-socials {
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.arzho-webapp-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--arzho-blue);
    border-radius: 50%;
    color: var(--arzho-blue);
    font-size: 0.8rem;
    font-weight: 800;
}

.arzho-webapp-footer__copyright {
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid var(--arzho-line);
    text-align: center;
}

.arzho-mobile-nav {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 45, 120, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(11, 45, 120, 0.16);
    backdrop-filter: blur(12px);
}

.arzho-mobile-nav a {
    display: grid;
    gap: 6px;
    justify-items: center;
    padding: 10px 4px;
    color: #7a88a7;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
}

.arzho-mobile-nav a.is-active {
    color: var(--arzho-blue);
    background: #eef4ff;
}

.arzho-mobile-nav__icon {
    position: relative;
    width: 22px;
    height: 22px;
}

.arzho-mobile-nav__icon::before,
.arzho-mobile-nav__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border: 2px solid currentColor;
}

.arzho-mobile-nav__icon--home::before {
    width: 16px;
    height: 12px;
    top: 8px;
    border-radius: 4px;
}

.arzho-mobile-nav__icon--home::after {
    width: 12px;
    height: 12px;
    top: -6px;
    transform: rotate(45deg);
    border-right: 0;
    border-bottom: 0;
}

.arzho-mobile-nav__icon--services::before {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    box-shadow: inset 0 -6px 0 0 currentColor;
}

.arzho-mobile-nav__icon--services::after {
    display: none;
}

.arzho-mobile-nav__icon--portfolio::before {
    width: 17px;
    height: 13px;
    border-radius: 4px;
}

.arzho-mobile-nav__icon--portfolio::after {
    width: 7px;
    height: 7px;
    left: -7px;
    top: -7px;
    border-radius: 50%;
    background: currentColor;
}

.arzho-mobile-nav__icon--contact::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.arzho-mobile-nav__icon--contact::after {
    width: 12px;
    height: 7px;
    top: 14px;
    border-radius: 999px 999px 6px 6px;
    border-top: 0;
}

@media (max-width: 1180px) {
    .arzho-webapp__topbar {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .arzho-webapp__consult,
    .arzho-webapp__brand {
        justify-self: center;
    }

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

    .arzho-stats-row,
    .arzho-service-grid,
    .arzho-project-grid,
    .arzho-testimonial-grid,
    .arzho-webapp-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .arzho-webapp {
        padding: 12px 12px 102px;
    }

    .arzho-webapp__topbar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .arzho-webapp__nav,
    .arzho-webapp__consult {
        display: none;
    }

    .arzho-webapp__brand img {
        width: 112px;
    }

    .arzho-home-hero {
        gap: 14px;
        padding: 0;
    }

    .arzho-home-hero__content,
    .arzho-home-hero__visual {
        background: var(--arzho-surface);
        border: 1px solid var(--arzho-line);
        border-radius: 26px;
        box-shadow: 0 14px 30px rgba(11, 45, 120, 0.08);
        overflow: hidden;
    }

    .arzho-home-hero__content {
        padding: 26px 18px 18px;
        text-align: center;
    }

    .arzho-home-hero__visual {
        padding: 10px 10px 6px;
        background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%);
    }

    .arzho-home-hero__visual img {
        max-width: 100%;
        border-radius: 22px;
    }

    .arzho-home-hero__content h1 {
        font-size: 2.15rem;
        line-height: 1.35;
    }

    .arzho-home-hero__lead {
        margin-top: 14px;
        font-size: 1.02rem;
        line-height: 1.9;
    }

    .arzho-home-hero__actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 22px;
    }

    .arzho-home-btn {
        width: 100%;
        min-height: 54px;
        font-size: 1.02rem;
    }

    .arzho-stats-row,
    .arzho-service-grid,
    .arzho-project-grid,
    .arzho-testimonial-grid,
    .arzho-webapp-footer__grid {
        grid-template-columns: 1fr;
    }

    .arzho-service-card,
    .arzho-project-card {
        grid-template-columns: 1fr 84px;
    }

    .arzho-webapp-footer {
        padding-bottom: 22px;
    }

    .arzho-testimonial {
        min-height: auto;
        padding: 24px 18px 18px;
        border-radius: 28px;
    }

    .arzho-testimonial::before {
        right: 14px;
        top: 8px;
        font-size: 3rem;
    }

    .arzho-testimonial::after {
        display: none;
    }

    .arzho-mobile-nav {
        display: grid;
    }
}
