:root {
	--bg-color: #0a0a0a;
	--text-color: #f4f4f4;
	--accent: #3b82f6;
	/* Azul Tech */
	--gray: #888;
}

body {
	margin: 0;
	font-family: "Inter", sans-serif;
	background: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

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

/* HEADER */
header {
	padding: 40px 0;
	text-align: center;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 2.5rem;
	letter-spacing: -1px;
	line-height: 1;
}

.logo .imago {
	width: 100px;
}

.logo .title {
	margin-bottom: 6px;
}

.logo .title span {
	font-weight: 800;
}

/* VENTA */
.logo .title span.light {
	font-weight: 200;
	opacity: 0.9;
}

/* VISUAL */
.logo .subtitle {
	color: var(--gray);
	font-size: 1.1rem;
	/* text-align: end; */
}

/* HERO SECTION */
.hero {
	text-align: center;
	padding: 60px 20px;
}

h1 {
	font-size: 3rem;
	line-height: 1.1;
	margin-bottom: 20px;
	background: linear-gradient(to right, #fff, #888);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.cta-button {
	display: inline-block;
	background: var(--accent);
	color: white;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	margin-top: 30px;
	transition: transform 0.2s;
	width: 200px;
	align-self: center;
}

.cta-button:hover {
	transform: scale(1.05);
}

/* DEMO SECTION */
.demo {
	margin: 50px 0;
	text-align: center;
	padding: 0 20px;
}

/* SERVICES SECTION */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.card {
	background: #111;
	padding: 30px;
	border-radius: 8px;
	border: 1px solid #222;
	display: flex;
	flex-direction: column;
}

.card h3 {
	margin-top: 0;
	margin-bottom: 6px;
}

.price {
	color: var(--accent);
	font-weight: bold;
	font-size: 1.2rem;
	margin-top: auto;
}

/* FOOTER */
footer {
	text-align: center;
	padding: 40px;
	color: #444;
	font-size: 0.9rem;
	border-top: 1px solid #111;
	margin-top: 50px;
}

/* --- NUEVO SLIDER (CSS CLIP-PATH) --- */
/* Este sistema es más estable para fotos de alta resolución */
.c-compare {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	/* AQUÍ ESTÁ LA MAGIA: Mantiene tu proporción 1920x1270 */
	aspect-ratio: 1920 / 1270;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.c-compare img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	display: block;
}

/* La imagen del DESPUÉS (Derecha) se recorta */
.c-compare__right {
	clip-path: polygon(var(--value) 0, 100% 0, 100% 100%, var(--value) 100%);
}

/* El input invisible que controla todo */
.c-compare__range {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	z-index: 20;
}

/* La barra blanca vertical */
.c-compare__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--value);
	width: 2px;
	background: white;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 10;
}

/* El botón circular del medio */
.c-compare__handle::after {
	content: "< >";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	background: white;
	color: black;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 12px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
	h1 {
		font-size: 2rem;
	}
}

/* media form mobile */
@media (max-width: 400px) {
	.logo {
		flex-direction: column;
	}
}

/* --- FORMULARIO DE CONTACTO (MODO OSCURO) --- */
.contact-section {
    padding: 60px 0px;
    background: transparent; 
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    /* Fondo tarjeta igual que el resto */
    background: #111; 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray); /* Gris claro */
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 15px;
    /* Fondo oscuro para los inputs */
    background-color: #0a0a0a; 
    border: 1px solid #333;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent); /* Se ilumina azul al escribir */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

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

/* Botón de enviar adaptado */
.btn-submit {
    width: 100%;
    background-color: var(--accent);
    color: white;
    padding: 15px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #2563eb; /* Un azul un poco más oscuro al pasar mouse */
    transform: scale(1.02);
}