/* ============================================================
   AWS Converge LATAM 2026 — estilos de la landing
   Paleta: navy #060a1c · morado #5C3DFF/#7e61ff · rosa #f13ac2
   ============================================================ */

:root {
	--cv-navy: #060a1c;
	--cv-navy-2: #0b1230;
	--cv-purple: #5c3dff;
	--cv-purple-2: #7e61ff;
	--cv-pink: #f13ac2;
}

.font-converge,
.converge-statement,
.converge-form-title {
	font-family: 'Amazon Ember Display', 'Amazon Ember', Arial, sans-serif;
}

/* ---------- Botón ---------- */
.btn-converge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 34px;
	border: 0;
	border-radius: 50px;
	background: linear-gradient(90deg, var(--cv-purple) 0%, var(--cv-purple-2) 55%, var(--cv-pink) 130%);
	color: #fff !important;
	font-family: 'Amazon Ember', Arial, sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.3px;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
	box-shadow: 0 10px 30px rgba(92, 61, 255, 0.35);
}
.btn-converge:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 14px 38px rgba(241, 58, 194, 0.4);
	color: #fff !important;
}
.btn-converge:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

#header .header-row .btn-converge {
	margin-left: auto;
	margin-right: -12px;
	padding: 11px 26px;
	font-size: 14px;
}

/* ---------- Intro + formulario ---------- */
.converge-intro-section {
	background: radial-gradient(120% 120% at 80% 0%, #0d1740 0%, var(--cv-navy) 55%);
	color: #fff;
}
.converge-info-grid {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.converge-info-item {
	display: flex;
	align-items: center;
	gap: 16px;
}
.converge-info-item i {
	font-size: 26px;
	color: var(--cv-purple-2);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(126, 97, 255, 0.12);
	border: 1px solid rgba(126, 97, 255, 0.3);
	flex-shrink: 0;
}
.converge-info-label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}
.converge-info-value {
	display: block;
	font-size: 19px;
	color: #fff;
}

.converge-form-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	padding: 40px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.converge-form-title {
	color: #fff;
	font-weight: 700;
	font-size: 27px;
	margin-bottom: 6px;
}
.converge-form-subtitle {
	color: rgba(255, 255, 255, 0.6);
	font-size: 15px;
	margin-bottom: 28px;
}
.converge-form label {
	display: block;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 7px;
	letter-spacing: 0.2px;
}
.converge-form label span {
	color: var(--cv-pink);
}
.converge-form input {
	width: 100%;
	padding: 13px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	color: #fff;
	font-size: 15px;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.converge-form input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}
.converge-form input:focus {
	outline: none;
	border-color: var(--cv-purple-2);
	background: rgba(126, 97, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(126, 97, 255, 0.18);
}
.converge-form input.is-invalid {
	border-color: #ff5d7a;
	background: rgba(255, 93, 122, 0.08);
}
.converge-error {
	display: block;
	min-height: 16px;
	margin-top: 5px;
	font-size: 12px;
	color: #ff8da0;
}

.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	display: none;
	animation: cv-spin 0.7s linear infinite;
}
.converge-form.is-loading .btn-spinner {
	display: inline-block;
}
@keyframes cv-spin {
	to { transform: rotate(360deg); }
}

.converge-form-feedback {
	margin-top: 18px;
	padding: 0 16px;
	max-height: 0;
	overflow: hidden;
	border-radius: 12px;
	font-size: 14px;
	transition: max-height 0.3s ease, padding 0.3s ease;
}
.converge-form-feedback.show {
	padding: 14px 16px;
	max-height: 200px;
}
.converge-form-feedback.is-success {
	background: rgba(54, 211, 153, 0.12);
	border: 1px solid rgba(54, 211, 153, 0.4);
	color: #7ef0c2;
}
.converge-form-feedback.is-error {
	background: rgba(255, 93, 122, 0.12);
	border: 1px solid rgba(255, 93, 122, 0.4);
	color: #ff8da0;
}

/* ---------- Declaraciones (statement) ---------- */
.converge-statement-section {
	background: #f5f5f8;
}
.converge-statement {
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.18;
	color: var(--cv-navy);
}
.converge-highlight {
	color: var(--cv-pink);
}

/* ---------- Por qué / experiencias ---------- */
.converge-why-section {
	background: var(--cv-navy);
}
.converge-experience-box {
	height: 100%;
	padding: 38px 30px;
	border-radius: 20px;
	background: linear-gradient(160deg, rgba(126, 97, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 60%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.converge-experience-box:hover {
	transform: translateY(-6px);
	border-color: rgba(126, 97, 255, 0.5);
}
.converge-experience-num {
	display: inline-block;
	font-family: 'Amazon Ember Display', 'Amazon Ember', Arial, sans-serif;
	font-size: 40px;
	font-weight: 800;
	background: linear-gradient(90deg, var(--cv-purple-2), var(--cv-pink));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 18px;
}
.converge-experience-box h4 {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 14px;
	line-height: 1.3;
}
.converge-experience-box p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* ---------- Agenda ---------- */
.converge-agenda-section {
	background: #fff;
}
.converge-day-card {
	height: 100%;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e7e7ef;
	box-shadow: 0 16px 40px rgba(20, 16, 60, 0.06);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.converge-day-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 55px rgba(92, 61, 255, 0.16);
}
.converge-day-head {
	padding: 24px 26px;
	background: linear-gradient(120deg, var(--cv-navy) 0%, var(--cv-navy-2) 100%);
	color: #fff;
}
.converge-day-num {
	display: block;
	font-family: 'Amazon Ember Display', 'Amazon Ember', Arial, sans-serif;
	font-size: 24px;
	font-weight: 800;
}
.converge-day-date {
	display: block;
	font-size: 14px;
	color: var(--cv-purple-2);
	margin-top: 2px;
}
.converge-day-list {
	list-style: none;
	margin: 0;
	padding: 24px 26px 26px;
}
.converge-day-list li {
	position: relative;
	padding: 0 0 20px 24px;
}
.converge-day-list li:last-child {
	padding-bottom: 0;
}
/* Línea vertical del timeline */
.converge-day-list li::before {
	content: '';
	position: absolute;
	left: 5px;
	top: 6px;
	bottom: -2px;
	width: 2px;
	background: linear-gradient(180deg, rgba(92, 61, 255, 0.35), rgba(241, 58, 194, 0.18));
}
.converge-day-list li:last-child::before {
	display: none;
}
/* Punto del timeline */
.converge-day-list li::after {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cv-purple), var(--cv-pink));
	border: 2px solid #fff;
	box-shadow: 0 0 0 3px rgba(92, 61, 255, 0.12);
}
.converge-day-list .hora {
	display: inline-block;
	background: rgba(92, 61, 255, 0.1);
	color: var(--cv-purple);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.3px;
	padding: 3px 11px;
	border-radius: 20px;
	margin-bottom: 7px;
}
.converge-day-list .hora:empty {
	display: none;
}
.converge-day-list .act {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #2a2a3a;
	line-height: 1.5;
}
.converge-day-list .act em {
	display: block;
	font-style: italic;
	font-weight: 400;
	font-size: 12px;
	color: #9a9aa8;
	margin-top: 3px;
}

/* ---------- CTA ---------- */
.converge-cta-section {
	background: linear-gradient(120deg, var(--cv-navy) 0%, #1a103f 100%);
}

/* ---------- TQ1 / futuro ---------- */
.converge-future-section {
	background: #f5f5f8;
}
.converge-feature {
	height: 100%;
	text-align: center;
	padding: 36px 26px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e7e7ef;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.converge-feature:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 50px rgba(92, 61, 255, 0.14);
}
.converge-feature i {
	font-size: 34px;
	color: var(--cv-purple);
	margin-bottom: 18px;
	display: inline-block;
}
.converge-feature h4 {
	color: var(--cv-navy);
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 12px;
}
.converge-feature p {
	color: #6b6b7a;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* ---------- Header (se desplaza con la página, no fijo) ---------- */
#header,
#header.header-transparent {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 1030 !important;
	transform: none !important;
}
#header .header-body {
	position: static !important;
	transform: none !important;
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	background: transparent !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}
/* Evitar que el plugin redimensione el logo */
#header .header-logo img {
	width: 150px !important;
	height: auto !important;
	transition: none !important;
}

/* ---------- Animación de entrada del hero ---------- */
@keyframes cvFadeUp {
	from { opacity: 0; transform: translateY(34px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes cvLineGrow {
	from { opacity: 0; transform: scaleX(0); }
	to   { opacity: 1; transform: scaleX(1); }
}

.converge-hero .converge-title-bold,
.converge-hero .converge-title-light,
.converge-hero .converge-line,
.converge-hero .converge-subtitle {
	opacity: 0;
	animation: cvFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.converge-hero .converge-title-bold { animation-delay: 0.15s; }
.converge-hero .converge-title-light { animation-delay: 0.40s; }
.converge-hero .converge-line {
	transform-origin: left center;
	animation-name: cvLineGrow;
	animation-delay: 0.65s;
}
.converge-hero .converge-subtitle { animation-delay: 0.85s; }

@media (prefers-reduced-motion: reduce) {
	.converge-hero .converge-title-bold,
	.converge-hero .converge-title-light,
	.converge-hero .converge-line,
	.converge-hero .converge-subtitle {
		animation: none;
		opacity: 1;
	}
}

/* ---------- Footer ---------- */
.converge-footer {
	background: var(--cv-navy);
}

/* ---------- Modal de confirmación ---------- */
.converge-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.converge-modal.is-open { display: flex; }
.converge-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 6, 20, 0.7);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.converge-modal-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	background: #0b1230;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 42px 34px 34px;
	text-align: center;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	animation: convergeModalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes convergeModalIn {
	from { opacity: 0; transform: translateY(16px) scale(0.96); }
	to   { opacity: 1; transform: none; }
}
.converge-modal-close {
	position: absolute;
	top: 12px;
	right: 18px;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.converge-modal-close:hover { color: #fff; }
.converge-modal-check {
	width: 84px;
	height: 84px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: rgba(126, 97, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}
.converge-modal-card h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 10px;
}
.converge-modal-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 26px;
}
.converge-modal-btn { min-width: 170px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.converge-form-card {
		padding: 30px 24px;
	}
	#header .header-row .btn-converge {
		display: none !important;
	}
}

/* ---------- Speakers ---------- */
.converge-speakers-section {
	background: linear-gradient(120deg, var(--cv-navy) 0%, #1a103f 100%);
	position: relative;
	overflow: hidden;
}
.converge-speakers-section::before {
	content: '';
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 680px;
	height: 680px;
	background: radial-gradient(circle, rgba(92, 61, 255, 0.28), transparent 70%);
	pointer-events: none;
}
.converge-speakers-section .container {
	position: relative;
	z-index: 1;
}
.converge-speakers-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--cv-purple-2);
	margin-bottom: 14px;
}
.converge-speaker-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 40px 28px 34px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* Borde degradado que aparece en hover */
.converge-speaker-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 24px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(92, 61, 255, 0.7), rgba(241, 58, 194, 0.55));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}
.converge-speaker-card:hover {
	transform: translateY(-8px);
	border-color: transparent;
	box-shadow: 0 30px 70px rgba(92, 61, 255, 0.3);
}
.converge-speaker-card:hover::before {
	opacity: 1;
}
.converge-speaker-avatar-ring {
	width: 160px;
	height: 160px;
	margin: 0 auto 18px;
	border-radius: 50%;
	padding: 4px;
	background: linear-gradient(135deg, var(--cv-purple), var(--cv-pink));
	box-shadow: 0 10px 30px rgba(92, 61, 255, 0.45);
}
.converge-speaker-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid var(--cv-navy);
	display: block;
}
.converge-speaker-name {
	color: #fff;
	font-family: 'Amazon Ember Display', 'Amazon Ember', Arial, sans-serif;
	font-size: 21px;
	font-weight: 800;
	margin: 0 0 4px;
}
.converge-speaker-role {
	display: block;
	color: var(--cv-purple-2);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 22px;
}
.converge-speaker-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
}
.converge-speaker-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(92, 61, 255, 0.16);
	border: 1px solid rgba(126, 97, 255, 0.32);
	color: #c9bdff;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.2px;
	padding: 5px 13px;
	border-radius: 20px;
}
.converge-speaker-session {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 14px;
}
.converge-speaker-bio {
	color: rgba(255, 255, 255, 0.68) !important;
	font-weight: 400 !important;
	font-size: 14px;
	line-height: 1.7;
	text-align: left;
	margin: 0;
}
@media (max-width: 991px) {
	.converge-speaker-card {
		padding: 34px 24px 30px;
	}
}
