/**
 * Home v2 – Suede Garment.
 *
 * Palet aksen: glacier teal, dipadukan dengan navy utama.
 * Dimuat hanya di front page lewat inc/enqueue.php.
 */

:root {
	--sc-accent: #78c1bd;
	--sc-accent-hover: #5aa9a7;
	--sc-accent-ink: #2a6c6e;
	--sc-secondary: #4a8fa2;
	--sc-secondary-hover: #3b7788;
	--sc-cta-bg: linear-gradient(120deg, #0c335e 0%, #16536a 58%, #2e7b80 100%);
	--sc-cta-hover: linear-gradient(120deg, #082544 0%, #104659 58%, #266b70 100%);
	--sc-cta-ink: #ffffff;
}

/* Tema gelap tetap memakai aksen teal, bukan kuning. */
html[data-theme="dark"] {
	--sc-accent: #78c1bd;
	--sc-accent-hover: #5aa9a7;
	--sc-accent-ink: #9bd8d3;
	--sc-secondary: #6fb3c2;
	--sc-secondary-hover: #4a8fa2;
	--sc-cta-bg: linear-gradient(120deg, #0c335e 0%, #16536a 58%, #2e7b80 100%);
	--sc-cta-hover: linear-gradient(120deg, #082544 0%, #104659 58%, #266b70 100%);
	--sc-cta-ink: #ffffff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.storefront-child {
	margin: 0;
	background: var(--sc-surface);
}

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

.demo-container {
	width: min(1220px, calc(100% - 3rem));
	margin-inline: auto;
}

.demo-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

[id] {
	scroll-margin-top: 110px;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.storefront-child.sc-home-page .sc-navbar {
	min-height: 84px;
}

.storefront-child.sc-home-page .sc-navbar__brand .custom-logo {
	max-height: 42px;
}

.storefront-child.sc-home-page .sc-navbar__nav .menu-item > a {
	font-size: 0.9rem;
}

.storefront-child.sc-home-page .sc-navbar__cta {
	box-shadow: 0 10px 24px rgba(12, 51, 94, 0.16);
}

.demo-announcement__link {
	color: var(--sc-accent);
	font-weight: 700;
	text-decoration: none;
}

.demo-announcement__link:hover {
	color: #d6f3f0;
}

/* Tombol aksen memakai gradasi navy–teal. */
.storefront-child .sc-button--accent,
.sc-button--accent {
	border-color: transparent;
	background: var(--sc-cta-bg);
	color: var(--sc-cta-ink);
	box-shadow: 0 12px 28px rgba(12, 51, 94, 0.18);
}

.storefront-child .sc-button--accent:hover,
.sc-button--accent:hover {
	background: var(--sc-cta-hover);
	color: var(--sc-cta-ink);
	box-shadow: 0 16px 34px rgba(12, 51, 94, 0.24);
}

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

.demo-hero {
	position: relative;
	min-height: clamp(620px, 82vh, 800px);
	overflow: hidden;
	background: #071d35;
	color: #fff;
}

.demo-hero__slides {
	position: absolute;
	inset: 0;
}

.demo-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 700ms ease, visibility 700ms ease;
}

.demo-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.demo-hero__slide > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	transform: scale(1.03);
	transition: transform 7s linear;
}

.demo-hero__slide:first-child > img {
	object-position: 50% 0%;
}

.demo-hero__slide:nth-child(2) > img {
	object-position: 50% 42%;
}

.demo-hero__slide:nth-child(3) > img {
	object-position: 50% 40%;
}

.demo-hero__slide.is-active > img {
	transform: scale(1);
}

.demo-hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 18, 34, 0.94) 0%, rgba(4, 18, 34, 0.78) 30%, rgba(4, 18, 34, 0.38) 62%, rgba(4, 18, 34, 0.24) 100%),
		linear-gradient(0deg, rgba(4, 18, 34, 0.66) 0%, rgba(4, 18, 34, 0.06) 48%, rgba(4, 18, 34, 0.18) 100%);
}

.demo-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	min-height: clamp(620px, 82vh, 800px);
	padding-top: 5rem;
	padding-bottom: clamp(5.5rem, 8vw, 7rem);
}

.demo-hero__caption {
	max-width: 660px;
}

.demo-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1.2rem;
	color: var(--sc-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.demo-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.demo-hero h1 {
	max-width: 15ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.9rem, 5.4vw, 5.15rem);
	font-weight: 800;
	letter-spacing: -0.058em;
	line-height: 0.96;
}

.demo-hero h1 em {
	color: var(--sc-accent);
	font-style: normal;
	background: linear-gradient(90deg, #d3f2ee 0%, #78c1bd 65%, #5aa9a7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.demo-hero__lead {
	max-width: 48ch;
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(0.98rem, 1.15vw, 1.0625rem);
	line-height: 1.8;
}

.demo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.demo-button--light,
.storefront-child .demo-button--light {
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	box-shadow: none;
	backdrop-filter: blur(8px);
}

.demo-button--light:hover,
.storefront-child .demo-button--light:hover {
	border-color: #fff;
	background: #fff;
	color: var(--sc-primary);
	box-shadow: none;
}

/* Kontrol slider */
.demo-slider-nav {
	position: absolute;
	right: max(1.5rem, calc((100% - 1220px) / 2));
	bottom: 2rem;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.demo-slider-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.09);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(10px);
	transition: background var(--sc-transition), border-color var(--sc-transition);
}

.demo-slider-btn:hover,
.demo-slider-btn:focus-visible {
	border-color: var(--sc-accent);
	background: var(--sc-accent);
	color: var(--sc-primary);
}

.demo-slider-dots {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.5rem;
	border-radius: var(--sc-radius-pill);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
}

.demo-slider-dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.38);
	cursor: pointer;
	transition: width var(--sc-transition), background var(--sc-transition);
}

.demo-slider-dot.is-active {
	width: 24px;
	border-radius: var(--sc-radius-pill);
	background: var(--sc-accent);
}

.demo-slider-count {
	padding: 0 0.2rem;
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Running text
 * ---------------------------------------------------------------------- */

.demo-marquee {
	overflow: hidden;
	border-bottom: 1px solid var(--sc-border);
	background:
		linear-gradient(90deg, rgba(120, 193, 189, 0.12), transparent 22%, transparent 78%, rgba(120, 193, 189, 0.12)),
		var(--sc-surface-alt);
}

.demo-marquee__track {
	display: flex;
	width: max-content;
	animation: demo-marquee 34s linear infinite;
}

.demo-marquee__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 2.5rem;
	padding: 0.9rem 1.25rem;
}

.demo-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--sc-text-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.demo-marquee__item::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sc-accent);
}

@keyframes demo-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* -------------------------------------------------------------------------
 * Section dasar
 * ---------------------------------------------------------------------- */

.demo-section {
	padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.demo-section--types {
	background:
		radial-gradient(circle at 92% 4%, rgba(120, 193, 189, 0.12), transparent 26rem),
		var(--sc-surface);
}

.demo-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.demo-section__head .demo-eyebrow {
	margin-bottom: 0.7rem;
	color: var(--sc-accent-ink);
}

.demo-section__head h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	letter-spacing: -0.045em;
	line-height: 1.06;
}

.demo-section__head p {
	max-width: 54ch;
	margin: 0.7rem 0 0;
	color: var(--sc-text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

.demo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: 0 0 auto;
	padding-bottom: 0.2rem;
	border-bottom: 1px solid currentColor;
	color: var(--sc-ink);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.demo-link:hover {
	color: var(--sc-accent-ink);
}

/* -------------------------------------------------------------------------
 * Jenis jaket custom
 * ---------------------------------------------------------------------- */

.demo-types {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}

.demo-type {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius);
	background: linear-gradient(165deg, var(--sc-surface) 0%, var(--sc-surface-alt) 100%);
	color: var(--sc-text);
	text-decoration: none;
	transition: transform var(--sc-transition), box-shadow var(--sc-transition),
		border-color var(--sc-transition);
}

.demo-type::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--sc-accent), transparent);
	opacity: 0;
	transition: opacity var(--sc-transition);
}

.demo-type:hover {
	border-color: rgba(120, 193, 189, 0.55);
	box-shadow: 0 24px 48px rgba(12, 51, 94, 0.12);
	transform: translateY(-4px);
}

.demo-type:hover::after {
	opacity: 1;
}

.demo-type__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(160deg, #f8fbfc 0%, #e8f1f2 100%);
}

.demo-type__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 51, 94, 0.04), transparent 28%, transparent 72%, rgba(12, 51, 94, 0.12));
	pointer-events: none;
}

.demo-type__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.demo-type__media img[src*="type-workwear"] {
	object-position: 50% 20%;
}

.demo-type__media img[src*="type-rompi"] {
	object-position: 50% 48%;
}

.demo-type__media img[src*="type-parasut"] {
	object-position: 50% 44%;
}

.demo-type:hover .demo-type__media img {
	transform: scale(1.04);
}

.demo-type__index,
.demo-type__tag {
	position: absolute;
	z-index: 2;
	top: 0.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--sc-radius-pill);
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.demo-type__index {
	left: 0.9rem;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--sc-primary);
}

.demo-type__tag {
	right: 0.9rem;
	padding: 0.42rem 0.65rem;
	border: 1px solid rgba(12, 51, 94, 0.12);
	background: rgba(255, 255, 255, 0.74);
	color: #2a6c6e;
}

.demo-type__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.15rem 1.2rem 1.35rem;
}

.demo-type__label {
	margin: 0 0 0.35rem;
	color: var(--sc-accent-ink);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.demo-type h3 {
	margin: 0;
	color: var(--sc-ink);
	font-size: 1.18rem;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.demo-type p {
	flex: 1 1 auto;
	margin: 0.55rem 0 0;
	color: var(--sc-text-muted);
	font-size: 0.84rem;
	line-height: 1.65;
}

.demo-type__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.9rem;
	color: var(--sc-accent-ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
 * Client logo slider
 * ---------------------------------------------------------------------- */

.demo-clients {
	padding: clamp(3rem, 5vw, 4.5rem) 0;
	border-top: 1px solid var(--sc-border);
	border-bottom: 1px solid var(--sc-border);
	background:
		radial-gradient(circle at 50% 0%, rgba(120, 193, 189, 0.1), transparent 28rem),
		linear-gradient(180deg, var(--sc-surface-alt), var(--sc-surface));
}

.demo-clients__head {
	max-width: 760px;
	margin: 0 auto 2.25rem;
	text-align: center;
}

.demo-clients__head .demo-eyebrow {
	justify-content: center;
	margin-bottom: 0.7rem;
	color: var(--sc-accent-ink);
}

.demo-clients__head .demo-eyebrow::before,
.demo-clients__head .demo-eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.demo-clients__head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.9vw, 2.25rem);
	letter-spacing: -0.04em;
	line-height: 1.12;
}

.demo-clients__head p {
	margin: 0.65rem 0 0;
	color: var(--sc-text-muted);
	font-size: 0.9rem;
}

.demo-logo-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.demo-logo-track {
	display: flex;
	width: max-content;
	animation: demo-logo-marquee 30s linear infinite;
}

.demo-logo-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 2.75rem;
	padding: 0.35rem 1.4rem;
}

.demo-logo {
	display: inline-flex;
	align-items: center;
	color: var(--sc-text-muted);
	font-size: clamp(0.86rem, 1.2vw, 1.02rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	white-space: nowrap;
	opacity: 0.68;
}

.demo-logo::after {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-left: 2.75rem;
	border-radius: 50%;
	background: var(--sc-accent);
	opacity: 0.9;
}

.demo-logo--bold {
	color: var(--sc-ink);
	font-weight: 800;
	letter-spacing: 0.08em;
	opacity: 0.82;
}

.demo-logo--wide {
	letter-spacing: 0.26em;
}

@keyframes demo-logo-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* -------------------------------------------------------------------------
 * Custom order banner
 * ---------------------------------------------------------------------- */

.demo-custom {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--sc-radius-lg) + 6px);
	background:
		radial-gradient(circle at 86% 16%, rgba(120, 193, 189, 0.24), transparent 22rem),
		linear-gradient(120deg, #0c335e 0%, #0a2b4d 48%, #165b68 100%);
	color: #fff;
	box-shadow: 0 32px 70px rgba(12, 51, 94, 0.2);
}

.demo-custom__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
	min-height: 470px;
}

.demo-custom__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 4.5vw, 4rem);
}

.demo-custom__copy .demo-eyebrow {
	margin-bottom: 0.9rem;
}

.demo-custom__copy h2 {
	max-width: 15ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	letter-spacing: -0.052em;
	line-height: 1.02;
}

.demo-custom__copy > p {
	max-width: 48ch;
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.94rem;
	line-height: 1.75;
}

.demo-custom__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
	margin: 1.7rem 0 0;
	padding: 0;
	list-style: none;
}

.demo-custom__steps li {
	margin: 0;
	padding: 0.9rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--sc-radius-sm);
	background: rgba(255, 255, 255, 0.055);
}

.demo-custom__num {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--sc-accent);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1;
}

.demo-custom__steps strong {
	display: block;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

.demo-custom__steps span:last-child {
	display: block;
	margin-top: 0.25rem;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.7rem;
	line-height: 1.5;
}

.demo-custom__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.7rem;
}

.demo-custom__media {
	position: relative;
	min-height: 360px;
	overflow: hidden;
}

.demo-custom__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 24%;
}

.demo-custom__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 37, 68, 0.72), transparent 45%),
		linear-gradient(0deg, rgba(8, 37, 68, 0.26), transparent 40%);
}

/* -------------------------------------------------------------------------
 * WhatsApp list / newsletter
 * ---------------------------------------------------------------------- */

.demo-section--newsletter {
	background:
		radial-gradient(circle at 80% 20%, rgba(120, 193, 189, 0.1), transparent 24rem),
		var(--sc-surface-alt);
}

.demo-newsletter {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 2.5rem;
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3.5rem);
	border-radius: calc(var(--sc-radius-lg) + 6px);
	background:
		radial-gradient(circle at 100% 0%, rgba(120, 193, 189, 0.24), transparent 24rem),
		linear-gradient(125deg, #0c335e 0%, #0a2b4d 52%, #165b68 100%);
	color: #fff;
	box-shadow: 0 30px 64px rgba(12, 51, 94, 0.18);
}

.demo-newsletter h2 {
	max-width: 15ch;
	margin: 0;
	color: #fff;
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.demo-newsletter p {
	max-width: 48ch;
	margin: 0.8rem 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.92rem;
	line-height: 1.7;
}

.demo-newsletter__points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.2rem;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}

.demo-newsletter__points li {
	position: relative;
	margin: 0;
	padding-left: 1.15rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.78rem;
	font-weight: 600;
}

.demo-newsletter__points li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sc-accent);
	box-shadow: 0 0 0 4px rgba(120, 193, 189, 0.12);
}

.demo-newsletter__form-wrap {
	padding: 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--sc-radius);
	background: rgba(255, 255, 255, 0.075);
	backdrop-filter: blur(10px);
}

.demo-newsletter__form {
	display: grid;
	gap: 0.65rem;
}

.demo-newsletter__form label {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.demo-newsletter__field {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--sc-radius-pill);
	background: #fff;
	box-shadow: 0 12px 26px rgba(4, 18, 34, 0.16);
}

.demo-newsletter__prefix {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	padding: 0 0.65rem;
	border-right: 1px solid var(--sc-border);
	color: var(--sc-accent-ink);
	font-size: 0.85rem;
	font-weight: 800;
}

.storefront-child .demo-newsletter__field input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.7rem 0.4rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.storefront-child .demo-newsletter__field input:focus {
	border: 0;
	box-shadow: none;
}

.demo-newsletter__form .sc-button {
	width: 100%;
	margin-top: 0.15rem;
}

.demo-newsletter__note {
	margin: 0.7rem 0 0;
	color: rgba(255, 255, 255, 0.46) !important;
	font-size: 0.68rem !important;
	line-height: 1.55 !important;
}

.demo-form-message {
	grid-column: 1 / -1;
	margin: 0.8rem 0 0;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(120, 193, 189, 0.35);
	border-radius: var(--sc-radius-xs);
	background: rgba(120, 193, 189, 0.16);
	color: #d6f3f0;
	font-size: 0.8rem;
	font-weight: 600;
}

.demo-form-message[hidden] {
	display: none;
}

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

.storefront-child .site-footer.demo-footer {
	padding: 4.5rem 0 0;
	background:
		radial-gradient(circle at 8% 0%, rgba(120, 193, 189, 0.14), transparent 26rem),
		linear-gradient(160deg, #0c335e 0%, #071d35 72%, #0b2b3d 100%);
}

.demo-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.demo-footer__brand img {
	display: block;
	width: 180px;
	max-width: 100%;
	margin-bottom: 1rem;
}

.demo-footer__brand p {
	max-width: 34ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.85rem;
	line-height: 1.75;
}

.demo-footer__social {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.2rem;
}

.demo-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: background var(--sc-transition), border-color var(--sc-transition),
		color var(--sc-transition);
}

.demo-footer__social a:hover {
	border-color: var(--sc-accent);
	background: var(--sc-accent);
	color: var(--sc-primary);
}

.storefront-child .demo-footer h3 {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.demo-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.demo-footer ul li {
	margin: 0;
	border: 0 !important;
}

.demo-footer ul a {
	display: inline-block;
	padding: 0.24rem 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.83rem;
	text-decoration: none;
}

.demo-footer ul a:hover {
	color: var(--sc-accent);
}

.demo-footer__contact li {
	margin-bottom: 0.55rem;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.83rem;
	line-height: 1.6;
}

.demo-footer__contact strong {
	display: block;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.demo-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.3rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-footer__bottom .sc-site-info,
.demo-footer__bottom .sc-site-info__legal {
	padding: 0;
	border: 0;
	margin: 0;
}

.demo-footer__payments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.demo-footer__payments li {
	margin: 0;
	padding: 0.28rem 0.55rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Toast
 * ---------------------------------------------------------------------- */

.demo-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 1200;
	max-width: calc(100vw - 2rem);
	padding: 0.7rem 1rem;
	border-radius: var(--sc-radius-pill);
	background: var(--sc-primary);
	color: #fff;
	box-shadow: var(--sc-shadow-lg);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity var(--sc-transition), transform var(--sc-transition);
}

.demo-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */

@media screen and (max-width: 1100px) {
	.demo-hero__caption {
		max-width: 580px;
	}

	.demo-custom__copy h2 {
		max-width: 13ch;
	}

	.demo-custom__steps {
		grid-template-columns: 1fr;
		gap: 0.55rem;
	}

	.demo-custom__steps li {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 0.7rem;
		align-items: start;
	}

	.demo-custom__num {
		grid-row: span 2;
		margin: 0;
	}

	.demo-custom__steps span:last-child {
		margin-top: 0.1rem;
	}
}

@media screen and (max-width: 1023px) {
	.demo-container {
		width: min(1220px, calc(100% - 2rem));
	}

	.demo-hero,
	.demo-hero__inner {
		min-height: clamp(600px, 78vh, 720px);
	}

	.demo-hero__caption {
		max-width: 620px;
	}

	.demo-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.demo-custom__grid {
		grid-template-columns: 1fr;
	}

	.demo-custom__media {
		min-height: 300px;
		order: -1;
	}

	.demo-newsletter {
		grid-template-columns: 1fr;
	}

	.demo-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.demo-footer__brand {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 640px) {
	.demo-container {
		width: calc(100% - 1.5rem);
	}

	.demo-header .sc-navbar {
		min-height: 66px;
	}

	.demo-hero,
	.demo-hero__inner {
		min-height: 600px;
	}

	.demo-hero__inner {
		padding-top: 4rem;
		padding-bottom: 5.4rem;
	}

	.demo-hero h1 {
		max-width: 13ch;
		font-size: clamp(2.45rem, 11vw, 3.35rem);
	}

	.demo-hero__lead {
		margin-top: 1.15rem;
		font-size: 0.92rem;
		line-height: 1.7;
	}

	.demo-hero__actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 1.5rem;
	}

	.demo-hero__actions .sc-button {
		width: 100%;
	}

	.demo-slider-nav {
		right: 0.75rem;
		bottom: 1rem;
		left: 0.75rem;
		justify-content: space-between;
	}

	.demo-slider-count {
		display: none;
	}

	.demo-slider-dots {
		padding: 0.3rem 0.42rem;
	}

	.demo-slider-btn {
		width: 40px;
		height: 40px;
	}

	.demo-section {
		padding: 3.5rem 0;
	}

	.demo-section__head {
		display: block;
		margin-bottom: 1.6rem;
	}

	.demo-section__head .demo-link {
		margin-top: 1rem;
	}

	.demo-types {
		grid-template-columns: 1fr;
	}

	.demo-type__media {
		aspect-ratio: 4 / 3;
	}

	.demo-clients__head {
		margin-bottom: 1.7rem;
	}

	.demo-logo-group {
		gap: 1.75rem;
		padding-inline: 0.9rem;
	}

	.demo-logo::after {
		margin-left: 1.75rem;
	}

	.demo-custom__copy {
		padding: 1.5rem;
	}

	.demo-custom__copy h2 {
		max-width: 14ch;
		font-size: clamp(1.9rem, 8vw, 2.5rem);
	}

	.demo-custom__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.demo-custom__actions .sc-button {
		width: 100%;
	}

	.demo-custom__media {
		min-height: 240px;
	}

	.demo-newsletter {
		padding: 1.5rem;
		gap: 1.6rem;
	}

	.demo-newsletter h2 {
		font-size: clamp(1.7rem, 8vw, 2.25rem);
	}

	.demo-newsletter__form-wrap {
		padding: 0.9rem;
	}

	.demo-newsletter__field {
		border-radius: var(--sc-radius);
	}

	.demo-newsletter__form .sc-button {
		width: 100%;
	}

	.demo-footer {
		padding-top: 3rem !important;
	}

	.demo-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.8rem;
	}

	.demo-footer__brand {
		grid-column: auto;
	}

	.demo-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.demo-marquee__track,
	.demo-logo-track {
		animation: none;
	}

	.demo-hero__slide,
	.demo-hero__slide > img,
	.demo-type,
	.demo-type__media img {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * WordPress wrapper integration
 *
 * Storefront membuka #content > .col-full sebelum template halaman. Home
 * membutuhkan layout full-bleed, jadi wrapper tersebut dinetralkan hanya
 * saat body memiliki sc-home-page.
 * ---------------------------------------------------------------------- */

.storefront-child.sc-home-page .site-content {
	padding: 0;
	margin: 0;
	overflow: visible;
}

.storefront-child.sc-home-page .site-content > .col-full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.storefront-child.sc-home-page .site-main.sc-home-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.storefront-child.sc-home-page .site-main.sc-home-main::before,
.storefront-child.sc-home-page .site-main.sc-home-main::after {
	display: none;
}

/* -------------------------------------------------------------------------
 * Home CTA gradient
 *
 * Customizer mencetak --sc-cta-bg sebagai warna solid setelah home.css.
 * Aturan dengan specificity lebih tinggi ini memastikan CTA di Home tetap
 * memakai gradasi navy–teal yang sudah disetujui, tanpa mengubah halaman lain.
 * ---------------------------------------------------------------------- */

.storefront-child.sc-home-page .sc-button--accent,
.storefront-child.sc-home-page .sc-navbar .sc-navbar__cta {
	border-color: transparent;
	background: linear-gradient(120deg, #0c335e 0%, #16536a 58%, #2e7b80 100%);
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(12, 51, 94, 0.18);
}

.storefront-child.sc-home-page .sc-button--accent:hover,
.storefront-child.sc-home-page .sc-button--accent:focus-visible,
.storefront-child.sc-home-page .sc-navbar .sc-navbar__cta:hover,
.storefront-child.sc-home-page .sc-navbar .sc-navbar__cta:focus-visible {
	background: linear-gradient(120deg, #082544 0%, #104659 58%, #266b70 100%);
	color: #ffffff;
	box-shadow: 0 16px 34px rgba(12, 51, 94, 0.24);
}

/* Logo footer memakai logo dari Customizer; filter membuatnya putih di atas navy. */
.demo-footer__brand .custom-logo,
.demo-footer__brand > a > img {
	filter: brightness(0) invert(1);
}
