/**
 * E&B Hardwood Floors core styles.
 * Author: Fudo
 * Date:   2026-08-09
 */

:root {
	--eb-ink: #191714;
	--eb-ink-soft: #4a443c;
	--eb-cream: #f6f1e8;
	--eb-cream-deep: #ece3d5;
	--eb-oak: #b8792a;
	--eb-oak-deep: #8f5c1c;
	--eb-line: rgba(25, 23, 20, 0.12);
	--eb-white: #fff;

	--gutter: 1.5rem;
	--eb-gutter-lg: 2.75rem;
	--eb-radius: 2px;
	--eb-radius-lg: 4px;
	--eb-shadow: 0 18px 44px -24px rgba(25, 23, 20, 0.55);
	--eb-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--eb-slider-height: clamp(420px, 68vh, 680px);
	--eb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.eb-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.eb-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.95rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--eb-radius);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.25s var(--eb-ease), color 0.25s var(--eb-ease), transform 0.25s var(--eb-ease);
}

.eb-btn--solid {
	background: var(--eb-oak);
	color: var(--eb-white);
}

.eb-btn--solid:hover,
.eb-btn--solid:focus-visible {
	background: var(--eb-oak-deep);
	color: var(--eb-white);
	transform: translateY(-2px);
}

.eb-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

.eb-btn--ghost:hover,
.eb-btn--ghost:focus-visible {
	background: var(--eb-ink);
	border-color: var(--eb-ink);
	color: var(--eb-white);
}

.eb-btn .eb-icon {
	width: 1.05em;
	height: 1.05em;
	stroke-width: 20;
}

/* ------------------------------------------------------------------ */
/* Slider                                                              */
/* ------------------------------------------------------------------ */
.eb-slider {
	position: relative;
	overflow: hidden;
	background: var(--eb-ink);
	height: var(--eb-slider-height);
}

.eb-slider__track {
	position: absolute;
	inset: 0;
}

.eb-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--eb-ease), visibility 0.7s;
}

.eb-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.eb-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.06);
	transition: transform 7s linear;
}

.eb-slide.is-active .eb-slide__img {
	transform: scale(1);
}

.eb-slide__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(25, 23, 20, 0.9) 0%, rgba(25, 23, 20, 0.62) 42%, rgba(25, 23, 20, 0.12) 78%),
		linear-gradient(to top, rgba(25, 23, 20, 0.6), transparent 45%);
}

.eb-slide__body {
	position: absolute;
	inset: auto auto 0 0;
	width: min(640px, 100%);
	padding: var(--eb-gutter-lg);
	padding-bottom: 5.5rem;
	color: var(--eb-white);
}

.eb-slide__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--eb-oak);
}

.eb-slide__heading {
	margin: 0 0 0.9rem;
	font-family: var(--eb-font-display);
	font-size: clamp(2rem, 4.4vw, 3.35rem);
	font-weight: 500;
	line-height: 1.06;
	color: var(--eb-white);
}

.eb-slide__text {
	margin: 0 0 1.6rem;
	max-width: 46ch;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(246, 241, 232, 0.85);
}

.eb-slide.is-active .eb-slide__eyebrow,
.eb-slide.is-active .eb-slide__heading,
.eb-slide.is-active .eb-slide__text,
.eb-slide.is-active .eb-btn {
	animation: eb-rise 0.75s var(--eb-ease) both;
}

.eb-slide.is-active .eb-slide__heading { animation-delay: 0.08s; }
.eb-slide.is-active .eb-slide__text    { animation-delay: 0.16s; }
.eb-slide.is-active .eb-btn            { animation-delay: 0.24s; }

@keyframes eb-rise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.eb-slider__controls {
	position: absolute;
	left: var(--eb-gutter-lg);
	bottom: var(--gutter);
	display: flex;
	align-items: center;
	gap: 1rem;
	z-index: 2;
}

.eb-slider__arrow {
	appearance: none;
	box-shadow: none !important;
	outline: none;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(246, 241, 232, 0.12);
	border: 1px solid rgba(246, 241, 232, 0.3) !important;
	border-radius: 50% !important;
	color: var(--eb-white);
	font-size: 1.05rem;
	cursor: pointer;
	transition: background-color 0.25s var(--eb-ease);
}

.eb-slider__arrow:hover,
.eb-slider__arrow:focus-visible {
	background: var(--eb-oak);
	border-color: var(--eb-oak);
}

.eb-slider__dots {
	display: flex;
	gap: 0.5rem;
}

.eb-slider__dot {
	width: 28px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	appearance: none;
	cursor: pointer;
	position: relative;
}

.eb-slider__dot::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 28px;
	height: 2px;
	background: rgba(246, 241, 232, 0.35);
	transition: background-color 0.25s var(--eb-ease);
}

.eb-slider__dot.is-active::after {
	background: var(--eb-oak);
}

/* ------------------------------------------------------------------ */
/* Service cards                                                       */
/* ------------------------------------------------------------------ */
.eb-grid {
	display: grid;
	gap: var(--gutter);
}

.eb-grid--services {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin-top: clamp(2rem, 4vw, 3.25rem);
}

.eb-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: var(--eb-gutter-lg) var(--gutter) var(--gutter);
	background: var(--eb-white);
	border: 1px solid var(--eb-line);
	border-top: 3px solid var(--eb-oak);
	border-radius: var(--eb-radius);
	color: var(--eb-ink);
	text-decoration: none !important;
	transition: transform 0.3s var(--eb-ease), box-shadow 0.3s var(--eb-ease);
}

.eb-card:hover,
.eb-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--eb-shadow);
	color: var(--eb-ink);
	text-decoration: none !important;
}

.eb-card__icon {
	font-size: 2rem;
	color: var(--eb-oak);
	line-height: 1;
}

.eb-card__title {
	font-family: var(--eb-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.2;
}

.eb-card__text {
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--eb-ink-soft);
	flex: 1 1 auto;
}

.eb-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin-top: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--eb-oak-deep);
}

.eb-card:hover .eb-card__more .eb-icon {
	transform: translateX(4px);
}

.eb-card__more .eb-icon {
	transition: transform 0.25s var(--eb-ease);
}

/* ------------------------------------------------------------------ */
/* Gallery                                                             */
/* ------------------------------------------------------------------ */
.eb-gallery {
	columns: var(--eb-gallery-cols, 3);
	column-gap: var(--gutter);
}

.eb-gallery__img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: var(--gutter);
	border-radius: var(--eb-radius);
	break-inside: avoid;
	transition: filter 0.35s var(--eb-ease), transform 0.35s var(--eb-ease);
}

.eb-gallery__img:hover {
	filter: saturate(1.08);
	transform: scale(1.012);
}

@media (max-width: 900px) {
	.eb-gallery { columns: 2; }
}

@media (max-width: 600px) {
	.eb-gallery { columns: 1; }
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.eb-faq {
	border-top: 1px solid var(--eb-line);
}

.eb-faq__item {
	border-bottom: 1px solid var(--eb-line);
}

.eb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gutter);
	padding: 1.15rem 0;
	font-family: var(--eb-font-display);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--eb-ink);
	cursor: pointer;
	list-style: none;
}

.eb-faq__q::-webkit-details-marker { display: none; }

.eb-faq__q::after {
	content: "+";
	font-size: 1.4rem;
	color: var(--eb-oak);
	transition: transform 0.25s var(--eb-ease);
}

.eb-faq__item[open] .eb-faq__q::after {
	transform: rotate(45deg);
}

.eb-faq__a p {
	margin: 0;
	padding: 0 0 1.3rem;
	max-width: 72ch;
	color: var(--eb-ink-soft);
	line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* Areas and contact details                                           */
/* ------------------------------------------------------------------ */
.eb-areas {
	list-style: none;
	margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0.6rem var(--gutter);
}

.eb-areas__item {
	display: flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--eb-line);
	font-size: 0.98rem;
	color: var(--eb-ink);
}

.eb-areas__item .eb-icon {
	color: var(--eb-oak);
	font-size: 1.05rem;
}

.eb-details {
	list-style: none;
	margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

.eb-details__row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	font-size: 1.02rem;
	color: var(--eb-ink);
}

.eb-details__row .eb-icon {
	font-size: 1.4rem;
	color: var(--eb-oak);
	margin-top: 0.1rem;
}

.eb-details__label {
	display: block;
	font-size: 0.76rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--eb-ink-soft);
	margin-bottom: 0.15rem;
}

.eb-details__row a {
	color: var(--eb-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--eb-oak);
}

.eb-details__row a:hover {
	color: var(--eb-oak-deep);
}

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */
.eb-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--eb-gutter-lg);
	padding: var(--eb-gutter-lg);
	background: var(--eb-ink);
	border-radius: var(--eb-radius-lg);
	color: var(--eb-cream);
}

.eb-cta__heading {
	margin: 0 0 0.4rem;
	font-family: var(--eb-font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--eb-white);
}

.eb-cta__text {
	margin: 0;
	color: rgba(246, 241, 232, 0.75);
}

.eb-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.eb-cta .eb-btn--ghost {
	color: var(--eb-cream);
	border-color: rgba(246, 241, 232, 0.4);
}

.eb-cta .eb-btn--ghost:hover {
	background: var(--eb-cream);
	border-color: var(--eb-cream);
	color: var(--eb-ink);
}

/* ------------------------------------------------------------------ */
/* Form                                                                */
/* ------------------------------------------------------------------ */
.eb-form-wrap {
	background: var(--eb-white);
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius-lg);
	padding: var(--eb-gutter-lg);
	box-shadow: var(--eb-shadow);
}

.eb-form__title {
	margin: 0 0 1.4rem;
	font-family: var(--eb-font-display);
	font-size: 1.65rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--eb-ink);
}

.eb-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gutter);
}

.eb-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.eb-field--full {
	grid-column: 1 / -1;
}

.eb-field__label {
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--eb-ink-soft);
}

.eb-field__label em {
	font-style: normal;
	color: var(--eb-oak-deep);
}

.eb-field input,
.eb-field select,
.eb-field textarea {
	width: 100%;
	padding: 0.85rem 0.9rem;
	background: var(--eb-cream);
	border: 1px solid var(--eb-line);
	border-radius: var(--eb-radius);
	font-family: inherit;
	font-size: 1rem;
	color: var(--eb-ink);
	transition: border-color 0.2s var(--eb-ease), background-color 0.2s var(--eb-ease);
}

.eb-field input:focus,
.eb-field select:focus,
.eb-field textarea:focus {
	outline: none;
	background: var(--eb-white);
	border-color: var(--eb-oak);
	box-shadow: 0 0 0 3px rgba(184, 121, 42, 0.16);
}

.eb-field textarea {
	resize: vertical;
	min-height: 128px;
}

.eb-form__submit {
	margin-top: var(--gutter);
	min-height: 48px;
}

.eb-form__submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.eb-form__note {
	margin: 0.9rem 0 0;
	font-size: 0.85rem;
	color: var(--eb-ink-soft);
}

.eb-form__status {
	margin: 0.9rem 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.eb-form__status.is-ok    { color: #2f6b3a; }
.eb-form__status.is-error { color: #a3312a; }

.eb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.eb-empty {
	padding: var(--eb-gutter-lg);
	background: var(--eb-cream-deep);
	border-radius: var(--eb-radius);
	color: var(--eb-ink-soft);
	text-align: center;
}

@media (max-width: 767px) {
	:root {
		--gutter: 1.15rem;
		--eb-gutter-lg: 1.5rem;
	}

	.eb-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.eb-slide__body {
		padding-bottom: 6rem;
	}

	.eb-slider__controls {
		left: var(--eb-gutter-lg);
	}

	.eb-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eb-slide,
	.eb-slide__img,
	.eb-btn,
	.eb-card,
	.eb-gallery__img {
		transition: none;
		animation: none;
	}
}

/* ------------------------------------------------------------------ */
/* Page layout helpers (used by plugin-built page content)             */
/* ------------------------------------------------------------------ */
.eb-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.eb-section {
	padding-top: clamp(3rem, 7vw, 5.5rem);
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.eb-section--tint {
	background: var(--eb-cream);
	padding-left: var(--eb-gutter-lg);
	padding-right: var(--eb-gutter-lg);
}

.eb-wrap {
	width: min(1180px, 100%);
	margin-inline: auto;
}

.eb-lede {
	margin: 0 0 1.5rem;
	max-width: 62ch;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.65;
	color: var(--eb-ink-soft);
}

.eb-eyebrow {
	margin: 0 0 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--eb-oak-deep);
}

.eb-h2 {
	margin: 0 0 1.25rem;
	font-family: var(--eb-font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
	font-weight: 500;
	line-height: 1.12;
	color: var(--eb-ink);
}

.eb-h3 {
	margin: 2rem 0 0.75rem;
	font-family: var(--eb-font-display);
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--eb-ink);
}

.eb-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.eb-split--form {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.eb-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--gutter);
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-stats__n {
	display: block;
	font-family: var(--eb-font-display);
	font-size: clamp(2rem, 3.6vw, 2.8rem);
	font-weight: 600;
	line-height: 1;
	color: var(--eb-oak);
}

.eb-stats__l {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.92rem;
	color: var(--eb-ink-soft);
}

.eb-checklist {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.eb-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	line-height: 1.55;
	color: var(--eb-ink-soft);
}

.eb-checklist li::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 0.28em;
	border-radius: 50%;
	background: var(--eb-oak);
	box-shadow: inset 0 0 0 4px var(--eb-cream);
}

@media (max-width: 900px) {
	.eb-split,
	.eb-split--form {
		grid-template-columns: minmax(0, 1fr);
	}
}

.eb-card,
.eb-card:hover,
.eb-card:focus-visible,
.eb-card span,
.eb-card .eb-card__title,
.eb-card .eb-card__text,
.eb-card .eb-card__more {
eb-hardwood.css text-decoration: none !important;
eb-hardwood.css border-bottom: 0 !important;
eb-hardwood.css box-shadow: none !important;
}
