/* =============================================================================
   AMB GROWTH ACADEMY — stylesheet
   -----------------------------------------------------------------------------
   Design tokens
   Color   #0A0B0D near-black canvas · #16181D charcoal surface ·
           #F7F7F8 off-white section · #FFFFFF card ·
           #3D5CFF electric-blue accent (used sparingly: CTAs, numerals, links)
   Type    Display  — "Space Grotesk", tight tracking, used only for headings
           Body     — "Inter", generous line-height for long-form text
   Motif   A single hand-drawn "growth path" line (SVG) introduced once in the
           hero and echoed, quietly, as the numbering style in the Método and
           Academia sections — the throughline between "attention" and "client".
   ========================================================================== */

:root {
	--amb-black: #0a0b0d;
	--amb-charcoal: #16181d;
	--amb-charcoal-2: #1e2129;
	--amb-bg-light: #f7f7f8;
	--amb-white: #ffffff;

	--amb-text-on-dark: #f3f4f6;
	--amb-text-on-dark-muted: #9a9dab;
	--amb-text-on-light: #14151a;
	--amb-text-on-light-muted: #5a5d6a;

	--amb-border-dark: rgba(255, 255, 255, 0.09);
	--amb-border-light: rgba(10, 11, 13, 0.09);

	--amb-accent: #3d5cff;
	--amb-accent-hover: #2f4bee;
	--amb-accent-soft: rgba(61, 92, 255, 0.12);

	--amb-font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--amb-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--amb-radius: 14px;
	--amb-radius-sm: 8px;
	--amb-container: 1140px;
	--amb-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================= RESET / BASE ============================= */
.amb-ga,
.amb-ga * ,
.amb-ga *::before,
.amb-ga *::after {
	box-sizing: border-box;
}

.amb-ga {
	font-family: var(--amb-font-body);
	color: var(--amb-text-on-light);
	background: var(--amb-white);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

.amb-ga a {
	color: inherit;
	text-decoration: none;
}

.amb-ga ul,
.amb-ga ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.amb-ga h1,
.amb-ga h2,
.amb-ga h3,
.amb-ga h4 {
	font-family: var(--amb-font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0;
	letter-spacing: -0.01em;
}

.amb-ga p {
	margin: 0 0 1em;
}

.amb-ga :focus-visible {
	outline: 2px solid var(--amb-accent);
	outline-offset: 3px;
}

.amb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--amb-accent);
	color: #fff;
	padding: 10px 16px;
	z-index: 10000;
	border-radius: 0 0 6px 0;
}
.amb-skip-link:focus {
	left: 0;
}

html {
	scroll-behavior: smooth;
}

/* ============================== LAYOUT ============================== */
.amb-container {
	max-width: var(--amb-container);
	margin: 0 auto;
	padding: 0 24px;
}

.amb-section {
	padding: 96px 0;
	position: relative;
	overflow: hidden;
}

.amb-section--narrow {
	max-width: 760px;
}

.amb-section--light {
	background: var(--amb-bg-light);
	color: var(--amb-text-on-light);
}

.amb-section--dark {
	background: var(--amb-black);
	color: var(--amb-text-on-dark);
}

.amb-section__head {
	max-width: 620px;
	margin-bottom: 56px;
}

.amb-section__head--center {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.amb-eyebrow {
	display: inline-block;
	font-family: var(--amb-font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--amb-accent);
	margin-bottom: 16px;
}

.amb-eyebrow--light {
	color: var(--amb-text-on-dark-muted);
}

.amb-eyebrow--accent {
	color: var(--amb-accent);
}

.amb-h2 {
	font-size: clamp(28px, 4vw, 42px);
	margin-bottom: 18px;
}

.amb-h2--light {
	color: var(--amb-white);
}

.amb-h2--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.amb-lead {
	font-size: 18px;
	color: var(--amb-text-on-light-muted);
	max-width: 620px;
}

.amb-lead--light {
	color: var(--amb-text-on-dark-muted);
}

.amb-prose {
	font-size: 17px;
	color: var(--amb-text-on-light-muted);
	max-width: 680px;
}

.amb-prose p:last-child {
	margin-bottom: 0;
}

/* ============================== BUTTONS ============================== */
.amb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	font-family: var(--amb-font-body);
	transition: transform 0.25s var(--amb-ease), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}

.amb-btn:hover {
	transform: translateY(-2px);
}

.amb-btn--primary {
	background: var(--amb-accent);
	color: #fff;
	box-shadow: 0 8px 24px -8px rgba(61, 92, 255, 0.55);
}
.amb-btn--primary:hover {
	background: var(--amb-accent-hover);
}

.amb-btn--accent {
	background: var(--amb-white);
	color: var(--amb-black);
}
.amb-btn--accent:hover {
	background: var(--amb-accent);
	color: #fff;
}

.amb-btn--ghost {
	background: transparent;
	color: var(--amb-text-on-light);
	border-color: var(--amb-border-light);
}
.amb-btn--ghost:hover {
	border-color: var(--amb-accent);
	color: var(--amb-accent);
}

.amb-btn--ghost-light {
	color: var(--amb-white);
	border-color: var(--amb-border-dark);
}
.amb-btn--ghost-light:hover {
	border-color: var(--amb-accent);
	color: var(--amb-accent);
}

.amb-btn--block {
	width: 100%;
}

/* ============================== HEADER ============================== */
.amb-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(10, 11, 13, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--amb-border-dark);
}

.amb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: 24px;
}

.amb-logo {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-shrink: 0;
}

.amb-logo__img {
	max-height: 34px;
	width: auto;
}

.amb-logo__mark {
	font-family: var(--amb-font-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--amb-white);
	letter-spacing: 0.02em;
}

.amb-logo__text {
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--amb-text-on-dark-muted);
	text-transform: uppercase;
}

.amb-nav {
	display: flex;
	gap: 32px;
	flex: 1;
	justify-content: center;
}

.amb-nav a {
	font-size: 14.5px;
	color: var(--amb-text-on-dark-muted);
	font-weight: 500;
	transition: color 0.2s ease;
}
.amb-nav a:hover {
	color: var(--amb-white);
}

.amb-header__cta {
	padding: 11px 22px;
	font-size: 14px;
	flex-shrink: 0;
}

.amb-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--amb-border-dark);
	border-radius: 8px;
	cursor: pointer;
	flex-shrink: 0;
}

.amb-burger span {
	display: block;
	height: 2px;
	width: 18px;
	margin: 0 auto;
	background: var(--amb-white);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.amb-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.amb-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.amb-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ================================ HERO ================================ */
.amb-hero {
	position: relative;
	background: var(--amb-black);
	color: var(--amb-white);
	padding: 140px 0 150px;
	overflow: hidden;
}

.amb-hero__bg {
	position: absolute;
	inset: 0;
	opacity: 0.65;
	pointer-events: none;
}

.amb-hero__path {
	position: absolute;
	right: -5%;
	bottom: -10%;
	width: 90%;
	height: auto;
	max-width: 1200px;
}

.amb-hero__path-line {
	fill: none;
	stroke: var(--amb-accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 1600;
	stroke-dashoffset: 1600;
	animation: amb-draw 2.4s var(--amb-ease) 0.3s forwards;
	opacity: 0.9;
}

.amb-hero__node {
	fill: var(--amb-black);
	stroke: var(--amb-accent);
	stroke-width: 2;
	opacity: 0;
	animation: amb-node-in 0.6s ease forwards;
}
.amb-hero__node:nth-of-type(2) { animation-delay: 1.1s; }
.amb-hero__node:nth-of-type(3) { animation-delay: 1.6s; }
.amb-hero__node:nth-of-type(4) { animation-delay: 2.1s; }
.amb-hero__node--end {
	fill: var(--amb-accent);
}

@keyframes amb-draw {
	to { stroke-dashoffset: 0; }
}
@keyframes amb-node-in {
	to { opacity: 1; }
}

.amb-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.amb-hero__title {
	font-size: clamp(34px, 5.4vw, 60px);
	margin-bottom: 24px;
}

.amb-hero__subtitle {
	font-size: 19px;
	color: var(--amb-text-on-dark-muted);
	max-width: 560px;
	margin-bottom: 40px;
}

.amb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* ============================ SCROLL REVEAL ============================ */
.amb-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--amb-ease), transform 0.7s var(--amb-ease);
	transition-delay: calc(var(--amb-stagger, 0) * 90ms);
}
.amb-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.amb-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.amb-hero__path-line,
	.amb-hero__node {
		animation: none;
		opacity: 0.9;
		stroke-dashoffset: 0;
	}
	.amb-hero__node {
		opacity: 1;
	}
}

/* ============================= MÉTODO ============================= */
.amb-method-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--amb-border-dark);
	border: 1px solid var(--amb-border-dark);
	border-radius: var(--amb-radius);
	overflow: hidden;
}

.amb-method-card {
	background: var(--amb-charcoal);
	padding: 40px 32px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.amb-method-card:hover {
	background: var(--amb-charcoal-2);
	transform: translateY(-3px);
}

.amb-method-card__number {
	display: block;
	font-family: var(--amb-font-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--amb-accent);
	letter-spacing: 0.08em;
	margin-bottom: 20px;
}

.amb-method-card__title {
	font-size: 20px;
	margin-bottom: 10px;
	color: var(--amb-white);
}

.amb-method-card__text {
	font-size: 15px;
	color: var(--amb-text-on-dark-muted);
	margin: 0;
}

/* ============================= ACADEMIA ============================= */
.amb-academy-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.amb-card {
	background: var(--amb-white);
	border: 1px solid var(--amb-border-light);
	border-radius: var(--amb-radius);
	padding: 40px;
}

.amb-card--pricing {
	box-shadow: 0 30px 60px -30px rgba(10, 11, 13, 0.18);
}

.amb-card__title {
	font-size: 22px;
	margin-bottom: 24px;
}

.amb-check-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--amb-text-on-light-muted);
}
.amb-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amb-accent-soft);
	border: 1.5px solid var(--amb-accent);
}

.amb-check-list--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 24px;
}

.amb-pricing {
	display: flex;
	gap: 24px;
	margin: 28px 0 28px;
	padding: 24px 0;
	border-top: 1px solid var(--amb-border-light);
	border-bottom: 1px solid var(--amb-border-light);
}

.amb-pricing__option {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.amb-pricing__amount {
	font-family: var(--amb-font-display);
	font-size: 30px;
	font-weight: 700;
}

.amb-pricing__amount--light {
	color: var(--amb-white);
}

.amb-pricing__amount small {
	font-size: 14px;
	font-weight: 500;
	color: var(--amb-text-on-light-muted);
}

.amb-pricing__note {
	font-size: 13px;
	color: var(--amb-text-on-light-muted);
}

.amb-program__label {
	font-family: var(--amb-font-display);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amb-text-on-light-muted);
	margin-bottom: 20px;
}

.amb-program-list li {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 16px 0;
	border-bottom: 1px solid var(--amb-border-light);
	font-size: 15.5px;
}
.amb-program-list li:last-child {
	border-bottom: none;
}

.amb-program-list__index {
	font-family: var(--amb-font-display);
	color: var(--amb-accent);
	font-size: 13px;
	font-weight: 600;
	flex-shrink: 0;
	width: 22px;
}

/* ============================= EMPRESAS ============================= */
.amb-section--companies {
	background: radial-gradient(circle at 15% 20%, rgba(61, 92, 255, 0.14), transparent 45%), var(--amb-black);
}

.amb-card--premium {
	background: var(--amb-charcoal);
	border: 1px solid var(--amb-border-dark);
	border-radius: var(--amb-radius);
	padding: 48px;
	color: var(--amb-text-on-dark);
}

.amb-card--premium__head h3 {
	color: var(--amb-white);
	font-size: 26px;
	margin-bottom: 12px;
}

.amb-card--premium__head p {
	color: var(--amb-text-on-dark-muted);
	max-width: 620px;
	font-size: 16px;
}

.amb-card--premium .amb-check-list {
	margin: 32px 0;
}

.amb-card--premium .amb-check-list li {
	color: var(--amb-text-on-dark-muted);
}

.amb-card--premium__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	padding-top: 32px;
	border-top: 1px solid var(--amb-border-dark);
}

.amb-slots {
	font-size: 13.5px;
	color: var(--amb-text-on-dark-muted);
	margin-top: 6px;
	max-width: 380px;
}

/* ============================= SOBRE AMB ============================= */
.amb-about-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 56px;
	align-items: center;
}

.amb-about__content--full {
	grid-column: 1 / -1;
	max-width: 700px;
}

.amb-about__photo img {
	border-radius: var(--amb-radius);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* =========================== TESTIMONIOS =========================== */
.amb-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.amb-testimonial {
	background: var(--amb-white);
	border: 1px solid var(--amb-border-light);
	border-radius: var(--amb-radius);
	padding: 28px;
	margin: 0;
}

.amb-testimonial p {
	font-size: 15.5px;
	color: var(--amb-text-on-light);
}

.amb-testimonial cite {
	font-style: normal;
	font-size: 13.5px;
	color: var(--amb-text-on-light-muted);
	font-weight: 600;
}

/* ============================= CTA FINAL ============================= */
.amb-cta-final {
	background: linear-gradient(180deg, var(--amb-black) 0%, #0d1830 100%);
	color: var(--amb-white);
	text-align: center;
	padding: 120px 0;
}

.amb-cta-final .amb-lead {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}

.amb-cta-final .amb-hero__actions {
	justify-content: center;
}

/* ============================== FOOTER ============================== */
.amb-footer {
	background: var(--amb-black);
	color: var(--amb-text-on-dark-muted);
	padding: 56px 0 32px;
	border-top: 1px solid var(--amb-border-dark);
}

.amb-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px 40px;
}

.amb-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}
.amb-footer__brand strong {
	color: var(--amb-white);
	font-family: var(--amb-font-display);
	font-size: 17px;
}

.amb-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-self: start;
	font-size: 13.5px;
}
.amb-footer__links a:hover {
	color: var(--amb-white);
}

.amb-footer__social {
	display: flex;
	gap: 18px;
	font-size: 13.5px;
	grid-column: 2;
}
.amb-footer__social a:hover {
	color: var(--amb-white);
}

.amb-footer__legal {
	grid-column: 1 / -1;
	border-top: 1px solid var(--amb-border-dark);
	margin-top: 24px;
	padding-top: 20px;
	font-size: 12.5px;
}

/* ========================= WHATSAPP FLOTANTE ========================= */
.amb-whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 600;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
	animation: amb-float-pulse 2.8s ease-in-out infinite;
}

.amb-whatsapp-float:hover {
	animation-play-state: paused;
	transform: scale(1.06);
}

.amb-whatsapp-float__tooltip {
	position: absolute;
	right: 68px;
	white-space: nowrap;
	background: var(--amb-black);
	color: #fff;
	font-size: 13px;
	padding: 8px 12px;
	border-radius: 8px;
	opacity: 0;
	transform: translateX(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.amb-whatsapp-float:hover .amb-whatsapp-float__tooltip,
.amb-whatsapp-float:focus-visible .amb-whatsapp-float__tooltip {
	opacity: 1;
	transform: translateX(0);
}

@keyframes amb-float-pulse {
	0%, 100% { box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
	50% { box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.amb-whatsapp-float {
		animation: none;
	}
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 960px) {
	.amb-academy-layout,
	.amb-about-layout {
		grid-template-columns: 1fr;
	}
	.amb-about__photo {
		max-width: 320px;
	}
	.amb-method-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.amb-testimonial-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.amb-nav,
	.amb-header__cta {
		display: none;
	}
	.amb-burger {
		display: flex;
	}

	.amb-nav {
		position: fixed;
		inset: 76px 0 0 0;
		background: var(--amb-black);
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 24px;
		transform: translateX(100%);
		transition: transform 0.3s var(--amb-ease);
		z-index: 400;
	}
	.amb-nav.is-open {
		display: flex;
		transform: translateX(0);
	}
	.amb-nav a {
		width: 100%;
		padding: 14px 4px;
		border-bottom: 1px solid var(--amb-border-dark);
		font-size: 16px;
	}

	.amb-section {
		padding: 64px 0;
	}
	.amb-hero {
		padding: 100px 0 90px;
	}
	.amb-method-grid,
	.amb-testimonial-grid {
		grid-template-columns: 1fr;
	}
	.amb-check-list--grid {
		grid-template-columns: 1fr;
	}
	.amb-card--premium {
		padding: 28px;
	}
	.amb-card--premium__footer {
		flex-direction: column;
		align-items: flex-start;
	}
	.amb-footer__inner {
		grid-template-columns: 1fr;
	}
	.amb-footer__social {
		grid-column: 1;
	}
	.amb-whatsapp-float {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
	}
	.amb-hero__title {
		font-size: clamp(30px, 8vw, 40px);
	}
}
