/**
 * Método Loren — Homepage Styles v3.0
 *
 * Visual match to prototype: metodoloren_homepage_prototype_v1.png
 * Dark premium sports-modern theme with lime accents.
 * All classes scoped under .ml-homepage.
 *
 * @package MetodoLoren
 * @version 3.0.0
 */

/* ============================================================
   CSS Custom Properties
   ============================================================ */

.ml-homepage {
	--ml-bg-primary: #0b0b0b;
	--ml-bg-secondary: #111111;
	--ml-bg-card: rgba( 255, 255, 255, 0.025 );
	--ml-bg-card-hover: rgba( 255, 255, 255, 0.05 );
	--ml-border-subtle: rgba( 255, 255, 255, 0.06 );
	--ml-border-accent: rgba( 200, 255, 0, 0.25 );
	--ml-accent: #c8ff00;
	--ml-accent-hover: #d4ff33;
	--ml-accent-dim: rgba( 200, 255, 0, 0.1 );
	--ml-accent-glow: rgba( 200, 255, 0, 0.15 );
	--ml-yellow: #e0f000;
	--ml-text-primary: #f5f5f5;
	--ml-text-secondary: rgba( 255, 255, 255, 0.55 );
	--ml-text-muted: rgba( 255, 255, 255, 0.35 );
	--ml-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--ml-radius-sm: 8px;
	--ml-radius-md: 14px;
	--ml-radius-lg: 20px;
	--ml-container: 1200px;
	--ml-section-gap: clamp( 72px, 10vw, 120px );
	--ml-transition: 0.3s cubic-bezier( 0.4, 0, 0.2, 1 );
}

/* ============================================================
   Reset & Base
   ============================================================ */

.ml-homepage,
.ml-homepage *,
.ml-homepage *::before,
.ml-homepage *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.ml-homepage {
	font-family: var( --ml-font );
	background: var( --ml-bg-primary );
	color: var( --ml-text-primary );
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.ml-homepage img {
	max-width: 100%;
	height: auto;
	display: block;
}

.ml-homepage a {
	text-decoration: none;
	color: inherit;
	transition: color var( --ml-transition ), background-color var( --ml-transition ), border-color var( --ml-transition ), transform var( --ml-transition );
}

.ml-homepage ul,
.ml-homepage ol {
	list-style: none;
}

/* ============================================================
   Container Utility
   ============================================================ */

.ml-homepage > section > div[class$="__container"],
.ml-homepage > header > div[class$="__container"],
.ml-homepage > footer > div[class$="__container"] {
	max-width: var( --ml-container );
	margin: 0 auto;
	padding-left: clamp( 24px, 5vw, 48px );
	padding-right: clamp( 24px, 5vw, 48px );
}

/* ============================================================
   Section Eyebrow
   ============================================================ */

.ml-section-eyebrow {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --ml-accent );
	margin-bottom: 14px;
}

/* ============================================================
   Section Titles
   ============================================================ */

.ml-section-title {
	font-size: clamp( 1.85rem, 4.5vw, 2.75rem );
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var( --ml-text-primary );
	margin-bottom: 18px;
}

.ml-section-title--left {
	text-align: left;
}

.ml-section-subtitle {
	font-size: clamp( 1rem, 2vw, 1.15rem );
	color: var( --ml-text-secondary );
	line-height: 1.65;
	max-width: 600px;
	margin: 0 auto 56px;
}

/* ============================================================
   CTA Buttons
   ============================================================ */

.ml-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 30px;
	border-radius: var( --ml-radius-sm );
	font-family: var( --ml-font );
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var( --ml-transition );
	text-align: center;
	line-height: 1.2;
}

.ml-homepage .ml-cta--primary,
.ml-homepage a.ml-cta--primary {
	background: var( --ml-accent ) !important;
	color: #0a0a0a !important;
	border-color: var( --ml-accent ) !important;
}

.ml-homepage .ml-cta--primary:hover,
.ml-homepage a.ml-cta--primary:hover {
	background: var( --ml-accent-hover );
	border-color: var( --ml-accent-hover );
	transform: translateY( -2px );
	box-shadow: 0 8px 30px rgba( 200, 255, 0, 0.2 );
}

.ml-homepage .ml-cta--secondary,
.ml-homepage a.ml-cta--secondary {
	background: transparent;
	color: var( --ml-text-primary );
	border-color: rgba( 255, 255, 255, 0.12 );
}

.ml-homepage .ml-cta--secondary:hover,
.ml-homepage a.ml-cta--secondary:hover {
	border-color: var( --ml-accent );
	color: var( --ml-accent );
	transform: translateY( -2px );
}

.ml-cta--large {
	padding: 16px 36px;
	font-size: 1rem;
}

/* WhatsApp CTA variant with aura glow effect */
.ml-homepage .ml-cta--whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var( --ml-accent ) !important;
	color: #0a0a0a !important;
	border-color: var( --ml-accent ) !important;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.ml-homepage .ml-cta--whatsapp svg {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.ml-homepage .ml-cta--whatsapp::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
	pointer-events: none;
}

.ml-homepage .ml-cta--whatsapp:hover {
	background: var( --ml-accent-hover ) !important;
	border-color: var( --ml-accent-hover ) !important;
	transform: translateY( -2px );
	box-shadow:
		0 0 20px rgba( 200, 255, 0, 0.4 ),
		0 0 40px rgba( 200, 255, 0, 0.2 ),
		0 0 60px rgba( 200, 255, 0, 0.1 ),
		0 8px 30px rgba( 0, 0, 0, 0.3 );
}

.ml-homepage .ml-cta--whatsapp:hover::before {
	width: 300px;
	height: 300px;
}

.ml-homepage .ml-cta--whatsapp:hover svg {
	transform: scale(1.1) rotate(-5deg);
}

/* ============================================================
   HEADER
   ============================================================ */

.ml-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba( 11, 11, 11, 0.88 );
	backdrop-filter: blur( 20px );
	-webkit-backdrop-filter: blur( 20px );
	border-bottom: 1px solid var( --ml-border-subtle );
}

.ml-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.ml-header__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ml-header__logo {
	height: 36px !important;
	width: auto !important;
	max-width: none !important;
}

.ml-header__name {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var( --ml-text-primary );
}

.ml-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.ml-header__link {
	font-size: 0.82rem;
	font-weight: 500;
	color: var( --ml-text-secondary );
	transition: color var( --ml-transition );
}

.ml-header__link:hover {
	color: var( --ml-text-primary );
}

.ml-header__cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: var( --ml-accent );
	color: #0a0a0a !important;
	border-radius: var( --ml-radius-sm );
	font-size: 0.82rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all var( --ml-transition );
}

.ml-header__cta:hover {
	background: var( --ml-accent-hover );
	transform: translateY( -1px );
}

.ml-header__menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.ml-header__menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var( --ml-text-primary );
	border-radius: 2px;
	transition: all var( --ml-transition );
}

/* ============================================================
   HERO
   ============================================================ */

.ml-hero {
	position: relative;
	padding: clamp( 72px, 12vw, 120px ) 0 clamp( 60px, 10vw, 100px );
	background: linear-gradient( 180deg, var( --ml-bg-primary ) 0%, #0e0e0e 100% );
	overflow: hidden;
}

.ml-hero::before {
	content: '';
	position: absolute;
	top: -10%;
	right: -5%;
	width: 55%;
	height: 110%;
	background: radial-gradient( ellipse at top right, var( --ml-accent-dim ) 0%, transparent 55% );
	pointer-events: none;
}

.ml-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient( 90deg, transparent, var( --ml-border-subtle ), transparent );
}

.ml-hero__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp( 40px, 6vw, 80px );
	align-items: center;
	position: relative;
	z-index: 1;
}

.ml-hero__eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --ml-accent );
	margin-bottom: 18px;
}

.ml-hero__title {
	font-size: clamp( 2.1rem, 5.5vw, 3.4rem );
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 22px;
	color: var( --ml-text-primary );
}

.ml-hero__title--accent {
	color: var( --ml-accent );
}

.ml-hero__subtitle {
	font-size: clamp( 0.95rem, 1.5vw, 1.1rem );
	color: var( --ml-text-secondary );
	line-height: 1.7;
	margin-bottom: 36px;
	max-width: 520px;
}

.ml-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.ml-hero__trust {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.ml-hero__trust-item {
	font-size: 0.78rem;
	color: var( --ml-text-muted );
	display: flex;
	align-items: center;
	gap: 7px;
}

.ml-hero__trust-item svg {
	flex-shrink: 0;
	color: var( --ml-accent );
	opacity: 0.7;
}

.ml-hero__image {
	position: relative;
}

.ml-hero__image img {
	border-radius: var( --ml-radius-lg );
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 4;
	filter: brightness( 0.88 ) contrast( 1.05 );
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.5 ), 0 0 0 1px rgba( 200, 255, 0, 0.2 ), 0 0 40px rgba( 200, 255, 0, 0.08 );
}

/* Decorative geometries in hero */
.ml-hero__deco {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.ml-hero__deco--x1 {
	top: 15%;
	left: 5%;
	animation: ml-float-slow 8s ease-in-out infinite;
}

.ml-hero__deco--circle1 {
	top: 8%;
	right: 8%;
	opacity: 0.5;
	animation: ml-float-medium 10s ease-in-out infinite;
}

.ml-hero__deco--dot1 {
	bottom: 20%;
	left: 12%;
	animation: ml-pulse 4s ease-in-out infinite;
}

@keyframes ml-float-slow {
	0%, 100% { transform: translateY( 0 ) rotate( 0deg ); }
	50% { transform: translateY( -12px ) rotate( 5deg ); }
}

@keyframes ml-float-medium {
	0%, 100% { transform: translateY( 0 ) scale( 1 ); }
	50% { transform: translateY( -8px ) scale( 1.03 ); }
}

@keyframes ml-pulse {
	0%, 100% { opacity: 0.3; transform: scale( 1 ); }
	50% { opacity: 0.6; transform: scale( 1.2 ); }
}

/* ============================================================
   PROBLEMA SECTION
   ============================================================ */

.ml-problema {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-primary );
}

.ml-problema__container {
	display: grid;
	grid-template-columns: 35% 1fr;
	gap: 48px;
	align-items: start;
}

.ml-problema__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ml-problema__intro .ml-section-eyebrow {
	text-align: left;
	margin-bottom: 4px;
}

.ml-problema__intro .ml-section-title {
	text-align: left;
	margin-bottom: 0;
	font-size: clamp( 1.5rem, 3.5vw, 2.1rem );
}

.ml-problema__text {
	font-size: 0.95rem;
	color: var( --ml-text-secondary );
	line-height: 1.7;
	margin: 0;
}

.ml-problema__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.ml-problema__card {
	background: var( --ml-bg-card );
	border: 1px solid var( --ml-border-subtle );
	border-radius: var( --ml-radius-md );
	padding: 22px 22px;
	transition: all var( --ml-transition );
	position: relative;
	overflow: hidden;
}

.ml-problema__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient( 90deg, transparent, var( --ml-accent-dim ), transparent );
	opacity: 0;
	transition: opacity var( --ml-transition );
}

.ml-problema__card:hover {
	background: var( --ml-bg-card-hover );
	border-color: var( --ml-border-accent );
	transform: translateY( -2px );
}

.ml-problema__card:hover::before {
	opacity: 1;
}

.ml-problema__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var( --ml-yellow );
	margin-bottom: 14px;
}

.ml-problema__card-title {
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 6px;
	color: var( --ml-text-primary );
}

.ml-problema__card-text {
	font-size: 0.82rem;
	color: var( --ml-text-secondary );
	line-height: 1.5;
	margin: 0;
}

/* ============================================================
   METODO 4P SECTION
   ============================================================ */

.ml-metodo {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-secondary );
}

.ml-metodo .ml-section-eyebrow,
.ml-metodo .ml-section-title,
.ml-metodo .ml-section-subtitle {
	text-align: center;
}

.ml-metodo__pillars {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 20px;
}

.ml-metodo__pillar {
	background: var( --ml-bg-card );
	border: 1px solid var( --ml-border-subtle );
	border-radius: var( --ml-radius-md );
	padding: 32px 20px;
	text-align: center;
	transition: all var( --ml-transition );
	position: relative;
	overflow: hidden;
}

.ml-metodo__pillar::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var( --ml-radius-md );
	background: linear-gradient( 180deg, var( --ml-accent-glow ) 0%, transparent 40% );
	opacity: 0;
	transition: opacity var( --ml-transition );
}

.ml-metodo__pillar:hover {
	background: var( --ml-bg-card-hover );
	border-color: var( --ml-border-accent );
	transform: translateY( -4px );
}

.ml-metodo__pillar:hover::after {
	opacity: 0.3;
}

.ml-metodo__number {
	position: absolute;
	top: 14px;
	left: 18px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var( --ml-accent );
	opacity: 0.7;
}

.ml-metodo__pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var( --ml-yellow );
	margin: 0 auto 14px;
}

.ml-metodo__pillar-icon--tall {
	width: 60px;
	height: 60px;
	margin-top: -2px;
}

.ml-metodo__pillar-title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
}

.ml-metodo__pillar-text {
	font-size: 0.82rem;
	color: var( --ml-text-secondary );
	line-height: 1.6;
	position: relative;
	z-index: 1;
}

/* ============================================================
   PROCESO (Cómo funciona) SECTION
   ============================================================ */

.ml-proceso {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-primary );
}

.ml-proceso__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp( 40px, 6vw, 80px );
	align-items: stretch;
}

.ml-proceso__image {
	border-radius: var( --ml-radius-lg );
	overflow: hidden;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.4 );
	align-self: stretch;
}

.ml-proceso__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	filter: brightness( 0.88 ) contrast( 1.05 );
}

.ml-proceso__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	justify-content: center;
	padding: 20px 0;
}

.ml-proceso__timeline {
	position: relative;
	padding-left: 72px;
}

/* Vertical timeline line with gradient - runs behind circles */
.ml-proceso__timeline::before {
	content: '';
	position: absolute;
	left: 21px;
	top: 22px;
	bottom: 22px;
	width: 2px;
	background: linear-gradient( 180deg, var( --ml-accent ) 0%, rgba( 200, 255, 0, 0.15 ) 100% );
}

.ml-proceso__step {
	position: relative;
	padding-bottom: 32px;
}

.ml-proceso__step > div {
	margin-left: 56px;
}

.ml-proceso__step:last-child {
	padding-bottom: 0;
}

.ml-proceso__number {
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid var( --ml-accent );
	font-size: 1.05rem;
	font-weight: 800;
	color: var( --ml-accent );
	background: var( --ml-bg-primary );
	z-index: 2;
}

.ml-proceso__number::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var( --ml-accent-dim );
}

.ml-proceso__step-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.ml-proceso__step-text {
	font-size: 0.85rem;
	color: var( --ml-text-secondary );
	line-height: 1.6;
}

/* ============================================================
   OFERTA (Diagnóstico Técnico) SECTION
   ============================================================ */

.ml-oferta {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-primary );
}

.ml-oferta__border {
	max-width: var( --ml-container );
	margin: 0 auto;
	padding: 0;
	border: 1.5px solid rgba( 200, 255, 0, 0.3 );
	border-radius: var( --ml-radius-lg );
	overflow: hidden;
	position: relative;
}

/* Background image inside border - spans full width */
.ml-oferta__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

.ml-oferta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
	opacity: 0.8;
	filter: grayscale(0.3);
}

.ml-oferta__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	position: relative;
	z-index: 1;
	min-height: 400px;
}

/* Left content overlay on hexagon area */
.ml-oferta__content {
	padding: clamp( 40px, 6vw, 64px );
	background: linear-gradient( 90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 100% );
	backdrop-filter: blur(2px);
}

.ml-oferta__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp( 40px, 6vw, 80px );
	align-items: center;
}

.ml-oferta__badge {
	display: inline-block;
	padding: 6px 14px;
	background: var( --ml-accent-dim );
	color: var( --ml-accent );
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.ml-oferta__title {
	font-size: clamp( 1.6rem, 3.5vw, 2.2rem );
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 14px;
}

.ml-oferta__text {
	font-size: 0.92rem;
	color: var( --ml-text-secondary );
	line-height: 1.7;
	margin-bottom: 28px;
}

.ml-oferta__features {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 36px;
}

.ml-oferta__feature {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: var( --ml-text-secondary );
}

.ml-oferta__feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var( --ml-accent );
}

.ml-oferta__image {
	border-radius: var( --ml-radius-lg );
	overflow: hidden;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.4 );
}

.ml-oferta__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top center;
	filter: brightness( 0.92 ) contrast( 1.02 );
}

/* ============================================================
   PROGRAMAS SECTION
   ============================================================ */

.ml-programas {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-primary );
}

.ml-programas .ml-section-eyebrow,
.ml-programas .ml-section-title {
	text-align: center;
}

#programas > div > p.ml-section-eyebrow {
	margin: auto;
	width: fit-content;
	display: flex;
}

#metodo > div > p.ml-section-eyebrow {
	display: flex;
	margin: auto;
	width: fit-content;
}

.ml-programas__cards {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 24px;
}

.ml-programas__card {
	background: var( --ml-bg-card );
	border: 1px solid var( --ml-border-subtle );
	border-radius: var( --ml-radius-md );
	overflow: hidden;
	transition: all var( --ml-transition );
	display: flex;
	flex-direction: column;
	position: relative;
}

.ml-programas__card:hover {
	background: var( --ml-bg-card-hover );
	border-color: var( --ml-border-accent );
	transform: translateY( -6px );
	box-shadow: 0 16px 48px rgba( 0, 0, 0, 0.3 );
}

.ml-programas__card--featured {
	border-color: var( --ml-border-accent );
	box-shadow: 0 0 0 1px var( --ml-border-accent ), 0 8px 32px var( --ml-accent-dim );
}

.ml-programas__card-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	position: relative;
}

.ml-programas__card-image::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.3 ), transparent );
	pointer-events: none;
}

.ml-programas__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var( --ml-transition );
}

.ml-programas__card:hover .ml-programas__card-image img {
	transform: scale( 1.06 );
}

.ml-programas__card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 5px 12px;
	background: var( --ml-accent );
	color: #0a0a0a;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 2;
}

.ml-programas__card-body {
	padding: 28px 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.ml-programas__card-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.ml-programas__card-text {
	font-size: 0.85rem;
	color: var( --ml-text-secondary );
	line-height: 1.6;
	margin-bottom: 24px;
	flex-grow: 1;
}

.ml-programas__card .ml-cta {
	align-self: flex-start;
	padding: 10px 20px;
	font-size: 0.85rem;
}

/* ============================================================
   SOBRE LOREN SECTION
   ============================================================ */

.ml-sobre {
	padding: var( --ml-section-gap ) 0;
	background: var( --ml-bg-secondary );
}

.ml-sobre__container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp( 40px, 6vw, 80px );
	align-items: stretch;
}

.ml-sobre__image {
	border-radius: var( --ml-radius-lg );
	overflow: hidden;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.4 );
	max-height: 410px;
}

.ml-sobre__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	filter: brightness( 0.88 ) contrast( 1.05 );
}

.ml-sobre__content {
	height: fit-content;
}

.ml-sobre__content .ml-section-eyebrow {
	display: block;
	text-align: left;
}

.ml-sobre__text {
	font-size: 0.92rem;
	color: var( --ml-text-secondary );
	line-height: 1.7;
	margin-bottom: 32px;
}

.ml-sobre__credentials {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 36px;
}

.ml-sobre__credential {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: var( --ml-text-secondary );
}

.ml-sobre__credential-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var( --ml-accent );
}

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */

.ml-cta-final {
	padding: clamp( 72px, 12vw, 120px ) 0;
	background: linear-gradient( 180deg, var( --ml-bg-primary ) 0%, #0e0e0e 50%, var( --ml-bg-primary ) 100% );
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ml-cta-final::before {
	content: '';
	position: absolute;
	bottom: -20%;
	left: 50%;
	transform: translateX( -50% );
	width: 700px;
	height: 700px;
	background: radial-gradient( circle, var( --ml-accent-dim ) 0%, transparent 55% );
	pointer-events: none;
}

.ml-cta-final::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient( 90deg, transparent, var( --ml-border-subtle ), transparent );
}

.ml-cta-final__deco {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.ml-cta-final__deco--x-left {
	top: 20%;
	left: 8%;
	animation: ml-float-slow 9s ease-in-out infinite;
}

.ml-cta-final__deco--x-right {
	top: 25%;
	right: 8%;
	animation: ml-float-medium 7s ease-in-out infinite reverse;
}

.ml-cta-final__deco--arrow-up {
	top: 12%;
	left: 50%;
	transform: translateX( -50% );
	animation: ml-pulse 5s ease-in-out infinite;
}

.ml-cta-final__container {
	position: relative;
	z-index: 1;
}

.ml-cta-final__logo {
	display: block;
	width: 180px;
	height: 180px;
	margin: 0 auto 24px;
	border-radius: 50%;
}

.ml-cta-final__title {
	font-size: clamp( 1.85rem, 4.5vw, 2.75rem );
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	margin-bottom: 18px;
}

.ml-cta-final__text {
	font-size: clamp( 0.95rem, 1.5vw, 1.1rem );
	color: var( --ml-text-secondary );
	margin-bottom: 40px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.ml-cta-final__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.ml-footer {
	padding: 56px 0 36px;
	background: var( --ml-bg-primary );
	border-top: 1px solid var( --ml-border-subtle );
}

.ml-footer__container {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 48px;
	align-items: start;
}

/* Footer social icons */
.ml-footer__social {
	display: flex;
	gap: 16px;
	align-items: center;
}

.ml-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.05 );
	color: var( --ml-text-muted );
	transition: all var( --ml-transition );
}

.ml-footer__social-link:hover {
	background: var( --ml-accent-dim );
	color: var( --ml-accent );
	transform: translateY( -2px );
}

/* Footer contact column */
.ml-footer__email {
	display: block;
	font-size: 0.82rem;
	color: var( --ml-text-secondary );
	margin-bottom: 6px;
	transition: color var( --ml-transition );
}

.ml-footer__email:hover {
	color: var( --ml-accent );
}

/* Footer bottom bar */
.ml-footer__bottom {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 28px;
	margin-top: 28px;
	border-top: 1px solid var( --ml-border-subtle );
}

.ml-footer__copyright {
	font-size: 0.75rem;
	color: var( --ml-text-muted );
	margin: 0;
}

.ml-footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ml-footer__logo {
	height: 32px !important;
	width: auto !important;
	max-width: none !important;
}

.ml-footer__name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var( --ml-text-primary );
}

.ml-footer__nav {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	height: 32px;
	align-items: center;
}

.ml-footer__link {
	font-size: 0.82rem;
	color: var( --ml-text-muted );
	transition: color var( --ml-transition );
}

.ml-footer__link:hover {
	color: var( --ml-text-primary );
}

.ml-footer__legal {
	display: flex;
	gap: 20px;
}

.ml-footer__contact {
	text-align: right;
}

.ml-footer__whatsapp {
	display: inline-block;
	color: var( --ml-accent );
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 4px;
}

/* Footer WhatsApp CTA button with white background */
.ml-footer__wa-cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: #ffffff !important;
	color: #0a0a0a !important;
	border-radius: var( --ml-radius-md );
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.ml-footer__wa-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba( 255, 255, 255, 0.2 );
}

.ml-footer__location {
	display: block;
	font-size: 0.75rem;
	color: var( --ml-text-muted );
}

.ml-footer__copyright {
	grid-column: 1 / -1;
	text-align: center;
	padding-top: 28px;
	margin-top: 28px;
	border-top: 1px solid var( --ml-border-subtle );
}

.ml-footer__copyright p {
	font-size: 0.75rem;
	color: var( --ml-text-muted );
}

/* ============================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================================ */

@media ( max-width: 1024px ) {

	.ml-hero__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ml-hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.ml-hero__actions {
		justify-content: center;
	}

	.ml-hero__trust {
		justify-content: center;
	}

	.ml-hero__image {
		max-width: 420px;
		margin: 0 auto;
	}

	.ml-problema__container {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ml-metodo__pillars {
		grid-template-columns: repeat( 2, 1fr );
	}

	.ml-proceso__container {
		grid-template-columns: 1fr;
	}

	.ml-proceso__image {
		max-width: 420px;
		margin: 0 auto;
	}

	.ml-oferta__container {
		grid-template-columns: 1fr;
	}

	.ml-oferta__image {
		order: -1;
		max-width: 420px;
		margin: 0 auto;
	}

	.ml-programas__cards {
		grid-template-columns: repeat( 2, 1fr );
	}

	.ml-sobre__container {
		grid-template-columns: 1fr;
	}

	.ml-sobre__image {
		max-width: 380px;
		margin: 0 auto;
	}

	.ml-footer__container {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.ml-footer__contact {
		text-align: left;
	}
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================================ */

/* ============================================================
   RESPONSIVE — Tablet Cards (max-width: 900px)
   ============================================================ */

@media ( max-width: 900px ) {

	.ml-problema__cards {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================================ */

@media ( max-width: 768px ) {

	/* Force fixed header on mobile */
	.ml-header {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: rgba( 11, 11, 11, 0.95 ) !important;
		backdrop-filter: blur( 20px ) !important;
		-webkit-backdrop-filter: blur( 20px ) !important;
	}

	/* Add top padding to body so content isn't hidden behind fixed header */
	.ml-homepage {
		padding-top: 64px;
	}

	/* Hide desktop nav and desktop CTA */
	.ml-header__nav {
		display: none;
	}

	.ml-header__cta--desktop {
		display: none !important;
	}

	/* Show mobile CTA */
	.ml-header__cta--mobile {
		display: inline-flex !important;
		padding: 8px 16px;
		font-size: 0.82rem;
	}

	.ml-header__menu-toggle {
		display: flex;
	}

	/* Backdrop overlay when menu is open */
	.ml-homepage::after {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba( 0, 0, 0, 0.6 );
		backdrop-filter: blur( 8px );
		-webkit-backdrop-filter: blur( 8px );
		z-index: 998;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.35s ease;
	}

	.ml-homepage.is-menu-open::after {
		opacity: 1;
		pointer-events: auto;
	}

	/* Side drawer menu — slides from right, 75% width */
	.ml-header__nav--open {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 64px;
		right: 0;
		width: 75%;
		max-width: 320px;
		height: fit-content;
		background: #0b0b0b;
		border-left: 1px solid var( --ml-border-subtle );
		padding: 28px;
		gap: 0;
		z-index: 999;
		overflow-y: auto;
		transform: translateX( 100% );
		transition: transform 0.35s cubic-bezier( 0.4, 0, 0.2, 1 );
		box-shadow: -12px 0 40px rgba( 0, 0, 0, 0.5 );
	}

	.ml-header__nav.ml-header__nav--open {
		transform: translateX( 0 );
	}

	.ml-header__nav--open .ml-header__link {
		display: block;
		font-size: 1.1rem;
		font-weight: 600;
		padding: 16px 0;
		text-align: left;
		color: var( --ml-text-primary );
		border-bottom: 1px solid var( --ml-border-subtle );
		letter-spacing: -0.01em;
	}

	.ml-header__nav--open .ml-header__link:last-child {
		border-bottom: none;
	}

	.ml-header__nav--open .ml-header__link:hover {
		color: var( --ml-accent );
	}

	/* Hamburger button animation when open */
	.ml-header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: rotate( 45deg ) translate( 5px, 5px );
	}

	.ml-header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.ml-header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: rotate( -45deg ) translate( 5px, -5px );
	}

	/* Section spacing unified on mobile */
	.ml-homepage > section {
		padding-top: clamp( 48px, 8vw, 80px ) !important;
		padding-bottom: clamp( 48px, 8vw, 80px ) !important;
	}

	.ml-hero {
		padding: 48px 0 40px;
	}

	.ml-hero__title {
		font-size: clamp( 1.6rem, 6vw, 2.2rem );
		line-height: 1.2;
	}

	.ml-hero__subtitle {
		font-size: 0.95rem;
		margin-top: 12px;
	}

	.ml-hero__actions {
		margin-top: 24px;
		gap: 12px;
	}

	.ml-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ml-hero__trust {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.ml-metodo__pillars {
		grid-template-columns: 1fr;
	}

	.ml-programas__cards {
		grid-template-columns: 1fr;
	}

	.ml-sobre__credentials {
		grid-template-columns: 1fr;
	}

	.ml-cta-final__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ml-cta {
		width: 100%;
	}

	.ml-footer {
		padding: 40px 0 24px;
	}

	.ml-footer__container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 24px;
	}

	.ml-footer__brand {
		justify-content: center;
	}

	.ml-footer__nav {
		display: grid;
		grid-template-columns: repeat( 2, 1fr );
		gap: 12px 16px;
		justify-content: center;
		justify-items: center;
		height: auto;
	}

	.ml-footer__social {
		justify-content: center;
	}

	.ml-footer__contact {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.ml-footer__bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.ml-footer__legal {
		justify-content: center;
	}

	/* Problem cards centered on mobile */
	.ml-problema__card {
		text-align: center;
		align-items: center;
		display: flex;
		flex-direction: column;
	}

	.ml-problema__icon {
		margin-left: auto;
		margin-right: auto;
	}
}

/* ============================================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================================ */

@media ( max-width: 480px ) {

	.ml-section-title {
		font-size: clamp( 1.3rem, 5vw, 1.7rem );
	}

	.ml-hero__eyebrow {
		font-size: 0.65rem;
	}

	.ml-problema__card {
		padding: 20px 16px;
	}

	.ml-metodo__pillar {
		padding: 20px 16px;
	}

	.ml-programas__card-body {
		padding: 18px 14px;
	}

	.ml-oferta__content {
		padding: 24px 18px !important;
	}

	.ml-sobre__content {
		padding: 24px 0 0;
	}

	.ml-cta-final {
		padding: 40px 18px;
	}

	.ml-hero__deco,
	.ml-cta-final__deco {
		display: none;
	}

	/* Ensure images don't overflow */
	.ml-homepage img {
		max-width: 100%;
		height: auto;
	}
}

/* ============================================================
   WHATSAPP POPUP MODAL
   ============================================================ */

.ml-wa-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ml-wa-modal.is-active {
	display: flex;
}

.ml-wa-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.85 );
	backdrop-filter: blur(4px);
}

.ml-wa-modal__content {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: #1a1a1a;
	border: 1.5px solid rgba( 200, 255, 0, 0.4 );
	border-radius: var( --ml-radius-lg );
	padding: clamp( 32px, 5vw, 48px );
	box-shadow: 0 24px 80px rgba( 0, 0, 0, 0.8 );
	z-index: 1;
}

.ml-wa-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba( 255, 255, 255, 0.3 );
	border-radius: 50%;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ml-wa-modal__close:hover {
	border-color: var( --ml-accent );
	color: var( --ml-accent );
}

.ml-wa-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 24px;
	color: #ffffff;
}

.ml-wa-modal__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ml-wa-modal__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ml-wa-modal__field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba( 255, 255, 255, 0.8 );
}

.ml-wa-modal__field input,
.ml-wa-modal__field textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 12px 16px;
	background: #0a0a0a;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	border-radius: var( --ml-radius-md );
	color: #ffffff;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.ml-wa-modal__field input:focus,
.ml-wa-modal__field textarea:focus {
	outline: none;
	border-color: var( --ml-accent );
}

.ml-wa-modal__field input::placeholder,
.ml-wa-modal__field textarea::placeholder {
	color: rgba( 255, 255, 255, 0.4 );
}

.ml-wa-modal__submit {
	margin-top: 12px !important;
	width: 100% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	background: #c8ff00 !important;
	color: #0a0a0a !important;
	border: 2px solid #c8ff00 !important;
	border-radius: 8px !important;
	padding: 16px 24px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	position: relative !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 16px rgba( 200, 255, 0, 0.3 ) !important;
}

.ml-wa-modal__submit:hover {
	background: #c8ff00 !important;
	border-color: #c8ff00 !important;
	color: #0a0a0a !important;
	transform: translateY(-2px) !important;
	box-shadow:
		0 0 20px rgba( 200, 255, 0, 0.4 ),
		0 0 40px rgba( 200, 255, 0, 0.2 ),
		0 8px 30px rgba( 0, 0, 0, 0.3 ) !important;
	animation: wa-pulse 1.5s infinite;
}

.ml-wa-modal__submit svg:last-child {
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.ml-wa-modal__submit:hover svg:last-child {
	animation: arrow-bounce 0.6s infinite;
}

@keyframes wa-pulse {
	0%, 100% { box-shadow: 0 0 20px rgba( 200, 255, 0, 0.4 ), 0 0 40px rgba( 200, 255, 0, 0.2 ), 0 8px 30px rgba( 0, 0, 0, 0.3 ); }
	50% { box-shadow: 0 0 30px rgba( 200, 255, 0, 0.6 ), 0 0 60px rgba( 200, 255, 0, 0.3 ), 0 8px 30px rgba( 0, 0, 0, 0.3 ); }
}

@keyframes arrow-bounce {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(4px); }
}

/* Disabled state */
.ml-wa-modal__submit--disabled,
.ml-wa-modal__submit:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
	transform: none !important;
	animation: none !important;
}

/* WhatsApp icon in submit button */
.ml-wa-modal__submit .ml-wa-submit__icon {
	margin-right: 8px;
	flex-shrink: 0;
}

@media ( max-width: 520px ) {
	.ml-wa-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.ml-wa-modal__content {
		padding: 24px 20px;
		max-width: 100%;
		border-radius: var( --ml-radius-lg ) var( --ml-radius-lg ) 0 0;
	}

	.ml-wa-modal__title {
		font-size: 1.25rem;
	}

	.ml-wa-modal__field input,
	.ml-wa-modal__field textarea {
		padding: 10px 12px;
		font-size: 16px; /* Prevent zoom on iOS */
	}
}
