@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
	color-scheme: dark;
	font-family: 'DM Sans', sans-serif;
	color: #f5f5f7;
	background: #111318;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	--orange: #ff7a18;
	--orange-light: #ff9a3d;
	--orange-dark: #c94f00;
	--berry: #6d16c7;
	--bg-primary: #111318;
	--bg-secondary: #191c23;
	--surface: #222631;
	--text-primary: #f5f5f7;
	--text-secondary: #a7abb5;
	--line: rgba(245, 245, 247, 0.1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: var(--bg-primary);
}

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

a:focus-visible {
	outline: 2px solid var(--orange-light);
	outline-offset: 5px;
}

.skip-link {
	position: fixed;
	z-index: 10;
	top: 12px;
	left: 12px;
	padding: 12px 16px;
	transform: translateY(-160%);
	border-radius: 8px;
	background: var(--orange);
	color: var(--bg-primary);
	font-weight: 700;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	z-index: 5;
	top: 0;
	display: flex;
	width: 100%;
	height: 78px;
	align-items: center;
	justify-content: space-between;
	padding: 0 max(6.2vw, 24px);
	border-bottom: 1px solid rgba(245, 245, 247, 0.06);
	background: rgba(17, 19, 24, 0.9);
	backdrop-filter: blur(16px);
}

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

.brand-logo {
	display: block;
	width: 104px;
	height: 68px;
	object-fit: contain;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 42px);
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 600;
}

.main-nav > a:not(.nav-cta):hover,
.back-top:hover {
	color: var(--text-primary);
}

.nav-cta {
	padding: 11px 16px;
	border: 1px solid rgba(255, 122, 24, 0.42);
	border-radius: 7px;
	color: var(--orange-light);
}

.nav-cta span {
	margin-left: 8px;
}

.section-wrap {
	width: min(1120px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.hero {
	position: relative;
	display: grid;
	min-height: 660px;
	grid-template-columns: 1.03fr 0.97fr;
	align-items: center;
	gap: 34px;
	padding-top: 28px;
	padding-bottom: 72px;
}

.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 590px;
	padding-bottom: 18px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	color: var(--orange-light);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.status-dot,
.window-status > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--orange);
	box-shadow: 0 0 12px rgba(255, 122, 24, 0.65);
}

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

h1,
h2,
h3 {
	font-family: 'Manrope', sans-serif;
}

.hero h1 {
	max-width: 620px;
	margin-bottom: 20px;
	font-size: clamp(43px, 5.3vw, 68px);
	font-weight: 800;
	letter-spacing: -3.6px;
	line-height: 1.08;
}

.hero h1 span,
.section-heading h2 span,
.benefits-copy h2 span,
.contact h2 span {
	color: var(--orange);
}

.hero-description {
	max-width: 500px;
	margin-bottom: 28px;
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 23px;
}

.button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 17px;
	padding: 0 18px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 700;
	transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary {
	background: var(--orange);
	color: #111318;
}

.button-primary:hover {
	background: var(--orange-light);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-primary);
	font-size: 12px;
	font-weight: 700;
}

.text-link span {
	color: var(--orange);
	font-size: 17px;
}

.hero-proof {
	display: flex;
	max-width: 365px;
	align-items: center;
	gap: 12px;
	margin-top: 45px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.proof-icon {
	display: grid;
	width: 33px;
	height: 33px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: rgba(109, 22, 199, 0.2);
	color: #bf8cff;
}

.hero-proof p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 11px;
	line-height: 1.6;
}

.hero-visual {
	position: relative;
	display: grid;
	min-height: 420px;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
}

.brand-art {
	position: absolute;
	z-index: 2;
	top: 20px;
	right: 2px;
	display: grid;
	width: 126px;
	height: 104px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(255, 122, 24, 0.25);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(34, 38, 49, 0.97), rgba(25, 28, 35, 0.97));
	box-shadow: 0 15px 38px rgba(0, 0, 0, 0.3), 0 0 28px rgba(255, 122, 24, 0.09);
}

.brand-art img {
	display: block;
	width: 116px;
	height: auto;
}

.visual-glow {
	position: absolute;
	z-index: -1;
	width: 370px;
	height: 370px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 122, 24, 0.12), rgba(109, 22, 199, 0.08) 42%, transparent 72%);
	filter: blur(6px);
}

.visual-orbit {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(255, 154, 61, 0.11);
	border-radius: 50%;
	transform: rotate(-24deg);
}

.orbit-one {
	width: 490px;
	height: 184px;
}

.orbit-two {
	width: 450px;
	height: 305px;
	transform: rotate(34deg);
}

.code-window {
	width: min(100%, 420px);
	overflow: hidden;
	transform: rotate(-2deg);
	border: 1px solid rgba(245, 245, 247, 0.13);
	border-radius: 12px;
	background: linear-gradient(145deg, #222631, #191c23 78%);
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36), 0 0 55px rgba(255, 122, 24, 0.08);
}

.window-bar {
	display: flex;
	height: 43px;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	border-bottom: 1px solid var(--line);
	color: #8c909b;
	font-family: monospace;
	font-size: 10px;
}

.window-dots {
	display: flex;
	gap: 5px;
}

.window-dots i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #5f6570;
}

.window-dots i:first-child {
	background: var(--orange);
}

.window-lock {
	color: #a8b67a;
	font-size: 8px;
}

.code-content {
	padding: 24px 24px 15px;
	font-family: 'Cascadia Code', Consolas, monospace;
	font-size: 12px;
	line-height: 1.85;
}

.code-content p {
	margin: 0;
}

.code-muted {
	display: inline-block;
	width: 25px;
	color: #666b77;
}

.code-purple {
	color: #bd8aff;
}

.code-green {
	color: #a9ce86;
}

.code-orange {
	color: var(--orange-light);
}

.code-comment {
	margin-top: 12px !important;
	color: #7f8490;
}

.window-status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 17px 17px;
	padding: 11px;
	border: 1px solid rgba(255, 122, 24, 0.14);
	border-radius: 6px;
	background: rgba(255, 122, 24, 0.05);
	color: #c8cad0;
	font-size: 10px;
}

.window-status > span {
	width: 6px;
	height: 6px;
}

.floating-note {
	position: absolute;
	right: -6px;
	bottom: 48px;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 13px 16px;
	border: 1px solid rgba(245, 245, 247, 0.11);
	border-radius: 9px;
	background: #222631;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.floating-note > span:first-child {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 7px;
	background: rgba(255, 122, 24, 0.14);
	color: var(--orange);
}

.floating-note strong,
.floating-note small {
	display: block;
}

.floating-note strong {
	margin-bottom: 3px;
	font-size: 10px;
}

.floating-note small {
	color: var(--text-secondary);
	font-size: 9px;
}

.scroll-cue {
	position: absolute;
	bottom: 24px;
	left: 50%;
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--orange);
	font-size: 15px;
	transform: translateX(-50%);
}

.services {
	padding-top: 91px;
	padding-bottom: 112px;
	border-top: 1px solid var(--line);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 34px;
}

.section-heading .eyebrow {
	margin-bottom: 13px;
}

.section-heading h2,
.benefits-copy h2,
.contact h2 {
	max-width: 590px;
	margin-bottom: 0;
	font-size: clamp(30px, 4vw, 43px);
	font-weight: 800;
	letter-spacing: -1.8px;
	line-height: 1.16;
}

.section-intro {
	max-width: 370px;
	margin: 0 0 3px;
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 1.8;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.service-card {
	position: relative;
	min-height: 277px;
	padding: 23px 22px 20px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: linear-gradient(145deg, rgba(34, 38, 49, 0.88), rgba(25, 28, 35, 0.7));
	transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 122, 24, 0.45);
}

.card-icon {
	display: grid;
	width: 39px;
	height: 39px;
	place-items: center;
	margin-bottom: 23px;
	border: 1px solid rgba(255, 122, 24, 0.23);
	border-radius: 8px;
	background: rgba(255, 122, 24, 0.08);
	color: var(--orange-light);
	font-family: monospace;
	font-size: 17px;
}

.card-kicker {
	margin-bottom: 9px;
	color: #9599a4;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
}

.service-card h3 {
	margin-bottom: 10px;
	font-size: 17px;
	letter-spacing: -0.4px;
}

.service-card > p:not(.card-kicker) {
	min-height: 62px;
	margin-bottom: 17px;
	color: var(--text-secondary);
	font-size: 11px;
	line-height: 1.7;
}

.service-card > a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--orange-light);
	font-size: 10px;
	font-weight: 700;
}

.benefits {
	overflow: hidden;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: radial-gradient(ellipse at 4% 48%, rgba(109, 22, 199, 0.11), transparent 35%), var(--bg-secondary);
}

.benefits-inner {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 85px;
	padding-top: 104px;
	padding-bottom: 105px;
}

.benefits-copy {
	position: sticky;
	top: 120px;
	align-self: start;
}

.benefits-copy .eyebrow {
	margin-bottom: 16px;
}

.benefits-copy h2 {
	margin-bottom: 17px;
}

.benefits-copy > p:not(.eyebrow) {
	max-width: 385px;
	margin-bottom: 22px;
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.8;
}

.benefit-list {
	border-top: 1px solid var(--line);
}

.benefit-item {
	display: grid;
	grid-template-columns: 34px 1fr 22px;
	gap: 15px;
	padding: 20px 0 19px;
	border-bottom: 1px solid var(--line);
}

.benefit-number {
	padding-top: 2px;
	color: var(--orange);
	font-family: 'Manrope', sans-serif;
	font-size: 10px;
	font-weight: 700;
}

.benefit-item h3 {
	margin-bottom: 7px;
	font-size: 14px;
	letter-spacing: -0.2px;
}

.benefit-item p {
	max-width: 460px;
	margin-bottom: 0;
	color: var(--text-secondary);
	font-size: 11px;
	line-height: 1.7;
}

.benefit-symbol {
	color: #8c61bd;
	font-size: 16px;
	text-align: right;
}

.methodology {
	padding-top: 105px;
	padding-bottom: 112px;
}

.methodology .section-heading {
	margin-bottom: 47px;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-step {
	position: relative;
	padding: 0 23px 0 0;
}

.process-index {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	color: var(--orange);
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 800;
}

.process-index i {
	display: block;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 122, 24, 0.6), var(--line));
}

.process-step h3 {
	margin-bottom: 9px;
	font-size: 15px;
}

.process-step p {
	max-width: 220px;
	margin-bottom: 0;
	color: var(--text-secondary);
	font-size: 11px;
	line-height: 1.75;
}

.contact {
	position: relative;
	display: flex;
	min-height: 365px;
	overflow: hidden;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 58px 24px;
	border: 1px solid rgba(255, 122, 24, 0.22);
	border-radius: 12px;
	background: linear-gradient(125deg, rgba(255, 122, 24, 0.12), rgba(109, 22, 199, 0.15) 74%), #191c23;
	text-align: center;
}

.contact-orb {
	position: absolute;
	top: -145px;
	right: -70px;
	width: 320px;
	height: 320px;
	border: 1px solid rgba(255, 154, 61, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 34px rgba(255, 154, 61, 0.025), 0 0 0 68px rgba(255, 154, 61, 0.02);
}

.contact .eyebrow,
.contact h2,
.contact > p:not(.eyebrow),
.contact .button,
.contact-caption {
	position: relative;
	z-index: 1;
}

.contact .eyebrow {
	margin-bottom: 14px;
}

.contact h2 {
	max-width: 650px;
	margin-bottom: 13px;
}

.contact > p:not(.eyebrow) {
	max-width: 500px;
	margin-bottom: 22px;
	color: #c1c3ca;
	font-size: 12px;
	line-height: 1.7;
}

.button-dark {
	background: var(--text-primary);
	color: var(--bg-primary);
}

.button-dark:hover {
	background: var(--orange-light);
}

.contact-caption {
	margin-top: 22px;
	color: #9599a4;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1.3px;
}

.site-footer {
	display: grid;
	width: min(1120px, calc(100% - 48px));
	min-height: 104px;
	grid-template-columns: 1fr 1fr auto;
	align-items: center;
	gap: 15px 25px;
	margin: 0 auto;
	padding: 27px 0 20px;
}

.footer-brand {
	width: 84px;
	height: 55px;
	overflow: hidden;
}

.footer-brand .brand-logo {
	width: 84px;
	height: 55px;
}

.site-footer > p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 10px;
}

.back-top {
	color: var(--text-secondary);
	font-size: 10px;
}

.back-top span {
	margin-left: 7px;
	color: var(--orange);
}

.site-footer small {
	grid-column: 1 / -1;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: #7f8490;
	font-size: 9px;
}

@media (max-width: 900px) {
	.site-header {
		padding-right: 24px;
		padding-left: 24px;
	}

	.hero {
		min-height: 600px;
		grid-template-columns: 1fr 0.8fr;
		gap: 12px;
	}

	.hero h1 {
		font-size: clamp(40px, 6vw, 58px);
	}

	.hero-visual {
		min-height: 350px;
	}

	.floating-note {
		right: -12px;
	}

	.benefits-inner {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 42px;
	}
}

@media (max-width: 680px) {
	html {
		scroll-padding-top: 72px;
	}

	.site-header {
		height: 68px;
		padding: 0 19px;
	}

	.brand {
		width: 82px;
		height: 54px;
	}

	.brand-logo {
		width: 82px;
		height: 54px;
	}

	.brand-art {
		top: 11px;
		right: 1px;
		width: 104px;
		height: 87px;
	}

	.brand-art img {
		width: 98px;
	}

	.main-nav {
		gap: 15px;
		font-size: 11px;
	}

	.main-nav > a:not(.nav-cta) {
		display: none;
	}

	.nav-cta {
		padding: 9px 11px;
	}

	.section-wrap {
		width: min(100% - 38px, 520px);
	}

	.hero {
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 4px;
		padding-top: 74px;
		padding-bottom: 75px;
	}

	.hero-copy {
		padding-bottom: 0;
	}

	.hero .eyebrow {
		margin-bottom: 19px;
		font-size: 9px;
	}

	.hero h1 {
		max-width: 540px;
		font-size: clamp(42px, 11.6vw, 58px);
		letter-spacing: -2.6px;
	}

	.hero-description {
		font-size: 13px;
	}

	.hero-actions {
		flex-wrap: wrap;
		gap: 17px;
	}

	.hero-proof {
		margin-top: 27px;
	}

	.hero-visual {
		min-height: 330px;
		margin-top: 14px;
	}

	.code-window {
		width: min(100% - 15px, 400px);
	}

	.orbit-one {
		width: 370px;
		max-width: 100%;
		height: 160px;
	}

	.orbit-two {
		width: 350px;
		max-width: 100%;
		height: 250px;
	}

	.floating-note {
		right: -2px;
		bottom: 18px;
	}

	.scroll-cue {
		display: none;
	}

	.services,
	.methodology {
		padding-top: 74px;
		padding-bottom: 77px;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
		gap: 14px;
		margin-bottom: 25px;
	}

	.section-heading h2,
	.benefits-copy h2,
	.contact h2 {
		font-size: clamp(30px, 8vw, 39px);
		letter-spacing: -1.4px;
	}

	.section-intro {
		font-size: 12px;
	}

	.service-grid {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.service-card {
		min-height: auto;
		padding: 20px;
	}

	.service-card > p:not(.card-kicker) {
		min-height: auto;
	}

	.benefits-inner {
		grid-template-columns: 1fr;
		gap: 33px;
		padding-top: 75px;
		padding-bottom: 77px;
	}

	.benefits-copy {
		position: static;
	}

	.benefits-copy > p:not(.eyebrow) {
		font-size: 12px;
	}

	.benefit-item {
		grid-template-columns: 27px 1fr 18px;
		gap: 10px;
		padding: 17px 0;
	}

	.benefit-item h3 {
		font-size: 13px;
	}

	.benefit-item p {
		font-size: 10px;
	}

	.methodology .section-heading {
		margin-bottom: 33px;
	}

	.process-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px 18px;
	}

	.process-step {
		padding-right: 0;
	}

	.process-index {
		margin-bottom: 15px;
	}

	.process-step p {
		font-size: 10px;
	}

	.contact {
		width: min(100% - 30px, 520px);
		min-height: 340px;
		padding: 42px 20px;
	}

	.contact > p:not(.eyebrow) {
		font-size: 11px;
	}

	.contact-caption {
		font-size: 7px;
		letter-spacing: 0.8px;
	}

	.site-footer {
		width: calc(100% - 38px);
		grid-template-columns: 1fr auto;
		gap: 12px;
		padding-top: 24px;
	}

	.site-footer > p {
		grid-row: 2;
	}

	.back-top {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.site-footer small {
		grid-column: 1 / -1;
	}
}

@media (max-width: 370px) {
	.hero-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.process-grid {
		grid-template-columns: 1fr;
		gap: 23px;
	}
}

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

/* Modo día */
:root[data-theme="light"] {
	color-scheme: light;
	color: #1b1d23;
	background: #f5f7f2;
	--orange: #b84800;
	--orange-light: #a84200;
	--bg-primary: #f5f7f2;
	--bg-secondary: #eceee8;
	--surface: #ffffff;
	--text-primary: #1b1d23;
	--text-secondary: #575c66;
	--line: rgba(27, 29, 35, 0.12);
}

:root[data-theme="light"] .site-header {
	border-bottom-color: rgba(27, 29, 35, 0.1);
	background: rgba(245, 247, 242, 0.92);
}

:root[data-theme="light"] .skip-link,
:root[data-theme="light"] .button-primary {
	background: #ff7a18;
	color: #111318;
}

:root[data-theme="light"] .button-primary:hover {
	background: #ff9a3d;
}

:root[data-theme="light"] .proof-icon {
	color: #6d16c7;
}

/* La ilustración de la portada conserva su apariencia oscura */
:root[data-theme="light"] .brand-art,
:root[data-theme="light"] .code-window {
	--orange: #ff7a18;
	--orange-light: #ff9a3d;
	--text-primary: #f5f5f7;
	--text-secondary: #a7abb5;
	--line: rgba(245, 245, 247, 0.1);
	color: #f5f5f7;
}

:root[data-theme="light"] .code-window {
	box-shadow: 0 10px 24px rgba(27, 29, 35, 0.18);
}

:root[data-theme="light"] .brand-art {
	box-shadow: 0 8px 18px rgba(27, 29, 35, 0.18);
}

:root[data-theme="light"] .floating-note {
	border-color: rgba(27, 29, 35, 0.12);
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(27, 29, 35, 0.14);
	color: #1b1d23;
}

:root[data-theme="light"] .card-kicker,
:root[data-theme="light"] .contact-caption,
:root[data-theme="light"] .site-footer small {
	color: #656a73;
}

:root[data-theme="light"] .service-card {
	background: linear-gradient(145deg, #ffffff, #fbfcf8);
}

:root[data-theme="light"] .benefit-symbol {
	color: #6d3fa0;
}

:root[data-theme="light"] .contact {
	background: linear-gradient(125deg, rgba(255, 122, 24, 0.12), rgba(109, 22, 199, 0.1) 74%), #ffffff;
}

:root[data-theme="light"] .contact > p:not(.eyebrow) {
	color: #3d4048;
}
