/* ===== TOKENS ===== */
:root {
	--blue: #5B8FD4;
	--blue-dark: #3E6DB5;
	--purple: #8B5EC7;
	--purple-light: #B07EE0;
	--purple-dark: #6A3FA5;
	--coral: #E8927C;
	--coral-light: #F2B5A4;
	--navy: #1A1A4E;
	--teal: #3BBFAD;
	--teal-light: #A8E6DF;
	--warm-white: #FBF8F5;
	--warm-cream: #F5F0EA;

	--grad-main: linear-gradient(135deg, var(--blue) 0%, var(--purple) 55%, var(--coral) 100%);
	--grad-soft: linear-gradient(135deg, #d4e6f8 0%, #e8d8f5 50%, #fde8e0 100%);
	--grad-hero: linear-gradient(160deg, #e0d8eb 0%, #ddd4ea 45%, #e8d8d2 100%);

	/* Light mode */
	--bg: #E8E4ED;
	--bg2: #E2DEE9;
	--bg3: #EDEAF3;
	--surface: #ECE8F2;
	--surface2: #E5E1EB;
	--text: #12102E;
	--text-muted: #4A4668;
	--text-light: #504C6E;
	--border: rgba(139, 94, 199, 0.15);
	--shadow: 0 4px 24px rgba(91, 112, 212, 0.10);
	--shadow-lg: 0 12px 48px rgba(91, 112, 212, 0.16);
	--card-bg: #ECE8F2;
	--nav-bg: rgba(232, 228, 237, 0.92);
}

[data-theme="dark"] {
	--bg: #0E0E24;
	--bg2: #141430;
	--bg3: #1A1A3E;
	--surface: #1E1E44;
	--surface2: #232350;
	--text: #EDE8FF;
	--text-muted: #A9A2CC;
	--text-light: #9990C4;
	--border: rgba(139, 94, 199, 0.25);
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	--shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
	--card-bg: #1E1E44;
	--nav-bg: rgba(14, 14, 36, 0.92);
	--grad-hero: linear-gradient(160deg, #0f0f2a 0%, #1a0f35 45%, #240e1a 100%);
	--grad-soft: linear-gradient(135deg, #1a2440 0%, #2a1845 50%, #351822 100%);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	background: var(--bg);
	color: var(--text);
	transition: background 0.4s, color 0.4s;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--purple);
	border-radius: 3px;
}

/* ===== NAV ===== */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--nav-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	padding: 0 clamp(1rem, 4vw, 3rem);
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.4s, border-color 0.4s;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-logo-mark {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid transparent;
	background: var(--grad-main);
	padding: 2px;
	box-shadow: 0 2px 10px rgba(139, 94, 199, 0.25);
}

.nav-logo-mark img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.nav-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.nav-logo-text .nav-logo-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.01em;
}

.nav-logo-text span {
	font-size: 0.6rem;
	color: var(--text-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	list-style: none;
}

.nav-links a {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
	transition: color 0.2s;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--grad-main);
	border-radius: 2px;
	transition: width 0.3s;
}

.nav-links a:hover {
	color: var(--purple);
}

.nav-links a:hover::after {
	width: 100%;
}

.nav-controls {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.btn-lang,
.btn-theme {
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.78rem;
	font-weight: 600;
	transition: all 0.25s;
	border: 1.5px solid var(--border);
	color: var(--text-muted);
}

.btn-lang:hover,
.btn-theme:hover {
	background: var(--purple);
	color: white;
	border-color: var(--purple);
}

.btn-lang.active-lang {
	background: var(--grad-main);
	color: white;
	border-color: transparent;
}

.btn-cta-nav {
	padding: 8px 18px;
	border-radius: 22px;
	background: var(--grad-main);
	color: white;
	font-size: 0.82rem;
	font-weight: 600;
	box-shadow: 0 2px 12px rgba(139, 94, 199, 0.3);
	transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-nav:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 20px rgba(139, 94, 199, 0.45);
}

.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 4px;
}

.nav-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
	min-height: 100svh;
	padding-top: 68px;
	display: grid;
	background: var(--bg);
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100svh - 68px);
}

.hero-text-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
	position: relative;
	z-index: 2;
}

.hero-image-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2.5rem 2.5rem 1rem;
	overflow: hidden;
}

.hero-image-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to right, var(--bg) 0%, transparent 18%);
	pointer-events: none;
}

.hero-image-panel::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, var(--bg) 0%, transparent 14%);
	pointer-events: none;
}

.hero-main-img {
	width: 100%;
	height: calc(100svh - 68px - 5rem);
	max-height: 640px;
	object-fit: cover;
	object-position: center 30%;
	display: block;
	border-radius: 28px;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.06),
		0 8px 24px rgba(0, 0, 0, 0.10),
		0 24px 56px rgba(0, 0, 0, 0.12);
	filter: brightness(1.04) contrast(1.04) saturate(1.08);
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-main-img:hover {
	transform: scale(1.015);
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.08),
		0 12px 32px rgba(0, 0, 0, 0.13),
		0 32px 72px rgba(0, 0, 0, 0.15);
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-14px)
	}
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px)
	}

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

@keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes heroImgReveal {
	from {
		opacity: 0;
		transform: scale(1.04) translateX(16px)
	}

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

.hero-image-panel {
	animation: heroImgReveal 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1.5px solid var(--border);
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--purple);
	margin-bottom: 1.4rem;
	box-shadow: var(--shadow);
	animation: fadeUp 0.7s ease both;
}

.hero-tag::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--coral);
	animation: pulse 2s ease infinite;
}

@keyframes pulse {

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

	50% {
		opacity: 0.6;
		transform: scale(1.3)
	}
}

.hero-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.5rem, 3.2vw, 2.6rem);
	line-height: 1.15;
	color: var(--navy);
	margin-bottom: 1.2rem;
	animation: fadeUp 0.7s 0.1s ease both;
}

[data-theme="dark"] .hero-title {
	color: var(--text);
}

.hero-title em {
	font-style: italic;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-sub {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	color: var(--text-muted);
	line-height: 1.7;
	max-width: 500px;
	margin-bottom: 2rem;
	animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
	padding: 14px 28px;
	border-radius: 30px;
	background: var(--grad-main);
	color: white;
	font-size: 0.95rem;
	font-weight: 600;
	box-shadow: 0 6px 24px rgba(139, 94, 199, 0.35);
	transition: transform 0.2s, box-shadow 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 32px rgba(139, 94, 199, 0.5);
}

.btn-secondary {
	padding: 14px 28px;
	border-radius: 30px;
	border: 2px solid var(--border);
	color: var(--text-muted);
	font-size: 0.95rem;
	font-weight: 600;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-secondary:hover {
	border-color: var(--purple);
	color: var(--purple);
	background: rgba(139, 94, 199, 0.06);
}

.hero-trust {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-top: 2rem;
	animation: fadeUp 0.7s 0.4s ease both;
}

.hero-avatars {
	display: flex;
}

.hero-avatars span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2.5px solid var(--bg);
	margin-left: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	background: var(--grad-soft);
}

.hero-avatars span:first-child {
	margin-left: 0;
}

.hero-trust-text {
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.4;
}

.hero-trust-text strong {
	color: var(--purple);
	display: block;
}

/* Hero visual */

/* ===== SECTION COMMON ===== */
section {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--purple);
	margin-bottom: 1rem;
}

.section-label::before {
	content: '';
	width: 20px;
	height: 2px;
	background: var(--grad-main);
	border-radius: 2px;
}

.section-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.2;
	color: var(--text);
	margin-bottom: 1rem;
}

.section-title em {
	font-style: italic;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-sub {
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 1.75;
	max-width: 580px;
}

/* ===== PAIN POINTS / WE SEE YOU ===== */
.pain {
	background: var(--bg2);
	position: relative;
	overflow: hidden;
}

.pain::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 94, 199, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

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

.pain-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.pain-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
	cursor: default;
}

.pain-card:hover {
	transform: translateY(-4px);
	border-color: var(--purple);
	box-shadow: var(--shadow-lg);
}

.pain-icon {
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.pain-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pain-card .pain-card-text {
	padding: 16px 18px 18px;
}

.pain-card h4 {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}

.pain-card p {
	font-size: 0.82rem;
	color: var(--text-muted);
	line-height: 1.55;
}

.pain-text .section-sub {
	max-width: 440px;
	margin-bottom: 2rem;
}

.pain-quote {
	font-family: 'Caveat', cursive;
	font-size: 1.5rem;
	color: var(--purple);
	line-height: 1.4;
	position: relative;
	padding-left: 20px;
	border-left: 3px solid var(--coral);
}

/* ===== ABOUT ABA ===== */
.about-aba {
	max-width: 1200px;
	margin: 0 auto;
}

.aba-intro {
	max-width: 700px;
	margin-bottom: 3.5rem;
}

.aba-intro-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 3.5rem;
}

.aba-intro {
	max-width: unset;
	margin-bottom: 0;
}

.aba-intro-img {
	border-radius: 20px;
	overflow: hidden;
}

.aba-intro-img img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 20px;
}

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

.aba-card {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 28px 24px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

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

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

.aba-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.aba-num {
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	font-weight: 700;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
	margin-bottom: 0.8rem;
	opacity: 0.5;
}

.aba-card h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.6rem;
}

.aba-card p {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.65;
}

/* ===== SERVICES ===== */
.services {
	background: var(--bg2);
}

.services-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.services-header {
	margin-bottom: 3rem;
	max-width: 580px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.service-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 30px 26px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.service-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	opacity: 0.06;
	transition: all 0.4s;
}

.service-card.sc1::after {
	background: var(--blue);
}

.service-card.sc2::after {
	background: var(--purple);
}

.service-card.sc3::after {
	background: var(--coral);
}

.service-card.sc4::after {
	background: var(--purple-light);
}

.service-card.sc5::after {
	background: var(--blue-dark);
}

.service-card.sc6::after {
	background: var(--coral);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--purple);
}

.service-card:hover::after {
	width: 140px;
	height: 140px;
	opacity: 0.1;
}

.s-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
	width: 52px;
	height: 52px;
	background: none;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--purple);
}

.service-card h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.6rem;
}

.service-card p {
	font-size: 0.84rem;
	color: var(--text-muted);
	line-height: 1.65;
	flex-grow: 1;
	margin-bottom: 1rem;
}

.service-tag {
	display: inline-block;
	margin-top: auto;
	padding-top: 1rem;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	background: rgba(139, 94, 199, 0.12);
	color: var(--purple);
	align-self: flex-start;
}

/* ===== APPROACH ===== */
.approach {
	max-width: 1200px;
	margin: 0 auto;
}

.approach-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.approach-steps {
	margin-top: 2rem;
}

.approach-step {
	display: flex;
	gap: 1.2rem;
	padding-bottom: 1.8rem;
	margin-bottom: 1.8rem;
	border-bottom: 1px solid var(--border);
	position: relative;
}

.approach-step:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.step-num {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--grad-main);
	color: white;
	font-weight: 700;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(139, 94, 199, 0.3);
}

.step-content h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 4px;
}

.step-content p {
	font-size: 0.84rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.approach-visual {
	position: relative;
}

.approach-bg {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	border-radius: 20px;
	overflow: hidden;
}

.approach-emoji {
	font-size: 4rem;
}

.badge {
	position: absolute;
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	gap: 8px;
}

.badge-1 {
	top: 5%;
	left: 5%;
	animation: float 6s ease-in-out infinite;
}

.badge-2 {
	bottom: 12%;
	right: 0%;
	animation: float 6s 1.5s ease-in-out infinite;
}

.badge-3 {
	top: 45%;
	right: -5%;
	animation: float 6s 0.8s ease-in-out infinite;
}

/* ===== STATS ===== */
.stats {
	background: var(--navy);
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
}

[data-theme="dark"] .stats {
	background: var(--surface);
}

.stats-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.stat-num {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
}

.stat-label {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 0.4rem;
}

[data-theme="dark"] .stat-label {
	color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
	background: var(--bg2);
}

.testimonials-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.testimonials-header {
	margin-bottom: 3rem;
	max-width: 560px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 680px;
	margin: 0 auto;
}

.tcard {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 28px 26px;
	position: relative;
	transition: all 0.3s;
}

.tcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.tcard-quote {
	font-family: 'Playfair Display', serif;
	font-size: 4rem;
	line-height: 0.7;
	color: var(--purple);
	opacity: 0.25;
	margin-bottom: 0.5rem;
}

.tcard-text {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.75;
	font-style: italic;
	margin-bottom: 1.4rem;
}

.tcard-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tcard-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	flex-shrink: 0;
}

.tcard-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
}

.tcard-role {
	font-size: 0.78rem;
	color: var(--text-light);
}

.tcard-stars {
	color: #F5A623;
	font-size: 0.8rem;
	margin-top: 2px;
}

/* ===== INSURANCE / FAQ ===== */
.insurance {
	max-width: 1200px;
	margin: 0 auto;
}

.ins-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 5rem;
	align-items: start;
}

.ins-logos {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.85rem;
	margin-top: 2rem;
}

.ins-logo-card {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.25s;
}

.ins-logo-card:hover {
	border-color: var(--purple);
	background: rgba(139, 94, 199, 0.08);
}

.faq-item {
	border-bottom: 1px solid var(--border);
	padding: 1.2rem 0;
}

.faq-item:first-child {
	border-top: 1px solid var(--border);
}

.faq-item--extra {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.45s ease, opacity 0.4s ease;
	overflow: hidden;
	border-bottom: none;
	padding: 0;
}

.faq-item--extra>* {
	overflow: hidden;
}

.faq-item--extra.faq-item--visible {
	grid-template-rows: 1fr;
	opacity: 1;
	border-bottom: 1px solid var(--border);
	padding: 1.2rem 0;
}

.faq-question {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	cursor: pointer;
	width: 100%;
	text-align: left;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	gap: 1rem;
}

.faq-question:hover {
	color: var(--purple);
}

.faq-toggle {
	width: 20px;
	height: 20px;
	color: var(--purple);
	flex-shrink: 0;
	transition: transform 0.3s;
}

.faq-toggle svg {
	width: 100%;
	height: 100%;
}

.faq-item.open .faq-toggle {
	transform: rotate(180deg);
}

.faq-answer {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.7;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
	max-height: 200px;
	padding-top: 0.8rem;
}

/* ===== TEAM ===== */
.team {
	background: var(--bg2);
}

.team-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.team-header {
	margin-bottom: 3rem;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}

.team-card {
	text-align: center;
	padding: 1rem 0.5rem;
}

.team-card-featured .team-avatar,
.team-card .team-avatar {
	width: 176px;
	height: 176px;
	border-color: var(--purple);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05), 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover .team-avatar {
	transform: scale(1.03);
}

.team-avatar {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	margin: 0 auto 1.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: var(--text-muted);
	background: var(--surface);
	border: 3px solid var(--border);
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.team-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text);
}

.team-cred {
	font-size: 0.82rem;
	color: var(--purple);
	font-weight: 600;
	margin: 4px 0;
}

.team-bio {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-top: 0.6rem;
	max-width: 260px;
	margin-left: auto;
	margin-right: auto;
}

/* ===== CTA ===== */
.cta-section {
	position: relative;
	overflow: hidden;
	text-align: center;
	background: var(--grad-main);
	padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.06'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.cta-section .section-label {
	color: rgba(255, 255, 255, 0.8);
}

.cta-section .section-label::before {
	background: rgba(255, 255, 255, 0.5);
}

.cta-section .section-title {
	color: white;
}

.cta-section .section-title em {
	font-style: italic;
	background: none;
	-webkit-background-clip: unset;
	-webkit-text-fill-color: white;
	background-clip: unset;
	color: white;
	opacity: 0.9;
}

.cta-section .section-sub {
	color: rgba(255, 255, 255, 0.8);
	margin: 0 auto 2.5rem;
}

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

.btn-white {
	padding: 14px 30px;
	border-radius: 30px;
	background: white;
	color: var(--purple);
	font-size: 0.95rem;
	font-weight: 700;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-white:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
	padding: 14px 30px;
	border-radius: 30px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	color: white;
	font-size: 0.95rem;
	font-weight: 700;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: white;
}

/* ===== CONTACT ===== */
.contact {
	background: var(--bg2);
}

.contact-inner {
	max-width: 900px;
	margin: 0 auto;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin-top: 3rem;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.contact-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 12px;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: var(--purple);
}

.contact-item h4 {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 3px;
}

.contact-item p {
	font-size: 0.83rem;
	color: var(--text-muted);
	line-height: 1.5;
}

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

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.form-group label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1.5px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-family: 'DM Sans', sans-serif;
	font-size: 0.88rem;
	transition: border-color 0.25s, box-shadow 0.25s;
	/* outline handled by :focus-visible below */
	resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--purple);
	box-shadow: 0 0 0 3px rgba(139, 94, 199, 0.12);
}

.form-group textarea {
	min-height: 110px;
}

/* ===== FOOTER ===== */
footer {
	background: var(--navy);
	padding: 3rem clamp(1.5rem, 5vw, 5rem) 1.5rem;
}

[data-theme="dark"] footer {
	background: var(--bg3);
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 0.25rem;
}

.footer-logo-mark {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.08);
	padding: 2px;
	box-shadow: 0 2px 12px rgba(139, 94, 199, 0.2);
	border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-mark img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.footer-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.footer-logo-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.01em;
}

.footer-logo-sub {
	font-size: 0.65rem;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

[data-theme="dark"] .footer-logo-name {
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

[data-theme="dark"] .footer-logo-mark {
	background: var(--grad-main);
	border-color: transparent;
	padding: 2px;
}

[data-theme="dark"] .footer-logo-sub {
	color: var(--text-muted);
}

.footer-brand p {
	font-size: 0.83rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
	margin-top: 1rem;
	max-width: 260px;
}

.footer-col h4 {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 1rem;
}

.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.footer-col ul li a {
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s;
}

.footer-col ul li a:hover {
	color: var(--purple-light);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-bottom p {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.35);
}

/* ===== MOBILE NAV DRAWER ===== */
.nav-drawer {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: var(--bg);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 80px 2rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.nav-drawer.open {
	transform: translateX(0);
}

.nav-drawer .nav-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.nav-drawer .nav-links li {
	width: 100%;
	border-bottom: 1px solid var(--border);
}

.nav-drawer .nav-links a {
	font-size: 1.2rem;
	padding: 1rem 0;
	display: block;
}

.nav-drawer .nav-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

.nav-drawer .btn-cta-nav {
	align-self: flex-start;
	padding: 12px 24px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Additional reveal variants */
.reveal-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right {
	opacity: 0;
	transform: translateX(50px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.reveal-scale {
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
	opacity: 1;
	transform: scale(1);
}

/* Stagger delays for grid children */
.stagger>*:nth-child(1) {
	transition-delay: 0ms;
}

.stagger>*:nth-child(2) {
	transition-delay: 80ms;
}

.stagger>*:nth-child(3) {
	transition-delay: 160ms;
}

.stagger>*:nth-child(4) {
	transition-delay: 240ms;
}

.stagger>*:nth-child(5) {
	transition-delay: 320ms;
}

.stagger>*:nth-child(6) {
	transition-delay: 400ms;
}

.stagger>*:nth-child(7) {
	transition-delay: 480ms;
}

.stagger>*:nth-child(8) {
	transition-delay: 560ms;
}

/* Scroll progress bar */
.scroll-progress {
	position: fixed;
	top: 68px;
	left: 0;
	height: 3px;
	background: var(--grad-main);
	z-index: 1001;
	width: 0%;
	transition: width 0.05s linear;
	pointer-events: none;
}

/* Active nav link indicator */
.nav-links a.active-link {
	color: var(--purple);
}

.nav-links a.active-link::after {
	width: 100%;
}

/* Animated stat counter pulse */
.stat-num.animated {
	animation: statPulse 0.4s ease;
}

@keyframes statPulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.08);
	}

	100% {
		transform: scale(1);
	}
}


/* Smooth anchor scroll offset */
[id] {
	scroll-margin-top: 80px;
}

/* ===== RESPONSIVE ===== */
/* old responsive rules consolidated below */

/* ===== HERO SLOGAN ===== */
.hero-slogan {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 1.8rem;
	padding: 14px 18px;
	border-left: none;
	background: rgba(139, 94, 199, 0.05);
	border-radius: 0 12px 12px 0;
	position: relative;
	animation: fadeUp 0.7s 0.25s ease both;
}

.hero-slogan::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--grad-main);
	border-radius: 3px 0 0 3px;
}

.hero-slogan-inner {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	color: var(--navy);
	line-height: 1.4;
}

[data-theme="dark"] .hero-slogan-inner {
	color: var(--text);
}

.hero-slogan-inner em {
	font-style: italic;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-slogan-es {
	font-family: 'Caveat', cursive;
	font-size: clamp(0.85rem, 1.2vw, 1rem);
	color: var(--text-light);
	font-weight: 500;
	letter-spacing: 0.03em;
}

/* ===== MISIÓN — BOLD MANIFESTO LAYOUT ===== */
.mision-section {
	padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
	background: var(--warm-white);
	position: relative;
	overflow: hidden;
}


.mision-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	border-left: 5px solid;
	border-image: var(--grad-main) 1;
	padding-left: clamp(2rem, 4vw, 3.5rem);
}

/* Large decorative quote mark */
.mision-quote-mark {
	font-family: 'Playfair Display', serif;
	font-size: clamp(5rem, 10vw, 9rem);
	font-weight: 700;
	line-height: 0.7;
	background: var(--grad-soft);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: -1rem;
	user-select: none;
}

/* Text content */
.mision-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mision-header-row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.8rem;
}

.mision-header-text {
	flex: 1;
}

.mision-infinity {
	flex-shrink: 0;
	align-self: center;
}

@media (max-width: 640px) {
	.mision-header-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.mision-infinity svg {
		width: 140px;
		height: 70px;
	}
}

.mision-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--purple);
	margin-bottom: 1.2rem;
}

.mision-eyebrow::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--grad-main);
}

.mision-headline {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 0;
	font-weight: 600;
}

.mision-headline em {
	font-style: italic;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.mision-body {
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.85;
	color: var(--text-muted);
	margin-bottom: 1.4rem;
}

.mision-body strong {
	color: var(--purple);
	font-weight: 700;
}

.mision-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 2rem;
}

.mision-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 30px;
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--warm-cream);
	border: 1.5px solid var(--border);
	color: var(--text-muted);
	transition: all 0.22s;
}

.mision-tag:hover {
	background: white;
	border-color: var(--purple-light);
	color: var(--purple);
	box-shadow: var(--shadow);
	transform: translateY(-1px);
}

.mision-tag .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ===== VISIÓN — NEW LAYOUT ===== */
.vision-section {
	padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 5vw, 5rem);
	background: var(--warm-cream);
	position: relative;
	overflow: hidden;
}

.vision-section::before {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	border: 80px solid rgba(139, 94, 199, 0.18);
	bottom: -180px;
	right: -100px;
	pointer-events: none;
}

.vision-inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
}

/* Section header centered */
.vision-header {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 4rem;
}

.vision-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 1.2rem;
}

.vision-eyebrow::before,
.vision-eyebrow::after {
	content: '';
	flex: 1;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: var(--grad-main);
}

.vision-headline {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.2;
	color: var(--navy);
	font-weight: 600;
	margin-bottom: 1.4rem;
}

.vision-headline em {
	font-style: italic;
	background: var(--grad-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.vision-lead {
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.85;
	color: var(--text-muted);
}

.vision-lead strong {
	color: var(--purple);
	font-weight: 700;
}



/* ===== MISSION & VISION — DARK MODE ===== */
[data-theme="dark"] .mision-section {
	background: var(--bg2);
}

[data-theme="dark"] .mision-headline {
	color: var(--text);
}

[data-theme="dark"] .mision-tag {
	background: var(--surface2);
	border-color: var(--border);
	color: var(--text-muted);
}

[data-theme="dark"] .mision-tag:hover {
	background: var(--surface);
	border-color: var(--purple-light);
	color: var(--purple-light);
}

[data-theme="dark"] .vision-section {
	background: var(--bg);
}

[data-theme="dark"] .vision-section::before {
	border-color: rgba(139, 94, 199, 0.12);
}

[data-theme="dark"] .vision-headline {
	color: var(--text);
}

/* ===== MAP ===== */
.map-wrapper {
	margin-top: 1.6rem;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	position: relative;
}

.map-wrapper iframe {
	display: block;
	filter: saturate(0.85) brightness(1.02);
	transition: filter 0.3s;
}

[data-theme="dark"] .map-wrapper iframe {
	filter: saturate(0.6) brightness(0.75) hue-rotate(180deg) invert(1);
}

.map-directions-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	padding: 11px 16px;
	background: var(--surface2);
	border-top: 1px solid var(--border);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--purple);
	transition: background 0.2s, color 0.2s;
	text-decoration: none;
}

.map-directions-btn:hover {
	background: var(--purple);
	color: white;
}

/* ===== APPROACH PHOTO ===== */
.approach-photo {
	width: 100%;
	height: auto;
	display: block;
	border-radius: inherit;
}


/* ===== TEAM AVATAR PHOTO ===== */
.team-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	position: absolute;
	inset: 0;
	z-index: 1;
	object-position: top center;
	transition: transform 0.3s ease;
}

/* ===== WHO ABA HELPS ===== */
.aba-who {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.aba-who-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: clamp(2rem, 4vw, 5rem);
	align-items: start;
}

.aba-who-text .section-label {
	margin-bottom: 1.2rem;
}

.aba-who-text p {
	font-size: clamp(0.88rem, 1.2vw, 0.98rem);
	color: var(--text-muted);
	line-height: 1.85;
	margin-bottom: 1.1rem;
}

.aba-who-text p strong {
	color: var(--text);
	font-weight: 600;
}

.aba-who-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 1.6rem;
	padding: 1rem 1.2rem;
	background: var(--bg);
	border-radius: 12px;
	border: 1px solid var(--border);
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.aba-who-note svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--purple);
	opacity: 0.7;
}

.aba-who-note strong {
	color: var(--text);
}

.aba-who-tags {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 2.4rem;
}

.aba-who-tags li {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text-muted);
	padding-left: 1.2rem;
	position: relative;
}

.aba-who-tags li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--grad-main);
}

@media (max-width: 768px) {
	.aba-who-inner {
		grid-template-columns: 1fr;
	}

	.aba-who-tags {
		flex-direction: column;
		padding-top: 0;
	}
}

/* ===== SERVICES HERO PHOTO ===== */
.services-header-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 3.5rem;
}

.services-header-img {
	border-radius: 20px;
	overflow: hidden;
}

.services-header-img img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
	position: relative;
}

.testimonials-inner {
	position: relative;
	z-index: 1;
}

/* ======================================================
                   COMPREHENSIVE MOBILE RESPONSIVE FIX
                   ====================================================== */

/* ── 1024px tablet ───────────────────────────────────── */
@media (max-width: 1024px) {

	/* NAV: show hamburger, hide desktop links only */
	nav>.nav-links {
		display: none;
	}

	nav>.nav-controls {
		display: flex;
		gap: 0.4rem;
		margin-left: auto;
	}

	nav>.nav-controls .btn-cta-nav {
		display: none;
	}

	nav>.nav-controls .btn-lang,
	nav>.nav-controls .btn-theme {
		padding: 5px 10px;
		font-size: 0.72rem;
	}

	.nav-hamburger {
		display: flex;
	}

	/* HERO */
	.hero {
		padding: 0;
		gap: 0;
	}

	.hero-inner {
		grid-template-columns: 1fr 1.1fr;
	}

	/* PAIN */
	.pain-grid {
		gap: 3rem;
	}

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

	/* ABA WHO */
	.aba-who-inner {
		padding: 3rem 2rem;
	}

	/* APPROACH */
	.approach-inner {
		gap: 3rem;
	}

	/* STATS */
	.stats-inner {
		gap: 1.5rem;
	}

	/* MISION */
	.mision-inner {
		max-width: 100%;
		padding-left: clamp(1.5rem, 4vw, 2.5rem);
	}

	.mision-quote-mark {
		font-size: 4rem;
	}
}

/* ── 768px mobile ────────────────────────────────────── */
@media (max-width: 768px) {

	/* NAV */
	nav {
		padding: 0 1rem;
		height: 60px;
	}

	.nav-logo-text .nav-logo-name {
		font-size: 0.95rem;
	}

	/* HERO */
	.hero {
		min-height: auto;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero-text-panel {
		padding: clamp(5rem, 12vw, 7rem) 1.2rem 2.5rem;
		text-align: center;
	}

	.hero-image-panel {
		display: none;
	}

	.hero-tag {
		margin: 0 auto;
	}

	.hero-sub {
		margin-left: auto;
		margin-right: auto;
		max-width: 480px;
	}

	.hero-actions {
		justify-content: center;
		flex-wrap: wrap;
	}

	.hero-trust {
		justify-content: center;
		flex-wrap: wrap;
	}

	.hero-slogan {
		text-align: left;
	}

	/* SECTIONS general */
	section {
		padding: clamp(3rem, 10vw, 5rem) 1.2rem;
	}

	.section-title {
		font-size: clamp(1.7rem, 6vw, 2.4rem);
	}

	.section-sub {
		font-size: 0.92rem;
	}

	/* PAIN */
	.pain-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

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

	.pain-icon {
		aspect-ratio: 4 / 3;
	}

	.pain-card h4 {
		font-size: 0.8rem;
	}

	.pain-card p {
		font-size: 0.73rem;
		line-height: 1.45;
	}

	.pain-card-text {
		padding: 10px 12px 12px;
	}

	/* ABOUT ABA */
	.aba-intro-row {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 2rem;
	}

	.aba-grid {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.aba-card {
		padding: 22px 20px;
	}


	/* WHO ABA HELPS */
	.aba-who-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 3rem 1.2rem;
	}

	.aba-who-tags {
		flex-direction: column;
		padding-top: 0;
	}

	/* STATS */
	.stats-inner {
		grid-template-columns: 1fr 1fr;
		gap: 1.2rem;
	}

	.stat-num {
		font-size: 2.2rem;
	}

	.stat-label {
		font-size: 0.8rem;
	}

	/* MISIÓN */
	.mision-section {
		padding: 3rem 1.2rem;
	}

	.mision-inner {
		border-left-width: 4px;
		padding-left: 1.5rem;
	}

	.mision-quote-mark {
		font-size: 3.5rem;
	}

	/* SERVICES */
	.services-header-row {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 2rem;
	}

	.services-inner {
		padding: 2.5rem 1.2rem;
	}

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

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

	/* APPROACH */
	.approach {
		padding: 3rem 1.2rem;
	}

	.approach-inner {
		grid-template-columns: 1fr;
	}

	.approach-visual {
		display: block;
	}

	.approach-bg {
		max-width: 100%;
	}

	/* INSURANCE / FAQ */
	.ins-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

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

	/* TESTIMONIALS */
	.testimonials-inner {
		padding: 3rem 1.2rem;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.tcard {
		padding: 22px 20px;
	}

	/* TEAM */
	.team-inner {
		padding: 3rem 1.2rem;
	}

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

	/* CTA */
	.cta-section {
		padding: 3.5rem 1.2rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 0.8rem;
	}

	.cta-buttons .btn-primary,
	.cta-buttons .btn-secondary {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	/* CONTACT */
	.contact-inner {
		padding: 3rem 1.2rem;
	}

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

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

	.map-wrapper {
		margin-top: 1.2rem;
	}

	/* FOOTER */
	footer {
		padding: 3rem 1.2rem 1.5rem;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 0.5rem;
	}

	/* FAQ */
	.faq-section {
		padding: 3rem 1.2rem;
	}
}

/* ── 480px small phones ──────────────────────────────── */
@media (max-width: 480px) {

	/* NAV: safe area for notched phones */
	nav {
		padding: 0 0.8rem;
		padding-top: env(safe-area-inset-top, 0);
		height: calc(56px + env(safe-area-inset-top, 0));
	}

	.nav-logo-mark {
		width: 36px;
		height: 36px;
	}

	.nav-logo-text .nav-logo-name {
		font-size: 0.88rem;
	}

	nav>.nav-controls .btn-lang,
	nav>.nav-controls .btn-theme {
		padding: 4px 8px;
		font-size: 0.68rem;
	}

	/* HERO */
	.hero {
		padding: 66px 1rem 2rem;
	}

	.hero-title {
		font-size: clamp(1.8rem, 9vw, 2.6rem);
	}

	.hero-sub {
		font-size: 0.92rem;
	}

	.hero-actions {
		flex-direction: column;
		width: 100%;
	}

	.hero-actions .btn-primary,
	.hero-actions .btn-secondary {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 12px 20px;
	}

	.hero-tag {
		font-size: 0.7rem;
		padding: 5px 10px;
	}

	/* HERO SLOGAN */
	.hero-slogan {
		padding: 8px 10px;
	}

	.hero-slogan-inner {
		font-size: 0.88rem;
	}

	/* SECTIONS */
	section {
		padding: clamp(2.5rem, 12vw, 4rem) 1rem;
	}

	.section-title {
		font-size: clamp(1.5rem, 7vw, 2rem);
	}

	.section-label {
		font-size: 0.68rem;
	}

	.section-sub {
		font-size: 0.88rem;
	}

	/* PAIN: single column for readability */
	.pain-cards {
		grid-template-columns: 1fr;
	}

	.pain-card-text {
		padding: 14px 16px 16px;
	}

	.pain-card h4 {
		font-size: 0.9rem;
	}

	.pain-card p {
		font-size: 0.8rem;
	}

	/* STATS */
	.stats-inner {
		grid-template-columns: 1fr 1fr;
		gap: 0.8rem;
	}

	.stat-num {
		font-size: 1.8rem;
	}

	.stat-label {
		font-size: 0.72rem;
	}

	.stats {
		padding: 2.5rem 1rem;
	}

	/* TEAM */
	.team-grid {
		grid-template-columns: 1fr;
	}

	/* SERVICES */
	.service-card {
		padding: 20px 16px;
	}

	.s-icon {
		width: 44px;
		height: 44px;
		font-size: 1.6rem;
	}

	/* INSURANCE */
	.ins-logos {
		grid-template-columns: 1fr 1fr;
	}

	/* WHO TAGS */
	.aba-who-tags li {
		font-size: 0.72rem;
	}

	.vision-headline {
		font-size: clamp(1.5rem, 8vw, 2rem);
	}

	/* APPROACH */
	.approach {
		padding: 2.5rem 1rem;
	}

	/* TESTIMONIALS */
	.tcard {
		padding: 20px 16px;
	}

	.tcard-text {
		font-size: 0.85rem;
	}

	/* CONTACT */
	.contact-icon {
		width: 36px;
		height: 36px;
	}

	/* BUTTONS */
	.btn-primary {
		padding: 12px 22px;
		font-size: 0.9rem;
	}

	.btn-secondary {
		padding: 12px 22px;
		font-size: 0.9rem;
	}

	/* FOOTER */
	footer {
		padding: 2.5rem 1rem 1rem;
		padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	}

	.footer-top {
		gap: 1.5rem;
	}

	/* TOUCH: ensure tap targets are at least 44px */
	button,
	a,
	.pain-card,
	.aba-card,
	.service-card,
	.tcard,
	input,
	textarea,
	select {
		min-height: 44px;
	}

	.pain-card,
	.aba-card,
	.service-card,
	.tcard {
		min-height: unset;
	}
}


/* ===== STANDALONE FAQ SECTION ===== */
.faq-section {
	background: var(--bg2);
	border-top: 1px solid var(--border);
}

.faq-section-inner {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 5vw, 3rem);
}

.faq-section-header {
	text-align: center;
	margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.faq-section-header .section-sub {
	max-width: 480px;
	margin: 0 auto;
}

.faq-columns #faqContainer {
	display: flex;
	flex-direction: column;
}

/* ===== INSURANCE STANDALONE ===== */
.ins-grid {
	max-width: 860px;
	margin: 0 auto;
}


/* ===== ACCESSIBILITY ===== */

/* Skip link */
.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 9999;
	padding: 10px 18px;
	background: var(--purple);
	color: #fff;
	border-radius: 0 0 8px 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 0;
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Screen-reader only utility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Global focus-visible ring (WCAG 2.4.11 — min 2px, high contrast) */
:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) {
	outline: none;
}

/* Stronger focus for form controls */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 0;
	border-color: var(--purple);
	box-shadow: 0 0 0 4px rgba(139, 94, 199, 0.18);
}

/* Dark mode focus ring stays visible */
[data-theme="dark"] :focus-visible {
	outline-color: var(--purple-light);
}

/* Required field indicator */
label:has(+ [required])::after,
label:has(+ input[aria-required="true"])::after {
	content: ' *';
	color: var(--coral);
	font-weight: 700;
}

/* 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;
	}
}

/* ===== TEAM FOUNDERS GRID ===== */
.team-founders-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 380px));
	gap: 2rem;
	justify-content: center;
	margin-bottom: 3rem;
}

/* ===== TEAM BUTTONS ===== */
.team-buttons-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.team-meet-text {
	font-family: 'Playfair Display', serif;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text);
}

.team-circles {
	display: flex;
	gap: 0.8rem;
	margin-top: 0.5rem;
}

.btn-circle {
	border: none;
	cursor: pointer;
	min-width: 110px;
	padding: 12px 28px;
	border-radius: 30px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	color: white;
	letter-spacing: 0.06em;
	transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.btn-circle:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-circle-bcba {
	background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
	box-shadow: 0 4px 14px rgba(91, 143, 212, 0.35);
}

.btn-circle-bcba:hover {
	box-shadow: 0 6px 22px rgba(91, 143, 212, 0.45);
}

.btn-circle-rbt {
	background: linear-gradient(135deg, var(--coral) 0%, var(--purple) 100%);
	box-shadow: 0 4px 14px rgba(232, 146, 124, 0.35);
}

.btn-circle-rbt:hover {
	box-shadow: 0 6px 22px rgba(232, 146, 124, 0.45);
}

/* ===== TEAM OVERLAY ===== */
.team-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: block;
	padding: 0;
}










.team-overlay[hidden] {
	display: none;
}

.team-overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 8, 30, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.team-overlay.open .team-overlay-backdrop {
	opacity: 1;
}

.team-overlay-panel {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: var(--bg);
	border-radius: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	overflow-y: auto;
	box-shadow: none;
	border: none;
	outline: none;
	transform: scale(0.97) translateY(16px);
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.3s ease;
}

















.team-overlay-panel::-webkit-scrollbar {
	width: 5px;
}

.team-overlay-panel::-webkit-scrollbar-track {
	background: transparent;
}

.team-overlay-panel::-webkit-scrollbar-thumb {
	background: var(--purple);
	border-radius: 3px;
}

.team-overlay.open .team-overlay-panel {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.team-overlay.closing .team-overlay-panel {
	transform: scale(0.92) translateY(20px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.25s ease;
}

.team-overlay.closing .team-overlay-backdrop {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.team-overlay-close {
	position: fixed;
	top: 1.2rem;
	right: 1.5rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--surface2);
	border: 1.5px solid var(--border);
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
	z-index: 10;
}

.team-overlay-close:hover {
	background: var(--purple);
	color: white;
	transform: rotate(90deg);
}

.team-overlay-inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 1rem clamp(1.5rem, 5vw, 4rem) 4rem;
	clear: both;
}





.team-overlay-header {
	margin-bottom: 2.5rem;
}

.team-overlay-group {
	margin-bottom: 2.5rem;
}

.team-overlay-group-label {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.team-overlay-group-label span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--purple);
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 5px 14px;
	border-radius: 20px;
	white-space: nowrap;
}

.team-overlay-group-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.team-overlay-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.2rem;
}

.tov-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 1.5rem 1rem;
	text-align: center;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.tov-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--purple);
}

.tov-avatar {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	margin: 0 auto 1rem;
	overflow: hidden;
	background: var(--surface2);
	border: 3px solid var(--border);
	transition: border-color 0.25s;
}

.tov-card:hover .tov-avatar {
	border-color: var(--purple);
}

.tov-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.tov-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 3px;
}

.tov-cred {
	font-size: 0.76rem;
	color: var(--purple);
	font-weight: 600;
	margin-bottom: 0.7rem;
}

.tov-bio {
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* Featured overlay cards */
.team-overlay-grid-featured {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	padding-top: 1rem;
}

.tov-card-featured {
	background: var(--card-bg);
	border: 1.5px solid var(--border);
	border-radius: 20px;
	padding: 28px 24px;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.tov-card-featured:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--purple);
}

.tov-card-featured .tov-avatar {
	width: 120px;
	height: 120px;
	margin: 0 auto 1rem;
}

@media (max-width: 768px) {
	.team-founders-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}

	.team-overlay-inner {
		padding: 0.5rem 1.2rem 2rem;
	}

	.team-overlay-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	.tov-avatar {
		width: 72px;
		height: 72px;
	}
}

@media (max-width: 480px) {
	.team-overlay-grid {
		grid-template-columns: 1fr;
	}
}
