.seo-landing,
.seo-landing h1,
.seo-landing h2,
.seo-landing h3,
.seo-landing p,
.seo-landing a,
.seo-landing span,
.seo-landing label,
.seo-landing input,
.seo-landing textarea,
.seo-landing button,
.seo-landing figcaption {
	font-family: var(--font-copy);
}

.seo-landing__hero {
	position: relative;
	width: 100vw;
	min-height: 860px;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	background-image: url("/Resources/images/1741601002969-inversion-en-empresas-madrid-centro.webp");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.seo-landing__hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(91, 99, 116, 0.48);
}

.seo-landing__hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 472px);
	align-items: center;
	gap: 72px;
	min-height: 860px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.seo-landing__hero-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
}

.seo-landing__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(56px, 5vw, 66px);
	font-weight: 700;
	line-height: 1.28;
	color: var(--color-white);
	text-align: left;
	letter-spacing: -0.03em;
}

.seo-landing__hero-form {
	width: 100%;
	padding: 34px 44px 40px;
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.seo-landing__form-title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #16253e;
	text-align: center;
}

.seo-landing__form-text {
	margin: 0 0 30px;
	font-size: 22px;
	line-height: 1.9;
	color: #1f3658;
	text-align: center;
}

.seo-landing__form {
	display: grid;
	gap: 16px;
}

.contact-form__field {
	display: grid;
	gap: 8px;
	text-align: left;
}

.contact-form__label {
	font-family: var(--font-ui);
	font-size: 15px;
	color: #38567f;
}

.contact-form__input {
	width: 100%;
	min-height: 32px;
	padding: 0 12px;
	border: 0;
	background: #f7f7f7;
	color: #16253e;
}

.contact-form__input--textarea {
	min-height: 64px;
	padding-top: 10px;
	padding-bottom: 10px;
	resize: vertical;
}

.contact-form__optin {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #38567f;
	text-align: left;
}

.contact-form__checkbox {
	margin-top: 3px;
	accent-color: var(--color-accent);
}

.contact-form__optin a {
	color: #38567f;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.contact-form__submit {
	width: 224px;
	min-height: 48px;
	margin-top: 8px;
	padding-block: 12px;
}

.contact-form__feedback {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 14px;
	color: #1f3658;
}

.seo-landing__section {
	padding: 56px 0 160px;
}

.seo-landing__container {
	max-width: 1280px;
}

.seo-landing__content {
	margin-bottom: 56px;
}

.seo-prose {
	color: var(--color-text);
	text-align: left;
}

.seo-prose h2,
.seo-prose h3 {
	margin: 40px 0 16px;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text);
}

.seo-prose h2 {
	font-size: 32px;
}

.seo-prose h3 {
	font-size: 24px;
}

.seo-prose p {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.75;
}

.seo-prose a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.seo-landing__gallery {
	display: flex;
	justify-content: flex-start;
	gap: 32px;
	flex-wrap: wrap;
}

.seo-gallery__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 360px;
	height: 280px;
	border-radius: 0 56px 0 56px;
	background: #f4f0e8;
}

.seo-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.seo-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.75);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.seo-gallery__item:hover::after {
	opacity: 1;
}

.seo-gallery__item figcaption {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: min(85%, 280px);
	transform: translate(-50%, -50%);
	margin: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	text-wrap: balance;
}

.seo-gallery__item:hover figcaption {
	opacity: 1;
}

.seo-gallery__title {
	font-family: var(--font-display);
	font-size: clamp(12px, 1.5vw, 16px);
	line-height: 1.1;
	color: #121212;
	font-weight: 600;
}

.seo-gallery__subtitle {
	font-family: var(--font-copy);
	font-size: clamp(10px, 1.2vw, 14px);
	line-height: 1.4;
	color: #555555;
}

@media (max-width: 1100px) {
	.seo-landing__hero,
	.seo-landing__hero-grid {
		min-height: auto;
	}

	.seo-landing__hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.seo-landing__hero-copy {
		justify-content: flex-start;
	}

	.seo-landing__hero-form {
		max-width: 560px;
	}
}

@media (max-width: 768px) {
	.seo-landing__hero {
		min-height: auto;
	}

	.seo-landing__hero-grid {
		padding-inline: 16px;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.seo-landing__hero-form {
		margin-inline: 8px;
		padding: 26px 18px 28px;
	}

	.seo-landing__form-text {
		font-size: 18px;
		line-height: 1.6;
	}

	.contact-form__submit {
		width: 184px;
		min-height: 40px;
		padding-block: 9px;
		font-size: 14px;
	}

	.seo-gallery__item figcaption {
		width: min(85%, 280px);
	}

	.seo-gallery__title {
		font-size: clamp(12px, 4vw, 15px);
	}

	.seo-gallery__subtitle {
		font-size: clamp(10px, 3.5vw, 13px);
	}

	.seo-landing__section {
		padding: 40px 0 120px;
	}

	.seo-landing__title {
		font-size: 42px;
	}

	.seo-prose h2 {
		font-size: 26px;
	}
}
