/**
 * Help / FAQ page — dark help-center layout.
 * Scoped to /ajutor-si-intrebari/.
 */

body.trvl-body--help-dark {
	background: #080808;
	color: #f8f4ee;
}

body.trvl-body--help-dark .site-main {
	background: #080808;
}

.trvl-help {
	--help-max: var(--trvl-container, 1280px);
	--help-read: 46rem;
	--help-radius: var(--radius-ui, var(--trvl-radius-sm, 8px));
	--help-radius-lg: var(--trvl-radius-md, 14px);
	--help-text: #f8f4ee;
	--help-muted: rgba(248, 244, 238, 0.68);
	--help-border: rgba(255, 255, 255, 0.1);
	--help-surface: #141414;
	--help-orange: var(--trvl-orange, #ff6b35);
	color: var(--help-text);
	background: #080808;
}

.trvl-help .home-wide {
	width: min(100% - 2rem, var(--help-max));
	margin-inline: auto;
}

.trvl-help__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 1rem;
	padding: 0;
	background: transparent;
	font-size: 0.82rem;
	line-height: 1.4;
	color: rgba(248, 244, 238, 0.45);
}

.trvl-help__crumbs a {
	color: rgba(248, 244, 238, 0.5);
	text-decoration: none;
}

.trvl-help__crumbs a:hover,
.trvl-help__crumbs a:focus-visible {
	color: rgba(248, 244, 238, 0.82);
}

.trvl-help__crumbs .breadcrumbs__sep {
	color: rgba(248, 244, 238, 0.28);
}

.trvl-help__eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--help-orange);
}

.trvl-help-hero {
	padding: clamp(1.5rem, 3.5vw, 2.4rem) 0 clamp(1.75rem, 4vw, 2.75rem);
	background:
		radial-gradient(70% 80% at 8% 0%, rgba(255, 107, 53, 0.1), transparent 55%),
		linear-gradient(180deg, #080808 0%, #0b0b0c 100%);
}

.trvl-help-hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--font-display, Cambria, Georgia, serif);
	font-size: clamp(2.1rem, 4.6vw, 3.2rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
	max-width: 16ch;
}

.trvl-help-hero__lead {
	margin: 0 0 0.85rem;
	max-width: 40rem;
	font-size: clamp(1.02rem, 1.4vw, 1.12rem);
	line-height: 1.65;
	color: var(--help-muted);
}

.trvl-help-hero__updated {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(248, 244, 238, 0.42);
}

.trvl-help-tools {
	padding: 0 0 clamp(1.5rem, 3vw, 2rem);
	background: #0b0b0c;
}

.trvl-help-search__label {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 0.8rem;
	font-weight: 650;
	color: rgba(248, 244, 238, 0.55);
}

.trvl-help-search__input {
	width: 100%;
	max-width: 36rem;
	min-height: 2.85rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--help-radius);
	background: #121214;
	color: #fff;
	font-size: 1rem;
}

.trvl-help-search__input::placeholder {
	color: rgba(248, 244, 238, 0.4);
}

.trvl-help-search__input:focus {
	outline: none;
	border-color: rgba(255, 107, 53, 0.55);
	box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.18);
}

.trvl-help-filters {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-bottom: 0.25rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.trvl-help-filter {
	flex: 0 0 auto;
	min-height: 2.35rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--help-radius);
	background: transparent;
	color: rgba(248, 244, 238, 0.78);
	font-size: 0.88rem;
	font-weight: 650;
	cursor: pointer;
	white-space: nowrap;
}

.trvl-help-filter:hover,
.trvl-help-filter:focus-visible {
	border-color: rgba(255, 107, 53, 0.45);
	color: #fff;
	outline: none;
}

.trvl-help-filter.is-active {
	border-color: rgba(255, 107, 53, 0.55);
	background: rgba(255, 107, 53, 0.12);
	color: #fff;
}

.trvl-help-faq {
	/* ~18% less bottom padding than prior clamp max 4rem → closer support CTA */
	padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(2rem, 4vw, 3.25rem);
	background: #09090a;
}

/* Keep readable width; left-align under search/filters (same home-wide left edge). */
.trvl-help-faq__inner {
	max-width: calc(var(--help-read) + 2rem);
	width: 100%;
	margin: 0;
}

.trvl-help-empty {
	padding: 1.5rem 0 2rem;
	color: var(--help-muted);
}

.trvl-help-empty p {
	margin: 0 0 1rem;
}

.trvl-help-accordion {
	display: grid;
	gap: 0.65rem;
}

.trvl-help-item {
	border: 1px solid var(--help-border);
	border-radius: var(--help-radius-lg);
	background: var(--help-surface);
	overflow: hidden;
}

.trvl-help-item.is-hidden {
	display: none;
}

.trvl-help-item__heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.trvl-help-item__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3.25rem;
	padding: 1rem 1.15rem;
	border: 0;
	background: transparent;
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.trvl-help-item__button:hover,
.trvl-help-item__button:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, 0.03);
}

.trvl-help-item__button:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(255, 107, 53, 0.45);
}

.trvl-help-item__question {
	font-size: 1.02rem;
	font-weight: 650;
	line-height: 1.35;
}

.trvl-help-item__icon {
	position: relative;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
}

.trvl-help-item__icon::before,
.trvl-help-item__icon::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto;
	height: 1.5px;
	background: var(--help-orange);
	transform: translateY(-50%);
}

.trvl-help-item__icon::after {
	transform: translateY(-50%) rotate(90deg);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.trvl-help-item.is-open .trvl-help-item__icon::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

.trvl-help-item__panel {
	padding: 0 1.15rem 1.15rem;
}

.trvl-help-answer {
	max-width: var(--help-read);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 0.95rem;
}

.trvl-help-answer__p {
	margin: 0 0 0.75rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--help-muted);
}

.trvl-help-answer__p:last-child {
	margin-bottom: 0;
}

.trvl-help-answer a {
	color: rgba(248, 244, 238, 0.92);
	text-underline-offset: 0.15em;
}

.trvl-help-answer a:hover,
.trvl-help-answer a:focus-visible {
	color: var(--help-orange);
}

.trvl-help-callout {
	margin: 0.85rem 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(255, 107, 53, 0.28);
	border-left: 3px solid var(--help-orange);
	border-radius: var(--help-radius);
	background: rgba(255, 107, 53, 0.07);
	font-size: 0.92rem;
	line-height: 1.55;
	color: rgba(248, 244, 238, 0.88);
}

.trvl-help-prices {
	margin: 0.75rem 0 1rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.trvl-help-prices__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--help-radius);
	background: rgba(255, 255, 255, 0.02);
}

.trvl-help-prices__label {
	font-weight: 650;
	color: #fff;
}

.trvl-help-prices__val {
	font-weight: 700;
	color: var(--help-orange);
}

.trvl-help-operator {
	margin-top: 0.75rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--help-border);
	border-radius: var(--help-radius);
	background: rgba(255, 255, 255, 0.02);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--help-muted);
}

.trvl-help-operator p {
	margin: 0 0 0.25rem;
}

.trvl-help-answer__cta {
	margin: 1rem 0 0;
}

.trvl-help-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.15rem;
	border-radius: var(--help-radius);
	font-size: 0.95rem;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
}

.trvl-help-btn--primary {
	background: var(--help-orange);
	border-color: var(--help-orange);
	color: #120a06;
}

.trvl-help-btn--primary:hover,
.trvl-help-btn--primary:focus-visible {
	background: #ff7d4d;
	outline: none;
}

.trvl-help-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
	color: #f8f4ee;
}

.trvl-help-btn--ghost:hover,
.trvl-help-btn--ghost:focus-visible {
	border-color: rgba(255, 107, 53, 0.5);
	outline: none;
}

.trvl-help-cta {
	/* ~15–20% less top gap after FAQ */
	padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(3rem, 7vw, 5rem);
	background: #070707;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trvl-help-cta__inner {
	max-width: 36rem;
}

.trvl-help-cta__title {
	margin: 0 0 0.7rem;
	font-family: var(--font-display, Cambria, Georgia, serif);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.15;
	color: #fff;
}

.trvl-help-cta__lead {
	margin: 0 0 1.25rem;
	color: var(--help-muted);
	line-height: 1.6;
}

.trvl-help-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
	.trvl-help-item__icon::after {
		transition: none;
	}
}
