/* ===== Welcome: Section 1 Hero ===== */
.eyebrow {
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	background: #fff;
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
}

.hero {
	position: relative;
	overflow: clip;
}
.hero-grid {
	display: grid;
	gap: 28px;
	align-items: center;
	grid-template-columns: 1.1fr 1fr;
	padding: 42px 0 24px;
}

.hero-title {
	font-family: 'ClockerySerif', serif;
	font-size: clamp(1.8rem, 2.2rem + 1vw, 3rem);
	line-height: 1.15;
	margin: 14px 0 12px;
}
.hero-lede {
	color: var(--muted);
	margin-bottom: 16px;
}

.hero-points {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: grid;
	gap: 10px;
}
.hero-points li {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 12px;
	box-shadow: var(--shadow);
}

/* Mosaic */
.hero-mosaic {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px;
	box-shadow: var(--shadow);
	transform: translateZ(0);
	transition: transform 260ms ease, box-shadow 260ms ease;
}
.tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.tile figcaption {
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 8px;
	text-align: center;
}

/* Time ribbons */
.time-ribbons {
	position: absolute;
	inset: auto 0 0 0;
	height: 140px;
	pointer-events: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 0 4%;
}
.time-ribbons > span {
	display: block;
	height: 140px;
	border-radius: 20px 20px 0 0;
	background: radial-gradient(
			60% 40% at 50% 0%,
			rgba(255, 255, 255, 0.9),
			rgba(255, 255, 255, 0) 70%
		),
		linear-gradient(180deg, #ffe29a, #ffcc7a 40%, #ffb15f 100%);
	filter: drop-shadow(0 8px 20px rgba(251, 133, 0, 0.18));
	transform-origin: bottom center;
	animation: sway 8s ease-in-out infinite;
}
.time-ribbons > span:nth-child(2) {
	animation-delay: 0.6s;
}
.time-ribbons > span:nth-child(3) {
	animation-delay: 1.2s;
}
.time-ribbons > span:nth-child(4) {
	animation-delay: 1.8s;
}

@keyframes sway {
	0%,
	100% {
		transform: rotate(0deg) scaleY(1);
	}
	50% {
		transform: rotate(1.5deg) scaleY(1.03);
	}
}

/* Responsive */
@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}
	.hero-mosaic {
		order: 2;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.hero-mosaic {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 580px) {
	.hero-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 380px) {
	.hero-mosaic {
		grid-template-columns: 1fr;
	}
}
/* ===== Section 2: Dial Anatomy ===== */
.dial-grid {
	display: grid;
	gap: 28px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr;
	padding: 40px 0;
}
.sec-title {
	font-family: 'ClockerySerif', serif;
	margin: 0 0 8px;
}
.sec-lede {
	color: var(--muted);
	margin: 0 0 14px;
}

.dial-points {
	grid-column: 1 / -1;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	padding: 0;
	margin: 6px 0 2px;
}
.dial-points li {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
}
.dial-points h3 {
	margin: 0 0 6px;
	font-size: 1.02rem;
}

.dial-microgrid {
	display: grid;
	gap: 14px;
	align-items: start;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.micro figcaption {
	text-align: center;
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 6px;
}

/* specs table */
.spec-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-top: 16px;
}
.spec-table th,
.spec-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.spec-table thead th {
	background: #fff7e6;
	font-weight: 700;
}

@media (max-width: 980px) {
	.dial-grid {
		grid-template-columns: 1fr;
	}
	.dial-points {
		grid-template-columns: 1fr;
	}
	.dial-microgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	.dial-microgrid {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 3: Material Lab ===== */
.lab-grid {
	display: grid;
	gap: 22px;
	padding: 40px 0;
}
.layer-card {
	display: grid;
	gap: 16px;
	align-items: center;
	grid-template-columns: 1fr 1.1fr;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px;
	transition: transform var(--speed), box-shadow var(--speed);
}
.layer-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.layer-visual img {
	width: 100%;
}
.layer-copy h3 {
	margin: 0 0 8px;
}
.layer-copy details {
	margin-top: 8px;
}
.layer-copy summary {
	cursor: pointer;
	user-select: none;
}

.parallax {
	transform: translateY(0);
	transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.layer-card:hover .parallax {
	transform: translateY(-6px);
}

@media (max-width: 980px) {
	.layer-card {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 4: Sound & Movement ===== */
.sound-grid {
	display: grid;
	gap: 22px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr;
	padding: 40px 0;
}
.sound-points {
	list-style: none;
	padding: 0;
	margin: 12px 0;
	display: grid;
	gap: 8px;
}
.sound-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* CSS waveform */
.wave {
	height: 60px;
	display: grid;
	grid-auto-flow: column;
	gap: 4px;
	align-items: end;
	margin-top: 12px;
}
.wave i {
	display: block;
	width: 6px;
	height: 20px;
	background: linear-gradient(180deg, var(--brand), var(--brand-2));
	border-radius: 3px;
	animation: pulse 2.2s ease-in-out infinite;
	transform-origin: bottom;
}
.wave i:nth-child(odd) {
	animation-delay: 0.2s;
}
.wave i:nth-child(3n) {
	animation-delay: 0.4s;
}
.wave i:nth-child(5n) {
	animation-delay: 0.6s;
}

@keyframes pulse {
	0%,
	100% {
		height: 16px;
	}
	50% {
		height: 52px;
	}
}

@media (max-width: 980px) {
	.sound-grid {
		grid-template-columns: 1fr;
	}
	.sound-figs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.sound-figs {
		grid-template-columns: 1fr;
	}
}

/* A11y util */
.visually-hidden {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

/* стало */
.hero-grid {
	display: grid;
	gap: 28px;
	align-items: center;
	grid-template-columns: 1.1fr 1fr;
	padding: 42px 0 80px; /* больше места над лентами */
	position: relative;
	z-index: 2; /* контент выше лент */
}

/* стало */
.time-ribbons {
	position: absolute;
	inset: auto 0 -28px 0; /* сдвиг вниз, под контент */
	height: 120px;
	pointer-events: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 0 4%;
	z-index: 1; /* ниже hero-grid */
}

/* адаптив — ещё меньше ленты на узких экранах */
@media (max-width: 760px) {
	.time-ribbons {
		height: 70px;
		inset: auto 0 -24px 0;
	}
}
/* Шире карточки в секции Dial Anatomy */
.dial-microgrid {
	/* было: repeat(3, minmax(0,1fr)) */
	grid-template-columns: repeat(
		2,
		minmax(220px, 1fr)
	); /* две более широкие колонки */
	grid-column: auto; /* оставляем в левой колонке рядом с таблицей */
}

/* На очень больших экранах можем вернуть 3 колонки, но с приличной минимальной шириной */
@media (min-width: 1280px) {
	.dial-microgrid {
		grid-template-columns: repeat(3, minmax(240px, 1fr));
	}
}
/* Mobile: hide hero mosaic images completely */
@media (max-width: 990px) {
	.hero-mosaic {
		display: none !important;
	}
	.hero-grid {
		grid-template-columns: 1fr; /* один столбец */
		padding: 42px 0 48px; /* чуть ниже, чтобы текст «дышал» */
	}
}

/* (опционально) при экономии трафика — тоже скрывать */
@media (prefers-reduced-data: reduce) {
	.hero-mosaic {
		display: none !important;
	}
}
/* ===== Section 5: Room Guides ===== */
.rooms {
	padding: 40px 0;
}
.rooms-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.room-card {
	display: grid;
	gap: 14px;
	align-items: center;
	grid-template-columns: 1.1fr 0.9fr;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	transition: transform var(--speed), box-shadow var(--speed);
}
.room-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}
.room-copy h3 {
	margin: 0 0 8px;
}
.room-points {
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
	display: grid;
	gap: 6px;
}
.room-fig {
	margin: 0;
}
.room-fig figcaption {
	text-align: center;
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 6px;
}

/* small spec table inside card */
.mini.spec {
	width: 100%;
	border-collapse: collapse;
}
.mini.spec th,
.mini.spec td {
	padding: 6px 8px;
	border-top: 1px solid var(--line);
	text-align: left;
	font-size: 0.95rem;
}
.mini.spec th {
	color: var(--muted);
	font-weight: 600;
	width: 34%;
}

@media (max-width: 1180px) {
	.rooms-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 880px) {
	.room-card {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.rooms-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 6: Mounting & Care ===== */
.care {
	padding: 40px 0;
}
.care-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 1.2fr 0.8fr;
}
.ticklist {
	list-style: none;
	padding: 0;
	margin: 12px 0 10px;
	display: grid;
	gap: 8px;
}
.tick {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	padding: 10px 12px;
	cursor: pointer;
	transition: background var(--speed), transform var(--speed),
		border-color var(--speed);
}
.tick::before {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 6px;
	border: 2px solid var(--brand-2);
	box-shadow: inset 0 0 0 0 var(--brand-2);
	transition: box-shadow var(--speed), background var(--speed);
}
.tick:is(:hover, :focus-visible) {
	transform: translateY(-1px);
}
.tick[aria-pressed='true'] {
	background: #fff9ec;
	border-color: #ffd9a8;
}
.tick[aria-pressed='true']::before {
	box-shadow: inset 0 0 0 9px var(--brand-2);
	background: var(--brand);
}

.care-note {
	color: var(--muted);
}
.care-right {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 980px) {
	.care-grid {
		grid-template-columns: 1fr;
	}
	.care-right {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.care-right {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 7: Style Spectrum ===== */
.spectrum {
	padding: 40px 0;
}
.chip-rail {
	display: grid;
	grid-auto-flow: column;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.chip {
	scroll-snap-align: start;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--speed), transform var(--speed),
		border-color var(--speed);
}
.chip[aria-selected='true'],
.chip:hover {
	background: #fff7e6;
	border-color: #ffd9a8;
	transform: translateY(-1px);
}

.spectrum-grid {
	position: relative;
	display: grid;
	gap: 14px;
	margin-top: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spectrum-rail {
	position: absolute;
	inset: auto 0 -10px 0;
	height: 10px;
	border-radius: 999px;
	overflow: hidden;
	pointer-events: none;
}
.spectrum-rail span {
	display: block;
	height: 100%;
	background: var(
		--rail,
		linear-gradient(90deg, #caa970, #ffe29a, #ffcc7a, #fb8500, #ff8aa6)
	);
	transition: background 320ms ease;
	animation: glide 16s linear infinite;
	transform: translateX(-30%);
}

@keyframes glide {
	0% {
		transform: translateX(-30%);
	}
	100% {
		transform: translateX(30%);
	}
}

@media (max-width: 980px) {
	.spectrum-grid {
		grid-template-columns: 1fr;
	}
}
/* ===== Section 8: Dial Size Finder ===== */
.size {
	padding: 40px 0;
}
.size-grid {
	display: grid;
	gap: 22px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr;
}
.size-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 12px;
}
.pill {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	cursor: pointer;
	transition: transform var(--speed), background var(--speed),
		border-color var(--speed);
}
.pill:hover {
	transform: translateY(-1px);
}
.pill.is-active,
.pill[aria-selected='true'] {
	background: #fff7e6;
	border-color: #ffd9a8;
}

.size-hints {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: grid;
	gap: 6px;
	color: var(--muted);
}

/* live dial */
.dial-demo {
	--d: 200px;
	width: var(--d);
	height: var(--d);
	border-radius: 50%;
	background: radial-gradient(70% 60% at 50% 45%, #fff, #fff2d9);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	position: relative;
	margin: 4px auto 12px;
}
.dial-demo .dial-ring {
	position: absolute;
	inset: 10px;
	border-radius: 50%;
	border: 2px dashed rgba(0, 0, 0, 0.08);
}
.dial-demo .dial-hands i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform-origin: 50% 100%;
	display: block;
	width: 2px;
	background: #222;
	border-radius: 2px;
}
.dial-demo .h-hour {
	height: calc(var(--d) * 0.22);
	transform: translate(-50%, -100%) rotate(45deg);
}
.dial-demo .h-min {
	height: calc(var(--d) * 0.3);
	transform: translate(-50%, -100%) rotate(120deg);
}
.dial-demo .h-sec {
	height: calc(var(--d) * 0.34);
	transform: translate(-50%, -100%);
	background: var(--brand-2);
	animation: sweep 6s linear infinite;
}
@keyframes sweep {
	to {
		transform: translate(-50%, -100%) rotate(360deg);
	}
}

.size-right {
	display: grid;
	gap: 14px;
	justify-items: center;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 980px) {
	.size-grid {
		grid-template-columns: 1fr;
	}
	.size-right {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.size-right {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 9: Finish Swatches ===== */
.swatches {
	padding: 40px 0;
}
.swatch-rail {
	display: grid;
	grid-auto-flow: column;
	gap: 10px;
	align-items: center;
	overflow-x: auto;
	padding: 8px 2px 12px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	border-bottom: 1px dashed var(--line);
}
.sw {
	scroll-snap-align: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	flex: 0 0 auto;
	filter: saturate(0.92) brightness(0.98);
	animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
	50% {
		transform: translateY(-2px);
	}
}
/* palette */
.sw-ash {
	background: linear-gradient(135deg, #d9c7aa, #b99d7e);
}
.sw-teak {
	background: linear-gradient(135deg, #c58a59, #7d4e2e);
}
.sw-oak {
	background: linear-gradient(135deg, #e8cf9c, #b49062);
}
.sw-black {
	background: linear-gradient(135deg, #444, #111);
}
.sw-steel {
	background: linear-gradient(135deg, #e3e8ee, #b5c0c9);
}
.sw-cream {
	background: linear-gradient(135deg, #fff8e8, #ffe7b8);
}
.sw-copper {
	background: linear-gradient(135deg, #f2a06b, #b96a3f);
}
.sw-sage {
	background: linear-gradient(135deg, #cfe0d1, #96b59f);
}

.swatch-panels {
	margin-top: 14px;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) {
	.swatch-panels {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 10: Battery & Efficiency ===== */
.eff {
	padding: 40px 0;
}
.eff-grid {
	display: grid;
	gap: 22px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr;
}
.bars {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}
.bar {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	height: 36px;
	box-shadow: var(--shadow);
}
.bar span {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	font-weight: 600;
}
.bar::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 0%;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
	transition: width 1.2s ease;
}
.bar.v70::after {
	width: 70%;
}
.bar.v90::after {
	width: 90%;
}
.bar.v95::after {
	width: 95%;
}

.eff-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.eff-grid {
		grid-template-columns: 1fr;
	}
	.eff-figs {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.eff-figs {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 11: QA Timeline ===== */
.qa {
	padding: 40px 0;
}
.qa-grid {
	display: grid;
	gap: 18px;
}
.trail {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
.trail-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 14px 12px 48px;
	box-shadow: var(--shadow);
}
.trail-step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 12px;
	top: 12px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #111;
	font-weight: 800;
	display: grid;
	place-items: center;
}
.qa-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
	.qa-figs {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 12: Packaging ===== */
.pack {
	padding: 40px 0;
}
.pack-grid {
	display: grid;
	gap: 22px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr;
}
.pack-points {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: grid;
	gap: 6px;
}
.pack-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.pack-grid {
		grid-template-columns: 1fr;
	}
	.pack-figs {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.pack-figs {
		grid-template-columns: 1fr;
	}
}
/* ===== Section 13: Retail Partners ===== */
.retail {
	padding: 40px 0;
}
.retail-grid {
	display: grid;
	gap: 18px;
}
.retail-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ret-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	transition: transform var(--speed), box-shadow var(--speed);
}
.ret-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.ret-lines {
	list-style: none;
	padding: 0;
	margin: 8px 0 10px;
	display: grid;
	gap: 6px;
}
.ret-hours {
	width: 100%;
	border-collapse: collapse;
}
.ret-hours th,
.ret-hours td {
	padding: 6px 0;
	border-top: 1px solid var(--line);
	text-align: left;
}
.retail-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 880px) {
	.retail-cards {
		grid-template-columns: 1fr;
	}
	.retail-figs {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 14: Warranty & Support ===== */
.warranty {
	padding: 40px 0;
}
.warranty-grid {
	display: grid;
	gap: 22px;
	align-items: start;
	grid-template-columns: 1.2fr 0.8fr;
}
.war-matrix {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 12px 0;
}
.war-cell {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px;
	box-shadow: var(--shadow);
}
.war-cell h3 {
	margin: 0 0 6px;
	font-size: 1.02rem;
}
.war-cell ul {
	margin: 0;
	padding-left: 18px;
}
.war-steps {
	margin-top: 8px;
}
.war-steps summary {
	cursor: pointer;
	user-select: none;
}
@media (max-width: 980px) {
	.warranty-grid {
		grid-template-columns: 1fr;
	}
	.war-matrix {
		grid-template-columns: 1fr;
	}
}

/* ===== Section 15: Gift-Ready ===== */
.gift {
	padding: 40px 0;
	position: relative;
}
.gift-grid {
	display: grid;
	gap: 18px;
}
.gift-points {
	list-style: none;
	padding: 0;
	margin: 6px 0 10px;
	display: grid;
	gap: 8px;
}
.gift-figs {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
	.gift-figs {
		grid-template-columns: 1fr;
	}
}

/* subtle decorative underline like ribbon */
.gift::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffe29a, #ffcc7a, #fb8500);
	filter: drop-shadow(0 6px 10px rgba(251, 133, 0, 0.18));
}
/* ===== Section 15 layout update (2 колонки) ===== */
.gift {
	padding: 40px 0;
	position: relative;
}
.gift-grid {
	display: grid;
	gap: 24px;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr; /* левая: контент подарка, правая: форма */
}
@media (max-width: 980px) {
	.gift-grid {
		grid-template-columns: 1fr;
	}
}

/* ----- Contact form ----- */
.contact-form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px;
}
.contact-form .contact-header h3 {
	margin: 0 0 6px;
	font-family: 'ClockerySerif', serif;
}
.contact-form .contact-header p {
	margin: 0 0 12px;
	color: var(--muted);
}

.form-wrapper {
	display: grid;
	gap: 12px;
}
.field {
	display: grid;
	gap: 6px;
}
.field-label {
	font-weight: 600;
	font-size: 0.95rem;
}

.form-wrapper input,
.form-wrapper textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	padding: 11px 12px;
	font: inherit;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	transition: border-color var(--speed), box-shadow var(--speed),
		transform var(--speed);
}
.form-wrapper textarea {
	resize: vertical;
}
.form-wrapper input:focus-visible,
.form-wrapper textarea:focus-visible {
	outline: none;
	border-color: #ffd9a8;
	box-shadow: 0 0 0 3px rgba(251, 133, 0, 0.22);
	transform: translateY(-1px);
}
.form-wrapper input.is-invalid,
.form-wrapper textarea.is-invalid {
	border-color: #e26;
	box-shadow: 0 0 0 3px rgba(238, 34, 102, 0.15);
}
.form-wrapper input.is-valid,
.form-wrapper textarea.is-valid {
	border-color: #8ad;
	box-shadow: 0 0 0 3px rgba(120, 150, 255, 0.18);
}

.form-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
	user-select: none;
}
.form-checkbox input {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	border: 2px solid var(--brand-2);
	display: grid;
	place-items: center;
	transition: background var(--speed), box-shadow var(--speed);
}
.form-checkbox input:checked {
	background: var(--brand);
	box-shadow: inset 0 0 0 6px var(--brand-2);
}
.form-checkbox a {
	color: var(--ink);
}

.contact-form .cta-button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* меньшие отступы, если форма под контентом */
@media (max-width: 980px) {
	.contact-form {
		padding: 14px;
	}
}
/* ===== Responsive — Section 2: Dial Anatomy ===== */

/* 1) Планшеты: складываем общий грид секции в одну колонку,
      микросетку делаем по 2 карточки в ряд */
@media (max-width: 980px) {
	.anatomy-grid,
	.dial-grid {
		/* контейнер секции (как называли) */
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
	.dial-microgrid {
		grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
		gap: 10px !important;
	}
}

/* 2) Телефоны: одна колонка везде, карточки-изображения по одной,
      таблицу превращаем в «карточки-строки» */
@media (max-width: 560px) {
	/* микро-карточки с фото */
	.dial-microgrid {
		grid-template-columns: 1fr !important;
	}
	.dial-microgrid .tile {
		justify-self: center;
		max-width: 350px;
	}
	.dial-microgrid img {
		width: 100%;
		max-width: 350px;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	/* уплотняем три верхних инфо-карточки, если они в гриде */
	.dial-top,
	.dial-cards {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	/* таблица «Feature / Spec / Benefit» → карточный вид */
	.dial-grid table thead {
		display: none;
	}
	.dial-grid table {
		display: block;
		overflow: visible;
		white-space: normal;
		border: 0;
		box-shadow: none;
		background: transparent;
	}
	.dial-grid table tbody {
		display: grid;
		gap: 10px;
	}
	.dial-grid table tbody tr {
		display: block;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}
	.dial-grid table tbody td {
		display: grid;
		grid-template-columns: 110px 1fr;
		gap: 8px;
		padding: 10px 12px;
		border-top: 1px solid var(--line);
	}
	.dial-grid table tbody td:first-child {
		border-top: 0;
	}

	/* подписи к значениям */
	.dial-grid table tbody td:nth-child(1)::before {
		content: 'Feature';
		font-weight: 700;
		color: var(--muted);
	}
	.dial-grid table tbody td:nth-child(2)::before {
		content: 'Spec';
		font-weight: 700;
		color: var(--muted);
	}
	.dial-grid table tbody td:nth-child(3)::before {
		content: 'Benefit';
		font-weight: 700;
		color: var(--muted);
	}

	/* сама таблица/изображения по центру */
	.dial-spec-fig,
	.dial-grid .tile {
		justify-self: center;
		max-width: 350px;
	}
}

/* 3) Косметика: немного компактнее шрифты и отступы на очень узких экранах */
@media (max-width: 380px) {
	.dial-grid .tile figcaption {
		font-size: 0.92rem;
	}
	.dial-grid p,
	.dial-grid li {
		font-size: 0.98rem;
	}
}
