@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
	--bg: #f4efe8;
	--text: #1f2523;
	--text-soft: #52605d;
	--line: rgba(31, 37, 35, 0.12);
	--accent: #d66a3d;
	--accent-dark: #9f4725;
	--accent-soft: rgba(214, 106, 61, 0.14);
	--shadow: 0 24px 60px rgba(43, 39, 31, 0.12);
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 18px;
	--shell: min(1120px, calc(100vw - 40px));
	--header-height: 84px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Manrope', sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(214, 106, 61, 0.18), transparent 34%),
		radial-gradient(circle at top right, rgba(30, 95, 80, 0.14), transparent 28%),
		linear-gradient(180deg, #f9f4ee 0%, #f2ebe2 100%);
	line-height: 1.6;
	min-width: 320px;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button {
	font: inherit;
}

::selection {
	background: var(--accent);
	color: #fff;
}

.shell {
	width: var(--shell);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(249, 244, 238, 0.76);
	border-bottom: 1px solid rgba(31, 37, 35, 0.08);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.brand-mark {
	width: 48px;
	height: 48px;
	display: block;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(31, 76, 69, 0.2);
	box-shadow: var(--shadow);
}

.brand-mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.brand-copy {
	display: grid;
	gap: 2px;
}

.brand-copy strong {
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.brand-copy small {
	color: var(--text-soft);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

.site-nav a {
	padding: 12px 14px;
	border-radius: 999px;
	color: var(--text-soft);
	font-size: 0.95rem;
	font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
	color: var(--text);
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 10px 24px rgba(43, 39, 31, 0.08);
}

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 28px rgba(43, 39, 31, 0.12);
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--text);
	border-radius: 999px;
}

main {
	overflow: hidden;
}

.section {
	padding: 68px 0;
}

.hero {
	position: relative;
	padding: 72px 0 40px;
	min-height: calc(100vh - var(--header-height));
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(249, 244, 238, 0.84) 0%, rgba(249, 244, 238, 0.7) 48%, rgba(249, 244, 238, 0.3) 100%),
		url('../images/fondo/FondoPerfil.png') center right / cover no-repeat;
	opacity: 1;
	z-index: -2;
}

.hero::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 220px;
	background: linear-gradient(180deg, rgba(249, 244, 238, 0) 0%, rgba(249, 244, 238, 1) 100%);
	z-index: -1;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
	gap: 34px;
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	color: var(--accent-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 18px;
	box-shadow: 0 10px 24px rgba(43, 39, 31, 0.08);
}

.hero h1,
.section h2,
.hero-panel h2 {
	font-family: 'Fraunces', serif;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.hero h1 {
	font-size: clamp(3.1rem, 8vw, 5.8rem);
	max-width: 12ch;
	margin-bottom: 20px;
}

.hero-lead,
.section-heading p,
.section-copy p,
.project-copy p,
.contact-card p,
.status-list span,
.metric-grid span,
.timeline-grid p,
.stack-card p,
.stack-card span,
.hero-points li,
.project-card li {
	color: var(--text-soft);
	font-size: 1rem;
}

.hero-copy {
	padding: 42px 0;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 30px 0;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.button-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 16px 30px rgba(159, 71, 37, 0.26);
}

.button-primary:hover {
	background: var(--accent-dark);
	transform: translateY(-1px);
}

.button-secondary {
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(31, 37, 35, 0.09);
}

.button-secondary:hover {
	background: #fff;
	transform: translateY(-1px);
}

.hero-points {
	display: grid;
	gap: 12px;
	list-style: none;
	max-width: 680px;
}

.hero-points li {
	position: relative;
	padding-left: 28px;
}

.hero-points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), #f0aa55);
	box-shadow: 0 0 0 5px var(--accent-soft);
}

.hero-panel {
	padding: 24px;
	border-radius: var(--radius-xl);
	background: linear-gradient(180deg, rgba(20, 34, 30, 0.94), rgba(26, 43, 38, 0.98));
	color: #f4efe8;
	box-shadow: var(--shadow);
}

.panel-stack-note {
	margin: 8px 0 14px;
	color: #dbcfbe;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
}

.panel-kicker,
.project-tag {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.panel-kicker {
	color: #dbb99e;
	margin-bottom: 14px;
}

.hero-panel h2 {
	font-size: clamp(1.7rem, 3.1vw, 2.35rem);
	margin-bottom: 0;
}

.hero-panel .status-list,
.hero-panel .metric-grid {
	gap: 12px;
}

.status-list,
.metric-grid,
.timeline-grid,
.contact-card-grid,
.project-grid,
.stack-layout,
.strength-list {
	display: grid;
	gap: 16px;
}

.status-list {
	margin-bottom: 14px;
}

.status-list div,
.metric-grid article,
.timeline-grid article,
.stack-card,
.project-card,
.contact-card,
.portrait-card,
.intro-band {
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.status-list div {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
}

.status-list strong,
.metric-grid strong,
.timeline-grid strong,
.strength-list strong,
.contact-card a,
.contact-card p {
	font-size: 1rem;
	font-weight: 700;
}

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

.metric-grid article {
	padding: 14px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
}

.metric-grid strong,
.timeline-grid strong,
.stack-card h3,
.project-card h3,
.contact-card span {
	display: block;
	margin-bottom: 8px;
}

.section-intro {
	padding-top: 8px;
	padding-bottom: 24px;
}

.intro-band {
	padding: 24px 28px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.66);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text);
	text-wrap: balance;
}

.section-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
	gap: 34px;
	align-items: center;
}

.portrait-card {
	padding: 18px;
	border-radius: var(--radius-xl);
	background: rgba(255, 250, 244, 0.8);
	transform: rotate(-2deg);
}

.portrait-card img {
	border-radius: calc(var(--radius-xl) - 8px);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.section-copy h2,
.section-heading h2 {
	font-size: clamp(2.4rem, 5vw, 4.1rem);
	margin-bottom: 18px;
	max-width: 11ch;
}

.section-copy p + p {
	margin-top: 14px;
}

.timeline-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 28px;
}

.timeline-grid article {
	padding: 22px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.68);
	transform: translateY(0);
}

.timeline-grid span,
.contact-card span {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.section-contrast {
	background: linear-gradient(180deg, rgba(255, 250, 244, 0.75), rgba(244, 239, 232, 0.5));
	border-top: 1px solid rgba(31, 37, 35, 0.08);
	border-bottom: 1px solid rgba(31, 37, 35, 0.08);
}

.section-heading {
	margin-bottom: 18px;
	max-width: 760px;
}

.stack-layout {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.stack-layout-duo {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-cloud-card {
	padding: 20px;
	border-radius: var(--radius-xl);
	background: radial-gradient(circle at 14% 14%, rgba(214, 106, 61, 0.16), transparent 46%), rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(31, 37, 35, 0.1);
	box-shadow: var(--shadow);
}

.stack-cloud-mesh {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.stack-cloud-mesh span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 13px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(31, 37, 35, 0.09);
	font-weight: 700;
	color: var(--text);
	box-shadow: 0 10px 18px rgba(43, 39, 31, 0.06);
	transition: transform 180ms ease;
}

.stack-cloud-mesh span:nth-child(3n) {
	transform: translateY(-3px);
}

.stack-cloud-mesh span:nth-child(4n) {
	transform: translateY(4px);
}

.stack-cloud-mesh span:hover {
	transform: translateY(-4px) scale(1.03);
}

.stack-cloud-mesh img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.stack-cloud-mesh i {
	width: 20px;
	text-align: center;
	font-size: 1rem;
	color: var(--accent-dark);
}

.stack-card {
	padding: 28px;
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.72);
}

.stack-card h3 {
	font-size: 1.3rem;
	font-weight: 800;
	margin-bottom: 18px;
}

.logo-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.logo-cloud span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(31, 37, 35, 0.08);
	font-weight: 700;
	color: var(--text);
	box-shadow: 0 10px 18px rgba(43, 39, 31, 0.06);
}

.logo-cloud img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.logo-cloud-large img {
	width: 30px;
	height: 30px;
}

.strength-list div {
	padding: 16px 0;
	border-bottom: 1px solid rgba(31, 37, 35, 0.1);
}

.strength-list div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.strength-list span {
	display: block;
	margin-bottom: 4px;
	color: var(--text-soft);
}

.stack-lab {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.stack-lab-head {
	grid-column: span 6;
	display: grid;
	gap: 10px;
}

.stack-lab-head h2 {
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	line-height: 1.02;
	max-width: 12ch;
}

.stack-lab-head p {
	color: var(--text-soft);
	max-width: 54ch;
}

.stack-lab-card {
	padding: 26px;
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(31, 37, 35, 0.1);
	box-shadow: var(--shadow);
	display: grid;
	gap: 14px;
}

.stack-lab-card h3 {
	font-family: 'Fraunces', serif;
	font-size: 1.7rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.stack-lab-orbit {
	grid-column: span 6;
}

.stack-lab-cloud {
	grid-column: span 4;
}

.stack-lab-flow {
	grid-column: span 8;
}

.stack-lab-toolbelt {
	grid-column: span 4;
}

.stack-orbit {
	position: relative;
	height: 320px;
	border-radius: 22px;
	background: radial-gradient(circle at center, rgba(214, 106, 61, 0.14), rgba(31, 76, 69, 0.06) 55%, transparent 70%);
	border: 1px dashed rgba(31, 37, 35, 0.2);
}

.orbit-center {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: linear-gradient(145deg, #1f4c45, #2d7a68);
	color: #fff;
	display: grid;
	place-content: center;
	text-align: center;
	padding: 12px;
	box-shadow: 0 18px 34px rgba(24, 61, 55, 0.28);
	gap: 4px;
}

.orbit-center strong {
	font-size: 1rem;
	letter-spacing: 0.02em;
}

.orbit-center span {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.84);
}

.orbit-node {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(31, 37, 35, 0.12);
	font-weight: 800;
	font-size: 0.84rem;
	box-shadow: 0 10px 18px rgba(43, 39, 31, 0.08);
}

.orbit-node img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.node-spring {
	top: 22px;
	left: 52%;
	transform: translateX(-50%);
}

.node-postgres {
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
}

.node-docker {
	bottom: 22px;
	left: 52%;
	transform: translateX(-50%);
}

.node-aws {
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
}

.stack-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.stack-service-grid span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(31, 37, 35, 0.1);
	font-weight: 800;
	color: var(--text);
}

.stack-service-grid i {
	color: var(--accent-dark);
	width: 16px;
	text-align: center;
}

.stack-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.stack-track div {
	display: grid;
	gap: 6px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(31, 37, 35, 0.08);
}

.stack-track strong {
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.stack-track span {
	font-size: 0.93rem;
	line-height: 1.35;
	color: var(--text-soft);
}

.stack-toolbelt-icons {
	display: grid;
	gap: 10px;
}

.stack-toolbelt-icons span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(31, 37, 35, 0.1);
	font-weight: 700;
}

.stack-toolbelt-icons img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.aws-cap-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.aws-cap-card {
	padding: 20px;
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(31, 37, 35, 0.1);
	box-shadow: var(--shadow);
	display: grid;
	gap: 10px;
}

.aws-cap-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.aws-cap-icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: rgba(214, 106, 61, 0.14);
	color: var(--accent-dark);
	border: 1px solid rgba(214, 106, 61, 0.26);
	flex: 0 0 auto;
}

.aws-cap-card h3 {
	font-family: 'Fraunces', serif;
	font-size: 1.35rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.aws-cap-card ul {
	list-style: none;
	display: grid;
	gap: 10px;
}

.aws-cap-card li {
	position: relative;
	padding-left: 22px;
	color: var(--text-soft);
}

.aws-cap-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.ai-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 14px;
}

.ai-card {
	padding: 18px;
	border-radius: var(--radius-xl);
	border: 1px solid rgba(31, 37, 35, 0.1);
	box-shadow: var(--shadow);
	display: grid;
	gap: 10px;
}

.ai-card-principles {
	background: linear-gradient(155deg, rgba(24, 34, 31, 0.94), rgba(36, 49, 45, 0.98));
	color: #f4efe8;
	border-color: rgba(255, 255, 255, 0.08);
}

.ai-card-principles .project-tag,
.ai-card-principles h3 {
	color: #f4efe8;
}

.ai-principle-list {
	display: grid;
	gap: 8px;
}

.ai-principle-list div {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #e6dbcb;
}

.ai-principle-list i {
	width: 16px;
	text-align: center;
	color: #f0bf92;
}

.ai-card-boundaries {
	background: rgba(255, 255, 255, 0.86);
}

.ai-boundary-grid {
	display: grid;
	gap: 8px;
}

.ai-boundary-grid div {
	display: grid;
	gap: 4px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(31, 37, 35, 0.08);
}

.ai-boundary-grid strong {
	font-size: 0.95rem;
	color: var(--text);
}

.ai-boundary-grid span {
	color: var(--text-soft);
	font-size: 0.94rem;
}

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

.project-card {
	padding: 28px;
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.82);
	display: grid;
	gap: 18px;
}

.project-featured {
	grid-column: span 2;
	grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	padding: 18px;
	background: linear-gradient(145deg, #fffaf4, #f2e8dc);
}

.project-media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	border-radius: calc(var(--radius-xl) - 8px);
	box-shadow: 0 14px 30px rgba(43, 39, 31, 0.12);
}

.project-copy {
	padding: 10px 8px 10px 4px;
}

.project-tag {
	color: var(--accent-dark);
	margin-bottom: 4px;
}

.project-card h3 {
	font-family: 'Fraunces', serif;
	font-size: 1.9rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 6px;
}

.project-card ul {
	list-style: none;
	display: grid;
	gap: 10px;
}

.project-card li {
	position: relative;
	padding-left: 22px;
}

.project-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.text-link {
	font-weight: 800;
	color: var(--accent-dark);
}

.text-link:hover {
	color: var(--accent);
	transform: translateX(2px);
}

.project-note {
	font-weight: 700;
	color: var(--accent-dark);
}

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

.advanced-card {
	padding: 22px;
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	display: grid;
	gap: 12px;
}

.advanced-card h3 {
	font-family: 'Fraunces', serif;
	font-size: 1.8rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.advanced-card-wide {
	grid-column: span 2;
}

.advanced-note {
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(214, 106, 61, 0.12);
	color: var(--accent-dark);
	font-weight: 700;
}

.mobile-showcase {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.phone-shot {
	padding: 12px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(31, 37, 35, 0.1);
	display: grid;
	gap: 8px;
}

.phone-shot img {
	border-radius: 10px;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}

.phone-shot figcaption,
.postman-shots figcaption {
	color: var(--text-soft);
	font-size: 0.88rem;
}

.mock-demo {
	padding: 20px;
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(24, 34, 31, 0.96), rgba(36, 49, 45, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #f4efe8;
	display: grid;
	gap: 14px;
}

.mock-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mock-tab {
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #f4efe8;
	font-weight: 700;
	cursor: pointer;
}

.mock-tab.is-active {
	background: #f4efe8;
	color: #21352f;
	border-color: #f4efe8;
}

.mock-mode {
	font-size: 0.9rem;
	color: #dbcfbe;
}

.mock-panels {
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-panel {
	display: grid;
	gap: 12px;
}

.mock-panel p {
	color: #dcd2c3;
}

.mock-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.mock-kpi-grid article {
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	display: grid;
	gap: 4px;
}

.mock-kpi-grid span {
	color: #d4c5b0;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.mock-kpi-grid strong {
	font-size: 1.4rem;
	line-height: 1;
}

.mock-list {
	list-style: none;
	display: grid;
	gap: 8px;
}

.mock-list li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #f4efe8;
}

.mock-list span {
	color: #d4c5b0;
	font-size: 0.9rem;
}

.endpoint-list {
	list-style: none;
	display: grid;
	gap: 10px;
}

.endpoint-list li {
	display: grid;
	gap: 4px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(31, 37, 35, 0.1);
}

.endpoint-list code {
	font-size: 0.92rem;
	font-weight: 800;
	color: #17453d;
}

.endpoint-list span {
	color: var(--text-soft);
	font-size: 0.95rem;
}

.postman-shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.postman-shots figure {
	padding: 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(31, 37, 35, 0.1);
	display: grid;
	gap: 8px;
}

.postman-shots img {
	border-radius: 10px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* ── SaludConecta card ── */

.sc-card {
	grid-column: span 2;
}

.stack-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stack-badge {
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(214, 106, 61, 0.12);
	color: var(--accent-dark);
	font-size: 0.84rem;
	font-weight: 700;
	border: 1px solid rgba(214, 106, 61, 0.25);
}

.sc-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.sc-shot {
	padding: 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(31, 37, 35, 0.1);
	display: grid;
	gap: 8px;
}

.sc-shot img {
	border-radius: 8px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: rgba(31, 37, 35, 0.06);
	min-height: 80px;
}

.sc-shot figcaption {
	color: var(--text-soft);
	font-size: 0.85rem;
	line-height: 1.4;
}

.sc-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.sc-feature-group h4 {
	font-family: 'Fraunces', serif;
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.sc-feature-group ul {
	padding-left: 1.2em;
	display: grid;
	gap: 6px;
}

.sc-feature-group li {
	color: var(--text-soft);
	font-size: 0.95rem;
}

.sc-schema {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 6px;
}

.sc-schema li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(31, 37, 35, 0.08);
}

.sc-schema code {
	font-size: 0.88rem;
	font-weight: 800;
	color: #17453d;
	white-space: nowrap;
}

.sc-schema-note {
	margin-top: 10px;
	font-size: 0.88rem;
	color: var(--text-soft);
}

.sc-schema-note code {
	font-size: 0.88rem;
	font-weight: 700;
	color: #17453d;
}

/* ── / SaludConecta card ── */

.contact-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 22px;
	align-items: start;
}

#contact {
	position: relative;
	overflow: hidden;
}

#contact::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(249, 244, 238, 0.9) 0%, rgba(249, 244, 238, 0.78) 45%, rgba(249, 244, 238, 0.62) 100%),
		url('../images/fondo/FondoCafeteria.png') 64% 76% / cover no-repeat;
	opacity: 1;
	z-index: 0;
}

.contact-card-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
	padding: 18px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.76);
	min-height: 135px;
}

.contact-card a {
	word-break: break-word;
	color: var(--text);
}

.contact-card a:hover {
	color: var(--accent-dark);
}

.contact-actions {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.contact-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(31, 37, 35, 0.12);
	box-shadow: var(--shadow);
	font-weight: 800;
	color: var(--text);
}

.contact-action i {
	font-size: 1.15rem;
	color: var(--accent-dark);
}

.contact-action:hover {
	background: #fff;
	transform: translateY(-1px);
	color: var(--accent-dark);
}

.site-footer {
	padding: 28px 0 54px;
}

.footer-bar {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-top: 24px;
	border-top: 1px solid rgba(31, 37, 35, 0.08);
	color: var(--text-soft);
	font-size: 0.94rem;
}

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #183d37;
	color: #fff;
	box-shadow: 0 18px 36px rgba(24, 61, 55, 0.24);
	z-index: 15;
}

.back-to-top:hover {
	background: #215147;
	transform: translateY(-2px);
}

@media (max-width: 1100px) {
	.hero-grid,
	.section-grid,
	.contact-layout,
	.project-featured {
		grid-template-columns: 1fr;
	}

	.stack-layout,
	.project-grid,
	.advanced-grid,
	.aws-cap-grid,
	.stack-lab {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stack-lab-head {
		grid-column: span 2;
	}

	.stack-lab-orbit,
	.stack-lab-cloud,
	.stack-lab-flow,
	.stack-lab-toolbelt {
		grid-column: span 1;
	}

	.stack-track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ai-layout {
		grid-template-columns: 1fr;
	}

	.project-featured {
		grid-column: span 2;
	}

	.advanced-card-wide,
	.sc-card {
		grid-column: span 2;
	}

	.sc-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-copy h2,
	.section-heading h2 {
		max-width: 14ch;
	}
}

@media (max-width: 820px) {
	:root {
		--shell: min(100vw - 28px, 1120px);
	}

	.nav-toggle {
		display: inline-block;
	}

	.site-nav {
		position: absolute;
		top: calc(100% + 10px);
		right: 14px;
		left: 14px;
		padding: 16px;
		border-radius: 22px;
		background: rgba(255, 250, 244, 0.96);
		border: 1px solid rgba(31, 37, 35, 0.08);
		box-shadow: var(--shadow);
		flex-direction: column;
		align-items: stretch;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
	}

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

	.site-nav a {
		padding: 14px 16px;
	}

	.hero {
		padding-top: 34px;
	}

	.hero h1 {
		max-width: 11ch;
	}

	.metric-grid,
	.timeline-grid,
	.contact-card-grid,
	.contact-actions,
	.stack-layout,
	.project-grid,
	.advanced-grid,
	.aws-cap-grid,
	.stack-lab,
	.mobile-showcase,
	.postman-shots,
	.mock-kpi-grid,
	.sc-gallery,
	.sc-features {
		grid-template-columns: 1fr;
	}

	.stack-lab-head,
	.stack-lab-orbit,
	.stack-lab-cloud,
	.stack-lab-flow,
	.stack-lab-toolbelt {
		grid-column: auto;
	}

	.stack-track,
	.stack-service-grid {
		grid-template-columns: 1fr;
	}

	.ai-layout {
		grid-template-columns: 1fr;
	}

	.project-featured {
		grid-column: auto;
		padding: 18px;
	}

	.project-media img {
		min-height: 240px;
	}

	.footer-bar {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	:root {
		--header-height: 76px;
	}

	.section {
		padding: 58px 0;
	}

	.hero-copy,
	.hero-panel,
	.stack-card,
	.project-card,
	.contact-card,
	.intro-band {
		padding-left: 22px;
		padding-right: 22px;
	}

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

	.section-copy h2,
	.section-heading h2,
	.hero-panel h2 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.brand-copy small {
		display: none;
	}

	.back-to-top {
		right: 16px;
		bottom: 16px;
	}
}