:root {
	--sp-bg: #ffffff;
	--sp-soft: #f6f3ee;
	--sp-ink: #24302b;
	--sp-muted: #69756e;
	--sp-line: #dedbd3;
	--sp-green: #1f6f55;
	--sp-green-dark: #164d3d;
	--sp-amber: #b7791f;
	--sp-blue: #315f7d;
	--sp-radius: 8px;
	--sp-shadow: 0 14px 35px rgba(36, 48, 43, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-margin-top: 72px;
	scroll-padding-top: 72px;
}

body.sp-theme {
	margin: 0;
	background: var(--sp-bg);
	color: var(--sp-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.sp-theme.sp-has-mobile-contact {
	padding-bottom: 0;
}

body.sp-theme a {
	color: inherit;
}

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

.sp-theme-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid var(--sp-line);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px) saturate(1.25);
	transition: background-color 160ms ease, border-color 160ms ease;
}

.sp-theme-header--compact {
	background: rgba(255, 255, 255, 0.98);
}

.sp-theme-header__inner,
.sp-theme-footer__inner,
.sp-theme-main,
.sp-theme-breadcrumb {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.sp-theme-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	min-height: 56px;
	transition: min-height 160ms ease;
}

.sp-theme-header--compact .sp-theme-header__inner {
	min-height: 50px;
}

.sp-theme-brand a,
.sp-theme-brand__text {
	display: grid;
	gap: 2px;
	color: var(--sp-ink);
	text-decoration: none;
}

.sp-theme-brand strong {
	font-size: 1.06rem;
	line-height: 1;
}

.sp-theme-brand span {
	color: var(--sp-muted);
	font-size: 0.72rem;
}

.sp-theme-menu,
.sp-theme-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-theme-menu {
	justify-content: center;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.sp-theme-menu::-webkit-scrollbar {
	display: none;
}

.sp-theme-menu a,
.sp-theme-footer-menu a {
	color: var(--sp-ink);
	font-weight: 700;
	text-decoration: none;
}

.sp-theme-menu a {
	display: inline-flex;
	padding: 7px 8px;
	font-size: 0.86rem;
	white-space: nowrap;
}

.sp-theme-menu a:focus-visible,
.sp-theme-compact-cta:focus-visible,
.sp-theme-menu-toggle:focus-visible,
.sp-mobile-contact a:focus-visible {
	outline: 2px solid rgba(49, 95, 125, 0.7);
	outline-offset: 3px;
}

.sp-theme-header-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}

.sp-theme-compact-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 32px;
	border: 1px solid rgba(31, 111, 85, 0.2);
	border-radius: 999px;
	padding: 6px 13px;
	background: rgba(31, 111, 85, 0.08);
	color: var(--sp-green-dark);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.sp-theme-phone-cta {
	background: var(--sp-green);
	color: #fff;
}

.sp-theme-whatsapp-cta {
	border-color: rgba(31, 111, 85, 0.24);
	background: #eef8f3;
	color: var(--sp-green-dark);
}

.sp-theme-cta-icon {
	display: inline-grid;
	min-width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	color: var(--sp-green-dark);
	font-size: 0.67rem;
	font-weight: 900;
	line-height: 1;
}

.sp-theme-menu-toggle {
	display: none;
	width: 38px;
	height: 38px;
	border: 1px solid var(--sp-line);
	border-radius: 999px;
	padding: 0;
	background: #fff;
	color: var(--sp-ink);
}

.sp-theme-menu-toggle__line {
	display: block;
	width: 16px;
	height: 2px;
	margin: 3px auto;
	border-radius: 999px;
	background: currentColor;
}

.sp-theme-breadcrumb {
	display: flex;
	gap: 8px;
	align-items: center;
	padding-block: 10px;
	color: var(--sp-muted);
	font-size: 0.84rem;
}

.sp-theme-breadcrumb a {
	color: var(--sp-green-dark);
	text-decoration: none;
}

.sp-theme-main {
	padding: 42px 0 60px;
}

.sp-theme-page-title {
	margin-bottom: 28px;
}

.sp-theme-page-title h1 {
	max-width: 840px;
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.8rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.sp-theme-page-title p {
	max-width: 760px;
	color: var(--sp-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.sp-theme-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sp-theme-post-card {
	overflow: hidden;
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius);
	background: #fff;
	box-shadow: 0 10px 24px rgba(36, 48, 43, 0.05);
}

.sp-theme-post-card__image {
	display: grid;
	aspect-ratio: 4 / 3;
	place-items: center;
	background: var(--sp-soft);
	color: var(--sp-muted);
	text-decoration: none;
}

.sp-theme-post-card__image img,
.sp-theme-featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sp-theme-post-card__body {
	padding: 18px;
}

.sp-theme-post-card h2 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	line-height: 1.25;
}

.sp-theme-post-card h2 a,
.sp-theme-readmore {
	color: var(--sp-ink);
	text-decoration: none;
}

.sp-theme-post-card p {
	color: var(--sp-muted);
	line-height: 1.65;
}

.sp-theme-meta {
	margin: 0 0 8px;
	color: var(--sp-amber);
	font-size: 0.82rem;
	font-weight: 800;
}

.sp-theme-readmore {
	font-weight: 800;
}

.sp-theme-single {
	max-width: 900px;
}

.sp-theme-content {
	font-size: 1.05rem;
	line-height: 1.8;
}

.sp-theme-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sp-radius);
}

.sp-theme-featured {
	overflow: hidden;
	margin-top: 20px;
	border-radius: var(--sp-radius);
}

.sp-theme-footer {
	border-top: 1px solid var(--sp-line);
	background: var(--sp-soft);
}

.sp-theme-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	padding: 34px 0;
}

.sp-theme-footer p {
	max-width: 620px;
	color: var(--sp-muted);
	line-height: 1.65;
}

.sp-theme-footer-menu {
	justify-content: flex-end;
}

.sp-hero,
.sp-page-hero,
.sp-section,
.sp-price-strip,
.sp-cta-bar,
.sp-single {
	max-width: 1180px;
	margin: 0 auto;
	padding: 34px 20px;
}

.sp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding-top: clamp(32px, 6vw, 78px);
}

.sp-hero h1,
.sp-page-hero h1 {
	max-width: 820px;
	margin: 0 0 16px;
	font-size: clamp(2.1rem, 4.5vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: 0;
}

.sp-hero__intro,
.sp-page-hero p,
.sp-section__head p {
	max-width: 760px;
	color: var(--sp-muted);
	font-size: 1.06rem;
	line-height: 1.7;
}

.sp-eyebrow,
.sp-badge {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 12px;
	border: 1px solid #e6d4aa;
	border-radius: 999px;
	padding: 5px 10px;
	background: #fff7e8;
	color: #7a4f16;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
}

.sp-hero__note {
	color: var(--sp-muted);
	font-size: 0.92rem;
}

.sp-hero__media {
	overflow: hidden;
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius);
	background: var(--sp-soft);
	box-shadow: var(--sp-shadow);
}

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

.sp-section h2,
.sp-cta-bar h2 {
	margin: 0 0 10px;
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: 0;
}

.sp-contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.sp-button,
.sp-quick-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid transparent;
	border-radius: var(--sp-radius);
	padding: 10px 14px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
}

.sp-phone-button {
	background: var(--sp-green);
	color: #fff;
}

.sp-whatsapp-button {
	border-color: #b8d9ca;
	background: #f0f8f4;
	color: var(--sp-green-dark);
}

.sp-button--ghost,
.sp-quick-actions a {
	border-color: var(--sp-line);
	background: #fff;
	color: var(--sp-ink);
}

.sp-empty {
	border: 1px dashed var(--sp-line);
	border-radius: var(--sp-radius);
	padding: 22px;
	background: #fffdf8;
}

.sp-mobile-contact {
	display: none;
}

@media (max-width: 980px) {
	.sp-theme-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		min-height: 54px;
		gap: 10px;
		padding: 6px 0;
	}

	.sp-theme-header--compact .sp-theme-header__inner {
		min-height: 50px;
	}

	.sp-theme-brand {
		min-width: 0;
	}

	.sp-theme-header__cta {
		grid-column: 2;
		grid-row: 1;
	}

	.sp-theme-menu-toggle {
		display: block;
		grid-column: 3;
		grid-row: 1;
	}

	.sp-theme-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		display: none;
		min-width: 0;
		border-top: 1px solid rgba(222, 219, 211, 0.72);
		padding-top: 8px;
	}

	.sp-theme-nav--open {
		display: block;
	}

	.sp-theme-menu {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 6px;
	}

	.sp-theme-menu a {
		border: 1px solid var(--sp-line);
		border-radius: 999px;
		background: #fff;
	}

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

	.sp-hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.sp-theme-header__inner,
	.sp-theme-footer__inner,
	.sp-theme-main,
	.sp-theme-breadcrumb {
		width: min(100% - 28px, 1180px);
	}

	.sp-theme-post-grid,
	.sp-theme-footer__inner {
		grid-template-columns: 1fr;
	}

	.sp-theme-footer-menu {
		justify-content: flex-start;
	}

	.sp-theme-brand span {
		display: none;
	}

	.sp-theme-header-actions {
		gap: 6px;
	}

	.sp-theme-compact-cta {
		min-height: 34px;
		padding: 6px 9px;
	}

	.sp-theme-cta-icon + span {
		display: none;
	}

	.sp-hero__media {
		display: none;
	}

	.sp-contact-row,
	.sp-button {
		width: 100%;
	}

	.sp-theme-header .sp-contact-row,
	.sp-theme-header .sp-button,
	.sp-theme-header-actions,
	.sp-theme-compact-cta {
		width: auto;
	}

	body.sp-theme.sp-has-mobile-contact {
		padding-bottom: calc(70px + env(safe-area-inset-bottom));
	}

	.sp-mobile-contact {
		position: fixed;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		left: 12px;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		border: 1px solid rgba(222, 219, 211, 0.82);
		border-radius: 14px;
		padding: 8px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 14px 30px rgba(36, 48, 43, 0.14);
		backdrop-filter: blur(16px);
	}

	.sp-mobile-contact a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		border-radius: 8px;
		padding: 10px;
		font-size: 0.92rem;
		font-weight: 850;
		text-decoration: none;
	}

	.sp-mobile-contact a:only-child {
		grid-column: 1 / -1;
	}

	.sp-mobile-contact__phone {
		background: var(--sp-green);
		color: #fff;
	}

	.sp-mobile-contact__whatsapp {
		border: 1px solid rgba(31, 111, 85, 0.24);
		background: #eef8f3;
		color: var(--sp-green-dark);
	}
}
