@font-face {
	font-family: "Avenir SSC";
	src: url("../fonts/AvenirNextCyr-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Avenir SSC";
	src: url("../fonts/AvenirNextCyr-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--red: #d72e27;
	--red-dark: #ed1e24;
	--ink: #211f1f;
	--night: #211f1f;
	--steel: #4b5258;
	--ice: #eef3f5;
	--mist: #fafafa;
	--white: #ffffff;
	--line: rgba(33, 31, 31, 0.12);
	--yellow: #fdba19;
	--shadow: 0 22px 70px rgba(33, 31, 31, 0.18);
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Avenir SSC", "Avenir Next", Avenir, Arial, Helvetica, sans-serif;
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
}

body.nav-open {
	overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	line-height: 1.02;
	letter-spacing: 0;
}

h1 {
	max-width: 980px;
	font-size: clamp(3rem, 9vw, 7.5rem);
	font-weight: 700;
	text-transform: uppercase;
}

h2 {
	font-size: clamp(2rem, 4vw, 4.2rem);
	font-weight: 700;
}

h3 {
	font-size: 1.35rem;
}

p {
	color: var(--steel);
}

.container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.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;
}

.site-header {
	position: fixed;
	top: 18px;
	left: 50%;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1160px, calc(100% - 48px));
	min-height: 82px;
	padding: 16px 26px;
	color: var(--white);
	background: rgba(33, 31, 31, 0.97);
	border: 1px solid rgba(33, 31, 31, 0.92);
	border-radius: var(--radius);
	box-shadow: 0 18px 48px rgba(33, 31, 31, 0.16);
	transform: translateX(-50%);
	backdrop-filter: blur(14px);
	transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease, top 180ms ease;
}

.site-header.inner,
.site-header.is-scrolled {
	background: rgba(33, 31, 31, 0.98);
	box-shadow: 0 14px 38px rgba(33, 31, 31, 0.18);
}

.site-header.is-scrolled {
	top: 10px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.brand-logo {
	width: clamp(210px, 23vw, 310px);
	height: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: clamp(26px, 3.2vw, 50px);
	font-size: 1.08rem;
	font-weight: 100;
	letter-spacing: 3px;
}

.main-nav a {
	position: relative;
}

.main-nav a::after {
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	height: 2px;
	background: var(--red);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
	transform: scaleX(1);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}

.nav-toggle span:not(.sr-only) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	background: currentColor;
}


.hero,
.page-hero {
	position: relative;
	min-height: 92vh;
	overflow: hidden;
	color: var(--white);
}

.video-hero {
	min-height: 100svh;
	background: var(--ink);
}


.hero-image,
.hero-video,
.page-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(33, 31, 31, 0.86), rgba(33, 31, 31, 0.44) 52%, rgba(33, 31, 31, 0.2));
}

.hero-content,
.page-hero-content {
	position: relative;
	z-index: 1;
}

.hero-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 92vh;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 150px 0 88px;
}

.hero-copy,
.page-hero-content p {
	max-width: 650px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.25rem;
}

.eyebrow {
	margin-bottom: 14px;
	color: var(--red);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
	color: var(--white);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-weight: 700;
	text-transform: uppercase;
}

.button.primary {
	background: var(--red);
	color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
	background: var(--red-dark);
}

.button.secondary {
	border-color: var(--yellow);
	color: var(--white);
	background: rgba(253, 186, 25, 0.12);
}

.button.dark {
	margin-top: 30px;
	background: var(--ink);
	color: var(--white);
}

.section {
	padding: clamp(72px, 9vw, 126px) 0;
}

.muted {
	background: var(--ice);
}

.intro-band {
	background: var(--night);
	color: var(--white);
}

.intro-band p {
	color: rgba(255, 255, 255, 0.78);
}

.statement-section {
	background: var(--white);
}

.statement-content {
	display: grid;
	gap: clamp(24px, 4vw, 42px);
	justify-items: center;
	text-align: center;
}

.statement-content h2 {
	max-width: 980px;
	margin-bottom: 0;
	color: var(--ink);
	text-transform: uppercase;
}

.statement-content img {
	width: min(100%, 860px);
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.statement-copy {
	max-width: 560px;
	margin: 0;
	color: var(--steel);
	font-size: clamp(1.08rem, 1.55vw, 1.28rem);
	line-height: 1.55;
}


.split,
.grid-two,
.contact-layout,
.prose-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(34px, 6vw, 84px);
	align-items: center;
}

.image-panel {
	min-height: 520px;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.image-panel img {
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
}

.content-panel p,
.rich-text p {
	font-size: 1.08rem;
}

.coach-list {
	display: grid;
	gap: 14px;
	margin: 28px 0;
}

.coach-list article {
	padding-left: 18px;
	border-left: 4px solid var(--red);
}

.coach-list h3,
.coach-list p {
	margin-bottom: 6px;
}

.text-link,
.card-link {
	color: var(--red);
	font-weight: 700;
	text-transform: uppercase;
}

.section-heading {
	margin-bottom: 38px;
}

.section-heading.narrow {
	max-width: 680px;
}

.trip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.trip-card {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 16px 45px rgba(33, 31, 31, 0.12);
}

.trip-card a {
	display: grid;
	height: 100%;
}

.trip-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.trip-card-body {
	display: grid;
	gap: 10px;
	padding: 24px;
}

.trip-card h3,
.trip-card p {
	margin-bottom: 0;
}

.trip-card.wide {
	max-width: 760px;
}

.tag {
	width: fit-content;
	padding: 5px 9px;
	border-radius: 4px;
	background: rgba(215, 46, 39, 0.1);
	color: var(--red);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.contact-section {
	background: var(--white);
}

.contact-card {
	display: grid;
	gap: 16px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--mist);
}

.contact-card a:not(.button) {
	font-size: clamp(1.1rem, 3vw, 1.7rem);
	font-weight: 700;
}

.site-footer {
	padding: 32px 0;
	background: var(--white);
	color: var(--ink);
	border-top: 1px solid var(--line);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-inner nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	color: var(--steel);
}

.compact-hero {
	min-height: 62vh;
}

.page-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: inherit;
	padding: 150px 0 72px;
}

.page-hero-content h1 {
	font-size: clamp(2.7rem, 7vw, 6.2rem);
}

.prose-layout {
	align-items: start;
}

.rich-text {
	display: grid;
	gap: 18px;
}

.coach-grid,
.program-grid,
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.coach-card,
.program-grid article {
	padding: 26px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 12px 32px rgba(33, 31, 31, 0.08);
}

.coach-card {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 18px;
	align-items: center;
}

.coach-photo {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--night);
	color: var(--white);
	font-weight: 700;
}

.program-grid span {
	color: var(--red);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.gallery-grid img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: var(--radius);
}

.cta-band,
.contact-page {
	background: var(--night);
	color: var(--white);
}

.cta-band p,
.contact-page p {
	color: rgba(255, 255, 255, 0.78);
}

.contact-page {
	min-height: 100vh;
	padding: 170px 0 90px;
}

.contact-page h1 {
	font-size: clamp(2.9rem, 7vw, 6rem);
}

.contact-card.large {
	background: var(--white);
	color: var(--ink);
}

@media (max-width: 820px) {
	h1 {
		font-size: clamp(2.55rem, 14vw, 4.6rem);
	}


	.site-header {
		top: 12px;
		width: min(100% - 28px, 1160px);
		min-height: 70px;
		padding: 12px 14px;
	}

	.brand-logo {
		width: clamp(172px, 48vw, 230px);
	}

	.nav-toggle {
		display: block;
	}

	.main-nav {
		position: fixed;
		top: 92px;
		right: 20px;
		left: 20px;
		display: grid;
		gap: 0;
		padding: 12px;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: var(--radius);
		background: rgba(33, 31, 31, 0.98);
		color: var(--white);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 160ms ease, transform 160ms ease;
	}

	.main-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.main-nav a {
		padding: 14px 10px;
	}

	.main-nav a::after {
		display: none;
	}

	.hero,
	.hero-content {
		min-height: 88vh;
	}

	.video-hero {
		min-height: 100svh;
	}

	.hero-overlay {
		background: linear-gradient(180deg, rgba(33, 31, 31, 0.38), rgba(33, 31, 31, 0.88));
	}

	.hero-content {
		padding: 120px 0 48px;
	}

	.hero-copy {
		font-size: 1.05rem;
	}

	.split,
	.grid-two,
	.contact-layout,
	.prose-layout {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 64px 0;
	}

	.image-panel,
	.image-panel img {
		min-height: 360px;
	}

	.coach-card {
		grid-template-columns: 1fr;
	}

	.gallery-grid img {
		height: 300px;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {

	.container,
	.hero-content {
		width: min(100% - 28px, 1180px);
	}

	.brand-logo {
		width: min(178px, 58vw);
	}

	.button {
		width: 100%;
	}

	.contact-card {
		padding: 22px;
	}

	.contact-card a:not(.button) {
		overflow-wrap: anywhere;
	}
}

/* Unified top navigation */
.site-header.inner {
	top: 0;
	left: 0;
	width: 100%;
	min-height: 82px;
	padding: 14px clamp(42px, 7vw, 96px);
	color: var(--white);
	background: rgba(33, 31, 31, 0.98);
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 30px rgba(33, 31, 31, 0.12);
	transform: none;
}

.site-header.inner .brand-logo {
	width: clamp(210px, 19vw, 300px);
}

.site-header.inner .main-nav {
	color: var(--white);
}

@media (max-width: 820px) {
	.site-header.inner {
		top: 0;
		left: 0;
		width: 100%;
		min-height: 68px;
		padding: 10px 16px;
		transform: none;
	}

	.site-header.inner .brand-logo {
		width: min(46vw, 210px);
	}

	.site-header.inner .nav-toggle {
		display: block;
		margin-left: auto;
	}

	.site-header.inner .main-nav {
		top: 68px;
		right: 0;
		left: 0;
		width: 100%;
		border-radius: 0;
	}
}

/* Header navigation */
.home-header:not(.is-scrolled) {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 100svh;
	padding: 0 24px;
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
	backdrop-filter: none;
	pointer-events: none;
}

.home-header:not(.is-scrolled) .brand {
	position: static;
	transform: translateX(3vw);
	pointer-events: auto;
}

.home-header:not(.is-scrolled) .brand-logo {
	width: min(70vw, 620px);
	height: auto;
	filter: none;
}

.home-header:not(.is-scrolled) .main-nav,
.home-header:not(.is-scrolled) .nav-toggle {
	display: none;
}

.site-header.inner,
.home-header.is-scrolled {
	position: fixed;
	inset: auto;
	top: 0;
	left: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 82px;
	padding: 14px clamp(42px, 7vw, 96px);
	color: var(--white);
	background: rgba(33, 31, 31, 0.98);
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 30px rgba(33, 31, 31, 0.12);
	transform: none;
	backdrop-filter: none;
	pointer-events: auto;
}

.site-header.inner .brand,
.home-header.is-scrolled .brand {
	position: static;
	inset: auto;
	transform: none;
}

.site-header.inner .brand-logo,
.home-header.is-scrolled .brand-logo {
	width: clamp(210px, 19vw, 300px);
	height: auto;
	content: url("../img/logo_blanco.png");
	filter: none;
}

.site-header.inner .main-nav,
.home-header.is-scrolled .main-nav {
	position: static;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(26px, 3.2vw, 50px);
	width: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.site-header.inner .main-nav a,
.home-header.is-scrolled .main-nav a {
	position: relative;
	color: var(--white);
}

.site-header.inner .main-nav a::after,
.home-header.is-scrolled .main-nav a::after {
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	display: block;
	height: 2px;
	background: var(--red);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.site-header.inner .main-nav a:hover::after,
.site-header.inner .main-nav a:focus-visible::after,
.home-header.is-scrolled .main-nav a:hover::after,
.home-header.is-scrolled .main-nav a:focus-visible::after {
	transform: scaleX(1);
}

@media (max-width: 820px) {
	.home-header:not(.is-scrolled) {
		display: block;
		padding: 0;
	}

	.home-header:not(.is-scrolled) .brand {
		position: absolute;
		top: 20%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.home-header:not(.is-scrolled) .brand-logo {
		width: min(58vw, 270px);
		content: url("../img/logo_movil_trim.png");
	}

	.site-header.inner,
	.home-header.is-scrolled {
		min-height: 68px;
		padding: 10px 16px;
	}

	.site-header.inner .brand-logo,
	.home-header.is-scrolled .brand-logo {
		width: min(46vw, 210px);
		content: url("../img/logo_blanco.png");
	}

	.site-header.inner .nav-toggle,
	.home-header.is-scrolled .nav-toggle {
		display: block;
		margin-left: auto;
	}

	.site-header.inner .main-nav,
	.home-header.is-scrolled .main-nav {
		position: fixed;
		top: 68px;
		right: 0;
		left: 0;
		display: grid;
		gap: 0;
		width: 100%;
		padding: 12px;
		background: rgba(33, 31, 31, 0.98);
		color: var(--white);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 160ms ease, transform 160ms ease;
	}

	.site-header.inner .main-nav.is-open,
	.home-header.is-scrolled .main-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-header.inner .main-nav a,
	.home-header.is-scrolled .main-nav a {
		padding: 14px 10px;
	}

	.site-header.inner .main-nav a::after,
	.home-header.is-scrolled .main-nav a::after {
		display: none;
	}
}

@media (max-width: 520px) {
	.home-header:not(.is-scrolled) .brand-logo {
		width: min(40vw, 250px);
	}
}