/* ============================================
   ADSTRACT BLOCKS — Frontend Styles
   ============================================ */

/* ── SHARED: Full-width breakout ── */
.adst-marquee-wrapper,
.adst-svc-wrapper {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
}

/* ============================================
   MARQUEE 101
   ============================================ */
.adst-marquee-track {
	overflow: hidden;
	width: 100%;
}

.adst-marquee-strip {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0;
	padding: 0;
	animation-name: adst-marquee-run;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-delay: 0s;
	will-change: transform;
}

.adst-marquee-strip.adst-pause-hover:hover {
	animation-play-state: paused;
}

.adst-marquee-item {
	display: inline-flex;
	align-items: center;
}

.adst-marquee-text {
	display: inline-block;
	font-family: 'Unbounded', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 0 36px;
	line-height: 1;
}

.adst-marquee-sep {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	color: #000;
	line-height: 1;
	flex-shrink: 0;
	user-select: none;
}

.adst-marquee-sep img {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
}

@keyframes adst-marquee-run {
	from { transform: translateX(0); }
	to   { transform: translateX(-25%); }
}

/* ============================================
   SERVICE 101
   ============================================ */

/*
 * The wrapper is full-width (from the shared rule above).
 * We need overflow:hidden on the wrapper to clip the horizontal
 * scroll track, but we give the carousel a vertical padding so
 * the translateY lift is not clipped by the wrapper.
 * The key trick: the carousel uses overflow-x:auto but we add
 * padding-top/bottom equal to the lift amount so the browser
 * allocates paint space for it — the lift is never clipped.
 */
.adst-svc-wrapper {
	overflow: hidden;
	padding: 14px 0;
}

/* Drag carousel (default) */
.adst-svc-carousel {
	display: flex;
	gap: 16px;
	padding: 14px 0 14px;   /* top/bottom padding = lift headroom */
	overflow-x: auto;
	overflow-y: visible;     /* allow vertical overflow for card lift */
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
}
.adst-svc-carousel:active { cursor: grabbing; }
.adst-svc-carousel::-webkit-scrollbar { display: none; }

/* Auto-scroll mode */
.adst-svc-carousel.adst-svc-auto {
	overflow: hidden;
	cursor: default;
	width: max-content;
	flex-wrap: nowrap;
	animation-name: adst-svc-run;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.adst-svc-carousel.adst-svc-auto.adst-pause-hover:hover {
	animation-play-state: paused;
}

@keyframes adst-svc-run {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Card */
.adst-svc-card {
	flex: 0 0 280px;
	height: 380px;
	border-radius: 18px;
	border: 0.5px solid rgba(255,255,255,0.08);
	background: #161616;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	will-change: transform;
	transition: transform 0.45s cubic-bezier(.22,.68,0,1.2),
	            border-color 0.35s ease;
	text-decoration: none;
	/* isolate stacking so z-index works correctly */
	isolation: isolate;
}

/* Orange accent line at bottom */
.adst-svc-card::before {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 2px;
	background: #FF4D00;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(.22,.68,0,1.2);
	z-index: 4;
}

.adst-svc-card:hover {
	transform: translateY(-10px);
	border-color: rgba(255,77,0,0.3);
}

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

/* Card number */
.adst-svc-num {
	position: absolute;
	top: 22px; right: 22px;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #2e2e2e;
	letter-spacing: 0.08em;
	z-index: 3;
	transition: color 0.3s;
}

.adst-svc-card:hover .adst-svc-num {
	color: rgba(255,77,0,0.4);
}

/* Image — full opacity, no dimming; gradient does the work */
.adst-svc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transition: transform 0.5s ease;
	z-index: 0;
}

.adst-svc-card:hover .adst-svc-img {
	transform: scale(1.05);
}

/*
 * Gradient overlay — transparent at top so image shows clearly,
 * solid at bottom so text is readable.
 * The overlay colour is injected via inline style on the element
 * (set from the Elementor control), defaulting to #161616.
 */
.adst-svc-gradient {
	position: absolute;
	inset: 0;
	/* rgba values come from --adst-overlay CSS var set inline;
	   fallback is the default dark card colour */
	background: linear-gradient(
		to top,
		var(--adst-overlay-solid, rgba(22,22,22,1))   0%,
		var(--adst-overlay-mid,   rgba(22,22,22,0.6)) 45%,
		rgba(0,0,0,0)                                  100%
	);
	z-index: 1;
}

/* Bottom content */
.adst-svc-bottom {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 28px;
	z-index: 2;
}

.adst-svc-name {
	font-family: 'Syne', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	transition: margin-bottom 0.35s ease;
}

.adst-svc-desc {
	font-size: 13px;
	font-weight: 300;
	color: #888;
	line-height: 1.65;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease,
	            opacity 0.35s ease 0.05s,
	            margin 0.35s ease;
	margin-top: 0;
}

.adst-svc-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #FF4D00;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	text-decoration: none;
	transition: max-height 0.3s ease 0.1s,
	            opacity 0.3s ease 0.15s,
	            margin 0.3s ease;
}

/* Hover reveals */
.adst-svc-card:hover .adst-svc-name   { margin-bottom: 12px; }
.adst-svc-card:hover .adst-svc-desc   { max-height: 100px; opacity: 1; }
.adst-svc-card:hover .adst-svc-btn    { max-height: 40px; opacity: 1; margin-top: 16px; }

/* Auto-scroll wrapper fix */
.adst-svc-auto-outer {
	overflow: hidden;
	width: 100%;
}


/* ============================================
   ACCORDION 101
   ============================================ */

.adst-acc-wrap {
	width: 100%;
}

.adst-acc-item {
	border: 2px solid #000;
	margin-bottom: -2px;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.adst-acc-item:first-child { border-radius: 6px 6px 0 0; }
.adst-acc-item:last-child  { border-radius: 0 0 6px 6px; }

/* Animated fill overlay */
.adst-acc-fill {
	position: absolute;
	inset: 0;
	background: #FF4D00;
	transform: translateY(101%);
	transition: transform 0.42s cubic-bezier(.77,0,.18,1);
	z-index: 0;
}

.adst-acc-item.adst-open .adst-acc-fill {
	transform: translateY(0);
}

/* Trigger row */
.adst-acc-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 28px;
	cursor: pointer;
	background: none;
	border: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	text-align: left;
	position: relative;
	z-index: 1;
}

.adst-acc-trigger:hover,
.adst-acc-trigger:focus,
.adst-acc-trigger:focus-visible {
	outline: none;
	background: none;
	box-shadow: none;
}

.adst-acc-q {
	font-family: 'Unbounded', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.4;
	flex: 1;
	transition: color 0.2s;
}

.adst-acc-item.adst-open .adst-acc-q {
	color: #fff;
}

.adst-acc-badge {
	flex-shrink: 0;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	font-weight: 700;
	background: #000;
	color: #fff;
	padding: 6px 12px;
	transition: background 0.2s, color 0.2s;
}

/* Answer body */
.adst-acc-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(.77,0,.18,1);
	position: relative;
	z-index: 1;
}

.adst-acc-body-inner {
	padding: 0 28px 24px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	color: #fff;
	line-height: 1.75;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.adst-acc-item.adst-open .adst-acc-body-inner {
	opacity: 1;
	transform: translateY(0);
}

.adst-acc-body-inner p { margin: 0; }
.adst-acc-body-inner p + p { margin-top: 10px; }


/* ============================================
   STEP PROCESS 101
   ============================================ */

.adst-sp-wrap {
	background: #F8F7F3;
	padding: 80px 48px 120px;
	font-family: 'DM Sans', sans-serif;
	color: #1a1a18;
}

.adst-sp-eyebrow {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 64px;
}

.adst-sp-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 80px;
	align-items: start;
}

/* ── SIDEBAR ── */
.adst-sp-sidebar {
	position: sticky;
	top: 80px;
}

.adst-sp-sidebar-title {
	font-family: 'Instrument Serif', serif;
	font-size: 42px;
	line-height: 1.1;
	color: #1a1a18;
	margin-bottom: 20px;
}

.adst-sp-sidebar-desc {
	font-size: 15px;
	line-height: 1.75;
	color: #888;
	font-weight: 300;
}

/* ── STEPS RAIL ── */
.adst-sp-steps-rail {
	display: flex;
	flex-direction: column;
}

.adst-sp-step {
	display: flex;
	gap: 28px;
	padding: 48px 0;
	border-bottom: 1px solid #EEECE6;
}

.adst-sp-step:first-child {
	padding-top: 0;
}

.adst-sp-step--last {
	border-bottom: none;
	padding-bottom: 0;
}

/* Icon column */
.adst-sp-icon-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

.adst-sp-step-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.adst-sp-step-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.adst-sp-step-line {
	width: 1px;
	background: #E8E6DF;
	flex: 1;
	margin-top: 12px;
	min-height: 60px;
}

/* Content */
.adst-sp-step-content {
	padding-top: 10px;
	flex: 1;
}

.adst-sp-step-number {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ccc;
	margin-bottom: 10px;
}

.adst-sp-step-title {
	font-family: 'Syne', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a18;
	line-height: 1.2;
	margin-bottom: 14px;
}

.adst-sp-step-desc {
	font-size: 15px;
	line-height: 1.8;
	color: #777;
	font-weight: 300;
	max-width: 520px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.adst-sp-wrap {
		padding: 48px 24px 80px;
	}
	.adst-sp-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.adst-sp-sidebar {
		position: static;
	}
	.adst-sp-sidebar-title {
		font-size: 32px;
	}
	.adst-sp-step {
		padding: 36px 0;
	}
}
