:root {
	--tihm-sand: #f6efe3;
	--tihm-sand-strong: #eadbc2;
	--tihm-wood: #7b4f2c;
	--tihm-wood-dark: #4d311b;
	--tihm-palm: #365f45;
	--tihm-palm-soft: #6f8f6a;
	--tihm-charcoal: #1f1b18;
	--tihm-white: #ffffff;
	--tihm-shadow: 0 18px 45px rgba(31, 27, 24, 0.12);
	--tihm-radius: 22px;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--tihm-charcoal);
	background: #fffdf9;
}

body.admin-bar .tihm-mobile-cta {
	bottom: 46px;
}

@media (min-width: 783px) {
	body.admin-bar .tihm-mobile-cta {
		bottom: 32px;
	}
}

.tihm-brand-title,
.wp-block-site-title,
.tihm-section .tihm-display {
	font-family: 'Fredericka the Great', cursive;
	letter-spacing: 0.02em;
}

.tihm-section {
	position: relative;
}

.tihm-shell {
	padding: clamp(1rem, 2vw, 1.5rem);
}

.tihm-hero-card,
.tihm-card,
.tihm-cta-card,
.tihm-contact-card,
.tihm-gallery-panel {
	border-radius: var(--tihm-radius);
	box-shadow: var(--tihm-shadow);
	overflow: hidden;
}

.tihm-hero-card {
	background: linear-gradient(135deg, rgba(54, 95, 69, 0.92), rgba(77, 49, 27, 0.92));
	color: var(--tihm-white);
}

.tihm-hero-card .wp-block-cover__inner-container {
	padding: clamp(1.5rem, 4vw, 4rem);
}

.tihm-kicker {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	font-weight: 700;
	opacity: 0.9;
}

.tihm-lead {
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.75;
}

.tihm-button,
.wp-block-button.is-style-tihm-primary .wp-block-button__link,
.wp-block-button.is-style-tihm-secondary .wp-block-button__link {
	border-radius: 999px;
	font-weight: 700;
	padding: 0.95rem 1.4rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wp-block-button.is-style-tihm-primary .wp-block-button__link {
	background: var(--tihm-white);
	color: var(--tihm-wood-dark);
}

.wp-block-button.is-style-tihm-secondary .wp-block-button__link {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--tihm-white);
}

.wp-block-button.is-style-tihm-primary .wp-block-button__link:hover,
.wp-block-button.is-style-tihm-secondary .wp-block-button__link:hover,
.tihm-mobile-cta__button:hover {
	transform: translateY(-1px);
}

.tihm-section-heading {
	margin-bottom: 0.75rem;
}

.tihm-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	margin: 0;
	color: var(--tihm-wood-dark);
}

.tihm-section-heading p {
	margin-top: 0.5rem;
	color: rgba(31, 27, 24, 0.75);
	font-size: 1rem;
}

.tihm-card {
	background: var(--tihm-white);
	padding: clamp(1.25rem, 2vw, 1.75rem);
	height: 100%;
	border: 1px solid rgba(123, 79, 44, 0.08);
}

.tihm-card h3 {
	margin-top: 0.4rem;
	margin-bottom: 0.75rem;
	font-size: 1.35rem;
	color: var(--tihm-wood-dark);
}

.tihm-card p,
.tihm-contact-card p,
.tihm-gallery-panel p {
	margin: 0;
	line-height: 1.7;
	color: rgba(31, 27, 24, 0.84);
}

.tihm-icon-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	background: var(--tihm-sand);
	color: var(--tihm-wood-dark);
	font-size: 1.25rem;
	font-weight: 800;
}

.tihm-surface-soft {
	background: linear-gradient(180deg, #fffdf9 0%, var(--tihm-sand) 100%);
}

.tihm-surface-dark {
	background: linear-gradient(160deg, var(--tihm-wood-dark) 0%, #2f251d 100%);
	color: var(--tihm-white);
}

.tihm-surface-dark .tihm-section-heading h2,
.tihm-surface-dark h3,
.tihm-surface-dark p,
.tihm-surface-dark strong {
	color: var(--tihm-white);
}

.tihm-check-list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.tihm-check-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.85rem;
	line-height: 1.6;
}

.tihm-check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 800;
	color: var(--tihm-sand-strong);
}

.tihm-gallery-preview .wp-block-image,
.tihm-gallery-panel .wp-block-image,
.tihm-gallery-grid .wp-block-image {
	margin-bottom: 0;
}

.tihm-gallery-preview img,
.tihm-gallery-panel img,
.tihm-gallery-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
}

.tihm-contact-card {
	background: var(--tihm-white);
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid rgba(123, 79, 44, 0.12);
}

.tihm-contact-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

.tihm-contact-list li {
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.tihm-contact-list a {
	color: var(--tihm-palm);
	text-decoration: none;
}

.tihm-gallery-panel {
	background: linear-gradient(180deg, #fffdf9 0%, #f7f1e8 100%);
	padding: clamp(1.5rem, 3vw, 2rem);
}

.tihm-mobile-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 0.75rem;
	pointer-events: none;
}

.tihm-mobile-cta__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: 680px;
	margin: 0 auto;
	pointer-events: auto;
}

.tihm-mobile-cta__button {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 64px;
	padding: 0.9rem 1rem;
	border-radius: 18px;
	text-decoration: none;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
	color: var(--tihm-white);
	font-weight: 800;
	background: var(--tihm-wood-dark);
}

.tihm-mobile-cta__button small {
	font-size: 0.75rem;
	font-weight: 600;
	opacity: 0.88;
}

.tihm-mobile-cta__button--whatsapp {
	background: #1c7c54;
}

@media (min-width: 782px) {
	.tihm-mobile-cta {
		display: none;
	}
}

@media (max-width: 781px) {
	body {
		padding-bottom: 88px;
	}

	.is-layout-flex.tihm-mobile-stack {
		gap: 0.9rem;
	}

	.is-layout-flex.tihm-mobile-stack > * {
		width: 100%;
	}

	.tihm-hero-card .wp-block-cover__inner-container {
		padding: 1.35rem;
	}

		.tihm-section-heading h2 {
		font-size: 2rem;
	}
}
