@font-face {
    font-family: "Yekan Bakh FaNum 04";
    src: url("font/Yekan Bakh FaNum 04 Regular.woff") format("woff"),
    url("font/Yekan Bakh FaNum 04 Regular.eot") format("embedded-opentype"),
    url("font/Yekan Bakh FaNum 04 Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Yekan Bakh FaNum 08";
    src: url("font/Yekan Bakh FaNum 08 Fat.woff") format("woff"),
    url("font/Yekan Bakh FaNum 08 Fat.eot") format("embedded-opentype"),
    url("font/Yekan Bakh FaNum 08 Fat.ttf") format("truetype");
}

:root {
    --primary: #111827;
    --primary-soft: #1f2937;
    --blue: #2f5bea;
    --blue-dark: #2448c7;
    --text: #273142;
    --muted: #737b89;
    --border: rgba(25, 27, 35, 0.16);
    --surface: #f8f9fc;
    --white: #ffffff;
    --container: 1120px;
    --radius: 8px;
    --bg-primary: rgba(250, 251, 255, 1);
}

.b-radius {
    border-radius: var(--radius);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-primary);
    color: var(--text);
    font-weight: 400;
    font-family: "Yekan Bakh FaNum 04", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

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

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

.site-header {
    height: 123px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--blue);
    margin-top: -5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-inline: auto;
}

.main-nav a,
.phone-link {
    color: #535b69;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.phone-link:hover {
    color: var(--blue);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}
.phone-link svg {
    margin-bottom: -5px;
}

.hero {
    padding: 58px 0;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    direction: ltr;
}

.hero-content {
    direction: rtl;
}

.hero-image {
    order: -1;
    min-height: 300px;
}

.image-placed {
    display: grid;
    place-items: center;
    overflow: hidden;
}.image-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #eef1f6 0%, #dfe4ec 50%, #f5f6f9 100%);
    color: #9ca4b1;
    overflow: hidden;
}

.hero .video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hero .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #6d7480;
    font-size: 11px;
    font-weight: 500;
}
.eyebrow span {
    display: inline-block;
    margin-top: -28px;
}
.eyebrow span.tooltip {
    display: inline-block;
    margin-top: 8px;
}


.a-right {
    float: right;
}
.a-left {
    float: left;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    color: #171c27;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.35;
    font-weight: 700;
}

h2 {
    margin-bottom: 16px;
    color: #1b202b;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 700;
}

h3 {
    margin-bottom: 7px;
    color: #252b36;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
}

p {
    color: var(--muted);
    font-size: 16px;
}

.hero-content > p {
    max-width: 520px;
    margin-bottom: 24px;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 57px;
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    transition: 0.2s ease;
}
.button svg {
    vertical-align: middle;
    position: relative;
}
.button-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.button-primary:hover {
    background: var(--primary-soft);
}

.button-light {
    background: var(--white);
    color: #3f4754;
}

.button-light:hover {
    border-color: #c9ced7;
}

.button span {
    margin-inline-start: 8px;
}

.section {
    padding: 74px 0;
}

.section-light {
    background: var(--white);
}

.section-heading {
    max-width: 655px;
}

.section-heading.center {
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading.center p {
    max-width: 700px;
    margin-inline: auto;
}

.cards {
    display: grid;
    gap: 14px;
}

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

.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

.info-card,
.small-card,
.outline-card,
.product-card,
.article-card,
.horizontal-product {
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
}

.info-card {
    min-height: 277px;
    padding: 24px;
    text-align: center;
}

.card-icon {
    display: grid;
    width: 100%;
    height: 100px;
    margin: 0 auto 15px;
    place-items: center;
}

.info-card p,
.small-card p,
.outline-card p,
.article-card p,
.product-card p {
    margin-bottom: 0;
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.split-section-m {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 70px;
}

section#about{
    padding: 58px 0;
    border-bottom: 1px solid var(--border);
}

section#products{

}

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

.product-card {
    padding: 32px;
    text-align: center;
}

.product-image {
    width:100%;
    margin-bottom: 13px;
    border-radius: 3px;
}

.product-image img {
    width: auto;
    height: 244px;
    box-shadow: inset 0 0 20px 20px rgb(0 0 0 / 12%);
    padding: 15px;
}


.product-card h3,
.product-card p {
    padding-inline: 5px;
}

.card-link {
    display: block;
    margin-top: 14px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 3px;
    text-align: center;
    color: #000;
}


.slogan {
    background: var(--white);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slogan > .container {
    padding: 50px 0;
    position: relative;
}

.slogan > .container img {
    max-width: 100%;
}

.cta-section {
    padding: 55px 0;
    background: var(--blue) url("img/bg.png") no-repeat 0 center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cta-section > .container {
    position: relative;
}


.cta-section .eyebrow,
.cta-section p {
    color: rgba(255,255,255,.78);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto;
}

.services-section {
    direction: ltr;
}

.services-section > * {
    direction: rtl;
}

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

.small-card {
    min-height: 170px;
    padding: 22px;
    text-align: center;
}

.small-card .card-icon {
    margin-bottom: 10px;
}

.outline-card {
    min-height: 155px;
    padding: 24px;
}

.outline-card::before {
    content: "□";
    display: block;
    margin-bottom: 18px;
    color: #7b91d0;
    font-size: 16px;
}

.outline-card p {
    line-height: 1.9;
}

.horizontal-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.horizontal-product {
    padding: 10px;
}

.thumb {
    height: 120px;
    margin-bottom: 12px;
    border-radius: 3px;
}

.horizontal-product h3 {
    margin: 0 5px 2px;
}

.horizontal-product span {
    display: block;
    padding-inline: 5px;
    color: #8a919c;
    font-size: 10px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.client-logo {
    display: grid;
    min-height: 82px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: #68717f;
    font-size: 12px;
    font-weight: 600;
}

.client-logo img {
    width: 100%;
}
.article-image {
    height: 150px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.article-card {
    padding: 10px;
}

.article-card h3,
.article-card p {
    padding-inline: 5px;
}

.center-button {
    margin-top: 26px;
    text-align: center;
}

.site-footer {
    background: #171a22;
    color: #dce0e8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 55px;
    padding: 45px 0;
}

.footer-brand {
    color: white;
}

.footer-description {
    max-width: 270px;
    margin-top: 16px;
    color: #8d95a3;
    font-size: 11px;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #f2f4f7;
    font-size: 12px;
}

.site-footer a:not(.brand) {
    display: block;
    margin-bottom: 7px;
    color: #8d95a3;
    font-size: 10px;
}

.site-footer a:hover {
    color: white;
}

.footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    border-bottom: 1px solid #292e39;
    color: var(--white);
    padding: 25px 0;
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    letter-spacing: 5px;
}
.footer-address svg {
    margin-bottom: -5px;
}


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-top: 1px solid #292e39;
    color: #737b89;
    direction: rtl;
}

.social-links {
    display: flex;
    gap: 9px;
    direction: ltr;
}

.social-links a {
    display: grid !important;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    place-items: center;
    border: 1px solid #303641;
    border-radius: 3px;
    color: #9098a6 !important;
}

@media (max-width: 900px) {
    .main-nav {
        gap: 16px;
    }

    .hero-grid,
    .split-section {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-image {
        order: 0;
    }

    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 680px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .site-header {
        height: auto;
        padding: 16px 0;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-top: 8px;
    }

    .phone-link {
        display: none;
    }

    .hero-content p {
        display: none;
    }

    .scroll-down {
        display: none;
    }


    .hero {
        padding: 40px 0;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-image {
        min-height: 220px;
    }

    .section {
        padding: 52px 0;
    }

    .cards-3,
    .cards-4,
    .product-grid,
    .services-grid,
    .horizontal-products,
    .clients-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 18px 0;
        text-align: center;
    }
}


.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    cursor: help;
    user-select: none;
}
.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #222;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 10;
}
.tooltip::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #222;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 10;
}
.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.scroll-down {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
    animation: scroll-bounce 1.5s infinite;
    cursor: pointer;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 11px); }
}
