/* ===== Design tokens ===== */
:root {
  --navy: #0B1F3A;
  --navy-700: #0f284a;
  --gold: #C8A45C;
  --gold-soft: #d9bd80;
  --cream: #F7F5F0;
  --ink: #3A3A3A;
  --muted: #6b7280;
  --white: #ffffff;
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy); }
.section-lead { color: var(--muted); max-width: 60ch; margin: .6rem 0 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  font-weight: 600; color: var(--gold); margin: 0 0 .6rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 600; text-decoration: none; padding: .85rem 1.6rem;
  border-radius: 999px; border: 2px solid var(--gold); cursor: pointer;
  font-size: 1rem; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--cream); }
.btn--small { padding: .55rem 1.1rem; font-size: .92rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 31, 58, .08);
  box-shadow: 0 1px 12px rgba(11, 31, 58, .05);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav__logo-mark { height: 42px; width: auto; }
.nav__logo-word { height: 23px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  color: var(--cream);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
  max-width: 100%; padding: clamp(2.5rem, 6vw, 5rem) max(1.25rem, calc((100% - var(--maxw)) / 2));
}
.hero__title { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0 0 1rem; }
.hero__address { display: flex; align-items: center; gap: .5rem; font-weight: 500; letter-spacing: .02em; }
.hero__address .pin { width: 20px; height: 20px; fill: var(--gold); flex: none; }
.hero__tagline { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; margin: 1.4rem 0 .4rem; }
.hero__intro { color: rgba(247,245,240,.85); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

/* ===== Badges ===== */
.badges {
  max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.badge {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid rgba(200,164,92,.4);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow);
}
.badge svg { width: 38px; height: 38px; fill: var(--gold); flex: none; }
.badge strong { display: block; color: var(--navy); font-size: 1.1rem; font-family: var(--serif); }
.badge span { color: var(--muted); font-size: .92rem; }

/* ===== Sections shared ===== */
section { scroll-margin-top: 80px; }
.features, .gallery-section, .why, .contact { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }

/* ===== Features ===== */
.features__grid {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem;
}
.feature {
  background: var(--navy); color: var(--cream); border-radius: var(--radius);
  padding: 1.6rem 1.2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  border: 1px solid rgba(200,164,92,.25); transition: transform .15s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature span { font-weight: 500; font-size: .98rem; }

/* ===== Gallery ===== */
.gallery {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem;
}
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: var(--navy); }
.gallery__item img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(11,31,58,.92));
  color: var(--cream); font-weight: 500; padding: 1.6rem .9rem .8rem; font-size: .95rem;
}

/* ===== Why ===== */
.why { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 1rem; margin-bottom: 1rem; }
.ticks { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem 2rem; }
.tick { position: relative; padding-left: 2rem; font-weight: 500; color: var(--navy); }
.tick::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: var(--gold); border-radius: 50%;
}
.tick::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
#enquiry-form { margin-top: 1.5rem; display: flex; flex-direction: column; }
#enquiry-form label { font-weight: 600; color: var(--navy); margin: 1rem 0 .35rem; font-size: .92rem; }
#enquiry-form input, #enquiry-form textarea {
  font-family: inherit; font-size: 1rem; padding: .75rem .85rem;
  border: 1px solid #cdd3dc; border-radius: 10px; background: var(--white); color: var(--ink);
}
#enquiry-form button { margin-top: 1.4rem; align-self: flex-start; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 1rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-success { color: #1b7a43; }
.form-status.is-error { color: #b3261e; }

.contact__list { list-style: none; margin: 1.5rem 0 1.5rem; padding: 0; }
.contact__list li { margin-bottom: 1rem; }
.contact__label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold); font-weight: 600; margin-bottom: .15rem; }
.contact__list a { color: var(--navy); font-weight: 500; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__list em { color: var(--muted); font-style: italic; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(247,245,240,.85); margin-top: 2rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__logo { height: 26px; width: auto; margin: 0 0 .8rem; }
.footer p { margin: .2rem 0; font-size: .92rem; }
.footer__meta { text-align: right; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,30,.92); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: none; color: var(--cream); font-size: 2.6rem; line-height: 1; cursor: pointer; }
body.no-scroll { overflow: hidden; }

/* ===== Scroll fade ===== */
[data-fade] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-fade].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 320px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .badges { grid-template-columns: 1fr; }
  .nav__links { gap: .9rem; }
  .nav__links a:not(.btn) { display: none; }
  .nav__logo-word { display: none; }
  .footer__inner { flex-direction: column; }
  .footer__meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-fade] { opacity: 1; transform: none; transition: none; }
  .gallery__item img, .feature, .btn { transition: none; }
}
