:root {
	--bg: #0b0d11;
	--panel: #121621;
	--text: #e8ecf1;
	--muted: #9aa4b2;
	--primary: #4f7cff;
	--primary-600: #3d63cc;
	--accent: #00d3a7;
	--danger: #ff6b6b;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: radial-gradient(1200px 800px at 10% -10%, #1a2030, transparent) no-repeat, var(--bg);
	line-height: 1.5;
}

.container {
	max-width: 1060px;
	padding: 0 20px;
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(8px);
	background: color-mix(in oklab, var(--bg), transparent 65%);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	position: relative;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #0b0d11;
	font-weight: 800;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 100;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
	display: flex;
	align-items: center;
}

.nav a {
	color: var(--muted);
	text-decoration: none;
	margin-left: 18px;
	font-weight: 600;
	transition: color 0.2s;
}

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

.hero {
	padding: 72px 0 32px;
	background:
		radial-gradient(600px 600px at 85% 10%, rgba(79,124,255,0.18), transparent 60%),
		radial-gradient(600px 600px at 10% 10%, rgba(0,211,167,0.16), transparent 60%);
}

@media (max-width: 768px) {
	.hero {
		padding: 48px 0 24px;
	}
}

.hero-inner {
	padding: 36px 0 16px;
}

.hero h1 {
	font-size: clamp(28px, 3vw + 18px, 44px);
	line-height: 1.1;
	margin: 0 0 14px;
}

.hero p {
	margin: 0 0 20px;
	color: var(--muted);
	max-width: 720px;
}

.hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.hero-cta {
		flex-direction: column;
	}
	
	.hero-cta .btn {
		width: 100%;
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: none;
	min-height: 44px;
	touch-action: manipulation;
}

.btn.primary {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #0b0d11;
}

.btn.primary:hover {
	filter: brightness(0.95);
}

.btn.ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.16);
	color: var(--text);
}

.section {
	padding: 48px 0;
}

@media (max-width: 768px) {
	.section {
		padding: 32px 0;
	}
}

.section.alt {
	background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
	border-top: 1px solid rgba(255,255,255,0.06);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.card {
	background: var(--panel);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 14px;
	padding: 18px;
}

.card h3 {
	margin-top: 0;
}

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

#cd-form label {
	display: grid;
	gap: 8px;
	font-weight: 600;
	color: var(--muted);
}

#cd-form label.full {
	grid-column: 1 / -1;
}

input, textarea {
	width: 100%;
	padding: 12px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.12);
	background: #0f131c;
	color: var(--text);
	outline: none;
}

input[type="file"] {
	padding: 10px;
	cursor: pointer;
	font-size: 14px;
}

input[type="file"]::file-selector-button {
	padding: 8px 16px;
	margin-right: 12px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.16);
	background: var(--panel);
	color: var(--text);
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s;
}

input[type="file"]::file-selector-button:hover {
	background: rgba(255,255,255,0.08);
	border-color: var(--primary);
}

input:focus, textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79,124,255,0.2);
}

.form-actions {
	margin-top: 14px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.form-actions {
		flex-direction: column;
	}
	
	.form-actions .btn {
		width: 100%;
	}
	
	.form-actions .helper {
		font-size: 13px;
	}
}

.helper {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.price-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--panel);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 18px;
	margin-bottom: 12px;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.price-line {
		flex-direction: column;
		align-items: flex-start;
		font-size: 16px;
	}
	
	.price-line strong {
		font-size: 20px;
	}
}

.site-footer {
	padding: 28px 0;
	border-top: 1px solid rgba(255,255,255,0.06);
	color: var(--muted);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.faq details {
	background: var(--panel);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	padding: 10px 12px;
}

.faq details + details {
	margin-top: 10px;
}

/* Tablet y móvil */
@media (max-width: 860px) {
	.grid-3 {
		grid-template-columns: 1fr;
	}
	#cd-form .form-grid {
		grid-template-columns: 1fr;
	}
}

/* Móvil - Navegación hamburguesa */
@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}
	
	.nav {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--panel);
		border-bottom: 1px solid rgba(255,255,255,0.06);
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
		gap: 0;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		backdrop-filter: blur(8px);
		box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	}
	
	.nav.active {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	
	.nav a {
		margin-left: 0;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,0.06);
		display: block;
	}
	
	.nav a:last-child {
		border-bottom: none;
	}
	
	.brand-name {
		font-size: 14px;
	}
	
	.container {
		padding: 0 16px;
	}
}

/* Móvil pequeño */
@media (max-width: 480px) {
	.hero h1 {
		font-size: 24px;
	}
	
	.hero p {
		font-size: 15px;
	}
	
	.brand-name {
		font-size: 13px;
	}
	
	.brand-mark {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
	
	.card {
		padding: 16px;
	}
	
	.card h3 {
		font-size: 18px;
	}
	
	input, textarea {
		font-size: 16px;
		padding: 14px 12px;
	}
	
	#cd-form h2,
	.section h2 {
		font-size: 24px;
	}
	
	.footer-inner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
}




