/* Dirección editorial industrial 0.10. Sin cajas promocionales ni tipografía sobredimensionada. */

.ac-site-header {
	background: rgb(248 247 243 / 97%);
	box-shadow: 0 1px 0 rgb(23 23 23 / 11%);
}

.ac-site-header__inner {
	min-height: 78px;
}

.ac-primary-nav {
	gap: clamp(22px, 2.45vw, 40px);
}

.ac-primary-nav a {
	font-size: 0.88rem;
	font-weight: 650;
	letter-spacing: 0.005em;
}

.ac-header-cta {
	background: var(--ac-machine-dark);
	border-bottom: 3px solid var(--ac-rust);
	color: var(--ac-white);
	padding: 13px 19px 11px;
}

.ac-header-cta:hover,
.ac-header-cta:focus-visible {
	background: var(--ac-rust);
}

.aceder-home-template .ac-home {
	--ac-section-space: clamp(82px, 8vw, 116px);
}

.ac-capability-rail {
	background: var(--ac-machine-dark);
	color: var(--ac-white);
}

.ac-capability-rail__inner {
	display: grid;
	grid-template-columns: 215px minmax(0, 1fr) 124px;
	max-width: var(--ac-width-stage);
	min-height: 54px;
	padding-right: 0;
}

.ac-capability-rail__label {
	align-items: center;
	border-right: 1px solid rgb(255 255 255 / 14%);
	color: var(--ac-rust);
	display: flex;
	font-size: 0.84rem;
	font-weight: 700;
}

.ac-capability-rail__viewport {
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.ac-capability-rail__item {
	align-items: center;
	color: rgb(255 255 255 / 88%);
	display: flex;
	font-size: clamp(0.86rem, 1vw, 0.94rem);
	font-weight: 500;
	gap: 14px;
	inset: 0;
	opacity: 0;
	padding-inline: clamp(22px, 3vw, 46px);
	pointer-events: none;
	position: absolute;
	transform: translateY(8px);
	transition: opacity 260ms ease, transform 260ms ease;
}

.ac-capability-rail__item.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ac-capability-rail__item span {
	color: var(--ac-rust);
	font-size: 1rem;
}

.ac-capability-rail__item:hover,
.ac-capability-rail__item:focus-visible {
	color: var(--ac-white);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ac-capability-rail__item:focus-visible {
	outline: 2px solid var(--ac-rust);
	outline-offset: -4px;
}

.ac-capability-rail__controls {
	border-left: 1px solid rgb(255 255 255 / 14%);
	display: grid;
	grid-template-columns: 38px 48px 38px;
}

.ac-capability-rail__controls button {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--ac-white);
	cursor: pointer;
	font-size: 0.95rem;
	margin: 0;
	min-height: 0;
	padding: 0;
}

.ac-capability-rail__controls button:hover,
.ac-capability-rail__controls button:focus-visible {
	background: var(--ac-rust);
	outline: 0;
}

.ac-capability-rail__controls span {
	align-items: center;
	color: rgb(255 255 255 / 55%);
	display: flex;
	font-family: var(--ac-mono);
	font-size: 0.64rem;
	justify-content: center;
}

.aceder-home-template .ac-hero,
.aceder-home-template .ac-hero__layout {
	min-height: 620px;
	min-height: min(690px, calc(100svh - 132px));
}

.aceder-home-template .ac-hero {
	background: var(--ac-machine-dark);
	position: relative;
}

.aceder-home-template .ac-hero::before {
	background: linear-gradient(90deg, rgb(4 4 4 / 96%) 0%, rgb(4 4 4 / 84%) 30%, rgb(4 4 4 / 35%) 58%, rgb(4 4 4 / 9%) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.aceder-home-template .ac-hero::after {
	height: 5px;
}

.aceder-home-template .ac-hero__layout {
	display: block;
	max-width: none;
	padding: 0;
	position: relative;
}

.aceder-home-template .ac-hero__copy {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: max(var(--ac-gutter), calc((100vw - var(--ac-width-stage)) / 2 + var(--ac-gutter)));
	max-width: 520px;
	min-height: inherit;
	padding: 76px 34px 112px 0;
	position: relative;
	z-index: 5;
}

.aceder-home-template .ac-hero h1 {
	font-size: clamp(2.35rem, 3.5vw, 3rem);
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin-bottom: 26px;
	max-width: 510px;
}

.aceder-home-template .ac-hero h1 span {
	display: inline;
}

.aceder-home-template .ac-hero__copy > p {
	color: rgb(255 255 255 / 72%);
	font-size: clamp(1.02rem, 1.25vw, 1.15rem);
	line-height: 1.65;
	margin-bottom: 34px;
	max-width: 490px;
}

.aceder-home-template .ac-hero__actions {
	align-items: center;
	flex-direction: row;
	gap: 28px;
}

.aceder-home-template .ac-hero-slider {
	border: 0;
	display: block;
	inset: 0;
	min-height: inherit;
	position: absolute;
	z-index: 1;
}

.aceder-home-template .ac-hero-slider:focus-visible {
	outline: 3px solid var(--ac-rust);
	outline-offset: -6px;
}

.aceder-home-template .ac-hero-slider__frame {
	inset: 0;
	position: absolute;
}

.aceder-home-template .ac-hero-slider__slide img {
	filter: grayscale(0.55) saturate(0.7) contrast(1.08) brightness(0.88);
}

.aceder-home-template .ac-hero-slider__slide:nth-child(1) img {
	object-position: center 54%;
}

.aceder-home-template .ac-hero-slider__slide:nth-child(2) img {
	filter: saturate(0.82) contrast(1.08) brightness(0.86);
	object-position: center 52%;
}

.aceder-home-template .ac-hero-slider__slide:nth-child(3) img {
	object-position: center 42%;
}

.aceder-home-template .ac-hero-slider__slide:nth-child(4) img {
	object-position: center 40%;
}

.aceder-home-template .ac-hero-slider__controls {
	background: rgb(9 9 9 / 88%);
	bottom: 5px;
	grid-template-columns: 58px minmax(0, 1fr) 58px;
	min-height: 68px;
	position: absolute;
	right: 0;
	width: min(720px, 56vw);
	z-index: 6;
}

.aceder-home-template .ac-hero-slider__caption {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
}

.aceder-home-template .ac-hero-slider__caption strong {
	font-size: clamp(0.96rem, 1.2vw, 1.08rem);
	font-weight: 600;
	padding: 14px 22px;
}

.aceder-home-template .ac-hero-slider__caption span {
	color: rgb(255 255 255 / 50%);
	font-family: var(--ac-mono);
	font-size: 0.66rem;
	padding-right: 20px;
	white-space: nowrap;
}

.aceder-home-template .ac-hero-slider__progress {
	bottom: 0;
	left: auto;
	position: absolute;
	right: 0;
	width: min(720px, 56vw);
	z-index: 7;
}

.aceder-home-template .ac-intro h2,
.aceder-home-template .ac-section-heading h2,
.aceder-home-template .ac-team h2,
.aceder-home-template .ac-cta h2 {
	font-size: clamp(2.15rem, 3.8vw, 3.1rem);
	font-weight: 650;
	letter-spacing: -0.03em;
}

.ac-proof-rail {
	background: var(--ac-paper-deep);
	border-bottom: 1px solid var(--ac-line);
	border-top: 1px solid var(--ac-line);
}

.ac-proof-rail .ac-shell {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-block: 20px;
}

.ac-proof-rail span {
	border-right: 1px solid var(--ac-line);
	font-size: 0.88rem;
	font-weight: 650;
	padding-inline: clamp(18px, 2vw, 32px);
	text-align: center;
}

.ac-proof-rail span:first-child {
	padding-left: 0;
	text-align: left;
}

.ac-proof-rail span:last-child {
	border-right: 0;
	padding-right: 0;
	text-align: right;
}

.aceder-home-template .ac-services {
	background: #f8f7f3;
}

.aceder-home-template .ac-service {
	grid-template-columns: 52px minmax(260px, 0.9fr) minmax(320px, 1.1fr) auto;
}

.ac-service__number {
	color: var(--ac-rust-dark);
	font-family: var(--ac-mono);
	font-size: 0.74rem;
	font-weight: 700;
}

.aceder-home-template .ac-service h3 {
	font-size: clamp(1.45rem, 2.25vw, 2rem);
	font-weight: 620;
}

.aceder-home-template .ac-projects__grid {
	gap: clamp(30px, 4vw, 58px);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.aceder-home-template .ac-project:nth-child(1) {
	grid-column: 1 / span 7;
}

.aceder-home-template .ac-project:nth-child(2) {
	grid-column: 8 / span 5;
	margin-top: 94px;
}

.aceder-home-template .ac-project:nth-child(3) {
	grid-column: 3 / span 6;
}

.aceder-home-template .ac-project h3 {
	font-size: clamp(1.22rem, 1.8vw, 1.6rem);
	font-weight: 620;
}

.aceder-home-template .ac-project img {
	filter: grayscale(0.22) saturate(0.78) contrast(1.04);
}

.aceder-home-template .ac-project:nth-child(2) img {
	aspect-ratio: 4 / 5;
}

@media (max-width: 1020px) {
	.aceder-home-template .ac-service {
		grid-template-columns: 44px minmax(220px, 0.8fr) 1.2fr auto;
	}
}

@media (max-width: 860px) {
	.ac-capability-rail__inner {
		grid-template-columns: 1fr 124px;
		padding-inline: var(--ac-gutter) 0;
	}

	.ac-capability-rail__label {
		border-right: 0;
		min-height: 46px;
	}

	.ac-capability-rail__viewport {
		grid-column: 1 / 3;
		min-height: 64px;
	}

	.ac-capability-rail__item {
		padding-left: 0;
	}

	.aceder-home-template .ac-hero,
	.aceder-home-template .ac-hero__layout {
		min-height: 680px;
	}

	.aceder-home-template .ac-hero::before {
		background: linear-gradient(90deg, rgb(4 4 4 / 94%) 0%, rgb(4 4 4 / 72%) 65%, rgb(4 4 4 / 25%) 100%);
	}

	.aceder-home-template .ac-hero__copy {
		margin-left: var(--ac-gutter);
		max-width: 600px;
		padding-bottom: 120px;
	}

	.aceder-home-template .ac-hero-slider {
		border-top: 0;
	}

	.aceder-home-template .ac-hero-slider__controls,
	.aceder-home-template .ac-hero-slider__progress {
		width: 100%;
	}

	.ac-proof-rail .ac-shell {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.ac-proof-rail span,
	.ac-proof-rail span:first-child,
	.ac-proof-rail span:last-child {
		border-bottom: 1px solid var(--ac-line);
		padding: 14px 18px;
		text-align: left;
	}

	.ac-proof-rail span:nth-child(2n) {
		border-right: 0;
	}

	.ac-proof-rail span:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.aceder-home-template .ac-service {
		grid-template-columns: 40px 1fr auto;
	}

	.aceder-home-template .ac-service p {
		grid-column: 2;
	}

	.aceder-home-template .ac-service > a {
		grid-column: 3;
		grid-row: 1 / 3;
	}

	.aceder-home-template .ac-projects__grid {
		grid-template-columns: 1fr 1fr;
	}

	.aceder-home-template .ac-project:nth-child(1),
	.aceder-home-template .ac-project:nth-child(2),
	.aceder-home-template .ac-project:nth-child(3) {
		grid-column: auto;
		margin-top: 0;
	}

	.aceder-home-template .ac-project:nth-child(3) {
		max-width: none;
	}
}

@media (max-width: 620px) {
	.aceder-home-template .ac-hero__copy {
		justify-content: flex-start;
		margin-left: 0;
		padding: 72px var(--ac-gutter) 132px;
	}

	.aceder-home-template .ac-hero h1 {
		font-size: clamp(2.1rem, 10vw, 2.65rem);
	}

	.aceder-home-template .ac-hero__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
		width: 100%;
	}

	.aceder-home-template .ac-hero__link {
		justify-content: center;
	}

	.aceder-home-template .ac-hero-slider__caption strong {
		font-size: 0.88rem;
		padding-inline: 14px;
	}

	.aceder-home-template .ac-hero-slider__caption span {
		padding-right: 12px;
	}

	.ac-proof-rail .ac-shell {
		grid-template-columns: 1fr;
		padding-inline: var(--ac-gutter);
	}

	.ac-proof-rail span,
	.ac-proof-rail span:first-child,
	.ac-proof-rail span:last-child {
		border-bottom: 1px solid var(--ac-line);
		border-right: 0;
		padding: 13px 0;
	}

	.ac-proof-rail span:last-child {
		border-bottom: 0;
	}

	.aceder-home-template .ac-service {
		grid-template-columns: 34px 1fr 42px;
	}

	.aceder-home-template .ac-service p {
		grid-column: 1 / 4;
	}

	.aceder-home-template .ac-projects__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ac-capability-rail__item {
		transition: none;
	}
}
