:root {
	--navy: #071B4D;
	--navy-2: #0B2D76;
	--blue: #118DE2;
	--blue-2: #0BA5E9;
	--teal: #22B8A8;
	--ink: #101828;
	--text: #344054;
	--muted: #667085;
	--line: #E4EAF2;
	--soft: #F5F8FC;
	--white: #FFFFFF;
	--shadow: 0 18px 45px rgba(7, 27, 77, 0.10);
	--radius: 20px;
	--container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Inter", Arial, Helvetica, sans-serif;
	background: var(--white);
	color: var(--text);
	font-size: 16px;
	line-height: 1.6;
}

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

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

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

/* HEADER */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	min-height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.brand-mark {
	width: 52px;
	height: 42px;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: -0.08em;
	background: linear-gradient(135deg, var(--blue), var(--teal));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	position: relative;
}

.brand-mark::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-left: 3px solid var(--blue);
	border-bottom: 3px solid var(--teal);
	transform: skew(-8deg);
	opacity: 0.35;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-transform: uppercase;
}

.brand-text strong {
	color: var(--navy);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	font-weight: 800;
}

.brand-text span {
	color: var(--muted);
	font-size: 0.64rem;
	letter-spacing: 0.22em;
	margin-top: 4px;
}

.main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--navy);
}

.main-nav a {
	position: relative;
	padding: 31px 0;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 18px;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--teal));
	border-radius: 999px;
	transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
	width: 100%;
}

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

.social-nav a {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	background: var(--navy);
	color: var(--white);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	transition: transform 0.2s ease, background 0.2s ease;
}

.social-nav a:hover {
	background: var(--blue);
	transform: translateY(-2px);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	background: var(--white);
	border-radius: 12px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--navy);
	margin: 5px auto;
	border-radius: 99px;
}

/* HERO HOME */

.hero {
	position: relative;
	overflow: visible;
	background:
		radial-gradient(circle at 75% 22%, rgba(11, 165, 233, 0.12), transparent 32%),
		linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(7, 27, 77, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 27, 77, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	min-height: 610px;
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	align-items: center;
	gap: 48px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--blue);
	font-weight: 800;
	font-size: 0.86rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hero h1 {
	max-width: 680px;
	margin: 0;
	color: var(--navy);
	font-size: clamp(2.7rem, 5vw, 5.05rem);
	line-height: 0.98;
	letter-spacing: -0.065em;
	font-weight: 800;
}

.hero h1 span {
	color: var(--blue);
}

.hero-description {
	max-width: 560px;
	margin: 28px 0 0;
	font-size: 1.15rem;
	color: var(--text);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 0.96rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
	background: linear-gradient(135deg, var(--navy), var(--navy-2));
	color: var(--white);
	box-shadow: 0 18px 36px rgba(7, 27, 77, 0.22);
}

.btn-primary::after {
	content: "→";
	font-size: 1.2rem;
}

.btn-secondary {
	color: var(--navy);
	background: rgba(255, 255, 255, 0.72);
	border: 2px solid rgba(7, 27, 77, 0.28);
}

.btn-secondary::before {
	content: "▶";
	color: var(--blue);
	font-size: 0.78rem;
}

.btn-light {
	background: var(--white);
	color: var(--navy);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.btn-light::after {
	content: "→";
	color: var(--blue);
	font-size: 1.2rem;
}

.hero-visual {
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.hero-photo {
	position: relative;
	z-index: 3;
	width: min(460px, 92%);
	margin-bottom: -100px;
}

.hero-photo img {
	width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 28px 32px rgba(7, 27, 77, 0.16));
}

.shape {
	position: absolute;
	border-radius: 34px;
	transform: rotate(-12deg);
}

.shape-one {
	z-index: 1;
	width: 390px;
	height: 360px;
	right: 60px;
	bottom: 10px;
	background: linear-gradient(135deg, var(--blue), var(--navy-2));
	box-shadow: 0 24px 70px rgba(17, 141, 226, 0.32);
}

.shape-two {
	z-index: 0;
	width: 240px;
	height: 170px;
	right: 0;
	bottom: -10px;
	background: var(--teal);
	opacity: 0.95;
}

.dot-pattern {
	position: absolute;
	z-index: 2;
	right: 18px;
	top: 95px;
	width: 110px;
	height: 110px;
	background-image: radial-gradient(var(--blue) 2px, transparent 2px);
	background-size: 16px 16px;
	opacity: 0.7;
}

/* AUTHORITY BAR */

.authority-bar {
	position: relative;
	z-index: 4;
	background: linear-gradient(135deg, #061847, #08266E);
	color: var(--white);
}

.authority-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.authority-grid article {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	align-items: center;
	padding: 26px 28px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.authority-grid article:last-child {
	border-right: none;
}

.authority-icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	color: var(--blue-2);
	border: 1px solid rgba(11, 165, 233, 0.55);
	border-radius: 12px;
	font-weight: 800;
}

.authority-grid strong {
	display: block;
	font-size: 1.25rem;
	line-height: 1.1;
}

.authority-grid span {
	display: block;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.35;
	margin-top: 4px;
}

/* SECCIONES GENERALES */

.section {
	padding: 76px 0;
}

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

.section-heading.centered {
	text-align: center;
}

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

.section-heading h2 {
	margin: 0;
	color: var(--navy);
	font-size: clamp(1.85rem, 3vw, 2.5rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.section-heading p {
	margin: 10px 0 0;
	color: var(--muted);
}

.section-heading h2::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	margin: 14px auto 0;
	background: linear-gradient(90deg, var(--blue), var(--teal));
	border-radius: 999px;
}

.section-heading.split h2::after {
	margin-left: 0;
}

.text-link {
	color: var(--blue);
	font-weight: 800;
	font-size: 0.95rem;
}

/* SERVICIOS HOME */

.services {
	background: var(--white);
}

.cards-grid {
	display: grid;
	gap: 22px;
}

.services-grid {
	grid-template-columns: repeat(4, 1fr);
}

.service-card {
	padding: 30px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(17, 141, 226, 0.38);
	box-shadow: 0 26px 60px rgba(7, 27, 77, 0.14);
}

.card-icon {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	border-radius: 16px;
	color: var(--blue);
	background: rgba(17, 141, 226, 0.10);
	font-size: 1.7rem;
	font-weight: 800;
}

.service-card:nth-child(3) .card-icon {
	color: var(--teal);
	background: rgba(34, 184, 168, 0.12);
}

.service-card h3 {
	margin: 0;
	color: var(--navy);
	font-size: 1.2rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.service-card p {
	margin: 14px 0 20px;
	color: var(--text);
	font-size: 0.92rem;
	line-height: 1.55;
}

.service-card a {
	color: var(--blue);
	font-weight: 800;
	font-size: 0.9rem;
}

/* PROYECTOS DESTACADOS HOME */

.projects {
	background: linear-gradient(180deg, var(--soft), #FFFFFF);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.project-row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.project-card {
	min-height: 172px;
	padding: 22px 18px;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(7, 27, 77, 0.06);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: transform 0.22s ease, border-color 0.22s ease;
}

.project-card:hover {
	transform: translateY(-4px);
	border-color: rgba(17, 141, 226, 0.32);
}

.project-card img {
	max-width: 124px;
	max-height: 58px;
	object-fit: contain;
	margin-bottom: 16px;
}

.project-card h3 {
	margin: 0;
	color: var(--navy);
	font-size: 0.95rem;
	line-height: 1.22;
}

.project-card p {
	margin: 7px 0 0;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

/* ABOUT HOME */

.about-preview {
	background: var(--white);
}

.about-grid {
	display: grid;
	grid-template-columns: 170px 1.15fr 0.85fr;
	gap: 42px;
	align-items: center;
}

.about-photo img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	border: 8px solid #EEF6FF;
	box-shadow: var(--shadow);
}

.about-copy h2 {
	margin: 0;
	color: var(--navy);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	line-height: 1.15;
	letter-spacing: -0.04em;
}

.about-copy p {
	margin: 16px 0 0;
}

.about-copy .text-link {
	display: inline-block;
	margin-top: 18px;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.metrics-grid div {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--soft);
}

.metrics-grid strong {
	display: block;
	color: var(--blue);
	font-size: 2rem;
	line-height: 1;
	font-weight: 800;
}

.metrics-grid span {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

/* CTA */

.cta-section {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 20%, rgba(34, 184, 168, 0.25), transparent 26%),
		linear-gradient(135deg, #06205E, #061847 70%);
	color: var(--white);
}

.cta-section::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	border: 80px solid rgba(17, 141, 226, 0.16);
}

.cta-inner {
	position: relative;
	z-index: 1;
	min-height: 142px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.cta-inner h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.cta-inner p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.82);
}

/* FOOTER */

.site-footer {
	background: #07111F;
	color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
	min-height: 94px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.footer-brand .brand-text strong {
	color: var(--white);
}

.footer-brand .brand-text span {
	color: rgba(255, 255, 255, 0.55);
}

.site-footer p {
	margin: 0;
	font-size: 0.9rem;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 0.9rem;
}

.footer-links a:hover {
	color: var(--white);
}

/* PAGE HERO - PÁGINAS INTERNAS */

.page-hero {
	padding: 72px 0 64px;
	background:
		radial-gradient(circle at 82% 15%, rgba(11, 165, 233, 0.13), transparent 28%),
		linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
	border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
	margin-bottom: 18px;
}

.page-hero h1 {
	max-width: 860px;
	margin: 0;
	color: var(--navy);
	font-size: clamp(2.3rem, 4.2vw, 3.9rem);
	line-height: 1;
	letter-spacing: -0.06em;
	font-weight: 800;
}

.page-hero p:not(.eyebrow) {
	max-width: 720px;
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 1.1rem;
	line-height: 1.55;
}

/* PROJECTS LIST - PÁGINA INTERNA */

.projects-list-section {
	padding-top: 58px;
	background: var(--white);
}

.projects-list-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.project-list-card {
	display: grid;
	grid-template-columns: 155px minmax(0, 1fr);
	gap: 24px;
	padding: 26px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-list-card:hover {
	transform: translateY(-4px);
	border-color: rgba(17, 141, 226, 0.35);
	box-shadow: 0 26px 60px rgba(7, 27, 77, 0.13);
}

.project-list-logo {
	min-height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(180deg, #F8FBFF 0%, #EEF6FF 100%);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px;
	overflow: hidden;
}

.project-list-logo img {
	max-width: 120px;
	max-height: 72px;
	object-fit: contain;
}

.project-list-logo span {
	display: block;
	max-width: 120px;
	color: var(--navy);
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 700;
	text-align: center;
}

.project-list-content {
	min-width: 0;
}

.project-list-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.project-list-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(17, 141, 226, 0.09);
	color: var(--blue);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.project-list-content h2 {
	margin: 0;
	color: var(--navy);
	font-size: 1.28rem;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.project-client {
	margin: 7px 0 0;
	color: var(--navy);
	font-weight: 800;
	font-size: 0.92rem;
}

.project-list-content p {
	margin: 11px 0 0;
	color: var(--text);
	font-size: 0.93rem;
	line-height: 1.52;
}

.project-list-content .text-link {
	display: inline-block;
	margin-top: 15px;
}

.empty-state {
	padding: 44px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
}

.empty-state h2 {
	margin: 0;
	color: var(--navy);
}

.empty-state p {
	margin: 12px 0 0;
	color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 1080px) {
	.social-nav {
		display: none;
	}

	.main-nav {
		gap: 18px;
		font-size: 0.84rem;
	}

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

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

	.project-row {
		grid-template-columns: repeat(3, 1fr);
	}

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

	.authority-grid article:nth-child(2) {
		border-right: none;
	}

	.authority-grid article:nth-child(1),
	.authority-grid article:nth-child(2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.about-grid {
		grid-template-columns: 150px 1fr;
	}

	.metrics-grid {
		grid-column: 1 / -1;
	}
}

@media (max-width: 960px) {
	.projects-list-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.container {
		width: min(100% - 32px, var(--container));
	}

	.header-inner {
		min-height: 72px;
	}

	.menu-toggle {
		display: block;
	}

	.main-nav {
		position: fixed;
		left: 16px;
		right: 16px;
		top: 82px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px;
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: 18px;
		box-shadow: var(--shadow);
	}

	.menu-open .main-nav {
		display: flex;
	}

	.main-nav a {
		padding: 13px 14px;
		border-radius: 12px;
	}

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

	.main-nav a.active,
	.main-nav a:hover {
		background: var(--soft);
		color: var(--blue);
	}

	.hero-grid {
		min-height: auto;
		grid-template-columns: 1fr;
		padding: 54px 0 0;
		gap: 22px;
		text-align: left;
	}

	.hero h1 {
		font-size: clamp(2.45rem, 12vw, 4rem);
	}

	.hero-description {
		font-size: 1rem;
	}

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

	.hero-photo {
		width: min(330px, 86%);
		margin-bottom: -60px;
	}

	.shape-one {
		width: 300px;
		height: 280px;
		right: 50%;
		transform: translateX(58%) rotate(-12deg);
	}

	.shape-two {
		width: 180px;
		height: 130px;
		right: 16px;
	}

	.dot-pattern {
		display: none;
	}

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

	.authority-grid article {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
		padding: 22px 0;
	}

	.authority-grid article:last-child {
		border-bottom: none;
	}

	.section {
		padding: 56px 0;
	}

	.section-heading.split {
		display: block;
	}

	.section-heading.split .text-link {
		display: inline-block;
		margin-top: 12px;
	}

	.services-grid,
	.project-row,
	.metrics-grid {
		grid-template-columns: 1fr;
	}

	.about-grid {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.about-photo img {
		width: 132px;
		height: 132px;
	}

	.cta-inner {
		min-height: auto;
		padding: 36px 0;
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-inner {
		padding: 28px 0;
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

@media (max-width: 620px) {
	.page-hero {
		padding: 58px 0 50px;
	}

	.page-hero h1 {
		font-size: clamp(2.1rem, 12vw, 3.1rem);
	}

	.page-hero p:not(.eyebrow) {
		font-size: 1rem;
	}

	.project-list-card {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.project-list-logo {
		min-height: 110px;
	}
}

@media (max-width: 520px) {
	.brand-text strong {
		font-size: 0.82rem;
	}

	.brand-text span {
		font-size: 0.55rem;
	}

	.hero-actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.service-card {
		padding: 24px;
	}

	.project-card {
		min-height: 150px;
	}

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