/* =============================================================
   Doug's Upholstery & Canvas — nautical redesign
   ============================================================= */

:root {
	--navy: #0b3954;
	--navy-dark: #072a3d;
	--ocean: #0090c5;
	--ocean-light: #4fb8e0;
	--teal: #0f8f72;
	--coral: #ff6b4a;
	--coral-dark: #e5502f;
	--sand: #f7f2e7;
	--sand-dark: #eee3cb;
	--rope: #c9a876;
	--ink: #1c2b33;
	--white: #ffffff;

	--font-display: 'Anton', 'Arial Narrow', sans-serif;
	--font-body: 'Lato', Helvetica, Arial, sans-serif;

	--wrap: 1140px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(7, 42, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--sand);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
	color: var(--ocean);
	text-decoration: none;
}
a:hover { color: var(--coral); }

[x-cloak] { display: none !important; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--navy-dark);
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { line-height: 1.7; margin: 0 0 1.1em; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 0.5em;
}

.lede {
	font-size: 1.15rem;
	color: #47585f;
	max-width: 62ch;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-display);
	letter-spacing: 0.03em;
	font-size: 0.95rem;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	background: var(--coral);
	color: var(--white);
	box-shadow: var(--shadow);
	transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--coral-dark); color: var(--white); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn--ghost {
	background: transparent;
	color: var(--white);
	box-shadow: none;
	border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

.btn--navy {
	background: var(--navy);
	color: var(--white);
}
.btn--navy:hover { background: var(--navy-dark); color: var(--white); }

/* ---------------------------------------------------------------
   Top bar + header
   --------------------------------------------------------------- */

.top-bar {
	background: var(--navy-dark);
	color: var(--sand);
	font-size: 0.85rem;
}
.top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 0.5em 24px;
}
.top-bar__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-family: var(--font-display);
	letter-spacing: 0.04em;
	color: var(--ocean-light);
	white-space: nowrap;
}
.top-bar__badge svg { width: 15px; height: 15px; }
.top-bar__contact { display: flex; gap: 1.5em; }
.top-bar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--sand);
	white-space: nowrap;
}
.top-bar__contact a:hover { color: var(--coral); }
.top-bar__contact svg { width: 15px; height: 15px; }

.site-header {
	background: var(--white);
	border-bottom: 1px solid rgba(11, 57, 84, 0.08);
	position: sticky;
	top: 0;
	z-index: 40;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	gap: 1em;
}
.site-header__logo img {
	height: 75px;
	width: auto;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 1.4em;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	color: var(--navy-dark);
	font-family: var(--font-display);
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	padding: 0.4em 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-current {
	color: var(--coral);
	border-color: var(--coral);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--navy-dark);
	padding: 6px;
	cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

.site-nav-mobile { display: none; }

@media (max-width: 900px) {
	.site-nav { display: none; }
	.nav-toggle { display: block; }
	.site-nav-mobile.site-nav-mobile {
		display: block;
		background: var(--white);
		border-top: 1px solid rgba(11, 57, 84, 0.1);
	}
	.site-nav-mobile ul {
		list-style: none;
		margin: 0;
		padding: 0.5em 24px 1em;
	}
	.site-nav-mobile li { border-bottom: 1px solid rgba(11, 57, 84, 0.08); }
	.site-nav-mobile a {
		display: block;
		padding: 0.85em 0.2em;
		color: var(--navy-dark);
		font-family: var(--font-display);
		letter-spacing: 0.02em;
	}
	.site-nav-mobile a.is-current { color: var(--coral); }
	.top-bar__contact { gap: 1em; }
}

@media (max-width: 560px) {
	.top-bar__inner { flex-direction: column; align-items: flex-start; gap: 0.35em; }
	.site-header__logo img { height: 56px; }
}

/* ---------------------------------------------------------------
   Wave dividers
   --------------------------------------------------------------- */

.wave-divider { line-height: 0; margin-top: -1px; }
.wave-divider svg { width: 100%; height: 40px; display: block; }
.wave-divider--flip { transform: scaleY(-1); }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.hero {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: var(--sand);
	padding: 4.5em 0 3em;
	position: relative;
	overflow: hidden;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2.5em;
	align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(247, 242, 231, 0.85); }
.hero__actions { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1.5em; }
.hero__note {
	margin-top: 1.6em;
	font-size: 0.9rem;
	color: rgba(247, 242, 231, 0.7);
	border-left: 3px solid var(--coral);
	padding-left: 0.8em;
}

.hero__slideshow {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
	background: var(--navy-dark);
}
.hero__slideshow img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}
.hero__slideshow img.is-active { opacity: 1; }
.hero__dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 0.4em;
}
.hero__dots button {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
}
.hero__dots button.is-active { background: var(--coral); }

@media (max-width: 800px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero { padding: 3em 0 2.5em; text-align: left; }
}

/* ---------------------------------------------------------------
   Page header (non-home pages)
   --------------------------------------------------------------- */

.page-hero {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: var(--sand);
	padding: 3.2em 0 2.6em;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero .lede { color: rgba(247, 242, 231, 0.85); margin-bottom: 0; }

/* ---------------------------------------------------------------
   Sections & feature grid
   --------------------------------------------------------------- */

section.section { padding: 4em 0; }
.section--tight { padding: 2.5em 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--sand); }
.section--navy h2 { color: var(--white); }
.section-head { max-width: 70ch; margin-bottom: 2.2em; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.6em;
}
@media (max-width: 1000px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { padding: 1.4em 1.4em 1.6em; display: flex; flex-direction: column; flex: 1; }
.feature-card__body h3 { margin-bottom: 0.4em; }
.feature-card__body p { color: #4a5a61; flex: 1; }
.feature-card__link {
	font-family: var(--font-display);
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--ocean);
	margin-top: 0.6em;
}
.feature-card__link svg { width: 16px; height: 16px; }

/* Trust strip */
.trust-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5em;
	text-align: center;
}
.trust-strip__item { padding: 0.5em; }
.trust-strip__item svg { width: 34px; height: 34px; color: var(--coral); margin-bottom: 0.5em; }
.trust-strip__item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 0.2em; }
.trust-strip__item span { color: #52616a; font-size: 0.92rem; }

/* Two column content + image */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
	align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 800px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
}

.callout {
	background: var(--sand-dark);
	border-left: 4px solid var(--coral);
	border-radius: 6px;
	padding: 1.2em 1.4em;
	margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }

.content-block { max-width: 72ch; }
.content-block--wide { max-width: none; }

/* ---------------------------------------------------------------
   Gallery grid + lightbox
   --------------------------------------------------------------- */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.9em;
}
.gallery-item {
	position: relative;
	border: none;
	padding: 0;
	background: none;
	cursor: zoom-in;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__zoom {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(7, 42, 61, 0.65);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-item__zoom svg { width: 16px; height: 16px; }

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(7, 42, 61, 0.92);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 4vw;
}
.lightbox img {
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	margin: 0 auto;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3vh;
	text-align: center;
	color: var(--sand);
	font-size: 0.9rem;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--white);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--coral); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__prev svg,
.lightbox__next svg { width: 22px; height: 22px; }

@media (max-width: 600px) {
	.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5em; }
	.lightbox__prev { left: 4px; }
	.lightbox__next { right: 4px; }
}

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.6em;
}
.testimonial {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.8em;
	position: relative;
}
.testimonial::before {
	content: '\201C';
	font-family: var(--font-display);
	font-size: 3.5rem;
	color: var(--sand-dark);
	position: absolute;
	top: 0.2em;
	left: 0.5em;
	line-height: 1;
}
.testimonial blockquote {
	margin: 0.4em 0 1em;
	font-style: italic;
	color: #33444c;
	position: relative;
}
.testimonial cite {
	font-family: var(--font-display);
	font-style: normal;
	color: var(--navy-dark);
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------
   Contact page
   --------------------------------------------------------------- */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
}
.info-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.8em;
}
.info-card + .info-card { margin-top: 1.2em; }
.info-card h3 { display: flex; align-items: center; gap: 0.5em; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--coral); }
.info-card p { margin-bottom: 0.3em; }
.map-embed {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: none;
	width: 100%;
	height: 100%;
	min-height: 320px;
}
@media (max-width: 800px) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   CTA band
   --------------------------------------------------------------- */

.cta-band {
	background: var(--coral);
	color: var(--white);
	text-align: center;
	padding: 3em 0;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(255, 255, 255, 0.9); margin: 0 auto 1.4em; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.site-footer {
	background: var(--navy-dark);
	color: rgba(247, 242, 231, 0.85);
	margin-top: 0;
}
.site-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 2em;
	padding: 2.6em 24px 2em;
}
.site-footer__brand img { height: 40px; margin-bottom: 0.8em; }
.site-footer h3 {
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ocean-light);
	margin-bottom: 0.8em;
}
.site-footer p { margin-bottom: 0.5em; display: flex; gap: 0.5em; align-items: flex-start; font-size: 0.95rem; }
.site-footer p svg { width: 16px; height: 16px; margin-top: 0.2em; flex-shrink: 0; color: var(--ocean-light); }
.site-footer a { color: rgba(247, 242, 231, 0.85); }
.site-footer a:hover { color: var(--coral); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.5em; }
.payment-icons { display: flex; gap: 0.6em; margin-bottom: 1em; }
.payment-icons img { height: 22px; width: auto; background: var(--white); border-radius: 4px; padding: 3px 5px; }
.site-footer__note { font-size: 0.85rem; color: rgba(247, 242, 231, 0.65); display: block; }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.2em 24px;
	font-size: 0.85rem;
	color: rgba(247, 242, 231, 0.55);
	text-align: center;
}

@media (max-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.site-footer__inner { grid-template-columns: 1fr; }
}
