/**
 * EM Labs — Hero layout (producción)
 * No requiere cambiar opciones de Elementor.
 * Página: /lab/ (ID 2313)
 */

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

/* ══════════════════════════════════════════════════════════
   1. FILA HERO ELEMENTOR — Grid fijo (anula space-between)
   Contenedor: el que tiene texto + mascota lado a lado
   ══════════════════════════════════════════════════════════ */

.elementor.elementor-2313 .elementor-element.elementor-element-a5a12bc.e-con {
	display: grid !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
	align-items: center !important;
	justify-content: unset !important;
	column-gap: clamp(2rem, 4vw, 3.5rem) !important;
	row-gap: 2rem !important;
	width: min(100%, 1200px) !important;
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 5vw, 4rem) !important;
	box-sizing: border-box !important;
	--display: grid !important;
	--justify-content: start !important;
	--gap: clamp(2rem, 4vw, 3.5rem) !important;
	--column-gap: clamp(2rem, 4vw, 3.5rem) !important;
	min-height: auto !important;
}

/* Columnas internas: ocupan su celda del grid */
.elementor.elementor-2313 .elementor-element-8db8462,
.elementor.elementor-2313 .elementor-element-8331b54,
.elementor.elementor-2313 .elementor-element-5d67f30 {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex: unset !important;
}

.elementor.elementor-2313 .elementor-element-a718d8f,
.elementor.elementor-2313 .elementor-element-6c5d9ed {
	width: 100% !important;
	max-width: 100% !important;
	--container-widget-width: 100% !important;
}

.elementor.elementor-2313 .elementor-widget-html .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}


/* ══════════════════════════════════════════════════════════
   2. BLOQUE HTML HERO
   ══════════════════════════════════════════════════════════ */

.hero-custom {
	position: relative;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hero-custom::before {
	content: "";
	position: absolute;
	width: min(720px, 90vw);
	height: min(720px, 90vw);
	left: -12rem;
	top: -8rem;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.26) 0%, rgba(37, 99, 235, 0.08) 45%, transparent 72%);
	filter: blur(72px);
	z-index: 0;
	pointer-events: none;
}

.hero-left {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 34rem;
	min-width: 0;
}

.hero-mini {
	margin: 0 0 1rem;
	color: #7d8597;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Título: bloque compacto (referencia danila) */
.hero-title {
	margin: 0 0 1.35rem;
	padding: 0;
	font-size: inherit;
	line-height: 1;
}

.hero-title .line {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1.05;
	letter-spacing: -0.03em;
	white-space: normal;
}

.hero-title .line + .line {
	margin-top: 0.12em;
}

/* Oculta span vacío del HTML viejo */
.hero-title .line .blue:empty {
	display: none !important;
}

.hero-title .white,
.hero-title .line.white,
.hero-title .line.line-sans.white {
	color: #f5f3eb;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(2.35rem, 4.5vw, 4.25rem);
	font-weight: 800;
	line-height: 1.05;
}

.hero-title .blue,
.hero-title .line.blue,
.hero-title .line.line-sans.blue {
	color: #3b82f6;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(2.35rem, 4.5vw, 4.25rem);
	font-weight: 800;
	line-height: 1.05;
}

.hero-title .gold,
.hero-title .italic,
.hero-title .line .gold.italic,
.hero-title .line.line-serif {
	color: #d4ccb0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.15rem, 4.1vw, 3.875rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.02;
}

.hero-desc {
	max-width: 30rem;
	margin: 0 0 1.75rem;
	color: #9ca3af;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(0.975rem, 1.2vw, 1.0625rem);
	line-height: 1.65;
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem 1rem;
}

.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.6rem;
	border-radius: 14px;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
	background: #2563eb;
	color: #fff;
}

.btn-primary:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-2px);
}

.btn-secondary {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #f5f3eb;
}

.btn-secondary:hover {
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
}


/* ══════════════════════════════════════════════════════════
   3. MASCOTA (widget Olyve / Elementor)
   ══════════════════════════════════════════════════════════ */

.elementor.elementor-2313 .elementor-element-6c5d9ed .dtr-about__img {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
}

.elementor.elementor-2313 .elementor-element-6c5d9ed .dtr-about__img > img {
	display: block;
	width: 100% !important;
	max-width: 360px !important;
	height: auto !important;
	margin: 0 auto;
	transform: none !important;
	object-fit: contain;
	filter: drop-shadow(0 20px 56px rgba(0, 0, 0, 0.45));
}


/* ══════════════════════════════════════════════════════════
   4. HEADER (opcional, mismo archivo)
   ══════════════════════════════════════════════════════════ */

.dtr-header-global {
	background: rgba(10, 10, 12, 0.85) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.dtr-header-global .container,
.dtr-header-global-content {
	max-width: 1200px !important;
}

.dtr-header-btn {
	border-radius: 14px !important;
}


/* ══════════════════════════════════════════════════════════
   5. MÓVIL
   ══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
	.elementor.elementor-2313 .elementor-element.elementor-element-a5a12bc.e-con {
		grid-template-columns: 1fr !important;
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

	.hero-left {
		max-width: 100%;
		text-align: center;
		margin: 0 auto;
	}

	.hero-desc {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-buttons {
		justify-content: center;
	}

	.hero-title .white,
	.hero-title .blue,
	.hero-title .line.white,
	.hero-title .line.blue {
		font-size: clamp(1.9rem, 8.5vw, 2.75rem);
	}

	.hero-title .gold,
	.hero-title .italic,
	.hero-title .line .gold.italic {
		font-size: clamp(1.75rem, 7.5vw, 2.5rem);
	}
}

@media (max-width: 560px) {
	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.btn-primary,
	.btn-secondary {
		width: 100%;
		box-sizing: border-box;
	}
}
