/* Alternating section backgrounds for rhythm */
.apart-grid { background: var(--color-bg-cream); }
.additional-services { background: var(--color-bg-gray); }
.mid-cta-band { background: var(--color-accent-gold-tint); }

/* Lead form (hero discount form) */
.lead-form {
	background: var(--color-white);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.12);
	padding: 32px;
	max-width: 420px;
}
.lead-form__heading { margin-bottom: 4px; color: var(--color-text-primary); }
.lead-form__subheading { color: var(--color-text-dark-gray); margin-bottom: 20px; }

/* Brand logo strip — boxed to the same container width as the rest of the
   page (not full-bleed), with enough duplicated logo sets that the track is
   always wider than the visible window at every point in the loop. With
   only 5 source logos that means 4 copies, not 2 — 2 copies left the track
   narrower than the window on most screens, so it looked pinned to the left
   with dead space before it looped back in from the right. */
.brand-logos { padding: 40px 0; }
.brand-logos__viewport { overflow: hidden; }
.brand-logos__track {
	display: flex;
	gap: 64px;
	align-items: center;
	animation: alpine-scroll 25s linear infinite;
	width: max-content;
}
.brand-logos__track img { height: 32px; width: auto; opacity: 0.7; }
@keyframes alpine-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-25%); }
}

/* Apart grid (6 benefits) */
.apart-grid__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 900px;
	margin: 0 auto;
}
.apart-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	background: var(--color-white);
	border-radius: 12px;
	padding: 28px 16px;
}
.apart-grid__item img { width: 40px; height: 40px; }
.apart-grid__item span { font-family: var(--font-body-medium); }

/* Portfolio carousel */
.portfolio__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.portfolio__track::-webkit-scrollbar { display: none; }
.portfolio__item {
	flex: 0 0 180px;
	scroll-snap-align: start;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.portfolio__item img { aspect-ratio: 2/3; object-fit: cover; }

/* Additional services grid */
.additional-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.additional-services__item {
	background: var(--color-white);
	border-radius: 12px;
	padding: 28px 20px;
	text-align: center;
}
.additional-services__item img { width: 36px; height: 36px; margin: 0 auto 14px; }
.additional-services__item h3 { font-size: 16px; margin: 0; }

/* Referral banner */
.referral-banner { background: var(--color-primary-green); color: var(--color-white); }
.referral-banner__inner {
	display: flex;
	align-items: center;
	gap: 48px;
}
/* Frame div with overflow:hidden crops the photo to a fixed aspect ratio —
   more reliable than relying on object-fit alone to clip a flex item, which
   doesn't always paint clipped correctly. */
.referral-banner__hero-frame {
	flex: 0 0 280px;
	aspect-ratio: 28 / 23;
	border-radius: 12px;
	overflow: hidden;
}
.referral-banner__hero {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.referral-banner__content h2 { color: var(--color-white); }
.referral-banner__content p { color: rgba(255,255,255,0.85); }

/* Process steps */
.process-steps__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.process-steps__item {
	background: var(--color-bg-cream);
	border-radius: 12px;
	padding: 32px 24px;
	position: relative;
}
.process-steps__icon { width: 44px; height: 44px; margin-bottom: 12px; }
.process-steps__label {
	display: block;
	font-family: var(--font-body-bold);
	color: var(--color-accent-gold-alt);
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}
.process-steps__item h4 { font-size: 15px; margin: 20px 0 10px; font-family: var(--font-body-bold); }
.process-steps__item ul { display: flex; flex-direction: column; gap: 8px; }
.process-steps__item ul li {
	font-size: 14px;
	padding-left: 18px;
	position: relative;
	color: var(--color-text-dark-gray);
}
.process-steps__item ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary-green);
}

/* Testimonials */
.testimonials { background: var(--color-bg-gray); }
.testimonials__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.testimonials__card {
	background: var(--color-white);
	border-radius: 12px;
	padding: 28px;
	margin: 0;
}
.testimonials__card p { font-size: 15px; color: var(--color-text-dark-gray); }
.testimonials__card footer { margin-top: 16px; }
.testimonials__card cite { display: block; font-style: normal; font-family: var(--font-body-bold); }
.testimonials__card footer span { font-size: 13px; color: var(--color-text-dark-gray); }

/* Mid CTA band */
.mid-cta-band__inner { text-align: center; max-width: 720px; }
.mid-cta-band h2 { margin-bottom: 12px; }
.mid-cta-band p { color: var(--color-text-dark-gray); margin-bottom: 20px; }

/* Take-first-step full-bleed CTA */
/* Full-bleed photo with the CTA copy anchored to the bottom, readable
   against a dark gradient scrim baked onto the image itself — no more
   floating orange card overlapping the section beneath it. */
.take-first-step-cta { position: relative; padding: 0; }
.take-first-step-cta__image { position: relative; }
.take-first-step-cta__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( 0deg, rgba(28,24,21,0.92) 0%, rgba(28,24,21,0.65) 42%, rgba(28,24,21,0.15) 75%, rgba(28,24,21,0) 100% );
}
.take-first-step-cta__image img { width: 100%; height: 480px; object-fit: cover; display: block; }
.take-first-step-cta__content {
	position: absolute;
	inset: auto 0 0 0;
	padding-bottom: 48px;
}
.take-first-step-cta__card { max-width: 560px; }
.take-first-step-cta__card h2 { color: var(--color-white); margin-bottom: 12px; }
.take-first-step-cta__card p { color: rgba(255,255,255,0.85); }

/* Final CTA */
.final-cta { position: relative; color: var(--color-white); padding: 0; }
.final-cta__image { position: absolute; inset: 0; }
.final-cta__image img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(1,63,32,0.75);
}
.final-cta__content {
	position: relative;
	text-align: center;
	padding: 96px 24px;
}
.final-cta__content h2 { color: var(--color-white); }
.final-cta__content p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* FAQ accordion */
.faq__list { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid #e6e6e6; }
.faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
	background: none;
	border: none;
	padding: 20px 0;
	font-family: var(--font-body-bold);
	font-size: 16px;
}
.faq__number { color: var(--color-accent-gold-alt); font-family: var(--font-body-bold); }
.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
	color: var(--color-text-dark-gray);
	padding-left: 40px;
}
.faq__item.is-open .faq__answer { max-height: 600px; padding-bottom: 20px; }
.faq__question[aria-expanded="true"] { color: var(--color-primary-green); }

/* Contact block */
.contact-block { background: var(--color-bg-cream); }
.contact-block__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.contact-block__tile {
	display: flex;
	gap: 14px;
	align-items: center;
	background: var(--color-white);
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 12px;
}
.contact-block__tile img { width: 24px; height: 24px; }
.contact-block__tile strong { display: block; font-size: 13px; color: var(--color-text-dark-gray); }
.contact-block__form { background: var(--color-white); border-radius: 12px; padding: 32px; }

/* Popup */
.popup {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
}
.popup[hidden] { display: none; }
.popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.popup__panel {
	position: relative;
	background: var(--color-white);
	border-radius: 16px;
	padding: 32px;
	max-width: 420px;
	width: calc(100% - 32px);
	max-height: 90vh;
	overflow-y: auto;
}
.popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	padding: 10px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.popup__image { border-radius: 10px; margin-bottom: 16px; }
.popup__offer {
	color: var(--color-accent-gold-alt);
	font-family: var(--font-body-bold);
	font-size: 13px;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
}

/* Centered image + centered content showcase (e.g. Design page cover-design section) */
.cover-showcase__subheading { text-align: center; margin-top: 32px; margin-bottom: 0; }
.cover-showcase__image {
	display: block;
	width: 100%;
	max-width: 1200px;
	height: auto;
	margin: 48px auto 0;
}
.cover-showcase__content { max-width: 680px; margin: 24px auto 0; text-align: center; }
.cover-showcase__content p { margin-bottom: 16px; }
.cover-showcase__content ul {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 20px 0 28px;
	text-align: left;
	max-width: 100%;
}
.cover-showcase__content ul li {
	padding-left: 22px;
	position: relative;
	color: var(--color-text-dark-gray);
	min-width: 0;
	max-width: 100%;
}
.cover-showcase__content ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--color-primary-green);
	font-family: var(--font-body-bold);
}

/* Service detail alternating blocks (used on service page templates) */
.service-detail__block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 48px;
}
.service-detail__block--reverse .service-detail__text { order: 2; }
.service-detail__image { border-radius: 12px; }
.service-detail__text ul { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.service-detail__text ul li {
	padding-left: 22px;
	position: relative;
	color: var(--color-text-dark-gray);
}
.service-detail__text ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--color-primary-green);
	font-family: var(--font-body-bold);
}
