/**
 * Clases compartidas — estilo Lovable / Selling Billings.
 */

.sb-container {
	width: min(100%, var(--sb-container-max));
	margin-inline: auto;
	padding-inline: var(--sb-container-padding);
}

.sb-container--narrow {
	width: min(100%, 640px);
}

.sb-eyebrow {
	margin: 0;
	font-family: var(--sb-font-body);
	font-size: var(--sb-font-size-eyebrow);
	font-weight: 600;
	letter-spacing: var(--sb-letter-spacing-eyebrow);
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--sb-color-text);
}

.sb-heading {
	margin: 0;
	font-family: var(--sb-font-heading);
	font-size: var(--sb-font-size-2xl);
	font-weight: 600;
	letter-spacing: var(--sb-letter-spacing-heading);
	line-height: var(--sb-line-height-heading);
	color: var(--sb-color-text);
}

.sb-heading--display {
	font-size: var(--sb-font-size-display);
	font-weight: 600;
}

.sb-prose {
	font-family: var(--sb-font-body);
	font-size: var(--sb-font-size-base);
	font-weight: 400;
	line-height: var(--sb-line-height-body);
	color: var(--sb-color-text-muted);
}

.sb-prose p {
	margin: 0;
}

.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 1.35rem;
	border: 1px solid var(--sb-color-navy);
	border-radius: var(--sb-radius-sm);
	background: var(--sb-color-navy);
	color: var(--sb-color-white);
	font-family: var(--sb-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sb-btn:hover,
.sb-btn:focus-visible {
	background: rgb(1 1 48 / 88%);
	border-color: rgb(1 1 48 / 88%);
	color: var(--sb-color-white);
}

.sb-btn--light {
	background: var(--sb-color-cream);
	border-color: var(--sb-color-cream);
	color: var(--sb-color-navy);
}

.sb-btn--light:hover,
.sb-btn--light:focus-visible {
	background: var(--sb-color-white);
	border-color: var(--sb-color-white);
	color: var(--sb-color-navy);
}

.sb-btn--outline {
	background: transparent;
	border-color: var(--sb-color-white);
	color: var(--sb-color-white);
}

.sb-btn--outline:hover,
.sb-btn--outline:focus-visible {
	background: var(--sb-color-white);
	color: var(--sb-color-navy);
}

.sb-btn--gold {
	border-color: var(--sb-color-gold);
	background: var(--sb-color-gold);
	color: var(--sb-color-navy);
}

.sb-btn--gold:hover,
.sb-btn--gold:focus-visible {
	border-color: var(--sb-color-gold-light);
	background: var(--sb-color-gold-light);
	color: var(--sb-color-navy);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgb(192 161 90 / 35%);
}

.sb-btn--gold:hover .sb-arrow-circle,
.sb-btn--gold:focus-visible .sb-arrow-circle {
	background: var(--sb-color-cream);
}

.sb-btn__arrow {
	font-size: 1.05em;
	line-height: 1;
}

.sb-arrow-circle {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sb-color-gold);
	transition: background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sb-arrow-circle img {
	display: block;
	width: 14px;
	height: 14px;
	object-fit: contain;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Botones principales: flecha en diagonal (~45°); secundarios y enlaces compactos siguen horizontales. */
.sb-btn:not(.sb-btn--light) .sb-arrow-circle img {
	transform: rotate(-45deg);
}

.sb-home-blog__read .sb-arrow-circle img,
.sb-home-tools__cta .sb-arrow-circle img,
.sb-home-start__arrow img {
	transform: none;
}

.sb-btn--gold .sb-arrow-circle {
	background: var(--sb-color-white);
}
