/* ═══════════════════════════════════════════════════════════════════════
   COMPRAR CASA — Soria Casas Inmobiliaria
   Página: /comprar-casa/
   Plugin: soria-casas-web
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
.sc-comprar {
	--azul: #4a8fcc;
	--azul-hover: #3a7fb8;
	--azul-light: rgba(74, 143, 204, 0.08);
	--azul-soft: rgba(74, 143, 204, 0.15);
	--beige: #fbf5e9;
	--beige-dark: #f0e8d5;
	--blanco: #ffffff;
	--gris-texto: #54585e;
	--negro: #333333;
	--borde: #e5e5e5;
	--sombra: 0 2px 16px rgba(0, 0, 0, 0.08);
	--sombra-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
	--radio: 12px;
	--radio-sm: 8px;
	--max-width: 1200px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Typography ─── */
.sc-comprar h1, .sc-comprar h2, .sc-comprar h3, .sc-comprar h4 {
	font-family: 'Cormorant Garamond', serif !important;
	color: var(--negro);
	line-height: 1.2;
}
.sc-comprar p {
	font-family: 'DM Sans', sans-serif !important;
	color: var(--gris-texto);
	font-size: 15px;
	line-height: 1.75;
}

/* ─── Animations ─── */
@keyframes scComprarFadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes scComprarFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.sc-comprar-animate {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.sc-comprar-animate.sc-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ════════════════════════════════════════
   SECTION 1 — HERO (Background image)
   ════════════════════════════════════════ */
.sc-comprar-hero {
	position: relative;
	overflow: hidden;
}

/* ─── Hero Property Card ─── */
.sc-comprar-hero-property-card:hover {
	transform: translateY(-6px) !important;
	box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
}
.sc-comprar-hero-property-card:hover img {
	transform: scale(1.05);
}

.sc-comprar-breadcrumb {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px;
	color: var(--gris-texto);
	margin-bottom: 28px;
	animation: scComprarFadeIn 0.6s ease-out;
}
.sc-comprar-breadcrumb a {
	color: var(--azul) !important;
	text-decoration: none !important;
	transition: color var(--transition);
}
.sc-comprar-breadcrumb a:hover { color: var(--azul-hover) !important; }
.sc-comprar-breadcrumb span { margin: 0 8px; color: #ccc; }

.sc-comprar-hero-label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--azul);
	margin-bottom: 16px;
	animation: scComprarFadeUp 0.7s ease-out 0.1s both;
}
.sc-comprar-hero h1 {
	font-size: 44px !important;
	font-weight: 500 !important;
	color: var(--negro) !important;
	margin-bottom: 20px !important;
	max-width: 520px;
	animation: scComprarFadeUp 0.7s ease-out 0.2s both;
}
.sc-comprar-hero h1 em {
	font-style: italic;
	color: var(--azul) !important;
}
.sc-comprar-hero-subtitle {
	font-size: 16px !important;
	color: var(--gris-texto) !important;
	max-width: 480px;
	line-height: 1.8 !important;
	margin-bottom: 32px !important;
	animation: scComprarFadeUp 0.7s ease-out 0.35s both;
}
.sc-comprar-hero-cta {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 15px 28px !important;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	border-radius: var(--radio-sm) !important;
	transition: all var(--transition) !important;
}
.sc-comprar-hero-cta.primary {
	background: var(--azul) !important;
	color: #ffffff !important;
}
.sc-comprar-hero-cta.primary:hover {
	background: var(--azul-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(74, 143, 204, 0.35);
}
.sc-comprar-hero-cta.secondary {
	background: var(--beige) !important;
	color: var(--negro) !important;
	border: 1px solid var(--beige-dark) !important;
}
.sc-comprar-hero-cta.secondary:hover {
	background: var(--beige-dark) !important;
	transform: translateY(-2px);
}

.sc-comprar-hero-visual-tag {
	position: absolute;
	bottom: 28px;
	right: 28px;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(8px);
	padding: 14px 22px;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	z-index: 2;
}
.sc-comprar-hero-visual-tag-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--azul-light);
}
.sc-comprar-hero-visual-tag-text strong {
	display: block;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--negro);
}
.sc-comprar-hero-visual-tag-text span {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 12px;
	color: var(--gris-texto);
}


/* ════════════════════════════════════════
   SUBNAV — Sticky secondary navigation
   ════════════════════════════════════════ */
.sc-comprar-subnav {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 70px;
	z-index: 999;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--borde);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	padding: 0 24px;
	transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sc-comprar-subnav__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.sc-comprar-subnav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 18px;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	color: var(--gris-texto);
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap;
	cursor: pointer;
}
.sc-comprar-subnav__link:hover,
.sc-comprar-subnav__link.active {
	color: var(--azul);
	border-bottom-color: var(--azul);
}
.sc-comprar-subnav__link svg {
	flex-shrink: 0;
	opacity: 0.7;
}
.sc-comprar-subnav__link:hover svg {
	opacity: 1;
	stroke: var(--azul);
}


/* ════════════════════════════════════════
   SECTION LABEL + DIVIDER
   ════════════════════════════════════════ */
.sc-comprar-section-label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--azul);
	margin-bottom: 12px;
}
.sc-comprar-section-label::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 2px;
	background: var(--azul);
	margin-right: 10px;
	vertical-align: middle;
}
.sc-comprar-divider {
	width: 60px;
	height: 3px;
	background: var(--azul);
	border-radius: 2px;
	margin-bottom: 24px;
}
.sc-comprar-divider.center { margin-left: auto; margin-right: auto; }


/* ════════════════════════════════════════
   SECTION 2 — ASESORAMIENTO
   ════════════════════════════════════════ */
.sc-comprar-img-wrap {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}
.sc-comprar-img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 16px;
	transition: transform 0.6s ease;
}
.sc-comprar-img-wrap:hover img { transform: scale(1.02); }
.sc-comprar-img-wrap::after {
	content: '';
	position: absolute;
	bottom: -8px;
	right: -8px;
	width: 120px;
	height: 120px;
	border: 3px solid var(--azul);
	border-radius: 12px;
	opacity: 0.2;
	pointer-events: none;
}
.sc-comprar-content h2 {
	font-size: 36px !important;
	font-weight: 500 !important;
	margin-bottom: 24px !important;
}
.sc-comprar-content p { margin-bottom: 16px; }
.sc-comprar-content p strong { color: var(--negro); }

.sc-comprar-highlight-box {
	background: var(--beige);
	border-radius: var(--radio);
	padding: 24px 28px;
	margin-top: 28px;
	border-left: 4px solid var(--azul);
}
.sc-comprar-highlight-box p {
	font-size: 15px !important;
	font-style: italic;
	color: var(--negro) !important;
	margin: 0 !important;
	line-height: 1.7 !important;
}


/* ════════════════════════════════════════
   SECTION 3 — SERVICIOS (3 tarjetas)
   ════════════════════════════════════════ */
.sc-comprar-servicio-card {
	background: #ffffff;
	border: 1px solid var(--borde);
	border-radius: var(--radio);
	overflow: hidden;
	transition: all var(--transition);
}
.sc-comprar-servicio-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sombra-hover);
}
.sc-comprar-servicio-card-img {
	width: 100% !important;
	height: 200px !important;
	object-fit: cover !important;
	display: block !important;
}
.sc-comprar-servicio-card-body {
	padding: 28px 24px;
}
.sc-comprar-servicio-card-body h3 {
	font-size: 22px !important;
	font-weight: 500 !important;
	margin-bottom: 12px !important;
}
.sc-comprar-servicio-card-body p {
	font-size: 14.5px !important;
}


/* ════════════════════════════════════════
   SECTION 4 — PROCESO (Timeline)
   ════════════════════════════════════════ */
.sc-comprar-timeline {
	position: relative;
	padding-left: 60px;
}
.sc-comprar-timeline::before {
	content: '';
	position: absolute;
	left: 23px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(to bottom, var(--azul), var(--beige-dark));
}
.sc-comprar-timeline-step {
	position: relative;
	margin-bottom: 40px;
}
.sc-comprar-timeline-step:last-child { margin-bottom: 0; }
.sc-comprar-timeline-number {
	position: absolute;
	left: -60px;
	top: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--azul);
	color: #ffffff;
	font-family: 'Cormorant Garamond', serif !important;
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(74, 143, 204, 0.3);
	z-index: 1;
}
.sc-comprar-timeline-step:hover .sc-comprar-timeline-number {
	transform: scale(1.08);
	transition: transform var(--transition);
}
.sc-comprar-timeline-step h3 {
	font-size: 22px !important;
	font-weight: 500 !important;
	margin-bottom: 8px !important;
	padding-top: 10px;
}
.sc-comprar-timeline-step p {
	font-size: 15px !important;
	line-height: 1.75 !important;
}


/* ════════════════════════════════════════
   SECTION 5 — VENTAJAS (6 tarjetas)
   ════════════════════════════════════════ */
.sc-comprar-ventaja-card {
	background: #ffffff;
	border: 1px solid var(--borde);
	border-radius: var(--radio);
	padding: 36px 28px;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
}
.sc-comprar-ventaja-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 4px;
	background: var(--azul);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}
.sc-comprar-ventaja-card:hover::before { transform: scaleX(1); }
.sc-comprar-ventaja-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sombra-hover);
}
.sc-comprar-ventaja-icon {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--azul-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	transition: all var(--transition);
}
.sc-comprar-ventaja-card:hover .sc-comprar-ventaja-icon { background: var(--azul); }
.sc-comprar-ventaja-icon svg { transition: all var(--transition); }
.sc-comprar-ventaja-card:hover .sc-comprar-ventaja-icon svg { stroke: #fff; }
.sc-comprar-ventaja-card h3 {
	font-size: 22px !important;
	font-weight: 500 !important;
	margin-bottom: 12px !important;
}
.sc-comprar-ventaja-card p { font-size: 14.5px !important; }


/* ════════════════════════════════════════
   SECTION 6 — PRIORIDAD (Invertido)
   ════════════════════════════════════════ */
.sc-comprar-prioridad-badge {
	position: absolute;
	top: 20px;
	left: 20px;
	background: var(--azul);
	color: #fff;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 6px;
	z-index: 2;
}


/* ════════════════════════════════════════
   SECTION 7 — CIFRAS
   ════════════════════════════════════════ */
.sc-comprar-cifras::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.sc-comprar-cifra-item {
	text-align: center;
	padding: 32px 16px;
	border-radius: var(--radio);
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	transition: all var(--transition);
}
.sc-comprar-cifra-item:hover {
	background: rgba(255,255,255,0.1);
	transform: translateY(-3px);
}
.sc-comprar-cifra-number {
	font-family: 'Cormorant Garamond', serif !important;
	font-size: 48px;
	font-weight: 600;
	color: var(--azul);
	line-height: 1;
	margin-bottom: 8px;
}
.sc-comprar-cifra-label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 14px;
	color: rgba(255,255,255,0.7);
	line-height: 1.5;
}


/* ════════════════════════════════════════
   SECTION 8 — FORMULARIO
   ════════════════════════════════════════ */
.sc-comprar-contacto-info h2 {
	font-size: 34px !important;
	font-weight: 500 !important;
	margin-bottom: 16px !important;
}
.sc-comprar-contacto-info > p {
	font-size: 15px !important;
	margin-bottom: 32px !important;
	max-width: 450px;
}
.sc-comprar-contacto-beneficios {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.sc-comprar-contacto-beneficios li {
	display: flex !important;
	gap: 12px !important;
	align-items: flex-start !important;
	padding: 12px 0 !important;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 14.5px !important;
	color: var(--gris-texto) !important;
	line-height: 1.6 !important;
}
.sc-comprar-contacto-beneficios li svg {
	flex-shrink: 0;
	margin-top: 3px;
}

.sc-comprar-form {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px 36px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	border: 1px solid rgba(74, 143, 204, 0.1);
}
.sc-comprar-form h3 {
	font-size: 24px !important;
	font-weight: 500 !important;
	margin-bottom: 6px !important;
}
.sc-comprar-form > p {
	font-size: 14px !important;
	color: var(--gris-texto) !important;
	margin-bottom: 28px !important;
}
.sc-comprar-form-field {
	display: flex;
	flex-direction: column;
}
.sc-comprar-form-field label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--negro) !important;
	margin-bottom: 6px !important;
}
.sc-comprar-form-field label .required { color: #e53935; margin-left: 2px; }
.sc-comprar-form-field input,
.sc-comprar-form-field textarea,
.sc-comprar-form-field select {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 15px !important;
	padding: 12px 16px !important;
	border: 1px solid var(--borde) !important;
	border-radius: var(--radio-sm) !important;
	background: #fafafa !important;
	color: var(--negro) !important;
	transition: all var(--transition);
	outline: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
.sc-comprar-form-field input:focus,
.sc-comprar-form-field textarea:focus,
.sc-comprar-form-field select:focus {
	border-color: var(--azul) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(74, 143, 204, 0.12) !important;
}
.sc-comprar-form-field textarea {
	resize: vertical;
	min-height: 100px;
}

.sc-comprar-form-privacy {
	display: flex !important;
	gap: 10px !important;
	align-items: flex-start !important;
	margin: 20px 0 24px !important;
}
.sc-comprar-form-privacy input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin-top: 2px !important;
	accent-color: var(--azul);
	flex-shrink: 0;
}
.sc-comprar-form-privacy label {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px !important;
	color: var(--gris-texto) !important;
	line-height: 1.5 !important;
}
.sc-comprar-form-privacy label a {
	color: var(--azul) !important;
	text-decoration: none !important;
}

.sc-comprar-form-submit {
	width: 100%;
	padding: 16px 32px;
	background: var(--azul);
	color: #ffffff;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px;
	font-weight: 500;
	border: none;
	border-radius: var(--radio-sm);
	cursor: pointer;
	transition: all var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.sc-comprar-form-submit:hover {
	background: var(--azul-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(74, 143, 204, 0.35);
}
.sc-comprar-form-submit.sc-comprar-loading {
	opacity: 0.7;
	pointer-events: none;
}
.sc-comprar-form-legal {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 11px;
	color: #999;
	margin-top: 16px;
	line-height: 1.6;
}

.sc-comprar-form-msg {
	display: none;
	padding: 14px 18px;
	border-radius: var(--radio-sm);
	font-family: 'DM Sans', sans-serif !important;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
}
.sc-comprar-form-msg.sc-success {
	display: block;
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}
.sc-comprar-form-msg.sc-error {
	display: block;
	background: #ffebee;
	color: #e53935;
	border: 1px solid #ffcdd2;
}


/* ════════════════════════════════════════
   SECTION 9 — CTA FINAL
   ════════════════════════════════════════ */
.sc-comprar-cta::before {
	content: '';
	position: absolute;
	top: -50%; left: -20%;
	width: 140%; height: 200%;
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
	pointer-events: none;
}
.sc-comprar-cta h2 {
	font-size: 34px !important;
	font-weight: 500 !important;
	color: #ffffff !important;
	margin-bottom: 16px !important;
}
.sc-comprar-cta p {
	color: rgba(255,255,255,0.85) !important;
	font-size: 16px !important;
	margin-bottom: 32px !important;
}
.sc-comprar-cta-btn {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	transition: all var(--transition) !important;
}
.sc-comprar-cta-btn.primary:hover {
	background: var(--beige) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.sc-comprar-cta-btn.secondary:hover {
	border-color: #ffffff !important;
	background: rgba(255,255,255,0.1) !important;
	transform: translateY(-2px);
}


/* ════════════════════════════════════════
   SECTION PADDING + HERO SIZING (desktop)
   ════════════════════════════════════════ */
.sc-comprar-section {
	padding: 80px 24px !important;
}
.sc-comprar-cifras.sc-comprar-section {
	padding: 72px 24px !important;
}
.sc-comprar-cta.sc-comprar-section {
	padding: 64px 24px !important;
}
.sc-comprar-hero {
	min-height: 540px !important;
}
.sc-comprar-hero-content {
	padding: 100px 24px 80px !important;
	min-height: 540px !important;
}


/* ════════════════════════════════════════
   RESPONSIVE — Grid classes (desktop)
   ════════════════════════════════════════ */
.sc-comprar-grid-2col {
	grid-template-columns: 1fr 1fr !important;
}
.sc-comprar-grid-3col {
	grid-template-columns: repeat(3, 1fr) !important;
}
.sc-comprar-grid-4col {
	grid-template-columns: repeat(4, 1fr) !important;
}
.sc-comprar-grid-form-outer {
	grid-template-columns: 1fr 1.1fr !important;
}
.sc-comprar-form-row {
	grid-template-columns: 1fr 1fr !important;
}


/* ════════════════════════════════════════
   RESPONSIVE — Tablet (max 900px)
   ════════════════════════════════════════ */
@media (max-width: 900px) {
	/* Subnav */
	.sc-comprar-subnav {
		top: 60px;
		padding: 0;
		box-shadow: none;
	}
	.sc-comprar-subnav__inner {
		justify-content: stretch;
		gap: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 0;
	}
	.sc-comprar-subnav__inner::-webkit-scrollbar {
		display: none;
	}
	.sc-comprar-subnav__link {
		flex: 1;
		justify-content: center;
		padding: 11px 10px;
		font-size: 12px;
		gap: 4px;
		border-right: 1px solid var(--borde);
	}
	.sc-comprar-subnav__link:last-child {
		border-right: none;
	}
	.sc-comprar-subnav__link svg {
		width: 12px;
		height: 12px;
		opacity: 0.45;
	}
	.sc-comprar-subnav__link.active svg {
		opacity: 1;
		stroke: var(--azul);
	}

	/* Section padding */
	.sc-comprar-section {
		padding: 60px 20px !important;
	}

	/* Hero */
	.sc-comprar-hero {
		min-height: 480px !important;
	}
	.sc-comprar-hero-content {
		padding: 80px 20px 60px !important;
		min-height: 480px !important;
	}
	.sc-comprar-hero h1 {
		font-size: 36px !important;
		max-width: 100% !important;
	}
	.sc-comprar-hero-subtitle {
		font-size: 15px !important;
		max-width: 100% !important;
	}

	/* 2-col grids → 1 col */
	.sc-comprar-grid-2col {
		grid-template-columns: 1fr !important;
		gap: 40px !important;
	}

	/* 3-col → 2 col */
	.sc-comprar-grid-3col {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	/* 4-col → 2 col */
	.sc-comprar-grid-4col {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	/* Formulario outer → 1 col */
	.sc-comprar-grid-form-outer {
		grid-template-columns: 1fr !important;
		gap: 40px !important;
	}

	/* Headings */
	.sc-comprar-content h2 {
		font-size: 28px !important;
	}
	.sc-comprar-contacto-info h2 {
		font-size: 28px !important;
	}
	.sc-comprar-cifras h2 {
		font-size: 28px !important;
	}
	.sc-comprar-cifra-number {
		font-size: 40px;
	}

	/* Property card in prioridad → centered */
	.sc-comprar-hero-property-card {
		max-width: 380px !important;
		margin: 0 auto !important;
	}

	/* Img wrap decorative element */
	.sc-comprar-img-wrap::after {
		display: none;
	}
}


/* ════════════════════════════════════════
   RESPONSIVE — Mobile (max 600px)
   ════════════════════════════════════════ */
@media (max-width: 600px) {
	/* Subnav — tighter */
	.sc-comprar-subnav__link {
		padding: 9px 6px;
		font-size: 11px;
	}
	.sc-comprar-subnav__link svg {
		display: none;
	}

	/* Section padding */
	.sc-comprar-section {
		padding: 48px 16px !important;
	}

	/* Hero */
	.sc-comprar-hero {
		min-height: 420px !important;
	}
	.sc-comprar-hero-content {
		padding: 64px 16px 48px !important;
		min-height: 420px !important;
	}
	.sc-comprar-hero h1 {
		font-size: 26px !important;
		margin-bottom: 16px !important;
	}
	.sc-comprar-hero-subtitle {
		font-size: 14px !important;
		line-height: 1.7 !important;
		margin-bottom: 28px !important;
	}
	.sc-comprar-hero-label {
		font-size: 11px !important;
		letter-spacing: 0.12em !important;
	}
	.sc-comprar-hero-cta {
		padding: 13px 20px !important;
		font-size: 14px !important;
		width: 100% !important;
		justify-content: center !important;
	}
	.sc-comprar-breadcrumb {
		font-size: 12px !important;
		margin-bottom: 20px !important;
	}

	/* Hero badges → vertical stack */
	.sc-comprar-hero-badges {
		flex-direction: column !important;
		align-items: center !important;
		gap: 10px !important;
	}

	/* 3-col → 1 col */
	.sc-comprar-grid-3col {
		grid-template-columns: 1fr !important;
	}

	/* 2-col gap tighter */
	.sc-comprar-grid-2col {
		gap: 32px !important;
	}

	/* Form inner rows → 1 col */
	.sc-comprar-form-row {
		grid-template-columns: 1fr !important;
	}

	/* Formulario outer gap tighter */
	.sc-comprar-grid-form-outer {
		gap: 32px !important;
	}

	/* Property card on mobile — full width, no forced square */
	.sc-comprar-hero-property-card {
		max-width: 100% !important;
		aspect-ratio: auto !important;
	}

	/* Section headings */
	.sc-comprar-content h2 {
		font-size: 24px !important;
	}
	.sc-comprar-contacto-info h2 {
		font-size: 24px !important;
	}
	.sc-comprar-cta h2 {
		font-size: 24px !important;
	}
	.sc-comprar-cifras h2 {
		font-size: 24px !important;
	}

	/* Section label smaller */
	.sc-comprar-section-label {
		font-size: 11px !important;
	}
	.sc-comprar-section-label::before {
		width: 18px;
	}

	/* Divider */
	.sc-comprar-divider {
		margin-bottom: 20px;
	}

	/* Cifras */
	.sc-comprar-cifra-number {
		font-size: 36px;
	}
	.sc-comprar-cifra-item {
		padding: 24px 12px;
	}
	.sc-comprar-cifra-label {
		font-size: 12px !important;
	}

	/* Form */
	.sc-comprar-form {
		padding: 24px 18px !important;
		border-radius: 12px !important;
	}
	.sc-comprar-form h3 {
		font-size: 20px !important;
	}

	/* Servicio cards */
	.sc-comprar-servicio-card-body {
		padding: 22px 20px;
	}
	.sc-comprar-servicio-card-body h3 {
		font-size: 20px !important;
	}

	/* Ventaja cards */
	.sc-comprar-ventaja-card {
		padding: 28px 22px;
	}
	.sc-comprar-ventaja-card h3 {
		font-size: 20px !important;
	}

	/* Timeline */
	.sc-comprar-timeline {
		padding-left: 48px;
	}
	.sc-comprar-timeline::before {
		left: 19px;
	}
	.sc-comprar-timeline-number {
		left: -48px;
		width: 38px;
		height: 38px;
		font-size: 16px;
	}
	.sc-comprar-timeline-step h3 {
		font-size: 19px !important;
		padding-top: 6px;
	}
	.sc-comprar-timeline-step p {
		font-size: 14px !important;
	}
	.sc-comprar-timeline-step {
		margin-bottom: 32px;
	}

	/* Hero CTAs → full width stacked */
	.sc-comprar-hero-ctas {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	/* CTA final buttons → stacked */
	.sc-comprar-cta-btns {
		flex-direction: column !important;
		align-items: stretch !important;
	}
	.sc-comprar-cta-btn {
		width: 100% !important;
		justify-content: center !important;
		padding: 14px 24px !important;
		font-size: 15px !important;
	}

	/* Highlight box */
	.sc-comprar-highlight-box {
		padding: 20px 22px;
	}

	/* Generic text */
	.sc-comprar p {
		font-size: 14px;
	}

	/* Prioridad badge (fallback) */
	.sc-comprar-prioridad-badge {
		font-size: 11px;
		padding: 6px 12px;
	}
}


/* ════════════════════════════════════════
   RESPONSIVE — Small mobile (max 400px)
   ════════════════════════════════════════ */
@media (max-width: 400px) {
	.sc-comprar-hero h1 {
		font-size: 23px !important;
	}
	.sc-comprar-content h2,
	.sc-comprar-contacto-info h2,
	.sc-comprar-cta h2,
	.sc-comprar-cifras h2 {
		font-size: 21px !important;
	}
	.sc-comprar-cifra-number {
		font-size: 32px;
	}
	.sc-comprar-grid-4col {
		grid-template-columns: 1fr 1fr !important;
		gap: 12px !important;
	}
	.sc-comprar-cifra-item {
		padding: 20px 10px;
	}
}
