/* web3 — Heritage: logo + email/phone top bar, solid colour menu strip, photo slider, dark footer with map. */
:root { --ink: #212529; --soft: #777; --line: #e7e7e7; --paper: #f7f7f7; --dark: #212529; }
body { font-family: "Open Sans", Arial, sans-serif; font-size: 14px; color: var(--soft); background: #fff; line-height: 1.75; }
h1, h2, h3, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
a { text-decoration: none; }
a:hover { color: color-mix(in srgb, var(--p) 80%, white); }
.btn { border-radius: 4px; padding: 10px 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }

/* header */
header.site { background: #fff; position: relative; z-index: 50; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 98px; }
.brand { display: flex; align-items: center; color: var(--ink); font-size: 22px; font-weight: 800; }
.brand img { max-height: 62px; max-width: 230px; width: auto; object-fit: contain; }
.top-info { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; align-self: stretch; }
.top-info li { display: flex; align-items: center; gap: 12px; padding: 0 26px; }
.top-info li + li { border-left: 1px solid var(--line); }
.top-info li:last-child { padding-right: 0; }
.top-info i { width: 30px; height: 30px; color: var(--p); flex: none; }
.top-info i svg { width: 100%; height: 100%; }
.top-info label { display: block; font-size: 11px; text-transform: uppercase; color: #999; line-height: 1.3; letter-spacing: .02em; }
.top-info a { color: var(--ink); font-weight: 700; font-size: 14px; }

.navbar { background: var(--p); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.preview-bar + header.site .navbar { top: 36px; }
.navbar .wrap { display: flex; align-items: stretch; }
nav.menu { display: flex; flex-wrap: wrap; }
nav.menu > a, nav.menu > .dd > a { display: flex; align-items: center; height: 48px; padding: 0 13px; color: #fff; font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; border-right: 1px solid rgba(0, 0, 0, .12); white-space: nowrap; }
nav.menu > a:first-child { border-left: 1px solid rgba(0, 0, 0, .12); }
nav.menu > a:hover, nav.menu > a.on, nav.menu > .dd:hover > a { background: #fff; color: var(--ink); }
nav.menu .caret { display: none; }
.dd > div { border-radius: 0; border: 0; border-top: 3px solid var(--p); padding: 6px 0; min-width: 220px; }
.dd > div a { padding: 8px 18px; color: var(--soft); font-size: 12.5px; border-bottom: 1px solid #f2f2f2; }
.dd > div a:last-child { border-bottom: 0; }
.dd > div a:hover { background: var(--paper); color: var(--p); }
.burger { color: #fff; border-color: rgba(255, 255, 255, .5); margin: 7px 0; font-size: 14px; }

/* slider */
.slider { position: relative; height: clamp(240px, 42vw, 500px); overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; display: grid; place-items: center; }
.slide.on { opacity: 1; }
.slide-cap { text-align: center; color: #fff; padding: 22px 30px; max-width: 760px; background: rgba(0, 0, 0, .35); }
.slide-cap h2 { color: #fff; font-size: clamp(22px, 3.4vw, 44px); font-weight: 800; margin: 0 0 6px; }
.slide-cap p { margin: 0 0 10px; color: #e2e2e2; font-size: 16px; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.slide-nav:hover { background: var(--p); }
.slide-nav.prev { left: 16px; }
.slide-nav.next { right: 16px; }
.dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button.on { background: #fff; }
.hero { background: var(--p); color: #fff; padding: 90px 0; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 50px); }
.hero .btn { background: #fff; color: var(--p); }

/* sections */
section.block { padding: 50px 0; }
.title { text-align: center; font-size: clamp(26px, 3.2vw, 38px); margin: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 26px 0 32px; }
.prose.wide { max-width: none; text-align: justify; }
.prose img { height: auto; }
.cards3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.card { background: #fff; border: 1px solid rgba(0, 0, 0, .125); border-radius: 4px; padding: 22px; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .18); }
.card img { border-radius: 2px; margin: -22px -22px 18px; width: calc(100% + 44px); max-width: none; }
.card h3 { font-size: 19px; }
.btn-line { display: inline-block; margin-top: 6px; padding: 4px 12px; font-size: 13px; color: #6c757d; border: 1px solid #6c757d; border-radius: 3px; }
.btn-line:hover { background: #6c757d; color: #fff; }

.posts { display: grid; gap: 28px 30px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.post { display: flex; gap: 16px; }
.post-date { flex: none; width: 58px; text-align: center; }
.post-date b { display: block; background: var(--paper); color: var(--p); font-size: 20px; padding: 8px 0 4px; }
.post-date span { display: block; background: var(--p); color: #fff; font-size: 11px; text-transform: uppercase; padding: 2px 0; font-weight: 600; }
.post h3 { font-size: 15px; margin: 0 0 6px; }
.post h3 a { color: var(--p); }
.post p { margin: 0 0 4px; font-size: 13px; color: #555; font-weight: 600; text-transform: uppercase; }
.post .more { font-size: 13px; font-weight: 700; color: var(--ink); }
.see-more { text-align: center; margin: 34px 0 0; }
.see-more a { font-size: 24px; font-weight: 700; color: var(--p); }

.gallery img { border-radius: 2px; }
.gallery a:hover img { opacity: .85; }
details, form.enquiry input, form.enquiry textarea { border-radius: 4px; }

/* inner pages */
.page-head { background: var(--dark); color: #fff; padding: 46px 0; text-align: center; border-bottom: 5px solid var(--p); }
.page-head h1 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0; }
.page-head .back { color: #ccc; font-size: 13px; }
.page-head .muted { color: #bbb; }
main > section.block .prose { max-width: none; }

/* footer */
footer.site { background: #212529; color: #999; font-size: 13.5px; margin-top: 50px; border-top: 4px solid var(--p); }
footer.site .wrap { position: relative; }
.ribbon { position: absolute; top: -4px; left: 0; transform: translateY(-100%); }
.ribbon span { display: inline-block; background: var(--p); color: #fff; font-size: 17px; font-weight: 600; padding: 10px 22px; position: relative; }
.ribbon span::before { content: ""; position: absolute; left: -10px; top: 0; border-right: 10px solid color-mix(in srgb, var(--p) 70%, black); border-top: 16px solid transparent; }
.foot { grid-template-columns: 5fr 5fr 2fr; gap: 30px; padding: 46px 0 34px; }
.foot-map iframe { width: 100%; height: 200px; border: 0; display: block; }
footer.site h5 { color: #fff; font-size: 14px; text-transform: uppercase; margin: 0 0 14px; letter-spacing: .02em; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { display: flex; gap: 12px; margin-bottom: 10px; }
.foot-list i { width: 16px; height: 16px; flex: none; color: var(--p); margin-top: 3px; }
.foot-list i svg, .socials svg { width: 100%; height: 100%; }
footer.site a { color: #ccc; }
footer.site a:hover { color: #fff; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #333; display: grid; place-items: center; padding: 9px; }
.socials a:hover { background: var(--p); color: #fff; }
.copyright { background: #1c2023; padding: 16px 0; font-size: 12.5px; }
.copyright .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 860px) {
  .top { min-height: 78px; }
  .hide-sm { display: none !important; }
  .top { gap: 10px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand img { max-width: 100%; max-height: 52px; }
  .top-info li { padding: 0 0 0 12px; gap: 6px; }
  .top-info i { width: 22px; height: 22px; }
  .top-info a { font-size: 12.5px; white-space: nowrap; }
  .top-info label { display: none; }
  .navbar .wrap { flex-direction: column; }
  nav.menu > a, nav.menu > .dd > a { height: 42px; border: 0 !important; border-top: 1px solid rgba(255, 255, 255, .15) !important; }
  .dd > div { background: transparent; border-top: 0; }
  .dd > div a { color: #fff; border-bottom: 0; padding-left: 26px; }
  .foot { grid-template-columns: 1fr; }
  .ribbon span { font-size: 15px; }
}
