/* Front page: hero, destination pills, top offers, bento, services. */

.fn-hero { padding-block: clamp(28px, 4vw, 56px) 0; }
.fn-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fn-hero__kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px; background: var(--fn-sand); color: var(--fn-maroon); font-weight: 800; font-size: .86rem; }
.fn-hero__kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--fn-red); box-shadow: 0 0 0 4px rgba(230,40,58,.18); }
.fn-hero h1 { font-size: var(--fn-h1); line-height: .96; letter-spacing: -0.045em; margin: 22px 0 22px; }
.fn-hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--fn-ink-2); max-width: 44ch; }
.fn-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fn-hero__actions .fn-btn { min-height: 54px; padding-inline: 26px; font-size: 1rem; }
.fn-hero__trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: .9rem; font-weight: 700; color: var(--fn-ink-2); }
.fn-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.fn-hero__trust svg { width: 18px; height: 18px; color: var(--fn-lagoon-dark); }

.fn-hero__visual { position: relative; aspect-ratio: 5 / 4.6; }
.fn-hero__photos { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; background: var(--fn-sky); }
.fn-hero__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s linear; }
.fn-hero__photos img.is-active { opacity: 1; transform: scale(1); }
.fn-hero__caption { position: absolute; left: 22px; top: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(10,26,51,.62); backdrop-filter: blur(8px); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; }
.fn-hero__dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; display: flex; gap: 7px; }
.fn-hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); transition: width .3s ease, background .3s ease; }
.fn-hero__dots button.is-active { width: 26px; background: #fff; }
.fn-float { position: absolute; z-index: 3; background: var(--fn-paper); border-radius: 22px; box-shadow: var(--fn-shadow-l); }
.fn-float--lm { left: -34px; bottom: 44px; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 18px 10px 10px; max-width: 320px; text-decoration: none; transition: transform .3s var(--fn-ease); }
.fn-float--lm:hover { transform: translateY(-4px); }
.fn-float--lm img { width: 74px; height: 74px; object-fit: cover; border-radius: 15px; }
.fn-float--lm strong { display: block; font-size: .98rem; line-height: 1.2; margin-top: 5px; }
.fn-float--lm span { display: block; font-size: .8rem; color: var(--fn-ink-2); font-weight: 700; margin-top: 2px; }
.fn-float--count { top: 28px; right: -18px; padding: 14px 20px; text-align: center; }
.fn-float--count b { display: block; font-family: var(--fn-display); font-size: 2.2rem; line-height: 1; letter-spacing: -0.04em; color: var(--fn-blue); }
.fn-float--count span { font-size: .8rem; font-weight: 700; color: var(--fn-ink-2); }
.fn-sticker { position: absolute; z-index: 3; right: 16%; bottom: -34px; width: 124px; height: 124px; border-radius: 50%; background: var(--fn-sun); display: grid; place-items: center; text-align: center; text-decoration: none; font: 800 .74rem/1.2 var(--fn-body); letter-spacing: .07em; text-transform: uppercase; transform: rotate(-10deg); box-shadow: var(--fn-shadow); transition: transform .4s var(--fn-ease); }
.fn-sticker b { display: block; font: 800 1.12rem/1.05 var(--fn-display); letter-spacing: -0.02em; text-transform: none; }
.fn-sticker:hover { transform: rotate(0deg) scale(1.05); }

.fn-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 46px 6px; }
.fn-pills__label { font-weight: 800; font-size: 1rem; margin-right: 6px; }
.fn-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 8px 8px 17px; border: 1.5px solid var(--fn-line); border-radius: 999px; background: var(--fn-paper); font-weight: 700; font-size: .95rem; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s var(--fn-ease); }
.fn-pill b { min-width: 30px; text-align: center; padding: 3px 9px; border-radius: 999px; background: var(--fn-sky); color: var(--fn-blue); font-size: .8rem; font-variant-numeric: tabular-nums; }
.fn-pill:hover { border-color: var(--fn-blue); transform: translateY(-2px); }
.fn-pill--main { background: var(--fn-ink); border-color: var(--fn-ink); color: #fff; }
.fn-pill--main b { background: rgba(255,255,255,.16); color: #fff; }

.fn-where { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 36px); margin-top: clamp(32px, 4vw, 52px); padding: 18px 22px 18px 26px; border-radius: 30px; background: var(--fn-paper); border: 1px solid var(--fn-line); box-shadow: var(--fn-shadow); }
.fn-where__head { display: flex; align-items: center; gap: 14px; flex: none; padding-right: clamp(14px, 2vw, 28px); border-right: 1px solid var(--fn-line); }
.fn-where__head b { display: block; font: 800 1.25rem/1.1 var(--fn-display); letter-spacing: -0.03em; }
.fn-where__head small { display: block; margin-top: 4px; color: var(--fn-ink-2); font-weight: 700; font-size: .86rem; }
.fn-where__icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--fn-red); color: #fff; box-shadow: 0 10px 20px -10px rgba(230,40,58,.8); }
.fn-where__icon svg { width: 24px; height: 24px; }
.fn-where__list { list-style: none; flex: 0 1 auto; min-width: 0; display: flex; justify-content: safe center; gap: clamp(10px, 1.4vw, 20px); overflow-x: auto; padding: 8px 4px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.fn-where__list::-webkit-scrollbar { display: none; }
.fn-where__list li { flex: none; scroll-snap-align: start; }
.fn-story { display: grid; justify-items: center; gap: 9px; width: 88px; padding: 0; border: 0; background: none; text-decoration: none; color: var(--fn-ink); cursor: pointer; font: inherit; }
.fn-story__ring { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; transition: transform .35s var(--fn-ease); }
.fn-story__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 210deg, var(--fn-sun), var(--fn-red), var(--fn-blue), var(--fn-lagoon), var(--fn-sun)); }
.fn-story__img { position: relative; z-index: 1; display: grid; place-items: center; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; overflow: hidden; border: 3px solid var(--fn-paper); background: var(--fn-sky); color: var(--fn-blue); }
.fn-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fn-ease); }
.fn-story__img svg { width: 26px; height: 26px; }
.fn-story__count { position: absolute; z-index: 2; right: -6px; bottom: -2px; min-width: 32px; padding: 3px 7px; border-radius: 999px; border: 2px solid var(--fn-paper); background: var(--fn-ink); color: #fff; font: 800 .72rem/1 var(--fn-body); text-align: center; font-variant-numeric: tabular-nums; }
.fn-story__name { max-width: 100%; font-weight: 800; font-size: .86rem; line-height: 1.15; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-story:hover .fn-story__ring { transform: translateY(-5px); }
.fn-story:hover .fn-story__img img { transform: scale(1.12); }
.fn-story:hover .fn-story__name { color: var(--fn-red); }
.fn-story.is-top .fn-story__ring { width: 86px; height: 86px; margin-top: -4px; }
.fn-story.is-top .fn-story__count { background: var(--fn-red); }
.fn-story.is-top .fn-story__name::after { content: " ★"; color: var(--fn-sun-dark); }
.fn-story--all .fn-story__ring::before { background: repeating-conic-gradient(var(--fn-blue) 0 8deg, transparent 8deg 16deg); opacity: .45; }
.fn-story--all .fn-story__name { white-space: normal; width: 80px; }

.fn-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
.fn-top__list { display: grid; gap: 12px; align-content: start; }

.fn-bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 18px; }
.fn-bento .fn-tile { min-height: 0; }
.fn-bento .fn-tile--big { grid-row: span 2; }
.fn-more-countries { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

.fn-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fn-service { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 28px; text-decoration: none; transition: transform .3s var(--fn-ease); }
.fn-service:hover { transform: translateY(-4px); }
.fn-service i { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--fn-paper); }
.fn-service i svg { width: 28px; height: 28px; }
.fn-service h3 { font-size: 1.35rem; }
.fn-service p { margin: 0; color: var(--fn-ink-2); }
.fn-service .fn-link-arrow { margin-top: 6px; }
.fn-service--blue { background: var(--fn-blue-soft); } .fn-service--blue i { color: var(--fn-blue); }
.fn-service--lagoon { background: var(--fn-lagoon-soft); } .fn-service--lagoon i { color: var(--fn-lagoon-dark); } .fn-service--lagoon .fn-link-arrow { color: var(--fn-lagoon-dark); }
.fn-service--sand { background: var(--fn-sand); } .fn-service--sand i { color: var(--fn-maroon); } .fn-service--sand .fn-link-arrow { color: var(--fn-maroon); }

@media (max-width: 1024px) {
  .fn-hero__grid { grid-template-columns: 1fr; }
  .fn-hero__visual { aspect-ratio: 4 / 3; }
  .fn-float--lm { left: 14px; }
  .fn-float--count { right: 14px; }
  .fn-top { grid-template-columns: 1fr; }
  .fn-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
  .fn-bento .fn-tile--big { grid-row: auto; grid-column: 1 / -1; }
  .fn-services { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fn-hero { padding-top: 22px; }
  .fn-hero h1 { margin: 16px 0 14px; }
  .fn-hero__actions .fn-btn { flex: 1 1 100%; }
  .fn-hero__visual { aspect-ratio: 1 / 1; margin-top: 4px; }
  .fn-hero__photos { border-radius: 26px; }
  .fn-float--lm { left: 10px; right: 10px; bottom: 12px; max-width: none; grid-template-columns: 58px minmax(0, 1fr); }
  .fn-float--lm img { width: 58px; height: 58px; }
  .fn-float--count { top: 12px; right: 12px; padding: 10px 14px; }
  .fn-float--count b { font-size: 1.6rem; }
  .fn-sticker { display: none; }
  .fn-hero__caption { top: auto; bottom: 108px; left: 12px; font-size: .8rem; }
  .fn-hero__trust { display: none; }
  .fn-where { flex-direction: column; align-items: stretch; gap: 10px; margin-inline: calc(-1 * var(--fn-gutter)); padding: 18px 0 10px; border-radius: 0; border-inline: 0; box-shadow: none; background: transparent; border-block: 0; }
  .fn-where__head { padding: 0 var(--fn-gutter); border: 0; }
  .fn-where__head b { font-size: 1.15rem; }
  .fn-where__icon { width: 42px; height: 42px; border-radius: 14px; }
  .fn-where__list { padding: 10px var(--fn-gutter) 6px; scroll-padding-inline: var(--fn-gutter); }
  .fn-story { width: 74px; }
  .fn-story__ring { width: 68px; height: 68px; }
  .fn-story.is-top .fn-story__ring { width: 74px; height: 74px; }
  .fn-bento { grid-template-columns: 1fr; grid-template-rows: 280px repeat(4, 170px); }
}
