/* =============================================================================
   Home section "hero" (#pradzia) – hero + the yellow marquee strip under it.
   Owned by the Sections 1 agent. Loaded on the home template only, after site.css (and the booking widget CSS).
   Every rule is scoped to .dz-sec--hero, or to .dz-hero-strip: the marquee strip is a sibling element between the
   hero and #pramogos because it overlaps both sections.

   Layouts
     ≥901 px   two columns (A-Desktop): text left, blob photo collage right, the parrot peeks in from the right
               edge of the screen beside the collage.
     601–900   one column: text, then the square collage centred under it; the parrot sits beside the collage
               (never over the text).
     ≤600      phones (A-Mobilus): compact collage row (two blobs + parrot), the two buttons share a row only when
               they fit, the fact chips scroll sideways inside their row.
   ============================================================================= */

/* Section --------------------------------------------------------------------- */
.dz-sec--hero {
	z-index: 1;
	overflow: hidden;
	container-type: inline-size; /* 100cqw = section width (the parrot reaches the screen edge exactly) */
	background-color: var(--dz-night);
	background-image: url("../img/dzungles-fonas.jpg");
	background-image: image-set(url("../img/dzungles-fonas.webp") type("image/webp"), url("../img/dzungles-fonas.jpg") type("image/jpeg"));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 35%;
	color: var(--dz-cream);
}

/* Dark scrim: solid behind the text column, fading out behind the collage. */
.dz-sec--hero .dz-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(27, 51, 26, .97) 0%, rgba(27, 51, 26, .93) 33%, rgba(27, 51, 26, .68) 54%, rgba(27, 51, 26, .18) 78%, rgba(27, 51, 26, .04) 100%);
	pointer-events: none;
}
/* Wider than the design: stops anchored to the centred content (dark behind the whole text column). */
@media (min-width: 1441px) {
	.dz-sec--hero .dz-hero__scrim {
		background: linear-gradient(100deg, rgba(27, 51, 26, .97) 0%, rgba(27, 51, 26, .93) calc(50% - 180px), rgba(27, 51, 26, .68) calc(50% + 120px), rgba(27, 51, 26, .18) calc(50% + 460px), rgba(27, 51, 26, .04) 100%);
	}
}
/* Two columns 901–1100 px: the text column is wider (1.25fr), so the dark part reaches further right. */
@media (min-width: 901px) and (max-width: 1100px) {
	.dz-sec--hero .dz-hero__scrim {
		background: linear-gradient(100deg, rgba(27, 51, 26, .97) 0%, rgba(27, 51, 26, .93) 42%, rgba(27, 51, 26, .68) 62%, rgba(27, 51, 26, .18) 84%, rgba(27, 51, 26, .04) 100%);
	}
}

.dz-sec--hero .dz-hero__leaves { top: -232px; z-index: 2; }

.dz-sec--hero .dz-hero__wrap {
	position: relative;
	z-index: 3;
	padding-top: 196px;   /* the page starts under the floating header */
	padding-bottom: 156px;
}
.dz-sec--hero .dz-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

/* Text column ----------------------------------------------------------------- */
.dz-sec--hero .dz-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	min-width: 0;
}
/* The design's cream tint on a dark base: same look on the scrim, still 4.5:1 where the hanging leaves reach the
   badge on phones. */
.dz-sec--hero .dz-hero__badge { background: linear-gradient(rgba(250, 247, 201, .1), rgba(250, 247, 201, .1)), rgba(27, 51, 26, .78); }
/* The h1 holds the badge and the title: it only stacks them (same 22 / 14 px gap as the text column). */
.dz-sec--hero .dz-hero__h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.dz-sec--hero .dz-hero__h1 .dz-hero__badge { font-family: var(--dz-font-body); }
.dz-sec--hero .dz-hero__title { display: flex; flex-direction: column; color: var(--dz-cream); }
.dz-sec--hero .dz-hero__accent { align-self: flex-start; color: var(--dz-sun); }
.dz-sec--hero .dz-hero__sub { max-width: 540px; padding-top: 6px; color: var(--dz-cream); }

.dz-sec--hero .dz-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.dz-sec--hero .dz-hero__note {
	margin-top: -8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--dz-cream);
}
.dz-sec--hero .dz-hero__hours { color: var(--dz-sage); }
.dz-sec--hero .dz-hero__hours > span { white-space: nowrap; }
/* 44 px tall tap area around the 22 px text box (16 px text): padding on every side, cancelled by the negative
   margins so the text and the line do not move; the focus ring is pulled back to 3 px around the text (as on every
   other link) instead of framing the padding, which would cross the line above. */
.dz-sec--hero .dz-hero__prices {
	padding: 11px;
	margin: -11px;
	font-weight: 800;
	white-space: nowrap;
}
.dz-sec--hero .dz-hero__prices:focus-visible { outline-offset: -8px; }

.dz-sec--hero .dz-hero__chips { gap: 10px; }

/* Photo collage ---------------------------------------------------------------- */
.dz-sec--hero .dz-hero__collage {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1 / 1;
	margin-left: auto;
}
.dz-sec--hero .dz-hero__blob {
	position: absolute;
	overflow: hidden;
	border: 6px solid var(--dz-cream);
	background: var(--dz-jungle);
	box-shadow: 0 24px 48px -22px rgba(6, 18, 6, .75);
}
.dz-sec--hero .dz-hero__blob--a {
	left: 25%;
	top: 2%;
	z-index: 2;
	width: 55%;
	height: 73%;
	border-radius: 58% 42% 50% 50% / 48% 54% 46% 52%;
	box-shadow: var(--dz-shadow-photo);
	transform: rotate(-3deg);
}
.dz-sec--hero .dz-hero__blob--b {
	left: 0;
	top: 45%;
	z-index: 3;
	width: 39%;
	height: 47%;
	border-radius: 46% 54% 42% 58% / 56% 46% 54% 44%;
	transform: rotate(5deg);
}
.dz-sec--hero .dz-hero__blob--c {
	left: 64%;
	top: 57%;
	z-index: 3;
	width: 34%;
	height: 34%;
	border-radius: 50%;
	transform: rotate(4deg);
}
.dz-sec--hero .dz-hero__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.dz-sec--hero .dz-hero__blob--a .dz-hero__img { object-position: 45% 55%; }
.dz-sec--hero .dz-hero__blob--b .dz-hero__img { object-position: 50% 60%; }
.dz-sec--hero .dz-hero__blob--c .dz-hero__img { object-position: 45% 60%; }

.dz-sec--hero .dz-hero__ball { z-index: 5; }
.dz-sec--hero .dz-hero__ball--1 { left: 15%; top: 34%; width: 38px; height: 38px; }
.dz-sec--hero .dz-hero__ball--2 { left: 84%; top: 49%; width: 26px; height: 26px; }
.dz-sec--hero .dz-hero__ball--3 { left: 47%; top: 88%; width: 30px; height: 30px; }
.dz-sec--hero .dz-hero__ball--4 { left: 92%; top: 91%; width: 20px; height: 20px; }
.dz-sec--hero .dz-hero__ball--5 { left: 62%; top: 0; width: 16px; height: 16px; }

/* Parrot: lives in the collage, its right edge on the right edge of the screen (the image is cut there). */
.dz-sec--hero .dz-hero__parrot {
	position: absolute;
	top: 6%;
	right: calc(-1 * max(var(--dz-gutter), (100vw - var(--dz-wrap)) / 2));
	right: calc(-1 * max(var(--dz-gutter), (100cqw - var(--dz-wrap)) / 2));
	z-index: 6;
	width: 196px;
	transform-origin: 100% 60%;
	pointer-events: none;
}

/* Two columns on small laptops / tablets (901–1100 px): the text column gets more room so the buttons share a
   row; compact chips; a smaller parrot covers less of the smaller collage. */
@media (max-width: 1100px) {
	.dz-sec--hero .dz-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
	.dz-sec--hero .dz-hero__ctas { gap: 12px; }
	.dz-sec--hero .dz-hero__parrot { width: 168px; }
	.dz-sec--hero .dz-hero__chips { gap: 8px; }
	.dz-sec--hero .dz-hero__chips .dz-chip { gap: 7px; min-height: 38px; padding: 0 14px 0 10px; font-size: 14px; }
}
@media (max-width: 1000px) {
	.dz-sec--hero .dz-hero__parrot { width: 140px; }
}

/* One column (601–900 px): collage centred under the text. --------------------- */
@media (max-width: 900px) {
	.dz-sec--hero .dz-hero__scrim {
		background: linear-gradient(180deg, rgba(27, 51, 26, .5) 0%, rgba(27, 51, 26, .9) 20%, rgba(27, 51, 26, .95) 58%, rgba(27, 51, 26, .7) 100%);
	}
	.dz-sec--hero .dz-hero__leaves { top: -112px; }
	.dz-sec--hero .dz-hero__wrap { padding-top: 112px; padding-bottom: 96px; }
	.dz-sec--hero .dz-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.dz-sec--hero .dz-hero__collage { max-width: 420px; margin-right: auto; }
	.dz-sec--hero .dz-hero__parrot {
		top: 3%;
		right: calc(50% - 50vw);
		right: calc(50% - 50cqw);
		width: 168px;
	}
}

/* Phones (≤600 px) – A-Mobilus. ------------------------------------------------- */
@media (max-width: 600px) {
	.dz-sec--hero { background-position: 20% 50%; }
	.dz-sec--hero .dz-hero__scrim {
		background: linear-gradient(180deg, rgba(27, 51, 26, .55) 0%, rgba(27, 51, 26, .9) 17%, rgba(27, 51, 26, .95) 52%, rgba(27, 51, 26, .72) 76%, rgba(27, 51, 26, .42) 100%);
	}
	.dz-sec--hero .dz-hero__leaves { top: -92px; }
	.dz-sec--hero .dz-hero__wrap { padding-top: 98px; padding-bottom: 58px; }
	.dz-sec--hero .dz-hero__grid { gap: 16px; }
	.dz-sec--hero .dz-hero__text,
	.dz-sec--hero .dz-hero__h1 { gap: 14px; }
	.dz-sec--hero .dz-hero__sub { padding-top: 4px; }

	/* Buttons share the row when both fit (≥ ~430 px), otherwise each takes a full row. */
	.dz-sec--hero .dz-hero__ctas { align-self: stretch; gap: 10px; }
	.dz-sec--hero .dz-hero__btn { flex: 1 1 auto; --dz-btn-h: 54px; --dz-btn-fs: 16px; }
	.dz-sec--hero .dz-hero__btn--book { --dz-btn-pl: 18px; --dz-btn-pr: 22px; }
	.dz-sec--hero .dz-hero__btn--book .dz-icon { width: 20px; height: 20px; }
	.dz-sec--hero .dz-hero__btn--visit { --dz-btn-pl: 8px; --dz-btn-pr: 22px; }
	.dz-sec--hero .dz-hero__btn--visit .dz-btn__ico { width: 38px; height: 38px; }

	/* 15 px text = a 20 px text box: 12 px around it keep the price link a 44 px tap target; the 2 px under the note
	   keep that area clear of the chips row (which reaches 4 px up for its focus ring while it scrolls). */
	.dz-sec--hero .dz-hero__note { margin-top: -2px; margin-bottom: 2px; font-size: 15px; }
	.dz-sec--hero .dz-hero__prices { padding: 12px; margin: -12px; }
	.dz-sec--hero .dz-hero__prices:focus-visible { outline-offset: -9px; }

	/* Chips: one row that scrolls sideways and runs to the screen edge. */
	.dz-sec--hero .dz-hero__chips {
		flex-wrap: nowrap;
		align-self: stretch;
		gap: 8px;
		margin-right: calc(-1 * var(--dz-gutter));
		padding-right: var(--dz-gutter);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.dz-sec--hero .dz-hero__chips::-webkit-scrollbar { display: none; }
	/* home-hero.js makes the row focusable while it scrolls; the ring is drawn inside (the right edge is the screen's). */
	.dz-sec--hero .dz-hero__chips[tabindex] { margin-top: -4px; margin-bottom: -4px; padding-top: 4px; padding-bottom: 4px; }
	.dz-sec--hero .dz-hero__chips:focus-visible { outline-offset: -3px; border-radius: 24px; }

	/* Collage row across the full width (390 × 190 in A-Mobilus, scaled with the screen). */
	.dz-sec--hero .dz-hero__collage {
		width: auto;
		max-width: none;
		margin: 0 calc(-1 * var(--dz-gutter));
		aspect-ratio: 390 / 190;
	}
	.dz-sec--hero .dz-hero__blob { border-width: 5px; box-shadow: 0 18px 36px -18px rgba(6, 18, 6, .8); }
	.dz-sec--hero .dz-hero__blob--a { left: 30.26%; top: 0; width: 37.95%; height: 97.9%; transform: rotate(3deg); }
	.dz-sec--hero .dz-hero__blob--b { left: 5.13%; top: 17.9%; z-index: 1; width: 30.26%; height: 76.8%; transform: rotate(-5deg); }
	.dz-sec--hero .dz-hero__blob--c,
	.dz-sec--hero .dz-hero__ball--4,
	.dz-sec--hero .dz-hero__ball--5 { display: none; }
	.dz-sec--hero .dz-hero__ball--1 { left: 3.08%; top: 2.1%; width: 22px; height: 22px; }
	.dz-sec--hero .dz-hero__ball--2 { left: 75.9%; top: 84.2%; width: 16px; height: 16px; }
	.dz-sec--hero .dz-hero__ball--3 { left: 26.7%; top: 87.4%; width: 20px; height: 20px; }
	.dz-sec--hero .dz-hero__parrot { top: 17.9%; right: 0; width: 31.8%; }
}
@media (max-width: 374px) {
	.dz-sec--hero .dz-hero__badge { gap: 7px; padding-right: 12px; letter-spacing: 0; } /* stays on one line at 320 px */
}

/* Google rating pill (under the hero grid, just above the marquee strip). */
.dz-sec--hero .dz-hero__rating {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	position: relative;
	z-index: 3;
	margin-top: 22px;
	padding: 9px 16px 9px 14px;
	border-radius: 999px;
	background: rgba(27, 51, 26, .78);
	box-shadow: inset 0 0 0 1px rgba(250, 247, 201, .18);
	color: var(--dz-cream);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .2s ease, box-shadow .2s ease;
}
.dz-sec--hero .dz-hero__rating:hover,
.dz-sec--hero .dz-hero__rating:focus-visible { background: rgba(27, 51, 26, .95); box-shadow: inset 0 0 0 1px rgba(252, 210, 54, .55); }
.dz-sec--hero .dz-hero__rating strong { font-size: 17px; font-weight: 800; color: var(--dz-sun); }
.dz-sec--hero .dz-hero__rating-sep { margin: 0 2px; opacity: .6; }
.dz-sec--hero .dz-stars { display: inline-flex; gap: 2px; color: #F4B400; }
.dz-sec--hero .dz-star { display: block; fill: currentColor; opacity: .28; }
.dz-sec--hero .dz-star.is-on { opacity: 1; }
.dz-sec--hero .dz-star-half { position: relative; display: block; }
.dz-sec--hero .dz-star-half .is-on { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }

/* Marquee strip between the hero and #pramogos ----------------------------------- */
.dz-hero-strip {
	--dz-strip-pad: max(30px, 1.6vw); /* room for the tilted band's corners, also 2560 px wide */
	position: relative;
	z-index: 6;
	margin: calc(-36px - var(--dz-strip-pad)) 0 calc(-24px - var(--dz-strip-pad));
	padding: var(--dz-strip-pad) 0;
	overflow: hidden;
	pointer-events: none;
}
.dz-hero-strip__band {
	width: 106%;
	margin-left: -3%;
	padding: 14px 0;
	overflow: hidden;
	background: var(--dz-sun);
	box-shadow: 0 14px 30px -14px rgba(6, 18, 6, .55), inset 0 -4px 0 rgba(85, 33, 18, .12);
	transform: rotate(-1.6deg);
}
.dz-hero-strip__track { display: flex; width: max-content; }
.dz-hero-strip__list {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-family: var(--dz-font-display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--dz-bark);
	white-space: nowrap;
}
.dz-hero-strip__list > li { display: flex; align-items: center; gap: 28px; }
/* Leaf-green sparkle after every word (CSS, so the four repeated lists stay light). */
.dz-hero-strip__list > li::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.7 5.6 2.7 7.6 8.5 8.5-5.8.9-7.8 2.9-8.5 8.5-.7-5.6-2.7-7.6-8.5-8.5 5.8-.9 7.8-2.9 8.5-8.5z' fill='%233E7A26'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
	/* Four lists move by two per loop: twice the design's 42 s keeps its speed. */
	.dz-hero-strip .dz-hero-strip__track { animation-duration: 84s; }
}

@media (max-width: 600px) {
	.dz-hero-strip {
		--dz-strip-pad: 22px;
		margin: calc(-24px - var(--dz-strip-pad)) 0 calc(-8px - var(--dz-strip-pad));
	}
	.dz-hero-strip__band {
		width: 112%;
		margin-left: -6%;
		padding: 9px 0;
		box-shadow: 0 10px 22px -12px rgba(6, 18, 6, .55), inset 0 -3px 0 rgba(85, 33, 18, .12);
		transform: rotate(-2deg);
	}
	.dz-hero-strip__list { gap: 18px; padding-right: 18px; font-size: 20px; line-height: 1.2; }
	.dz-hero-strip__list > li { gap: 18px; }
	.dz-hero-strip__list > li::after { width: 13px; height: 13px; }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
	.dz-hero-strip .dz-hero-strip__track { animation-duration: 121s; } /* A-Mobilus speed (≈26 px/s) */
}
