/*
VOICE: warm, calm, boutique — a small family-run Gozitan guesthouse, not a chain hotel
IDEA: a limestone townhouse — honey stone, timber beams, navy ironwork balconies, turquoise pool
PICTURE: full-bleed real photography (pool, facade, rooms); the property is the picture
COLOUR: navy #141b2d (brand) dominant in header/footer, limestone #f5eee1 ground, pool turquoise #1f8fb0 accent, gold #b8924a only for fine detail
TYPE: Marcellus (carved-stone serif) for headings + DM Sans body
LAYOUT: full-width bands, 1200px content, photo-led sections alternating stone and white
*/
:root{--navy:#141b2d;--navy2:#1f2940;--stone:#f5eee1;--stone2:#ebe0cc;--ink:#1d2333;--muted:#5d6477;--sea:#1f8fb0;--gold:#b8924a;--white:#fff;color-scheme:light}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:76px;overflow-x:clip}
body{margin:0;background:var(--white);color:var(--ink);font:17px/1.6 "DM Sans",system-ui,sans-serif;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:Marcellus,Georgia,serif;font-weight:400;line-height:1.1;text-wrap:balance;margin:0 0 .5em}
h1{font-size:clamp(38px,6vw,64px)}
h2{font-size:clamp(30px,4vw,44px)}
h3{font-size:24px}
p{margin:0 0 1em;max-width:66ch}
.wrap{max-width:1200px;margin:0 auto;padding:0 max(5vw,18px)}
.band{padding:clamp(52px,7vw,96px) 0}
.stone{background:var(--stone)}
.navy{background:var(--navy);color:#e9e4d8}
.lead{font-size:19px;color:var(--muted)}
.navy .lead{color:#c9c4b8}

/* header */
.top{position:sticky;top:0;z-index:50;background:var(--navy);color:#fff}
.top .wrap{display:flex;align-items:center;gap:20px;height:68px}
.brand img{height:44px;width:auto}
.nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.nav a{text-decoration:none;font-size:15px;opacity:.88}
.nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 24px;border-radius:999px;background:var(--sea);color:#fff;text-decoration:none;font-weight:600;font-size:16px;border:0;cursor:pointer}
.btn:hover{filter:brightness(1.08)}
.btn.ghost{background:transparent;border:1.5px solid currentColor}
.btn.gold{background:var(--gold)}
.nav .btn{min-height:40px;padding:0 18px;font-size:15px;opacity:1}
.menu{display:none;margin-left:auto;background:none;border:0;color:#fff;font-size:15px;min-height:44px;padding:0 6px;cursor:pointer}
@media(max-width:900px){.nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--navy);flex-direction:column;align-items:flex-start;padding:16px max(5vw,18px) 24px;gap:16px}.nav.open{display:flex}.menu{display:block}}

/* hero */
.hero{position:relative;min-height:min(88vh,760px);display:flex;align-items:flex-end;color:#fff;background:#0d1220}
.hero>img,.hero>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,18,32,.2) 25%,rgba(13,18,32,.82))}
.hero .wrap{position:relative;z-index:1;padding-bottom:clamp(36px,6vw,72px);width:100%}
.hero p{font-size:clamp(17px,2vw,20px);max-width:44ch;color:#f1ece2}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}

/* facts strip */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1px;background:var(--stone2);border-block:1px solid var(--stone2)}
.facts div{background:var(--stone);padding:20px 18px}
.facts b{display:block;font-family:Marcellus,serif;font-weight:400;font-size:22px;color:var(--navy)}
.facts span{font-size:14px;color:var(--muted)}

/* split */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.split.rev>:first-child{order:2}
@media(max-width:820px){.split{grid-template-columns:1fr}.split.rev>:first-child{order:0}}
.photo{border-radius:14px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(20,27,45,.5)}
.photo img{width:100%;height:100%;object-fit:cover}

/* suites */
.suites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:34px}
@media(max-width:980px){.suites{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.suites{grid-template-columns:1fr}}
.suites.four{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:640px){.suites.four{grid-template-columns:1fr}}
.card{background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px -18px rgba(20,27,45,.45)}
.card .body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.card ul{list-style:none;padding:0;margin:0 0 18px;font-size:15px;color:var(--muted)}
.card li{padding:5px 0;border-bottom:1px solid #eee6d6}
.card .btn{margin-top:auto;align-self:flex-start}
.tag{display:inline-block;font-size:13px;background:var(--stone);color:var(--navy);padding:3px 10px;border-radius:999px;margin-bottom:10px}

/* swipe gallery */
.swipe{position:relative}
.swipe .track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.swipe .track::-webkit-scrollbar{display:none}
.swipe .track img{flex:0 0 100%;width:100%;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:start;cursor:zoom-in}
.swipe .arr{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:var(--navy);font-size:20px;cursor:pointer;display:grid;place-items:center}
.swipe .prev{left:10px}.swipe .next{right:10px}
.swipe .count{position:absolute;right:12px;bottom:10px;background:rgba(13,18,32,.65);color:#fff;font-size:13px;padding:2px 9px;border-radius:999px}

/* mosaic */
.mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:200px;gap:12px;margin-top:30px}
.mosaic img{width:100%;height:100%;object-fit:cover;border-radius:10px;cursor:zoom-in}
.mosaic .w2{grid-column:span 2}.mosaic .h2{grid-row:span 2}
@media(max-width:760px){.mosaic{grid-template-columns:1fr 1fr;grid-auto-rows:150px}}

/* list blocks */
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}
.box{background:#fff;border-radius:12px;padding:22px 24px;box-shadow:0 8px 24px -18px rgba(20,27,45,.4)}
.box h3{font-size:21px;margin-bottom:8px}
.box p{font-size:16px;color:var(--muted);margin:0}
.ticks{list-style:none;padding:0;margin:0;columns:2 230px;column-gap:28px}
.ticks li{padding:6px 0 6px 26px;position:relative;break-inside:avoid}
.ticks li::before{content:"";position:absolute;left:2px;top:14px;width:12px;height:7px;border-left:2px solid var(--sea);border-bottom:2px solid var(--sea);transform:rotate(-45deg)}

/* menu */
.menu-list{display:grid;gap:0;margin-top:10px}
.menu-list div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px dashed #d6c9b0}
.menu-list span:last-child{white-space:nowrap;color:var(--navy);font-weight:600}

/* reviews */
.score{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.score .big{font-family:Marcellus,serif;font-size:46px;color:#fff;background:var(--sea);border-radius:12px;padding:4px 16px;line-height:1.2}
.quote{background:var(--navy2);border-radius:12px;padding:22px 24px}
.quote p{font-size:16px;color:#e4dfd3}
.quote cite{font-style:normal;font-size:14px;color:var(--gold)}

/* faq */
details{border-bottom:1px solid var(--stone2);padding:4px 0}
summary{cursor:pointer;font-weight:600;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;min-height:44px}
summary::after{content:"+";font-size:22px;color:var(--sea);line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted)}

/* other property teaser */
.teaser{position:relative;border-radius:16px;overflow:hidden;min-height:420px;display:flex;align-items:flex-end;color:#fff}
.teaser img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teaser::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(13,18,32,.85))}
.teaser .in{position:relative;z-index:1;padding:clamp(22px,4vw,44px)}
.teaser p{color:#eee8dc}

/* footer */
footer{background:var(--navy);color:#cfcabd;font-size:15px}
footer .wrap{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px;padding-block:56px 30px}
@media(max-width:760px){footer .wrap{grid-template-columns:1fr}}
footer h4{font-family:Marcellus,serif;font-weight:400;font-size:20px;color:#fff;margin:0 0 10px}
footer a{text-decoration:none}footer a:hover{text-decoration:underline}
footer .legal{grid-column:1/-1;border-top:1px solid #2b3550;padding-top:18px;font-size:13px;color:#8f93a1}
footer img{height:70px;width:auto;margin-bottom:12px}

/* placeholder marker — remove before go-live */
.todo{background:#fff3c4;color:#6b5200;border:1px dashed #c9a200;border-radius:6px;padding:1px 7px;font-size:.9em}

/* sticky mobile book bar */
.bookbar{display:none}
@media(max-width:700px){.bookbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(20,27,45,.96)}.bookbar .btn{flex:1}body{padding-bottom:70px}}

/* lightbox */
.lb{position:fixed;inset:0;z-index:100;background:rgba(8,11,20,.94);display:none;align-items:center;justify-content:center}
.lb.on{display:flex}
.lb img{max-width:94vw;max-height:86vh;object-fit:contain;border-radius:6px}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;width:48px;height:48px;border-radius:50%;font-size:22px;cursor:pointer}
.lb .x{top:16px;right:16px}.lb .l{left:14px;top:50%}.lb .r{right:14px;top:50%}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.reviews{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.reviews{grid-template-columns:1fr}}
.menu-list span:first-child{min-width:0;overflow-wrap:anywhere}
.box.gphoto{padding-top:0;overflow:hidden}.box.gphoto img{width:calc(100% + 48px);max-width:none;margin:0 -24px 0;aspect-ratio:16/10;object-fit:cover;cursor:zoom-in}
#see .grid2{align-items:start}
.box.gphoto .credit{font-size:12px;color:var(--muted);margin:4px 0 12px;text-align:right}
.box.gphoto img+h3{margin-top:16px}
.box.gphoto img.logo{object-fit:contain;background:#000;padding:18px}
#eat .grid2{align-items:start}
.incl{margin-top:44px;background:#fff;border-radius:14px;padding:26px clamp(18px,3vw,32px);box-shadow:0 10px 30px -18px rgba(20,27,45,.45)}
.incl .strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:14px 0 22px;padding-bottom:6px}
.incl .strip img{flex:0 0 auto;width:200px;aspect-ratio:3/4;object-fit:cover;border-radius:10px;scroll-snap-align:start;cursor:zoom-in}
@media(max-width:600px){.incl .strip img{width:150px}}
.menu-list span:first-child{flex:1}.menu-list span:last-child{flex:none}
.treat{background:#fff;border-radius:12px;padding:20px 22px;box-shadow:0 8px 24px -18px rgba(20,27,45,.4)}
.treat .th{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.treat h3{font-size:21px;margin:0}.treat .th span{color:var(--navy);font-weight:600;white-space:nowrap}
.treat p{font-size:15px;color:var(--muted);margin:8px 0 0}
.menu-list.wax{display:block;columns:2 260px;column-gap:32px}.wax div{break-inside:avoid}
#serenity .photo{max-width:420px}
.grid2.two{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.grid2.two{grid-template-columns:1fr}}
.quick{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding:0}
.quick a{text-decoration:none;background:#fff;border:1px solid var(--stone2);border-radius:999px;padding:9px 16px;font-size:15px;font-weight:600;color:var(--navy);min-height:40px;display:inline-flex;align-items:center}
.quick a:hover{background:var(--navy);color:#fff}
@media(max-width:600px){.quick{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.quick a{flex:none}}
.nav a{white-space:nowrap}
@media(max-width:700px){
.hero{min-height:0;display:block;background:var(--navy)}
.hero>img,.hero>video{position:relative;inset:auto;height:auto;aspect-ratio:16/9;display:block}
.hero::after{display:none}
.hero .wrap{padding-top:22px;padding-bottom:30px}
}
