@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

html {
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--border);
}

body.dnp-body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
	font: inherit;
}

.dnp-page {
	min-height: 100vh;
	background: var(--background);
}

.dnp-container {
	width: min(100%, 80rem);
	margin: 0 auto;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}

.dnp-max-5xl {
	max-width: 64rem;
}

.dnp-max-4xl {
	max-width: 56rem;
}

.dnp-max-3xl {
	max-width: 48rem;
}

.dnp-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
	background: transparent;
	border-bottom: 1px solid transparent;
}

.dnp-header.is-scrolled {
	background: rgba(var(--background-rgb), 0.95);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--border);
}

.dnp-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.dnp-logo,
.dnp-section-title,
.dnp-card-title,
.dnp-list-card-title,
.dnp-hero-title,
.dnp-expertise-title,
.dnp-timeline-title {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.dnp-logo {
	display: inline-flex;
	gap: 0.35rem;
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--foreground);
	letter-spacing: 0.04em;
}

.dnp-logo-accent,
.dnp-hero-title-accent,
.dnp-section-kicker,
.dnp-card-meta-primary,
.dnp-timeline-period,
.dnp-education-distinction {
	color: var(--primary);
}

.dnp-nav-links {
	display: none;
	align-items: center;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnp-nav-link,
.dnp-mobile-menu-link,
.dnp-hero-cta {
	transition: color 0.2s ease;
}

.dnp-nav-link {
	font-size: 0.875rem;
	color: var(--muted_foreground);
}

.dnp-nav-link:hover,
.dnp-mobile-menu-link:hover,
.dnp-hero-cta:hover {
	color: var(--primary);
}

.dnp-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.5rem;
	color: var(--foreground);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.dnp-menu-icon {
	display: inline-flex;
	width: 1.5rem;
	height: 1.5rem;
}

.dnp-menu-icon svg,
.dnp-hero-cta svg,
.dnp-contact-cta svg {
	width: 100%;
	height: 100%;
}

.dnp-menu-icon-close {
	display: none;
}

.dnp-header.is-menu-open .dnp-menu-icon-open {
	display: none;
}

.dnp-header.is-menu-open .dnp-menu-icon-close {
	display: inline-flex;
}

.dnp-mobile-menu {
	display: none;
	max-height: 0;
	overflow: hidden;
	background: rgba(var(--background-rgb), 0.98);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: max-height 0.3s ease, border-color 0.3s ease;
}

.dnp-header.is-menu-open .dnp-mobile-menu {
	display: block;
	max-height: 24rem;
	border-bottom-color: var(--border);
}

.dnp-mobile-menu-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding-top: 1rem;
	padding-bottom: 1rem;
	list-style: none;
}

.dnp-mobile-menu-link {
	font-size: 1rem;
	color: var(--muted_foreground);
}

.dnp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 0 1.5rem;
	overflow: hidden;
}

.dnp-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, var(--background), var(--background), rgba(var(--secondary-rgb), 0.2));
}

.dnp-hero-orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(72px);
}

.dnp-hero-orb-primary {
	top: 25%;
	right: 25%;
	width: 24rem;
	height: 24rem;
	background: rgba(var(--primary-rgb), 0.05);
}

.dnp-hero-orb-accent {
	bottom: 33.333%;
	left: 25%;
	width: 20rem;
	height: 20rem;
	background: rgba(var(--accent-rgb), 0.05);
}

.dnp-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	text-align: center;
}

.dnp-section-kicker {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.dnp-hero-subtitle {
	margin-bottom: 1.5rem;
	letter-spacing: 0.3em;
}

.dnp-hero-title {
	margin: 0 0 2rem;
	font-size: clamp(2.5rem, 7vw, 5rem);
	line-height: 1.1;
	color: var(--foreground);
}

.dnp-hero-description {
	max-width: 42rem;
	margin: 0 auto 3rem;
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--muted_foreground);
}

.dnp-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--muted_foreground);
}

.dnp-hero-cta svg {
	width: 1rem;
	height: 1rem;
	animation: dnp-bounce 1.8s infinite;
}

.dnp-section {
	padding: 6rem 0;
}

.dnp-section-alt {
	background: rgba(var(--secondary-rgb), 0.3);
}

.dnp-empty-section {
	display: none;
}

.dnp-section-intro {
	margin-bottom: 4rem;
	text-align: center;
}

.dnp-section-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.875rem, 5vw, 3rem);
	line-height: 1.1;
	color: var(--foreground);
}

.dnp-section-description,
.dnp-contact-description {
	max-width: 42rem;
	margin: 0 auto;
	color: var(--muted_foreground);
	line-height: 1.7;
}

.dnp-section-quote {
	max-width: 42rem;
	margin: 0 auto;
	color: rgba(var(--primary-rgb), 0.9);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.6;
}

.dnp-about-inner {
	display: grid;
	gap: 3rem;
	align-items: center;
	max-width: 64rem;
}

.dnp-about-image-frame {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--secondary);
	border-radius: 0.5rem;
}

.dnp-about-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dnp-about-title {
	margin-bottom: 1.5rem;
}

.dnp-about-copy {
	display: grid;
	gap: 1rem;
	color: var(--muted_foreground);
	line-height: 1.75;
}

.dnp-about-quote {
	color: rgba(var(--primary-rgb), 0.9);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-style: italic;
}

.dnp-card-grid,
.dnp-expertise-grid {
	display: grid;
	gap: 1rem;
}

.dnp-card,
.dnp-timeline-card,
.dnp-list-card,
.dnp-education-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.dnp-card,
.dnp-timeline-card {
	padding: 1.5rem;
}

.dnp-list-card,
.dnp-education-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 1.25rem;
}

.dnp-card:hover,
.dnp-timeline-card:hover,
.dnp-list-card:hover,
.dnp-education-card:hover {
	border-color: rgba(var(--primary-rgb), 0.4);
}

.dnp-card-title,
.dnp-list-card-title,
.dnp-expertise-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--foreground);
}

.dnp-card-meta,
.dnp-list-card-period,
.dnp-timeline-description,
.dnp-expertise-description,
.dnp-education-year {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--muted_foreground);
}

.dnp-card-meta {
	margin: 0;
}

.dnp-card-meta-primary {
	margin-bottom: 0.25rem;
}

/* Board Roles, Career y Former Board Roles: resaltar el cargo (role) en color E8C468 */
#board-roles .dnp-card-meta-primary,
#career .dnp-card-meta-primary,
#previous-non-exec .dnp-card-meta-primary {
	background-color: transparent;
	color: #E8C468;
}

/* Education: resaltar el año en color E8C468 */
#education .dnp-education-year {
	background-color: transparent;
	color: #E8C468;
}

.dnp-expertise-grid {
	gap: 2rem;
}

.dnp-expertise-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.dnp-expertise-dot {
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--primary);
}

.dnp-expertise-description {
	margin: 0;
	padding-left: 1.25rem;
}

.dnp-timeline {
	position: relative;
}

.dnp-timeline-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 2px;
	background: var(--border);
}

.dnp-timeline-item {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 3rem;
}

.dnp-timeline-item:last-child {
	margin-bottom: 0;
}

.dnp-timeline-dot {
	position: absolute;
	top: 0.35rem;
	left: 0;
	width: 0.75rem;
	height: 0.75rem;
	border: 2px solid var(--background);
	border-radius: 999px;
	background: var(--primary);
	transform: translateX(-50%);
}

.dnp-timeline-period,
.dnp-list-card-period {
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dnp-timeline-title {
	margin-top: 0.5rem;
	margin-bottom: 0.25rem;
}

.dnp-timeline-description {
	margin: 0;
}

.dnp-list-grid,
.dnp-additional-grid {
	display: grid;
	gap: 1rem;
}

.dnp-list-card-main {
	display: flex;
	flex-direction: column;
}

.dnp-education-main {
	flex: 1 1 auto;
}

.dnp-education-distinction {
	margin-left: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
}

.dnp-contact-inner {
	text-align: center;
}

.dnp-contact-cta-wrap {
	display: flex;
	justify-content: center;
}

.dnp-contact-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background: rgba(var(--secondary-rgb), 0.5);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	transition: all 0.3s ease;
	color: var(--foreground);
}

.dnp-contact-cta:hover {
	border-color: rgba(var(--primary-rgb), 0.4);
}

/* Iconos del botón: mismo tamaño (1.25rem) para alinear con el texto */
.dnp-contact-cta svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.dnp-contact-cta svg:first-child {
	color: var(--primary);
}

.dnp-contact-cta span {
	font-size: 1.125rem;
	color: var(--foreground);
}

.dnp-contact-arrow {
	color: var(--muted_foreground);
	transition: transform 0.2s ease, color 0.2s ease;
}

.dnp-contact-cta:hover .dnp-contact-arrow {
	color: var(--primary);
	transform: translate(2px, -2px);
}

.dnp-contact-footer {
	margin-top: 6rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(var(--border-rgb), 0.5);
}

.dnp-contact-footer-copy {
	margin: 0;
	text-align: center;
	font-size: 0.875rem;
	color: var(--muted_foreground);
}

.dnp-reveal {
	opacity: 0;
	transform: translateY(2rem);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--transition-delay, 0ms);
}

.dnp-reveal-delay-200 {
	--transition-delay: 200ms;
}

.dnp-reveal-delay-300 {
	--transition-delay: 300ms;
}

.dnp-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.dnp-hidden-item {
	display: none !important;
}

.dnp-animate-fade-up {
	opacity: 0;
	animation: dnp-fade-up 0.8s ease-out forwards;
}

.dnp-animate-delay-100 {
	animation-delay: 0.1s;
}

.dnp-animate-delay-200 {
	animation-delay: 0.2s;
}

.dnp-animate-delay-300 {
	animation-delay: 0.3s;
}

@keyframes dnp-fade-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes dnp-bounce {
	0%,
	20%,
	53%,
	80%,
	100% {
		transform: translateY(0);
	}

	40%,
	43% {
		transform: translateY(-6px);
	}

	70% {
		transform: translateY(-3px);
	}

	90% {
		transform: translateY(-1px);
	}
}

@media (min-width: 768px) {
	.dnp-logo {
		font-size: 1.5rem;
	}

	.dnp-nav-links {
		display: flex;
	}

	.dnp-menu-toggle,
	.dnp-mobile-menu {
		display: none !important;
	}

	.dnp-section {
		padding: 8rem 0;
	}

	.dnp-hero-description {
		font-size: 1.25rem;
	}

	.dnp-about-inner {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 4rem;
	}

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

	.dnp-timeline-line {
		left: 50%;
		transform: translateX(-1px);
	}

	.dnp-timeline-item {
		width: 50%;
		padding-left: 0;
	}

	.dnp-timeline-item[data-timeline-side="left"] {
		padding-right: 3rem;
	}

	.dnp-timeline-item[data-timeline-side="right"] {
		margin-left: auto;
		padding-left: 3rem;
	}

	.dnp-timeline-dot {
		left: 100%;
	}

	.dnp-timeline-item[data-timeline-side="right"] .dnp-timeline-dot {
		left: 0;
	}

	.dnp-list-card,
	.dnp-education-card {
		flex-direction: row;
		align-items: center;
	}

	.dnp-list-card-period {
		margin-top: 0;
	}
}
