/* ==========================================================================
   YS Promo Areas — premium dark navy + gold, glassmorphism
   Identidad visual: navy #00247e · acento dorado #cd7d0b
   ========================================================================== */

.ys-areas {
	position: relative;
	/* padding: 110px 0 90px; */
	background: radial-gradient(ellipse at top, #0c1f5e 0%, #050b24 55%, #03061a 100%);
	overflow: hidden;
	isolation: isolate;
}

/* ---------- Decorative background ---------- */
.ys-areas__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	z-index: 0;
	pointer-events: none;
}

.ys-areas__glow--1 {
	width: 480px;
	height: 480px;
	top: -160px;
	left: -120px;
	background: radial-gradient(circle, rgba(205, 125, 11, .28), transparent 70%);
}

.ys-areas__glow--2 {
	width: 520px;
	height: 520px;
	bottom: -200px;
	right: -160px;
	background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 70%);
}

.ys-areas__grid-lines {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, .9), transparent 75%);
}

.ys-areas__container {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Head ---------- */
.ys-areas__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}

.ys-areas__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 22px;
	border-radius: 30px;
	background: linear-gradient(100deg, #cd7d0b, #f0a93a);
	color: #1a1300;
	font-family: 'Barlow', sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 10px 26px rgba(205, 125, 11, .35);
	margin-bottom: 22px;
	opacity: 0;
	transform: translateY(14px) scale(.92);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.ys-areas__title {
	font-family: 'Barlow', sans-serif;
	font-size: 46px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.18;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s ease .1s, transform .7s cubic-bezier(.2, .8, .2, 1) .1s;
}

.ys-areas__title span {
	background: linear-gradient(100deg, #f0a93a, #cd7d0b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ys-areas__subtitle {
	font-family: 'Lato', sans-serif;
	font-style: italic;
	font-size: 19px;
	color: #b9c3e6;
	margin: 0;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s ease .2s, transform .7s cubic-bezier(.2, .8, .2, 1) .2s;
}

.ys-areas.is-visible .ys-areas__badge { opacity: 1; transform: translateY(0) scale(1); }
.ys-areas.is-visible .ys-areas__title,
.ys-areas.is-visible .ys-areas__subtitle { opacity: 1; transform: translateY(0); }

/* ---------- Featured callout ---------- */
.ys-areas__feature {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 760px;
	margin: 0 auto 56px;
	padding: 26px 32px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
	border: 1px solid rgba(205, 125, 11, .45);
	box-shadow: inset 0 0 40px rgba(205, 125, 11, .06), 0 18px 40px rgba(0, 0, 0, .35);
	backdrop-filter: blur(8px);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease .25s, transform .7s cubic-bezier(.2, .8, .2, 1) .25s;
}

.ys-areas.is-visible .ys-areas__feature { opacity: 1; transform: translateY(0); }

.ys-areas__feature-icon {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #1a1300;
	background: linear-gradient(135deg, #f0a93a, #cd7d0b);
	box-shadow: 0 10px 22px rgba(205, 125, 11, .4);
}

.ys-areas__feature-tag {
	display: inline-block;
	font-family: 'Barlow', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #f0a93a;
	margin-bottom: 6px;
}

.ys-areas__feature-body h3 {
	font-family: 'Barlow', sans-serif;
	font-size: 21px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 6px;
}

.ys-areas__feature-body p {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	color: #b9c3e6;
	margin: 0;
}

/* ---------- Cards grid ---------- */
.ys-areas__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-bottom: 56px;
}

.ys-area-card {
	position: relative;
	padding: 36px 28px 30px;
	border-radius: 18px;
	background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
	border: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(10px);
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s ease, box-shadow .45s ease;
	opacity: 0;
	transform: translateY(34px);
	will-change: transform;
}

.ys-areas.is-visible .ys-area-card {
	opacity: 1;
	transform: translateY(0);
	transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease, border-color .45s ease, box-shadow .45s ease;
}

.ys-areas.is-visible .ys-area-card:nth-child(1) { transition-delay: .05s; }
.ys-areas.is-visible .ys-area-card:nth-child(2) { transition-delay: .18s; }
.ys-areas.is-visible .ys-area-card:nth-child(3) { transition-delay: .31s; }

.ys-area-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
	background: linear-gradient(160deg, color-mix(in srgb, var(--ys-accent) 22%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity .45s ease;
	pointer-events: none;
}

.ys-area-card:hover {
	border-color: color-mix(in srgb, var(--ys-accent) 55%, transparent);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .4), 0 0 0 1px color-mix(in srgb, var(--ys-accent) 30%, transparent);
}

.ys-area-card:hover::before {
	opacity: 1;
}

.ys-area-card__icon {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--ys-accent);
	background: color-mix(in srgb, var(--ys-accent) 18%, transparent);
	border: 1px solid color-mix(in srgb, var(--ys-accent) 40%, transparent);
	margin-bottom: 22px;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .35s ease, color .35s ease;
}

.ys-area-card:hover .ys-area-card__icon {
	transform: rotate(-8deg) scale(1.08);
	background: var(--ys-accent);
	color: #07102b;
}

.ys-area-card__title {
	position: relative;
	font-family: 'Barlow', sans-serif;
	font-size: 21px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
}

.ys-area-card__text {
	position: relative;
	font-family: 'Lato', sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #b9c3e6;
	margin: 0 0 22px;
}

.ys-area-card__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Barlow', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ys-accent);
	text-decoration: none;
}

.ys-area-card__link i {
	transition: transform .35s ease;
}

.ys-area-card__link:hover i {
	transform: translateX(5px);
}

/* ---------- Benefits strip ---------- */
.ys-areas__strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	padding: 28px 0;
	margin-bottom: 44px;
}

.ys-areas__strip-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: left;
	padding: 0 22px;
	border-left: 1px solid rgba(255, 255, 255, .1);
}

.ys-areas__strip-item:first-child {
	border-left: none;
}

.ys-areas__strip-item i {
	font-size: 22px;
	color: #f0a93a;
	flex: 0 0 auto;
}

.ys-areas__strip-item div {
	display: flex;
	flex-direction: column;
}

.ys-areas__strip-item strong {
	font-family: 'Barlow', sans-serif;
	font-size: 14.5px;
	font-weight: 700;
	color: #fff;
}

.ys-areas__strip-item span {
	font-family: 'Lato', sans-serif;
	font-size: 12.5px;
	color: #9aa6cf;
}

/* ---------- WhatsApp CTA ---------- */
.ys-areas__whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 460px;
	margin: 0 auto;
	padding: 16px 30px;
	border-radius: 60px;
	text-decoration: none;
	background: linear-gradient(100deg, #1fb855, #25d366);
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
	animation: ys-whatsapp-pulse 2.6s ease-out infinite;
	transition: transform .35s ease;
}

.ys-areas__whatsapp:hover {
	transform: translateY(-3px);
}

.ys-areas__whatsapp-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	flex: 0 0 auto;
}

.ys-areas__whatsapp-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.ys-areas__whatsapp-text strong {
	font-family: 'Barlow', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
}

.ys-areas__whatsapp-text span {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, .9);
}

@keyframes ys-whatsapp-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
	70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.ys-areas__cards { grid-template-columns: 1fr 1fr; }
	.ys-areas__title { font-size: 36px; }
	.ys-areas__strip { grid-template-columns: 1fr; gap: 18px; }
	.ys-areas__strip-item { border-left: none; justify-content: flex-start; }
}

@media (max-width: 767px) {
	.ys-areas { padding: 80px 0 70px; }
	.ys-areas__cards { grid-template-columns: 1fr; }
	.ys-areas__title { font-size: 28px; }
	.ys-areas__feature { flex-direction: column; text-align: center; padding: 24px; }
	.ys-areas__whatsapp { flex-direction: column; text-align: center; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.ys-area-card,
	.ys-area-card__icon,
	.ys-areas__badge,
	.ys-areas__title,
	.ys-areas__subtitle,
	.ys-areas__feature,
	.ys-areas__whatsapp {
		transition-duration: .01ms !important;
		animation: none !important;
	}
}
