/* ==========================================================================
   Landing Instruvalve (page-landing.php)
   ========================================================================== */

.ivl-landing {
	--ivl-navy: #0b2a5b;
	--ivl-blue: #0a4bb0;
	--ivl-blue-bright: #1a73e8;
	--ivl-text: #1f2a3c;
	--ivl-muted: #6b7686;
	--ivl-border: #dfe4ec;
	--ivl-container: 1320px;
	--ivl-gutter: 40px;
	--ivl-form-width: 560px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ivl-text);
}

body.ivl-landing-body {
	margin: 0;
	background: #eef2f7;
}

.ivl-landing *,
.ivl-landing *::before,
.ivl-landing *::after {
	box-sizing: border-box;
}

/* ---------- Hero ---------- */

.ivl-hero {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
}

/* ---------- Slider (fondo) ---------- */

.ivl-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ivl-slide {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #cfe0f3 0%, #8fb2dc 100%) center / cover no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 1s ease;
}

.ivl-slide[style] {
	background-color: #cfe0f3;
	background-position: center;
	background-size: cover;
}

.ivl-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 35%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 45%);
}

.ivl-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.ivl-slide-content {
	position: absolute;
	top: 200px;
	left: max(var(--ivl-gutter), calc((100% - var(--ivl-container)) / 2 + var(--ivl-gutter)));
	width: min(640px, calc(100% - var(--ivl-form-width) - var(--ivl-gutter) * 3));
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .8s ease .3s, transform .8s ease .3s;
}

.ivl-slide.is-active .ivl-slide-content {
	opacity: 1;
	transform: none;
}

.ivl-landing .ivl-slide-title {
	margin: 0 0 24px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(36px, 4.4vw, 64px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--ivl-navy);
}

.ivl-slide-title span {
	display: block;
}

.ivl-landing .ivl-slide-title .ivl-accent {
	color: var(--ivl-blue-bright);
}

.ivl-slide-text {
	max-width: 420px;
	margin: 0;
	font-size: clamp(17px, 1.4vw, 21px);
	line-height: 1.5;
	color: var(--ivl-text);
}

.ivl-dots {
	position: absolute;
	bottom: 32px;
	left: max(var(--ivl-gutter), calc((100% - var(--ivl-container)) / 2 + var(--ivl-gutter)));
	z-index: 3;
	display: flex;
	gap: 10px;
}

.ivl-landing .ivl-dot {
	width: 12px;
	height: 12px;
	min-height: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
	cursor: pointer;
	transition: background .3s, width .3s;
}

.ivl-landing .ivl-dot.is-active {
	width: 30px;
	border-radius: 6px;
	background: #fff;
}

/* ---------- Capa de contenido (logo + formulario) ---------- */

.ivl-hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr var(--ivl-form-width);
	gap: var(--ivl-gutter);
	align-items: start;
	max-width: var(--ivl-container);
	min-height: 100vh;
	margin: 0 auto;
	padding: 40px var(--ivl-gutter);
	pointer-events: none;
}

.ivl-hero-inner > * {
	pointer-events: auto;
}

.ivl-brand {
	padding-top: 6px;
}

.ivl-logo {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
}

.ivl-logo img {
	display: block;
	width: auto;
	max-width: 320px;
	max-height: 70px;
}

.ivl-logo-name {
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ivl-navy);
}

.ivl-logo-tagline {
	margin-top: 4px;
	font-size: 14px;
	color: var(--ivl-blue);
}

/* ---------- Tarjeta de formulario ---------- */

.ivl-form-card {
	padding: 40px 34px 30px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(11, 42, 91, .18);
}

.ivl-form-head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 30px;
}

.ivl-form-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	fill: none;
	stroke: var(--ivl-blue);
	stroke-width: 1.5;
}

.ivl-landing .ivl-form-title {
	margin: 4px 0 8px;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ivl-navy);
}

.ivl-form-subtitle {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ivl-text);
}

.ivl-form {
	margin: 0;
}

.ivl-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 22px;
}

.ivl-field {
	margin-bottom: 18px;
}

.ivl-landing .ivl-field label {
	display: block;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ivl-text);
}

.ivl-landing .ivl-form input[type="text"],
.ivl-landing .ivl-form input[type="email"],
.ivl-landing .ivl-form input[type="tel"],
.ivl-landing .ivl-form select,
.ivl-landing .ivl-form textarea {
	display: block;
	width: 100%;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--ivl-border);
	border-radius: 6px;
	background-color: #fff;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ivl-text);
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}

.ivl-landing .ivl-form textarea {
	height: auto;
	min-height: 84px;
	padding: 12px 16px;
	resize: vertical;
}

.ivl-landing .ivl-form select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a3c' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ivl-landing .ivl-form select:invalid {
	color: var(--ivl-muted);
}

.ivl-landing .ivl-form ::placeholder {
	color: var(--ivl-muted);
	opacity: 1;
}

.ivl-landing .ivl-form input:focus,
.ivl-landing .ivl-form select:focus,
.ivl-landing .ivl-form textarea:focus {
	border-color: var(--ivl-blue-bright);
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 115, 232, .15);
}

.ivl-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 6px 0 22px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	cursor: pointer;
}

.ivl-landing .ivl-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--ivl-blue);
}

.ivl-landing .ivl-submit {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 6px;
	background: var(--ivl-blue);
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	transition: background .2s, transform .2s;
}

.ivl-landing .ivl-submit:hover,
.ivl-landing .ivl-submit:focus-visible {
	background: var(--ivl-navy);
	color: #fff;
}

.ivl-landing .ivl-submit:active {
	transform: translateY(1px);
}

.ivl-landing .ivl-submit.is-sending {
	opacity: .7;
	pointer-events: none;
}

.ivl-submit svg,
.ivl-secure svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.ivl-submit svg {
	width: 24px;
	height: 24px;
}

.ivl-secure {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin: 22px 0 0;
	font-size: 15px;
	color: var(--ivl-navy);
}

.ivl-secure svg {
	width: 18px;
	height: 18px;
}

.ivl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ivl-alert {
	margin-bottom: 22px;
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
}

.ivl-alert-success {
	border: 1px solid #b7e1c4;
	background: #ecf8f0;
	color: #17643a;
}

.ivl-alert-error {
	border: 1px solid #f1c2c2;
	background: #fdf0f0;
	color: #9b1c1c;
}

/* ---------- WhatsApp ---------- */

.ivl-whatsapp {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transition: transform .2s;
}

.ivl-whatsapp:hover {
	transform: scale(1.08);
}

.ivl-whatsapp svg {
	width: 34px;
	height: 34px;
	fill: #fff;
}

/* ---------- Secciones bajo el hero ---------- */

.ivl-container {
	max-width: var(--ivl-container);
	margin: 0 auto;
	padding: 0 var(--ivl-gutter);
}

.ivl-icon {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ivl-landing .ivl-eyebrow {
	margin: 0 0 8px;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
	color: var(--ivl-blue);
}

.ivl-landing .ivl-section-title {
	margin: 0 0 32px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	color: #0f1b2d;
}

.ivl-landing .ivl-btn-outline {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 48px;
	border: 1.5px solid #9fb6d9;
	border-radius: 4px;
	background: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--ivl-blue);
	transition: background .2s, border-color .2s, color .2s;
}

.ivl-landing button.ivl-btn-outline {
	width: 100%;
	line-height: 1.3;
	cursor: pointer;
}

.ivl-btn-outline .ivl-icon {
	position: absolute;
	right: 18px;
	width: 20px;
	height: 20px;
	transition: transform .2s;
}

.ivl-landing .ivl-btn-outline:hover,
.ivl-landing .ivl-btn-outline:focus-visible {
	border-color: var(--ivl-blue);
	background: var(--ivl-blue);
	color: #fff;
}

.ivl-btn-outline:hover .ivl-icon {
	transform: translateX(3px);
}

/* Productos */

.ivl-products {
	padding: 56px 0 24px;
	background: #f4f6fa;
}

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

.ivl-product {
	display: flex;
	flex-direction: column;
	padding: 24px 24px 22px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(11, 42, 91, .07);
	transition: box-shadow .25s, transform .25s;
}

.ivl-product:hover {
	box-shadow: 0 14px 36px rgba(11, 42, 91, .14);
	transform: translateY(-3px);
}

.ivl-product-body {
	display: grid;
	flex: 1;
	grid-template-columns: 1fr 42%;
	gap: 12px;
	align-items: start;
	margin-bottom: 22px;
}

.ivl-badge {
	display: inline-block;
	margin-bottom: 18px;
	padding: 5px 10px;
	border-radius: 3px;
	background: #e02424;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #fff;
}

.ivl-landing .ivl-product-brand {
	margin: 18px 0 14px;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	color: #0f1b2d;
}

.ivl-landing .ivl-product-title {
	margin: 0 0 16px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ivl-blue);
}

.ivl-product-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #3d4757;
}

.ivl-product-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 200px;
}

.ivl-product-media img {
	display: block;
	max-width: 100%;
	max-height: 250px;
	object-fit: contain;
}

.ivl-products-all {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.ivl-landing .ivl-btn-wide {
	width: 100%;
	max-width: 404px;
	border-color: var(--ivl-blue);
}

/* Industrias (carrusel) */

.ivl-cases {
	padding: 24px 0 0;
	background: #f4f6fa;
}

.ivl-cases-box {
	padding: 14px 0 28px;
	border-radius: 16px 16px 0 0;
	background: #eceff4;
}

.ivl-cases-box .ivl-section-title {
	margin-bottom: 20px;
}

.ivl-carousel {
	position: relative;
	padding: 0 32px;
}

.ivl-carousel-track {
	--ivl-cards: 3;
	display: grid;
	grid-auto-columns: calc((100% - (var(--ivl-cards) - 1) * 20px) / var(--ivl-cards));
	grid-auto-flow: column;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ivl-carousel-track::-webkit-scrollbar {
	display: none;
}

.ivl-case {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 256px;
	overflow: hidden;
	border-radius: 8px;
	background: linear-gradient(135deg, #3c5a85 0%, #0b2a5b 100%) center / cover no-repeat;
	scroll-snap-align: start;
}

.ivl-case[style] {
	background-color: #0b2a5b;
	background-position: center;
	background-size: cover;
}

.ivl-case::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 22, 52, 0) 30%, rgba(6, 22, 52, .92) 85%);
}

.ivl-case-content {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 18px 16px 22px 12px;
	color: #fff;
}

.ivl-case-icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #0a4bb0;
	color: #fff;
}

.ivl-case-icon .ivl-icon {
	width: 34px;
	height: 34px;
	stroke-width: 1.4;
}

.ivl-landing .ivl-case-title {
	margin: 0 0 6px;
	font-family: "Montserrat", sans-serif;
	font-size: 19px;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
}

.ivl-case-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
}

.ivl-landing .ivl-carousel-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 16px rgba(11, 42, 91, .15);
	color: var(--ivl-blue);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s, color .2s;
}

.ivl-landing .ivl-carousel-nav:hover {
	background: var(--ivl-blue);
	color: #fff;
}

.ivl-carousel-prev {
	left: -4px;
}

.ivl-carousel-next {
	right: -4px;
}

.ivl-carousel-dots {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 20px;
}

.ivl-landing .ivl-carousel-dot {
	width: 14px;
	height: 14px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d3d9e2;
	cursor: pointer;
	transition: background .2s;
}

.ivl-landing .ivl-carousel-dot.is-active {
	background: var(--ivl-blue);
}

/* Footer */

.ivl-footer-cta {
	padding: 28px 0;
	background: linear-gradient(90deg, #0b2f6e 0%, #0a3c8c 100%);
	color: #fff;
}

.ivl-footer-cta-inner {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) 2.2fr;
	gap: 40px;
	align-items: center;
}

.ivl-footer-cta .ivl-eyebrow {
	margin-bottom: 6px;
	text-align: left;
	color: #4ea1ff;
}

.ivl-landing .ivl-footer-title {
	margin: 0 0 10px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(24px, 2.4vw, 31px);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.ivl-footer-text {
	max-width: 340px;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .88);
}

.ivl-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ivl-feature {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ivl-feature > .ivl-icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	stroke-width: 1.3;
}

.ivl-landing .ivl-feature-title {
	margin: 0 0 12px;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	color: #fff;
}

.ivl-feature-text {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .85);
}

.ivl-footer-bottom {
	padding: 18px 0;
	background: #0a1830;
	color: #fff;
}

.ivl-footer-bottom-inner {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}

.ivl-logo-light img {
	max-height: 44px;
	filter: brightness(0) invert(1);
}

.ivl-logo-light .ivl-logo-name {
	font-size: 22px;
	color: #fff;
}

.ivl-logo-light .ivl-logo-tagline {
	font-size: 11px;
	color: rgba(255, 255, 255, .8);
}

.ivl-copy {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, .88);
}

.ivl-social {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ivl-landing .ivl-social a {
	display: flex;
	color: #fff;
	transition: opacity .2s;
}

.ivl-social a:hover {
	opacity: .75;
}

.ivl-social svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.ivl-social .ivl-icon {
	fill: none;
}

@media (max-width: 1200px) {
	.ivl-product-body {
		grid-template-columns: 1fr;
	}

	.ivl-product-media {
		order: -1;
		min-height: 0;
		margin-bottom: 8px;
	}

	.ivl-product-media img {
		max-height: 180px;
	}

	.ivl-footer-cta-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 991px) {
	.ivl-products-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ivl-carousel-track {
		--ivl-cards: 2;
	}

	.ivl-features {
		grid-template-columns: 1fr 1fr;
	}

	.ivl-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.ivl-products {
		padding-top: 44px;
	}

	.ivl-products-grid {
		grid-template-columns: 1fr;
	}

	.ivl-product-body {
		grid-template-columns: 1fr 40%;
	}

	.ivl-product-media {
		order: 0;
	}

	.ivl-carousel {
		padding: 0 16px;
	}

	.ivl-carousel-track {
		--ivl-cards: 1;
	}

	.ivl-landing .ivl-carousel-nav {
		width: 42px;
		height: 42px;
	}

	.ivl-carousel-prev {
		left: -8px;
	}

	.ivl-carousel-next {
		right: -8px;
	}

	.ivl-features {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ivl-landing .ivl-feature-title {
		margin-bottom: 4px;
	}

	.ivl-copy {
		font-size: 13px;
	}
}

/* ---------- Modal de producto (landing) ---------- */

html.ivl-modal-open {
	overflow: hidden;
}

.ivl-modal {
	width: min(980px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 48px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: var(--ivl-text);
}

.ivl-modal::backdrop {
	background: rgba(6, 22, 52, .65);
	backdrop-filter: blur(3px);
}

.ivl-modal[open] {
	animation: ivl-modal-in .25s ease;
}

@keyframes ivl-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ivl-modal-box {
	position: relative;
	display: grid;
	grid-template-columns: 45% 1fr;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(6, 22, 52, .35);
}

.ivl-landing .ivl-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #eef2f7;
	color: var(--ivl-navy);
	cursor: pointer;
	transition: background .2s, color .2s;
}

.ivl-landing .ivl-modal-close:hover,
.ivl-landing .ivl-modal-close:focus-visible {
	background: var(--ivl-blue);
	color: #fff;
}

.ivl-modal-close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.ivl-modal-media {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 40px 32px 32px;
	background: #fff;
}

.ivl-modal-image {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 320px;
}

.ivl-modal-image img {
	display: block;
	max-width: 100%;
	max-height: 420px;
	object-fit: contain;
}

.ivl-landing .ivl-modal-quote {
	width: 100%;
	min-height: 54px;
	font-size: 16px;
	font-weight: 800;
}

.ivl-modal-quote .ivl-icon {
	width: 22px;
	height: 22px;
}

.ivl-modal-info {
	padding: 44px 40px 36px;
}

.ivl-modal-info .ivl-product-brand {
	margin: 0 0 6px;
	font-size: 16px;
}

.ivl-landing .ivl-modal-title {
	margin: 0 48px 16px 0;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ivl-blue);
}

.ivl-modal-industries {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.ivl-modal-industries li {
	margin: 0;
	padding: 6px 12px;
	border: 1px solid #c8d5e8;
	border-radius: 999px;
	background: #eef4fc;
	font-size: 12px;
	font-weight: 600;
	color: var(--ivl-navy);
}

.ivl-modal-text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.7;
	color: #3d4757;
}

.ivl-landing .ivl-modal-subtitle {
	margin: 0 0 12px;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ivl-navy);
}

.ivl-specs {
	margin: 0;
	border: 1px solid var(--ivl-border);
	border-radius: 8px;
	overflow: hidden;
}

.ivl-specs > div {
	display: grid;
	grid-template-columns: 40% 1fr;
	border-bottom: 1px solid var(--ivl-border);
}

.ivl-specs > div:last-child {
	border-bottom: 0;
}

.ivl-specs > div:nth-child(odd) {
	background: #f7f9fc;
}

.ivl-specs dt,
.ivl-specs dd {
	margin: 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.45;
}

.ivl-specs dt {
	font-weight: 600;
	color: var(--ivl-navy);
}

.ivl-specs dd {
	color: #3d4757;
}

@media (max-width: 767px) {
	.ivl-modal {
		width: calc(100% - 24px);
		max-height: calc(100vh - 24px);
	}

	.ivl-modal-box {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 24px);
	}

	.ivl-modal-media {
		padding: 48px 20px 20px;
	}

	.ivl-modal-image {
		min-height: 200px;
	}

	.ivl-modal-image img {
		max-height: 240px;
	}

	.ivl-modal-info {
		padding: 24px 20px 28px;
	}

	.ivl-specs > div {
		grid-template-columns: 1fr;
	}

	.ivl-specs dt {
		padding-bottom: 0;
	}

	.ivl-specs dd {
		padding-top: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ivl-modal[open] {
		animation: none;
	}
}

/* ---------- Página "Productos campaña" ---------- */

.ivl-landing .ivl-btn-solid {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 24px;
	border: 1.5px solid var(--ivl-blue);
	border-radius: 4px;
	background: var(--ivl-blue);
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	transition: background .2s, border-color .2s;
}

.ivl-landing .ivl-btn-solid:hover,
.ivl-landing .ivl-btn-solid:focus-visible {
	border-color: var(--ivl-navy);
	background: var(--ivl-navy);
	color: #fff;
}

.ivl-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 16px 0;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 2px 16px rgba(11, 42, 91, .08);
	backdrop-filter: blur(6px);
}

.admin-bar .ivl-topbar {
	top: 32px;
}

.ivl-topbar-inner {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}

.ivl-topbar .ivl-logo img {
	max-height: 56px;
}

.ivl-campaign-head {
	padding: 56px 0 8px;
	background: linear-gradient(180deg, #e3ecf7 0%, #f4f6fa 100%);
}

.ivl-campaign-head .ivl-section-title {
	margin-bottom: 16px;
	font-size: clamp(26px, 3vw, 38px);
}

.ivl-campaign-intro {
	max-width: 760px;
	margin: 0 auto 28px;
	font-size: 16px;
	line-height: 1.65;
	text-align: center;
	color: #3d4757;
}

.ivl-campaign-intro p {
	margin: 0 0 10px;
}

.ivl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 8px;
}

.ivl-landing .ivl-chip {
	padding: 9px 20px;
	border: 1.5px solid #c8d5e8;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ivl-navy);
	transition: background .2s, border-color .2s, color .2s;
}

.ivl-landing .ivl-chip:hover {
	border-color: var(--ivl-blue);
	color: var(--ivl-blue);
}

.ivl-landing .ivl-chip.is-active {
	border-color: var(--ivl-blue);
	background: var(--ivl-blue);
	color: #fff;
}

.ivl-campaign-list {
	padding: 32px 0 64px;
	background: #f4f6fa;
}

.ivl-campaign-count {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ivl-muted);
}

.ivl-pgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.ivl-pcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(11, 42, 91, .07);
	transition: box-shadow .25s, transform .25s;
}

.ivl-pcard:hover {
	box-shadow: 0 14px 36px rgba(11, 42, 91, .14);
	transform: translateY(-3px);
}

.ivl-pcard-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #edf0f5;
}

.ivl-pcard-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .35s;
}

.ivl-pcard:hover .ivl-pcard-media img {
	transform: scale(1.04);
}

.ivl-pcard-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ivl-pcard-badges .ivl-badge {
	margin: 0;
}

.ivl-badge.ivl-badge-stock {
	background: var(--ivl-blue);
}

.ivl-pcard-body {
	flex: 1;
	padding: 20px 20px 8px;
}

.ivl-landing .ivl-pcard-cat {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ivl-muted);
}

.ivl-landing .ivl-pcard-title {
	margin: 0 0 10px;
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
}

.ivl-landing .ivl-pcard-title a {
	text-decoration: none;
	color: var(--ivl-blue);
}

.ivl-landing .ivl-pcard-title a:hover {
	color: var(--ivl-navy);
}

.ivl-pcard-text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.65;
	color: #3d4757;
}

.ivl-pcard-price {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--ivl-navy);
}

.ivl-pcard-price del {
	margin-right: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ivl-muted);
}

.ivl-pcard-price ins {
	text-decoration: none;
}

.ivl-pcard-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	padding: 12px 20px 20px;
}

.ivl-pcard-actions .ivl-btn-outline {
	padding-right: 40px;
	padding-left: 16px;
	font-size: 13px;
}

.ivl-pcard-actions .ivl-btn-outline .ivl-icon {
	right: 12px;
}

.ivl-pcard-actions .ivl-btn-solid {
	padding: 10px 18px;
	font-size: 13px;
}

.ivl-empty {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
	padding: 48px 20px;
	border-radius: 10px;
	background: #fff;
	font-size: 16px;
	text-align: center;
	color: #3d4757;
}

.ivl-empty p {
	margin: 0;
}

.ivl-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
}

.ivl-landing .ivl-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1.5px solid #c8d5e8;
	border-radius: 4px;
	background: #fff;
	font-weight: 600;
	text-decoration: none;
	color: var(--ivl-navy);
}

.ivl-landing .ivl-pagination a.page-numbers:hover {
	border-color: var(--ivl-blue);
	color: var(--ivl-blue);
}

.ivl-landing .ivl-pagination .page-numbers.current {
	border-color: var(--ivl-blue);
	background: var(--ivl-blue);
	color: #fff;
}

.ivl-pagination .ivl-icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 1200px) {
	.ivl-pgrid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 991px) {
	.ivl-pgrid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 782px) {
	.admin-bar .ivl-topbar {
		top: 0;
	}
}

@media (max-width: 575px) {
	.ivl-topbar .ivl-logo img {
		max-height: 40px;
	}

	.ivl-topbar .ivl-btn-solid {
		min-height: 40px;
		padding: 8px 14px;
		font-size: 12px;
	}

	.ivl-topbar .ivl-btn-solid .ivl-icon {
		display: none;
	}

	.ivl-campaign-head {
		padding-top: 40px;
	}

	.ivl-chips {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-right: calc(var(--ivl-gutter) * -1);
		padding-bottom: 6px;
		overflow-x: auto;
	}

	.ivl-landing .ivl-chip {
		flex: 0 0 auto;
	}

	.ivl-pgrid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Escritorio: el formulario se ajusta al alto de la ventana ---------- */

@media (min-width: 992px) {
	.ivl-hero-inner {
		padding-top: clamp(16px, 4vh, 40px);
		padding-bottom: clamp(16px, 4vh, 40px);
	}

	.ivl-form-card {
		padding-top: clamp(18px, 4vh, 40px);
		padding-bottom: clamp(16px, 3vh, 30px);
	}

	.ivl-form-head {
		margin-bottom: clamp(12px, 3vh, 30px);
	}

	.ivl-field {
		margin-bottom: clamp(10px, 2vh, 18px);
	}

	.ivl-landing .ivl-field label {
		margin-bottom: clamp(4px, .8vh, 8px);
	}

	.ivl-landing .ivl-form input[type="text"],
	.ivl-landing .ivl-form input[type="email"],
	.ivl-landing .ivl-form input[type="tel"],
	.ivl-landing .ivl-form select {
		height: clamp(38px, 5.4vh, 46px);
	}

	.ivl-landing .ivl-form textarea {
		height: clamp(50px, 8vh, 84px);
		min-height: 50px;
	}

	.ivl-check {
		margin: clamp(2px, .6vh, 6px) 0 clamp(12px, 2.4vh, 22px);
	}

	.ivl-landing .ivl-submit {
		height: clamp(44px, 6.4vh, 56px);
	}

	.ivl-secure {
		margin-top: clamp(10px, 2.4vh, 22px);
	}
}

@media (min-width: 992px) and (max-height: 780px) {
	.ivl-landing .ivl-field label,
	.ivl-check {
		font-size: 13px;
	}

	.ivl-form-subtitle,
	.ivl-secure {
		font-size: 14px;
	}

	.ivl-form-icon {
		width: 38px;
		height: 38px;
	}

	.ivl-landing .ivl-form-title {
		margin-top: 0;
		font-size: 18px;
	}
}

@media (min-width: 992px) and (max-height: 640px) {
	.ivl-form-subtitle,
	.ivl-secure {
		display: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
	.ivl-landing {
		--ivl-gutter: 28px;
		--ivl-form-width: 480px;
	}

	.ivl-form-card {
		padding: 32px 26px 26px;
	}
}

@media (max-width: 991px) {
	.ivl-landing {
		--ivl-gutter: 20px;
	}

	.ivl-hero {
		min-height: 0;
	}

	.ivl-slider {
		position: relative;
		height: 560px;
	}

	.ivl-slide::before {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 80%);
	}

	.ivl-slide-content {
		top: 120px;
		right: var(--ivl-gutter);
		left: var(--ivl-gutter);
		width: auto;
	}

	.ivl-dots {
		bottom: 70px;
		left: var(--ivl-gutter);
	}

	.ivl-hero-inner {
		display: block;
		min-height: 0;
		padding: 0 var(--ivl-gutter) 40px;
	}

	.ivl-brand {
		position: absolute;
		top: 28px;
		left: var(--ivl-gutter);
	}

	.ivl-form-card {
		position: relative;
		max-width: 640px;
		margin: -40px auto 0;
	}
}

@media (max-width: 575px) {
	.ivl-slider {
		height: 500px;
	}

	.ivl-logo-name {
		font-size: 24px;
	}

	.ivl-row {
		grid-template-columns: 1fr;
	}

	.ivl-form-card {
		padding: 26px 18px 22px;
		border-radius: 14px;
	}

	.ivl-form-head {
		gap: 14px;
	}

	.ivl-form-icon {
		width: 38px;
		height: 38px;
	}

	.ivl-landing .ivl-form-title {
		font-size: 18px;
	}

	.ivl-whatsapp {
		right: 16px;
		bottom: 16px;
		width: 54px;
		height: 54px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ivl-slide,
	.ivl-slide-content {
		transition: none;
	}
}
