@font-face {
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.woff') format('woff');
    src: url('../fonts/IRANSansWeb.ttf') format('truetype');
    font-family: 'IRANSansXFaNum';
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #020b19;
    color: #f4f8ff;
    font-family: IRANSansXFaNum;
    font-size: 14px
}

a {
    color: inherit;
    text-decoration: none
}

input, select, button {
    font: inherit
}

.header {
    height: 70px;
    background: linear-gradient(110deg, #020d20, #06172c);
    border-bottom: 1px solid #12385b
}

.navwrap {
    height: 100%;
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.logo {
    position: absolute;
    right: 12px;
    top: 5px;
    width: 160px;
    height: 60px;
    overflow: visible;
    z-index: 4
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.navwrap nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 200px
}

.navwrap nav a {
    font-size: 14px;
    padding: 10px 20px;
    color: #dbe9f9;
    border-radius: 10px
}

.navwrap nav a.current {
    background: linear-gradient(135deg, #003c78, #008fff);
    box-shadow: 0 0 20px #008bff44;
    font-weight: 700
}

.navwrap nav a.current span {
    font-size: 23px;
    margin-right: 9px;
    vertical-align: middle
}

.hamb {
    display: none
}

.hero {
    display: grid;
    grid-template-columns:44.2% 24% 31.8%;
    min-height: 256px;
    background: #041327;
    align-items: stretch;
    position: relative
}

.hero-photo {
    background: url('../assets/hero.jpg') center/cover no-repeat;
    position: relative;
    min-height: 256px;
    border-bottom: 1px solid #0d4875
}

.slide-arrow {
    position: absolute;
    left: 18px;
    top: 45%;
    width: 42px;
    height: 42px;
    border: 1px solid #00baff;
    background: #04192dcc;
    color: #19c5ff;
    border-radius: 50%;
    font-size: 35px;
    line-height: 25px;
    cursor: pointer
}

.slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.slide-dots i {
    height: 11px;
    width: 11px;
    border-radius: 50%;
    background: #78889d
}

.slide-dots i.on {
    width: 22px;
    border-radius: 10px;
    background: linear-gradient(90deg, #007cff, #27d1ff)
}

.hero-message {
    text-align: center;
    align-self: center;
    padding: 12px 15px
}

.hero-message h1 {
    font-size: 30px;
    text-align: center;
    margin: 0;
    font-weight: 800;
    line-height: 1.7
}

.hero-message h2 {
    font-size: 30px;
    text-align: center;
    margin: 0;
    color: #00c6ff;
    line-height: 1.7;
    font-weight: 800;
}

.hero-message p {
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 0
}

.quick-form {
    margin: 16px 18px 25px 18px;
    padding: 16px 20px;
    border: 1px solid #008bcb;
    border-radius: 15px;
    background: linear-gradient(145deg, #081d35, #041326);
    box-shadow: 0 0 18px #007bff12
}

.quick-form h3 {
    font-size: 20px;
    margin: 0 0 13px;
    text-align: right;
}

.quick-form h3 b {
    color: #00c5ff;
    font-size: 22px
}

.fields {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.fields input, .fields select {
    width: 100%;
    min-width: 0;
    background: linear-gradient(#142943, #10223a);
    color: white;
    border: 1px solid #253c58;
    border-radius: 9px;
    padding: 9px 12px;
    outline: 0;
    font-size: 12px
}

.fields input::placeholder {
    color: #fff
}

.fields select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #10223a;
    color: #fff;
    border: 1px solid #253c58;
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%2300c5ff'/></svg>");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 30px;
}
.fields select:focus {
    outline: none;
    border-color: #00c5ff;
    box-shadow: 0 0 0 2px #00c5ff33;
}

.fields button {
    grid-column: 1/-1;
    background: linear-gradient(90deg, #0075e7, #00a7ff);
    color: white;
    border: 1px solid #12baff;
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 14px #009dff44
}

.benefits {
    margin: 0 auto;
    position: relative;
    z-index: 3;
    width: calc(100% - 50px);
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    border: 1px solid #087ab4;
    border-radius: 14px;
    background: linear-gradient(90deg, #071a31, #020d1c);
    min-height: 82px;
    padding: 9px 8px;
    box-shadow: 0 8px 25px #0005
}

.benefits article {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-left: 1px solid #00a7e866
}

.benefits article:last-child {
    border: 0
}

.bicon {
    font-size: 38px;
    color: #00c3ff;
    filter: drop-shadow(0 0 8px #008bff);
    min-width: 50px;
    text-align: center
}

.benefits strong {
    display: block;
    font-size: 15px
}

.benefits small {
    display: block;
    font-size: 12px;
    color: #d0e2f3
}

.about {
    display: grid;
    grid-template-columns:34% 24% 42%;
    align-items: center;
    min-height: 170px;
    margin-top: 0;
    background: linear-gradient(90deg, #06162c, #021125);
    border-bottom: 1px solid #12486c;
    position: relative;
    overflow: hidden
}

.about-photo {
    height: 168px;
    background: url('../assets/about.jpg') left center/cover no-repeat
}

.about-text {
    text-align: center;
    padding: 10px 18px
}

.about-text h2 {
    font-size: 26px;
    margin: 0 0 8px;
    text-align: right;
}

.about-text p {
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
    text-align: justify;
}

.perks {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    padding: 10px
}

.perks article {
    text-align: center
}

.perks i {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #009ddd;
    display: grid;
    place-items: center;
    margin: auto auto 8px;
    font-size: 27px;
    color: #00c2ff;
    font-style: normal;
    box-shadow: 0 0 15px #009bff22
}

.perks b {
    font-size: 12px;
    white-space: nowrap
}

.services {
    padding: 10px 2.5% 14px;
    margin-top: 30px;
}

.section-title {
    font-size: 17px;
    margin: 0 0 25px;
    font-weight: 800;
}

.service-row {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.svc {
    height: 107px;
    border: 1px solid #0688bd;
    border-radius: 12px;
    background-position: left center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: .2s
}

.svc:hover {
    border-color: #00c8ff;
    box-shadow: 0 0 15px #00aaff30;
    transform: translateY(-2px)
}

.svc > div {
    margin-right: auto;
    text-align: right;
    padding: 10px 20px;
    width: 54%;
    background: linear-gradient(90deg, transparent, #06182b99)
}

.svc h3 {
    font-size: 14px;
    margin: 0 0 3px
}

.svc p {
    font-size: 11px;
    margin: 0 0 7px
}

.svc a {
    border: 1px solid #00c7ff;
    color: #dff8ff;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 11px
}

.svc.car {
    background-image: linear-gradient(90deg, #06172b00 30%, #04162b99), url('../assets/service-car.jpg')
}

.svc.key {
    background-image: linear-gradient(90deg, #06172b00 30%, #04162b99), url('../assets/service-key.jpg')
}

.svc.doc {
    background-image: linear-gradient(90deg, #06172b00 30%, #04162b99), url('../assets/service-doc.jpg')
}

.reviews {
    position: relative;
    padding: 0 2.5% 15px
}

.reviews .section-title {
    margin-bottom: 25px
}

.review-row {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 15px
}

.review-row article {
    background: linear-gradient(110deg, #11243b, #0a1b31);
    border-radius: 13px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px
}

.review-row img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #00aaff
}

.review-row b {
    font-size: 13px
}

.review-row p {
    font-size: 11px;
    margin: 3px 0 0
}

.stars {
    color: #ffbd18;
    font-size: 13px;
    letter-spacing: 1px
}

.review-arrow {
    position: absolute;
    top: 42px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid #00bfff;
    border-radius: 50%;
    color: #00c6ff;
    background: #031426;
    font-size: 26px;
    cursor: pointer
}

.review-arrow.prev {
    left: 15px
}

.review-arrow.next {
    right: 15px
}

.signup {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #003c7d, #03162b 45%, #0065bc);
    border-block: 1px solid #00baff;
    margin-top: 30px;
}

.cta-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: url('../assets/cta-car.jpg') center/cover;
    mask-image: linear-gradient(90deg, black, transparent)
}

.signup strong {
    font-size: 17px;
    color: #00c3ff
}

.signup > a {
    background: linear-gradient(90deg, #0089ff, #00baff);
    border: 1px solid #00caff;
    border-radius: 13px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 15px #00aaff66
}

.chevrons {
    position: absolute;
    left: 8%;
    color: #00baff;
    font-size: 32px;
    letter-spacing: -8px;
    opacity: .8
}

footer {
    background: #020b18;
    border-top: 1px solid #16405e
}

.footer {
    display: grid;
    grid-template-columns:1fr 1.2fr 1fr .5fr;
    align-items: center;
    min-height: 90px;
    padding: 12px 5%;
    gap: 15px;
    text-align: center
}

.footer > div {
    border-left: 1px solid #00a5d966;
    min-height: 60px
}

.footer > div:last-child {
    border: 0
}

.footer h4 {
    font-size: 12px;
    margin: 0 0 6px
}

.footer p {
    font-size: 11px;
    line-height: 1.8;
    margin: 0
}

.social {
    display: flex;
    justify-content: center;
    gap: 13px
}

.social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #067acb;
    display: grid;
    place-items: center;
    font-size: 15px
}

.footer-logo img {
    width: 90px;
    height: 72px;
    object-fit: contain
}

.copyright {
    text-align: center;
    border-top: 1px solid #173149;
    padding: 6px;
    font-size: 11px;
    color: #c8d7e6
}

.request-modal {
    display: none
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns:40% 28% 32%
    }

    .quick-form {
        padding: 13px
    }

    .about {
        grid-template-columns:30% 27% 43%
    }

    .perks {
        padding: 5px
    }

    .perks i {
        width: 52px;
        height: 52px
    }

    .benefits strong {
        font-size: 13px
    }

    .svc > div {
        width: 60%;
        padding-inline: 12px
    }

    .review-row article {
        gap: 7px
    }

    .review-row p {
        font-size: 10px
    }
}

@media (max-width: 760px) {
    .header {
        height: 65px
    }

    .navwrap {
        justify-content: space-between;
        padding: 0 12px
    }

    .logo {
        position: static;
        width: 105px;
        height: 53px
    }

    .hamb {
        display: block;
        background: #07223c;
        border: 1px solid #1c638d;
        border-radius: 8px;
        color: white;
        padding: 6px 10px
    }

    .navwrap nav {
        display: none;
        position: absolute;
        top: 65px;
        right: 8px;
        left: 8px;
        margin: 0;
        z-index: 20;
        background: #06172b;
        border: 1px solid #1175a6;
        border-radius: 12px;
        flex-direction: column;
        gap: 3px;
        padding: 10px
    }

    .navwrap nav.open {
        display: flex
    }

    .navwrap nav a {
        padding: 9px
    }

    .hero {
        grid-template-columns:1fr
    }

    .hero-photo {
        min-height: 220px;
        order: 1
    }

    .hero-message {
        order: 2;
        padding: 22px 10px
    }

    .quick-form {
        order: 3;
        margin: 0 12px 20px
    }

    .hero-message h1 {
        font-size: 30px
    }

    .hero-message h2 {
        font-size: 28px
    }

    .benefits {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        width: 92%;
        gap: 10px;
        padding: 12px;
        min-height: auto;
    }

    .benefits article {
        flex-direction: column;        /* آیکن بالا، متن پایین */
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 12px 8px;
        border: 1px solid #0a5b8a55;
        border-radius: 10px;
        background: rgba(0, 140, 220, 0.06);
    }

    .bicon {
        font-size: 30px;
        min-width: auto;
        margin: 0;
    }

    .benefits strong {
        font-size: 12.5px;
        line-height: 1.4;
    }

    .benefits small {
        font-size: 10.5px;
        line-height: 1.4;
    }


    .about {
        grid-template-columns:1fr 1fr
    }

    .about-photo {
        grid-column: 1/-1;
        height: 180px
    }

    .about-text {
        grid-column: 1/-1;
        padding: 20px
    }

    .perks {
        grid-column: 1/-1;
        grid-template-columns:repeat(4, 1fr);
        padding: 12px
    }

    .perks i {
        width: 48px;
        height: 48px;
        font-size: 22px
    }

    .perks b {
        font-size: 10px
    }

    .service-row {
        grid-template-columns:1fr;
        gap: 12px
    }

    .svc {
        height: 125px
    }

    .svc > div {
        width: 55%
    }

    .review-row {
        grid-template-columns:1fr
    }

    .review-row article {
        min-height: 80px
    }

    /*.review-row article:not(:first-child) {*/
    /*    display: none*/
    /*}*/

    .reviews {
        padding-inline: 7%
    }

    .review-arrow.prev {
        left: 0
    }

    .review-arrow.next {
        right: 0
    }

    .signup {
        height: auto;
        min-height: 90px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
        text-align: center
    }

    .signup strong {
        font-size: 14px
    }

    .chevrons {
        display: none
    }

    .cta-image {
        opacity: .25
    }

    .footer {
        grid-template-columns:1fr 1fr;
        gap: 12px
    }

    .footer > div {
        border: 0
    }

    .footer-logo {
        display: none
    }
}

@media (max-width: 440px) {
    .fields {
        grid-template-columns:1fr
    }

    .fields button {
        grid-column: auto
    }

    .perks {
        gap: 2px
    }

    .perks b {
        white-space: normal
    }

    .footer {
        grid-template-columns:1fr
    }

    .hero-photo {
        min-height: 190px
    }
}

/* Refinements: flex-based layout, typography and alignment */
body {
    font-family: Estedad, Vazirmatn, Tahoma, sans-serif;
    font-size: 14px;
    letter-spacing: 0
}

.hero {
    display: flex;
    direction: ltr;
    min-height: 256px
}

.hero-photo {
    flex: 0 0 44.2%;
    width: 44.2%;
    order: 1
}

.hero-message {
    direction: rtl;
    flex: 0 0 24%;
    width: 24%;
    order: 2
}

.quick-form {
    direction: rtl;
    flex: 1;
    order: 3;
    min-width: 0
}

.benefits {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.benefits article {
    flex: 1 1 25%;
    min-width: 0
}

.about {
    display: flex;
    direction: ltr;
    align-items: stretch;
    margin-top: 30px;
}

.about-photo {
    flex: 0 0 34%;
    width: 34%;
    direction: rtl
}

.about-text {
    flex: 0 0 24%;
    width: 24%;
    direction: rtl
}

.perks {
    flex: 1;
    direction: rtl;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around
}

.perks article {
    flex: 1 1 25%;
    min-width: 0
}

.service-row {
    display: flex;
    direction: rtl;
    gap: 18px
}

.service-row .svc {
    flex: 1 1 0;
    min-width: 0
}

.svc > div {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 55%;
    padding: 10px 16px;
    background: linear-gradient(90deg, transparent, #06182b99);
    direction: rtl
}

.review-row {
    display: flex;
    direction: rtl;
    gap: 15px
}

.review-row article {
    flex: 1 1 0;
    min-width: 0
}

.footer {
    display: flex;
    direction: ltr;
    align-items: center
}

.footer > div {
    flex: 1 1 0;
    direction: rtl
}

.footer > div:first-child {
    flex: 1.05
}

.footer > div:nth-child(2) {
    flex: 1.1
}

.footer > div:nth-child(3) {
    flex: 1
}

.footer > div:last-child {
    flex: .5
}

.footer .social {
    direction: ltr
}

.hero-photo {
    background-position: center center;
    transition: background-image .45s ease
}

@media (max-width: 1050px) {
    .hero-photo {
        flex-basis: 40%;
        width: 40%
    }

    .hero-message {
        flex-basis: 28%;
        width: 28%
    }

    .quick-form {
        flex: 1
    }

    .about-photo {
        flex-basis: 30%;
        width: 30%
    }

    .about-text {
        flex-basis: 27%;
        width: 27%
    }

    .perks {
        flex: 1
    }

    .svc > div {
        width: 58%
    }
}

@media (max-width: 760px) {
    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-photo {
        order: 1;
        width: 100%;
        flex: auto;
        min-height: 220px;
        touch-action: pan-y;
    }

    .hero-message {
        order: 2;
        width: 100%;
        flex: auto
    }

    .quick-form {
        order: 3;
        width: auto;
        flex: auto
    }

    .about {
        display: flex;
        flex-direction: column;
        direction: rtl
    }

    .about-photo {
        width: 100%;
        flex: auto;
        min-height: 180px
    }

    .about-text {
        width: 100%;
        flex: auto
    }

    .perks {
        width: 100%;
        flex: auto;
        display: flex;
        flex-wrap: nowrap
    }

    .service-row {
        display: flex;
        flex-direction: column
    }

    .service-row .svc {
        width: 100%;
        flex: auto
    }

    .review-row {
        display: flex;
        flex-direction: column
    }

    .review-row article {
        width: 100%;
        flex: auto
    }

    .footer {
        display: flex;
        flex-wrap: nowrap;
        direction: rtl;
        flex-direction: column;
    }

    .footer > div {
        flex: 1 1 45%;
        direction: rtl
    }

    .footer > div:last-child {
        display: none
    }

    .svc > div {
        width: 55%
    }
}

@media (max-width: 440px) {
    .perks {
        flex-wrap: wrap
    }

    .perks article {
        flex: 1 1 22%
    }

    .service-row .svc {
        flex: auto
    }

    .footer > div {
        flex: 1 1 100%
    }
}


/* Professional responsive review carousel */
.reviews {
    position: relative;
    overflow: hidden;
    padding: 0 52px 18px;
    margin-top: 30px;
}

.review-viewport {
    width: 100%;
    overflow: hidden;
    direction: rtl;
    position: relative;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.review-viewport.dragging {
    cursor: grabbing;
}

.review-row {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl;
    gap: 14px !important;
    width: max-content !important;
    transform: translateX(0);
    transition: transform .38s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
    flex-wrap: nowrap !important;
}

.review-row article {
    box-sizing: border-box;
    flex: 0 0 290px !important;   /* عرض ثابت */
    width: 290px !important;
    min-width: 0;
    pointer-events: none;
}

.review-row article img,
.review-row article * {
    pointer-events: none;
}

.review-arrow {
    top: 58%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    z-index: 3;
}

.review-arrow.prev { right: 8px; left: auto; }
.review-arrow.next { left: 8px;  right: auto; }

@media (max-width: 760px) {
    .reviews {
        padding-inline: 42px;
    }

    /* وسط‌چین کردن کارت روی موبایل */
    .review-viewport {
        padding-inline: calc((100% - 290px) / 2);
    }

    .review-row {
        gap: 14px !important;
    }
}