@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("/assets/fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("/assets/fonts/vazirmatn-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #faf7f5;
    --surface: #ffffff;
    --ink: #241617;
    --muted: #5f4b4e;
    --line: #e7d6d2;
    --brand: #7d1416;
    --brand-strong: #5f0f11;
    --brand-light: #f4d5d1;
    --heat: #b86d23;
    --green: #1f7a5a;
    --navy: #241617;
    --shadow: 0 18px 48px rgba(36, 22, 23, .1);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(125, 20, 22, .08), transparent 28rem),
        linear-gradient(180deg, #7d1416 0, #5f0f11 24rem, #faf7f5 24rem);
    line-height: 1.9;
    overflow-x: hidden;
    font-feature-settings: "ss01" 1;
    text-rendering: optimizeLegibility;
}

main,
.site-header {
    max-width: 100vw;
    overflow-x: hidden;
}

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

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

.container {
    width: calc(100% - 32px);
    max-width: 1160px;
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 1000;
    transform: translateY(-150%);
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(95, 15, 17, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
}

.topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar a {
    direction: ltr;
    font-weight: 700;
    color: var(--brand-light);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand span {
    min-width: 0;
}

.brand img {
    width: 44px;
    height: 44px;
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
}

.brand small {
    display: block;
    color: var(--brand-light);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #f8ece9;
    font-size: 14px;
    font-weight: 700;
}

.nav-links a {
    white-space: nowrap;
}

.nav-cta {
    background: #fff;
    color: var(--brand);
    padding: 10px 16px;
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    padding: 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 76svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero picture,
.hero img,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero img {
    object-fit: cover;
    object-position: center left;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(14, 18, 29, .05), rgba(14, 18, 29, .72) 48%, rgba(14, 18, 29, .92)),
        linear-gradient(0deg, rgba(14, 18, 29, .28), rgba(14, 18, 29, .08));
}

.hero__content {
    position: relative;
    padding-block: 70px;
    max-width: 1160px;
    width: calc(100% - 32px);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.hero .eyebrow {
    color: var(--brand-light);
}

.hero h1 {
    margin: 0;
    max-width: min(680px, 100%);
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.16;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.hero__lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 2vw, 20px);
    overflow-wrap: break-word;
}

.hero__actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 6px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}

.btn-outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(680px, 100%);
    gap: 1px;
    margin: 36px 0 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .2);
}

.hero__facts div {
    padding: 14px 16px;
    background: rgba(255, 255, 255, .1);
}

.hero__facts dt {
    font-size: 12px;
    color: rgba(255, 255, 255, .68);
}

.hero__facts dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.quick-strip {
    background: var(--brand-strong);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.quick-strip__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, .16);
}

.quick-strip a {
    background: rgba(255, 255, 255, .08);
    padding: 18px 22px;
    color: #fff;
}

.quick-strip span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.quick-strip strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.section {
    padding-block: 88px;
}

.services {
    color: var(--ink);
    background: #f8f1ee;
}

.services .eyebrow {
    color: var(--brand);
}

.services .section-heading p {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.35;
    letter-spacing: 0;
}

.section-heading p,
.process p,
.about__copy p,
.contact p {
    color: var(--muted);
}

.services .section-heading p,
.contact p {
    color: rgba(255, 255, 255, .78);
}

.services .section-heading p {
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    min-height: 245px;
    box-shadow: 0 8px 24px rgba(23, 23, 23, .05);
    color: var(--ink);
}

.service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7e4e0;
    color: var(--brand-strong);
    font-weight: 900;
}

.service-card h3 {
    margin: 22px 0 8px;
    font-size: 19px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.process {
    background: var(--navy);
    color: #fff;
}

.process .eyebrow {
    color: var(--brand-light);
}

.process p {
    color: rgba(255, 255, 255, .74);
}

.process__layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.timeline li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
}

.timeline strong {
    color: var(--brand-light);
}

.timeline span {
    color: rgba(255, 255, 255, .82);
}

.about {
    background: #fff;
}

.about__layout,
.contact__layout {
    display: grid;
    grid-template-columns: 1fr .82fr;
    gap: 48px;
    align-items: center;
}

.stats {
    display: grid;
    gap: 12px;
}

.stats div {
    border-right: 4px solid var(--brand);
    background: #fff7f5;
    border-radius: var(--radius);
    padding: 20px;
}

.stats strong,
.stats span {
    display: block;
}

.stats span {
    margin-top: 4px;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

details p {
    color: var(--muted);
    margin-bottom: 0;
}

.contact {
    background: linear-gradient(135deg, #7d1416, #4d0b0d);
}

.contact .eyebrow {
    color: var(--brand-light);
}

.contact p {
    color: rgba(255, 255, 255, .78);
}

.contact .btn-outline {
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
}

.contact .btn-primary {
    background: #fff;
    color: var(--brand);
}

.contact-card {
    font-style: normal;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 26px;
    box-shadow: var(--shadow);
}

.contact-card div + div {
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-top: 16px;
}

.contact-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.contact-card strong {
    display: block;
    margin-top: 4px;
    color: #241617;
    font-weight: 800;
}

.contact-card a {
    color: #7d1416;
    text-decoration: none;
}

.contact-card a:hover {
    color: #4d0b0d;
}

.site-footer {
    background: #241617;
    color: rgba(255, 255, 255, .78);
    padding-block: 28px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer__inner p {
    margin: 0;
}

.footer__inner div {
    display: flex;
    gap: 18px;
}

.floating-call {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 40;
    background: var(--green);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(18, 113, 91, .28);
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        inset: 110px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        color: var(--ink);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 6px;
    }

    .hero {
        min-height: 72svh;
    }

    .hero__overlay {
        background:
            linear-gradient(90deg, rgba(14, 18, 29, .18), rgba(14, 18, 29, .78) 55%, rgba(14, 18, 29, .94)),
            linear-gradient(0deg, rgba(14, 18, 29, .38), rgba(14, 18, 29, .08));
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process__layout,
    .about__layout,
    .contact__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: 100%;
        padding-inline: 12px;
    }

    .nav {
        gap: 10px;
    }

    .brand {
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand strong,
    .brand small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar__inner,
    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-block: 10px;
    }

    .hero {
        min-height: 74svh;
    }

    .hero__content {
        padding-block: 46px;
        width: 100%;
        max-width: 100%;
        padding-inline: 12px;
        text-align: center;
    }

    .hero h1 {
        margin-inline: auto;
        max-width: 340px;
        font-size: 28px;
        line-height: 1.35;
    }

    .hero__lead {
        margin-inline: auto;
        max-width: 340px;
        font-size: 16px;
    }

    .hero__actions,
    .contact-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .quick-strip__inner,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero__facts {
        margin-inline: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__facts div,
    .quick-strip a {
        padding-inline: 14px;
    }

    .hero__facts div {
        padding: 10px 8px;
    }

    .hero__facts dt {
        font-size: 11px;
    }

    .hero__facts dd {
        font-size: 13px;
        line-height: 1.5;
    }

    .section {
        padding-block: 62px;
    }

    .timeline li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .floating-call {
        right: 12px;
        left: 12px;
        text-align: center;
    }
}
