/* aga-growth-dev - plain CSS, no build step.
   Design tokens first: a restyle is a few values, not a find-replace. */
:root {
	--ink: #1a1a1a;
	--body: #2d2d2d;
	--muted: #595959;
	--faint: #8c8c8c;
	--blue: #3b82f6;
	--blue-dark: #2563eb;
	--blue-deep: #1d4ed8;
	--blue-soft: #eff6ff;
	--surface: #ffffff;
	--surface-alt: #fafbfc;
	--border: #e2e8f0;
	--border-soft: #f0f0f0;
	--footer-bg: #1a1a1a;
	--navy-1: #152d5c;
	--navy-2: #1b3565;
	--navy-3: #1e3d78;
	--cream-1: #f5f3f0;
	--cream-2: #f0ede8;
	--radius: 8px;
	--radius-lg: 20px;
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Sora", system-ui, sans-serif;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--wrap: 1260px;
	--wrap-wide: 1400px;
}

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--surface);
	color: var(--body);
	font: 400 16px/1.7 var(--font-body);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

::selection { background: var(--blue); color: #fff; }

/* ------------------------------------------------------------- buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 2.25rem;
	min-height: 48px;
	border: 0;
	border-radius: var(--radius);
	font: 600 0.875rem/1 var(--font-body);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------------- typography */
.eyebrow {
	display: block;
	margin-bottom: 1rem;
	font: 600 0.75rem/1.5 var(--font-body);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--blue);
}
.heading {
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
}
.lede { color: var(--muted); max-width: 640px; }

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: clamp(80px, 10vw, 120px) 0; }
.section-white { background: var(--surface-alt); }
.section-cream { background: linear-gradient(var(--cream-1) 0%, var(--cream-2) 100%); }
.section-subtle { background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 50%, #eceef0 100%); }
.section-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 3rem; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 3rem; display: flex; flex-direction: column; align-items: center; }
.section-head .lede { margin-top: 1rem; }

/* -------------------------------------------------------------- header */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	transition: background 0.4s, box-shadow 0.4s;
}
/* Over a dark hero the header starts transparent and turns solid on scroll. */
.has-dark-hero .site-header:not(.scrolled) {
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}
.header-inner {
	max-width: var(--wrap-wide);
	margin: 0 25px;
	padding: 20px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	box-sizing: border-box;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 70px; width: auto; }
.has-dark-hero .site-header:not(.scrolled) .site-logo img { filter: brightness(0) invert(1); }

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 0;
	font: 500 0.8125rem/1.5 var(--font-body);
	letter-spacing: 0.02em;
	color: var(--ink);
}
.nav-link::after {
	content: "";
	position: absolute;
	bottom: 6px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--blue);
	transition: width 0.3s;
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { width: 100%; }
.has-dark-hero .site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.85); }
.has-dark-hero .site-header:not(.scrolled) .nav-link:hover { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
	cursor: pointer;
	background: none;
	border: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 0;
	font: 500 0.8125rem/1.5 var(--font-body);
	letter-spacing: 0.02em;
	color: inherit;
}
.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.3s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	margin-top: 0.5rem;
	min-width: 240px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(-10px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
	overflow: hidden;
	z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	font: 500 0.875rem/1.4 var(--font-body);
	color: var(--ink);
	border-bottom: 1px solid var(--border-soft);
}
.nav-dropdown-item:last-child { border-bottom: 0; }
.nav-dropdown-item:hover { background: #f0f7ff; color: var(--blue); }

.mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 12px;
	min-width: 48px;
	min-height: 48px;
	background: transparent;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}
.mobile-toggle span { display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--ink); transition: 0.3s; }
.has-dark-hero .site-header:not(.scrolled) .mobile-toggle span { background: #fff; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 2rem;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.97) 50%, rgba(51, 65, 85, 0.97) 100%);
	backdrop-filter: blur(20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	min-height: 56px;
	padding: 1rem 2rem;
	border-radius: 12px;
	font: 600 1.25rem/1.4 var(--font-body);
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
}
.mobile-nav a:hover { color: #fff; background: rgba(59, 130, 246, 0.15); }

/* ---------------------------------------------------------------- hero */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.82) 50%, rgba(51, 65, 85, 0.75) 100%);
}
.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--wrap-wide);
	margin: 0 auto;
	padding: 8rem 3rem 4rem;
}
.hero-subtitle {
	margin-bottom: 1.5rem;
	font: 500 0.875rem/1.5 var(--font-body);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}
.hero-title {
	max-width: 800px;
	margin-bottom: 1.75rem;
	font-size: clamp(2.5rem, 5.5vw, 4.5rem);
	font-weight: 700;
	color: #fff;
}
.hero-text {
	max-width: 560px;
	margin-bottom: 2.5rem;
	font-size: 1.25rem;
	line-height: 1.75;
	color: #fff;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta-group .btn { min-width: 160px; padding: 0.6rem 1.25rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-cta-group .btn-primary {
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.hero-cta-group .btn-primary:hover { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%); transform: translateY(-3px); }
.hero-cta-group .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; backdrop-filter: blur(10px); }
.hero-cta-group .btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.8); color: #fff; transform: translateY(-3px); }
.hero-cta-group .btn svg { flex-shrink: 0; }
.hero-cta-group .btn .arrow { margin-left: 0.25em; }

/* ----------------------------------------------------------- icon grid */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.icon-box { text-align: center; padding: 2rem 1rem; }
.icon-box-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.08);
	color: var(--blue);
	transition: 0.4s;
}
.icon-box-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.icon-box:hover .icon-box-icon { background: var(--blue); color: #fff; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25); }
.icon-box-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.icon-box-text { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* -------------------------------------------------------------- metodo */
.metodo-figure {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 4vw, 3rem);
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
	margin-bottom: 3rem;
}
.metodo-figure h3 { text-align: center; font-size: 1.35rem; margin-bottom: 1.5rem; }
.metodo-figure figcaption { text-align: center; color: var(--muted); font-size: 0.9375rem; margin-top: 1.5rem; }
.promesa {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: var(--blue-soft);
	border-left: 4px solid var(--blue);
	border-radius: 12px;
	padding: 1.75rem 2rem;
	margin-bottom: 2rem;
}
.promesa-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.promesa-icon svg { width: 22px; height: 22px; }
.promesa h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.promesa p { color: var(--muted); font-size: 0.9375rem; }
.principios {
	background: #fff;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	padding: 2rem;
	margin-bottom: 3rem;
}
.principios h4 { font-size: 1.05rem; margin-bottom: 1.25rem; }
.principios li { display: flex; gap: 0.75rem; padding: 0.6rem 0; font-size: 0.9375rem; color: var(--muted); }
.principios li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); margin-top: 0.2rem; }
.section-cta { text-align: center; }
.section-cta .cta-note { margin-top: 1rem; font-size: 0.875rem; color: var(--faint); }

/* --------------------------------------------------------------- split */
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.split-image { position: relative; overflow: hidden; min-height: 600px; }
.split-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.split-image:hover img { transform: scale(1.03); }
.split-content { padding: clamp(3rem, 6vw, 6rem); }
.split-content .heading { margin-bottom: 1.5rem; }
.split-content p { color: var(--muted); margin-bottom: 1.25rem; }
.split-content .btn { margin-top: 1rem; }

/* ------------------------------------------------------------ services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s;
}
.svc-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); transform: translateY(-3px); border-color: var(--blue); }
.svc-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--blue-soft);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	flex-shrink: 0;
}
.svc-card-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.svc-card-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; line-height: 1.2; }
.svc-card-text { font-size: 0.8125rem; color: #64748b; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.svc-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--blue);
	transition: gap 0.3s;
}
.svc-card-link:hover { gap: 0.6rem; }
.svc-card-link svg { width: 14px; height: 14px; }
.svc-card-cta { background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%); border-color: transparent; }
.svc-card-cta .svc-card-icon { background: rgba(255, 255, 255, 0.15); color: #fff; }
.svc-card-cta .svc-card-title { color: #fff; }
.svc-card-cta .svc-card-text { color: rgba(255, 255, 255, 0.75); }
.svc-card-cta:hover { border-color: transparent; box-shadow: 0 12px 32px rgba(21, 45, 92, 0.35); }

/* --------------------------------------------------------- testimonial */
.testimonial { text-align: center; max-width: 800px; margin: 0 auto; }
.testimonial-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1.5rem;
	border: 3px solid var(--border-soft);
}
.testimonial-text {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink);
	margin-bottom: 1.5rem;
}
.testimonial-author { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 0.8125rem; color: var(--faint); }

.tslider { position: relative; overflow: hidden; }
.tslider-track { display: flex; transition: transform 0.5s var(--ease-out); }
.tslider-slide { min-width: 100%; padding: 0 1rem; box-sizing: border-box; }
.tslider-arrows { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.tslider-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0f172a;
	transition: 0.2s;
	padding: 0;
}
.tslider-btn svg { width: 16px; height: 16px; }
.tslider-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); }
.tslider-dots { display: flex; gap: 0.375rem; align-items: center; }
.tslider-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: 0;
	cursor: pointer;
	transition: 0.2s;
	padding: 0;
}
.tslider-dot:hover { background: #94a3b8; transform: scale(1.3); }
.tslider-dot.active { background: var(--blue); width: 20px; border-radius: 4px; }

/* --------------------------------------------------------------- cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; transition: box-shadow 0.35s, transform 0.35s; }
.case-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); transform: translateY(-3px); }
.case-company { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.case-sector { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 1.25rem; }
.case-block { margin-bottom: 1rem; }
.case-block strong { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #0f172a; margin-bottom: 0.25rem; }
.case-block p { font-size: 0.8125rem; color: #64748b; line-height: 1.7; }
.case-author { margin-top: 1rem; padding-top: 0; font-size: 0.7rem; color: #64748b; border-top: none; }

/* --------------------------------------------------------------- steps */
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.step-card .svc-card-icon { margin-bottom: 16px; }
.step-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card > p { font-size: 0.8125rem; color: #64748b; margin-bottom: 1.25rem; }
.step-card li { display: flex; gap: 0.5rem; align-items: center; padding: 0.4rem 0; font-size: 0.8125rem; color: #64748b; }
.step-card li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--blue); margin-top: 0.25rem; stroke-width: 2; }

/* ---------------------------------------------------------------- team */
.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.team-head .lede { margin-top: 0; justify-self: end; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	background: #0f172a;
	transition: transform 0.4s var(--ease-out);
}
.team-card:hover { transform: translateY(-6px); }
.team-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%); }
.team-card-name { position: relative; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.team-card-role { position: relative; font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
.team-card-creds { position: relative; font-size: 0.6rem; color: rgba(255, 255, 255, 0.4); line-height: 1.4; margin-top: 0.3rem; }

/* ----------------------------------------------------------------- faq */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e5e5; }
.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--ink);
	transition: color 0.3s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; stroke-width: 2; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }

/* -------------------------------------------------------------- footer */
.footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.6); }
.footer-grid {
	max-width: none;
	width: 1164px;
	margin: 0 auto;
	padding: 64px 0;
	display: grid;
	grid-template-columns: repeat(4, 261px);
	gap: 40px;
}
.footer-brand img { height: 70px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.8125rem; line-height: 1.7; max-width: 280px; }
.footer-widget-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; }
.footer-widget p, .footer-widget a { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
.footer-widget a { display: block; padding: 0.35rem 0; transition: color 0.3s; }
.footer-widget a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social .social-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.5);
	transition: 0.2s;
	padding: 0;
	box-sizing: border-box;
}
.footer-social .social-link svg { width: 14px; height: 14px; }
.footer-social .social-link:hover { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.5); color: var(--blue); transform: scale(1.1); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.35);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: var(--blue); }

/* ----------------------------------------------------- whatsapp bubble */
.wa-bubble {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 90;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
	transition: transform 0.25s;
}
.wa-bubble:hover { transform: scale(1.08); }
.wa-bubble svg { width: 28px; height: 28px; }

/* --------------------------------------------------------- course modal */
.course-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.course-box {
	position: relative;
	width: 100%;
	max-width: 820px;
	max-height: 90vh;
	display: flex;
	gap: 1.25rem;
	background: #111827;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.course-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.course-close:hover { background: rgba(255, 255, 255, 0.2); }
.course-close svg { width: 18px; height: 18px; }
.course-video-col { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 1.25rem 0 1.25rem 1.25rem; }
.course-video-frame { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; }
.course-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-end {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
	padding: 1rem;
}
.course-end img { height: 96px; width: auto; filter: brightness(0) invert(1); }
.course-end p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.course-replay { font-size: 0.75rem; font-weight: 600; color: var(--blue); background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25); border-radius: 8px; padding: 0.6rem 1.5rem; cursor: pointer; }
.course-replay:hover { background: rgba(59, 130, 246, 0.2); }
.course-side { width: 300px; flex-shrink: 0; border-left: 1px solid rgba(255, 255, 255, 0.06); padding: 1.25rem; overflow-y: auto; display: flex; flex-direction: column; }
.course-side h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.25rem; }
.course-side > p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 1.25rem; }
.course-side h4 { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); margin-bottom: 0.75rem; }
.playlist-item {
	width: 100%;
	display: block;
	text-align: left;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	padding: 0.75rem;
	margin-bottom: 0.5rem;
	cursor: pointer;
	transition: 0.2s;
}
.playlist-item:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.playlist-item.active { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.25); }
.playlist-item-title { display: block; font: 600 0.8125rem/1.4 var(--font-body); color: #fff; }
.playlist-item-step { display: block; font: 400 0.6875rem/1.4 var(--font-body); color: rgba(255, 255, 255, 0.4); margin-top: 0.15rem; }
.course-side-cta {
	margin-top: auto;
	display: block;
	text-align: center;
	background: var(--blue);
	color: #fff;
	border-radius: 10px;
	padding: 0.875rem 1rem;
	font: 600 0.8125rem/1.4 var(--font-body);
	transition: background 0.2s;
}
.course-side-cta:hover { background: var(--blue-dark); }
.course-progress { margin-top: 0.75rem; text-align: center; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.35); }

/* -------------------------------------------------------------- legacy */
.container { max-width: 48rem; margin: 0 auto; padding: 3rem 1.5rem; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.page-header h1 { margin: 0; font-size: 1.875rem; letter-spacing: -0.02em; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.panel h2 { margin: 0; font-size: 1.25rem; }
.panel p { margin: 0.5rem 0 0; color: var(--muted); }
/* --------------------------------------------------------- blog index */
.blog-hero {
	position: relative;
	padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
	overflow: hidden;
	display: flex;
	align-items: center;
}
.blog-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.blog-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.85) 50%, rgba(51,65,85,0.78) 100%);
}
.blog-hero .section-inner { position: relative; z-index: 1; }
.blog-hero-inner { max-width: 640px; }
.blog-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0.5rem 0 0;
}
.blog-hero-desc {
	color: rgba(255,255,255,0.8);
	font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
	line-height: 1.7;
	margin: 1.25rem 0 0;
	max-width: 520px;
}
.eyebrow--white { color: rgba(255,255,255,0.7); }

/* featured article */
.blog-featured-link {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 3rem;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s var(--ease-out);
}
.blog-featured-link:hover { transform: translateY(-3px); }
.blog-featured-link:hover .blog-featured-img { border-color: var(--blue); }
.blog-featured-img-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.blog-featured-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.blog-featured-link:hover .blog-featured-img { transform: scale(1.02); }
.blog-featured-img--placeholder {
	background: var(--surface-alt);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
}
.blog-featured-img--placeholder img {
	max-width: 60%;
	max-height: 60%;
	opacity: 0.4;
}
.blog-featured-content { display: flex; flex-direction: column; gap: 1rem; }
.blog-featured-title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}
.blog-featured-excerpt {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.7;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-featured-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font: 600 0.875rem/1 var(--font-body);
	color: var(--blue);
	letter-spacing: 0.02em;
	transition: gap 0.2s;
}
.blog-featured-link:hover .blog-featured-cta { gap: 0.75rem; }

/* blog tag / category badge */
.blog-tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--blue-soft);
	color: var(--blue);
	font: 600 0.6875rem/1.4 var(--font-body);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 100px;
	width: fit-content;
}

/* article grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* article card */
.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	border-color: var(--blue);
}
.blog-card-img-wrap { overflow: hidden; }
.blog-card-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.3s var(--ease-out);
}
.blog-card-img--placeholder {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
}
.blog-card-img--placeholder img {
	max-width: 50%;
	max-height: 50%;
	opacity: 0.4;
}
.blog-card:hover .blog-card-img { transform: scale(1.03); }
.blog-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem;
	flex: 1;
}
.blog-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--blue); }
.blog-card-excerpt {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* card meta: author + date */
.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border-soft);
	font-size: 0.8125rem;
	color: var(--muted);
}
.blog-author-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue);
	font: 600 0.75rem/28px var(--font-body);
	text-align: center;
	flex-shrink: 0;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
}
.blog-author-name { font-weight: 500; color: var(--ink); white-space: nowrap; }
.blog-meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--faint);
	flex-shrink: 0;
}
.blog-card-date { white-space: nowrap; }

/* pager */
.blog-pager-wrap { padding-top: 0; }
.blog-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
.blog-pager-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.625rem 1.25rem;
	min-height: 44px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font: 500 0.8125rem/1 var(--font-body);
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.blog-pager-btn:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
	transform: translateY(-1px);
}
.blog-pager-btn:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}
.blog-pager-btn--disabled {
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
}
.blog-pager-info {
	font-size: 0.8125rem;
	color: var(--muted);
	min-width: 100px;
	text-align: center;
}

/* empty state */
.blog-empty {
	text-align: center;
	padding: 4rem 1rem;
}
.blog-empty-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.blog-empty-title {
	font-size: 1.5rem;
	margin: 0 0 0.5rem;
}
.blog-empty-text {
	color: var(--muted);
	margin: 0;
}

/* ============================================================ blog article */

/* ── Offset for fixed header ─────────────────────────────────────── */
.art-top-spacer { height: 90px; }

/* ── Cover hero ─────────────────────────────────────────────────── */
.art-hero {
	position: relative;
	width: 100%;
	height: clamp(300px, 40vw, 520px);
	overflow: hidden;
}
.art-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.art-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15,23,42,0.35) 0%, transparent 40%);
}

/* ── Reading progress bar ────────────────────────────────────────── */
.art-progress {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--border-soft);
	z-index: 101;
	pointer-events: none;
}
.art-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--blue);
	transition: width 0.1s linear, background-color 0.3s ease;
	border-radius: 0 2px 2px 0;
}
.art-progress-bar.done {
	background: var(--blue-deep);
}

/* ── Article wrapper ──────────────────────────────────────────────── */
.art-wrap { padding: 0 1.5rem 4rem; }
.art-wrap-inner { max-width: 1100px; margin: 0 auto; }

/* ── Two-column: TOC sidebar + body ──────────────────────────────── */
.art-body-layout {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
	position: relative;
}

/* ── TOC sidebar ─────────────────────────────────────────────────── */
.art-toc-sidebar {
	flex: 0 0 220px;
	min-width: 0;
	position: sticky;
	top: 110px;
	align-self: flex-start;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	padding: 2.5rem 0.5rem 0 0;
}
.art-toc-sidebar::-webkit-scrollbar { width: 3px; }
.art-toc-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.art-toc-label {
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--faint);
	display: block;
	margin-bottom: 0.75rem;
}
.toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.toc-item {
	margin: 0;
}
.toc-item--sub {
	padding-left: 0.625rem;
}
.toc-link {
	display: block;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--muted);
	text-decoration: none;
	padding: 0.35rem 0 0.35rem 0.75rem;
	border-left: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.toc-link:hover {
	color: var(--blue);
}
.toc-link.is-active-link {
	color: var(--blue);
	border-left-color: var(--blue);
	font-weight: 500;
}

/* ── Body column ─────────────────────────────────────────────────── */
.art-body-col {
	flex: 1;
	min-width: 0;
	max-width: 720px;
}
.art-body {
	min-width: 0;
}

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.art-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 2rem 0 0;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: var(--faint);
}
.art-breadcrumb a {
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s;
}
.art-breadcrumb a:hover { color: var(--blue-dark); }
.art-breadcrumb span[aria-hidden] { color: var(--border); }

/* ── Header ─────────────────────────────────────────────────────── */
.art-header {
	padding: 1.5rem 0 1.75rem;
}
.art-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 1rem;
}
.art-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: var(--faint);
}
.art-meta-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--border);
	flex-shrink: 0;
}
.art-read-time {
	color: var(--muted);
}

/* ── Body ───────────────────────────────────────────────────────── */
.art-body {
	padding: 2.5rem 0 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--body);
	letter-spacing: 0.01em;
	word-break: break-word;
}
.art-body > *:first-child { margin-top: 0; }
.art-body > *:last-child { margin-bottom: 0; }

/* Headings */
.art-body h2 {
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--ink);
	margin: 3rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--border-soft);
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	margin: 2rem 0 0.75rem;
}
.art-body h4 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	margin: 1.5rem 0 0.5rem;
}

/* Paragraphs */
.art-body p { margin: 0 0 1.35rem; }

/* Lists */
.art-body ul,
.art-body ol {
	margin: 0 0 1.35rem;
	padding-left: 1.5rem;
}
.art-body li {
	margin-bottom: 0.6rem;
	padding-left: 0.25rem;
}
.art-body li::marker { color: var(--blue); }
.art-body ul li { list-style-type: disc; }
.art-body ol li { list-style-type: decimal; }

/* Inline text */
.art-body strong { color: var(--ink); font-weight: 600; }
.art-body em { font-style: italic; }
.art-body a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-color: rgba(59, 130, 246, 0.3);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}
.art-body a:hover { text-decoration-color: var(--blue); }
.art-body code {
	font-family: 'Sora', monospace;
	font-size: 0.85em;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	color: var(--ink);
}

/* Blockquote */
.art-body blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--blue);
	background: var(--blue-soft);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--ink);
	line-height: 1.7;
}
.art-body blockquote p:last-child { margin-bottom: 0; }

/* Images */
.art-body img {
	border-radius: var(--radius-lg);
	margin: 2rem 0;
	width: 100%;
	height: auto;
	display: block;
}

/* Code blocks */
.art-body pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius-lg);
	overflow-x: auto;
	margin: 2rem 0;
	line-height: 1.6;
	font-size: 0.875rem;
}
.art-body pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
}

/* Horizontal rule */
.art-body hr {
	border: 0;
	height: 1px;
	background: var(--border);
	margin: 2.5rem 0;
}

/* Tables */
.art-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: 0.9375rem;
}
.art-body th {
	text-align: left;
	font-weight: 600;
	color: var(--ink);
	padding: 0.75rem 1rem;
	border-bottom: 2px solid var(--border);
	background: var(--surface-alt);
}
.art-body td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--border-soft);
	color: var(--body);
}
.art-body tr:hover td { background: var(--surface-alt); }

/* ── Author byline ──────────────────────────────────────────────── */
.art-byline {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 2rem 0;
	border-top: 1px solid var(--border);
}
.art-byline-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.art-byline-avatar--fallback {
	background: var(--blue-soft);
	color: var(--blue);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.art-byline-name {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	display: block;
	margin-bottom: 0.25rem;
}
.art-byline-bio {
	font-size: 0.875rem;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

/* ── Back link ──────────────────────────────────────────────────── */
.art-back { padding: 1.5rem 0 0; }
.art-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--blue);
	text-decoration: none;
	transition: gap 0.2s var(--ease-out);
}
.art-back-link:hover { gap: 0.75rem; }

/* ── Te gustaría ver — carousel ─────────────────────────────────── */
.art-related { padding: clamp(3rem, 5vw, 5rem) 0; }
.art-related-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0.5rem 0 1.5rem;
}

.art-carousel { position: relative; overflow: hidden; }
.art-carousel-viewport {
	overflow: hidden;
	border-radius: var(--radius-lg);
}
.art-carousel-track {
	display: flex;
	gap: 1rem;
	transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.art-carousel-card {
	flex: 0 0 calc((100% - 2rem) / 3);
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s, transform 0.3s;
	box-sizing: border-box;
}
.art-carousel-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,0.07);
	transform: translateY(-3px);
}
.art-carousel-card-img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-alt);
}
.art-carousel-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease-out);
}
.art-carousel-card:hover .art-carousel-card-img img { transform: scale(1.04); }
.art-carousel-card-img--placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--surface-alt) 0%, var(--border-soft) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.art-carousel-card-img--placeholder img {
	max-width: 50%;
	max-height: 50%;
	opacity: 0.4;
}
.art-carousel-card-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
}
.art-carousel-card-title {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.art-carousel-card:hover .art-carousel-card-title { color: var(--blue); }
.art-carousel-card-date {
	font-size: 0.7rem;
	color: var(--faint);
	margin-top: auto;
	padding-top: 0.35rem;
}

/* carousel controls */
.art-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.art-carousel-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ink);
	transition: 0.2s;
	padding: 0;
}
.art-carousel-btn svg { width: 16px; height: 16px; }
.art-carousel-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.art-carousel-btn:disabled { opacity: 0.35; cursor: default; }
.art-carousel-dots { display: flex; gap: 0.375rem; align-items: center; }
.art-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: 0;
	cursor: pointer;
	transition: 0.2s;
	padding: 0;
}
.art-carousel-dot:hover { background: #94a3b8; }
.art-carousel-dot.active { background: var(--blue); width: 20px; border-radius: 4px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
	.nav-menu { display: none; }
	.mobile-toggle { display: flex; }
	.header-inner { padding: 1rem 1.5rem; }
	.section-inner { padding: 0 1.5rem; }
	.icon-grid { grid-template-columns: repeat(2, 1fr); }
	.svc-grid { grid-template-columns: repeat(2, 1fr); }
	.case-grid { grid-template-columns: repeat(2, 1fr); }
	.split-section { grid-template-columns: 1fr; }
	.split-image { min-height: 400px; order: -1; }
	.team-head { grid-template-columns: 1fr; align-items: start; }
	.team-head .lede { justify-self: start; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); padding: 3rem 1.5rem; }
	.course-box { flex-direction: column; overflow-y: auto; }
	.course-video-col { padding: 1rem 1rem 0; }
	.course-video-frame { max-height: 40vh; }
	.course-side { width: 100%; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
	.blog-featured-link { grid-template-columns: 1fr; gap: 2rem; }
	.blog-featured-img { aspect-ratio: 16 / 9; }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.blog-hero { padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 60px); }
	.art-carousel-card { flex: 0 0 calc((100% - 1rem) / 2) !important; }
	.art-toc-sidebar { display: none; }
	.art-body-layout { gap: 0; }
	.art-body-col { max-width: 100%; }
}

@media (max-width: 768px) {
	.hero-content { padding: 7rem 1.5rem 3rem; }
	.hero-cta-group { flex-direction: column; }
	.hero-cta-group .btn { width: 100%; }
	.icon-grid { grid-template-columns: 1fr; }
	.svc-grid { grid-template-columns: 1fr; }
	.case-grid { grid-template-columns: 1fr; }
	.step-grid { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom-inner { justify-content: center; text-align: center; }
	.heading { font-size: 1.75rem; }
	.blog-grid { grid-template-columns: 1fr; }
	.blog-card-body { padding: 1.25rem; }
	.blog-pager { flex-wrap: wrap; gap: 0.75rem; }
	.blog-pager-btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }
	.blog-hero { padding: clamp(70px, 8vw, 100px) 0 clamp(32px, 5vw, 48px); }
	.blog-hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
	.art-carousel-card { flex: 0 0 100% !important; }
	.art-wrap { padding: 0 1rem 3rem; }
	.art-title { font-size: clamp(1.75rem, 5vw, 2.25rem); }
	.art-body { font-size: 1rem; padding: 2rem 0; }
	.art-byline { gap: 0.75rem; }
	.art-byline-avatar { width: 48px; height: 48px; }
}

/* --------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
