/* ═══════════════════════════════════════════════
   LANDING /calculadora/ — Soria Casas
   Estilos de la pagina landing con tabs compra/venta
   ═══════════════════════════════════════════════ */

.sc-calc-page {
	-webkit-font-smoothing: antialiased;
	background: #f9fafb;
	padding: 0 0 80px;
	min-height: 60vh;
}

.sc-calc-page__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── HEADER ─── */
.sc-calc-page-header {
	text-align: center;
	padding: 56px 0 32px;
}

.sc-calc-page-header h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 36px;
	font-weight: 600;
	color: #1f2937;
	margin: 0 0 10px;
	line-height: 1.2;
}

.sc-calc-page-header p {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	color: #6b7280;
	margin: 0;
	line-height: 1.6;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* ─── TABS ─── */
.sc-calc-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 28px;
	border-radius: 14px;
	overflow: hidden;
	background: #e5e7eb;
	padding: 4px;
	border-radius: 16px;
}

.sc-calc-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 20px;
	border: none;
	background: transparent;
	color: #6b7280;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 12px;
	transition: all 0.25s ease;
	-webkit-user-select: none;
	user-select: none;
}

.sc-calc-tab:hover:not(.active) {
	background: rgba(255,255,255,0.5);
	color: #1f2937;
}

.sc-calc-tab.active {
	background: #4a8fcc;
	color: #fff;
	box-shadow: 0 2px 8px rgba(74,143,204,0.25);
}

.sc-calc-tab svg {
	flex-shrink: 0;
}

/* Tab venta activa → verde */
.sc-calc-tab.active#scCalcTabVenta {
	background: #059669;
	box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}

/* ─── PANELS ─── */
.sc-calc-panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
	overflow: hidden;
}

/* Quitar doble card styling cuando esta dentro del panel de la landing */
.sc-calc-panel .sc-calc-card {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Quitar trigger cuando esta en la landing (siempre visible) */
.sc-calc-panel .sc-calc-trigger {
	display: none !important;
}

.sc-calc-panel .sc-calc-collapse {
	max-height: none !important;
	overflow: visible !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
	.sc-calc-page__inner {
		padding: 0 20px;
	}

	.sc-calc-page-header {
		padding: 40px 0 24px;
	}

	.sc-calc-page-header h1 {
		font-size: 30px;
	}
}

@media (max-width: 640px) {
	.sc-calc-page {
		padding: 0 0 48px;
	}

	.sc-calc-page__inner {
		padding: 0 12px;
	}

	.sc-calc-page-header {
		padding: 32px 8px 20px;
	}

	.sc-calc-page-header h1 {
		font-size: 26px;
	}

	.sc-calc-page-header p {
		font-size: 14px;
	}

	.sc-calc-tabs {
		border-radius: 12px;
		padding: 3px;
	}

	.sc-calc-tab {
		padding: 12px 14px;
		font-size: 14px;
		border-radius: 10px;
	}

	.sc-calc-panel {
		border-radius: 12px;
	}
}

@media (max-width: 380px) {
	.sc-calc-page__inner {
		padding: 0 8px;
	}

	.sc-calc-page-header h1 {
		font-size: 24px;
	}

	.sc-calc-tab {
		padding: 10px 8px;
		font-size: 13px;
		gap: 4px;
	}

	.sc-calc-tab svg {
		width: 14px;
		height: 14px;
	}
}
