/* ======================================================================
   estilo-index.css
   VESOT — hoja de estilos del sitio reconstruido
   ====================================================================== */

/* ---------- 1. Reset básico ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

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

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

ul {
	list-style: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

/* ---------- 2. Variables ---------- */
:root {
	--color-bg:        #0b0d12;
	--color-bg-alt:    #12151d;
	--color-surface:   #181c26;
	--color-border:    #262b38;

	--color-text:        #f3f4f7;
	--color-text-muted:  #a7adbd;

	--color-primary:   #8b5cf6;
	--color-primary-2: #c084fc;
	--color-accent:    #f97316;

	--gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);

	--font-heading: 'Poppins', sans-serif;
	--font-body:    'Inter', sans-serif;

	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;

	--shadow-soft: 0 20px 45px -20px rgba(0, 0, 0, 0.55);
	--container-w: 1180px;

	--header-h: 84px;
}

/* ---------- 3. Base ---------- */
body {
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--font-heading);
	line-height: 1.2;
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 24px;
}

section {
	padding: 110px 0;
	position: relative;
}

.section-title {
	font-size: clamp(1.9rem, 3.2vw, 2.6rem);
	margin-bottom: 28px;
}

.section-label {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	text-align: center;
	margin-bottom: 48px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 36px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary {
	background: var(--gradient-brand);
	color: #0b0d12;
	box-shadow: 0 14px 30px -10px rgba(139, 92, 246, 0.55);
}

.btn-primary:hover {
	transform: translateY(-3px);
	filter: brightness(1.08);
	box-shadow: 0 20px 38px -10px rgba(249, 115, 22, 0.5);
}

/* ---------- 4. Header / nav ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	height: var(--header-h);
	z-index: 100;
	display: flex;
	align-items: center;
	background: rgba(11, 13, 18, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
	background: rgba(11, 13, 18, 0.85);
	border-bottom-color: var(--color-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand-logo {
	height: 34px;
	width: auto;
}

.main-nav .nav-list {
	display: flex;
	gap: 40px;
}

.nav-link {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--color-text-muted);
	position: relative;
	transition: color 0.2s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 2px;
	background: var(--gradient-brand);
	transition: width 0.25s ease;
}

.nav-link:hover {
	color: var(--color-text);
}

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

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 32px;
	height: 24px;
	z-index: 110;
}

.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--color-text);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- 5. Hero ---------- */
.hero {
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding-top: var(--header-h);
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 700px;
	background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.35), transparent 60%),
	            radial-gradient(circle at 75% 40%, rgba(249, 115, 22, 0.25), transparent 55%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}

.hero-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}

.hero-logo {
	height: 56px;
	width: auto;
	margin-bottom: 10px;
}

.hero-title {
	font-size: clamp(2.3rem, 5.4vw, 4.2rem);
	max-width: 880px;
	background: linear-gradient(135deg, #ffffff 35%, var(--color-primary-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-subtitle {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: var(--color-text-muted);
	max-width: 560px;
}

/* ---------- 6. Partners ---------- */
.partners {
	background: var(--color-bg-alt);
}

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

.partner-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 42px 24px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-card img {
	height: 72px;
	width: auto;
	object-fit: contain;
}

.partner-name {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text-muted);
	text-align: center;
}

.partner-card:hover {
	transform: translateY(-6px);
	border-color: var(--color-primary);
	box-shadow: var(--shadow-soft);
}

/* ---------- 7. About ---------- */
.about-inner {
	max-width: 860px;
}

.about-inner p {
	color: var(--color-text-muted);
	margin-bottom: 22px;
	font-size: 1.05rem;
}

.about-inner p:last-child {
	margin-bottom: 0;
}

/* ---------- 8. Reach ---------- */
.reach {
	background: var(--color-bg-alt);
}

.reach-inner {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
	align-items: center;
}

.reach-map {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px;
}

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

.country-list li {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 600;
	padding: 16px 22px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	position: relative;
	padding-left: 34px;
}

.country-list li::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	translate: 0 -50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gradient-brand);
}

/* ---------- 9. Contact ---------- */
.contact-inner {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 60px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.contact-email {
	display: inline-block;
	margin-top: 8px;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--color-primary-2);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
	color: var(--color-accent);
	border-color: currentColor;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 40px;
}

.hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
	width: 100%;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 0.98rem;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.cf-turnstile {
	margin-top: 4px;
}

.contact-form .btn {
	align-self: flex-start;
	margin-top: 6px;
}

.form-alert {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 0.92rem;
	font-weight: 500;
}

.form-alert-ok {
	background: rgba(34, 197, 94, 0.12);
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.35);
}

.form-alert-error {
	background: rgba(239, 68, 68, 0.12);
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.35);
}

/* ---------- 10. Footer ---------- */
.site-footer {
	border-top: 1px solid var(--color-border);
	padding: 36px 0;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	font-size: 0.88rem;
	color: var(--color-text-muted);
}

/* ---------- 11. Reveal-on-scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- 12. Responsive ---------- */
@media (max-width: 900px) {
	.reach-inner,
	.contact-inner {
		grid-template-columns: 1fr;
	}

	.reach-map {
		order: 2;
	}
}

@media (max-width: 760px) {
	section {
		padding: 80px 0;
	}

	.partners-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin-inline: auto;
	}

	.country-list {
		grid-template-columns: 1fr;
	}

	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(78vw, 320px);
		height: 100vh;
		background: var(--color-bg-alt);
		border-left: 1px solid var(--color-border);
		padding: 110px 32px 40px;
		transform: translateX(100%);
		transition: transform 0.35s ease;
		z-index: 105;
	}

	.main-nav.is-open {
		transform: translateX(0);
	}

	.nav-list {
		flex-direction: column;
		gap: 26px;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-toggle.is-active span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-toggle.is-active span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.is-active span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.contact-form {
		padding: 28px;
	}
}
