:root {
    --navy: #101827;
    --navy-light: #19243a;
    --blue: #2948e8;
    --blue-light: #eef1ff;
    --text: #172033;
    --muted: #6c7688;
    --line: #e3e7ee;
    --bg: #f5f7fa;
    --white: #ffffff;
    --green: #15966b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Vazirmatn", Tahoma, sans-serif;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    background: rgba(245,247,250,.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 900;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.menu {
    display: flex;
    gap: 30px;
    color: #596477;
    font-size: 13px;
    font-weight: 600;
}

.menu a {
    transition: .2s;
}

.menu a:hover {
    color: var(--blue);
}

.header-button {
    background: var(--navy);
    color: #fff;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0 100px;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(41,72,232,.08),
            transparent 30%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.25;
    letter-spacing: -3px;
    margin: 0 0 22px;
    font-weight: 900;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
    max-width: 610px;
    margin: 0 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
}

.button-primary {
    background: var(--blue);
    color: #fff;
}

.button-secondary {
    background: #fff;
    border: 1px solid var(--line);
}


/* =========================
   FINANCIAL DOCUMENT
========================= */

.document-area {
    position: relative;
}

.document {
    background: #fff;
    border: 1px solid #e0e4eb;
    padding: 34px;
    border-radius: 5px;
    box-shadow: 25px 30px 70px rgba(20,30,50,.13);
    transform: rotate(-2deg);
}

.document-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 17px;
    margin-bottom: 25px;
}

.document-title {
    font-weight: 900;
    font-size: 17px;
}

.document-meta {
    font-size: 9px;
    color: #8a94a4;
}

.document-line {
    height: 8px;
    background: #edf0f4;
    border-radius: 2px;
    margin: 10px 0;
}

.document-line.short {
    width: 58%;
}

.document-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 27px;
}

.document-box {
    border: 1px solid #e4e8ee;
    padding: 15px;
}

.document-box strong {
    display: block;
    font-size: 11px;
    margin-bottom: 9px;
}

.document-box span {
    color: #8a94a4;
    font-size: 9px;
}

.document-stamp {
    position: absolute;
    left: -20px;
    bottom: 15px;
    background: #eaf8f2;
    border: 1px solid #bce7d4;
    color: var(--green);
    padding: 11px 17px;
    font-size: 10px;
    font-weight: 800;
    transform: rotate(5deg);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-white {
    background: #fff;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 35px;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;
    max-width: 500px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   SERVICES
========================= */

.services {
    border-top: 2px solid var(--navy);
}

.service {
    display: grid;
    grid-template-columns: 90px 1fr 240px;
    align-items: center;
    gap: 25px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    transition: .2s;
}

.service:hover {
    padding-right: 12px;
    padding-left: 12px;
    background: #fafbff;
}

.service-number {
    color: #8b95a6;
    font-size: 12px;
    font-weight: 800;
}

.service-content h3 {
    margin: 0;
    font-size: 18px;
}

.service-content p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.service-link {
    text-align: left;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}


/* =========================
   TEHRAN
========================= */

.tehran-section {
    background: var(--navy);
    color: #fff;
}

.tehran {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tehran h2 {
    font-size: 34px;
    margin: 0 0 15px;
}

.tehran p {
    color: #b7c1d1;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 28px;
}

.tehran-map {
    height: 300px;
    border: 1px solid #2c3850;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            #23304a,
            #111a2b
        );
}

.tehran-map::before,
.tehran-map::after {
    content: "";
    position: absolute;
    border: 1px solid #37465f;
    border-radius: 50%;
}

.tehran-map::before {
    width: 350px;
    height: 350px;
    top: -40px;
    left: 60px;
}

.tehran-map::after {
    width: 220px;
    height: 220px;
    top: 35px;
    left: 125px;
}

.map-point {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7188ff;
    box-shadow: 0 0 0 8px rgba(113,136,255,.12);
}

.map-point.one {
    top: 100px;
    left: 210px;
}

.map-point.two {
    top: 160px;
    left: 270px;
}

.map-point.three {
    top: 195px;
    left: 170px;
}


/* =========================
   PROCESS
========================= */

.process {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.process-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 28px;
}

.process-number {
    color: var(--blue);
    font-size: 28px;
    font-weight: 900;
}

.process-card h3 {
    margin: 13px 0 8px;
    font-size: 16px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}


/* =========================
   WHY
========================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.why-item {
    padding: 30px;
    border-left: 1px solid var(--line);
}

.why-item:last-child {
    border-left: 0;
}

.why-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 9px;
}

.why-item p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}


/* =========================
   FAQ
========================= */

.faq {
    max-width: 850px;
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    color: var(--muted);
    font-size: 12px;
    margin: 12px 0 0;
}


/* =========================
   CTA
========================= */

.cta {
    background: var(--blue);
    color: #fff;
    border-radius: 22px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    margin: 0;
    font-size: 27px;
}

.cta p {
    color: #dbe2ff;
    margin: 7px 0 0;
    font-size: 12px;
}

.cta .button {
    background: #fff;
    color: var(--navy);
    white-space: nowrap;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #0c1422;
    color: #9da8ba;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer h3 {
    color: #fff;
    font-size: 17px;
}

.footer h4 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 13px;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 7px;
    font-size: 11px;
}

.footer-description {
    font-size: 11px;
    max-width: 300px;
    line-height: 2;
}

.copyright {
    border-top: 1px solid #202b3d;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 10px;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px) {

    .menu {
        display: none;
    }

    .hero-grid,
    .tehran {
        grid-template-columns: 1fr;
    }

    .document-area {
        max-width: 650px;
        margin: auto;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-item:nth-child(2) {
        border-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {

    .container {
        width: min(100% - 26px, 1180px);
    }

    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 12px;
    }

    .service {
        grid-template-columns: 55px 1fr;
    }

    .service-link {
        grid-column: 2;
        text-align: right;
    }

    .process,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .why-item:last-child {
        border-bottom: 0;
    }

    .cta {
        display: block;
        padding: 32px 25px;
    }

    .cta .button {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
