:root {
	--color-primary: #082B63;
	--color-primary-dark: #061F49;
	--color-accent: #1167E8;
	--color-whatsapp: #08B84F;
	--color-text: #071B3A;
	--color-muted: #5D6B82;
	--color-light: #F6F9FD;
	--color-border: #DDE6F2;
	--color-white: #FFFFFF;
	--shadow-soft: 0 18px 46px rgba(8, 43, 99, 0.12);
	--shadow-card: 0 14px 30px rgba(8, 43, 99, 0.1);
	--radius-lg: 28px;
	--radius-md: 22px;
	--radius-sm: 18px;
	--header-height: 92px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-text);
	font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--color-white);
	line-height: 1.68;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

img,
svg {
	display: block;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

[hidden] {
	display: none !important;
}

.container {
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.icon svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon-whatsapp svg {
	fill: currentColor;
	stroke: none;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
	outline: 3px solid rgba(17, 103, 232, 0.35);
	outline-offset: 3px;
}

.button--header {
	background: var(--color-primary);
	color: var(--color-white);
	box-shadow: 0 12px 24px rgba(8, 43, 99, 0.22);
}

.button--header:hover {
	background: var(--color-primary-dark);
}

.button--whatsapp {
	background: var(--color-whatsapp);
	color: var(--color-white);
	box-shadow: 0 16px 30px rgba(8, 184, 79, 0.24);
}

.button--whatsapp:hover {
	background: #079E45;
}

.button--outline {
	color: var(--color-primary);
	background: var(--color-white);
	border-color: #BFD0E8;
	box-shadow: 0 10px 22px rgba(8, 43, 99, 0.08);
}

.button--outline:hover {
	border-color: var(--color-accent);
	box-shadow: 0 16px 32px rgba(8, 43, 99, 0.12);
}

.button--full {
	width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(221, 230, 242, 0.82);
	box-shadow: 0 8px 22px rgba(8, 43, 99, 0.06);
	backdrop-filter: blur(16px);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-height);
}

.brand {
	display: inline-flex;
	align-items: center;
	min-width: 174px;
}

.brand__image,
.custom-logo {
	width: clamp(150px, 16vw, 206px);
	height: auto;
	object-fit: contain;
}

.brand__fallback {
	display: none;
	align-items: center;
	gap: 10px;
	color: var(--color-primary);
	line-height: 1.05;
}

.brand__fallback strong {
	display: block;
	font-size: 1.28rem;
	font-weight: 700;
}

.brand__fallback small {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	color: #34507A;
}

.brand__mark {
	font-size: 2rem;
}

.site-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2vw, 30px);
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #06152D;
	font-size: 0.94rem;
	font-weight: 600;
	transition: color 180ms ease;
}

.primary-menu a:hover {
	color: var(--color-accent);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: var(--color-white);
	color: var(--color-primary);
}

.menu-toggle span {
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 99px;
	transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: calc(100vh - var(--header-height));
	padding: clamp(70px, 8vw, 110px) 0 clamp(58px, 7vw, 92px);
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	content: "";
	/* Reemplaza assets/img/hero-apartment.jpg por la foto principal real del inmueble o proyecto. */
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 34%, rgba(255, 255, 255, 0.58) 60%, rgba(255, 255, 255, 0.22) 100%),
		linear-gradient(180deg, rgba(246, 249, 253, 0.1), rgba(246, 249, 253, 0.58)),
		url("../img/hero-apartment.jpg") center / cover no-repeat,
		linear-gradient(135deg, #F6F9FD 0%, #EAF3FF 100%);
}

.hero::after {
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 160px;
	content: "";
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--color-white));
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
	gap: clamp(36px, 6vw, 82px);
	align-items: center;
}

.hero__content {
	max-width: 650px;
}

.hero h1 {
	margin: 0;
	color: var(--color-primary);
	font-size: clamp(2.55rem, 4.7vw, 4.55rem);
	line-height: 1.12;
	font-weight: 700;
}

.hero h1 span {
	display: block;
	color: var(--color-accent);
}

.hero__subtitle {
	max-width: 600px;
	margin: 28px 0 0;
	color: var(--color-primary);
	font-size: clamp(1.08rem, 1.8vw, 1.28rem);
	font-weight: 500;
	line-height: 1.72;
}

.hero__benefits {
	display: grid;
	gap: 18px;
	margin: 42px 0 0;
}

.hero__benefits li,
.final-cta__checks li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	color: var(--color-primary);
	font-weight: 600;
}

.hero__benefits .icon {
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: 1.02rem;
}

.hero-proof {
	display: inline-grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-top: 48px;
	overflow: hidden;
	color: var(--color-white);
	background: var(--color-primary);
	border-radius: 12px;
	box-shadow: var(--shadow-card);
}

.hero-proof div {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 206px;
	padding: 18px 24px;
	font-weight: 600;
}

.hero-proof div + div {
	border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-proof .icon {
	width: 42px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, 0.78);
	border-radius: 50%;
	font-size: 1.3rem;
}

.lead-card {
	width: 100%;
	padding: clamp(26px, 3.6vw, 38px);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(221, 230, 242, 0.9);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(12px);
}

.lead-card h2 {
	position: relative;
	margin: 0 0 32px;
	color: var(--color-primary);
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	line-height: 1.28;
	text-align: center;
	font-weight: 700;
}

.lead-card h2::after,
.section__center h2::after {
	display: block;
	width: 64px;
	height: 3px;
	margin: 22px auto 0;
	content: "";
	background: var(--color-accent);
	border-radius: 99px;
}

.lead-form {
	display: grid;
	gap: 16px;
}

.form-field {
	position: relative;
}

.form-field .icon {
	position: absolute;
	top: 50%;
	left: 18px;
	z-index: 1;
	color: var(--color-primary);
	font-size: 1.35rem;
	transform: translateY(-50%);
}

.form-field input,
.form-field select {
	width: 100%;
	min-height: 64px;
	padding: 0 18px 0 58px;
	color: var(--color-primary);
	background: var(--color-white);
	border: 1px solid #C9D6E8;
	border-radius: 12px;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--color-primary) 50%),
		linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
	background-position:
		calc(100% - 24px) 28px,
		calc(100% - 18px) 28px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.form-field input::placeholder {
	color: #667895;
	opacity: 1;
}

.form-field input:focus,
.form-field select:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(17, 103, 232, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
	border-color: #C62828;
	box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.12);
}

.lead-card__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 8px 0 0;
	color: var(--color-primary);
	text-align: center;
	font-weight: 500;
}

.lead-card__note .icon {
	color: var(--color-primary);
}

.form-status {
	margin: 0;
	padding: 12px 14px;
	color: #06652D;
	background: rgba(8, 184, 79, 0.1);
	border: 1px solid rgba(8, 184, 79, 0.25);
	border-radius: 12px;
	text-align: center;
	font-weight: 600;
}

.form-status.is-error {
	color: #8A1F16;
	background: #FCEDEA;
	border-color: #F5B8B0;
}

.section {
	padding: clamp(64px, 8vw, 104px) 0;
	scroll-margin-top: calc(var(--header-height) + 18px);
}

.section__center {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.section__center h2,
.section__heading h2,
.split-cta h2,
.final-cta h2 {
	margin: 0;
	color: var(--color-primary);
	font-size: clamp(1.9rem, 2.7vw, 2.65rem);
	line-height: 1.22;
	font-weight: 700;
}

.section__center p,
.section__heading p {
	margin: 20px auto 0;
	color: var(--color-primary);
	font-size: clamp(1rem, 1.5vw, 1.16rem);
	font-weight: 450;
	line-height: 1.75;
}

.trust {
	background: var(--color-white);
}

.property-types {
	background: linear-gradient(180deg, var(--color-white), var(--color-light));
}

.section__heading {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: 34px;
	align-items: end;
	margin-bottom: 34px;
}

.type-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.type-grid span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 82px;
	padding: 18px;
	color: var(--color-primary);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	box-shadow: 0 10px 24px rgba(8, 43, 99, 0.07);
	font-weight: 650;
	text-align: center;
}

.type-grid .icon {
	color: var(--color-accent);
	font-size: 1.45rem;
}

.process {
	background: var(--color-white);
}

.process__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 5vw, 78px);
	margin-top: 64px;
}

.process__steps::before {
	position: absolute;
	top: 48px;
	left: 18%;
	right: 18%;
	z-index: 0;
	height: 2px;
	content: "";
	background-image: linear-gradient(90deg, rgba(17, 103, 232, 0.4) 45%, transparent 0);
	background-size: 14px 2px;
}

.step {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	text-align: center;
}

.step__number {
	position: absolute;
	top: -4px;
	left: calc(50% - 54px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--color-white);
	background: var(--color-accent);
	border-radius: 50%;
	font-size: 0.95rem;
	font-weight: 700;
}

.step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	color: var(--color-primary);
	background: #F1F5FB;
	border-radius: 50%;
	font-size: 2.25rem;
}

.step h3 {
	margin: 26px 0 10px;
	color: var(--color-primary);
	font-size: 1.16rem;
	line-height: 1.35;
	font-weight: 700;
}

.step p {
	max-width: 280px;
	margin: 0;
	color: var(--color-primary);
	font-size: 0.98rem;
	font-weight: 450;
	line-height: 1.7;
}

.split-cta {
	padding-top: 30px;
	background: var(--color-white);
}

.split-cta__panel {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
	min-height: 350px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 56%, rgba(255, 255, 255, 0) 100%),
		var(--color-light);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.split-cta__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(34px, 5vw, 58px);
}

.split-cta p,
.final-cta p {
	margin: 18px 0 26px;
	color: var(--color-primary);
	font-size: 1.06rem;
	font-weight: 500;
	line-height: 1.72;
}

.split-cta__panel img {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
}

.benefits {
	padding-top: 30px;
	background: var(--color-white);
}

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	background: linear-gradient(180deg, #FBFDFF, #F4F8FE);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: 0 10px 28px rgba(8, 43, 99, 0.06);
}

.benefit {
	padding: 34px 30px;
	color: var(--color-primary);
}

.benefit + .benefit {
	border-left: 1px solid var(--color-border);
}

.benefit .icon {
	margin-bottom: 18px;
	font-size: 2.35rem;
}

.benefit h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	line-height: 1.25;
	font-weight: 700;
}

.benefit p {
	margin: 0;
	color: var(--color-primary);
	font-size: 0.95rem;
	font-weight: 450;
	line-height: 1.65;
}

.final-cta {
	padding-top: 30px;
	background: var(--color-white);
}

.final-cta__panel {
	display: grid;
	grid-template-columns: 310px minmax(0, 1fr) 290px;
	gap: 34px;
	align-items: center;
	padding: 26px;
	background: linear-gradient(135deg, #EEF7FF 0%, #F7FBFF 100%);
	border: 1px solid #D6E8FA;
	border-radius: var(--radius-md);
}

.final-cta__panel img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 16px;
}

.final-cta__content p {
	max-width: 600px;
}

.final-cta__checks {
	display: grid;
	gap: 14px;
}

.final-cta__checks li {
	color: var(--color-primary);
	font-weight: 550;
}

.final-cta__checks .icon {
	width: 22px;
	height: 22px;
	color: #0A9E3F;
	font-size: 1.2rem;
}

.site-footer {
	padding: 46px 0;
	color: var(--color-white);
	background:
		linear-gradient(135deg, rgba(17, 103, 232, 0.16), rgba(8, 43, 99, 0) 45%),
		var(--color-primary-dark);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr 0.8fr;
	gap: clamp(28px, 5vw, 62px);
	align-items: start;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.footer-logo .icon {
	font-size: 2.35rem;
	color: #DDEBFF;
}

.footer-logo strong {
	display: block;
	font-size: 1.6rem;
	line-height: 1;
}

.footer-logo small {
	display: block;
	font-size: 0.75rem;
	color: #BBD0F1;
	font-weight: 700;
}

.footer__brand p,
.footer__column a,
.footer__column span {
	color: #D9E6F9;
}

.footer__brand p {
	max-width: 280px;
	margin: 18px 0 0;
	font-size: 0.95rem;
}

.footer__column h2 {
	margin: 0 0 16px;
	color: var(--color-white);
	font-size: 1rem;
	font-weight: 700;
}

.footer__column ul {
	display: grid;
	gap: 8px;
}

.footer__column a {
	font-size: 0.95rem;
	transition: color 180ms ease;
}

.footer__column a:hover {
	color: var(--color-white);
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.footer-contact .icon {
	color: #CFE1FF;
}

.social-links {
	display: flex;
	gap: 12px;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--color-white);
	background: var(--color-accent);
	border-radius: 50%;
	font-weight: 700;
}

.whatsapp-float {
	position: fixed;
	right: clamp(18px, 3vw, 34px);
	bottom: clamp(18px, 3vw, 34px);
	z-index: 95;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	color: var(--color-white);
	background: var(--color-whatsapp);
	border: 5px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	box-shadow: 0 18px 36px rgba(8, 184, 79, 0.32);
	font-size: 2rem;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
	background: #079E45;
	box-shadow: 0 22px 40px rgba(8, 184, 79, 0.42);
	transform: translateY(-3px) scale(1.04);
}

.page-fallback {
	min-height: 60vh;
	padding: 80px 0;
	background: var(--color-light);
}

.content-card {
	padding: 40px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
}

.content-card h1 {
	margin-top: 0;
	color: var(--color-primary);
}

.generic-landing {
	background: var(--color-white);
}

.generic-landing__hero {
	padding: clamp(64px, 8vw, 110px) 0;
	background: linear-gradient(135deg, #F6F9FD 0%, #EAF3FF 58%, #F8FCFF 100%);
}

.generic-landing__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
	gap: clamp(38px, 7vw, 86px);
	align-items: center;
}

.generic-landing__eyebrow {
	margin: 0 0 14px;
	color: var(--color-accent);
	font-size: 0.88rem;
	font-weight: 650;
	text-transform: uppercase;
}

.generic-landing__intro h1 {
	margin: 0;
	color: var(--color-primary);
	font-size: clamp(2.4rem, 4.5vw, 4.25rem);
	line-height: 1.12;
	font-weight: 700;
}

.generic-landing__excerpt {
	max-width: 650px;
	margin: 24px 0 30px;
	color: var(--color-muted);
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	font-weight: 450;
	line-height: 1.72;
}

.generic-landing__media {
	margin: 0;
	overflow: hidden;
	min-height: 420px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.generic-landing__media img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

.generic-landing__body {
	padding: clamp(64px, 8vw, 104px) 0;
}

.generic-landing__content {
	max-width: 940px;
}

.editor-content {
	color: var(--color-text);
}

.editor-content > * {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
}

.editor-content > .alignwide {
	max-width: 1040px;
}

.editor-content > .alignfull {
	max-width: none;
}

.editor-content h2,
.editor-content h3,
.editor-content h4 {
	color: var(--color-primary);
	line-height: 1.3;
	font-weight: 700;
}

.editor-content h2 {
	margin-top: 2.2em;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.editor-content h3 {
	margin-top: 1.8em;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.editor-content p,
.editor-content li {
	font-size: 1.06rem;
}

.editor-content ul,
.editor-content ol {
	padding-left: 24px;
}

.editor-content li {
	list-style: initial;
	margin-bottom: 8px;
}

.editor-content img {
	border-radius: var(--radius-sm);
}

.generic-landing__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 64px;
	padding: clamp(28px, 5vw, 48px);
	color: var(--color-white);
	background: var(--color-primary);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
}

.generic-landing__cta h2 {
	margin: 0;
	color: var(--color-white);
	font-size: clamp(1.65rem, 2.7vw, 2.35rem);
	line-height: 1.25;
	font-weight: 700;
}

.generic-landing__cta p {
	max-width: 610px;
	margin: 12px 0 0;
	color: #DCE9FA;
}

@media (max-width: 1120px) {
	:root {
		--header-height: 82px;
	}

	.header__inner {
		gap: 16px;
	}

	.button--header {
		padding-inline: 16px;
	}

	.primary-menu {
		gap: 16px;
	}

	.primary-menu a {
		font-size: 0.88rem;
	}

	.hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
	}

	.final-cta__panel {
		grid-template-columns: 260px minmax(0, 1fr);
	}

	.final-cta__checks {
		grid-column: 2;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.container {
		width: min(100% - 32px, 1200px);
	}

	.site-navigation {
		position: fixed;
		top: var(--header-height);
		left: 16px;
		right: 16px;
		display: block;
		padding: 16px;
		background: var(--color-white);
		border: 1px solid var(--color-border);
		border-radius: 18px;
		box-shadow: var(--shadow-soft);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	}

	.site-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.primary-menu {
		display: grid;
		gap: 4px;
	}

	.primary-menu a {
		justify-content: flex-start;
		width: 100%;
		padding: 8px 12px;
		border-radius: 12px;
	}

	.primary-menu a:hover {
		background: var(--color-light);
	}

	.menu-toggle {
		display: inline-flex;
	}

	.button--header {
		margin-left: auto;
	}

	.hero {
		padding-top: 64px;
	}

	.hero__grid,
	.section__heading,
	.split-cta__panel {
		grid-template-columns: 1fr;
	}

	.hero__content {
		max-width: 720px;
	}

	.lead-card {
		max-width: 620px;
		margin-inline: auto;
	}

	.type-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.benefit:nth-child(3) {
		border-left: 0;
		border-top: 1px solid var(--color-border);
	}

	.benefit:nth-child(4) {
		border-top: 1px solid var(--color-border);
	}

	.process__steps {
		gap: 32px;
	}

	.final-cta__panel {
		grid-template-columns: 1fr;
	}

	.final-cta__checks {
		grid-column: auto;
	}

	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.generic-landing__hero-grid {
		grid-template-columns: 1fr;
	}

	.generic-landing__media,
	.generic-landing__media img {
		min-height: 340px;
	}
}

@media (max-width: 720px) {
	:root {
		--header-height: 76px;
	}

	.brand__image,
	.custom-logo {
		width: 148px;
		height: auto;
	}

	.button--header {
		min-height: 44px;
		padding: 10px 12px;
		border-radius: 12px;
		font-size: 0.82rem;
	}

	.button--header .icon {
		font-size: 1.25rem;
	}

	.button--header span {
		max-width: 74px;
		line-height: 1.08;
	}

	.hero::before {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(255, 255, 255, 0.74) 100%),
			/* Mantén el mismo nombre de archivo para conservar la ruta al cambiar la imagen. */
			url("../img/hero-apartment.jpg") center top / cover no-repeat,
			linear-gradient(135deg, #F6F9FD 0%, #EAF3FF 100%);
	}

	.hero__subtitle {
		margin-top: 22px;
	}

	.hero__benefits {
		margin-top: 30px;
	}

	.hero-proof {
		width: 100%;
		grid-template-columns: 1fr;
		margin-top: 34px;
	}

	.hero-proof div {
		min-width: 0;
	}

	.hero-proof div + div {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.28);
	}

	.lead-card h2 {
		text-align: left;
	}

	.lead-card h2::after {
		margin-left: 0;
	}

	.type-grid,
	.process__steps,
	.benefit-grid,
	.final-cta__checks,
	.footer__grid {
		grid-template-columns: 1fr;
	}

	.process__steps::before {
		display: none;
	}

	.step {
		padding: 26px 18px;
		background: var(--color-light);
		border: 1px solid var(--color-border);
		border-radius: var(--radius-md);
	}

	.step__number {
		top: 18px;
		left: calc(50% - 54px);
	}

	.benefit + .benefit,
	.benefit:nth-child(3),
	.benefit:nth-child(4) {
		border-left: 0;
		border-top: 1px solid var(--color-border);
	}

	.split-cta__content {
		padding: 30px;
	}

	.split-cta__panel img {
		min-height: 260px;
	}

	.final-cta__panel {
		padding: 18px;
	}

	.final-cta__panel img {
		height: 210px;
	}

	.generic-landing__cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.container {
		width: min(100% - 24px, 1200px);
	}

	.header__inner {
		min-height: var(--header-height);
	}

	.brand {
		min-width: 0;
	}

	.brand__image,
	.custom-logo {
		display: none;
	}

	.brand__fallback {
		display: inline-flex;
	}

	.brand__fallback strong {
		font-size: 1.05rem;
	}

	.brand__fallback small {
		font-size: 0.62rem;
	}

	.button--header span {
		display: none;
	}

	.button--header {
		width: 44px;
		padding: 0;
	}

	.menu-toggle {
		width: 44px;
		height: 44px;
	}

	.hero {
		padding: 48px 0 56px;
	}

	.hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.3rem);
	}

	.lead-card {
		padding: 22px;
		border-radius: 22px;
	}

	.form-field input,
	.form-field select {
		min-height: 58px;
	}

	.button {
		width: 100%;
	}

	.section {
		padding: 56px 0;
	}

	.whatsapp-float {
		width: 60px;
		height: 60px;
		font-size: 1.8rem;
	}

	.generic-landing__hero {
		padding: 50px 0 58px;
	}

	.generic-landing__media,
	.generic-landing__media img {
		min-height: 260px;
	}
}
