/* Fiyavalhu Resort Maldives page (/resorts/fiyavalhu-resort-maldives). Mobile first. */
.fyv {
    --fyv-ink: #0d3540;
    --fyv-deep: #072a33;
    --fyv-teal: #0f4d5a;
    --fyv-gold: #d6b25e;
    --fyv-gold-deep: #8a6a22;
    --fyv-sand: #f4f0e8;
    --fyv-paper: #fbf9f4;
    --fyv-muted: #49656b;
    --fyv-line: #d9e1de;
    color: var(--fyv-ink);
    background: var(--fyv-paper);
    overflow-x: clip;
}

.fyv *, .fyv *::before, .fyv *::after { box-sizing: border-box; }
.fyv img { display: block; max-width: 100%; }
.fyv h1, .fyv h2, .fyv h3 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -.02em; }
.fyv h2 { font-size: clamp(36px, 7vw, 60px); line-height: 1.02; }
.fyv h2 em, .fyv h1 em { font-style: italic; font-weight: 400; }
.fyv p { margin: 0; line-height: 1.75; }

.fyv-wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .fyv-wrap { padding: 0 40px; } }

.fyv-eyebrow { margin: 0 0 18px; color: var(--fyv-gold); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; line-height: 1.6; }
.fyv-eyebrow--dark { color: var(--fyv-gold-deep); }

/* buttons and links, deliberately obvious */
.fyv-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px; border: 2px solid var(--fyv-gold); background: var(--fyv-gold); color: var(--fyv-deep);
    font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center;
    transition: background .2s, color .2s, transform .2s;
}
.fyv-button:hover, .fyv-button:focus-visible { background: #fff; border-color: #fff; color: var(--fyv-deep); transform: translateY(-2px); }
.fyv-button--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.fyv-button--ghost:hover, .fyv-button--ghost:focus-visible { background: #fff; color: var(--fyv-deep); }
.fyv-link { display: inline-flex; gap: 8px; align-items: center; color: var(--fyv-teal); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.fyv-link:hover { color: var(--fyv-gold-deep); }

/* hero */
.fyv-hero {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(100svh, 880px); color: #fff;
    background: linear-gradient(135deg, #072a33, #0f4d5a); background-image: var(--fyv-hero, none), linear-gradient(135deg, #072a33, #0f4d5a);
    background-size: cover; background-position: center 60%;
}
.fyv-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 22, 28, .6) 0%, rgba(4, 22, 28, .12) 34%, rgba(4, 22, 28, .82) 100%); }
.fyv-hero__inner { position: relative; width: min(1240px, 100%); margin: 0 auto; padding: 130px 20px 34px; }
.fyv-hero h1 { font-size: clamp(54px, 12vw, 128px); line-height: .92; margin-bottom: 22px; }
.fyv-hero__lead { max-width: 640px; font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .92); margin-bottom: 34px; }
.fyv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fyv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.fyv-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fyv-stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); background: rgba(4, 22, 28, .72); backdrop-filter: blur(6px); border-top: 1px solid rgba(255, 255, 255, .18); }
.fyv-stats div { padding: 18px 20px; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fyv-stats strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 500; color: var(--fyv-gold); line-height: 1.1; }
.fyv-stats span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
@media (min-width: 900px) {
    .fyv-hero__inner { padding: 150px 40px 52px; }
    .fyv-stats { grid-template-columns: repeat(4, 1fr); }
    .fyv-stats div { padding: 24px 40px; border-bottom: 0; }
    .fyv-stats strong { font-size: 40px; }
}

/* in-page nav: floats under the site header while scrolling */
.fyv { --fyv-head: 90px; --fyv-sub: 54px; }
html:has(.fyv), body:has(.fyv) { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html:has(.fyv) { scroll-behavior: smooth; } }
.fyv-subnav { position: sticky; top: var(--fyv-head); z-index: 30; background: var(--fyv-deep); border-bottom: 1px solid rgba(255, 255, 255, .12); transition: box-shadow .2s ease, border-radius .2s ease, margin .2s ease; }
.fyv-subnav.is-stuck { box-shadow: 0 14px 30px rgba(2, 11, 20, .32); border-bottom-color: rgba(214, 178, 94, .35); }
.fyv-subnav__inner { display: flex; align-items: center; gap: 8px; width: min(1240px, 100%); margin: 0 auto; padding: 0 8px 0 4px; }
.fyv-subnav__links { position: relative; display: flex; flex: 1; min-width: 0; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
.fyv-subnav__links::-webkit-scrollbar { display: none; }
.fyv-subnav__links a { position: relative; flex: none; scroll-snap-align: center; padding: 15px 12px; color: rgba(255, 255, 255, .82); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.fyv-subnav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--fyv-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.fyv-subnav__links a:hover { color: var(--fyv-gold); }
.fyv-subnav__links a.is-active { color: #fff; }
.fyv-subnav__links a.is-active::after { transform: scaleX(1); }
.fyv-subnav .fyv-subnav__cta { flex: none; color: var(--fyv-deep); background: var(--fyv-gold); padding: 9px 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.fyv-subnav .fyv-subnav__cta:hover { color: var(--fyv-deep); background: #fff; }
.fyv [id] { scroll-margin-top: calc(var(--fyv-head) + var(--fyv-sub) + 6px); }
@media (min-width: 900px) {
    .fyv-subnav { top: calc(var(--fyv-head) - 2px); }
    .fyv-subnav__inner { padding: 0 12px; }
    .fyv-subnav__links { mask-image: none; -webkit-mask-image: none; gap: 4px; }
    .fyv-subnav__links a { padding: 17px 14px; font-size: 12px; }
    .fyv-subnav__links a::after { left: 14px; right: 14px; bottom: 9px; }
    .fyv-subnav .fyv-subnav__cta { padding: 10px 20px; font-size: 12px; }
}
@media (max-width: 520px) {
    .fyv-subnav__links a { padding: 14px 10px; }
    .fyv-subnav .fyv-subnav__cta { padding: 8px 12px; }
}
@media (min-width: 521px) { .fyv-sm-hide { display: inline; } }
@media (max-width: 520px) { .fyv-sm-hide { display: none; } }

/* keep the site's floating enquiry button clear of the sub-menu */
body:has(.fyv) .planpop-fab { top: calc(var(--fyv-head, 90px) + var(--fyv-sub, 54px) + 14px); }
@media (max-width: 559px) { body:has(.fyv) .planpop-fab { top: auto; bottom: 16px; right: 14px; } }

/* intro */
.fyv-intro { padding: 72px 0; background: var(--fyv-paper); }
.fyv-intro__grid { display: grid; gap: 40px; }
.fyv-intro h2 { margin-bottom: 26px; }
.fyv-intro p + p { margin-top: 16px; }
.fyv-intro p { color: var(--fyv-muted); font-size: 17px; }
.fyv-facts { align-self: start; padding: 28px; background: #fff; border: 1px solid var(--fyv-line); border-top: 4px solid var(--fyv-gold); box-shadow: 0 18px 50px rgba(13, 53, 64, .08); }
.fyv-facts h3 { font-size: 28px; margin-bottom: 14px; }
.fyv-facts dl { margin: 0; }
.fyv-facts dl div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--fyv-line); }
.fyv-facts dt { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fyv-gold-deep); }
.fyv-facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; }
@media (min-width: 900px) { .fyv-intro { padding: 110px 0; } .fyv-intro__grid { grid-template-columns: 1.25fr .75fr; gap: 80px; } }

/* Muslim-friendly band */
.fyv-muslim { padding: 76px 0; color: #fff; background: radial-gradient(1000px 500px at 85% -10%, #1b6d78 0%, transparent 60%), var(--fyv-deep); }
.fyv-muslim__head { max-width: 780px; margin-bottom: 42px; }
.fyv-muslim__head h2 { margin-bottom: 22px; }
.fyv-muslim__head p { color: rgba(255, 255, 255, .86); font-size: 17px; }
.fyv-muslim__cards { display: grid; gap: 16px; }
.fyv-muslim__cards article { position: relative; padding: 30px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-top: 3px solid var(--fyv-gold); }
.fyv-muslim__num { display: block; margin-bottom: 14px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; color: var(--fyv-gold); line-height: 1; }
.fyv-muslim__cards h3 { font-size: 26px; margin-bottom: 10px; }
.fyv-muslim__cards p { font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.fyv-confirm { display: grid; gap: 28px; margin-top: 18px; padding: 30px 26px; background: #fff; color: var(--fyv-ink); border-left: 6px solid var(--fyv-gold); }
.fyv-confirm h3 { font-size: 30px; margin-bottom: 12px; }
.fyv-confirm p { margin-bottom: 20px; color: var(--fyv-muted); }
.fyv-confirm .fyv-button:hover { background: var(--fyv-deep); border-color: var(--fyv-deep); color: #fff; }
.fyv-confirm ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; align-content: center; }
.fyv-confirm li { padding: 14px 0 14px 30px; border-top: 1px solid var(--fyv-line); position: relative; font-weight: 600; }
.fyv-confirm li:first-child { border-top: 0; }
.fyv-confirm li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 6px; border-left: 2px solid var(--fyv-gold-deep); border-bottom: 2px solid var(--fyv-gold-deep); transform: rotate(-45deg); }
@media (min-width: 760px) { .fyv-muslim__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
    .fyv-muslim { padding: 120px 0; }
    .fyv-muslim__cards { grid-template-columns: repeat(4, 1fr); }
    .fyv-confirm { grid-template-columns: 1.1fr .9fr; gap: 60px; padding: 44px 48px; }
}

/* section heads */
.fyv-head { max-width: 760px; margin-bottom: 40px; }
.fyv-head h2 { margin-bottom: 18px; }
.fyv-head p { color: var(--fyv-muted); font-size: 17px; }
.fyv-head--light p { color: rgba(255, 255, 255, .82); }

/* villas */
.fyv-villas { padding: 76px 0; background: var(--fyv-sand); }
.fyv-villas__grid { display: grid; gap: 22px; }
.fyv-villa { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fyv-line); box-shadow: 0 14px 40px rgba(13, 53, 64, .07); }
.fyv-villa__media { aspect-ratio: 4 / 3; overflow: hidden; background: #dde6e3; }
.fyv-villa__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fyv-villa:hover .fyv-villa__media img { transform: scale(1.04); }
.fyv-villa__body { display: grid; gap: 10px; align-content: start; padding: 24px 24px 28px; }
.fyv-villa__meta { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fyv-gold-deep); line-height: 1.6; }
.fyv-villa h3 { font-size: 32px; line-height: 1.05; }
.fyv-villa__body > p { color: var(--fyv-muted); font-size: 15.5px; }
.fyv-villa__guests { font-size: 14px; color: var(--fyv-ink) !important; }
.fyv-villa__body .fyv-link { margin-top: 6px; }
@media (min-width: 700px) { .fyv-villas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
    .fyv-villas { padding: 120px 0; }
    .fyv-villas__grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .fyv-villa--lead { grid-column: span 3; flex-direction: row; }
    .fyv-villa--lead .fyv-villa__media { flex: 1.5; aspect-ratio: auto; min-height: 460px; }
    .fyv-villa--lead .fyv-villa__body { flex: 1; align-content: center; padding: 44px; }
    .fyv-villa--lead h3 { font-size: 46px; }
}

/* gallery */
.fyv-gallery { padding: 76px 0; color: #fff; background: var(--fyv-deep); }
.fyv-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fyv-gallery__item { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #0a3a45; }
.fyv-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.fyv-gallery__item:hover img, .fyv-gallery__item:focus-visible img { transform: scale(1.06); opacity: .92; }
.fyv-gallery__item:focus-visible { outline: 3px solid var(--fyv-gold); outline-offset: -3px; }
@media (min-width: 700px) { .fyv-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 1040px) {
    .fyv-gallery { padding: 120px 0; }
    .fyv-gallery__grid { grid-template-columns: repeat(4, 1fr); }
    .fyv-gallery__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
}
.fyv-lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(2, 14, 18, .96); color: #fff; }
.fyv-lightbox[open] { display: grid; place-items: center; }
.fyv-lightbox::backdrop { background: rgba(2, 14, 18, .96); }
.fyv-lightbox figure { margin: 0; max-width: 94vw; display: grid; gap: 12px; justify-items: center; }
.fyv-lightbox img { max-width: 94vw; max-height: 80vh; object-fit: contain; }
.fyv-lightbox figcaption { max-width: 720px; font-size: 14px; text-align: center; color: rgba(255, 255, 255, .8); }
.fyv-lightbox__btn { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.fyv-lightbox__btn:hover { background: var(--fyv-gold); color: var(--fyv-deep); }
.fyv-lightbox__close { top: 16px; right: 16px; }
.fyv-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.fyv-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* dining and experiences cards */
.fyv-dining { padding: 76px 0; background: var(--fyv-paper); }
.fyv-experiences { padding: 76px 0; color: #fff; background: linear-gradient(160deg, #0f4d5a, #072a33); }
.fyv-cards { display: grid; gap: 14px; }
.fyv-cards article { padding: 26px 24px; background: #fff; border: 1px solid var(--fyv-line); border-left: 4px solid var(--fyv-gold); }
.fyv-cards h3 { font-size: 26px; margin-bottom: 8px; }
.fyv-cards p { color: var(--fyv-muted); font-size: 15.5px; }
.fyv-cards--dark article { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); border-left-color: var(--fyv-gold); }
.fyv-cards--dark p { color: rgba(255, 255, 255, .84); }
.fyv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.fyv-chips li { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .35); font-size: 13.5px; }
@media (min-width: 700px) { .fyv-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .fyv-dining, .fyv-experiences { padding: 120px 0; } .fyv-cards { grid-template-columns: repeat(3, 1fr); } .fyv-experiences .fyv-cards { grid-template-columns: repeat(4, 1fr); } }

/* getting there */
.fyv-getting { padding: 76px 0; background: var(--fyv-sand); }
.fyv-getting__grid { display: grid; gap: 36px; }
.fyv-getting__note { margin-top: 22px; padding: 18px 20px; background: #fff; border-left: 4px solid var(--fyv-gold); color: var(--fyv-muted); }
.fyv-steps { margin: 0; padding: 0; list-style: none; counter-reset: fyv; display: grid; gap: 0; }
.fyv-steps li { counter-increment: fyv; position: relative; padding: 0 0 30px 64px; }
.fyv-steps li::before { content: counter(fyv); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--fyv-deep); color: var(--fyv-gold); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; }
.fyv-steps li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--fyv-gold); opacity: .5; }
.fyv-steps li:last-child::after { display: none; }
.fyv-steps h3 { font-size: 28px; margin-bottom: 6px; }
.fyv-steps p { color: var(--fyv-muted); }
/* sister property on Mandhoo */
.fyv-sister { margin-top: 56px; display: grid; background: #fff; border: 1px solid var(--fyv-line); overflow: hidden; }
.fyv-sister__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.fyv-sister__photo img { width: 100%; height: 100%; object-fit: cover; }
.fyv-sister__body { padding: 28px 22px 30px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.fyv-sister h3 { font-size: clamp(30px, 5vw, 42px); line-height: 1.05; }
.fyv-sister p { color: var(--fyv-muted); }
.fyv-button--dark { background: var(--fyv-deep); border-color: var(--fyv-deep); color: #fff; }
.fyv-button--dark:hover, .fyv-button--dark:focus-visible { background: var(--fyv-gold); border-color: var(--fyv-gold); color: var(--fyv-deep); }
@media (min-width: 800px) { .fyv-sister { grid-template-columns: 5fr 6fr; } .fyv-sister__photo { aspect-ratio: auto; min-height: 320px; } .fyv-sister__body { padding: 44px 48px; } }
@media (min-width: 900px) { .fyv-getting { padding: 120px 0; } .fyv-getting__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; } }

/* perks (reuses the shared perks partial) */
.fyv-perks { padding: 60px 0; background: var(--fyv-paper); }

/* FAQ */
.fyv-faq { padding: 76px 0; background: #fff; }
.fyv-faq__inner { max-width: 920px; }
.fyv-faq h2 { margin-bottom: 30px; }
.fyv-faq details { border-top: 1px solid var(--fyv-line); }
.fyv-faq details:last-of-type { border-bottom: 1px solid var(--fyv-line); }
.fyv-faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.25; font-weight: 600; }
.fyv-faq summary::-webkit-details-marker { display: none; }
.fyv-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: Inter, sans-serif; font-size: 28px; font-weight: 300; color: var(--fyv-gold-deep); }
.fyv-faq details[open] summary::after { content: "\2212"; }
.fyv-faq details p { padding: 0 44px 24px 0; color: var(--fyv-muted); font-size: 16.5px; }
@media (min-width: 1040px) { .fyv-faq { padding: 120px 0; } }

/* booking */
.fyv-book { padding: 80px 0; color: #fff; background: linear-gradient(160deg, #072a33 0%, #0f4d5a 100%); }
.fyv-book__grid { display: grid; gap: 30px; }
.fyv-book h2 { margin-bottom: 8px; }
.fyv-book p { color: rgba(255, 255, 255, .88); font-size: 17px; }
.fyv-book p + p { margin-top: 14px; }
.fyv-book .fyv-hero__actions { margin-top: 28px; }
.fyv-book__links { margin-top: 30px !important; font-size: 14.5px !important; color: rgba(255, 255, 255, .75) !important; }
.fyv-book__links a { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.fyv-book__links a:hover { color: var(--fyv-gold); }
@media (min-width: 900px) { .fyv-book { padding: 120px 0; } .fyv-book__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; } }

@media (prefers-reduced-motion: reduce) {
    .fyv *, .fyv *::before, .fyv *::after { transition: none !important; }
}
