/**
 * TRVL Homepage — desktop layout (mockup ≥1024px).
 */

@media (min-width: 1024px) {
	/* ── Header sticky premium ──────────────────────── */

	.trvl-planner-home .site-header--planner {
		position: sticky;
		top: 0;
		z-index: 200;
		background: #050505;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.trvl-planner-home .site-header--planner .site-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 32px;
		max-width: var(--container-max);
		width: 100%;
		min-height: 72px;
		margin-inline: auto;
		padding-inline: var(--shell-gutter);
	}

	.trvl-planner-home .site-header--planner .planner-header__menu,
	.trvl-planner-home .site-header--planner .planner-header__ai,
	.trvl-planner-home .site-header--planner .site-nav-toggle--desktop {
		display: none !important;
	}

	.trvl-planner-home .site-header--planner .site-logo {
		grid-column: 1;
		justify-self: start;
	}

	.trvl-planner-home .site-header--planner .site-logo__mark {
		width: clamp(8rem, 14vw, 11rem);
	}

	.trvl-planner-home .site-header--planner .site-nav--desktop {
		grid-column: 2;
		display: flex !important;
		justify-self: center;
	}

	.trvl-planner-home .site-header--planner .site-header__actions {
		grid-column: 3;
		display: flex !important;
		justify-self: end;
		align-items: center;
		gap: 6px;
	}

	.trvl-planner-home .site-header__icon-label {
		display: inline;
	}

	.trvl-planner-home .site-header__avatar-placeholder {
		background: linear-gradient(135deg, rgba(30, 77, 58, 0.12), rgba(30, 77, 58, 0.06));
		color: var(--home-green, #1e4d3a);
	}

	/* ── Hero 2 coloane — imagine full screen ─────── */

	.trvl-planner-home .site-main {
		padding-bottom: 0;
	}

	.trvl-home .planner-home {
		overflow: hidden;
		min-height: var(--planner-home-height, 800px);
		background: transparent;
	}

	.trvl-home .planner-home__bg {
		display: block;
	}

	.trvl-home .planner-home__bg::after {
		background: var(--vibe-hero-overlay, var(--planner-hero-overlay-neutral));
		transition: background var(--trvl-vibe-transition, 0.32s) ease;
	}

	.trvl-home .planner-home__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(500px, 600px);
		align-items: stretch;
		gap: 0;
		min-height: var(--planner-home-height, 800px);
		width: 100%;
		max-width: var(--container-max);
		margin-inline: auto;
		padding: 32px var(--shell-gutter) clamp(1.75rem, 3vw, 2.75rem);
	}

	@media (min-width: 1024px) and (max-width: 1199px) {
		.trvl-home .planner-home__inner {
			grid-template-columns: minmax(0, 0.92fr) minmax(460px, 520px);
		}
	}

	.trvl-home .planner-home__hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: auto;
		padding: 40px 48px 20px 0;
		background: none;
	}

	.trvl-home .planner-home__hero::before {
		display: none;
	}

	.trvl-home .planner-home__intro--mobile {
		display: none !important;
	}

	.trvl-home .planner-home__intro--desktop {
		display: block !important;
		position: relative;
		z-index: 1;
		max-width: 480px;
	}

	.trvl-home .planner-home__title--desktop {
		font-size: clamp(2.25rem, 3vw, 3rem);
		letter-spacing: -0.03em;
	}

	.trvl-home .planner-home__title-accent .planner-home__sparkle {
		width: 20px;
		height: 20px;
	}

	.trvl-home .planner-home__quiz {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 32px 0 8px 20px;
		background: transparent;
		min-width: 0;
	}

	/* ── Card AI planner — layout (culori în homepage.css) ── */

	.trvl-home .ai-planner-v190 {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.trvl-home .ai-planner-v190__tab {
		flex: 1 1 0;
		min-width: 0;
	}

	.trvl-home .ai-quiz__question {
		font-size: 1.125rem;
		margin-bottom: 16px;
	}

	/* Wizard pas 1 — grid 2×3 ca în mockup (legacy thumb rows; vibe grid are stil propriu) */
	.trvl-home .ai-planner-v190__options:not(.ai-planner-v190__options--vibe-grid) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.trvl-home .ai-planner-v190__options--vibe-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option--row {
		min-width: 0;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option--thumb {
		grid-template-columns: var(--exp-thumb, 52px) minmax(0, 1fr);
		padding-right: 12px;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option--thumb .ai-quiz__option-radio {
		display: none;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option--thumb .ai-quiz__option-label {
		padding: 12px 0;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option-label {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: clamp(0.75rem, 0.85vw, 0.8125rem);
		line-height: 1.25;
	}

	@media (min-width: 1024px) and (max-width: 1149px) {
		.trvl-home .ai-planner-v190__options:not(.ai-planner-v190__options--vibe-grid) {
			grid-template-columns: 1fr;
		}

		.trvl-home .ai-planner-v190__options .ai-quiz__option-label {
			overflow: visible;
			text-overflow: unset;
		}
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option-radio {
		display: none;
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option.is-selected {
		border-color: var(--planner-ink, #163828);
		background: rgba(22, 56, 40, 0.04);
		box-shadow: 0 0 0 1px var(--planner-ink, #163828);
	}

	.trvl-home .ai-planner-v190__options .ai-quiz__option.is-selected .ai-quiz__option-label {
		color: var(--planner-ink, #163828);
	}

	.trvl-planner-home .trvl-home .ai-planner-v190 .ai-quiz__card {
		padding: 24px 26px;
		background: var(--trvl-widget-bg, #15151c);
		border: 1px solid var(--trvl-widget-border, #2a2a33);
		border-radius: 22px;
		box-shadow: var(--trvl-shadow-lg, 0 24px 64px rgba(11, 11, 12, 0.18));
	}

	/* ── Secțiuni sub hero ──────────────────────────── */

	.trvl-home > .home-section {
		padding-block: var(--space-9);
	}

	.trvl-home > .home-section.home-banners {
		padding-top: var(--space-5);
		padding-bottom: var(--space-4);
		margin-top: 0;
	}

	.trvl-home > .home-section.home-editor-picks,
	.trvl-home > .home-section.home-gems,
	.trvl-home > .home-section.home-mosaic {
		padding-block: clamp(2.75rem, 4.5vw, 3.5rem);
		background: #f9f7f3;
	}

	.trvl-home .home-mosaic-exp__title {
		font-size: 1.875rem;
	}

	.trvl-home .home-mosaic-exp__body {
		height: auto;
		min-height: 0;
	}

	.trvl-home .home-mosaic-exp__hero {
		min-height: 0;
		max-height: 100%;
	}

	.trvl-home .home-mosaic-community__title {
		font-size: 1.625rem;
	}

	.trvl-home .home-mosaic-seasons__title {
		font-size: 1.375rem;
	}

	.trvl-home .home-mosaic-season-card {
		height: 200px;
	}

	.trvl-home > .home-section .container {
		max-width: var(--container-max);
		padding-inline: 0;
	}

	.trvl-home .home-section__head {
		margin-bottom: var(--space-5);
	}

	.trvl-home .home-section__title {
		font-size: var(--font-size-h2);
	}

	.trvl-home .home-section.home-banners .home-banners__grid {
		gap: 16px;
	}

	.trvl-home > .home-section.home-editor-picks {
		--editor-pick-gap: 32px;
		--editor-pick-w: calc((100% - (2 * var(--editor-pick-gap))) / 3);
		--editor-pick-h: 420px;
	}

	.trvl-home .home-editor-picks__head {
		margin-bottom: 56px;
	}

	.trvl-home .home-editor-picks__title {
		font-size: var(--font-size-h2);
	}

	.trvl-home .home-editor-picks__viewport {
		margin-inline: 0;
	}

	.trvl-home .home-editor-picks__arrow,
	.trvl-home .home-editor-picks__dots {
		display: none;
	}

	.trvl-home .home-gems__head {
		margin-bottom: 56px;
	}

	.trvl-home .home-gems__title {
		font-size: var(--font-size-h2);
	}

	.trvl-home .home-section.home-gems .home-carousel__viewport {
		margin-inline: 0;
	}

	.trvl-home .home-gems .home-carousel__track {
		gap: 24px;
	}

	.trvl-home .home-gems__carousel {
		padding-inline: 0;
	}

	.trvl-home .home-gems__arrow--prev {
		left: -22px;
	}

	.trvl-home .home-gems__arrow--next {
		right: -22px;
	}

	/* Carusele desktop — county / experiences */
	.trvl-home .home-carousel__viewport {
		margin-inline: 52px;
		overflow: hidden;
	}

	.trvl-home .home-carousel[data-carousel-type="county"] .home-carousel__slide {
		width: calc((100% - 64px) / 5);
	}

	.trvl-home .home-carousel[data-carousel-type="experience"] .home-carousel__slide {
		width: calc((100% - 32px) / 3);
	}

	.trvl-home .home-carousel__arrow:not(.home-gems__arrow) {
		display: flex;
		width: 48px;
		height: 48px;
	}

	.trvl-home .home-stats {
		padding-block: 80px;
	}

	.trvl-home .home-stats__title {
		font-size: 2rem;
		max-width: 24ch;
		margin-bottom: 56px;
	}

	.trvl-planner-home .mobile-bottom-nav {
		display: none !important;
	}

	.trvl-planner-home .site-footer {
		display: block !important;
		visibility: visible !important;
		position: relative;
		z-index: 2;
	}

	/* Avoid body scrollport trap (overflow-x on body forces overflow-y:auto). */
	html:has(body.trvl-planner-home) {
		overflow-y: scroll;
	}

	body.trvl-planner-home {
		overflow-x: clip;
		overflow-y: visible;
		height: auto;
		min-height: 100%;
		position: static;
	}

	body.trvl-planner-home #site-main {
		overflow: visible;
		max-height: none;
		height: auto;
	}

	body.trvl-planner-home .trvl-home {
		overflow: visible;
		max-height: none;
		height: auto;
	}

	body.trvl-planner-home .site-footer--luxury {
		border-top: 1px solid rgba(255, 138, 61, 0.2);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	}

	.trvl-planner-home .site-footer .container {
		max-width: var(--container-max);
		padding-inline: var(--shell-gutter);
	}

	.trvl-home .ai-results-mount {
		width: var(--home-content-width);
		max-width: var(--container-max);
		margin-inline: auto;
		padding-inline: 0;
	}
}
