/**
 * Homepage 2027 — cinematic hero, bento, mosaic, motion-friendly layout.
 */

/* ---------- Hero slider ---------- */
.ann-hero-x {
	position: relative;
	isolation: isolate;
	min-height: min(62svh, 580px);
	display: grid;
	align-items: end;
	color: #fff;
	overflow: hidden;
	background: #081840;
}

.ann-hero-x__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ann-hero-x__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.1s var(--ease), transform 6.5s var(--ease);
}

.ann-hero-x__slide.is-active {
	opacity: 1;
	transform: scale(1);
	z-index: 1;
}

.ann-hero-x__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-hero-x__veil {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(105deg, rgba(4, 12, 32, 0.94) 0%, rgba(8, 24, 64, 0.88) 40%, rgba(8, 24, 64, 0.55) 70%, rgba(8, 24, 64, 0.72) 100%),
		linear-gradient(180deg, rgba(4, 12, 32, 0.65) 0%, transparent 38%, rgba(4, 12, 32, 0.92) 100%);
}

.ann-hero-x__glow {
	position: absolute;
	width: 42vw;
	height: 42vw;
	right: -8%;
	bottom: -10%;
	z-index: 2;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(248, 200, 0, 0.18), transparent 68%);
	pointer-events: none;
	animation: ann-pulse 7s ease-in-out infinite;
}

.ann-hero-x__inner {
	position: relative;
	z-index: 3;
	padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
	max-width: 40rem;
}

/* Force readable white copy — global h1/h2 navy must not win here */
.ann-home--2027 .ann-hero-x,
.ann-home--2027 .ann-hero-x .ann-hero-x__brand,
.ann-home--2027 .ann-hero-x .ann-hero-x__title,
.ann-home--2027 .ann-hero-x .ann-hero-x__lead,
.ann-home--2027 .ann-hero-x h1,
.ann-home--2027 .ann-hero-x p {
	color: #ffffff !important;
}

.ann-hero-x__brand {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5.5vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.98;
	margin: 0 0 0.75rem;
	color: #fff !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.ann-hero-x__copy {
	position: relative;
	min-height: 6.5rem;
	margin-bottom: 1.15rem;
}

.ann-hero-x__panel {
	position: absolute;
	inset: 0 auto auto 0;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
	pointer-events: none;
}

.ann-hero-x__panel.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	position: relative;
}

.ann-hero-x__title {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3.2vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.55rem;
	color: #fff !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.ann-hero-x__lead {
	margin: 0;
	font-size: clamp(0.98rem, 1.8vw, 1.08rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.96) !important;
	max-width: 34rem;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.ann-hero-x__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: 1.75rem;
}

.ann-hero-x__controls {
	display: flex;
	gap: 0.55rem;
	align-items: center;
}

.ann-hero-x__dot {
	width: 2.25rem;
	height: 0.28rem;
	border: 0;
	border-radius: 999px;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.35);
	transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.ann-hero-x__dot.is-active {
	width: 3rem;
	background: var(--highlight);
}

.ann-hero-x__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	z-index: 3;
	transform: translateX(-50%);
	width: 1.5rem;
	height: 2.4rem;
	border: 1.5px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	display: grid;
	place-items: start center;
	padding-top: 0.4rem;
}

.ann-hero-x__scroll span {
	width: 0.3rem;
	height: 0.3rem;
	border-radius: 50%;
	background: #fff;
	animation: ann-scroll-dot 1.6s ease-in-out infinite;
}

/* ---------- Trust marquee ---------- */
.ann-trust {
	overflow: hidden;
	border-block: 1px solid var(--border);
	background: var(--surface);
	padding: 0.9rem 0;
}

.ann-trust__track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	animation: ann-marquee 32s linear infinite;
}

.ann-trust__item {
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	white-space: nowrap;
}

.ann-trust__item::before {
	content: "●";
	color: var(--secondary);
	margin-right: 0.75rem;
	font-size: 0.55rem;
	vertical-align: middle;
}

/* ---------- Welcome ---------- */
.ann-welcome.ann-section {
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.ann-welcome__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.25rem, 3.5vw, 2.25rem);
	align-items: center;
}

.ann-welcome__media {
	position: relative;
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 5 / 4;
}

.ann-welcome__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-welcome__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--accent);
}

.ann-section__title--left { text-align: left; }

.ann-welcome .ann-section__title {
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	margin: 0 0 0.55rem;
	line-height: 1.2;
	max-width: 22ch;
}

.ann-welcome .ann-section__eyebrow {
	margin-bottom: 0.4rem;
}

.ann-lead {
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--text-secondary);
	margin: 0 0 0.75rem;
}

.ann-checklist {
	list-style: none;
	margin: 0.75rem 0 1rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

/* Welcome checklist — ticks stay inside cards (override legacy 3-col card rules) */
.ann-welcome .ann-checklist {
	grid-template-columns: 1fr !important;
	gap: 0.55rem;
}

.ann-welcome .ann-checklist li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
	padding: 0.85rem 1rem;
	padding-left: 1rem;
	margin: 0;
	font-weight: 600;
	color: var(--accent);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: visible;
}

.ann-welcome .ann-checklist li::before {
	content: "";
	position: static !important;
	left: auto;
	top: auto;
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	margin: 0;
	border-radius: 50%;
	background: var(--secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 65% no-repeat;
}

.ann-welcome__pills {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.ann-pill {
	padding: 1rem 1.1rem;
	border-radius: 18px;
	background: linear-gradient(160deg, var(--primary-soft), #fff);
	border: 1px solid rgba(248, 184, 208, 0.45);
}

.ann-pill strong {
	display: block;
	font-family: var(--font-display);
	color: var(--accent);
	margin-bottom: 0.25rem;
}

.ann-pill span {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ---------- Mesh section + bento ---------- */
.ann-section--mesh {
	position: relative;
	background:
		radial-gradient(ellipse 50% 40% at 10% 20%, rgba(248, 184, 208, 0.35), transparent 55%),
		radial-gradient(ellipse 45% 35% at 90% 10%, rgba(56, 184, 216, 0.22), transparent 50%),
		var(--surface);
}

.ann-bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.ann-bento__item {
	padding: 1.4rem 1.35rem;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(8, 24, 64, 0.06);
	backdrop-filter: blur(10px);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.ann-bento__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.ann-bento__item--wide { grid-column: span 2; }

/* Keep all reason cards on the same light surface (no dark “accent” outlier) */
.ann-bento__item--accent {
	background: rgba(255, 255, 255, 0.78);
	color: inherit;
	border: 1px solid rgba(8, 24, 64, 0.06);
}

.ann-bento__item--accent h3,
.ann-bento__item--accent p {
	color: inherit;
}

.ann-bento__item--accent .ann-bento__num {
	color: var(--secondary-deep);
}

.ann-bento__num {
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	color: var(--secondary-deep);
	font-weight: 700;
}

.ann-bento__item h3 {
	margin: 0.5rem 0 0.4rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--accent, #081840) !important;
}

.ann-bento__item p {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(8, 24, 64, 0.78) !important;
	line-height: 1.55;
}

/* ---------- Trainer ---------- */
.ann-trainer-x {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.ann-trainer-x__media {
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 1;
	box-shadow: var(--shadow-lg);
}

.ann-trainer-x__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-trainer-x__role {
	color: var(--secondary-deep);
	font-weight: 600;
}

/* ---------- Programs ---------- */
.ann-programs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
}

.ann-program {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--border);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.ann-program:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.ann-program__media {
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.ann-program__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.ann-program:hover .ann-program__media img {
	transform: scale(1.07);
}

.ann-program__body {
	display: grid;
	gap: 0.4rem;
	padding: 1.15rem 1.2rem 1.35rem;
}

.ann-program__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--accent);
}

.ann-program__text {
	font-size: 0.92rem;
	color: var(--text-muted);
}

.ann-program__link {
	font-weight: 700;
	color: var(--secondary-deep);
	margin-top: 0.35rem;
}

.ann-section__more {
	text-align: center;
	margin-top: 2rem;
}

/* ---------- Stats ---------- */
.ann-stats {
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	background: var(--gradient-navy);
	color: #fff;
}

.ann-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	text-align: center;
}

.ann-stats__num {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0;
	color: var(--highlight);
}

.ann-stats__label {
	margin: 0.35rem 0 0;
	opacity: 0.85;
	font-size: 0.95rem;
}

/* ---------- Mosaic gallery ---------- */
.ann-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 160px;
	gap: 0.75rem;
}

.ann-mosaic__item {
	position: relative;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
}

.ann-mosaic__item--tall { grid-row: span 2; }
.ann-mosaic__item--wide { grid-column: span 2; }

.ann-mosaic__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.ann-mosaic__item:hover img { transform: scale(1.08); }

.ann-mosaic__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 1rem;
	background: linear-gradient(transparent, rgba(8, 24, 64, 0.75));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.ann-mosaic__item:hover figcaption {
	opacity: 1;
	transform: none;
}

/* ---------- Quotes / FAQ / Blog / CTA / Map ---------- */
.ann-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.ann-quote-x {
	margin: 0;
	padding: 1.5rem;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(8, 24, 64, 0.06);
}

.ann-quote-x p {
	font-family: var(--font-display);
	font-size: 1.1rem;
	line-height: 1.45;
	color: var(--accent);
	margin: 0 0 1rem;
}

.ann-quote-x footer {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.ann-faq--modern details {
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 0.15rem 1rem;
	margin-bottom: 0.65rem;
	background: #fff;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ann-faq--modern details[open] {
	border-color: rgba(56, 184, 216, 0.45);
	box-shadow: var(--shadow-sm);
}

.ann-faq--modern summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--accent);
	padding: 1rem 0;
	list-style: none;
}

.ann-faq--modern summary::-webkit-details-marker { display: none; }

.ann-blog-x {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.ann-blog-x__card {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 1rem;
	align-items: center;
	padding: 0.75rem;
	border-radius: 22px;
	background: #fff;
	border: 1px solid var(--border);
	overflow: hidden;
}

.ann-blog-x__media {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.ann-blog-x__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-blog-x__body h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin: 0 0 0.4rem;
}

.ann-blog-x__body h3 a {
	color: var(--accent);
	text-decoration: none;
}

.ann-cta-x {
	position: relative;
	isolation: isolate;
	padding: clamp(4rem, 9vw, 6rem) 0;
	color: #fff !important;
	text-align: center;
	overflow: hidden;
}

.ann-cta-x__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ann-cta-x__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-cta-x__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(4, 12, 32, 0.92), rgba(8, 24, 64, 0.88));
}

.ann-cta-x__inner {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

.ann-cta-x h2,
.ann-cta-x#cta h2,
.ann-home--2027 .ann-cta-x h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
	color: #ffffff !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.ann-cta-x p,
.ann-home--2027 .ann-cta-x p {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.95) !important;
	opacity: 1;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.ann-btn-ghost-light {
	background: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.85) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ann-btn-ghost-light:hover {
	background: rgba(255, 255, 255, 0.24) !important;
	border-color: #fff !important;
	color: #fff !important;
}

.ann-btn-whatsapp {
	background: #25d366 !important;
	border: 2px solid #25d366 !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.ann-btn-whatsapp:hover {
	background: #1ebe57 !important;
	border-color: #1ebe57 !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.ann-map-x {
	padding-bottom: var(--section-space-y);
}

.ann-map-x__card {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 1.5rem;
	padding: 1.5rem;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	align-items: stretch;
}

.ann-map-x__card iframe {
	width: 100%;
	min-height: 260px;
	border: 0;
	border-radius: 16px;
}

/* ---------- Buttons extras ---------- */
.ann-btn--glow {
	box-shadow: 0 10px 30px rgba(248, 200, 0, 0.35);
}

.ann-btn--glow:hover {
	box-shadow: 0 14px 40px rgba(248, 200, 0, 0.45);
	transform: translateY(-2px);
}

/* ---------- Motion keyframes ---------- */
@keyframes ann-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes ann-scroll-dot {
	0%, 100% { transform: translateY(0); opacity: 1; }
	50% { transform: translateY(12px); opacity: 0.35; }
}

@keyframes ann-pulse {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}

.ann-home--2027 .ann-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--d, 0s);
}

.ann-home--2027 .ann-reveal.is-inview {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.ann-welcome__grid,
	.ann-trainer-x,
	.ann-map-x__card,
	.ann-blog-x__card {
		grid-template-columns: 1fr;
	}

	.ann-bento,
	.ann-programs,
	.ann-quotes {
		grid-template-columns: 1fr 1fr;
	}

	.ann-bento__item--wide { grid-column: span 2; }

	.ann-stats__grid { grid-template-columns: 1fr 1fr; }

	.ann-mosaic {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 140px;
	}

	.ann-blog-x { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.ann-hero-x { min-height: min(70svh, 520px); }

	.ann-hero-x__panel {
		padding-bottom: 0.5rem;
	}

	.ann-hero-x__copy {
		min-height: 0;
	}

	.ann-hero-x__actions {
		display: flex;
		flex-wrap: wrap;
		gap: 0.65rem;
	}

	.ann-hero-x__actions .ann-btn {
		flex: 1 1 auto;
		min-height: 48px;
		justify-content: center;
	}

	.ann-welcome .ann-section__title {
		max-width: none;
	}

	.ann-bento,
	.ann-programs,
	.ann-quotes,
	.ann-welcome__pills {
		grid-template-columns: 1fr;
	}

	.ann-bento__item--wide { grid-column: auto; }

	.ann-mosaic {
		grid-template-columns: 1fr;
		grid-auto-rows: 200px;
	}

	.ann-mosaic__item--tall,
	.ann-mosaic__item--wide {
		grid-column: auto;
		grid-row: auto;
	}

	.ann-trust__track { animation-duration: 22s; }

	.ann-stats__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ann-trust__track,
	.ann-hero-x__glow,
	.ann-hero-x__scroll span {
		animation: none !important;
	}

	.ann-hero-x__slide,
	.ann-hero-x__panel,
	.ann-home--2027 .ann-reveal {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
