/* Moved verbatim from resources/views/sections/hero_section.blade.php */
:root {
	--hero-bg-deep: var(--night-900);
	--hero-card-bg: rgba(79, 20, 96, 0.88);
	--hero-text-soft: rgba(245, 238, 250, 0.84);
	--hero-border-soft: rgba(255, 255, 255, 0.12);
	--hero-accent: #ff9800;
	--hero-link-blue: #8ba8ff;
}

.msm-hero-v2,
.msm-hero-v2 * {
	box-sizing: border-box;
}

.msm-hero-v2 {
	position: relative;
	min-height: 600px;
	background-color: var(--hero-bg-deep);
	/* --hero-bg is set inline on the <section> from the CMS image. */
	background-image: linear-gradient(106deg, rgba(35, 4, 50, 0.95) 0%, rgba(41, 5, 56, 0.93) 46%, rgba(31, 3, 43, 0.95) 100%), var(--hero-bg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}

.msm-hero-v2__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 14%, rgba(90, 0, 120, 0.2) 0%, rgba(90, 0, 120, 0) 40%),
		radial-gradient(circle at 74% 26%, rgba(145, 80, 255, 0.12) 0%, rgba(145, 80, 255, 0) 46%),
		rgba(16, 0, 23, 0.2);
	z-index: 1;
}

.msm-hero-v2 .container {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding-block: clamp(58px, 6vw, 84px) 40px;
	padding-inline: 20px;
}

.msm-hero-v2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.92fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 2vw, 36px);
}

.msm-hero-v2__left h1 {
	margin: 0 0 24px;
	font-family: 'Playfair Display SC', 'Playfair Display SC Fallback', serif;
	font-size: clamp(2.15rem, 4.05vw, 4.05rem);
	line-height: 1.12;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: capitalize ! important;
}

.msm-hero-v2__left p {
	margin: 0 0 38px;
	max-width: 530px;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: clamp(0.97rem, 1.2vw, 1.36rem);
	line-height: 1.72;
	color: var(--hero-text-soft);
}

.msm-hero-v2__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.msm-hero-v2__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	border-radius: 12px;
	padding-block: 7px;
	padding-inline: 20px 7px;
	text-decoration: none;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #240a1d;
	background: linear-gradient(180deg, #ffad21 0%, #ff8d00 100%);
	box-shadow: 0 12px 28px rgba(255, 143, 0, 0.34);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.msm-hero-v2__btn:hover {
	transform: translateY(-2px);
	color: #240a1d;
	box-shadow: 0 16px 30px rgba(255, 143, 0, 0.4);
}

.msm-hero-v2__btn-icon {
	width: 42px;
	height: 42px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.16);
	font-size: 1rem;
	color: #2f1f0f;
}

.msm-hero-v2__social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.social-text {
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}

.social-links {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}

.social-links a {
	position: relative;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 15px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
	background: #fff;
	color: #2d0740;
}

.msm-hero-v2__center {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.msm-hero-v2__person-container {
	position: relative;
	width: min(860px, 100%);
	max-width: 100%;
}

.msm-hero-v2__person-container img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 2;
	transform: scale(1.04);
	transform-origin: center bottom;
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2));
	-webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.msm-hero-v2__white-fog {
	position: absolute;
	left: 50%;
	bottom: -12px;
	transform: translateX(-50%);
	width: 132%;
	height: 118px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 70%);
	filter: blur(28px);
	z-index: 1;
}

.msm-hero-v2__right {
	position: relative;
	align-self: flex-start;
	margin-top: clamp(10px, 7vw, 48px);
	padding-inline-end: 8px;
}

.expert-tag {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 14px;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--hero-accent);
}

.orange-bar {
	width: 2px;
	height: 24px;
	background: var(--hero-accent);
	display: inline-block;
}

.expert-description {
	margin: 0 0 24px;
	max-width: 500px;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: clamp(0.89rem, 0.95vw, 1.02rem);
	line-height: 1.88;
	color: rgba(235, 226, 243, 0.78);
}

.msm-hero-v2__right-links {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 18px;
}

.msm-hero-v2__right-links a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
}

.msm-hero-v2__right-links .arrow {
	font-size: 1.05em;
	line-height: 1;
	text-decoration: none;
}

.link-blue {
	color: var(--hero-link-blue);
}

.link-orange {
	color: var(--hero-accent);
}

.msm-hero-v2__quote-symbol {
	position: absolute;
	inset-inline-end: 0;
	bottom: -96px;
	font-family: serif;
	font-size: clamp(112px, 9vw, 190px);
	line-height: 1;
	color: rgba(255, 255, 255, 0.08);
	pointer-events: none;
	z-index: 1;
}

.msm-hero-v2__chat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: #fff;
	font-family: 'Roboto', 'Roboto Fallback', sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

.msm-hero-v2__chat:hover {
	color: #fff;
}

.msm-hero-v2__chat--floating {
	position: absolute;
	inset-inline-end: 24px;
	bottom: 8px;
	z-index: 3;
}

.msm-hero-v2__chat--inline {
	display: none;
	margin-inline-start: auto;
}

.chat-icon {
	color: #21f75d;
	font-size: 1.06em;
}

@media (max-width: 1399px) {
	.msm-hero-v2__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr) minmax(0, 0.92fr);
	}

	.msm-hero-v2__left h1 {
		font-size: clamp(2rem, 3.65vw, 3.45rem);
	}

	.msm-hero-v2__btn {
		font-size: 1.28rem;
	}

	.social-text {
		font-size: 1.06rem;
	}

	.msm-hero-v2__person-container {
		width: min(780px, 100%);
	}

	.msm-hero-v2__chat--floating {
		inset-inline-end: 20px;
	}
}

@media (max-width: 1199px) {
	.msm-hero-v2__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
		gap: 24px;
	}

	.msm-hero-v2__right {
		grid-column: 1 / -1;
		margin-top: 12px;
		max-width: 840px;
		padding-inline-end: 0;
	}

	.msm-hero-v2__chat--floating {
		position: static;
		margin-top: 16px;
		float: inline-end;
	}

	.msm-hero-v2__quote-symbol {
		inset-inline-end: 12px;
		bottom: -72px;
	}

	.msm-hero-v2__person-container {
		width: min(650px, 100%);
	}
}

@media (max-width: 767px) {
	.msm-hero-v2 {
		min-height: auto;
		background-position: center top;
		background-image: linear-gradient(180deg, rgba(31, 1, 45, 0.95) 0%, rgba(35, 2, 51, 0.95) 100%), var(--hero-bg);
	}

	.msm-hero-v2 .container {
		padding: 28px 16px 30px;
	}

	.msm-hero-v2__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.msm-hero-v2__left h1 {
		font-size: clamp(1.75rem, 7.4vw, 2.2rem);
		margin-bottom: 14px;
		line-height: 1.2;
	}

	.msm-hero-v2__left p {
		max-width: none;
		margin-bottom: 20px;
		font-size: 1rem;
		line-height: 1.65;
	}

	.msm-hero-v2__actions {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
		gap: 12px;
	}

	.msm-hero-v2__btn {
		font-size: 1.05rem;
		padding-block: 6px;
		padding-inline: 14px 6px;
		border-radius: 11px;
		gap: 10px;
		flex-shrink: 0;
	}

	.msm-hero-v2__btn-icon {
		width: 37px;
		height: 37px;
		font-size: 0.84rem;
	}

	.msm-hero-v2__social {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.social-text {
		font-size: 0.97rem;
		line-height: 1;
	}

	.social-links {
		gap: 7px;
	}

	.social-links a {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}

	.msm-hero-v2__center {
		margin-top: 2px;
	}

	.msm-hero-v2__person-container {
		width: min(300px, 78%);
	}

	.msm-hero-v2__white-fog {
		width: 136%;
		height: 104px;
		bottom: -14px;
		filter: blur(22px);
	}

	.msm-hero-v2__right {
		margin-top: -2px;
		border-radius: 22px;
		background: var(--hero-card-bg);
		border: 1px solid var(--hero-border-soft);
		padding: 18px 16px 14px;
		overflow: hidden;
	}

	.expert-tag {
		margin-bottom: 12px;
		font-size: 1.12rem;
	}

	.orange-bar {
		height: 20px;
	}

	.expert-description {
		margin-bottom: 16px;
		font-size: 1.01rem;
		line-height: 1.62;
	}

	.msm-hero-v2__right-links {
		gap: 10px 12px;
		align-items: center;
	}

	.msm-hero-v2__right-links a {
		font-size: 1.02rem;
		font-weight: 500;
	}

	.msm-hero-v2__chat--floating {
		display: none;
	}

	.msm-hero-v2__chat--inline {
		display: inline-flex;
	}

	.msm-hero-v2__quote-symbol {
		inset-inline-end: -8px;
		bottom: -26px;
		font-size: 124px;
		color: rgba(255, 255, 255, 0.07);
	}
}

@media (max-width: 520px) {
	.msm-hero-v2 .container {
		padding-inline: 14px;
	}

	.msm-hero-v2__left h1 {
		letter-spacing: 0;
	}

	.msm-hero-v2__left p,
	.expert-description {
		font-size: 0.97rem;
	}

	.msm-hero-v2__actions {
		gap: 10px;
	}

	.msm-hero-v2__btn {
		font-size: 0.98rem;
	}

	.social-text {
		font-size: 0.93rem;
	}

	.msm-hero-v2__right-links a,
	.msm-hero-v2__chat {
		font-size: 0.95rem;
	}
}

@media (max-width: 410px) {
	.msm-hero-v2__actions {
		flex-wrap: wrap;
		align-items: flex-start;
	}
}

/* 44px hit area around the 36-40px social circles */
.social-links a::after {
	content: "";
	position: absolute;
	inset: -4px;
}

/* One "Let's Chat" link per layout: the inline copy (inside the right-hand links,
   whose `a` rule is more specific) only shows on phones, the floating one on desktop. */
.msm-hero-v2__right-links .msm-hero-v2__chat--inline {
	display: none;
}

@media (max-width: 767px) {
	.msm-hero-v2__right-links .msm-hero-v2__chat--inline {
		display: inline-flex;
	}
}
