* {
	font-family: 'Plus Jakarta Sans', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

section {
	scroll-margin-top: 70px;
}

html {
	scroll-behavior: smooth;
}

:root {
	--primary: #e7501e;
	--primary-dark: #c94218;
	--button: #536876;
	--background: #fbfdfd;
	--text-dark: #2b2f38;
	--text-light: #555555;
	--text-muted: #8b95a3;
	--border: #e2e8f0;
	--surface: #ffffff;
	--surface-alt: #f8fafc;
	--card-shadow: 0 2px 12px rgba(20, 23, 33, 0.07);
	--card-shadow-hover: 0 8px 28px rgba(20, 23, 33, 0.13);
}

.text-center {
	text-align: center;
}

.d-flex {
	display: flex;
}

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

.profile-row-center {
	display: block !important;
	text-align: center;
}

.profiles-section#problem .profile-row-center {
	margin: 0 auto 3rem;
	max-width: 1100px;
	padding: 0 2rem;
}

.profiles-section#problem .profile-row-center h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text-dark);
	text-transform: uppercase;
}

.flashcards-section .profile-row-center {
	margin: 0 auto 3rem;
	max-width: 1100px;
	padding: 0 2rem;
}

.flashcards-section .profile-row-center h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text-dark);
	text-transform: uppercase;
}

.video-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.video-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0;
}

.video-frame {
	width: min(600px, 85vw);
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	box-shadow:
		0 4px 20px rgba(43, 47, 56, 0.15),
		inset 0 0 0 3px rgba(83, 104, 118, 0.2);
	background: #1a1a2e;
	transition: none;
}

body {
	background-color: var(--background);
	min-height: 100vh;
}

header {
	height: 70px;
	width: 100%;
	position: fixed;
	top: 0;
	right: 0;
	background-color: #ffffff;
	border-bottom: 1px solid var(--primary);
	z-index: 100;
	transition:
		box-shadow 0.3s ease,
		backdrop-filter 0.3s ease;
}

header .header-inner {
	max-width: 1380px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
	font-size: 1.2rem;
	font-weight: 600;
}

header .language-select {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* ── Desktop language dropdown (new clean implementation) ── */
.lang-dropdown {
	/* display: none; */
	position: relative;
	display: block !important;
}

.lang-toggle {
	display: flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--text-dark);
	padding: 5px 10px;
	border-radius: 8px;
	transition: background 0.15s;
	white-space: nowrap;
}

.lang-toggle:hover {
	background: rgba(0, 0, 0, 0.06);
}

.lang-toggle #langChevron {
	font-size: 0.75rem;
	transition: transform 0.2s ease;
	pointer-events: none;
}

.lang-toggle.open #langChevron {
	transform: rotate(180deg);
}

.lang-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
	min-width: 130px;
	z-index: 9999;
	overflow: hidden;
}

.lang-menu.open {
	display: block;
}

.lang-item {
	display: block;
	width: 100%;
	padding: 10px 16px;
	background: none;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-dark);
	text-align: left;
	transition: background 0.15s;
}

.lang-item:last-child {
	border-bottom: none;
}

.lang-item:hover {
	background: rgba(231, 80, 30, 0.07);
}

.lang-item.active {
	background: var(--primary);
	color: #fff;
}

.lang-link {
	font-size: 1rem;
	color: var(--primary);
	text-decoration: none;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.lang-link:hover {
	opacity: 1;
}

.lang-link.active {
	opacity: 1;
	font-weight: 700;
}

.lang-link:focus {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

header img {
	height: 100%;
	object-fit: contain;
}

header.scrolled {
	box-shadow: 0 4px 20px rgba(20, 23, 33, 0.1);
	backdrop-filter: blur(10px);
	background-color: rgba(240, 240, 240, 0.95);
}

.burger-menu {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 30px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
}

.menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0);
	text-decoration: none;
	transition: all 0.4s ease;
	white-space: nowrap;
	font-size: 15px;
	font-weight: 400;
	box-sizing: border-box;
}

.menu a:hover {
	color: var(--primary);
}

.menu a.active {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--primary);
}

.flag-senyera {
	width: 1.1em;
	height: 0.85em;
	background: #ffcc00;
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.flag-senyera::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(90deg,
			#cc0000 0,
			#cc0000 20%,
			transparent 20%,
			transparent 25%);
}

main {
	margin-top: 8vh;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.front-page {
	min-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	text-align: center;
	max-width: 1480px;
	margin: 0 auto;
	padding: 7rem 7rem 5rem;
	animation: fadeIn 0.6s ease-in;
	position: relative;
}

.hero-copy {
	flex: 0 1 760px;
	max-width: 760px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.front-page h1 {
	font-size: clamp(3.2rem, 5.2vw, 5.4rem);
	font-weight: 800;
	background: linear-gradient(135deg, var(--primary) 0%, #7b8390 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1.5rem;
	line-height: 1.02;
	will-change: transform;
	padding-bottom: 0.2rem;
	max-width: none;
}

.front-page .subtitle {
	font-size: 1.25rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
	line-height: 1.6;
	font-weight: 400;
	max-width: 60ch;
	margin-left: auto;
	margin-right: auto;
}

.cta-button {
	text-decoration: none;
	background-color: var(--primary);
	color: white;
	border: 1.5px solid var(--primary);
	padding: 0.9rem 2.25rem;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-shadow: 0 4px 16px rgba(231, 80, 30, 0.28);
	letter-spacing: 0.2px;
	display: inline-block;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.cta-button:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(231, 80, 30, 0.38);
}

.cta-button:active {
	transform: translateY(0);
}

.cta-button:focus {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

/* Secondary ghost CTA (second button in a .cta-buttons group) */
.cta-buttons .cta-button:nth-child(2) {
	background-color: transparent;
	color: var(--button);
	border-color: var(--button);
	box-shadow: none;
}

.cta-buttons .cta-button:nth-child(2):hover {
	background-color: var(--button);
	color: white;
	box-shadow: 0 4px 16px rgba(83, 104, 118, 0.25);
	transform: translateY(-2px);
}

.profiles-section {
	padding: 0 7rem 6rem 7rem;
	border-bottom: 2px solid var(--primary);
}

.profiles-section#teachers {
	padding-top: 6rem;
}

.profile-row {
	max-width: 1200px;
	margin: 0 auto 4rem auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding: 0 2rem;
}

.profiles-section .profile-row.profile-row-text-only {
	grid-template-columns: 1fr;
	max-width: 900px;
}

.problem-layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.problem-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	margin-bottom: 2rem;
}

.problem-cards-grid .flip-card {
	min-height: 210px;
	padding: 1rem;
}

.problem-visual {
	display: flex;
	justify-content: center;
}

.problem-visual .profile-image {
	width: min(560px, 100%);
	max-width: 100%;
	margin: 0 auto;
}

.profile-row-reverse {
	direction: rtl;
}

.profile-row-reverse>* {
	direction: ltr;
}

.profile-image-placeholder {
	width: 100%;
	aspect-ratio: 1;
	background: linear-gradient(135deg, #e8eaef 0%, #d8dce6 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: #999;
	font-weight: 600;
	border: 2px dashed #b0b8c4;
	position: relative;
}

.profile-image-placeholder::after {
	content: attr(data-label);
	position: absolute;
}

.profile-image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 12px;
	--tilt: 0deg;
	--zoom: 1;
	transform: rotate(var(--tilt)) scale(var(--zoom));
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
	cursor: pointer;
}

.profile-image:hover {
	--zoom: 1.05;
}

.student-fan-gallery {
	position: relative;
	display: block;
	min-height: 420px;
}

.student-gallery-caption,
.student-fan-caption {
	margin: 0 auto;
	min-height: 1.6em;
	display: flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	/*border-radius: 999px;*/
	border: 1px solid rgba(231, 80, 30, 0.16);
	background: linear-gradient(135deg,
			rgba(231, 80, 30, 0.12),
			rgba(83, 104, 118, 0.1));
	box-shadow: 0 10px 24px rgba(43, 47, 56, 0.08);
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: var(--primary);
}

.student-fan-item {
	--offset-x: 0px;
	--offset-y: 0px;
	--layer: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(280px, 24vw);
	transform: translate(calc(-50% + var(--offset-x)),
			calc(-50% + var(--offset-y)));
	z-index: var(--layer);
}

.student-fan-item .profile-image {
	display: block;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.student-fan-item:hover {
	z-index: 10;
}

.student-fan-item:focus {
	outline: none;
	z-index: 10;
}

.student-fan-gallery .student-fan-item:nth-child(1) {
	--offset-x: -330px;
	--offset-y: 28px;
	--layer: 1;
}

.student-fan-gallery .student-fan-item:nth-child(1) .profile-image {
	--tilt: -28deg;
}

.student-fan-gallery .student-fan-item:nth-child(2) {
	--offset-x: -170px;
	--offset-y: 10px;
	--layer: 2;
}

.student-fan-gallery .student-fan-item:nth-child(2) .profile-image {
	--tilt: -14deg;
}

.student-fan-gallery .student-fan-item:nth-child(3) {
	--offset-x: 0px;
	--offset-y: 0px;
	--layer: 3;
}

.student-fan-gallery .student-fan-item:nth-child(3) .profile-image {
	--tilt: 0deg;
}

.student-fan-gallery .student-fan-item:nth-child(4) {
	--offset-x: 170px;
	--offset-y: 10px;
	--layer: 2;
}

.student-fan-gallery .student-fan-item:nth-child(4) .profile-image {
	--tilt: 14deg;
}

.student-fan-gallery .student-fan-item:nth-child(5) {
	--offset-x: 330px;
	--offset-y: 28px;
	--layer: 1;
}

.student-fan-gallery .student-fan-item:nth-child(5) .profile-image {
	--tilt: 28deg;
}

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(17, 20, 26, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease;
	z-index: 1000;
	padding: 2rem;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox-image {
	max-width: min(900px, 90vw);
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 16px;
	background: transparent;
	box-shadow: none;
}

.lightbox-image.is-portrait {
	max-width: min(420px, 90vw);
}

.lightbox-close {
	position: absolute;
	top: 24px;
	right: 24px;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: #1b1f26;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
	background: white;
}

.profiles-section .profile-content,
.flashcards-section .profile-content {
	position: relative;
	border-radius: 18px;
	border: 1px solid transparent;
	background:
		linear-gradient(160deg,
			rgba(255, 248, 242, 0.95),
			rgba(241, 250, 255, 0.94) 55%,
			rgba(245, 246, 255, 0.95)) padding-box,
		linear-gradient(135deg,
			rgba(231, 80, 30, 0.75),
			rgba(255, 159, 67, 0.72),
			rgba(31, 126, 171, 0.7),
			rgba(83, 104, 118, 0.72)) border-box;
	box-shadow:
		0 18px 38px rgba(83, 104, 118, 0.2),
		0 10px 26px rgba(231, 80, 30, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.75) inset,
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	overflow: visible;
}

.profiles-section .profile-content:hover,
.flashcards-section .profile-content:hover {
	box-shadow:
		0 24px 48px rgba(83, 104, 118, 0.24),
		0 14px 30px rgba(231, 80, 30, 0.24),
		0 0 0 1px rgba(255, 255, 255, 0.78) inset,
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profiles-section .profile-content::before,
.flashcards-section .profile-content::before {
	content: '';
	position: absolute;
	inset: -16px;
	border-radius: 24px;
	background:
		radial-gradient(circle at 18% 20%,
			rgba(231, 80, 30, 0.34),
			transparent 58%),
		radial-gradient(circle at 82% 75%,
			rgba(31, 126, 171, 0.3),
			transparent 54%),
		radial-gradient(circle at 50% 100%,
			rgba(255, 159, 67, 0.22),
			transparent 60%);
	filter: blur(20px);
	z-index: -1;
	pointer-events: none;
}

h3.video-title,
.profile-content h2 {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--primary), var(--button));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.profile-content .profile-tagline {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 1rem;
	line-height: 1.4;
}

.profile-content .profile-description {
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.7;
	margin: 0;
}

.profile-gallery {
	max-width: 1200px;
	margin: 3rem auto 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	padding: 0 2rem;
	width: 100%;
}

.profile-gallery .profile-image-placeholder {
	width: 100%;
	aspect-ratio: 1;
}

.student-gallery-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
}

.ai-section {
	padding: 6rem 7rem;
	background: white;
	border-top: 4px solid var(--primary);
	margin: 0;
}

.flashcards-section {
	border-top: 4px solid var(--primary);
	overflow-x: hidden;
}

.ai-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.flashcards-section .ai-container {
	grid-template-columns: 1fr;
	gap: 2rem;
	width: 100%;
	min-width: 0;
	overflow-x: visible;
}

.flashcards-section .ai-content {
	width: 100%;
	min-width: 0;
	overflow-x: visible;
}

.ai-image-placeholder {
	width: 100%;
	aspect-ratio: 1;
	background:
		linear-gradient(135deg,
			rgba(255, 248, 242, 0.96),
			rgba(249, 250, 251, 0.98)),
		linear-gradient(135deg, #e8eaef 0%, #d8dce6 100%);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: var(--text-dark);
	font-weight: 700;
	text-align: center;
	padding: 2rem;
	border: 1px solid rgba(231, 80, 30, 0.16);
	box-shadow: 0 14px 34px rgba(20, 23, 33, 0.1);
	position: relative;
}

.ai-image-placeholder::after {
	content: attr(data-label);
	position: absolute;
	max-width: 18ch;
	line-height: 1.4;
}

.ai-content h2 {
	font-size: clamp(2rem, 3.4vw, 3.1rem);
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	line-height: 1.1;
	max-width: 14ch;
}

.ai-description {
	font-size: 1.1rem;
	color: var(--text-light);
	line-height: 1.8;
	margin: 0;
	max-width: 56ch;
}

.ai-lead {
	font-size: 1.08rem;
	line-height: 1.8;
	color: var(--text-light);
	margin: 0;
	max-width: 58ch;
}

.ai-flip-grid {
	margin-top: 1.6rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8rem;
	width: 100%;
	overflow-x: visible;
}

.ai-flip-grid .flip-card {
	min-height: 0;
	padding: 1rem;
}

.study-card {
	display: grid;
	grid-template-columns: minmax(260px, 1.1fr) minmax(0, 0.9fr);
	grid-template-areas: 'media content';
	align-items: center;
	gap: 1rem;
	max-width: 100%;
	width: 100%;
}

.study-card:nth-child(even) {
	grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
	grid-template-areas: 'content media';
}

.study-card>* {
	min-width: 0;
}

.study-card-image {
	grid-area: media;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px;
	border: none;
	box-shadow: none;
	cursor: pointer;
	transform: scale(1);
	transform-origin: center center;
	transition:
		transform 0.25s ease,
		filter 0.25s ease;
	will-change: transform;
}

.flashcards-section .study-card-image {
	margin-block: 0.7rem;
}

.study-card-image:hover {
	transform: scale(1.05);
	filter: saturate(1.03) contrast(1.02);
}

.study-card .profile-content {
	grid-area: content;
	align-self: center;
	overflow: visible;
}

.flashcards-section .study-card .profile-content::before {
	inset: 0;
	filter: blur(12px);
	opacity: 0.55;
}

.flashcards-section .profile-content h2 {
	font-size: 1.35rem;
	margin-bottom: 0.6rem;
	display: block;
	width: 100%;
	max-width: none;
}

.flashcards-section .profile-content .profile-description {
	font-size: 0.95rem;
	line-height: 1.55;
}

.panels-section {
	padding: 6rem 7rem;
	background: white;
	border-top: 4px solid var(--primary);
	overflow-x: hidden;
}

.panels-container {
	max-width: 1200px;
	margin: 0 auto;
}

.panels-section .profile-row-center {
	margin: 0 auto 3rem;
	max-width: 1100px;
	padding: 0 2rem;
}

.panels-section .profile-row-center h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text-dark);
	text-transform: uppercase;
}

.panels-subtitle {
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--text-light);
	text-align: center;
	max-width: 62ch;
	margin: 0 auto 2.5rem;
}

.panels-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8rem;
}

.panel-row {
	display: grid;
	grid-template-columns: minmax(260px, 1.1fr) minmax(0, 0.9fr);
	grid-template-areas: 'media content';
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.panel-row.panel-row-reverse {
	grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
	grid-template-areas: 'content media';
}

.panel-row>* {
	min-width: 0;
}

.panel-card-image {
	grid-area: media;
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px;
	border: none;
	box-shadow: none;
	cursor: pointer;
	transform: scale(1);
	transform-origin: center center;
	transition:
		transform 0.25s ease,
		filter 0.25s ease;
	margin-block: 0.7rem;
}

.panel-card-image:hover {
	transform: scale(1.05);
	filter: saturate(1.03) contrast(1.02);
}

.panel-flip-card {
	width: 100%;
	min-height: 0;
	padding: 0 !important;
	position: relative;
	border-radius: 12px;
	border: 1px solid var(--border);
	border-top: 3px solid var(--primary);
	background: var(--surface);
	box-shadow: var(--card-shadow);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.panel-flip-card:hover {
	box-shadow: var(--card-shadow-hover);
	transform: translateY(-2px);
}

.panel-flip-card .flip-card-front,
.panel-flip-card .flip-card-back {
	border-radius: 0;
	overflow: hidden;
}

.panel-flip-front {
	padding: 1.5rem 1.6rem 3.5rem;
	background: transparent;
}

.panel-flip-front h2,
.panel-flip-front h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.6rem;
	line-height: 1.3;
}

.panel-flip-front p {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}

.panel-flip-back {
	padding: 1.5rem 1.6rem;
	background: var(--text-dark);
}

.panel-flip-back h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.65rem;
	line-height: 1.3;
}

.panel-flip-back p {
	font-size: 0.91rem;
	line-height: 1.65;
	opacity: 0.9;
}

.panel-flip-card .flip-hint {
	right: 0.85rem;
	bottom: 0.85rem;
}

.specs-section {
	padding: 6rem 7rem;
}

.video-section {
	padding: 4rem 7rem;
	background: white;
	border-top: 4px solid var(--primary);
}

.d-flex {
	display: flex;
}

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

.universal-section {
	padding: 6rem 7rem;
	background: white;
	border-top: 4px solid var(--primary);
}

.universal-container {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.universal-section h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.universal-subtitle {
	font-size: 1.1rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.universal-section p {
	font-size: 1.05rem;
	color: var(--text-light);
	line-height: 1.7;
}

.specs-container {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.specs-section h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.specs-subtitle {
	font-size: 1.1rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 3rem;
}

.specs-slider {
	position: relative;
	max-width: 1024px;
	margin: 0 auto;
	padding: 2rem 200px;
	overflow: hidden;
	margin-bottom: 3rem;
}

.specs-slider .slider-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.specs-slider .slider-track {
	display: flex;
	width: 100%;
	justify-content: center;
}

.specs-slider .slide {
	flex: 0 0 100%;
	max-width: 100%;
	padding: 2rem;
	background: white;
	border-radius: 12px;
	border: 1px solid #e8eaef;
	box-shadow: 0 8px 24px rgba(20, 23, 33, 0.12);
	transform: scale(0.85);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
	z-index: 1;
	min-height: 220px;
	text-align: left;
}

.specs-slider .slide.active {
	transform: scale(1);
	opacity: 1;
	z-index: 10;
	pointer-events: auto;
	position: relative;
}

.specs-slider .slide.prev {
	transform: translateX(-100%) scale(0.9);
	opacity: 0.5;
	z-index: 5;
}

.specs-slider .slide.next {
	transform: translateX(100%) scale(0.9);
	opacity: 0.5;
	z-index: 5;
}

.specs-slider .slide h3 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
	position: relative;
	padding-top: 1rem;
}

.specs-slider .slide p {
	font-size: 1.05rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0 0 0.75rem 0;
}

.specs-slider .slide p:last-child {
	margin-bottom: 0;
}

.specs-slider .sprev,
.specs-slider .snext {
	position: absolute;
	top: 50%;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: white;
	border: 2px solid var(--primary);
	color: var(--primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	font-size: 1.25rem;
	font-weight: 700;
	z-index: 20;
}

.specs-slider .sprev {
	left: 0;
}

.specs-slider .snext {
	right: 0;
}

.specs-slider .sprev:hover,
.specs-slider .snext:hover {
	background: var(--primary);
	color: white;
}

.specs-slider .sdots {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.specs-slider .sdot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d8dce6;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.specs-slider .sdot:hover {
	background: var(--button);
}

.specs-slider .sdot.active {
	background: var(--primary);
	transform: scale(1.2);
}

.specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.spec-card {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	border: 1px solid #e8eaef;
	text-align: left;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow:
		0 14px 30px rgba(83, 104, 118, 0.12),
		0 6px 18px rgba(231, 80, 30, 0.12);
}

.spec-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.spec-card:hover {
	transform: translateY(-4px);
	box-shadow:
		0 18px 34px rgba(83, 104, 118, 0.18),
		0 10px 24px rgba(231, 80, 30, 0.2);
	border-color: var(--primary);
}

.spec-card:hover::before {
	transform: scaleX(1);
}

.spec-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.spec-card p {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

.technical-section {
	padding: 6rem 7rem;
}

.technical-container {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.technical-section h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.technical-subtitle {
	font-size: 1.1rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 3rem;
}

.technical-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.technical-card {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	border: 1px solid #e8eaef;
	text-align: left;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.technical-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.technical-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(20, 23, 33, 0.12);
	border-color: var(--primary);
}

.technical-card:hover::before {
	transform: scaleX(1);
}

.technical-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.technical-card p {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

.technical-section h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.bloque-section,
.contact-section {
	padding: 4rem 7rem;
	background: white;
	border-top: 4px solid var(--primary);
}

.contact-container {
	max-width: 600px;
	margin: 0 auto;
}

.contact-header {
	text-align: center;
	margin-bottom: 3rem;
}

.contact-header h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.contact-header p {
	font-size: 1.05rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
	padding: 0.85rem 1rem;
	border: 1px solid #d8dce6;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--text-dark);
	transition: all 0.3s ease;
	background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary);
	background-color: white;
	box-shadow: 0 0 0 3px rgba(231, 80, 30, 0.1);
}

.form-group textarea {
	resize: vertical;
	line-height: 1.5;
}

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.form-consent input[type='checkbox'] {
	margin-top: 0.2rem;
	width: 1rem;
	height: 1rem;
	accent-color: var(--primary);
	cursor: pointer;
}

.form-consent label {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--text-light);
}

.form-consent a {
	color: var(--primary);
	font-weight: 600;
}

.form-consent a:hover {
	text-decoration: underline;
}

.form-button {
	background-color: var(--primary);
	color: white;
	border: 1.5px solid var(--primary);
	padding: 0.9rem 2rem;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-shadow: 0 4px 16px rgba(231, 80, 30, 0.28);
	letter-spacing: 0.2px;
	margin-top: 1rem;
}

.form-button:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(231, 80, 30, 0.38);
}

.form-button:active {
	transform: translateY(0);
}

.form-button:focus {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.g-recaptcha {
	margin: 1rem 0;
	overflow: visible;
}

.form-recaptcha-notice {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--text-muted, #6b7280);
	text-align: center;
}

.form-recaptcha-notice a {
	color: inherit;
	text-decoration: underline;
}

.form-recaptcha-notice a:hover {
	color: var(--primary, #4f46e5);
}

.form-error-message {
	display: none;
	color: #dc2626;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 6px;
	padding: 10px 14px;
	margin: 0.75rem 0;
	font-size: 0.875rem;
	text-align: left;
}

.form-error-message.visible {
	display: block;
}

.lead-modal-error {
	display: none;
	color: #dc2626;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 6px;
	padding: 10px 14px;
	margin: 0.75rem 0;
	font-size: 0.875rem;
	text-align: left;
}

.lead-modal-error.visible {
	display: block;
}

.lms-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 1.25rem;
}

.lms-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 3rem;
	margin: 3rem 0;
}

.lms-logos a {
	display: inline-block;
	line-height: 0;
}

.lms-logos img {
	height: 40px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.7;
	transition:
		filter 0.3s ease,
		opacity 0.3s ease;
}

.lms-logos a:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

.lms-cta {
	margin: 1.5rem 0 0;
	font-size: 0.95rem;
	color: var(--text-dark);
	text-align: center;
	font-weight: 500;
}

footer {
	border-top: 4px solid var(--primary);
}

footer .footer-content {
	margin: 0 auto;
	margin: 0 auto;
	padding: 6rem 7rem 3rem 7rem;
}

footer .footer-content .lms-section {
	margin: 0 auto;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

footer .footer-columns {
	display: flex;
	flex-wrap: nowrap;
	gap: 2rem;
	padding-top: 1.5rem;
	max-width: 1380px;
	margin: 0 auto;
}

footer .footer-col {
	width: 20%;
	min-width: 150px;
}

footer .footer-col img {
	max-width: 180px;
	height: auto;
	margin-bottom: 1rem;
	display: block;
}

footer .footer-col p {
	font-size: 16px;
	line-height: 28px;
	color: #8a909a;
	margin-bottom: 1rem;
}

footer .footer-col h4 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
	color: #6e7a84;
}

footer .footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

footer .footer-col li {
	margin-bottom: 0.5rem;
}

footer .footer-col a {
	color: #000000;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

footer .footer-col a:hover {
	color: var(--primary);
}

footer .footer-social {
	display: flex;
	gap: 0.75rem;
}

footer .footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 1px solid #000000;
	border-radius: 50%;
	color: #000000;
	font-size: 1rem;
}

footer .footer-social a:hover {
	background: #000000;
	color: #ffffff;
}

footer .footer-bottom {
	max-width: 1380px;
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid #e7e7f3;
}

footer .footer-bottom p {
	line-height: 28px;
	color: #8a909a;
	margin: 0;
}

.site-footer {
	background: #1a1a2e;
	color: #fff;
	padding: 4rem 2rem 2rem;
}

.site-footer .footer-main {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}

.site-footer .footer-brand {
	flex: 0 0 250px;
}

.site-footer .footer-brand img {
	max-width: 180px;
	height: auto;
	margin-bottom: 1rem;
}

.site-footer .footer-brand p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 1.5rem;
}

.site-footer .footer-social {
	display: flex;
	gap: 1rem;
}

.site-footer .footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #fff;
	font-size: 1.1rem;
	transition: background 0.3s ease;
}

.site-footer .footer-social a:hover {
	background: var(--primary);
}

.site-footer .footer-nav {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.site-footer .footer-col {
	min-width: 140px;
}

.site-footer .footer-col h4 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1rem;
	color: var(--primary);
}

.site-footer .footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer .footer-col li {
	margin-bottom: 0.5rem;
}

.site-footer .footer-col a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.site-footer .footer-col a:hover {
	color: var(--primary);
}

.site-footer .footer-bottom {
	max-width: 1200px;
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.site-footer .footer-bottom p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
}

.fan-container {
	position: relative;
	width: 300px;
	height: 400px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.fan-image {
	position: absolute;
	width: 200px;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	transition:
		transform 0.4s ease,
		z-index 0.4s ease;
	transform-origin: bottom center;
}

.fan-1 {
	transform: rotate(-30deg) translateX(-60px) translateY(20px);
	z-index: 1;
}

.fan-2 {
	transform: rotate(-15deg) translateX(-30px) translateY(10px);
	z-index: 2;
}

.fan-3 {
	transform: rotate(0deg) translateY(0);
	z-index: 3;
}

.fan-4 {
	transform: rotate(15deg) translateX(30px) translateY(10px);
	z-index: 2;
}

.fan-5 {
	transform: rotate(30deg) translateX(60px) translateY(20px);
	z-index: 1;
}

.fan-image:hover {
	transform: rotate(0deg) translateY(-20px) scale(1.1);
	z-index: 10;
}

.flip-card {
	width: 100%;
	min-height: 200px;
	perspective: 1000px;
	display: grid;
	grid-template-areas: 'stack';
	padding: 1.6rem;
}

.flip-card>div {
	width: 100%;
	backface-visibility: hidden;
	transition: transform 0.6s ease;
	display: flex;
	flex-direction: column;
	grid-area: stack;
}

.flip-card-front {
	z-index: 2;
	position: relative;
	padding: 1.6rem 1.6rem 4rem;
}

.flip-hint {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--primary);
	border: none;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	pointer-events: none;
	opacity: 0.82;
	transition: opacity 0.2s ease;
	animation: flip-pulse 5s ease-in-out infinite;
}

.flip-hint svg {
	width: 14px;
	height: 14px;
	display: block;
}

.flip-back-hint {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0.85;
	animation: flip-pulse 5s ease-in-out infinite;
}

@keyframes flip-pulse {

	0%,
	100% {
		opacity: 0.82;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.06);
	}
}

.flip-card-back {
	transform: rotateY(180deg);
	z-index: 1;
	position: relative;
	padding: 1.6rem;
	background: #2b2f38;
	border-radius: 18px;
	color: white;
	text-align: left;
	display: flex;
	flex-direction: column;
}

.flip-card-back h3 {
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.flip-card-back p {
	margin-bottom: 1rem;
	line-height: 1.5;
}

.flip-card-back ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.flip-card-back ul li {
	font-size: 0.9rem;
	margin-bottom: 0.15rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.4;
}

.flip-card-back ul li i {
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.flip-card.flip-active .flip-card-front {
	transform: rotateY(180deg);
	z-index: 1;
}

.flip-card.flip-active .flip-card-back {
	transform: rotateY(360deg);
	z-index: 2;
	pointer-events: auto;
}

.flip-card.flip-active .flip-card-front {
	pointer-events: none;
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	border: 2px solid var(--primary);
	color: var(--primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.6s,
		visibility 0.6s;
	z-index: 9999 !important;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top {
	opacity: 0;
	visibility: hidden;
}

.back-to-top:hover {
	background: #e7501e;
	color: white;
}

/* =====================================================
   NEW REDESIGN STYLES
   ===================================================== */

/* Section divider */
.section-divider {
	border: none;
	border-top: 1px solid var(--border);
	margin: 0;
}

/* Hero section */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4rem 0;
	animation: fadeIn 0.6s ease-in;
	background-color: #ffffff;
}

.hero-inner {
	max-width: 1500px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 58% 42%;
	gap: 2rem;
	align-items: center;
}

.hero-section .hero-copy {
	flex: unset;
	max-width: none;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.hero-section h1 {
	font-size: clamp(4rem, 5.5vw, 8rem);
	font-weight: 800;
	color: var(--primary);
	background: none;
	-webkit-text-fill-color: var(--primary);
	margin-bottom: 1.2rem;
	line-height: 0.95;
	padding-bottom: 0;
}

.hero-subtitle {
	font-size: clamp(1rem, 1.4vw, 1.35rem);
	color: var(--text-light);
	margin-bottom: 2rem;
	line-height: 1.5;
	font-weight: 400;
	max-width: 38ch;
}

.hero-section .cta-buttons {
	justify-content: flex-start;
}

/* Problem section */
.problem-section {
	padding: 5rem 7rem;
}

/* Hero IA section */
.hero-ia-section {
	background: #ffffff;
	padding: 7rem 2rem;
	border-top: 1px solid var(--border);
}

.hero-ia-inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.hero-ia-eyebrow {
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--primary);
}

.hero-ia-title {
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

/* Hero Import/Export — más pequeño que el de IA */
.hero-ie-section {
	padding: 4rem 2rem;
	background: var(--surface-alt);
	border-top: 1px solid var(--border);
}

.hero-ie-inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.hero-ie-eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--primary);
}

.hero-ie-title {
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.hero-ie-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	text-align: left;
	width: 100%;
}

.hero-ie-item {
	background: #ffffff;
	border: 1px solid rgba(231, 80, 30, 0.18);
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hero-ie-item:hover {
	border-color: var(--primary);
	box-shadow: var(--card-shadow-hover);
}

.hero-ie-item strong {
	color: var(--text-dark);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.4;
}

.hero-ie-item span {
	color: var(--text-light);
	font-size: 0.9rem;
	line-height: 1.65;
}

/* ── AI Dialog ── */
.ai-dialog {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	background: #ffffff;
	z-index: 9999;
	overflow: hidden;
}

.ai-dialog[open] {
	display: flex;
}

@keyframes aiDialogFadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ai-dialog[open] .ai-dialog-inner {
	animation: aiDialogFadeIn 0.25s ease-out both;
}

/* AI Dialog content */
.ai-dialog-section {
	padding: 5rem 2rem;
}

.ai-dialog-inner-page {
	max-width: 1200px;
	margin: 0 auto;
}

.ai-dialog-eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--primary);
	margin-bottom: 0.75rem;
}

.ai-dialog-h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--text-dark);
}

.ai-dialog-h3 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text-dark);
}

.ai-dialog-h4 {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--text-dark);
}

.ai-dialog-text {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-light);
}

.ai-dialog-text-lg {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-light);
}

.ai-dialog-card {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
}

.ai-dialog-card-image {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 1.25rem;
	box-shadow: var(--card-shadow);
	overflow: hidden;
}

.ai-dialog-card-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	display: block;
}

.ai-dialog-highlight {
	background: rgba(59, 130, 246, 0.08);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 24px;
	padding: 1.5rem;
	font-weight: 800;
	line-height: 1.8;
	color: #1e3a5f;
}

.ai-dialog-grid-2 {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 2rem;
	align-items: center;
}

.ai-dialog-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ai-dialog-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.ai-dialog-grid-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ai-dialog-step-card {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 1.5rem;
	box-shadow: var(--card-shadow);
}

.ai-dialog-step-number {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 0.75rem;
}

.ai-dialog-step-card h4 {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.ai-dialog-step-card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-light);
}

.ai-dialog-type-card {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 1.25rem;
	box-shadow: var(--card-shadow);
}

.ai-dialog-type-card h4 {
	font-size: 1rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.ai-dialog-type-card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-light);
}

.ai-dialog-prompt-box {
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.25rem;
}

.ai-dialog-prompt-box strong {
	display: block;
	color: #1e3a5f;
	margin-bottom: 0.4rem;
	font-weight: 700;
}

.ai-dialog-prompt-box span,
.ai-dialog-prompt-box p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-light);
}

.ai-dialog-provider-card {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 1.5rem;
	box-shadow: var(--card-shadow);
}

.ai-dialog-provider-card h4 {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.ai-dialog-provider-card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-light);
}

.ai-dialog-section-header {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
}

.ai-dialog-2col {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 1024px) {
	.ai-dialog-grid-2,
	.ai-dialog-2col {
		grid-template-columns: 1fr;
	}

	.ai-dialog-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.ai-dialog-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ai-dialog-grid-3,
	.ai-dialog-grid-4,
	.ai-dialog-grid-2col {
		grid-template-columns: 1fr;
	}

	.ai-dialog-section {
		padding: 3rem 1.5rem;
	}
}

.ai-dialog-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ai-dialog-header {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0 2rem;
	height: 70px;
	border-bottom: 1px solid var(--border);
	background: #ffffff;
	flex-shrink: 0;
}

.ai-dialog-logo img {
	height: 38px;
	object-fit: contain;
}

.ai-dialog-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex: 1;
	justify-content: center;
}

.ai-dialog-nav a {
	padding: 8px 14px;
	color: var(--text-dark);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	border-radius: 8px;
	transition: color 0.2s, background 0.2s;
	white-space: nowrap;
}

.ai-dialog-nav a:hover {
	color: var(--primary);
	background: rgba(231, 80, 30, 0.06);
}

.ai-dialog-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	transition: background 0.2s;
}

.ai-dialog-close:hover {
	background: rgba(0, 0, 0, 0.06);
}

.ai-dialog-content {
	flex: 1;
	overflow-y: auto;
	padding: 4rem 2rem;
}

.ai-dialog-back-btn {
	position: fixed;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	border: 2px solid var(--primary);
	color: var(--primary);
	padding: 12px 28px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	z-index: 10000;
}

.ai-dialog-back-btn:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
	transform: translateX(-50%) scale(1.02);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ai-dialog-back-btn:active {
	transform: translateX(-50%) scale(0.98);
}

.ai-dialog-title {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem;
}

.ai-dialog-title .eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--primary);
	margin-bottom: 0.75rem;
}

.ai-dialog-title h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.ai-dialog-placeholder {
	text-align: center;
	color: var(--text-light);
	font-size: 1.1rem;
}

.problem-cards-row {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.problem-card {
	background: white;
	border: 2px solid rgba(231, 80, 30, 0.18);
	border-radius: 16px;
	padding: 2rem 1.75rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.problem-card:hover {
	border-color: var(--primary);
	box-shadow: 0 8px 28px rgba(231, 80, 30, 0.12);
	transform: translateY(-3px);
}

.problem-card-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(231, 80, 30, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	color: var(--primary);
	flex-shrink: 0;
}

.problem-card p {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.4;
	margin: 0;
}

/* Antes / Después */
.antes-despues-section {
	padding: 5rem 7rem;
	background: white;
}

.before-after-wrap {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	align-items: center;
}

.ba-card {
	border-radius: 16px;
	padding: 2.25rem 2.5rem;
	align-self: stretch;
}

.ba-before {
	background: #fff7f6;
	border: 1px solid rgba(224, 60, 60, 0.2);
}

.ba-after {
	background: #f4fbf6;
	border: 1px solid rgba(45, 164, 78, 0.2);
}

.ba-label {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}

.ba-label-before {
	background: rgba(224, 60, 60, 0.12);
	color: #e03c3c;
}

.ba-label-after {
	background: rgba(45, 164, 78, 0.12);
	color: #2da44e;
}

.ba-divider-arrow {
	font-size: 2.8rem;
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	opacity: 0.65;
}

.ba-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ba-card li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.5;
}

.ba-before li i {
	color: #e03c3c;
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.ba-after li i {
	color: #2da44e;
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
}

/* Video section */
.video-section-new {
	padding: 5rem 7rem;
}

.video-section-inner {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.video-section-inner h2 {
	font-size: clamp(1.6rem, 2.5vw, 2.4rem);
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 2rem;
}

/* Custom video player */
.video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
	background: #000;
	cursor: pointer;
}

.video-wrapper video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Big play overlay (shown before first play) */
.video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.28);
	transition: opacity 0.25s ease;
	border-radius: inherit;
}

.video-overlay.hidden {
	opacity: 0;
	pointer-events: none;
}

.video-play-btn {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--primary);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	color: #fff;
	box-shadow: 0 8px 32px rgba(231, 80, 30, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-play-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 12px 40px rgba(231, 80, 30, 0.6);
}

.video-play-btn .bi {
	margin-left: 4px;
	/* optical center for play icon */
}

/* Bottom controls bar */
.video-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.video-wrapper:hover .video-controls,
.video-wrapper.playing .video-controls {
	opacity: 1;
}

.vc-play,
.vc-mute,
.vc-fs {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.15rem;
	cursor: pointer;
	padding: 4px;
	flex-shrink: 0;
	opacity: 0.9;
	transition: opacity 0.15s;
}

.vc-play:hover,
.vc-mute:hover,
.vc-fs:hover {
	opacity: 1;
}

.vc-progress {
	flex: 1;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
}

.vc-bar {
	height: 100%;
	background: var(--primary);
	border-radius: 4px;
	width: 0%;
	transition: width 0.1s linear;
}

.vc-time {
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0.9;
	min-width: 36px;
	text-align: right;
}

/* What is Flashcards section */
.what-is-section {
	padding: 5rem 7rem;
	background: white;
}

.what-is-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: center;
}

.what-is-left {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

.what-is-left h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.1;
	align-self: flex-start;
}

.feature-grid-2x3 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(3, 1fr);
	gap: 0.85rem;
	counter-reset: feature;
}

.feature-grid-2x3 .flip-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	min-height: 100px;
	padding: 0;
	overflow: hidden;
	box-shadow: var(--card-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-grid-2x3 .flip-card-front {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	font-size: 0.93rem;
	font-weight: 600;
	color: var(--text-dark);
	line-height: 1.45;
	padding: 1.1rem 1.2rem 3rem;
	counter-increment: feature;
	box-shadow: inset 3px 0 0 var(--primary);
}

.feature-grid-2x3 .flip-card-front::before {
	content: "0" counter(feature);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--primary);
	opacity: 0.65;
	margin-bottom: 0.5rem;
}

.feature-icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: rgba(231, 80, 30, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	flex-shrink: 0;
	margin-top: 0.25rem;
	margin-bottom: 1rem;
	transition: background 0.3s ease, color 0.3s ease;
}

.feature-icon svg {
	width: 24px;
	height: 24px;
}

.feature-grid-2x3 .flip-card-back {
	border-radius: 10px;
	background: var(--primary);
}

.feature-grid-2x3 .flip-card-back h3 {
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.feature-grid-2x3 .flip-card-back p {
	font-size: 0.86rem;
	line-height: 1.55;
}

.feature-grid-2x3 .flip-card:hover {
	box-shadow: var(--card-shadow-hover);
	transform: translateY(-2px);
}

.feature-pill {
	background: #f0f2f5;
	border-radius: 12px;
	padding: 2rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	text-align: center;
	border: 1px solid #e8eaef;
	line-height: 1.4;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	transition:
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.feature-pill:hover {
	box-shadow: 0 4px 14px rgba(231, 80, 30, 0.12);
	transform: translateY(-2px);
}

/* Para sections */
.para-section {
	padding: 5rem 7rem;
}

#panels {
	background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.para-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.para-inner-reverse {
	direction: rtl;
}

.para-inner-reverse>* {
	direction: ltr;
}

.para-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.para-media-stack {
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
}

.para-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 40px 44px;
	box-shadow: var(--card-shadow);
}

.para-card h2 {
	color: var(--primary);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.15;
}

.para-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.para-card li {
	font-size: 1rem;
	color: #6b7280;
	line-height: 1.7;
}

.para-card li strong {
	color: var(--text-dark);
	font-weight: 700;
	display: block;
}

.para-flip-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#institutions .panel-flip-card {
	border-top: 3px solid var(--primary);
	background: var(--surface);
}

#institutions .panel-flip-front {
	background: transparent;
}

#institutions .panel-flip-back {
	background: var(--text-dark);
	color: #fff;
}

#institutions .panel-flip-back h3,
#institutions .panel-flip-back p {
	color: #fff;
}

.para-flip-grid h2 {
	color: var(--primary);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	line-height: 1.15;
}

.para-laptops-row {
	max-width: 1200px;
	margin: 2rem auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

/* Teachers section — 2-col: images left, cards right */
.teachers-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.teachers-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: stretch;
}

.teachers-images-stack {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.teachers-images-stack img {
	width: 100%;
	display: block;
	border-radius: 14px;
	filter: drop-shadow(0 12px 36px rgba(20, 23, 33, 0.18));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.teachers-images-stack img:hover {
	transform: translateY(-5px);
	filter: drop-shadow(0 20px 48px rgba(20, 23, 33, 0.25));
}

.teachers-cards-stack {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.teachers-title {
	color: var(--primary);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.15;
	flex-shrink: 0;
}

.teachers-cards-group {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	padding-top: 6rem;
}

/* .teachers-card — visual styles handled by .panel-flip-card */
.teachers-card {
	width: 100%;
}

/* Mobile slider (students) */
.mobile-slider-wrap {
	position: relative;
	max-width: 380px;
	margin: 0 auto;
	padding: 1rem 60px;
	overflow: hidden;
}

.mobile-slider-wrap .slider-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-slider-wrap .slider-track {
	display: flex;
	width: 100%;
	justify-content: center;
}

.mobile-slider-wrap .slide {
	flex: 0 0 100%;
	max-width: 100%;
	transform: scale(0.85);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
	z-index: 1;
}

.mobile-slider-wrap .slide.active {
	transform: scale(1);
	opacity: 1;
	z-index: 10;
	pointer-events: auto;
	position: relative;
}

.mobile-slider-wrap .slide.prev {
	transform: translateX(-100%) scale(0.9);
	opacity: 0.5;
	z-index: 5;
}

.mobile-slider-wrap .slide.next {
	transform: translateX(100%) scale(0.9);
	opacity: 0.5;
	z-index: 5;
}

.mobile-slider-wrap .sprev,
.mobile-slider-wrap .snext {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: white;
	border: 2px solid var(--primary);
	color: var(--primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	font-size: 1.25rem;
	font-weight: 700;
	z-index: 20;
	transform: translateY(-50%);
}

.mobile-slider-wrap .sprev {
	left: 0;
}

.mobile-slider-wrap .snext {
	right: 0;
}

.mobile-slider-wrap .sprev:hover,
.mobile-slider-wrap .snext:hover {
	background: var(--primary);
	color: white;
}

.mobile-slider-wrap .sdots {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.mobile-slider-wrap .sdot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d8dce6;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.mobile-slider-wrap .sdot:hover {
	background: var(--button);
}

.mobile-slider-wrap .sdot.active {
	background: var(--primary);
	transform: scale(1.2);
}

/* Specs cards */
.specs-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
	text-align: left;
}

.spec-card-new {
	background: white;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 16px rgba(20, 23, 33, 0.06);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.spec-card-new::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--primary);
}

.spec-card-new:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(231, 80, 30, 0.15);
}

.spec-card-new h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
	padding-top: 0.5rem;
}

.spec-card-new ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.spec-card-new li {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	padding: 0.4rem 0;
	border-bottom: 1px solid #f0f2f5;
}

.spec-card-new li:last-child {
	border-bottom: none;
}

/* Testimonial section */
.testimonial-section {
	padding: 5rem 7rem;
	background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

.testimonial-inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	text-align: center;
}

.testimonial-quote-wrap {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.testimonial-eyebrow {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--primary);
}

.testimonial-quote {
	margin: 0;
	padding: 0;
	border: none;
}

.testimonial-quote p {
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	font-style: italic;
	color: var(--text-dark);
	line-height: 1.8;
	margin: 0;
	max-width: 75ch;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.testimonial-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--primary);
}

.testimonial-author-info {
	text-align: left;
}

.testimonial-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.25rem;
}

.testimonial-title {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0;
}

/* Certification section */
.certification-section {
	padding: 5rem 7rem;
	background: #f4f5f7;
}

.certification-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 3.5rem;
	align-items: center;
}

.certification-badge-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.certification-badge {
	max-width: 500px;
	/* width: 100%;
	height: auto; */
	object-fit: contain;
	display: block;
}

.certification-eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.certification-content {
	text-align: left;
}

.certification-content h2 {
	font-size: clamp(1.6rem, 2.6vw, 2.6rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.2;
	margin-bottom: 1.25rem;
	letter-spacing: -0.02em;
}

.certification-content p {
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.75;
	margin-bottom: 1rem;
	max-width: 58ch;
}

.certification-content p:last-of-type {
	margin-bottom: 1.75rem;
}

.certification-cta {
	display: inline-block;
	background: var(--text-dark);
	color: white;
	padding: 0.9rem 2rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: background 0.2s ease, transform 0.2s ease;
}

.certification-cta:hover {
	background: #1a1e26;
	transform: translateY(-2px);
}

/* PDF download section */
.pdf-download-section {
	padding: 5rem 7rem;
	background: white;
	text-align: center;
}

.pdf-download-inner {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.pdf-download-inner h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.2rem);
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1.25;
}

.pdf-download-inner p {
	font-size: 1.05rem;
	color: var(--text-light);
	line-height: 1.7;
}

/* Placeholder elements */
/* ── Imágenes reales (sustituyen placeholders) ── */
.screenshot-hero {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 16px;
	object-fit: contain;
}

/* Hero composite: laptop behind + phone overlapping bottom-right */
.hero-device-composite {
	position: relative;
	width: 100%;
	padding-bottom: 12%;
}

.hero-laptop {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.hero-phone {
	position: absolute;
	right: -2%;
	bottom: -10%;
	width: 38%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22));
}

.screenshot-laptop {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	object-fit: cover;
}

.screenshot-laptop-large {
	border-radius: 14px;
}

.screenshot-mobile-lg {
	width: min(340px, 100%);
	height: auto;
	display: block;
	border-radius: 24px;
	margin: 0 auto;
	object-fit: contain;
}

.screenshot-slide {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 20px;
	display: block;
}

.video-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}

.placeholder-hero {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #f0f2f5 0%, #e8eaef 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	color: #b0b8c4;
	border: 2px dashed #d0d5de;
	position: relative;
}

.placeholder-hero::after {
	content: attr(data-label);
	position: absolute;
	bottom: 1rem;
	font-size: 0.8rem;
	color: #b0b8c4;
	font-weight: 500;
}

.placeholder-mobile {
	width: min(240px, 100%);
	aspect-ratio: 9 / 16;
	background: linear-gradient(135deg, #f0f2f5 0%, #e8eaef 100%);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: #b0b8c4;
	border: 2px dashed #d0d5de;
	margin: 0 auto;
	position: relative;
}

.placeholder-mobile::after {
	content: attr(data-label);
	position: absolute;
	bottom: 0.75rem;
	font-size: 0.75rem;
	color: #b0b8c4;
	font-weight: 500;
}

.placeholder-mobile-screen {
	width: min(220px, 90%);
	aspect-ratio: 9 / 16;
	background: linear-gradient(135deg, #f0f2f5 0%, #e8eaef 100%);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: #b0b8c4;
	border: 2px dashed #d0d5de;
	margin: 0 auto;
	position: relative;
}

.placeholder-mobile-screen::after {
	content: attr(data-label);
	position: absolute;
	bottom: 0.75rem;
	font-size: 0.75rem;
	color: #b0b8c4;
	font-weight: 500;
}

.placeholder-laptop {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f0f2f5 0%, #e8eaef 100%);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3.5rem;
	color: #b0b8c4;
	border: 2px dashed #d0d5de;
	position: relative;
}

.placeholder-laptop::after {
	content: attr(data-label);
	position: absolute;
	bottom: 0.75rem;
	font-size: 0.8rem;
	color: #b0b8c4;
	font-weight: 500;
}

.placeholder-laptop-large {
	aspect-ratio: 16 / 9;
}

/*MEDIA QUERIES*/


@media (min-width: 1025px) {
	.lang-dropdown {
		display: block !important;
	}

	header .language-select {
		display: none;
	}
}


@media (max-width: 1024px) {
	.burger-menu {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 30px;
		height: 30px;
		background: none;
		border: none;
		cursor: pointer;
		z-index: 1001;
		position: fixed;
		right: 2rem;
		top: 20px;
		display: flex !important;
	}

	header .header-inner {
		position: relative;
		width: 100%;
		padding: 0 2rem;
		box-sizing: border-box;
	}

	.burger-menu span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: var(--primary);
		transition:
			transform 0.3s ease,
			opacity 0.3s ease;
	}

	.burger-menu.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.burger-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.burger-menu.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.menu {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		width: 100%;
		max-height: 0;
		background-color: #ffffff;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 0.5rem;
		transition:
			max-height 0.95s ease,
			opacity 0.35s ease;
		z-index: 1000;
		padding: 1.5rem 1.5rem 2rem 1.5rem;
		overflow-y: auto;
		box-shadow: 0 6px 20px rgba(20, 23, 33, 0.15);
		opacity: 0;
		pointer-events: none;
	}

	.menu.active {
		max-height: calc(100vh - 70px);
		opacity: 1;
		pointer-events: auto;
	}

	.menu.active .lang-dropdown {
		position: static;
		width: 100%;
	}

	.menu.active .lang-menu {
		position: static;
		width: 100%;
		margin-top: 0.5rem;
		box-shadow: none;
		border: 1px solid rgba(0, 0, 0, 0.1);
	}

	.menu a {
		display: block;
		font-size: 1.1rem;
		width: 100%;
		justify-content: flex-start;
		padding: 0.6rem;
	}

	.language-select {
		position: fixed;
		padding: 0.5rem 0;
		top: 4px;
		right: 4rem;
		gap: 0.4rem;
	}

	main {
		width: 100%;
	}

	footer .footer-columns {
		display: none;
	}

	header .header-inner,
	main,
	.front-page,
	section,
	.profiles-section,
	.ai-section,
	.specs-section,
	.technical-section,
	.contact-section,
	.contact-container,
	.specs-container,
	.technical-container {
		max-width: 100%;
		width: 100%;
	}

	.front-page {
		min-height: 100vh;
	}

	.hero-section {
		padding: 3rem 2rem 4rem;
	}

	.hero-section .hero-copy {
		margin: 0 auto;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-visual {
		min-height: auto;
	}

	.front-page,
	.profiles-section,
	.bloque-section,
	.contact-section,
	.video-section,
	.ai-section,
	.specs-section,
	.technical-section,
	.contact-section {
		padding: 4rem 2rem;
	}

	.profile-gallery,
	.profile-row {
		padding: 0;
		grid-template-columns: 1fr;
	}

	.problem-layout {
		padding: 0;
	}

	.problem-cards-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.ai-flip-grid {
		grid-template-columns: 1fr;
	}

	.flashcards-section .ai-flip-grid .study-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			'media'
			'content';
		justify-self: stretch;
		max-width: none;
	}

	.study-card-image {
		min-height: 180px;
		height: auto;
		margin-block: 0;
	}

	.panels-section {
		padding: 4rem 2rem;
	}

	.panels-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.panel-row,
	.panel-row.panel-row-reverse {
		grid-template-columns: 1fr;
		grid-template-areas:
			'media'
			'content';
		gap: 1rem;
	}

	.panel-card-image {
		margin-block: 0;
	}

	.problem-visual .profile-image {
		width: min(70%, 520px);
	}

	.profile-gallery .profile-content .profile-row .profile-content {
		width: 100%;
		text-align: center;
	}

	.profile-gallery img.profile-image,
	.profile-row img.profile-image {
		max-width: 70%;
		margin: 0 auto;
	}

	.lightbox-image.is-portrait {
		max-width: min(80%, 90vw);
	}

	.profile-gallery {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 0;
		margin-left: 0;
		margin-right: 0;
	}

	.student-fan-gallery {
		min-height: 320px;
	}

	.student-fan-caption {
		margin-top: 1.25rem;
		font-size: 0.95rem;
		padding: 0.5rem 0.9rem;
	}

	.student-fan-item {
		width: min(220px, 36vw);
	}

	.student-fan-gallery .student-fan-item:nth-child(1) {
		--offset-x: -195px;
		--offset-y: 20px;
	}

	.student-fan-gallery .student-fan-item:nth-child(2) {
		--offset-x: -102px;
		--offset-y: 8px;
	}

	.student-fan-gallery .student-fan-item:nth-child(4) {
		--offset-x: 102px;
		--offset-y: 8px;
	}

	.student-fan-gallery .student-fan-item:nth-child(5) {
		--offset-x: 195px;
		--offset-y: 20px;
	}

	footer {
		padding: 2rem;
	}

	footer .footer-content {
		padding: 0;
	}
}

@media (max-width: 768px) {

	html,
	body {
		width: 100%;
		max-width: none;
	}

	main {
		width: 100%;
	}

	.specs-section,
	.technical-section,
	.contact-section {
		padding: 4rem 2rem;
	}

	.profile-row-reverse {
		direction: ltr;
	}

	.profile-content h2 {
		font-size: 1.5rem;
	}

	.profile-content .profile-tagline {
		font-size: 1.1rem;
	}

	.profile-content .profile-description {
		font-size: 0.95rem;
	}

	.universal-section h2 {
		font-size: 1.8rem;
	}

	.front-page h1 {
		font-size: 3rem;
	}

	.front-page .subtitle {
		font-size: 1.1rem;
	}

	.cta-button {
		padding: 0.85rem 2rem;
		font-size: 1rem;
	}

	.front-page {
		padding: 2rem 1.5rem;
	}

	.front-page {
		flex-direction: column;
		text-align: center;
		gap: 2.5rem;
	}

	.hero-copy,
	.hero-visual {
		width: 100%;
		min-width: 0;
		max-width: none;
	}

	.hero-copy {
		max-width: 720px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.cta-buttons {
		justify-content: center;
	}

	.hero-visual {
		min-height: 380px;
		padding-top: 0;
	}

	.flashcard-stack {
		width: min(100%, 360px);
		height: 390px;
	}

	.flashcard-card {
		width: min(320px, 100%);
		min-height: 185px;
		padding: 1.25rem;
	}

	.hero-footer-chip {
		white-space: normal;
		text-align: center;
	}

	footer .footer-bottom {
		max-width: 768px;
		margin: 0;
		padding: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	footer .lms-section .lms-logos {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		flex-wrap: wrap;
		margin: 1.5rem 0;
	}

	footer .lms-section .lms-logos img {
		max-height: 40px;
		width: auto;
	}

	footer h4 {
		font-size: 0.85rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 1px;
		margin-bottom: 1rem;
		color: var(--primary);
	}

	footer ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	footer li {
		margin-bottom: 0.5rem;
	}

	footer a {
		color: rgba(255, 255, 255, 0.7);
		text-decoration: none;
		font-size: 0.9rem;
		transition: color 0.3s ease;
	}

	footer a:hover {
		color: var(--primary);
	}

	footer .footer-social {
		display: flex;
		gap: 1rem;
		margin-top: 1rem;
	}

	footer .footer-social a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 50%;
		color: #fff;
		font-size: 1rem;
	}

	footer .footer-social a:hover {
		background: var(--primary);
		color: #fff;
	}

	.site-footer {
		padding: 2rem 1rem;
	}

	.site-footer .footer-brand {
		flex: 1 1 100%;
		text-align: center;
	}

	.site-footer .footer-social {
		justify-content: center;
	}

	.site-footer .footer-nav {
		justify-content: center;
	}

	.site-footer .footer-col {
		flex: 1 1 45%;
		text-align: center;
	}

	.contact-section {
		margin: 0;
	}

	.contact-header h2 {
		font-size: 1.6rem;
	}

	.contact-header p {
		font-size: 0.95rem;
	}

	.contact-form {
		gap: 1.25rem;
	}

	.form-group input,
	.form-group textarea {
		font-size: 16px;
	}

	.specs-section {
		padding: 3rem 1rem;
	}

	.specs-section h2 {
		font-size: 1.8rem;
	}

	.specs-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.spec-card {
		padding: 1.5rem;
	}

	.spec-card h3 {
		font-size: 1.1rem;
	}

	.spec-card p {
		font-size: 0.9rem;
	}

	.technical-section {
		padding: 3rem 1rem;
	}

	.technical-section h2 {
		font-size: 1.8rem;
	}

	.technical-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.technical-card {
		padding: 1.5rem;
	}

	.technical-card h3 {
		font-size: 1.1rem;
	}

	.technical-card p {
		font-size: 0.9rem;
	}

	.ai-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.flashcards-section .ai-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ai-content h2 {
		font-size: 1.6rem;
	}

	.ai-description {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.burger-menu {
		top: 10px;
	}

	.ai-container {
		gap: 1.5rem;
	}

	.flashcards-section .ai-container {
		gap: 1.5rem;
	}

	.ai-content h2 {
		font-size: 1.3rem;
	}

	.ai-description {
		font-size: 0.9rem;
	}

	.contact-header h2 {
		font-size: 1.3rem;
	}

	.contact-header p {
		font-size: 0.9rem;
	}

	.contact-form {
		gap: 1rem;
	}

	.form-button {
		padding: 0.85rem 1.5rem;
		font-size: 0.95rem;
	}

	.contact-section {
		padding: 2rem 1rem;
	}

	.specs-section {
		padding: 2rem 1rem;
	}

	.specs-section h2 {
		font-size: 1.5rem;
	}

	.specs-subtitle {
		font-size: 0.95rem;
		margin-bottom: 2rem;
	}

	.specs-card {
		padding: 1.25rem;
	}

	.spec-card h3 {
		font-size: 1rem;
	}

	.spec-card p {
		font-size: 0.85rem;
	}

	.technical-section {
		padding: 2rem 1rem;
	}

	.technical-section h2 {
		font-size: 1.5rem;
	}

	.technical-subtitle {
		font-size: 0.95rem;
		margin-bottom: 2rem;
	}

	.technical-card {
		padding: 1.25rem;
	}

	.technical-card h3 {
		font-size: 1rem;
	}

	.technical-card p {
		font-size: 0.85rem;
	}

	.ai-section {
		padding: 2rem 1rem;
	}

	.lightbox {
		padding: 1rem;
	}

	.lightbox-close {
		top: 16px;
		right: 16px;
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.front-page h1 {
		font-size: 1.8rem;
		margin-bottom: 1rem;
	}

	.front-page .subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
	}

	.cta-button {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
		width: 100%;
		max-width: 300px;
	}

	.front-page {
		padding: 2rem 1.5rem;
	}

	main {
		margin-top: 7vh;
	}

	.lang-link {
		font-size: 1rem;
	}


	.menu {
		top: 7vh;
		height: calc(100vh - 7vh);
		max-height: 0;
		padding: 1rem 1rem 1.5rem 1rem;
		gap: 0.3rem;
		transition: max-height 0.95s ease, opacity 0.35s ease;
		opacity: 0;
		pointer-events: none;
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.menu.active {
		max-height: calc(100vh - 7vh);
		opacity: 1;
		pointer-events: auto;
	}

	.menu a {
		font-size: 0.75rem;
	}

	header {
		padding: 0;
		font-size: 0.9rem;
		height: 7vh;
	}

	header .header-inner {
		padding: 0;
	}

	.language-select {
		gap: 0.4rem;
		top: 0;
	}

	.front-page h1 {
		font-size: 4rem;
		margin-bottom: 1rem;
	}

	.front-page .subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
	}

	.cta-button {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
		width: 100%;
		max-width: 300px;
	}

	.front-page {
		padding: 1.5rem 1rem;
	}

	.hero-section .hero-copy {
		justify-content: center;
	}

	.ai-section {
		margin: 0;
	}

	.profile-content h2 {
		font-size: 1.3rem;
	}

	.profile-content .profile-tagline {
		font-size: 1rem;
	}

	.profile-content .profile-description {
		font-size: 0.9rem;
	}

	.student-fan-gallery {
		min-height: 250px;
		margin-top: 2rem;
	}

	.student-fan-caption {
		margin-top: 1rem;
		font-size: 0.9rem;
		padding: 0.45rem 0.8rem;
	}

	.student-fan-item {
		width: min(170px, 42vw);
	}

	.student-fan-gallery .student-fan-item:nth-child(1) {
		--offset-x: -80px;
		--offset-y: 12px;
	}

	.student-fan-gallery .student-fan-item:nth-child(2) {
		--offset-x: -40px;
		--offset-y: 4px;
	}

	.student-fan-gallery .student-fan-item:nth-child(4) {
		--offset-x: 40px;
		--offset-y: 4px;
	}

	.student-fan-gallery .student-fan-item:nth-child(5) {
		--offset-x: 80px;
		--offset-y: 12px;
	}

	.profile-gallery {
		gap: 1rem;
		margin: 2rem auto 0;
	}

	.specs-slider {
		padding: 1.5rem 35px 1.5rem;
	}

	.specs-slider .slide {
		padding: 1.25rem;
		min-height: 180px;
	}

	.specs-slider .slide h3 {
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
	}

	.specs-slider .slide p {
		font-size: 0.9rem;
		line-height: 1.5;
	}

	.specs-slider .sprev,
	.specs-slider .snext {
		width: 36px;
		height: 36px;
		font-size: 1.1rem;
	}
}

/* =====================================================
   RESPONSIVE — NEW REDESIGN SECTIONS
   ===================================================== */

@media (max-width: 1024px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hero-laptop {
		width: 76%;
		margin: 0 auto;
		display: block;
	}

	.hero-phone {
		width: 28%;
		right: 4%;
		bottom: -6%;
	}

	.hero-section .hero-copy {
		align-items: center;
		text-align: center;
	}

	.hero-section .cta-buttons {
		justify-content: center;
	}

	.hero-subtitle {
		max-width: none;
	}

	.problem-section,
	.antes-despues-section,
	.video-section-new,
	.what-is-section,
	.para-section,
	.certification-section,
	.pdf-download-section {
		padding: 4rem 2rem;
	}

	.what-is-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.what-is-left {
		align-items: center;
		text-align: center;
	}

	.para-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.para-inner-reverse {
		direction: ltr;
	}

	.para-laptops-row {
		grid-template-columns: 1fr 1fr;
	}

	.teachers-two-col {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.specs-cards-grid {
		grid-template-columns: 1fr 1fr;
	}

	.problem-cards-row {
		gap: 1rem;
	}

	.before-after-wrap {
		gap: 0.75rem;
	}
}

@media (max-width: 768px) {
	.hero-phone {
		width: 32%;
		right: -2%;
		bottom: -6%;
	}

	.before-after-wrap {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ba-divider-arrow {
		transform: rotate(90deg);
		padding: 0.5rem 0;
	}

	.specs-cards-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.para-laptops-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.teachers-images-stack {
		gap: 1.25rem;
	}

	.para-card {
		padding: 28px 28px;
	}

	.para-card h2 {
		font-size: 1.6rem;
	}

	.feature-grid-2x3 {
		grid-template-columns: 1fr;
	}

	.mobile-slider-wrap {
		padding: 1rem 45px;
	}

	.pdf-download-section {
		padding: 3rem 1.5rem;
	}

	.ba-card {
		padding: 1.5rem;
	}

	.problem-cards-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 480px) {

	.problem-section,
	.antes-despues-section,
	.video-section-new,
	.what-is-section,
	.para-section,
	.certification-section {
		padding: 3rem 1rem;
	}

	.certification-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.certification-content {
		text-align: center;
	}

	.certification-content p {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.certification-badge {
		max-width: 260px;
	}

	.problem-box {
		font-size: 1rem;
		padding: 1rem 1.25rem;
	}

	.para-card {
		padding: 24px 20px;
	}

	.para-card h2 {
		font-size: 1.4rem;
	}

	.para-card li {
		font-size: 0.95rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.hero-phone {
		width: 40%;
		right: 0%;
		bottom: -4%;
	}
}

/* ====================================================
   VIDEO MODAL
   ==================================================== */
.vmodal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	backdrop-filter: blur(4px);
	animation: fadeIn 0.2s ease;
}

.vmodal-backdrop[hidden] {
	display: none;
}

.vmodal-box {
	position: relative;
	width: 100%;
	max-width: 900px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
	background: #000;
	animation: scaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
	from {
		transform: scale(0.88);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.vmodal-player {
	aspect-ratio: 16 / 9;
	width: 100%;
	position: relative;
}

.vmodal-player .video-wrapper {
	position: absolute;
	inset: 0;
	border-radius: 0;
	box-shadow: none;
	background: #000;
}

.vmodal-player video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.vmodal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, transform 0.15s;
}

.vmodal-close:hover {
	background: rgba(231, 80, 30, 0.85);
	transform: scale(1.1);
}

@media (max-width: 600px) {
	.vmodal-box {
		border-radius: 10px;
	}
}

/* ═══════════════════════════════════════════════════
   PRESENTATION MODAL
   ═══════════════════════════════════════════════════ */
.presentation-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	backdrop-filter: blur(4px);
	animation: fadeIn 0.2s ease;
}

.presentation-modal-backdrop[hidden] {
	display: none;
}

.presentation-modal-box {
	position: relative;
	background: #fff;
	border-radius: 18px;
	width: min(960px, 92vw);
	height: min(80vh, 720px);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.presentation-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid #e5e7eb;
}

.presentation-modal-header h2 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #111827;
	margin: 0;
}

.presentation-modal-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.presentation-modal-download {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0 1rem;
	height: 34px;
	border-radius: 8px;
	background: var(--primary);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
	white-space: nowrap;
}

.presentation-modal-download:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

.presentation-modal-download i {
	font-size: 0.88rem;
}

.presentation-modal-close {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.9rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.presentation-modal-close:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.presentation-modal-frame {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	background: #f0f0f0;
	overflow: hidden;
}

.pdf-canvas-wrap {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1.25rem;
	background: #525659;
}

.pdf-canvas-wrap canvas {
	display: block;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	max-width: 100%;
	height: auto;
}

.pdf-loading {
	position: absolute;
	inset: 0;
	background: #525659;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: #ccc;
	font-size: 0.95rem;
	z-index: 5;
	transition: opacity 0.25s ease;
}

.pdf-loading[hidden] {
	display: none;
}

.pdf-loading-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.pdf-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0.6rem 1rem;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-dark);
	flex-shrink: 0;
}

.pdf-nav-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	color: var(--text-dark);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	transition: background 0.15s, color 0.15s;
}

.pdf-nav-btn:hover:not(:disabled) {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.pdf-nav-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (max-width: 600px) {
	.presentation-modal-box {
		height: min(82vh, 640px);
	}

	.presentation-modal-download span {
		display: none;
	}

	.presentation-modal-download {
		width: 34px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}
}

/* ═══════════════════════════════════════════════════
   LEAD CAPTURE MODAL
   ═══════════════════════════════════════════════════ */
.lead-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	backdrop-filter: blur(4px);
	animation: fadeIn 0.2s ease;
}

.lead-modal-backdrop[hidden] {
	display: none;
}

.lead-modal-box {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: 48px 44px 40px;
	width: 100%;
	max-width: 460px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
	animation: scaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	text-align: center;
}

.lead-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.9rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.lead-modal-close:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.lead-modal-icon {
	font-size: 2.8rem;
	color: var(--primary);
	margin-bottom: 12px;
	line-height: 1;
}

.lead-modal-box h2 {
	font-size: 1.55rem;
	font-weight: 800;
	color: #1a1f2e;
	margin-bottom: 8px;
}

.lead-modal-box>p {
	color: #6b7280;
	font-size: 0.95rem;
	margin-bottom: 28px;
}

.lead-modal-field {
	text-align: left;
	margin-bottom: 16px;
}

.lead-modal-field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lead-modal-field input {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	color: #1a1f2e;
	background: #fafafa;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}

.lead-modal-field input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(231, 80, 30, 0.12);
	background: #fff;
}

.lead-modal-submit {
	width: 100%;
	margin-top: 8px;
	padding: 13px 24px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
	letter-spacing: 0.01em;
}

.lead-modal-submit:hover {
	background: #c94418;
}

.lead-modal-submit:active {
	transform: scale(0.98);
}

.lead-modal-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.lead-modal-box .g-recaptcha {
	margin: 1rem 0;
	overflow: visible;
}

.lead-modal-box .form-recaptcha-notice {
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.lead-modal-box .form-recaptcha-notice a {
	color: rgba(255, 255, 255, 0.85);
}

.lead-modal-box .form-recaptcha-notice a:hover {
	color: #ffffff;
}

.lead-modal-success {
	padding: 20px 0 4px;
}

.lead-modal-success i {
	font-size: 2.5rem;
	color: #16a34a;
	display: block;
	margin-bottom: 10px;
}

.lead-modal-success p {
	color: #15803d;
	font-weight: 600;
	font-size: 1rem;
	margin: 0;
}

@media (max-width: 480px) {
	.lead-modal-box {
		padding: 36px 24px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.flip-hint {
		animation: none;
	}

	.flip-card>div {
		transition: none;
	}

	.panel-flip-card,
	.feature-grid-2x3 .flip-card {
		transition: none;
	}

	.cta-button,
	.form-button {
		transition: none;
	}
}