.csx-footer {
	direction: rtl;
	padding-top: 25px;
}

.csx-footer .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.csx-features {
	background: #fff;
	padding: 14px 0 32px;
}

.csx-features__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.csx-feature-card {
	height: 78px;
	border: 1px solid #DFE3E9;
	border-radius: 14px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: #525f73;
	font-weight: 600;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
	padding: 15px;
}

.csx-feature-card i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.csx-cta {
    background: #e4624d;
    border-top: 1px solid #ea7a66;
    border-bottom: 1px solid #ea7a66;
}

.csx-cta__inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.csx-cta__content h3 {
	margin: 0 0 6px;
	color: #ffffff;
	font-weight: 900;
	font-size: 32px;
	line-height: 122%;
	letter-spacing: -3%;
	text-align: right;
}

.csx-cta__content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: Vazirmatn;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: -3%;
	text-align: right;
}

.csx-cta__phone {
	color: #ffffff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	white-space: nowrap;
	font-weight: 900;
	font-size: 32px;
	line-height: 122%;
	letter-spacing: 4%;
	text-align: right;
}
.copyright-text {
 flex-wrap: wrap;
}
.copyright-text span::before {
	content: "|";
	margin-left: 8px;
}
.csx-main {
    background: radial-gradient(circle at 8% 45%, #0d295f 0%, #061739 46%, #051533 100%);
    position: relative;
    padding-top: 78px;
}

.csx-scroll-top {
    position: absolute;
    top: -30px;
    right: 162px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: #f2f4f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.csx-main__inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.9fr 0.95fr;
    gap: 0;
}

.csx-col {
	min-height: 338px;
	padding: 8px 36px 0;
	border-left: 1px solid rgba(181, 201, 232, 0.28);
	margin-bottom: 24px;
}

.csx-col:last-child {
    border-left: 0;
}

.csx-col--about {
    text-align: right;
}

.csx-logo-wrap img {
	max-width: 175px;
	width: 100%;
	height: auto;
	margin-bottom: 22px;
	filter: brightness(0) invert(1);
}

.csx-logo-fallback {
    font-size: 44px;
    font-weight: 800;
    color: #f6fbff;
    display: inline-block;
    margin-bottom: 22px;
}

.csx-col--about h4 {
	margin: 0 0 16px;
	color: #ffffff;
	font-weight: 900;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
}

.csx-col--about p, .csx-address {
	margin: 0;
	color: #d7e2f2;
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 0%;
	text-align: right;
}

.csx-link-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	color: #ec7765;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: -4%;
	text-align: right;
}

.csx-link-more span {
    display: inline-block;
    transform: translateY(-1px);
}

.csx-col--contact {
    text-align: center;
}

.csx-col h5 {
	margin: 0 0 20px;
	color: #ffffff;
	font-weight: 900;
	font-size: 16px;
	letter-spacing: 0%;
	text-align: right;
}

.csx-phone-main {
	color: #ffffff;
	text-decoration: none;
	display: block;
	margin-bottom: 18px;
	font-family: Vazirmatn;
	font-weight: 900;
	font-size: 24px;
	line-height: 122%;
	letter-spacing: 4%;
	text-align: right;
}
.csx-email {
	color: #d7e2f2;
	text-decoration: none;
	display: inline-block;
	margin: 18px 0 12px;
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
}

.csx-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	flex-direction: row-reverse;
}

.csx-socials a {
	width: 29px;
	height: 29px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	color: #ffffff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.csx-col--map {
    text-align: center;
}

.csx-col--map ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.csx-col--map li {
    margin-bottom: 12px;
}

.csx-col--map a {
	color: #d7e2f2;
	text-decoration: none;
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 0%;
	text-align: right;
	display: block;
}

.csx-col--trust {
    text-align: center;
}

.csx-enamad {
    width: 156px;
    height: 196px;
    border-radius: 14px;
    background: #f5f5f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.csx-enamad img {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.csx-copyright {
    border-top: 1px solid rgba(181, 201, 232, 0.34);
    margin-top: 8px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d7e2f2;
    font-size: 29px;
}

.csx-copyright p {
	margin: 0;
	font-weight: 200;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: -4%;
	text-align: right;
}

.csx-copyright span {
	white-space: nowrap;
	font-weight: 200;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: -4%;
	text-align: right;
}
.fixed-box { position: fixed; bottom: 25px; right: 40px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-start; direction: rtl; gap: 8px; }
.contact-dock { width: 148px; padding: 4px; box-sizing: border-box; background: #fff; border: 1px solid rgba(0,44,110,.08); border-radius: 26px; box-shadow: 0 6px 18px rgba(20,31,51,.1); }
.fixed-box.active .contact-dock { width: 62px; padding: 7px; border-radius: 31px; box-shadow: 0 8px 24px rgba(20,31,51,.12); }
.contact-dock .call-box {
	display: flex;
	align-items: center;
	gap: 9px;
	direction: ltr;
	width: 100%;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: #20242c;
	box-shadow: none;
	flex-direction: row-reverse;
}
.contact-toggle-icon { position: relative; display: block; width: 44px; height: 44px; flex: 0 0 44px; }
.contact-original-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #002C6E; }
.contact-original-icon svg { width: 21px; height: 20px; }
.contact-toggle-label { flex: 0 0 78px; font-size: 12.5px; line-height: 1; font-weight: 600; direction: rtl; text-align: right; white-space: nowrap; }
/* Reveal the Persian label from right to left, then collapse the capsule. */
.fixed-box:not(.active) .contact-dock { overflow: hidden; animation: contact-capsule 7s ease-in-out infinite; }
.fixed-box:not(.active) .contact-toggle-label { animation: contact-typing 7s steps(8, end) infinite; }
@keyframes contact-capsule {
    0%, 12%, 90%, 100% { width: 54px; }
    24%, 76% { width: 148px; }
}
@keyframes contact-typing {
    0%, 24%, 90%, 100% { clip-path: inset(0 0 0 100%); }
    42%, 64% { clip-path: inset(0 0 0 0); }
    76% { clip-path: inset(0 0 0 100%); }
}
.fixed-box:not(.active) .contact-dock:hover,
.fixed-box:not(.active) .contact-dock:focus-within { animation: none; width: 148px; }
.fixed-box:not(.active) .contact-dock:hover .contact-toggle-label,
.fixed-box:not(.active) .contact-dock:focus-within .contact-toggle-label { animation: none; clip-path: none; }
.contact-close { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; border: 5px solid #e9efff; border-radius: 50%; background: #20242c; }
.contact-close img { position: absolute; width: 14px; height: 3px; transform: rotate(45deg); }
.contact-close img + img { transform: rotate(-45deg); }
.fixed-box.active .contact-close { display: flex; }
.fixed-box.active .contact-original-icon, .fixed-box.active .contact-toggle-label { display: none; }
.contact-dock .menu-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; max-height: calc(100dvh - 210px); overflow-y: auto; scrollbar-width: none; }
.contact-dock .menu-box[hidden] { display: none; }
.contact-dock .menu-item { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; text-decoration: none; background: #f0f3f8; color: #20242c; }
.contact-dock .menu-item img { width: 27px; height: 27px; object-fit: contain; }
.contact-dock .contact-service--whatsapp { background: #1ed167; }
.contact-dock .contact-service--telegram { background: #20a0d6; }
.contact-dock .contact-service--instagram { background: linear-gradient(90deg,#f43572,#ff9c00,#8545a1); }
.contact-dock .contact-service--phone { background: #2acb56; }
.contact-dock .contact-service--custom img { width: 34px; height: 34px; }
.contact-dock .menu-item span { font-size: 10px; text-align: center; overflow-wrap: anywhere; }
.contact-dock a:focus-visible, .contact-dock button:focus-visible { outline: 3px solid #2469f6; outline-offset: 3px; }
.back-to-top { width: 52px; height: 52px; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.15); cursor: pointer; }
.back-to-top svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .contact-dock * { animation: none !important; transition: none !important; } }
/* ==== بخش بالا: متن و لوگو ==== */
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    padding-bottom: 50px;
}

.footer-top-text p {
    font-size: 15px;
    line-height: 2;
    color: #FFFFFF;
    margin: 0;
    text-align: right;
}
.footer-top-logo {
	min-width: 375px;
	max-width: 375px;
}
.footer-top-logo img {
	height: auto;
	width: 100%;
}

@media (max-width: 992px) {
    .csx-features__inner {
        grid-template-columns: 1fr 1fr;
    }

.csx-feature-card {
	font-size: 14px;
	height: 64px;
	justify-content: start;
}

    .csx-cta__inner {
        min-height: 92px;
        flex-direction: column;
        padding: 14px 0;
    }

    .csx-cta__content h3 {
        font-size: 24px;
        text-align: center;
    }

.csx-cta__content p {
	font-size: 14px;
	text-align: center;
	line-height: 26px;
}

.csx-cta__phone {
	font-size: 24px;
}
.csx-cta {
	padding: 25px 0;
}
    .csx-scroll-top {
        right: 50%;
        transform: translateX(50%);
    }

    .csx-main__inner {
        grid-template-columns: 1fr;
    }

    .csx-col {
        border-left: 0;
        border-bottom: 1px solid rgba(181, 201, 232, 0.28);
        min-height: auto;
        padding: 26px 18px;
    }

    .csx-col--about h4,
    .csx-col h5,
    .csx-phone-main {
        font-size: 20px;
    }

    .csx-col--about p,
    .csx-address,
    .csx-email,
    .csx-col--map a,
    .csx-link-more,
    .csx-copyright {
        font-size: 14px;
    }

    .csx-copyright {
        min-height: 50px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
    }
}

@media (max-width:767px){
	.csx-features__inner {
	grid-template-columns: 1fr;
	gap: 8px;
	padding: 0 15px !important;
}
.fixed-box {
	bottom: 100px;
	right: 15px;
}
.call-box,.back-to-top {
	width: 45px;
	height: 45px;
}
}

/* mobile bottom nav */
/* ========= Mobile Bottom Nav (Woo/WordPress) ========= */
.mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #F6FAFF;
	border: 1px solid #e8ebef;
	box-shadow: 0 4px 18px rgba(23, 35, 61, 0.08);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
	z-index: 99999;
	direction: rtl;
	padding: 8px 6px;
	gap: 6px;
}
.mobile-bottom-nav .mb-item {
	position: relative;
	text-decoration: none;
	color: #8f98a6;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	height: 100%;
	border-radius: 8px;
	transition: color .2s ease, background-color .2s ease;
	padding: 5px;
	flex-direction: column;
}

.mobile-bottom-nav .mb-item.active {
	color: #001F52;
	background: #ECF1FA;
}

.mobile-bottom-nav .mb-icon{
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-bottom-nav .mb-icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-bottom-nav .mb-label {
	white-space: nowrap;
	font-size: 10px;
	margin-top: 5px;
}

.mobile-bottom-nav .mb-badge{
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d5a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

/* فضای خالی پایین صفحه برای اینکه محتوا زیر منو نره */
body{
  padding-bottom: 65px;
}
.container.csx-copyright {
	padding: 15px;
}
/* فقط موبایل */
@media (min-width: 768px){
  .mobile-bottom-nav{
    display: none !important;
  }
  body{
    padding-bottom: 0 !important;
  }
}
@media (max-width: 768px){
  .copyright-text {
	justify-content: center;
}
.csx-col.csx-col--trust {
	border-bottom: 0 !important;
}
}
