/* ==========================================================================
   کال‌تواکشن استعلام قیمت و تماس - استایل فرانت‌اند
   ========================================================================== */

.ctapi-cta-wrap {
	direction: rtl;
	font-family: 'Vazirmatn', 'IRANSans', Tahoma, Arial, sans-serif;
	margin: 40px 0 20px;
	width: 100%;
	box-sizing: border-box;
}

.ctapi-cta-wrap * {
	box-sizing: border-box;
}

.ctapi-cta-box {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	padding: 44px 36px;
	text-align: center;
	background: linear-gradient(135deg, #0f2027 0%, #1a3a4a 45%, #145374 100%);
	box-shadow: 0 18px 40px rgba(10, 35, 50, 0.28);
}

.ctapi-cta-glow {
	position: absolute;
	top: -60px;
	right: -60px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(255, 165, 0, 0.35) 0%, rgba(255, 165, 0, 0) 70%);
	pointer-events: none;
}

.ctapi-cta-box::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: -80px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(0, 200, 180, 0.25) 0%, rgba(0, 200, 180, 0) 70%);
	pointer-events: none;
}

.ctapi-cta-content {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 0 auto;
}

.ctapi-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffd27a;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
	border: 1px solid rgba(255, 210, 122, 0.35);
}

.ctapi-badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #29d19a;
	box-shadow: 0 0 0 0 rgba(41, 209, 154, 0.7);
	animation: ctapi-dot-pulse 1.6s infinite;
}

@keyframes ctapi-dot-pulse {
	0% { box-shadow: 0 0 0 0 rgba(41, 209, 154, 0.65); }
	70% { box-shadow: 0 0 0 8px rgba(41, 209, 154, 0); }
	100% { box-shadow: 0 0 0 0 rgba(41, 209, 154, 0); }
}

.ctapi-title {
	color: #ffffff;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.5;
	margin: 0 0 12px;
}

.ctapi-subtitle {
	color: #cfe3ee;
	font-size: 15.5px;
	line-height: 2;
	margin: 0 0 30px;
}

.ctapi-btn-row {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ctapi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	min-width: 230px;
	line-height: 1.3;
}

.ctapi-btn:hover,
.ctapi-btn:focus {
	transform: translateY(-3px);
	text-decoration: none;
}

.ctapi-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* دکمه استعلام قیمت */
.ctapi-btn-price {
	background: #ffffff;
	color: #0f2027;
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.ctapi-btn-price:hover {
	background: #ffd27a;
	color: #22160a;
	box-shadow: 0 12px 26px rgba(255, 210, 122, 0.35);
}

/* دکمه تماس - رنگ شاخص برای بیشترین جلب توجه و کلیک */
.ctapi-btn-phone {
	background: linear-gradient(135deg, #ff7a18, #ff3d3d);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(255, 61, 61, 0.4);
	animation: ctapi-btn-attention 2.4s ease-in-out infinite;
}

.ctapi-btn-phone:hover {
	color: #ffffff;
	box-shadow: 0 14px 30px rgba(255, 61, 61, 0.55);
}

@keyframes ctapi-btn-attention {
	0%, 100% { box-shadow: 0 10px 24px rgba(255, 61, 61, 0.4); }
	50% { box-shadow: 0 10px 32px rgba(255, 61, 61, 0.7); }
}

.ctapi-pulse svg {
	animation: ctapi-ring 1.4s ease-in-out infinite;
	transform-origin: 70% 30%;
}

@keyframes ctapi-ring {
	0%, 100% { transform: rotate(0deg); }
	15% { transform: rotate(18deg); }
	30% { transform: rotate(-14deg); }
	45% { transform: rotate(10deg); }
	60% { transform: rotate(0deg); }
}

.ctapi-btn-phone-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: right;
}

.ctapi-btn-phone-text small {
	font-size: 11px;
	font-weight: 500;
	opacity: 0.9;
	margin-bottom: 2px;
}

/* ریسپانسیو */
@media (max-width: 600px) {
	.ctapi-cta-box {
		padding: 32px 18px;
		border-radius: 16px;
	}

	.ctapi-btn-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ctapi-btn {
		width: 100%;
		min-width: 0;
	}

	.ctapi-subtitle {
		font-size: 14px;
	}
}
