@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/*
	Dimension by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */

	@-ms-viewport {
		width: device-width;
	}

	@media screen and (max-width: 480px) {

		html, body {
			min-width: 320px;
		}

	}

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	body {
		background: #1b1f22;
	}

		body.is-preload *, body.is-preload *:before, body.is-preload *:after {
			-moz-animation: none !important;
			-webkit-animation: none !important;
			-ms-animation: none !important;
			animation: none !important;
			-moz-transition: none !important;
			-webkit-transition: none !important;
			-ms-transition: none !important;
			transition: none !important;
		}

/* Type */

	html {
		font-size: 16pt;
	}

		@media screen and (max-width: 1680px) {

			html {
				font-size: 12pt;
			}

		}

		@media screen and (max-width: 736px) {

			html {
				font-size: 11pt;
			}

		}

		@media screen and (max-width: 360px) {

			html {
				font-size: 10pt;
			}

		}

	body, input, select, textarea {
		margin-top: 0px;
		color: rgb(255, 255, 255);
		font-family: "Source Sans Pro", sans-serif;
		font-weight: 300;
		font-size: 1rem;
		line-height: 1.65;
	}

	a {
		-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		border-bottom: dotted 1px rgba(255, 255, 255, 0.5);
		text-decoration: none;
		color: rgb(233, 215, 181);
	}

		a:hover {
			border-bottom-color: transparent;
		}

	strong, b {
		color: #ffffff;
		font-weight: 600;
	}

	em, i {
		font-style: italic;
	}

	p {
		margin: 0 0 2rem 0;
	}

	h1, h2, h3, h4, h5, h6 {
		color: #ffffff;
		font-weight: 600;
		line-height: 1.5;
		margin: 0 0 1rem 0;
		text-transform: uppercase;
		letter-spacing: 0.2rem;
	}

		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
			color: inherit;
			text-decoration: none;
		}

		h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
			width: -moz-max-content;
			width: -webkit-max-content;
			width: -ms-max-content;
			width: max-content;
			padding-bottom: 0.5rem;
			margin: 0 0 2rem 0;
		}

	h1 {
		font-size: 3.25rem;
		line-height: 1.3;
		letter-spacing: 0.5rem;
	}

	h2 {
		font-size: 2.5rem;
		line-height: 1.4;
		letter-spacing: 0.5rem;
	}

	h3 {
		font-size: 1rem;
	}

	h4 {
		font-size: 0.8rem;
	}

	h5 {
		font-size: 0.7rem;
	}

	h6 {
		font-size: 0.6rem;
	}

	@media screen and (max-width: 736px) {

		h1 {
			font-size: 1.75rem;
			line-height: 1.4;
		}

		h2 {
			font-size: 1.25em;
			line-height: 1.5;
		}

	}

	sub {
		font-size: 0.8rem;
		position: relative;
		top: 0.5rem;
	}

	sup {
		font-size: 0.8rem;
		position: relative;
		top: -0.5rem;
	}

	blockquote {
		border-left: solid 4px #ffffff;
		font-style: italic;
		margin: 0 0 2rem 0;
		padding: 0.5rem 0 0.5rem 2rem;
	}

	code {
		background: rgba(255, 255, 255, 0.075);
		border-radius: 4px;
		font-family: "Courier New", monospace;
		font-size: 0.9rem;
		margin: 0 0.25rem;
		padding: 0.25rem 0.65rem;
	}

	pre {
		-webkit-overflow-scrolling: touch;
		font-family: "Courier New", monospace;
		font-size: 0.9rem;
		margin: 0 0 2rem 0;
	}

		pre code {
			display: block;
			line-height: 1.75;
			padding: 1rem 1.5rem;
			overflow-x: auto;
		}

	hr {
		border: 0;
		border-bottom: 0px #ffffff;
		margin: 2.75rem 0;
	}

	.align-left {
		text-align: left;
	}

	.align-center {
		text-align: center;
	}

	.align-right {
		text-align: right;
	}

/* Form */

	form {
		margin: 0 0 2rem 0;
	}

		form > :last-child {
			margin-bottom: 0;
		}

		form > .fields {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			-moz-flex-wrap: wrap;
			-webkit-flex-wrap: wrap;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap;
			width: calc(100% + 3rem);
			margin: -1.5rem 0 2rem -1.5rem;
		}

			form > .fields > .field {
				-moz-flex-grow: 0;
				-webkit-flex-grow: 0;
				-ms-flex-grow: 0;
				flex-grow: 0;
				-moz-flex-shrink: 0;
				-webkit-flex-shrink: 0;
				-ms-flex-shrink: 0;
				flex-shrink: 0;
				padding: 1.5rem 0 0 1.5rem;
				width: calc(100% - 1.5rem);
			}

				form > .fields > .field.half {
					width: calc(50% - 0.75rem);
				}

				form > .fields > .field.third {
					width: calc(100%/3 - 0.5rem);
				}

				form > .fields > .field.quarter {
					width: calc(25% - 0.375rem);
				}

		@media screen and (max-width: 480px) {

			form > .fields {
				width: calc(100% + 3rem);
				margin: -1.5rem 0 2rem -1.5rem;
			}

				form > .fields > .field {
					padding: 1.5rem 0 0 1.5rem;
					width: calc(100% - 1.5rem);
				}

					form > .fields > .field.half {
						width: calc(100% - 1.5rem);
					}

					form > .fields > .field.third {
						width: calc(100% - 1.5rem);
					}

					form > .fields > .field.quarter {
						width: calc(100% - 1.5rem);
					}

		}

	label {
		color: #ffffff;
		display: block;
		font-size: 0.8rem;
		font-weight: 300;
		letter-spacing: 0.2rem;
		line-height: 1.5;
		margin: 0 0 1rem 0;
		text-transform: uppercase;
	}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="tel"],
	select,
	textarea {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
		-webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
		-ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
		transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
		background-color: transparent;
		border-radius: 4px;
		border: solid 1px #ffffff;
		color: inherit;
		display: block;
		outline: 0;
		padding: 0 1rem;
		text-decoration: none;
		width: 100%;
	}

		input[type="text"]:invalid,
		input[type="password"]:invalid,
		input[type="email"]:invalid,
		input[type="tel"]:invalid,
		select:invalid,
		textarea:invalid {
			box-shadow: none;
		}

		input[type="text"]:focus,
		input[type="password"]:focus,
		input[type="email"]:focus,
		input[type="tel"]:focus,
		select:focus,
		textarea:focus {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
			box-shadow: 0 0 0 1px #ffffff;
		}

	select {
		background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23ffffff' /%3E%3C/svg%3E");
		background-size: 1.25rem;
		background-repeat: no-repeat;
		background-position: calc(100% - 1rem) center;
		height: 2.75rem;
		padding-right: 2.75rem;
		text-overflow: ellipsis;
	}

		select option {
			color: #ffffff;
			background: #1b1f22;
		}

		select:focus::-ms-value {
			background-color: transparent;
		}

		select::-ms-expand {
			display: none;
		}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select {
		height: 2.75rem;
	}

	textarea {
		padding: 0.75rem 1rem;
	}

	input[type="checkbox"],
	input[type="radio"] {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		display: block;
		float: left;
		margin-right: -2rem;
		opacity: 0;
		width: 1rem;
		z-index: -1;
	}

		input[type="checkbox"] + label,
		input[type="radio"] + label {
			text-decoration: none;
			-moz-user-select: none;
			-webkit-user-select: none;
			-ms-user-select: none;
			user-select: none;
			color: #ffffff;
			cursor: pointer;
			display: inline-block;
			font-size: 0.8rem;
			font-weight: 300;
			margin: 0 0 0.5rem 0;
			padding-left: 2.65rem;
			padding-right: 0.75rem;
			position: relative;
		}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			input[type="checkbox"] + label:before,
			input[type="radio"] + label:before {
				-moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
				-webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
				-ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
				transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
				border-radius: 4px;
				border: solid 1px #ffffff;
				content: '';
				display: inline-block;
				height: 1.65rem;
				left: 0;
				line-height: 1.65rem;
				position: absolute;
				text-align: center;
				top: -0.15rem;
				width: 1.65rem;
			}

		input[type="checkbox"]:checked + label:before,
		input[type="radio"]:checked + label:before {
			background: #ffffff !important;
			border-color: #ffffff !important;
			color: #1b1f22;
			content: '\f00c';
		}

		input[type="checkbox"]:focus + label:before,
		input[type="radio"]:focus + label:before {
			background: rgba(255, 255, 255, 0.075);
			border-color: #ffffff;
			box-shadow: 0 0 0 1px #ffffff;
		}

	input[type="checkbox"] + label:before {
		border-radius: 4px;
	}

	input[type="radio"] + label:before {
		border-radius: 100%;
	}

	::-webkit-input-placeholder {
		color: rgba(255, 255, 255, 0.5) !important;
		opacity: 1.0;
	}

	:-moz-placeholder {
		color: rgba(255, 255, 255, 0.5) !important;
		opacity: 1.0;
	}

	::-moz-placeholder {
		color: rgba(255, 255, 255, 0.5) !important;
		opacity: 1.0;
	}

	:-ms-input-placeholder {
		color: rgba(255, 255, 255, 0.5) !important;
		opacity: 1.0;
	}

	.formerize-placeholder {
		color: rgba(255, 255, 255, 0.5) !important;
		opacity: 1.0;
	}

/* Box */

	.box {
		border-radius: 4px;
		border: solid 1px #ffffff;
		margin-bottom: 2rem;
		padding: 1.5em;
	}

		.box > :last-child,
		.box > :last-child > :last-child,
		.box > :last-child > :last-child > :last-child {
			margin-bottom: 0;
		}

		.box.alt {
			border: 0;
			border-radius: 0;
			padding: 0;
		}

/* Icon */

	.icon {
		text-decoration: none;
		border-bottom: none;
		position: relative;
	}

		.icon:before {
			-moz-osx-font-smoothing: grayscale;
			-webkit-font-smoothing: antialiased;
			display: inline-block;
			font-style: normal;
			font-variant: normal;
			text-rendering: auto;
			line-height: 1;
			text-transform: none !important;
			font-family: 'Font Awesome 5 Free';
			font-weight: 400;
		}

		.icon > .label {
			display: none;
		}

		.icon:before {
			line-height: inherit;
		}

		.icon.solid:before {
			font-weight: 900;
		}

		.icon.brands:before {
			font-family: 'Font Awesome 5 Brands';
		}

/* Image */

	.image {
		border-radius: 4px;
		border: 0;
		display: inline-block;
		position: relative;
	}

		.image:before {
			pointer-events: none;
			background-image: url("../../images/overlay.png");
			background-color: rgba(19, 21, 25, 0.5);
			border-radius: 4px;
			content: '';
			display: block;
			height: 100%;
			left: 0;
			opacity: 0.5;
			position: absolute;
			top: 0rem;
			width: 100%;
		}

		.image img {
			border-radius: 4px;
			display: block;
			max-width: 100%;
			height: auto;
		}

		.image.left, .image.right {
			max-width: 40%;
		}

			.image.left img, .image.right img {
				width: 100%;
			}

		.image.left {
			float: left;
			padding: 0 1.5em 1em 0;
			top: 0.25em;
		}

		.image.right {
			float: right;
			padding: 0 0 1em 1.5em;
			top: 0.25em;
		}

		.image.fit {
			display: block;
			margin: 0 0 2rem 0;
			width: 100%;
		}

			.image.fit img {
				width: 100%;
			}

		.image.main {
			margin: 0;
			width: 100%;
		}
/* =========================================================
   ACERCA DE MÍ – Ajustes finales
========================================================= */

#intro p {
	font-size: 1.2rem;
	line-height: 1.7;
	text-align: justify;
	text-justify: inter-word;
}

/* Layout texto + imagen */
#intro .text-image-row {
	display: flex;
	gap: 3rem;
	align-items: stretch;
	max-width: 100%;
	overflow: hidden;
}

#intro .text-image-row .text {
	flex: 1;
}

#intro .text-image-row .image.main {
	flex: 0 0 42%;
	margin: 0;
	max-width: 42%;
	width: 100%;
	display: flex;
	align-items: stretch;
}

/* 🔑 FIX SAFARI / iPAD */
#intro .text-image-row .text,
#intro .text-image-row .image.main {
	min-width: 0;
}

@media screen and (max-width: 1024px) {

    #intro .text-image-row {
        flex-wrap: wrap;
    }

    #intro .text-image-row .image.main {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #intro .text-image-row .image.main img {
        max-width: 100%;
        height: auto;
    }
}

/* ABOUT – Imagen con tamaño fijo y seguro */
.about-photo {
  width: 100%;
  max-width: 360px;      /* controla el tamaño visual */
  aspect-ratio: 3 / 4;   /* proporción elegante tipo retrato */
  overflow: hidden;
  border-radius: 8px;
}

/* La imagen se adapta SIEMPRE */
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* recorta sin deformar */
  display: block;
}
@media (max-width: 768px) {

    /* quitar altura fantasma */
    .about-photo {
        aspect-ratio: auto !important;
        max-width: 220px;
        margin-bottom: 12px;
    }

    .about-photo img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* reducir espacio del contenedor padre */
    .text-image-row {
        margin-bottom: 16px !important;
        padding-bottom: 0 !important;
    }
}



/* Texto + imagen (dos columnas) */
.text-image-row {
	display: flex;
	align-items: flex-start;
	gap: 3rem;
}

.text-image-row .text {
	flex: 1;
}

.text-image-row .image.main {
	flex: 1;
	margin: 0;
}

/* Texto a ancho completo */
#intro .full-width-text {
	margin-top: 3rem;
	border-top: 1px solid rgba(255,255,255,0.15);
	padding-top: 2rem;
}
@media screen and (max-width: 736px) {
	#intro .text-image-row {
		flex-direction: column;
	}

	#intro .text-image-row .image.main {
		max-width: 100%;
	}
}


/* Ajuste tipografía solo para esta sección */


@media screen and (max-width: 736px) {
	#intro .text p {
		font-size: 1.1rem;
	}}



		@media screen and (max-width: 736px) {

			.image.main {
				margin: 2rem 0;
			}

		}

		@media screen and (max-width: 480px) {

			.image.main {
				margin: 1.5rem 0;
			}

		}
		#intro .image:before {
	inset: 0;
}

/* =========================================================
    SERVICIOS
========================================================= */

.hcm-block {
	margin-bottom: 3rem;
}

#servicios h3 {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 1.4rem;
	letter-spacing: 0.25rem;
}

#servicios p {
	text-align: justify;
	text-justify: inter-word;
}

/* Tipografía Experiencia = Acerca de mí */
#servicios p {
	font-size: 1.2rem;
	line-height: 1.7;
	text-align: justify;
	text-justify: inter-word;
}

@media screen and (max-width: 736px) {
	#servicios p {
		font-size: 1.1rem;
		text-align: left;
	}
}

/* Badges países */
.hcm-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.hcm-badges span {
	font-size: 0.65rem;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 999px;
	opacity: 0.85;
}




/* List */

	ol {
		list-style: decimal;
		margin: 0 0 2rem 0;
		padding-left: 1.25em;
	}

		ol li {
			padding-left: 0.25em;
		}

	ul {
		list-style: disc;
		margin: 0 0 2rem 0;
		padding-left: 1em;
	}

		ul li {
			padding-left: 0.5em;
		}

		ul.alt {
			list-style: none;
			padding-left: 0;
		}

			ul.alt li {
				border-top: solid 1px #ffffff;
				padding: 0.5em 0;
			}

				ul.alt li:first-child {
					border-top: 0;
					padding-top: 0;
				}

	dl {
		margin: 0 0 2rem 0;
	}

		dl dt {
			display: block;
			font-weight: 600;
			margin: 0 0 1rem 0;
		}

		dl dd {
			margin-left: 2rem;
		}

/* Actions */

	ul.actions {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		cursor: default;
		list-style: none;
		margin-left: -1rem;
		padding-left: 0;
	}

		ul.actions li {
			padding: 0 0 0 1rem;
			vertical-align: middle;
		}

		ul.actions.special {
			-moz-justify-content: center;
			-webkit-justify-content: center;
			-ms-justify-content: center;
			justify-content: center;
			width: 100%;
			margin-left: 0;
		}

			ul.actions.special li:first-child {
				padding-left: 0;
			}

		ul.actions.stacked {
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
			margin-left: 0;
		}

			ul.actions.stacked li {
				padding: 1.3rem 0 0 0;
			}

				ul.actions.stacked li:first-child {
					padding-top: 0;
				}

		ul.actions.fit {
			width: calc(100% + 1rem);
		}

			ul.actions.fit li {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
				-moz-flex-shrink: 1;
				-webkit-flex-shrink: 1;
				-ms-flex-shrink: 1;
				flex-shrink: 1;
				width: 100%;
			}

				ul.actions.fit li > * {
					width: 100%;
				}

			ul.actions.fit.stacked {
				width: 100%;
			}

		@media screen and (max-width: 480px) {

			ul.actions:not(.fixed) {
				-moz-flex-direction: column;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				margin-left: 0;
				width: 100% !important;
			}

				ul.actions:not(.fixed) li {
					-moz-flex-grow: 1;
					-webkit-flex-grow: 1;
					-ms-flex-grow: 1;
					flex-grow: 1;
					-moz-flex-shrink: 1;
					-webkit-flex-shrink: 1;
					-ms-flex-shrink: 1;
					flex-shrink: 1;
					padding: 1rem 0 0 0;
					text-align: center;
					width: 100%;
				}

					ul.actions:not(.fixed) li > * {
						width: 100%;
					}

					ul.actions:not(.fixed) li:first-child {
						padding-top: 0;
					}

					ul.actions:not(.fixed) li input[type="submit"],
					ul.actions:not(.fixed) li input[type="reset"],
					ul.actions:not(.fixed) li input[type="button"],
					ul.actions:not(.fixed) li button,
					ul.actions:not(.fixed) li .button {
						width: 100%;
					}

						ul.actions:not(.fixed) li input[type="submit"].icon:before,
						ul.actions:not(.fixed) li input[type="reset"].icon:before,
						ul.actions:not(.fixed) li input[type="button"].icon:before,
						ul.actions:not(.fixed) li button.icon:before,
						ul.actions:not(.fixed) li .button.icon:before {
							margin-left: -0.5em;
						}

		}

/* Icons */

	ul.icons {
		cursor: default;
		list-style: none;
		padding-left: 0;
	}

		ul.icons li {
			display: inline-block;
			padding: 0 0.75em 0 0;
		}

			ul.icons li:last-child {
				padding-right: 0;
			}

			ul.icons li a {
				border-radius: 100%;
				box-shadow: inset 0 0 0 1px #ffffff;
				display: inline-block;
				height: 2.25rem;
				line-height: 2.25rem;
				text-align: center;
				width: 2.25rem;
			}

				ul.icons li a:hover {
					background-color: rgba(255, 255, 255, 0.075);
				}

				ul.icons li a:active {
					background-color: rgba(255, 255, 255, 0.175);
				}

/* Table */

	.table-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
	}

	table {
		margin: 0 0 2rem 0;
		width: 100%;
	}

		table tbody tr {
			border: solid 1px #ffffff;
			border-left: 0;
			border-right: 0;
		}

			table tbody tr:nth-child(2n + 1) {
				background-color: rgba(255, 255, 255, 0.075);
			}

		table td {
			padding: 0.75em 0.75em;
		}

		table th {
			color: #ffffff;
			font-size: 0.9em;
			font-weight: 600;
			padding: 0 0.75em 0.75em 0.75em;
			text-align: left;
		}

		table thead {
			border-bottom: solid 2px #ffffff;
		}

		table tfoot {
			border-top: solid 2px #ffffff;
		}

		table.alt {
			border-collapse: separate;
		}

			table.alt tbody tr td {
				border: solid 1px #ffffff;
				border-left-width: 0;
				border-top-width: 0;
			}

				table.alt tbody tr td:first-child {
					border-left-width: 1px;
				}

			table.alt tbody tr:first-child td {
				border-top-width: 1px;
			}

			table.alt thead {
				border-bottom: 0;
			}

			table.alt tfoot {
				border-top: 0;
			}

/* Button */

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		background-color: transparent;
		border-radius: 4px;
		border: 0;
		box-shadow: inset 0 0 0 1px #ffffff;
		color: #ffffff !important;
		cursor: pointer;
		display: inline-block;
		font-size: 0.8rem;
		font-weight: 300;
		height: 2.75rem;
		letter-spacing: 0.2rem;
		line-height: 2.75rem;
		outline: 0;
		padding: 0 1.25rem 0 1.35rem;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}

		input[type="submit"]:hover,
		input[type="reset"]:hover,
		input[type="button"]:hover,
		button:hover,
		.button:hover {
			background-color: rgba(255, 255, 255, 0.075);
		}

		input[type="submit"]:active,
		input[type="reset"]:active,
		input[type="button"]:active,
		button:active,
		.button:active {
			background-color: rgba(255, 255, 255, 0.175);
		}

		input[type="submit"].icon:before,
		input[type="reset"].icon:before,
		input[type="button"].icon:before,
		button.icon:before,
		.button.icon:before {
			margin-right: 0.5em;
		}

		input[type="submit"].fit,
		input[type="reset"].fit,
		input[type="button"].fit,
		button.fit,
		.button.fit {
			width: 100%;
		}

		input[type="submit"].small,
		input[type="reset"].small,
		input[type="button"].small,
		button.small,
		.button.small {
			font-size: 0.6rem;
			height: 2.0625rem;
			line-height: 2.0625rem;
		}

		input[type="submit"].primary,
		input[type="reset"].primary,
		input[type="button"].primary,
		button.primary,
		.button.primary {
			background-color: #ffffff;
			color: #1b1f22 !important;
			font-weight: 600;
		}

		input[type="submit"].disabled, input[type="submit"]:disabled,
		input[type="reset"].disabled,
		input[type="reset"]:disabled,
		input[type="button"].disabled,
		input[type="button"]:disabled,
		button.disabled,
		button:disabled,
		.button.disabled,
		.button:disabled {
			pointer-events: none;
			cursor: default;
			opacity: 0.25;
		}

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button {
		line-height: calc(2.75rem - 2px);
	}

/* BG */

	#bg {
		-moz-transform: scale(1.0);
		-webkit-transform: scale(1.0);
		-ms-transform: scale(1.0);
		transform: scale(1.0);
		backface-visibility: hidden;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		z-index: 1;
	}

		#bg:before, #bg:after {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
		}

			#bg:before {
				transition: background-color 1.5s ease-in-out;
				transition-delay: 0.75s;

				background-image: linear-gradient(
					to top,
					rgba(0, 0, 0, 0.45),
					rgba(0, 0, 0, 0.45)
				);

				background-repeat: no-repeat;
				background-size: cover;
				background-position: center;

				z-index: 2;
			}



			#bg:after {
				transform: scale(1.05);
				filter: blur(6px);

				transition:
					transform 1s ease,
					filter 1s ease;

				background-image: url("../../images/web/fondo-tecnologia.jpg");
				background-position: center;
				background-size: cover;
				background-repeat: no-repeat;

				z-index: 1;
			}



			body.is-preload #bg:after {
				transform: scale(1.12);
				filter: blur(8px);
}


			body.is-article-visible #bg:after {
				transform: scale(1.0825);
				filter: blur(0.2rem);
			}


		body.is-preload #bg:before {
			background-color: #000000;
		}

/* Wrapper */

	#wrapper {

		display: flex;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-justify-content: space-between;
		-webkit-justify-content: space-between;
		-ms-justify-content: space-between;
		justify-content: flex-start;
		position: relative;
		min-height: 100vh;
		width: 100%;
		padding: 6.5rem 2rem;
		z-index: 3;
	}

		#wrapper:before {
			content: '';
			display: block;
		}

		@media screen and (max-width: 1680px) {

			#wrapper {
				padding: 3rem 2rem;
			}

		}

		@media screen and (max-width: 736px) {

			#wrapper {
				padding: 2rem 1rem;
			}

		}

		@media screen and (max-width: 480px) {

			#wrapper {
				padding: 1rem;
			}

		}

/* Header */

	#header {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: -ms-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		max-width: 100%;
		text-align: center;
	}

		#header > * {
			-moz-transition: opacity 0.325s ease-in-out;
			-webkit-transition: opacity 0.325s ease-in-out;
			-ms-transition: opacity 0.325s ease-in-out;
			transition: opacity 0.325s ease-in-out;
			position: relative;
			margin-top: 3.5rem;
		}

			#header > *:before {
				content: '';
				display: block;
				position: absolute;
				top: calc(-3.5rem - 1px);
				left: calc(50% - 1px);
				width: 1px;
				height: calc(3.5rem + 1px);
				background: none;
			}

		#header > :first-child {
			margin-top: 0;
		}

			#header > :first-child:before {
				display: none;
			}

		#header .logo {
			width: 5.5rem;
			height: 5.5rem;
			line-height: 5.5rem;
			border: 0px #ffffff;
			border-radius: 100%;
		}

			#header .logo .icon:before {
				font-size: 2rem;
			}

		#header .content {
			border-style: none;
			border-color: none;
			border-top-width: 1px;
			border-bottom-width: 1px;
			max-width: 100%;
		}

			#header .content .inner {
				-moz-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
				-webkit-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
				-ms-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
				transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
				-moz-transition-delay: 0.25s;
				-webkit-transition-delay: 0.25s;
				-ms-transition-delay: 0.25s;
				transition-delay: 0.25s;
				padding: 1rem 2rem;
				max-height: 40rem;
				overflow: hidden;
			}

				#header .content .inner > :last-child {
					margin-bottom: 0;
				}

			#header .content p {
				text-transform: uppercase;
				letter-spacing: 0.2rem;
				font-size: 1rem;
				line-height: 2;

			}
			/* SUBTÍTULO TECNOLOGÍA EN BEIGE */
			#header .content p.subtitle-beige {
				color: #bca36c;
			}


		#header nav ul {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
			margin-bottom: 0;
			list-style: none;
			padding-left: 0;
			border: 0px;
			border-radius: 4px;
		}

			#header nav ul li {
				padding-left: 0;
				border-left: 0px;
			}

				#header nav ul li:first-child {
					border-left: 0;
				}

				#header nav ul li a {
					display: block;
					min-width: 7.5rem;
					height: 2.75rem;
					line-height: 2.75rem;
					padding: 0 1.25rem 0 1.45rem;
					text-transform: uppercase;
					letter-spacing: 0.2rem;
					font-size: 1.8rem;
					border-bottom: 0;
					display:inline-block;
					transform:scale(1);
					transition:transform .30s ease, opacity .30s ease;
				}

					#header nav ul li a:hover { /* aqui edito el estilo al pasar el mouse*/
						transform:scale(1.18) translateY(-3px);
   						opacity:1;
				}


					#header nav ul li a:active {
						background-color: rgba(184, 34, 34, 0.175);
					}

		#header nav.use-middle:after {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: calc(50% - 1px);
			width: 1px;
			height: 100%;
			background: none;
		}

		#header nav.use-middle ul li.is-middle {
			border-left: 0;
		}

		body.is-article-visible #header {
			-moz-transform: scale(0.95);
			-webkit-transform: scale(0.95);
			-ms-transform: scale(0.95);
			transform: scale(0.95);
			-moz-filter: blur(0.1rem);
			-webkit-filter: blur(0.1rem);
			-ms-filter: blur(0.1rem);
			filter: blur(0.1rem);
			opacity: 0;
		}

		body.is-preload #header {
			-moz-filter: blur(0.125rem);
			-webkit-filter: blur(0.125rem);
			-ms-filter: blur(0.125rem);
			filter: blur(0.125rem);
		}

			body.is-preload #header > * {
				opacity: 0;
			}

			body.is-preload #header .content .inner {
				max-height: 0;
				padding-top: 0;
				padding-bottom: 0;
				opacity: 0;
			}

		@media screen and (max-width: 980px) {

			#header .content p br {
				display: none;
			}

		}

		@media screen and (max-width: 736px) {

			#header > * {
				margin-top: 2rem;
			}

				#header > *:before {
					top: calc(-2rem - 1px);
					height: calc(2rem + 1px);
				}

			#header .logo {
				width: 4.75rem;
				height: 4.75rem;
				line-height: 4.75rem;
			}

				#header .logo .icon:before {
					font-size: 1.75rem;
				}

			#header .content .inner {
				padding: 2.5rem 1rem;
			}

			#header .content p {
				line-height: 1.875;
			}

		}

		@media screen and (max-width: 480px) {

			#header {
				padding: 1.5rem 0;
			}

				#header .content .inner {
					padding: 2.5rem 0;
				}

				#header nav ul {
					-moz-flex-direction: column;
					-webkit-flex-direction: column;
					-ms-flex-direction: column;
					flex-direction: column;
					min-width: 10rem;
					max-width: 100%;
				}

					#header nav ul li {
						border-left: 0;
						border-top: 0px #ffffff;
					}

						#header nav ul li:first-child {
							border-top: 0;
						}

						#header nav ul li a {
							height: 3rem;
							line-height: 3rem;
							min-width: 0;
							width: 100%;
						}

				#header nav.use-middle:after {
					display: none;
				}

		}

/* Main */

	#main {
		-moz-flex-grow: 1;
		-webkit-flex-grow: 1;
		-ms-flex-grow: 1;
		flex-grow: 1;
		-moz-flex-shrink: 1;
		-webkit-flex-shrink: 1;
		-ms-flex-shrink: 1;
		flex-shrink: 1;
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		position: relative;
		max-width: 100%;
		z-index: 3;
	}

		#main article {
			-moz-transform: translateY(0.25rem);
			-webkit-transform: translateY(0.25rem);
			-ms-transform: translateY(0.25rem);
			transform: translateY(0.25rem);
			-moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
			-webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
			-ms-transition: opacity 0.325s ease-in-out, -ms-transform 0.325s ease-in-out;
			transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
			padding: 4.5rem 2.5rem 1.5rem 2.5rem ;
			position: relative;
			width: 50rem;
			max-width: 100%;
			background-color: rgba(27, 31, 34, 0.85);
			border-radius: 4px;
			opacity: 0;
		}
		

			#main article.active {
				-moz-transform: translateY(0);
				-webkit-transform: translateY(0);
				-ms-transform: translateY(0);
				transform: translateY(0);
				opacity: 1;
			}

			#main article .close {
				display: block;
				position: absolute;
				top: 0;
				right: 0;
				width: 4rem;
				height: 4rem;
				cursor: pointer;
				text-indent: 4rem;
				overflow: hidden;
				white-space: nowrap;
			}

				#main article .close:before {
					-moz-transition: background-color 0.2s ease-in-out;
					-webkit-transition: background-color 0.2s ease-in-out;
					-ms-transition: background-color 0.2s ease-in-out;
					transition: background-color 0.2s ease-in-out;
					content: '';
					display: block;
					position: absolute;
					top: 0.75rem;
					left: 0.75rem;
					width: 2.5rem;
					height: 2.5rem;
					border-radius: 100%;
					background-position: center;
					background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
					background-size: 20px 20px;
					background-repeat: no-repeat;
				}

				#main article .close:hover:before {
					background-color: rgba(255, 255, 255, 0.075);
				}

				#main article .close:active:before {
					background-color: rgba(255, 255, 255, 0.175);
				}

		@media screen and (max-width: 736px) {

			#main article {
				padding: 3.5rem 2rem 0.5rem 2rem ;
			}

				#main article .close:before {
					top: 0.875rem;
					left: 0.875rem;
					width: 2.25rem;
					height: 2.25rem;
					background-size: 14px 14px;
				}

		}

		@media screen and (max-width: 480px) {

			#main article {
				padding: 3rem 1.5rem 0.5rem 1.5rem ;
			}

		}

/* Footer */

	#footer {
		-moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		width: 100%;
		max-width: 100%;
		margin-top: auto;
		text-align: center;
	}

		#footer .copyright {
			letter-spacing: 0.2rem;
			font-size: 0.6rem;
			opacity: 0.75;
			margin-bottom: 0;
			text-transform: uppercase;
		}

		body.is-article-visible #footer {
			-moz-transform: scale(0.95);
			-webkit-transform: scale(0.95);
			-ms-transform: scale(0.95);
			transform: scale(0.95);
			-moz-filter: blur(0.1rem);
			-webkit-filter: blur(0.1rem);
			-ms-filter: blur(0.1rem);
			filter: blur(0.1rem);
			opacity: 0;
		}

		body.is-preload #footer {
			opacity: 0;
		}

/* =========================================================
   BOTÓN HOME (SVG)
========================================================= */

.home-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  z-index: 9999;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-btn img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* =========================================================
   ESPECIALIDADES HCM
========================================================= */

.hcm-specialties {
    background: #e7e7e7ab;
    padding: 40px 40px 70px;
    margin: 0 -40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: center;
}


.hcm-card h3 {
    margin-top: 40x;
    margin-bottom: 14px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #111;
  

}

.hcm-card p {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    max-width: 420px;
    margin: 0 auto;
    text-align: justify;
}

/* IMAGEN CIRCULAR */
.hcm-image {
    width: 220px;
    height: 120px;
    margin: 0 auto;
    margin-bottom: 32px;
    border-radius: 0;          /* IMPORTANTE */
    overflow: visible;         /* IMPORTANTE */
    background: transparent;   /* IMPORTANTE */

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: none;          /* QUITAMOS SOMBRA */
}


.hcm-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hcm-specialties {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* =========================================================
   HCM – Ajuste imagen dentro del contenedor
========================================================= */

#about .image.main {
	width: 100%;
	max-width: 100%;
	margin: 0 0 2.5rem 0;
	overflow: hidden;
}

#about .image.main img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}
/* =========================================================
   HCM – Tipografía igual a Acerca de mí
========================================================= */

#about p {
	font-size: 1.2rem;
	line-height: 1.7;
	text-align: justify;
	text-justify: inter-word;
}

/* =========================================================
   BOTÓN HCM – Leer más
========================================================= */

.hcm-btn {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 0.6rem 1.6rem;

	font-size: 0.75rem;
	letter-spacing: 0.2rem;
	text-transform: uppercase;

	color: #000000;
	text-decoration: none;

	border-radius: 999px; /* ÓVALO */
	border: 1px solid rgba(255, 255, 255, 0.4);

	background: rgba(255, 255, 255, 0.05);

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); /* SOMBRA TENUE */

	transition:
		background-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease,
		opacity 0.25s ease;
}

/* Hover */
.hcm-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	transform: translateY(-2px);
	opacity: 1;
	border-bottom: none; /* evita subrayado heredado */
}
/* =========================================================
   CONTACTO – Tipografía y layout
========================================================= */

#contact p,
#contact label {
	font-size: 1.2rem;
	line-height: 1.7;
}

#contact input,
#contact textarea {
	font-size: 1rem;
	line-height: 1.5;
}

#contact textarea {
	resize: vertical;
	min-height: 120px;
}

@media screen and (max-width: 736px) {
	#contact p,
	#contact label {
		font-size: 1.1rem;
	}
}

#contact form {
	margin-top: 2rem;
}

#contact .fields {
	margin-bottom: 1.5rem;
}

#contact input,
#contact textarea {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.6);
}

#contact input:focus,
#contact textarea:focus {
	background: rgba(255,255,255,0.08);
	box-shadow: 0 0 0 1px #ffffff;
}
#contact .actions {
	margin-top: 2rem;
}

#contact .actions input {
	border-radius: 999px;
	padding: 0 2rem;
}
.contact-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* LINKEDIN = MISMO ESTILO QUE LOS BOTONES DEL THEME */
.contact-actions .btn-linkedin {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 2.75rem;
  line-height: calc(2.75rem - 2px);
  padding: 0 1.35rem 0 1.35rem;

  border-radius: 999px;
  border: 0;
  box-shadow: inset 0 0 0 1px #ffffff;

  background-color: transparent;
  color: #ffffff !important;

  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  white-space: nowrap;

  text-decoration: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out,
    transform 0.2s ease-in-out;
}

/* Hover igual a Enviar / Borrar */
.contact-actions .btn-linkedin:hover {
  background-color: rgba(255, 255, 255, 0.075);
}

/* Active igual al resto */
.contact-actions .btn-linkedin:active {
  background-color: rgba(255, 255, 255, 0.175);
}
/* Separación elegante icono LinkedIn */
.contact-actions .btn-linkedin i {
  margin-right: 0.75em;
}
/* ABOUT – Botón LinkedIn debajo del texto */
.about-linkedin {
  margin-top: 2.5rem;
  text-align: left; /* mantiene coherencia con el texto */
}

/* En móvil lo centramos */
@media screen and (max-width: 736px) {
  .about-linkedin {
    text-align: center;
  }
}
/* Forzar que btn-linkedin NO herede estilo de enlace */
/* BOTÓN LINKEDIN – ESTILO FINAL UNIFICADO */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.6rem;

  border-radius: 999px;
  border: none;
  box-shadow: inset 0 0 0 1px #ffffff;

  background-color: transparent;
  color: #ffffff !important;

  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  white-space: nowrap;

  text-decoration: none;
  border-bottom: none !important;
  cursor: pointer;

  transition:
    background-color 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out,
    opacity 0.25s ease-in-out;
}

.btn-linkedin:hover {
  background-color: rgba(255, 255, 255, 0.075);
}
.btn-linkedin:active {
  background-color: rgba(255, 255, 255, 0.175);
}
.btn-linkedin i {
  margin-right: 0.75em;
}


/* =========================================================
   CONTACTO – Botón primario en blanco
========================================================= */

#contact input[type="submit"].primary {
	background-color: transparent;
	color: #ffffff !important;
	box-shadow: inset 0 0 0 1px #ffffff;
}
/* CONTACTO – Hover elegante unificado */
#contact .actions input[type="submit"],
#contact .actions input[type="reset"],
.contact-actions .btn-linkedin {
  transition: background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

/* Hover */
#contact .actions input[type="submit"]:hover,
#contact .actions input[type="reset"]:hover,
.contact-actions .btn-linkedin:hover {
  background-color: rgba(255, 255, 255, 0.075);
}

/* Active */
#contact .actions input[type="submit"]:active,
#contact .actions input[type="reset"]:active,
.contact-actions .btn-linkedin:active {
  background-color: rgba(255, 255, 255, 0.175);
}


/* ===== APPLE STYLE CAROUSEL ===== */

.apple-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem 0;
  cursor: grab;

    background: #e7e7e7ab;
    padding: 40px 40px 70px;
    margin: 0 -40px 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: center;
}



.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding-left: 1rem;
  scroll-snap-type: x mandatory;
}

.apple-card {
  position: relative;
  flex: 0 0 320px;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: #000;
  transition: transform 0.4s ease;
}

.apple-card:hover {
  transform: scale(1.04);
}

.apple-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2),
    transparent
  );
  color: white;
}

.card-overlay span {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
}

.card-overlay h3 {
  font-size: 1.4rem;
  margin: 0.3rem 0 0;
}

/* Scrollbar clean */
.apple-carousel::-webkit-scrollbar {
  display: none;
}
.apple-carousel {
  scrollbar-width: none;
}
/* ===== APPLE MODAL ===== */

.apple-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.apple-modal.active {
  display: flex;
}

.apple-modal-content {
  background: #111;
  color: white;
  padding: 3rem;
  border-radius: 32px;
  max-width: 720px;
  width: 90%;
  position: relative;
  animation: modalFade 0.4s ease;
}

.apple-modal-content span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.apple-modal-content h2 {
  margin: 0.5rem 0 1.5rem;
  font-size: 2rem;
}

.apple-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ABOUT – FOTO PERFIL (CONTROL TOTAL) */
.about-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 10%;
  display: block;
}
/* LINKS MENU TECNOLOGIA */
.tech-link {
    position: relative;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* línea animada */
.tech-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* hover */
.tech-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.tech-link:hover::after {
    width: 100%;
}

/* BOTÓN HAMBURGUESA (oculto en escritorio; en móvil se muestra más abajo) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.mobile-menu-btn:focus {
    outline: none;
}
.mobile-menu-overlay {
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}


.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: currentColor;
    margin: 6px 0;
}


/* MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 25px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1200;
}

/* MENU ABIERTO */
.mobile-menu.open {
    transform: translateX(0);
}

  .mobile-menu button:hover {
    background: rgba(255,255,255,0.08);
  }
/* LINKS */
.mobile-menu a {
    display: block;
    color: rgb(179, 178, 178);
    text-decoration: none;
    font-size: 1.3rem;
    margin-bottom: 25px;
    border: none;
}
/* CONTACTO DESTACADO EN MENU MOBILE */
.menu-contact {
    font-weight: 700;
    margin-top: 35px;
	color: #ffffff;
	height: 2px;
}

/* OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3); /* oscurece un poco */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    z-index: 1100;
}

/* SOLO MOBILE */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .home-btn {
        display: none;
    }
}
@media (max-width: 768px) {

    p,
    li,
    a {
        font-size: 14px;
        line-height: 1.45;
    }

    h1 {
        font-size: 1.6rem;
    } a

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {

    /* Reduce espacio debajo de imágenes */
    img {
        margin-bottom: 12px !important;
    }

    /* Reduce espacio superior del texto siguiente */
    p,
    h2,
    h3 {
        margin-top: 8px !important;
    }
}
@media (max-width: 768px) {

    /* CONTENEDORES DE IMAGEN (CLAVE) */
    .image,
    .image.main,
    .spotlight,
    .spotlight .content,
    section {
        margin-bottom: 12px !important;
        padding-bottom: 0 !important;
    }

    /* TEXTO DESPUÉS DE IMAGEN */
    section p,
    section h2,
    section h3 {
        margin-top: 8px !important;
    }

    /* HEADER DE SECCION */
    header.major {
        margin-bottom: 16px !important;
    }
}

@media (max-width: 768px) {
    .apple-carousel,
    h3.major {
        display: none !important;
    }
}
/* ================================
   FIX DEFINITIVO HAMBURGUESA MOBILE
================================ */

@media (max-width: 768px) {

  .mobile-menu-btn {
    all: unset;                /* 🔑 rompe herencia del theme */
    position: fixed;
    top: 20px;
    right: 20px;

    z-index: 20000;             /* 🔑 por encima de header, bg y blur */
    cursor: pointer;

    display: flex;
    flex-direction: column;
    gap: 1px;
  }

@media (max-width: 768px) {
  .mobile-menu-btn span {
    width: 26px;
    height: 0.5px;        /* más fina */
    background: #ffffff;
    border-radius: 2px;   /* elegante */
	opacity: 0.85;
  }
}

}
@media (max-width: 768px) {
  .mobile-menu .menu-tech {
    display: none;
  }
}
@media (max-width: 768px) {

  #main article .close {
    left: auto;
    right: 0.75rem;
    top: 2.50rem;
    z-index: 1300;
  }

}
#main article .close:before {
  backdrop-filter: blur(4px);
}



  /* BOTONES */
  .mobile-menu button {
    all: unset;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 18px;

    text-align: center;
    border:none;

    font-size: 1.10rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff;

    cursor: pointer;
    transition: background 0.25s ease;
  }
    /* CONTACTO */
  .mobile-menu .menu-contact {
    margin-top: 28px;
    border: none;
    font-weight: 700;
    letter-spacing: 0.32em;
    position: relative;
  }

  .mobile-menu .menu-contact::before {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin: 0 auto 16px;
  }
/* =========================================
   TECNOLOGÍA – FORZAR BOTÓN HOME SIEMPRE VISIBLE
========================================= */

.home-btn {
  display: flex !important;
  opacity: 0.9;
  pointer-events: auto;
  z-index: 10002; /* más alto que menú y overlay */
}

@media (min-width: 769px) {
  .home-btn {
    display: flex !important;
  }
}
/* =========================================
   HOME BUTTON – BANDA DIFUMINADA FULL WIDTH (MOBILE)
========================================= */
@media (max-width: 768px) {

  .home-btn {
    position: fixed;
    top: 30px;        /* 👈 usa el MISMO valor que ya tienes */
    left: 30px;
    z-index: 10001;
  }

  .home-btn::before {
    content: "";
    position: fixed;

    left: 0px;
    right: 280px;

    /* Altura de la banda */
    height: 64px;

    /* Posición: alineada con el botón */
    top: 22px;        /* 👈 ajusta fino si hace falta */

    background: rgba(103, 103, 103, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    z-index: -1;
  }

}
@media (max-width: 768px) {

  .mobile-menu .menu-divider {
    width: 60%;
    height: 1px;
    background: rgba(255,255,255,0.55);

    margin: 28px auto;   /* 👈 separación clara arriba y abajo */
    display: block;

    flex-shrink: 0;      /* 🔑 evita que flex lo colapse */
  }

}
/* ===========================
   CONTACTO – MENSAJE GRACIAS
=========================== */

.thank-you {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;

  z-index: 99999;
}

.thank-you.active {
  opacity: 1;
  pointer-events: auto;
}

.thank-you-box {
  background: rgba(40, 40, 40, 0.85);
  padding: 40px 48px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  max-width: 660px;

  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.thank-you-box h2 {
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.thank-you-box p {
  opacity: 0.85;
  margin: 0;
}
@media (max-width: 768px) {

  .hcm-specialties {
    margin: 0 -16px 48px;      /* 👈 mucho más seguro en mobile */
    padding: 28px 20px 44px;   /* 👈 aire lateral + aire inferior */
    gap: 36px;
  }

}
@media (max-width: 768px) {

  .hcm-btn {
    margin-top: 24px;
    margin-bottom: 8px;   /* 👈 evita que quede pegado */
  }

}
@media (max-width: 768px) {

  #wrapper {
    padding-top: 5rem;
  }

}

/*===== header ======*/

/* DESKTOP */
.language-switcher{
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 9999;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;

  display:flex;
  gap:8px;
  align-items:center;
}

/* MOBILE */
@media(max-width:768px){
  .language-switcher{
    top:auto;
    right:auto;
    left:50%;
    bottom:90px;
    transform:translateX(-50%);
  }
}
.language-switcher a{
  border-bottom: none !important;
}
/* MOBILE – posición normal (home) */
@media(max-width:768px){
  body.home .language-switcher{
    top:auto;
    bottom:90px;
    left:50%;
    transform:translateX(-50%);
  }
}

/* MOBILE – cuando se abre una sección (BIO, etc.) */
@media(max-width:768px){
  body.is-article-visible .language-switcher{
    top:18px;
    bottom:auto;
    left:50%;
    transform:translateX(-50%);
  }
}




/* =========================================================
   NOMBRE – GABRIEL LEÓN
   Misma letra, espaciado y entrada difuminada que el nombre
   en las páginas de Inicio, Música y Doblaje.
========================================================= */

#header .content p.tech-name {
  font-family: sans-serif;
  font-weight: 200;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.17em;
  margin: 0 -0.17em 1.6rem 0; /* compensa el espacio tras la última letra para centrar */
  text-transform: uppercase;
  color: #ffffff;

  opacity: 0;
  filter: blur(18px);
  transform: scale(1.04);
  animation: techNameReveal 3.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Línea fina beige entre el nombre y el título */
#header .content p.tech-name::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 1.4rem auto 0;
  background: #bca36c;
}

@keyframes techNameReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header .content p.tech-name {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* MOBILE – selector de idioma arriba, centrado entre inicio y menú
   (antes quedaba encima del menú de secciones) */
@media (max-width: 768px) {
  .language-switcher,
  body.home .language-switcher,
  body.is-article-visible .language-switcher {
    top: 34px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* =========================================================
   PORTADA CENTRADA VERTICALMENTE EN ESCRITORIO
   (el espacio libre se reparte arriba y abajo del bloque)
========================================================= */
@media (min-width: 769px) {
  body.home #wrapper > #header {
    margin-top: auto;
  }
}

/* Escritorio: los espacios y el video se ajustan al alto de la pantalla,
   para que la portada siempre quepa completa sin desplazarse */
@media (min-width: 769px) {
  body.home #wrapper {
    padding-top: clamp(10px, 2.5vh, 48px);
    padding-bottom: clamp(10px, 2.5vh, 48px);
  }

  body.home #header .content .inner {
    padding-top: clamp(4px, 1vh, 16px);
    padding-bottom: clamp(4px, 1vh, 16px);
  }

  #header .content p.tech-name {
    font-size: clamp(1.6rem, min(3.2vw, 5.2vh), 3rem);
    margin-bottom: clamp(6px, 1.8vh, 1.6rem);
  }

  #header .content p.tech-name::after {
    margin-top: clamp(6px, 1.8vh, 1.4rem);
  }

  body.home #header h1 {
    margin-bottom: clamp(4px, 1.5vh, 16px);
  }

  body.home #header .content p.subtitle-beige {
    margin-bottom: clamp(8px, 2.5vh, 32px);
  }

  /* El video se achica en pantallas bajas (proporción 16:9, máximo 420 px de ancho) */
  body.home .yt-preview {
    margin-top: clamp(4px, 1.5vh, 32px);
    max-width: min(420px, max(240px, (100vh - 430px) * 1.78));
  }

  body.home #header nav {
    margin-top: clamp(10px, 3vh, 3.5rem);
  }
}
