/*
 * qelq-core front end, design v3: story group (Historia, Si bëhet, Prodhuar, business pages,
 * Kontakt, Transporti). Builds on base.css; everything is scoped under .q3, prefix q3-st-.
 * Phone layout follows the design's container queries (.dcard, .jstrip/.jst/.jar at 899 px).
 */

/* ------------------------------------------------------------------ hero extras */
.q3 .q3-st-caption { font-size: 13.5px; line-height: 1.45; color: var(--q3-ink-3); }
.q3 .q3-st-chipn { color: var(--q3-ink-3); }
.q3 .q3-chip[aria-current="true"] .q3-st-chipn { color: inherit; }

/* Facts strip under the hero (dl). */
.q3 .q3-st-facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 0 24px;
	border-top: 1px solid var(--q3-line);
	border-bottom: 1px solid var(--q3-line);
}
.q3 .q3-st-facts__item { padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.q3 .q3-st-facts__item dd {
	margin: 0;
	font-family: var(--q3-f-head);
	font-size: 17px;
	line-height: 1.3;
	font-weight: 600;
}

/* ------------------------------------------------------------------ grids and cards */
.q3 .q3-st-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--q3-st-min, 300px), 100%), 1fr));
	gap: 16px;
}
.q3 .q3-card__img.q3-st-r1 { aspect-ratio: 1 / 1; }
.q3 .q3-card__img.q3-st-r32 { aspect-ratio: 3 / 2; }
.q3 .q3-st-cardlink { margin-top: auto; }
.q3 .q3-st-caselink { display: flex; min-width: 0; color: var(--q3-navy); text-decoration: none; }
.q3 .q3-st-caselink > .q3-card { flex: 1 1 auto; }
.q3 .q3-st-caselink:hover > .q3-card { background: var(--q3-sand-2); }
.q3 .q3-st-wide { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.q3 .q3-st-self-start { align-self: flex-start; }
.q3 .q3-st-clients { max-width: 860px; }

/* Sand note box. */
.q3 .q3-st-note { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.q3 .q3-st-note .q3-body { max-width: 820px; }

/* Numbered steps (ruled columns). */
.q3 .q3-st-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--q3-st-min, 200px), 100%), 1fr));
	gap: 24px;
}
.q3 .q3-st-step {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 14px;
	border-top: 2px solid var(--q3-navy);
}
.q3 .q3-st-step__n { font-family: var(--q3-f-head); font-size: 15px; font-weight: 600; color: var(--q3-ink-3); }

/* Definition rows. */
.q3 .q3-st-dl { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--q3-line); }
.q3 .q3-st-dl__row {
	padding: 14px 0;
	border-top: 1px solid var(--q3-line);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}
.q3 .q3-st-dl__row dt { flex: 0 0 220px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.q3 .q3-st-dl__row dd { flex: 1 1 320px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--q3-ink-2); }

/* Tick list. */
.q3 .q3-st-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.q3 .q3-st-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; }
.q3 .q3-st-ticks .q3-icon { flex: none; }

/* Numbers (Historia, chapter 4). */
.q3 .q3-st-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 24px;
}
.q3 .q3-st-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 2px solid var(--q3-navy);
}
.q3 .q3-st-stat__n {
	font-family: var(--q3-f-head);
	font-size: 40px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.q3 .q3-st-stat__l { font-size: 16px; font-weight: 600; }

/* ------------------------------------------------------------------ peach band (feature, box) */
.q3 .q3-st-feature__in {
	padding-top: var(--q3-sec-pad);
	padding-bottom: var(--q3-sec-pad);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px clamp(24px, 4.4cqw, 64px);
}
.q3 .q3-st-feature__media { flex: 1 1 320px; min-width: 0; }
.q3 .q3-st-feature__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.q3 .q3-st-feature__text {
	flex: 1 1 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.q3 .q3-st-feature .q3-eyebrow { color: var(--q3-navy); }
.q3 .q3-st-feature__p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 560px; }

/* ------------------------------------------------------------------ the seven stations */
.q3 .q3-st-ends { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.q3 .q3-st-ends__x { padding: 6px 10px; font-size: 14.5px; line-height: 1.3; }
.q3 .q3-st-ends__x.is-from { background: var(--q3-sand); color: var(--q3-ink-2); }
.q3 .q3-st-ends__x.is-to { background: var(--q3-peach); color: var(--q3-navy); font-weight: 600; }
.q3 .q3-st-ends__l {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-right: 8px;
}
.q3 .q3-st-ends__line { flex: 1 1 40px; height: 2px; background: var(--q3-navy); }
.q3 .q3-st-ends__ar { display: inline-flex; margin-left: -14px; color: var(--q3-navy); }

.q3 .q3-st-journey { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.q3 .q3-st-journey__st {
	flex: 1 1 0;
	min-width: 0;
	padding: 16px 14px;
	background: var(--q3-sand);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.q3 .q3-st-journey__st .q3-icon { flex: none; }
.q3 .q3-st-journey__t { font-family: var(--q3-f-head); font-size: 17px; line-height: 1.25; font-weight: 600; min-width: 0; }
.q3 .q3-st-journey__n { color: var(--q3-ink-3); margin-right: 8px; }
.q3 .q3-st-journey__ar {
	flex: none;
	width: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--q3-navy);
}

/* ------------------------------------------------------------------ firing curve */
.q3 .q3-st-curve { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.q3 .q3-st-curve__box { position: relative; padding-top: 30px; }
.q3 .q3-st-curve__top {
	position: absolute;
	top: 0;
	left: 33%;
	font-family: var(--q3-f-head);
	font-size: 20px;
	font-weight: 600;
}
.q3 .q3-st-curve svg { display: block; width: 100%; height: clamp(120px, 15cqw, 200px); }
.q3 .q3-st-curve__cap {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--q3-ink-3);
}

/* ------------------------------------------------------------------ places, north to south */
.q3 .q3-st-places { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(24px, 4.4cqw, 64px); }
.q3 .q3-st-places__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.q3 .q3-st-places__list { flex: 1.4 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.q3 .q3-st-ns {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--q3-ink-3);
}
.q3 .q3-st-ns__line { flex: 0 0 64px; height: 2px; background: var(--q3-navy); }
.q3 .q3-st-place { display: flex; align-items: stretch; gap: 16px; }
.q3 .q3-st-place__rail { flex: none; width: 22px; display: flex; flex-direction: column; align-items: center; }
.q3 .q3-st-place__dot {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--q3-peach);
	border: 2px solid var(--q3-navy);
}
.q3 .q3-st-place__line { flex: 1 1 auto; width: 2px; background: var(--q3-navy); }
.q3 .q3-st-place__box {
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border: 1px solid var(--q3-line);
	background: var(--q3-white);
	color: var(--q3-navy);
	text-decoration: none;
}
.q3 .q3-st-place__img {
	flex: none;
	display: block;
	width: clamp(84px, 10cqw, 128px);
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.q3 .q3-st-place__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.q3 .q3-st-place__n { font-family: var(--q3-f-head); font-size: 19px; font-weight: 600; }
.q3 .q3-st-place__x { font-size: 15px; line-height: 1.45; color: var(--q3-ink-3); }

/* ------------------------------------------------------------------ Kontakt facts */
.q3 .q3-st-info {
	width: 100%;
	max-width: 540px;
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--q3-line);
}
.q3 .q3-st-info__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--q3-line);
}
.q3 .q3-st-info__row > .q3-icon { flex: none; }
.q3 .q3-st-info__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.q3 .q3-st-info__v { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.q3 .q3-st-info__v a { color: var(--q3-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* The [qelqc_ask] block sits in a normal section; keep its own layout. */
.q3.q3-st .qelqc-ask { width: 100%; }

/* ------------------------------------------------------------------ phone (design breakpoint 899 px) */
@container (max-width: 899px) {
	.q3 .q3-st-journey { flex-direction: column !important; gap: 2px; }
	.q3 .q3-st-journey__st { flex-direction: row !important; align-items: center !important; padding: 12px 14px !important; }
	.q3 .q3-st-journey__ar { display: none !important; }
	.q3 .q3-st-journey__st svg { width: 40px; height: 40px; }
	.q3 .q3-st-dcard { flex-direction: row !important; }
	.q3 .q3-st-dcard > img {
		flex: 0 0 112px;
		width: 112px !important;
		aspect-ratio: auto !important;
		min-height: 112px;
		align-self: stretch;
	}
}
