/* ==========================================================================
   Semporna Homestay Resort – Tropical Coastal theme
   ========================================================================== */

:root {
    /* Palette (do not add colours outside this list) */
    --white: #FFFFFF;
    --navy: #173B52;
    --blue: #347F9B;
    --aqua: #E8F3F3;
    --sand: #F4EFE5;
    --gold: #C5A46D;
    --charcoal: #35434A;
    --grey: #F5F7F7;

    /* Derived tints of palette colours */
    --blue-dark: #2B6C85;
    --line: #E3ECEC;
    --navy-70: rgba(23, 59, 82, .7);
    --navy-45: rgba(23, 59, 82, .45);
    --text-muted: rgba(53, 67, 74, .75);

    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 6px 24px rgba(23, 59, 82, .08);
    --nav-h: 80px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.75rem; }
.muted { color: var(--text-muted); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.section { padding: 96px 0; }
.section-aqua { background: var(--aqua); }
.section-sand { background: var(--sand); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}
.center > .eyebrow::before,
.section-head.center .eyebrow::before { display: none; }
.eyebrow-light { color: var(--white); }

.lead { font-size: 1.12rem; color: var(--charcoal); }

.section-head { margin-bottom: 3rem; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.split-head h2 { margin-bottom: 0; }

.placeholder-note {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 2rem;
    margin-bottom: 0;
}
.placeholder-note i { color: var(--gold); margin-right: .35rem; }

.tag-tbc {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8A6D3B;
    background: var(--sand);
    border: 1px solid rgba(197, 164, 109, .45);
    padding: .15rem .55rem;
    border-radius: 3px;
    white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .8rem 1.5rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    line-height: 1.2;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-gold-outline { border-color: var(--gold); color: var(--white); background: transparent; }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: .6rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--blue);
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

.chip {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    transition: all .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-bar.center { justify-content: center; margin-bottom: 2.5rem; }

/* ---------- Navbar (always white) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--aqua);
    transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(23, 59, 82, .07); }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--aqua);
    color: var(--blue);
    border: 1px solid rgba(197, 164, 109, .55);
    font-size: 1.05rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; color: var(--navy); }
.brand-sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav-links a {
    position: relative;
    display: block;
    padding: .5rem .7rem;
    color: var(--navy);
    font-weight: 500;
    font-size: .95rem;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .2rem;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: .7rem 1.25rem; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    padding: 0 11px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(23, 59, 82, .72) 0%, rgba(23, 59, 82, .38) 55%, rgba(23, 59, 82, .18) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 5rem; }
.hero h1 { color: var(--white); max-width: 760px; margin-bottom: 1.25rem; }
.hero-text { font-size: 1.15rem; max-width: 560px; margin-bottom: 2.25rem; color: rgba(255, 255, 255, .92); }
.hero .eyebrow::before { background: var(--gold); }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero-dots span {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, .45);
    transition: background .3s;
}
.hero-dots span.is-active { background: var(--gold); }
.hero-scroll {
    position: absolute;
    right: 32px;
    bottom: 26px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    color: var(--white);
    animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--white); background: rgba(255, 255, 255, .15); }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Inner page header ---------- */
.page-header {
    position: relative;
    padding: 110px 0 90px;
    color: var(--white);
    background: var(--navy) var(--bg) center / cover no-repeat;
    isolation: isolate;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 59, 82, .78), rgba(23, 59, 82, .4));
    z-index: -1;
}
.page-header h1 { color: var(--white); margin-bottom: .75rem; }
.page-header .lead { color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.5rem; display: flex; gap: .5rem; color: rgba(255, 255, 255, .8); }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-media { position: relative; padding: 0 60px 60px 0; }
.split-media .img-main { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.split-media .img-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 8px solid var(--white);
    border-radius: var(--radius);
}
.split-media::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    width: 120px;
    height: 120px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.icon-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.25rem; }
.icon-list li { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list strong { display: block; color: var(--navy); }
.icon-list span:not(.icon-badge) { color: var(--text-muted); font-size: .95rem; }
.icon-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--aqua);
    color: var(--blue);
    font-size: 1.05rem;
}
.icon-badge.lg { width: 60px; height: 60px; font-size: 1.35rem; }
.section-aqua .icon-badge { background: var(--white); }

/* ---------- Rooms ---------- */
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.room-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.room-wrap { display: flex; }
.room-wrap.is-hidden { display: none; }
.room-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.room-grid-2 .room-media { aspect-ratio: 16 / 10; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
.carousel-slide.is-active { opacity: 1; }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-size: .8rem;
    opacity: 0;
    transition: opacity .25s, background .2s;
    z-index: 2;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel:hover .carousel-btn,
.carousel-btn:focus-visible { opacity: 1; }
.carousel-btn:hover { background: var(--white); color: var(--blue); }
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}
.carousel-dots button.is-active { background: var(--white); width: 18px; border-radius: 4px; }
.room-view {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    color: var(--navy);
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .65rem;
    border-radius: 3px;
}
.room-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.room-head h3 { margin: 0; font-size: 1.25rem; }
.room-body > p { font-size: .93rem; color: var(--text-muted); }
.room-specs { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; color: var(--navy); font-weight: 500; }
.room-specs i { color: var(--blue); margin-right: .3rem; }
.room-features { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.room-features li { font-size: .78rem; background: var(--grey); border: 1px solid var(--line); padding: .2rem .6rem; border-radius: 3px; color: var(--charcoal); }
.room-foot {
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.room-price { display: flex; flex-direction: column; line-height: 1.2; }
.room-price strong { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; font-weight: 600; }
.price-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

/* Compare table */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 600; background: var(--grey); }
.compare-table tbody th a { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; font-weight: 500; }
.compare-table tbody th a:hover { color: var(--blue); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--grey); }
.compare-table td:last-child { text-align: right; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.info-item h3 { margin: 1rem 0 .5rem; font-size: 1.2rem; }
.info-item p { color: var(--text-muted); margin: 0; }

/* ---------- Facilities ---------- */
.facility-icons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facility-icon {
    padding: 2.25rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .3s;
}
.facility-icon:hover { background: var(--aqua); }
.facility-icon h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 1rem 0 .5rem; }
.icon-circle {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(197, 164, 109, .55);
    color: var(--blue);
    font-size: 1.3rem;
}

.facility-rows { display: grid; gap: 72px; }
.facility-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.facility-row.reverse .facility-row-media { order: 2; }
.facility-row-media img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; border-radius: var(--radius); }
.facility-row-text h3 { font-size: 1.75rem; margin: 1.1rem 0 .7rem; }
.facility-row-text p { font-size: 1.05rem; }
.facility-row-text .icon-badge { background: var(--white); }

.facility-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facility-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.facility-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.facility-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.facility-card:hover .facility-card-media img { transform: scale(1.05); }
.facility-card-icon {
    position: absolute;
    left: 1.25rem;
    bottom: -22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--line);
}
.facility-card-media { overflow: visible; }
.facility-card-media img { border-radius: var(--radius) var(--radius) 0 0; }
.facility-card-body { padding: 2rem 1.25rem 1.4rem; }
.facility-card-body h3 { margin-bottom: .4rem; }
.facility-card-body p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Activities ---------- */
.activity-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}
.activity-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--white);
}
.activity-tile.tile-lg { grid-column: span 2; grid-row: span 2; }
.activity-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity-tile:hover img { transform: scale(1.06); }
.activity-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(23, 59, 82, .75) 0%, rgba(23, 59, 82, 0) 55%);
}
.tile-caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 2; }
.tile-caption h3 { color: var(--white); margin: .4rem 0 0; font-size: 1.25rem; }
.tile-lg .tile-caption h3 { font-size: 1.8rem; }
.tile-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    background: var(--white);
    color: var(--navy);
    padding: .2rem .55rem;
    border-radius: 3px;
}

.notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--sand);
    border-left: 3px solid var(--gold);
    padding: 1.1rem 1.4rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.notice i { color: var(--gold); margin-top: .3rem; }
.notice p { margin: 0; }

.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.activity-card.is-hidden { display: none; }
.activity-card-media { position: relative; aspect-ratio: 10 / 7; overflow: hidden; border-radius: var(--radius); }
.activity-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.activity-card:hover .activity-card-media img { transform: scale(1.05); }
.activity-card-media .tile-tag { position: absolute; top: 12px; left: 12px; }
.activity-card-body { padding: 1.2rem .25rem 0; }
.activity-card-body h3 { margin-bottom: .45rem; }
.activity-card-body p { color: var(--text-muted); font-size: .95rem; margin-bottom: .8rem; }

/* ---------- Why stay ---------- */
.why {
    position: relative;
    color: var(--white);
    background: var(--navy) var(--bg) center / cover fixed no-repeat;
    isolation: isolate;
}
.why::before { content: ''; position: absolute; inset: 0; background: rgba(23, 59, 82, .78); z-index: -1; }
.why h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.why-item { padding: 2.25rem 1.5rem 0; border-left: 1px solid rgba(255, 255, 255, .2); }
.why-item:first-child { border-left: 0; }
.why-item i { color: var(--gold); font-size: 1.5rem; margin-bottom: 1.1rem; }
.why-item h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.why-item p { color: rgba(255, 255, 255, .82); font-size: .93rem; margin: 0; }

/* ---------- Gallery preview ---------- */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 14px;
}
.gp-item {
    position: relative;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--grey);
}
.gp-1 { grid-row: span 2; }
.gp-2 { grid-column: span 2; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gp-item:hover img { transform: scale(1.06); }
.gp-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(23, 59, 82, .35);
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0;
    transition: opacity .3s;
}
.gp-item:hover .gp-zoom, .gp-item:focus-visible .gp-zoom { opacity: 1; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: var(--grey);
    border-radius: var(--radius);
    overflow: hidden;
    break-inside: avoid;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.masonry-item.is-hidden { display: none; }
.masonry-item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1rem .9rem;
    text-align: left;
    color: var(--white);
    font-weight: 500;
    background: linear-gradient(0deg, rgba(23, 59, 82, .75), rgba(23, 59, 82, 0));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.masonry-item:hover .masonry-caption,
.masonry-item:focus-visible .masonry-caption { opacity: 1; transform: none; }

/* ---------- Lightbox (built by JS) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(23, 59, 82, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    margin: 0 auto;
    border-radius: 4px;
    transform: scale(.97);
    transition: transform .35s var(--ease), opacity .25s;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox img.is-loading { opacity: .3; }
.lightbox figcaption { color: var(--white); margin-top: 1rem; font-size: .95rem; }
.lightbox figcaption span { color: var(--gold); margin-left: .75rem; font-size: .85rem; }
.lb-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    transition: background .2s, border-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.review-carousel { position: relative; text-align: center; }
.review-track { display: grid; }
.review {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .5s, transform .5s, visibility .5s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 3px; margin-bottom: 1.25rem; }
.review blockquote {
    margin: 0 0 1.25rem;
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.5;
    color: var(--navy);
}
.review figcaption { color: var(--text-muted); }
.review figcaption strong { color: var(--navy); }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.round-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    background: var(--white);
    color: var(--blue);
    transition: all .2s;
}
.round-btn:hover { background: var(--blue); color: var(--white); }
.review-dots { display: flex; gap: 8px; }
.review-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(52, 127, 155, .3); transition: all .3s; }
.review-dots button.is-active { background: var(--blue); width: 22px; border-radius: 4px; }

/* ---------- Location / map ---------- */
.location { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.address { display: flex; gap: .6rem; color: var(--navy); font-weight: 500; }
.address i { color: var(--blue); margin-top: .35rem; }
.h-small { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); font-weight: 600; margin: 1.75rem 0 .75rem; }
.nearby { list-style: none; padding: 0; margin: 0 0 2rem; }
.nearby li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.nearby i { color: var(--blue); width: 20px; text-align: center; }
.nearby span { flex: 1; color: var(--navy); font-weight: 500; }
.nearby em { font-style: normal; font-size: .82rem; color: var(--text-muted); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--grey); aspect-ratio: 4 / 3.2; }
.map-wide { aspect-ratio: 21 / 8; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: var(--white);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 500;
    padding: .4rem .75rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}
.map-badge i { color: var(--gold); margin-right: .3rem; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    background: var(--navy) var(--bg) center / cover no-repeat;
    isolation: isolate;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(23, 59, 82, .62); z-index: -1; }
.cta-inner { max-width: 760px; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band .eyebrow::before { display: none; }

/* ---------- About / editorial ---------- */
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.editorial.reverse .editorial-media { order: 2; }
.editorial-media img { width: 100%; aspect-ratio: 11 / 9; object-fit: cover; border-radius: var(--radius); }
.editorial-media.stacked { position: relative; padding-bottom: 80px; }
.editorial-media.stacked img:first-child { width: 85%; aspect-ratio: 9 / 7; }
.editorial-media.stacked img:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    aspect-ratio: 1;
    border: 8px solid var(--white);
}
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list i { color: var(--white); background: var(--blue); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; margin-top: .3rem; flex-shrink: 0; }
.check-list strong { color: var(--navy); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.value-item .icon-badge { margin-bottom: 1.25rem; }
.value-item p { color: var(--text-muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list span:not(.icon-badge) { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-list a, .contact-list p { color: var(--navy); font-weight: 500; margin: 0; }
.contact-list a:hover { color: var(--blue); }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.enquiry-form { margin-top: 1.75rem; display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    font-size: .95rem;
    color: var(--charcoal);
    background: var(--grey);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .8rem .95rem;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(52, 127, 155, .15);
}
.field .error { display: none; color: #A0522D; font-size: .8rem; margin-top: .3rem; }
.field.has-error input, .field.has-error textarea { border-color: #A0522D; }
.field.has-error .error { display: block; }
.form-status { margin: 0; font-size: .92rem; color: var(--blue); font-weight: 500; min-height: 1.4em; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--navy);
}
.acc-trigger i { color: var(--blue); transition: transform .3s var(--ease); font-size: .9rem; }
.acc-trigger[aria-expanded="true"] i { transform: rotate(45deg); }
.acc-trigger:hover { color: var(--blue); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel p { color: var(--text-muted); padding-bottom: 1.35rem; margin: 0; }

.notfound { padding: 140px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr; gap: 48px; padding-top: 80px; padding-bottom: 60px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--gold); }
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-sub { color: var(--gold); }
.brand-light .brand-mark { background: rgba(255, 255, 255, .08); color: var(--white); }
.footer-about p { margin: 1.25rem 0; }
.social { display: flex; gap: .6rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: all .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: .35rem; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.25rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: .6rem;
    height: 56px;
    padding: 0 1.2rem 0 1rem;
    border-radius: 28px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(23, 59, 82, .25);
    transition: transform .25s var(--ease), background .25s;
}
.wa-float i { font-size: 1.6rem; }
.wa-float:hover { color: var(--white); background: var(--blue-dark); transform: translateY(-3px); }
.wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--blue);
    animation: pulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.to-top {
    position: fixed;
    right: 30px;
    bottom: 92px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--blue); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
