/**
 * Floors Touch — brand tokens and layout overrides.
 * Gold accent from live Divi palette (#cbb178); dark ink for chrome.
 */

:root {
	--color-brand-primary: #cbb178;
	--color-brand-primary-hover: #b89a5f;
	--color-brand-secondary: #1a1a1a;
	--color-brand-navy: #1a1a1a;
	--color-brand-soft: #f5f2eb;
	--color-brand-dark: #111111;
	--color-brand-light: #f7f5f0;
	--color-brand-warm: #f5f2eb;

	--color-surface: #f7f5f0;
	--color-surface-card: #ffffff;
	--color-ink: #111111;
	--color-muted: #52525b;
	--color-border: #e4e4e7;
}

/* Header logo on light surfaces */
.cai-header__logo {
	max-height: 2.75rem;
}

/* Migrated page content */
.ft-page-hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 55%, #3d3426 100%);
	color: #fff;
}

.ft-page-hero h1 {
	color: #fff;
}

.ft-page-hero .ft-lede {
	color: rgba(255, 255, 255, 0.85);
}

.ft-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.ft-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ft-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ft-card {
	background: var(--color-surface-card);
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ft-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.ft-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.ft-card h3 {
	margin: 0;
	font-size: 1.125rem;
	color: var(--color-ink);
}

.ft-card p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.ft-card a.ft-card-link {
	margin-top: auto;
	color: var(--color-brand-primary-hover);
	font-weight: 600;
	text-decoration: none;
}

.ft-card a.ft-card-link:hover {
	text-decoration: underline;
}

.ft-cta-band {
	background: var(--color-brand-dark);
	color: #fff;
	border-radius: 0.75rem;
	padding: 2rem;
}

.ft-cta-band a {
	color: var(--color-brand-primary);
}

.ft-contact-form {
	display: grid;
	gap: 1rem;
	max-width: 40rem;
}

.ft-contact-form label {
	display: grid;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--color-ink);
}

.ft-contact-form input,
.ft-contact-form textarea,
.ft-contact-form select {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	padding: 0.75rem 0.9rem;
	font: inherit;
	background: #fff;
}

.ft-contact-form button {
	justify-self: start;
	background: var(--color-brand-primary);
	color: #111;
	border: 0;
	border-radius: 0.5rem;
	padding: 0.85rem 1.4rem;
	font-weight: 700;
	cursor: pointer;
}

.ft-contact-form button:hover {
	background: var(--color-brand-primary-hover);
}

.ft-contact-form .ft-field-error {
	color: #b91c1c;
	font-size: 0.85rem;
	font-weight: 500;
}

.ft-contact-form .ft-form-status {
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	font-weight: 600;
}

.ft-contact-form .ft-form-status.is-ok {
	background: #ecfdf5;
	color: #065f46;
}

.ft-contact-form .ft-form-status.is-err {
	background: #fef2f2;
	color: #991b1b;
}

.ft-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.ft-prose h2,
.ft-prose h3 {
	scroll-margin-top: 6rem;
}
