/* ==========================================================================
   RAYOS X MIGRATORIO - LARGE SCALE EXACT 1:1 STYLESHEET
   ========================================================================== */

/* Scoped Reset & Base Settings */
.rayx-wrapper,
.rayx-wrapper * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.rayx-wrapper {
	width: 100%;
	background-color: #FAFAFA;
	color: #0E1B33;
	line-height: 1.5;
	font-size: 16px;
	overflow-x: hidden;
}

.rayx-wrapper img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rayx-wrapper button {
	font-family: inherit;
	border: none;
	background: none;
	cursor: pointer;
}

.rayx-wrapper a {
	text-decoration: none;
	color: inherit;
}

/* Eyebrows */
.rayx-eyebrow {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	display: block;
	margin-bottom: 10px;
}
.rayx-eyebrow-clay { color: #E4935B; }
.rayx-eyebrow-sky { color: #1F9EF5; }

/* Buttons */
.rayx-btn-primary {
	background-color: #1F9EF5 !important;
	color: #FFFFFF !important;
	font-weight: 800 !important;
	font-size: 18px !important;
	height: 60px !important;
	padding: 0 44px !important;
	border-radius: 9999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	box-shadow: 0 12px 30px rgba(31, 158, 245, 0.4) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	cursor: pointer !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 420px !important;
	margin: 0 auto !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

@media (min-width: 640px) {
	.rayx-btn-primary {
		font-size: 19px !important;
		height: 64px !important;
		padding: 0 48px !important;
	}
}

.rayx-btn-primary:hover {
	background-color: #058BE5 !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 16px 40px rgba(31, 158, 245, 0.5) !important;
}

.rayx-btn-clay {
	background-color: #E4935B !important;
	color: #FFFFFF !important;
	font-weight: 800 !important;
	font-size: 18px !important;
	height: 60px !important;
	padding: 0 44px !important;
	border-radius: 9999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	box-shadow: 0 8px 24px rgba(228, 147, 91, 0.3) !important;
	transition: all 0.3s ease !important;
	cursor: pointer !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 420px !important;
	margin: 0 auto !important;
	text-decoration: none !important;
}

@media (min-width: 640px) {
	.rayx-btn-clay {
		font-size: 19px !important;
		height: 64px !important;
		padding: 0 48px !important;
	}
}

.rayx-btn-clay:hover {
	background-color: #D38249 !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 12px 32px rgba(228, 147, 91, 0.4) !important;
}

/* ==========================================================================
   1. HERO SECTION (LARGE IMPACTFUL SCALE)
   ========================================================================== */
.rayx-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(140deg, #1C346B 0%, #234283 45%, #0065B4 100%);
	padding: 64px 20px 80px;
	color: #FFFFFF;
	text-align: center;
}

@media (min-width: 640px) {
	.rayx-hero { padding: 96px 32px 112px; }
}
@media (min-width: 1024px) {
	.rayx-hero { padding: 112px 32px 128px; }
}

.rayx-hero-bg-img {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	pointer-events: none;
}

.rayx-hero-bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(to bottom, rgba(35, 66, 131, 0.85) 0%, rgba(35, 66, 131, 0.80) 50%, rgba(35, 66, 131, 0.92) 100%);
	pointer-events: none;
}

.rayx-hero-glow-1 {
	position: absolute;
	top: -128px;
	right: -96px;
	width: 450px;
	height: 450px;
	border-radius: 9999px;
	background: rgba(31, 158, 245, 0.35);
	filter: blur(90px);
	pointer-events: none;
	z-index: 2;
}

.rayx-hero-glow-2 {
	position: absolute;
	bottom: -160px;
	left: -96px;
	width: 450px;
	height: 450px;
	border-radius: 9999px;
	background: rgba(228, 147, 91, 0.25);
	filter: blur(90px);
	pointer-events: none;
	z-index: 2;
}

.rayx-hero-container {
	position: relative;
	z-index: 10;
	max-width: 1080px;
	margin: 0 auto;
}

.rayx-header-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 36px;
}

.rayx-header-logo img {
	height: 52px !important;
	width: auto !important;
	max-width: 320px !important;
	object-fit: contain !important;
}

@media (min-width: 640px) {
	.rayx-header-logo img { height: 68px !important; }
}
@media (min-width: 1024px) {
	.rayx-header-logo img { height: 80px !important; }
}

.rayx-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 24px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.12);
	font-size: 15px;
	font-weight: 500;
	color: #FFFFFF;
	backdrop-filter: blur(10px);
	margin-bottom: 32px;
}

.rayx-hero-title {
	font-size: 2.25rem;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #FFFFFF;
	margin-bottom: 28px;
}

@media (min-width: 640px) {
	.rayx-hero-title { font-size: 3.5rem; }
}
@media (min-width: 1024px) {
	.rayx-hero-title { font-size: 4.25rem; }
}

.rayx-text-yellow {
	color: #FCE181;
}

.rayx-yellow-highlight {
	position: relative;
	display: inline-block;
	color: #FCE181;
}

.rayx-yellow-highlight::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 100%;
	height: 7px;
	background-color: #FCE181;
	border-radius: 9999px;
}

.rayx-hero-subtitle {
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 760px;
	margin: 0 auto 24px;
	font-weight: 400;
}

@media (min-width: 640px) {
	.rayx-hero-subtitle { font-size: 20px; }
}

.rayx-hero-meta {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 36px;
}

.rayx-hero-cta-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.rayx-hero-microcopy {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   2. SECTION 2: ES PARA TI SI... (LARGE SCALE)
   ========================================================================== */
.rayx-section {
	padding: 72px 24px;
}

@media (min-width: 768px) {
	.rayx-section { padding: 96px 32px; }
}
@media (min-width: 1024px) {
	.rayx-section { padding: 112px 32px; }
}

.rayx-bg-secondary {
	background-color: #ECF3FA;
}

.rayx-bg-primary {
	background-color: #234283;
	color: #FFFFFF;
}

.rayx-container-6xl {
	max-width: 1240px;
	margin: 0 auto;
}

.rayx-container-4xl {
	max-width: 1024px;
	margin: 0 auto;
}

.rayx-container-2xl {
	max-width: 768px;
	margin: 0 auto;
}

.rayx-grid-es-para-ti {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.rayx-grid-es-para-ti {
		grid-template-columns: 0.85fr 1.15fr;
		gap: 72px;
	}
}

.rayx-section-title {
	font-size: 28px;
	font-weight: 800;
	color: #234283;
	line-height: 1.2;
	margin-top: 10px;
}

@media (min-width: 640px) {
	.rayx-section-title { font-size: 36px; }
}
@media (min-width: 1024px) {
	.rayx-section-title { font-size: 44px; }
}

.rayx-section-desc {
	font-size: 17px;
	color: #5D6A7E;
	margin-top: 16px;
	line-height: 1.55;
}

.rayx-check-card {
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	border-radius: 20px;
	padding: 24px 28px;
	box-shadow: 0 4px 20px rgba(35, 66, 131, 0.05);
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 20px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rayx-check-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(35, 66, 131, 0.1);
}

.rayx-check-icon {
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	background-color: #1F9EF5;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 2px;
}

.rayx-check-text {
	font-size: 17px;
	line-height: 1.55;
	color: #0E1B33;
	font-weight: 500;
}

@media (min-width: 640px) {
	.rayx-check-text { font-size: 18px; }
}

.rayx-alert-card {
	background-color: #FDF5F3;
	border: 1px solid rgba(228, 147, 91, 0.4);
	border-radius: 20px;
	padding: 28px 32px;
	margin-top: 24px;
}

.rayx-alert-text {
	font-size: 16px;
	line-height: 1.65;
	color: #0E1B33;
}

@media (min-width: 640px) {
	.rayx-alert-text { font-size: 17px; }
}

/* ==========================================================================
   3. SECTION 3: ¿CÓMO FUNCIONA? (LARGE SCALE)
   ========================================================================== */
.rayx-steps-grid {
	display: grid;
	gap: 28px;
	margin-top: 56px;
	position: relative;
}

@media (min-width: 1024px) {
	.rayx-steps-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}
}

.rayx-step-item {
	display: flex;
	gap: 24px;
}

@media (min-width: 1024px) {
	.rayx-step-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

.rayx-step-num {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	font-size: 24px;
	font-weight: 800;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.rayx-num-sky { background-color: #1F9EF5; }
.rayx-num-clay { background-color: #E4935B; }
.rayx-num-sun { background-color: #EAE270; color: #0E1B33; }
.rayx-num-blush { background-color: #F0C7C2; color: #0E1B33; }

.rayx-step-card {
	flex: 1;
	background: #FFFFFF;
	border-radius: 20px;
	padding: 24px 28px;
	box-shadow: 0 6px 20px rgba(35, 66, 131, 0.06);
	border: 1px solid #DEE5ED;
	width: 100%;
}

.rayx-step-title {
	font-size: 18px;
	font-weight: 700;
	color: #234283;
	margin-bottom: 10px;
}

.rayx-step-desc {
	font-size: 15px;
	color: #5D6A7E;
	line-height: 1.55;
}

.rayx-video-block {
	margin: 64px auto 0;
	max-width: 1024px;
	border-radius: 32px;
	overflow: hidden;
	background: linear-gradient(140deg, #1C346B 0%, #234283 100%);
	aspect-ratio: 16 / 9;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	box-shadow: 0 24px 50px rgba(35, 66, 131, 0.18);
	cursor: pointer;
}

.rayx-play-icon {
	width: 80px;
	height: 80px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	margin-bottom: 16px;
	transition: transform 0.3s ease;
}

.rayx-video-block:hover .rayx-play-icon {
	transform: scale(1.12);
}

/* ==========================================================================
   4. SECTION 4: CLARIDAD SOBRE LO QUE ES (LARGE SCALE)
   ========================================================================== */
.rayx-card-info {
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	border-radius: 32px;
	padding: 40px 28px;
	box-shadow: 0 6px 24px rgba(35, 66, 131, 0.06);
}

@media (min-width: 640px) {
	.rayx-card-info { padding: 56px 64px; }
}

.rayx-list-info {
	list-style: none;
	margin-top: 32px;
}

.rayx-list-info li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	font-size: 17px;
	color: #5D6A7E;
	line-height: 1.65;
	margin-bottom: 20px;
}

.rayx-dash {
	width: 24px;
	height: 3px;
	background-color: #E4935B;
	flex-shrink: 0;
	margin-top: 11px;
	border-radius: 9999px;
}

/* ==========================================================================
   5. SECTION 5: ENTRELINGO GROUP (LARGE SCALE)
   ========================================================================== */
.rayx-grid-entrelingo {
	display: grid;
	gap: 48px;
}

@media (min-width: 1024px) {
	.rayx-grid-entrelingo {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}
}

.rayx-metric-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 24px 32px;
	backdrop-filter: blur(10px);
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 20px;
}

.rayx-metric-num {
	font-size: 40px;
	font-weight: 800;
	color: #1F9EF5;
	flex-shrink: 0;
}

@media (min-width: 640px) {
	.rayx-metric-num { font-size: 48px; }
}

.rayx-metric-text {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.45;
}

/* ==========================================================================
   6. SECTION 6: TESTIMONIOS (LARGE SCALE)
   ========================================================================== */
.rayx-carousel-wrapper {
	position: relative;
	margin-top: 56px;
}

.rayx-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 52px;
	height: 52px;
	border-radius: 9999px;
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	color: #234283;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: all 0.25s ease;
}

.rayx-carousel-btn:hover {
	color: #1F9EF5;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.rayx-btn-prev { left: -20px; }
.rayx-btn-next { right: -20px; }

.rayx-carousel-track-outer {
	overflow: hidden;
	border-radius: 32px;
}

.rayx-carousel-track {
	display: flex;
	transition: transform 0.5s ease-out;
}

.rayx-testimonial-card {
	width: 100%;
	flex-shrink: 0;
	padding: 0 6px;
}

.rayx-testimonial-inner {
	max-width: 800px;
	margin: 0 auto;
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	border-radius: 32px;
	padding: 40px 48px;
	box-shadow: 0 6px 24px rgba(35, 66, 131, 0.06);
	display: flex;
	flex-direction: column;
}

.rayx-flag-badge {
	width: 56px;
	height: 56px;
	border-radius: 9999px;
	font-size: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.rayx-flag-blush { background-color: #F0C7C2; }
.rayx-flag-sun { background-color: #EAE270; }
.rayx-flag-accent { background-color: #DEF0FF; }

.rayx-quote {
	font-size: 19px;
	line-height: 1.65;
	color: #0E1B33;
	font-style: normal;
	margin-bottom: 28px;
}

@media (min-width: 640px) {
	.rayx-quote { font-size: 20px; }
}

.rayx-author-name {
	font-size: 17px;
	font-weight: 700;
	color: #234283;
}

.rayx-author-role {
	font-size: 14px;
	color: #5D6A7E;
}

.rayx-dots-container {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.rayx-dot {
	height: 8px;
	border-radius: 9999px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.rayx-dot-active {
	width: 36px;
	background-color: #234283;
}

.rayx-dot-inactive {
	width: 8px;
	background-color: rgba(35, 66, 131, 0.25);
}

/* ==========================================================================
   7. SECTION 7: FORMULARIO (LARGE SCALE)
   ========================================================================== */
.rayx-form-card {
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	border-radius: 32px;
	padding: 32px 24px;
	box-shadow: 0 16px 48px rgba(35, 66, 131, 0.14);
	margin-top: 40px;
}

@media (min-width: 640px) {
	.rayx-form-card { padding: 48px 56px; }
}

.rayx-form-grid {
	display: grid;
	gap: 20px;
	margin-bottom: 20px;
}

@media (min-width: 640px) {
	.rayx-form-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

.rayx-field-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.rayx-label {
	font-size: 15px;
	font-weight: 600;
	color: #0E1B33;
}

.rayx-input {
	width: 100%;
	height: 48px;
	border-radius: 10px;
	border: 1px solid #DEE5ED;
	background: #FFFFFF;
	padding: 0 16px;
	font-size: 15px;
	color: #0E1B33;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rayx-input:focus {
	border-color: #1F9EF5;
	box-shadow: 0 0 0 3px rgba(31, 158, 245, 0.25);
}

.rayx-highlight-box {
	background-color: #DEF0FF;
	border-radius: 20px;
	padding: 24px;
	margin-bottom: 24px;
}

.rayx-custom-select-btn {
	width: 100%;
	height: 48px;
	border-radius: 10px;
	border: 1px solid #DEE5ED;
	background: #FFFFFF;
	padding: 0 16px;
	font-size: 15px;
	color: #0E1B33;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	text-align: left;
}

/* Custom Dropdown Styling */
.custom-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	margin-top: 6px;
	background: #FFFFFF;
	border: 1px solid #DEE5ED;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
	z-index: 100;
	padding: 8px;
}

.custom-select-item {
	padding: 12px 16px;
	font-size: 15px;
	color: #0E1B33;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.custom-select-item:hover {
	background-color: #ECF3FA;
	color: #234283;
}

.hidden { display: none !important; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.rayx-footer {
	background-color: #234283;
	padding: 40px 24px;
	text-align: center;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.80);
}
