/* Island Life Jeeps — homepage sections */

/* ---------- Hero slideshow (Ken Burns) ---------- */
.hero { position: relative; height: clamp(420px, 56vw, 600px); overflow: hidden; color: #fff; background: var(--primary); }
.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.hero-slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; transform-origin: center; }
.hero-slide.is-active .hero-slide__bg.kb-in { animation: ilKbIn var(--kb-duration, 9s) ease-out forwards; }
.hero-slide.is-active .hero-slide__bg.kb-out { animation: ilKbOut var(--kb-duration, 9s) ease-out forwards; }
@keyframes ilKbIn { from { transform: scale(1); } to { transform: scale(1.18); } }
@keyframes ilKbOut { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,44,109,.25) 0%, rgba(0,0,0,.25) 100%); }
.hero-slide__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--sp-xl) var(--sp-lg) calc(var(--sp-xl) + 48px); }
.hero-slide__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.2; color: #fff; margin: 0 0 var(--sp-sm); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-slide__text { font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,.95); margin: 0 0 var(--sp-lg); max-width: 60ch; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-slide__btn { font-size: 13px; padding: 10px 20px; border-radius: var(--radius-sm); }
.hero-slide.is-active .hero-slide__title, .hero-slide.is-active .hero-slide__text, .hero-slide.is-active .hero-slide__btn { animation: ilFadeUp .9s ease both; }
.hero-slide.is-active .hero-slide__text { animation-delay: .15s; }
.hero-slide.is-active .hero-slide__btn { animation-delay: .3s; }
@keyframes ilFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: var(--radius-full); background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.hero__arrow:hover { background: rgba(255,255,255,.38); }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 70px; z-index: 3; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero__dots button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) {
	.hero-slide.is-active .hero-slide__bg.kb-in, .hero-slide.is-active .hero-slide__bg.kb-out,
	.hero-slide.is-active .hero-slide__title, .hero-slide.is-active .hero-slide__text, .hero-slide.is-active .hero-slide__btn { animation: none; }
}

/* ---------- Guest services callout (overlaps the hero) ---------- */
.callout-wrap { position: relative; z-index: 4; margin-top: -58px; padding: 0 var(--margin-desktop); }
.callout { max-width: 1040px; margin: 0 auto; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.14); padding: var(--sp-xl) var(--sp-xl) var(--sp-lg); text-align: center; }
.callout__title { font-family: var(--font-callout); font-weight: 700; font-size: clamp(36px, 5vw, 55px); line-height: 1; color: #000; margin: 0 0 6px; }
.callout__eyebrow { font-family: var(--font-callout); font-weight: 300; font-size: clamp(13px, 1.6vw, 20px); letter-spacing: .5em; text-transform: uppercase; color: #000; margin: 0 0 var(--sp-lg); padding-left: .5em; }
.callout__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; list-style: none; margin: 0 auto; padding: 0; max-width: 560px; text-align: left; }
.callout__list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--on-surface); }
.callout__list svg { flex: none; color: var(--secondary); margin-top: 3px; }

/* ---------- Reviews strip (TripAdvisor) ---------- */
.reviews-strip { padding: var(--sp-xl) 0 var(--sp-lg); }
.ilr-reviews--strip { display: grid; grid-template-columns: 170px 1fr; gap: var(--sp-lg); align-items: center; }
.ilr-reviews__summary { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ilr-reviews__word { font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #000; }
.ilr-reviews__count { font-size: 12px; color: var(--on-surface-variant); }
.ilr-reviews__count a { color: inherit; text-decoration: underline; }
.ilr-reviews__brand { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; color: #000; margin-top: 4px; }
.ilr-reviews__brand:hover { color: var(--tripadvisor); }
.ilr-reviews__scroller { position: relative; min-width: 0; }
.ilr-reviews__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; margin: 0; padding: 8px 2px 14px; scrollbar-width: none; }
.ilr-reviews__track::-webkit-scrollbar { display: none; }
.ilr-review { flex: 0 0 200px; scroll-snap-align: start; background: #fff; border-radius: var(--radius-md); box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-height: 190px; }
.ilr-review__head { display: flex; align-items: center; gap: 8px; }
.ilr-review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.ilr-review__avatar--initial { display: grid; place-items: center; background: var(--tripadvisor); color: #fff; font-weight: 700; font-size: 16px; }
.ilr-review__author { font-weight: 700; font-size: 13px; color: #000; line-height: 1.2; }
.ilr-review__date { font-size: 11px; color: var(--on-surface-variant); }
.ilr-review__title { font-weight: 700; font-size: 13px; color: #000; }
.ilr-review__text { font-size: 12px; line-height: 1.45; color: #333; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ilr-review__more { font-size: 11px; color: var(--on-surface-variant); text-decoration: underline; margin-top: auto; }
.ilr-reviews__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); color: #000; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.ilr-reviews__nav--prev { left: -10px; }
.ilr-reviews__nav--next { right: -10px; }
.ilr-reviews__nav[disabled] { opacity: .35; cursor: default; }
/* rating glyphs */
.ilr-rating { display: inline-flex; gap: 2px; align-items: center; }
.ilr-bubble__ring { fill: none; stroke: var(--tripadvisor); stroke-width: 2.2; }
.ilr-bubble__fill { fill: var(--tripadvisor); }
.ilr-bubble--empty .ilr-bubble__fill { fill: none; }
.ilr-star path { fill: #fbbc04; }
.ilr-star--empty path { fill: #d9d9d9; }
.ilr-star--half path { fill: url(#ilr-half-star); }

/* ---------- Fleet lineup ---------- */
.lineup { padding: var(--sp-lg) 0 var(--sp-xxl); }
.lineup--page { padding-top: var(--sp-xl); }
.lineup__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; max-width: 900px; margin: 0 auto; }
.vcard { display: flex; flex-direction: column; }
.vcard__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.5em; color: var(--on-surface-variant); text-align: center; margin: 0 0 10px; }
.vcar { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-container); border-radius: var(--radius-sm); }
.vcar__track { display: flex; height: 100%; transition: transform .45s ease; }
.vcar__slide { flex: 0 0 100%; height: 100%; }
.vcar__slide img { width: 100%; height: 100%; object-fit: cover; }
.vcar__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); transition: transform .12s; }
.vcar__btn:hover { transform: translateY(-50%) scale(1.15); }
.vcar__btn--prev { left: 4px; }
.vcar__btn--next { right: 4px; }
.vcar[data-count="1"] .vcar__btn { display: none; }
.vcard__terms { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0; }
.vcard__terms span { text-align: center; font-size: 13px; line-height: 1; color: var(--on-surface); padding: 6px 0; position: relative; }
.vcard__terms span + span::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--outline-variant); }
.vcard__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.vcard__tile { background: #efefef; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; line-height: 1; color: var(--on-surface); text-align: center; }
.vcard__tile img { width: 36px; height: 36px; object-fit: contain; }
.vcard__btn { margin-top: auto; border-radius: var(--radius-sm); font-size: 15px; padding: 12px 20px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; padding: var(--sp-xxl) 0; color: #fff; background: #1a1d21 center / cover no-repeat; min-height: 420px; display: flex; align-items: center; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.testimonials .container { position: relative; }
.testimonials__title { color: #fff; text-align: center; font-weight: 600; margin-bottom: var(--sp-lg); }
.ilr-reviews--carousel { position: relative; max-width: 760px; margin: 0 auto; padding: 0 40px; }
.ilr-reviews__slides { position: relative; list-style: none; margin: 0; padding: 0; min-height: 230px; }
.ilr-review--slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; background: rgba(255,255,255,.92); color: #222; border-radius: var(--radius-md); padding: 22px 28px; text-align: center; align-items: center; min-height: 0; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.ilr-review--slide.is-active { position: relative; opacity: 1; visibility: visible; transition: opacity .6s ease; }
.ilr-review--slide .ilr-review__avatar { width: 56px; height: 56px; margin: -50px auto 6px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); font-size: 22px; }
.ilr-review--slide .ilr-review__author { font-size: 15px; }
.ilr-review--slide .ilr-review__text { font-size: 14px; line-height: 1.6; color: #333; display: block; -webkit-line-clamp: unset; overflow: visible; margin-top: 8px; }
.ilr-reviews--carousel .ilr-reviews__nav { background: rgba(255,255,255,.15); color: #fff; box-shadow: none; width: 36px; height: 36px; }
.ilr-reviews--carousel .ilr-reviews__nav:hover { background: rgba(255,255,255,.35); }
.ilr-reviews--carousel .ilr-reviews__nav--prev { left: 0; }
.ilr-reviews--carousel .ilr-reviews__nav--next { right: 0; }
.ilr-reviews__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--sp-lg); font-size: 12px; color: rgba(255,255,255,.85); }
.ilr-reviews__foot a { color: #fff; text-decoration: underline; }
.testimonials .ilr-reviews--carousel { margin-top: 40px; }

/* ---------- Location / contact + map ---------- */
.location { padding: var(--sp-xxl) 0; background: linear-gradient(180deg, rgba(194,203,210,.25) 0%, #fff 100%); }
.location__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-xl); align-items: start; }
.location__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 30px); color: var(--on-surface); margin: 0 0 var(--sp-lg); }
.location__address { font-size: 1.25em; line-height: 1.5; margin: 0 0 var(--sp-md); }
.location__contact { list-style: none; margin: 0 0 var(--sp-lg); padding: 0; }
.location__contact li { margin-bottom: 6px; }
.location__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25em; color: var(--on-surface); }
.location__contact a:hover { color: var(--primary); }
.location__contact svg { color: var(--secondary); flex: none; }
.payments { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.payments svg { height: 36px; width: auto; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--surface-container); border: 1px solid var(--outline-variant); border-radius: var(--radius-sm); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.callout-wrap { padding: 0 var(--margin-mobile); }
	.callout { padding: var(--sp-lg); }
	.ilr-reviews--strip { grid-template-columns: 1fr; }
	.ilr-reviews__nav--prev { left: 0; }
	.ilr-reviews__nav--next { right: 0; }
	.location__grid { grid-template-columns: 1fr; }
	.hero__dots { bottom: 64px; }
}
@media (max-width: 640px) {
	.hero { height: clamp(380px, 110vw, 520px); }
	.callout__list { grid-template-columns: 1fr; }
	.lineup__grid { grid-template-columns: 1fr; }
	.vcard__tiles { grid-template-columns: repeat(4, 1fr); gap: 5px; }
	.vcard__tile { font-size: 11px; }
	.ilr-reviews--carousel { padding: 0 28px; }
	.ilr-review--slide { padding: 20px 14px; }
}
