/* =========================================================
   BEDBINDER DELUXE — Brand CSS Overrides (Mobile-First)
   All overrides for the HTML5UP Landed template.
   Never modify assets/css/main.css directly.

   Structure: Mobile base → Tablet (min-width: 737px) → Desktop (min-width: 981px)
   ========================================================= */

/* ---------------------------------------------------------
   CSS VARIABLES
   --------------------------------------------------------- */

:root {
	--gold: #9C7C54;
	--gold-hover: #7A6040;
	--gold-light: rgba(156, 124, 84, 0.08);
	--gold-border: rgba(156, 124, 84, 0.15);
	--gold-divider: rgba(156, 124, 84, 0.12);
	--bg-warm: #F6F1ED;
	--bg-card: #FDFAF6;
	--bg-white: #FFFFFF;
	--text-heading: #2E1E10;
	--text-body: #555555;
	--footer-bg: #2E1E10;
}

/* ---------------------------------------------------------
   KILL ALL RED/PINK FROM LANDED TEMPLATE
   --------------------------------------------------------- */

a {
	color: var(--gold);
	border-bottom-color: var(--gold);
}
a:hover {
	color: var(--gold-hover) !important;
	border-bottom-color: transparent;
}

header.major:after {
	background: var(--gold) !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: var(--gold);
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	border-color: var(--gold);
}

input[type="submit"]:hover, input[type="submit"]:active,
input[type="reset"]:hover, input[type="reset"]:active,
input[type="button"]:hover, input[type="button"]:active,
.button:hover, .button:active {
	box-shadow: inset 0 0 0 1px var(--gold);
	color: var(--gold) !important;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
	background-color: var(--gold-light);
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
.button.primary {
	background-color: var(--gold);
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
.button.primary:hover {
	background-color: var(--gold-hover);
}

input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
.button.primary:active {
	background-color: var(--gold-hover);
}

.spotlight.style1 .content,
.spotlight.style2 .content,
.spotlight.style3 .content {
	border-color: var(--gold);
}

.wrapper.style2 {
	background: var(--bg-warm);
}

.wrapper.style2 .button.primary {
	background-color: var(--gold);
	color: #ffffff !important;
}
.wrapper.style2 .button.primary:hover,
.wrapper.style2 .button.primary:active {
	background-color: var(--gold-hover) !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

.dropotron > li.active > a,
.dropotron > li.active > span {
	color: var(--gold);
}

#header nav ul li.active > a,
#header nav ul li.active > span {
	color: var(--gold);
}

#titleBar .toggle:before {
	background: var(--gold);
}

#navPanel .link.active {
	color: var(--gold);
}

/* ---------------------------------------------------------
   SCROLL REVEAL ANIMATION
   --------------------------------------------------------- */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(32px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-24px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(24px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes shimmer {
	0% { background-position: -200% center; }
	100% { background-position: 200% center; }
}

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
				transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
				transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger.visible > * {
	opacity: 1;
	transform: translateY(0);
}

/* ---------------------------------------------------------
   BASE / GLOBAL (Mobile-first)
   --------------------------------------------------------- */

html, body {
	background: var(--bg-warm);
}

body, input, select, textarea {
	font-family: 'DM Sans', Helvetica, sans-serif;
	color: var(--text-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-weight: 600;
	line-height: 1.3;
}

h2 {
	font-size: 1.6em;
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.2em;
	color: var(--text-heading);
}

strong, b {
	color: var(--text-heading);
	font-weight: 600;
}

hr {
	border-bottom-color: rgba(156, 124, 84, 0.3);
}

p {
	margin: 0 0 1.5em 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.button {
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-weight: 600;
	border-radius: 50px;
	padding: 0 32px;
	height: auto;
	line-height: 1;
	box-shadow: none;
	color: var(--text-body) !important;
	border: 2px solid var(--gold);
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover,
.button:active {
	box-shadow: none !important;
	color: var(--gold) !important;
	border-color: var(--gold);
	background-color: var(--gold-light);
}

.button.primary,
.cta-button {
	background-color: var(--gold) !important;
	color: #ffffff !important;
	border: 2px solid var(--gold) !important;
	box-shadow: 0 4px 16px rgba(156, 124, 84, 0.25) !important;
	padding: 14px 28px;
	font-size: 1em;
	letter-spacing: 0.02em;
	position: relative;
	overflow: hidden;
}

.button.primary::after,
.cta-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
	transition: left 0.5s ease;
}

.button.primary:hover::after,
.cta-button:hover::after {
	left: 100%;
}

.button.primary:hover,
.button.primary:active,
.cta-button:hover,
.cta-button:active {
	background-color: var(--gold-hover) !important;
	border-color: var(--gold-hover) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 24px rgba(156, 124, 84, 0.35) !important;
	transform: translateY(-2px);
}

.button.large {
	font-size: 1em;
	padding: 14px 28px;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

#header {
	background: rgba(253, 250, 246, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 var(--gold-border);
	height: 4.5em;
	line-height: 4.5em;
	transition: background 0.4s ease, box-shadow 0.4s ease;
}

#header h1 {
	line-height: inherit;
}

.header-logo {
	height: 2.2em;
	width: auto;
	vertical-align: middle;
	transition: opacity 0.3s ease;
}

.header-logo:hover {
	opacity: 0.8;
}

#header nav ul li a,
#header nav ul li span {
	color: var(--text-heading);
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-weight: 500;
	font-size: 0.9em;
	border: 0;
	height: inherit;
	line-height: inherit;
	transition: color 0.2s ease;
}

#header nav ul li a:hover {
	color: var(--gold) !important;
}

#header nav ul li a.button.primary,
#header nav ul li a.cta-button {
	height: 2.6em;
	line-height: 2.6em;
	padding: 0 1.8em;
	font-size: 0.85em;
	border-radius: 50px;
	box-shadow: 0 2px 8px rgba(156, 124, 84, 0.2) !important;
}

#page-wrapper {
	padding-top: 4.5em;
}

body.landing #page-wrapper {
	padding-top: 0;
}

body.landing #header {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Header becomes solid on scroll (via .header-solid class added by JS) */
body.landing #header.header-solid {
	background: rgba(253, 250, 246, 0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 var(--gold-border);
}

body.landing #header.header-solid nav ul li a,
body.landing #header.header-solid nav ul li span {
	color: var(--text-heading);
}

body.landing #header nav ul li a,
body.landing #header nav ul li span {
	color: #ffffff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

body.landing #header nav ul li a:hover {
	color: var(--gold) !important;
}

/* ---------------------------------------------------------
   LANGUAGE TOGGLE
   --------------------------------------------------------- */

.lang-toggle {
	font-size: 0.85em !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   CSS-ONLY DROPDOWN FALLBACK
   --------------------------------------------------------- */

#header nav > ul > li {
	position: relative;
}

#header nav > ul > li > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(253, 250, 246, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--gold-border);
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
	padding: 0.6em 0;
	min-width: 210px;
	z-index: 10000;
	list-style: none;
	line-height: 1.6;
	margin-top: 0;
}

#header nav > ul > li:hover > ul {
	display: block;
}

#header nav > ul > li > ul > li {
	padding: 0;
	white-space: nowrap;
}

#header nav > ul > li > ul > li a {
	display: block;
	padding: 0.6em 1.4em;
	color: var(--text-body);
	font-size: 0.85em;
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-weight: 500;
	line-height: 1.6;
	height: auto;
	border: 0;
	transition: all 0.2s ease;
}

#header nav > ul > li > ul > li a:hover {
	color: var(--gold) !important;
	background: var(--gold-light);
	padding-left: 1.6em;
}

#header nav > ul > li > ul > li + li {
	border-top: 1px solid rgba(156, 124, 84, 0.08);
}

/* Landing page: dropdown keeps light bg even on transparent header */
body.landing #header nav > ul > li > ul {
	background: rgba(253, 250, 246, 0.97);
}

body.landing #header nav > ul > li > ul > li a {
	color: var(--text-body);
	text-shadow: none;
}

body.landing #header nav > ul > li > ul > li a:hover {
	color: var(--gold) !important;
}

/* Hide CSS dropdowns when dropotron is active */
.dropotron-level-0-ready #header nav > ul > li > ul {
	display: none !important;
}

/* ---------------------------------------------------------
   BANNER / HERO (Mobile-first)
   --------------------------------------------------------- */

#banner {
	background-color: var(--text-heading);
	background-image: url("../images/shared/hero-couple-sleeping.jpg");
	background-position: center center;
	background-size: cover;
	min-height: auto !important;
	height: auto !important;
	text-align: center;
	position: relative;
}

/* Kill the Landed :before spacer that forces 100vh height */
#banner:before {
	display: none !important;
	height: 0 !important;
}

#banner:after {
	background: linear-gradient(
		180deg,
		rgba(20, 15, 10, 0.65) 0%,
		rgba(20, 15, 10, 0.45) 40%,
		rgba(20, 15, 10, 0.55) 100%
	) !important;
}

#banner .content {
	display: block !important;
	text-align: center;
	max-width: 820px;
	margin: 0 auto;
	padding: 7em 1.5em 3.5em 1.5em;
	position: relative !important;
	top: auto !important;
	transform: none !important;
	vertical-align: top !important;
	animation: fadeIn 1s ease-out 0.2s both;
}

#banner .content header {
	display: block;
}

#banner .content header h1,
#banner .content header h2 {
	font-family: 'Playfair Display', Georgia, serif;
	color: #ffffff;
	font-size: 2.4em;
	font-weight: 700;
	line-height: 1.12;
	margin-bottom: 0.4em;
	text-align: center;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
	animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

#banner .content header p {
	color: rgba(255, 255, 255, 0.9);
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 1em;
	margin: 0;
	text-align: center;
}

/* Eyebrow: hidden by default */
.eyebrow {
	display: none;
}

.hero-sub {
	font-size: 1em !important;
	color: rgba(255, 255, 255, 0.88) !important;
	margin-top: 1em !important;
	line-height: 1.65;
	animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-proof {
	color: #C9A96E;
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 0.88em;
	font-weight: 500;
	margin-top: 1.8em;
	letter-spacing: 0.04em;
	animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

#banner .button.primary {
	margin-top: 1.5em;
	animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
	box-shadow: 0 6px 24px rgba(156, 124, 84, 0.4) !important;
}

#banner .button.primary:hover {
	box-shadow: 0 8px 32px rgba(156, 124, 84, 0.5) !important;
}

/* ---------------------------------------------------------
   PAGE-SPECIFIC HERO BACKGROUNDS
   --------------------------------------------------------- */

#banner.bed-bridge-hero {
	background-image: url("../images/bed-bridge/bed-bridge-hero.jpg") !important;
}

#banner.love-bridge-hero {
	background-image: url("../images/shared/hero-bed-bridge.jpg") !important;
}

/* ---------------------------------------------------------
   BED BRIDGE PAGE: Section backgrounds
   --------------------------------------------------------- */

#vertical-vs-horizontal {
	background: var(--bg-white);
}

#what-is-a-bed-bridge {
	background: var(--bg-warm);
}

#articles {
	background: var(--bg-warm);
}

#order {
	background: var(--bg-white);
}

.comparison-link {
	text-align: center;
	margin-top: 2em;
	font-size: 0.95em;
	color: var(--text-body);
}

/* ---------------------------------------------------------
   ARTICLE PAGES: Section backgrounds
   --------------------------------------------------------- */

#intro,
#steps,
#mattress-heights,
#reviews-intro,
#customer-reviews,
#foam-wedge-experiences,
#who-uses-it,
#vertical-vs-horizontal-lb,
#love-bridge-video,
#love-bridge-articles {
	background: var(--bg-white);
}

#what-you-need,
#tips,
#why-not-foam,
#the-problem,
#common-experiences,
#the-result,
#what-is-love-bridge,
#love-bridge-benefits,
#love-bridge-order {
	background: var(--bg-warm);
}

/* ---------------------------------------------------------
   QUICK WINS BAR
   --------------------------------------------------------- */

.quick-wins-bar {
	background: var(--bg-warm);
	padding: 1.5em 0;
	border-bottom: 1px solid var(--gold-border);
	position: relative;
	z-index: 22;
}

.quick-wins-grid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.8em;
}

.quick-win-item {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 0.95em;
	font-weight: 600;
	color: var(--text-heading);
}

.quick-win-check {
	color: var(--gold);
	font-size: 1.2em;
	font-weight: 700;
}

/* ---------------------------------------------------------
   WRAPPER SECTIONS
   --------------------------------------------------------- */

.wrapper {
	padding: 3.5em 1.5em 2.5em 1.5em;
}

/* White sections */
#problem,
#benefits,
#reviews,
#specs,
#order {
	background: var(--bg-white);
}

/* Off-white sections */
#solution,
#how-it-works,
#why-bedbinder,
#faq {
	background: var(--bg-warm);
}

/* Section headers */
.section-header {
	text-align: center;
	margin-bottom: 2em;
}

.section-header h2 {
	color: var(--text-heading);
	font-family: 'Playfair Display', Georgia, serif;
	margin-bottom: 0.8em;
	position: relative;
	display: inline-block;
}

/* Remove all decorative lines under headings */
.section-header h2::after {
	display: none;
}

header.major:after {
	display: none !important;
}

header.major p {
	color: var(--text-body);
}

.section-cta {
	text-align: center;
	margin-top: 2em;
}

/* ---------------------------------------------------------
   SECTION 4: PROBLEM
   --------------------------------------------------------- */

.problem-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2em;
	max-width: 900px;
	margin: 0 auto;
}

.problem-image {
	width: 100%;
}

.problem-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.problem-content {
	text-align: center;
}

.problem-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
	text-align: left;
	display: inline-block;
}

.problem-list li {
	position: relative;
	padding: 0.5em 0 0.5em 2em;
	font-size: 1em;
	color: var(--text-body);
	line-height: 1.6;
}

.problem-list li:before {
	content: '\2022';
	color: var(--gold);
	font-size: 1.4em;
	font-weight: 700;
	position: absolute;
	left: 0.3em;
	top: 0.35em;
}

.problem-closer {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.2em;
	font-weight: 600;
	color: var(--gold);
	margin-top: 1em;
	font-style: italic;
}

/* ---------------------------------------------------------
   SECTION 5: SOLUTION + TRUST
   Image + Text rows (reusable)
   --------------------------------------------------------- */

.image-text-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2em;
	max-width: 900px;
	margin: 0 auto 2.5em auto;
}

.image-text-row.flipped {
	flex-direction: column;
}

.image-text-image {
	width: 100%;
	order: 1;
}

.image-text-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-text-row:hover .image-text-image img {
	transform: scale(1.02);
}

.image-text-image.product-showcase {
	background: transparent;
}

.image-text-image.product-showcase img {
	border-radius: 0;
}

.image-text-content {
	text-align: center;
	order: 2;
}

.image-text-content h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.3em;
	margin-bottom: 0.6em;
}

.image-text-content p {
	color: var(--text-body);
	font-size: 1em;
	line-height: 1.7;
	margin: 0 0 1em 0;
}

.image-text-content p:last-child {
	margin-bottom: 0;
}

.trust-line {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600;
	color: var(--text-heading);
	font-size: 1.1em !important;
}

.stats-row {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1.5em;
	margin-top: 2.5em;
	padding: 2em 1.5em;
	background: var(--bg-white);
	border-radius: 16px;
	border: 1px solid var(--gold-border);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.stat-item {
	text-align: center;
}

.stat-number {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 2em;
	font-weight: 700;
	color: var(--gold);
	line-height: 1.1;
}

.stat-label {
	display: block;
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 0.82em;
	color: var(--text-body);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-top: 0.3em;
}

.stat-divider {
	display: none;
}

/* ---------------------------------------------------------
   SECTION 6: BENEFITS
   --------------------------------------------------------- */

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5em;
	max-width: 480px;
	margin: 0 auto;
}

.benefit-card {
	background: var(--bg-card);
	border: 1px solid var(--gold-border);
	border-radius: 14px;
	padding: 2em 1.5em;
	text-align: center;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
				box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	overflow: hidden;
}

.benefit-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.benefit-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(46, 30, 16, 0.1);
}

.benefit-card:hover::before {
	opacity: 1;
}

.benefit-icon {
	margin-bottom: 1.2em;
}

.benefit-icon svg {
	width: 48px;
	height: 48px;
}

.benefit-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.15em;
	margin-bottom: 0.5em;
}

.benefit-card p {
	color: var(--text-body);
	font-size: 0.95em;
	line-height: 1.6;
	margin: 0;
}

/* ---------------------------------------------------------
   SECTION 7: HOW IT WORKS
   --------------------------------------------------------- */

.steps-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2em;
}

.step-card {
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--gold);
	color: #ffffff;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.2em;
	font-weight: 700;
	margin-bottom: 1em;
	box-shadow: 0 4px 12px rgba(156, 124, 84, 0.25);
}

.step-image {
	width: 100%;
	margin-bottom: 1em;
	overflow: hidden;
	border-radius: 12px;
}

.step-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover .step-image img {
	transform: scale(1.04);
}

.step-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.1em;
	margin-bottom: 0.5em;
}

.step-card p {
	color: var(--text-body);
	font-size: 0.95em;
	line-height: 1.6;
	margin: 0;
}

.step-arrow {
	display: none;
}

/* ---------------------------------------------------------
   SECTION 8: REVIEWS
   --------------------------------------------------------- */

.reviews-subtitle {
	color: var(--gold);
	font-size: 1em;
	font-weight: 500;
	margin-top: 0.8em;
}

.reviews-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5em;
	max-width: 480px;
	margin: 0 auto;
}

.review-card {
	background: var(--bg-card);
	border: 1px solid var(--gold-border);
	border-radius: 14px;
	padding: 1.8em;
	text-align: left;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
				box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(46, 30, 16, 0.08);
}

.review-stars {
	color: var(--gold);
	font-size: 1.1em;
	margin-bottom: 0.8em;
	letter-spacing: 0.12em;
}

.review-quote {
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-style: italic;
	color: var(--text-body);
	font-size: 0.95em;
	line-height: 1.7;
	border-left: 3px solid var(--gold);
	padding: 0 0 0 1em;
	margin: 0 0 1em 0;
}

.review-footer {
	display: flex;
	align-items: center;
	gap: 0.8em;
}

.review-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.review-author {
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-weight: 600;
	color: var(--text-heading);
	font-size: 0.85em;
	margin: 0;
}

/* ---------------------------------------------------------
   SECTION 9: CHECKLIST
   --------------------------------------------------------- */

.checklist-content {
	max-width: 600px;
	margin: 0 auto;
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.checklist li {
	padding: 0.7em 0;
	font-size: 1em;
	color: var(--text-body);
	border-bottom: 1px solid var(--gold-divider);
	display: block;
	padding-left: 2em;
	position: relative;
	line-height: 1.6;
	transition: padding-left 0.3s ease;
}

.checklist li:hover {
	padding-left: 2.3em;
}

.checklist li:last-child {
	border-bottom: 0;
}

.checklist-icon {
	color: var(--gold);
	font-weight: 700;
	font-size: 1.1em;
	position: absolute;
	left: 0;
	top: 0.7em;
}

/* ---------------------------------------------------------
   SECTION 10: SPECS
   --------------------------------------------------------- */

.specs-content {
	max-width: 900px;
	margin: 0 auto;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
}

.specs-table tr {
	border-bottom: 1px solid var(--gold-divider);
	transition: background 0.2s ease;
}

.specs-table tr:hover {
	background: var(--gold-light);
}

.specs-table tr:last-child {
	border-bottom: 0;
}

.specs-table td {
	padding: 0.9em 0;
	font-size: 0.95em;
	vertical-align: top;
}

.spec-label {
	font-weight: 600;
	color: var(--text-heading);
	white-space: nowrap;
	padding-right: 1.5em;
}

.spec-value {
	color: var(--text-body);
}

.specs-image {
	text-align: center;
	margin-bottom: 2em;
}

.specs-product-image {
	max-width: 280px;
	width: 100%;
	height: auto;
}

/* ---------------------------------------------------------
   SECTION 11: FAQ
   --------------------------------------------------------- */

.faq-content {
	max-width: 700px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid var(--gold-border);
}

.faq-item:last-child {
	border-bottom: 0;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 1.3em 0;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 1em;
	font-weight: 600;
	color: var(--text-heading);
	text-align: left;
	line-height: 1.4;
	transition: color 0.2s ease, padding-left 0.3s ease;
}

.faq-question:hover {
	color: var(--gold);
	padding-left: 0.3em;
}

.faq-toggle {
	font-size: 1.4em;
	color: var(--gold);
	font-weight: 300;
	flex-shrink: 0;
	margin-left: 1em;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
				padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	padding: 0;
}

.faq-answer p {
	color: var(--text-body);
	line-height: 1.7;
	font-size: 0.95em;
	margin: 0;
}

.faq-item.open .faq-answer {
	max-height: 300px;
	padding: 0 0 1.3em 0;
}

.faq-item.open .faq-toggle {
	transform: rotate(45deg);
}

/* ---------------------------------------------------------
   VIDEO EMBED
   --------------------------------------------------------- */

.video-embed {
	max-width: 480px;
	margin: 2.5em auto 0 auto;
	text-align: center;
}

.video-embed video {
	max-height: 360px;
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(46, 30, 16, 0.12);
	display: block;
	margin: 0 auto;
}

.video-headline {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.1em;
	color: var(--text-heading);
	text-align: center;
	margin-bottom: 0.8em;
	font-style: italic;
}

/* ---------------------------------------------------------
   SECTION 12: CLOSING CTA
   --------------------------------------------------------- */

.closing-cta {
	text-align: center;
	padding: 1.5em 0;
}

.closing-cta h2 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.6em;
	margin-bottom: 0.3em;
}

.closing-subline {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	color: var(--gold);
	font-size: 1.2em;
	margin-bottom: 0.8em;
}

.closing-support {
	color: var(--text-body);
	font-size: 1em;
	margin-bottom: 2em;
}

.closing-links {
	margin-top: 2em;
}

.closing-links p {
	color: var(--text-body);
	font-size: 0.95em;
	line-height: 1.7;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

#footer {
	background: var(--footer-bg);
	padding: 3em 1.5em;
	text-align: center;
	position: relative;
}

#footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: var(--gold);
	border-radius: 2px;
}

.footer-logo {
	margin-bottom: 1.5em;
}

.footer-logo img {
	height: 2em;
	width: auto;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.footer-logo img:hover {
	opacity: 1;
}

.footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.8em;
}

.footer-nav ul li a {
	color: rgba(255, 255, 255, 0.7);
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 0.9em;
	text-decoration: none;
	border: 0;
	transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
	color: var(--gold) !important;
}

#footer .copyright {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8em;
}

#footer .copyright li {
	border-left-color: rgba(255, 255, 255, 0.15);
}

/* ---------------------------------------------------------
   DROPOTRON
   --------------------------------------------------------- */

.dropotron {
	background: rgba(253, 250, 246, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--gold-border);
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dropotron > li {
	border-top-color: rgba(156, 124, 84, 0.08);
}

.dropotron > li a,
.dropotron > li span {
	color: var(--text-body);
	transition: all 0.2s ease;
}

.dropotron > li.active > a,
.dropotron > li.active > span,
.dropotron > li a:hover,
.dropotron > li span:hover {
	color: var(--gold);
}

.dropotron > li a,
.dropotron > li span {
	font-family: 'DM Sans', Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: 500;
}

.dropotron.level-0:before {
	background: var(--bg-card);
}

/* ---------------------------------------------------------
   NAVPANEL (mobile menu from Landed)
   --------------------------------------------------------- */

#navPanel {
	background: var(--bg-card);
}

#navPanel .link {
	color: var(--text-heading);
	border-top-color: var(--gold-border);
	font-family: 'DM Sans', Helvetica, sans-serif;
}

#navPanel .link:hover {
	color: var(--gold);
}

#navPanel .link.depth-0 {
	color: var(--text-heading);
	font-weight: 600;
}

#titleBar {
	background: rgba(253, 250, 246, 0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 var(--gold-border);
}

#titleBar .title {
	color: var(--text-heading);
	font-family: 'Playfair Display', Georgia, serif;
}

#titleBar .toggle {
	color: var(--text-heading);
}

#titleBar .toggle:before {
	background: var(--gold);
}

/* ---------------------------------------------------------
   INTRO CONTENT (category/article pages)
   --------------------------------------------------------- */

.intro-content {
	max-width: 720px;
	margin: 0 auto;
}

.intro-content p {
	font-size: 1em;
	line-height: 1.8;
	color: var(--text-body);
}

.intro-content h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.2em;
	margin-top: 2em;
	margin-bottom: 0.6em;
}

/* ---------------------------------------------------------
   ARTICLE CARDS (category pages)
   --------------------------------------------------------- */

.articles-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5em;
	max-width: 800px;
	margin: 0 auto;
}

.article-card {
	background: var(--bg-card);
	border: 1px solid var(--gold-border);
	border-radius: 14px;
	padding: 1.5em;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
				box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	overflow: hidden;
}

.article-card::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gold);
	transform: scaleX(0);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(46, 30, 16, 0.1);
}

.article-card:hover::before {
	transform: scaleX(1);
}

.article-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--text-heading);
	font-size: 1.1em;
	margin-bottom: 0.5em;
	line-height: 1.4;
}

.article-card p {
	color: var(--text-body);
	font-size: 0.95em;
	line-height: 1.6;
	margin-bottom: 1em;
}

.article-link {
	color: var(--gold);
	font-size: 0.95em;
	border: 0;
	font-weight: 600;
	transition: color 0.2s ease;
}

.article-link:hover {
	color: var(--gold-hover) !important;
}

/* =========================================================
   TABLET (min-width: 737px)
   ========================================================= */

@media screen and (min-width: 737px) {
	h2 {
		font-size: 2em;
	}

	.wrapper {
		padding: 4em 2em 3em 2em;
	}

	#banner .content {
		padding: 9em 2em 5em 2em;
	}

	#banner .content header h1,
	#banner .content header h2 {
		font-size: 3em;
	}

	.hero-sub {
		font-size: 1.1em !important;
	}

	.button.large {
		font-size: 1.1em;
		padding: 18px 40px;
	}

	.button.primary,
	.cta-button {
		padding: 16px 32px;
	}

	.quick-wins-grid {
		flex-direction: row;
		gap: 3em;
	}

	.quick-win-item {
		font-size: 1em;
	}

	.section-header {
		margin-bottom: 3em;
	}

	.section-cta {
		margin-top: 3em;
	}

	.problem-list li {
		font-size: 1.05em;
	}

	.reviews-grid {
		max-width: 600px;
	}

	.review-card {
		padding: 2em;
	}

	.review-avatar {
		width: 44px;
		height: 44px;
	}

	.review-author {
		font-size: 0.9em;
	}

	.closing-cta h2 {
		font-size: 2em;
	}

	.closing-subline {
		font-size: 1.3em;
	}

	.footer-nav ul {
		flex-direction: row;
		gap: 1.5em;
	}

	#footer {
		padding: 4em 0;
	}

	.footer-logo img {
		height: 2.5em;
	}

	.article-card {
		padding: 2em;
	}

	.articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2em;
	}

	.specs-product-image {
		max-width: 320px;
	}

	.faq-question {
		font-size: 1.05em;
	}

	.stats-row {
		flex-direction: row;
		gap: 2.5em;
		max-width: 700px;
		padding: 2.5em 3em;
	}

	.stat-divider {
		display: block;
		width: 1px;
		height: 50px;
		background: rgba(156, 124, 84, 0.3);
	}

	.stat-number {
		font-size: 2.2em;
	}
}

/* =========================================================
   DESKTOP (min-width: 981px)
   ========================================================= */

@media screen and (min-width: 981px) {
	h2 {
		font-size: 2.2em;
	}

	.wrapper {
		padding: 5em 0 4em 0;
	}

	#banner {
		min-height: 100vh !important;
		height: auto !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	#banner:before {
		display: none !important;
	}

	#banner .content {
		padding: 4em 2em;
		position: relative !important;
		top: auto !important;
		transform: none !important;
	}

	#banner .content header h1,
	#banner .content header h2 {
		font-size: 3.8em;
	}

	.hero-sub {
		font-size: 1.15em !important;
	}

	#banner .button.primary {
		margin-top: 2em;
	}

	/* Problem: image left, text right */
	.problem-layout {
		flex-direction: row;
		gap: 3em;
	}

	.problem-image {
		flex: 0 0 360px;
	}

	.problem-content {
		flex: 1;
		text-align: left;
	}

	/* Image-text rows: side by side */
	.image-text-row {
		flex-direction: row;
		align-items: flex-start;
		gap: 3em;
	}

	.image-text-row.flipped {
		flex-direction: row-reverse;
	}

	.image-text-image {
		flex: 1 1 0%;
		min-width: 0;
		order: unset;
		overflow: hidden;
		border-radius: 12px;
	}

	.image-text-content {
		flex: 1 1 0%;
		min-width: 0;
		text-align: left;
		order: unset;
	}

	.image-text-content h3 {
		font-size: 1.4em;
	}

	.image-text-content p {
		font-size: 1.05em;
		line-height: 1.8;
	}

	/* Benefits: 3 columns */
	.benefits-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5em;
		max-width: none;
	}

	.benefit-card {
		padding: 2.5em 2em;
	}

	.benefit-icon svg {
		width: 56px;
		height: 56px;
	}

	.benefit-card h3 {
		font-size: 1.2em;
	}

	/* Steps: horizontal row */
	.steps-grid {
		flex-direction: row;
		justify-content: center;
		align-items: flex-start;
		gap: 1.5em;
	}

	.step-card {
		flex: 1;
		max-width: 280px;
	}

	.step-arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.8em;
		color: var(--gold);
		padding-top: 8em;
		flex-shrink: 0;
	}

	/* Reviews: 3 columns */
	.reviews-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2em;
		max-width: none;
	}

	.reviews-subtitle {
		font-size: 1.05em;
	}

	/* Specs: table text should be left-aligned */
	.specs-content .image-text-content {
		text-align: left;
	}

	/* Closing CTA */
	.closing-cta h2 {
		font-size: 2.2em;
	}

	/* Spotlight override */
	.spotlight .content {
		background-color: var(--bg-warm) !important;
	}

	.intro-content p {
		font-size: 1.05em;
	}

	.intro-content h3 {
		font-size: 1.3em;
	}
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95em;
	margin: 0 auto;
	max-width: 800px;
}

.comparison-table thead th {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600;
	color: var(--text-heading);
	padding: 1em 1.2em;
	text-align: left;
	border-bottom: 2px solid var(--gold);
	font-size: 1.05em;
}

.comparison-table thead th:first-child {
	width: 30%;
}

.comparison-table tbody td {
	padding: 0.8em 1.2em;
	color: var(--text-body);
	border-bottom: 1px solid var(--gold-border);
	vertical-align: top;
}

.comparison-table tbody td:first-child {
	font-weight: 600;
	color: var(--text-heading);
}

.comparison-table tbody tr:last-child td {
	border-bottom: none;
}

.comparison-table tbody tr:hover {
	background: rgba(156, 124, 84, 0.04);
}

/* Cross checklist for negatives */
.checklist-cross li::before {
	content: "\2717";
	color: #999;
}

/* Comparison hero fallback */
.comparison-hero {
	background-color: var(--gold);
}

/* Mattress connector hero fallback */
.mattress-connector-hero {
	background-color: var(--gold);
}

/* Mattress gaps hero fallback */
.mattress-gaps-hero {
	background-color: var(--gold);
}

/* Mattress sliding hero fallback */
.mattress-sliding-hero {
	background-color: var(--gold);
}

/* Split king hero fallback */
.split-king-hero {
	background-color: var(--gold);
}

/* Twin to king hero fallback */
.twin-to-king-hero {
	background-color: var(--gold);
}

/* Adjustable beds hero fallback */
.adjustable-beds-hero {
	background-color: var(--gold);
}

/* German page hero fallbacks */
.liebesbruecke-hero,
.ritzenfueller-hero,
.matratzenbruecke-hero,
.besucherritze-hero {
	background-color: #9C7C54;
}

/* FAQ hero fallback */
.faq-hero {
	background-color: var(--text-heading);
}

/* ---------------------------------------------------------
   FAQ PAGE: Accordion chevron
   --------------------------------------------------------- */

.faq-chevron {
	flex-shrink: 0;
	margin-left: 1em;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-chevron {
	transform: rotate(180deg);
}

.faq-answer p + p {
	margin-top: 0.8em;
}
