/**
 * Speak to Me CTA - Pill Buttons with Arrow Icons
 */

.stm-section {
	background: #5372B0;
	padding: 120px 60px;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Grainy texture overlay */
.stm-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
	opacity: 0.3;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.stm-content {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
}

.stm-heading {
	color: #ffffff;
	font-size: 56px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 60px;
	letter-spacing: -0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stm-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* Base Button Style */
.stm-btn {
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	font-size: 17px;
	padding: 16px 28px 16px 40px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.15);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stm-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

/* Primary Button */
.stm-btn.primary {
	background: rgba(255, 255, 255, 0.95);
	color: #1a1a1a;
	border-color: transparent;
}

.stm-btn.primary:hover {
	background: #ffffff;
	border-color: transparent;
}

.stm-btn.primary .stm-arrow-circle {
	background: #5372B0;
}

.stm-btn.primary .stm-arrow {
	color: #ffffff;
}

/* Secondary Button */
.stm-btn.secondary .stm-arrow-circle {
	background: #ffffff;
}

.stm-btn.secondary .stm-arrow {
	color: #5372B0;
}

/* Arrow Icon Circle */
.stm-arrow-circle {
	width: 36px;
	height: 36px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s ease;
	flex-shrink: 0;
}

.stm-arrow {
	width: 16px;
	height: 16px;
	color: #5372B0;
	transition: transform 0.4s ease;
}

/* Hover: rotate arrow to point top-right diagonal */
.stm-btn:hover .stm-arrow {
	transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: TABLET
═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
	.stm-section {
		padding: 80px 40px;
	}

	.stm-heading {
		font-size: 36px;
		margin-bottom: 40px;
	}

	.stm-buttons {
		flex-direction: column;
		width: 100%;
		max-width: 350px;
		margin: 0 auto;
	}

	.stm-btn {
		width: 100%;
		justify-content: center;
		font-size: 16px;
	}
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: MOBILE
═══════════════════════════════════════════════════════ */

@media (max-width: 480px) {
	.stm-section {
		padding: 60px 30px;
	}

	.stm-heading {
		font-size: 28px;
		margin-bottom: 35px;
	}
}
