/* Senglea Harbour View — site styles
   Design system: limestone cream + deep harbour blue + terracotta,
   Marcellus (display) + Figtree (body), hand-drawn SVG iconography. */
:root {
  --harbour: #0e4f6e;
  --harbour-deep: #0a3a52;
  --limestone: #f7f1e5;
  --sand: #efe6d2;
  --cream: #fdfbf6;
  --terracotta: #c2603d;
  --terracotta-btn: #b0512c;
  --terracotta-dk: #9f4d2e;
  --gold: #f0d9a8;
  --ink: #22303a;
  --slate: #44525c;
  --muted: #5b6771;
  --line: #e6dcc6;
  --link: #a04a05;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(14, 79, 110, 0.14);
  --serif: "Marcellus", "Georgia", "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--limestone); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
svg { flex-shrink: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--harbour); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.h-rule { width: 64px; height: 3px; background: var(--terracotta); border: 0; margin: 0 0 1.4rem; }

/* Buttons */
.btn { display: inline-block; background: var(--terracotta-btn); color: #fff; padding: 0.7rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; transition: background .15s, transform .15s; font-size: 1rem; font-family: var(--sans); }
.btn:hover { background: var(--terracotta-dk); transform: translateY(-1px); color: #fff; }
.btn-lg { padding: 0.95rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.95rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(253, 251, 246, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.3rem; color: var(--harbour); text-decoration: none; letter-spacing: .3px; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; }
.logo span { color: var(--terracotta); margin-left: .3rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.btn { color: #fff; font-weight: 600; }

/* Hero */
.hero { background-size: cover; background-position: center; color: #fff; min-height: 82vh; display: flex; align-items: flex-end; }
.hero-inner { padding: 3rem 1.25rem 4.2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 3.5px; font-size: .82rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { color: var(--cream); font-size: clamp(2.1rem, 5.2vw, 3.9rem); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; margin: 1.2rem 0; color: #e8e2d2; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-rating { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-cta .btn-lg { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero-note { font-size: .92rem; color: #e8e2d2; }

/* Highlights strip */
.strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; padding: 1.9rem 1.25rem; }
.hl { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; font-weight: 600; font-size: .86rem; color: var(--slate); line-height: 1.35; }
.hl svg { width: 26px; height: 26px; stroke: var(--harbour); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--sand); }
.narrow-p { max-width: 760px; margin-bottom: 2rem; color: var(--muted); }
.section p { margin-bottom: 1rem; }
.section .narrow p { font-size: 1.06rem; color: var(--slate); }

/* Wave divider */
.wave-rule { display: block; width: 100%; height: 42px; color: #d9cdb2; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

/* About */
.about-grid { align-items: center; gap: 3.5rem; }
.about-figure { position: relative; margin: 0; }
.about-figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 48px rgba(14,79,110,.22); }
.about-badge { position: absolute; bottom: -16px; left: 24px; right: auto; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--harbour); box-shadow: 0 8px 20px rgba(0,0,0,.1); max-width: calc(100% - 3rem); }
.about-more { font-weight: 600; }

/* House layout */
.layout-grid { align-items: start; gap: 3rem; }
.floor-cards { list-style: none; margin: 1.2rem 0 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.floor-cards li { background: var(--cream); border: 1.5px solid var(--harbour); border-radius: 10px; padding: .8rem 1.15rem; }
.floor-cards strong { display: block; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--harbour); margin-bottom: .1rem; }
.floor-cards span { color: var(--slate); font-size: .97rem; }
.stairs-note { background: #fdf6ec; border-left: 4px solid var(--terracotta); padding: .85rem 1.1rem; border-radius: 8px; font-size: .95rem; color: var(--slate); }
.layout-figure { margin: 0; }
.layout-figure img { width: 100%; max-width: 430px; height: auto; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.18); display: block; margin: 0 auto; }
.layout-figure figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* Amenities & facts */
.amenities { list-style: none; columns: 2; column-gap: 1.5rem; }
.amenities li { break-inside: avoid; padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--slate); }
.amenities li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 700; }
.facts { list-style: none; }
.facts li { padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.facts li strong { color: var(--ink); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter { background: var(--cream); border: 1px solid #d9cdb2; border-radius: 999px; padding: .45rem 1.2rem; cursor: pointer; font: inherit; font-size: .92rem; color: var(--slate); transition: background .15s, color .15s; }
.filter:hover { border-color: var(--harbour); color: var(--harbour); }
.filter.active { background: var(--harbour); color: #fff; border-color: var(--harbour); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.shot { overflow: hidden; border-radius: 12px; cursor: pointer; aspect-ratio: 4/3; background: var(--sand); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.06); }

/* Location (dark harbour band) */
.location-dark { background: var(--harbour); color: var(--cream); }
.location-dark h2 { color: var(--cream); }
.location-dark .narrow-p { color: #cfe0ea; }
.location-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; }
.location-head svg { width: 52px; height: 52px; stroke: var(--gold); }
.nearby { list-style: none; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid rgba(253,251,246,.18); color: var(--cream); }
.nearby li:last-child { border-bottom: 0; }
.nearby em { color: var(--gold); font-style: normal; font-weight: 600; white-space: nowrap; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-link { display: block; text-align: center; padding: .55rem; background: var(--cream); font-size: .9rem; color: var(--link); }

/* Guides teaser */
.teaser-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.teaser-head h2 { margin-bottom: 0; }
.teaser-all { font-weight: 600; white-space: nowrap; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.teaser-card { display: flex; flex-direction: column; gap: .7rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.teaser-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.teaser-card svg { width: 26px; height: 26px; stroke: var(--terracotta); }
.teaser-card h3 { font-size: 1.22rem; color: var(--ink); line-height: 1.3; }
.teaser-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Enquire */
.enquire { background: var(--sand); }
.enquire-card { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.6rem, 4vw, 2.9rem); box-shadow: var(--shadow); }
.enquire-card h2 { text-align: center; }
.enquire-intro { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 1.6rem; }
.form .row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form label { display: flex; flex-direction: column; font-size: .88rem; font-weight: 600; color: var(--slate); margin-bottom: 1rem; flex: 1; min-width: 130px; }
.form input, .form textarea { margin-top: .35rem; padding: .72rem .85rem; border: 1.5px solid #d9cdb2; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--harbour); border-color: var(--harbour); }
.form .btn-lg { display: block; width: 100%; }
.form-trust { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { margin-top: 1rem; font-weight: 600; text-align: center; }
.form-status.ok { color: #157a37; }
.form-status.err { color: var(--terracotta-dk); }

/* Footer */
.footer { background: var(--harbour-deep); color: #cfe0ea; padding: 2.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand svg { width: 26px; height: 26px; stroke: var(--gold); }
.footer strong { font-family: var(--serif); font-weight: 400; color: var(--cream); font-size: 1.05rem; }
.footer a { color: var(--cream); }
.footer-copy { opacity: .7; }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--terracotta-btn); color: #fff; padding: .85rem 2rem; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,.3); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,58,82,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: none; cursor: pointer; font-size: 2rem; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.3); }

/* Responsive */
@media (max-width: 980px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 2.5rem; }
  .location-head svg { display: none; }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .logo span { display: none; }
  .amenities { columns: 1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 88vh; }
  .sticky-cta { display: block; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hl { flex-direction: row; text-align: left; }
}

/* ===== Guide / article pages ===== */
.article { max-width: 860px; padding-top: 1.5rem; padding-bottom: 2rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 0.5rem 0 1.5rem; }
.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.1rem; }
.article article > p, .article section > p { font-size: 1.06rem; margin: 0 0 1rem; color: var(--slate); }
.article section { margin: 1.9rem 0; }
.article h2 { font-size: 1.65rem; margin-bottom: 0.6rem; }
.article ul, .article ol { margin: 0 0 1rem 1.25rem; color: var(--slate); }
.article li { margin: 0.35rem 0; }
.guide-intro { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Byline */
.byline-row { display: flex; align-items: center; gap: .85rem; padding: .9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 1.4rem; }
.byline-avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--harbour); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.byline-avatar svg { width: 22px; height: 22px; stroke: var(--gold); }
.byline-row .byline { margin: 0; display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); }
.byline-row .byline strong { font-size: .92rem; color: var(--ink); }
.byline { color: var(--muted); font-size: .9rem; }

.faq details { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.2rem; margin: 0.6rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq summary:hover { color: var(--harbour); }
.faq details p { margin: 0.6rem 0 0; color: var(--slate); }

.guide-cta { display: flex; gap: 1.5rem; align-items: center; background: var(--harbour); border-radius: 16px; padding: 1.5rem 1.75rem; margin: 2.5rem 0; }
.guide-cta img { width: 220px; height: 150px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.guide-cta h3 { font-family: var(--serif); color: var(--cream); font-size: 1.3rem; margin-bottom: 0.35rem; }
.guide-cta p { margin: 0 0 1rem; color: #cfe0ea; font-size: .95rem; }

.related { margin: 2rem 0; }
.related h2 { font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.related ul { list-style: none; margin-left: 0; }
.related li { padding: 0; margin: .55rem 0; border: 0; }
.related a { display: block; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1.15rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.05rem; transition: box-shadow .15s; }
.related a:hover { box-shadow: var(--shadow); }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin: 1.5rem 0; }
.guide-card { display: block; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card h2 { font-size: 1.22rem; margin-bottom: 0.4rem; color: var(--ink); }
.guide-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

@media (max-width: 700px) {
  .guide-cta { flex-direction: column; align-items: flex-start; }
  .guide-cta img { width: 100%; height: 200px; }
  .guide-grid { grid-template-columns: 1fr; }
}

/* Turnstile CAPTCHA widget spacing */
.ts-box { margin: 0 0 1rem; min-height: 0; }
.ts-box:empty { margin: 0; }

/* Inline guide image */
.guide-figure { margin: 1.5rem 0; }
.guide-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(14,79,110,.16); }
.guide-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; text-align: center; }

/* Inline booking prompt inside guide articles (compact variant of .guide-cta, no image) */
.guide-cta--inline { padding: 1.1rem 1.4rem; margin: 1.6rem 0 1.9rem; gap: 1rem; }
.guide-cta--inline h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.guide-cta--inline p { font-size: .92rem; margin-bottom: .7rem; }
.guide-cta--inline .btn { color: #fff; }

/* ===== Language menu + translated-section extras ===== */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; user-select: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 6px; padding: .24rem .45rem .24rem .55rem; color: var(--muted); white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; display: inline-block; width: .38rem; height: .38rem; margin-left: .35rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--terracotta); border-color: var(--terracotta); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 70; list-style: none; margin: 0; padding: .35rem 0; min-width: 10.5rem; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.lang-menu li { margin: 0; }
.nav-links .lang-menu li a { display: block; padding: .5rem 1rem; font-size: .92rem; color: var(--slate); text-decoration: none; white-space: nowrap; }
.nav-links .lang-menu li a b { display: inline-block; min-width: 1.9rem; font-size: .75rem; letter-spacing: .08em; color: var(--muted); }
.nav-links .lang-menu li a:hover { color: var(--terracotta); background: rgba(0,0,0,.03); }
.guide-others { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.guide-others h2 { font-size: 1.3rem; }
/* Tablet widths: the header can't hold every link in the longer languages,
   so drop the two in-page jump links (gallery, location) and tighten spacing. */
@media (max-width: 900px) {
  .nav-links { gap: 1rem; }
  .nav-links a[href$="#gallery"], .nav-links a[href$="#location"] { display: none; }
}
@media (max-width: 680px) { .logo span { display: none; } }
@media (max-width: 560px) { .nav-links { gap: .75rem; } .nav-links .btn-sm { white-space: nowrap; } }
/* Phones: longer translated distance labels must wrap instead of widening the
   page, and wide comparison tables scroll inside their own box. */
@media (max-width: 560px) {
  .nearby li span { min-width: 0; }
  .nearby em { white-space: normal; text-align: right; }
  .article table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
