/* BR Safety. Orange #EF5C05 is for shapes and for bars with dark text.
   Text and buttons on white use burnt orange #B84300 (5.4:1 with white). */
:root {
  --ink: #1A1C1E; --ink-2: #2A2D31; --muted: #5B6068; --line: #E4E4E1; --soft: #F5F5F3;
  --orange: #EF5C05; --orange-text: #B84300; --orange-hover: #8F3500;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-text); }
a:hover { color: var(--orange-hover); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }
[hidden] { display: none !important; }

/* Headings: bold, slanted, upper case, with a short orange bar */
h1, h2, h3, .h { font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
.bar::after { content: ""; display: block; width: 64px; height: 6px; margin-top: .35em; background: var(--orange); transform: skewX(-20deg); }
.center { text-align: center; }
.center.bar::after, .center .bar::after { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: .7rem 1.4rem; border-radius: 999px; background: var(--orange-text); color: #fff; border: 2px solid var(--orange-text); transition: transform .15s, opacity .15s; }
.btn:hover { color: #fff; background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Header ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: stretch; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; padding: 10px 0; }
.logo img { height: 52px; width: auto; display: block; }
.top-contacts { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.top-contact { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); line-height: 1.2; }
.top-contact .icon { color: var(--orange); }
.top-contact small { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--muted); }
.top-contact strong { font-family: var(--head); font-size: 1.25rem; font-weight: 700; }
.top-contact:hover strong { color: var(--orange-text); }
.tabs { display: flex; margin-right: -16px; }
.tab { display: flex; align-items: center; gap: .4rem; padding: 0 1.6rem 0 2rem; margin-left: -12px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: #fff; background: var(--ink); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); }
.tab-orange { background: var(--orange); color: var(--ink); }
.tab:hover { color: #fff; background: var(--ink-2); }
.tab-orange:hover { color: var(--ink); background: #ff7a2b; }

.mainbar { background: var(--orange); }
.mainbar-in { display: flex; align-items: center; gap: 1.5rem; padding-top: 14px; padding-bottom: 14px; }
.search { display: flex; flex: 1 1 360px; max-width: 460px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.search input { flex: 1; min-width: 0; border: 0; padding: .8rem 1.2rem; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.search button { border: 0; background: var(--ink); color: #fff; padding: 0 1.1rem; cursor: pointer; display: flex; align-items: center; }
.quick { display: flex; gap: 1.4rem; margin-left: auto; }
.quick a { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; letter-spacing: .03em; }
.quick a span.ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.quick a:hover span.ring, .quick a.on span.ring { background: var(--ink); color: var(--orange); }
.quick a.on { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.menu { display: none; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 12px; padding-bottom: 12px; }
a.trust-item { color: inherit; text-decoration: none; }
a.trust-item:hover strong { color: var(--orange-text); }
.trust-item { display: flex; align-items: center; gap: .75rem; justify-content: center; line-height: 1.2; }
.trust-item .icon { color: var(--orange); }
.trust-item strong { display: block; font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.trust-item span { font-size: .85rem; color: var(--muted); }

/* ---------- Bands ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 4.5rem 0 4rem; }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 42%; background: var(--ink-2); transform: skewX(-14deg); }
.hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: 30%; width: 26px; background: var(--orange); transform: skewX(-14deg); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--orange); font-style: inherit; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.hero-card h2 { font-size: 1.7rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li + li { border-top: 1px solid var(--line); }
.hero-card li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; text-decoration: none; color: var(--ink); font-weight: 700; }
.hero-card li a small { display: block; font-weight: 400; color: var(--muted); }
.hero-card li a .icon { color: var(--orange-text); }
.hero-card li a:hover { color: var(--orange-text); }

.page-head { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 2.2rem 0 2.4rem; }
.page-head::before { content: ""; position: absolute; top: 0; left: -6%; width: 30%; height: 10px; background: var(--orange); transform: skewX(-30deg); }
.page-head::after { content: ""; position: absolute; top: 0; bottom: 0; right: -6%; width: 30%; background: var(--ink-2); transform: skewX(-14deg); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head .lead { color: rgba(255,255,255,.85); margin: .6rem 0 0; }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: .8rem; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 .35rem; }

section { padding: 4rem 0; }
.soft { background: var(--soft); }
.section-head { margin-bottom: 2rem; }

/* Accreditation logos */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; align-items: center; }
.logos a, .logos div { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem; transition: transform .15s; }
.logos a:hover { transform: translateY(-2px); border-color: var(--orange); }
.logos img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 210; object-fit: contain; }

/* Course cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--soft); }
.card-top img { height: 34px; width: auto; }
.card-top .tag { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .9rem; color: var(--muted); }
.card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .92rem; }
.meta span { display: inline-flex; align-items: center; gap: .35rem; }
.meta .icon { color: var(--orange-text); }
.meta strong { color: var(--ink); }

/* Body groups (courses page) */
.group { padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.group-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.group-head img { width: 150px; height: auto; border: 1px solid var(--line); border-radius: 10px; padding: .4rem; background: #fff; }
.group-head h2 { margin-bottom: .2rem; }
.group-head p { margin: 0; color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.jump a { text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }
.jump a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.filter-empty { display: none; padding: 2rem; text-align: center; background: var(--soft); border-radius: 12px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .8rem; background: var(--orange); color: var(--ink); font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.6rem; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--orange); color: var(--ink); padding: 3rem 0; }
.cta-band::after { content: ""; position: absolute; top: 0; bottom: 0; right: -10%; width: 40%; background: var(--ink); transform: skewX(-14deg); }
.cta-band .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 34rem; }
.cta-band p { margin: .4rem 0 0; max-width: 34rem; }
.cta-band .btns { margin: 0; }

/* Course page */
.course { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; padding: 3rem 16px; }
.course h2 { font-size: 1.8rem; margin-top: 2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--orange-text); margin-top: .15rem; }
.note { background: var(--soft); border-left: 5px solid var(--orange); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; margin-top: 1.5rem; }
.aside { position: sticky; top: 1rem; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 12px; padding: 1.4rem; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.aside img.body-logo { width: 160px; height: auto; display: block; margin-bottom: 1rem; }
.facts-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.facts-list li { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts-list li .icon { color: var(--orange-text); }
.facts-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.facts-list strong { font-size: 1.05rem; }
.aside .btn { width: 100%; justify-content: center; margin-top: .6rem; }
.fine { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }

/* Plain pages */
.prose { max-width: 46rem; }
.facts { border-collapse: collapse; margin-top: .5rem; }
.facts td { border-bottom: 1px solid var(--line); padding: .55rem 1rem .55rem 0; vertical-align: top; }
.facts td:first-child { font-weight: 700; white-space: nowrap; }
.faq { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .75rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; }
.faq p { margin: 0; padding: 0 1.2rem 1rem; color: var(--muted); }
.placeholder { border: 2px dashed #c9c9c4; border-radius: 10px; padding: 1.5rem; color: var(--muted); background: #fbfbfa; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-line { display: flex; align-items: center; gap: .7rem; margin: .6rem 0; }
.contact-line .icon { color: var(--orange-text); }
.body-row { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.body-row img { border: 1px solid var(--line); border-radius: 10px; padding: .5rem; background: #fff; }
.body-row ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: .92rem; border-top: 6px solid var(--orange); }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr 1.2fr; gap: 2rem; padding: 3rem 16px 2rem; }
footer h3 { color: #fff; font-size: 1.25rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: .3rem 0; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer a:hover { color: var(--orange); }
footer .mark { width: 64px; height: 64px; border-radius: 12px; margin-bottom: .8rem; }
footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 16px; font-size: .82rem; }
footer .legal p { margin: .2rem 0; }
footer .partner-line { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem !important; }
footer .partner-line span { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
footer .partner-line img { height: 22px; width: auto; }
.partner-logo { display: block; width: 240px; height: auto; margin: .3rem 0 .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .top-contact.email { display: none; }
  .quick a b { display: none; }
  .quick { gap: .8rem; }
  .logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .topbar-in { min-height: 64px; gap: .75rem; }
  .logo img { height: 40px; }
  .tabs { display: none; }
  .top-contact small, .top-contact strong { display: none; }
  .top-contact { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--orange); }
  .top-contact .icon { color: var(--ink); }
  .quick { display: none; }
  .mainbar-in { flex-wrap: wrap; gap: .75rem; }
  .search { max-width: none; flex: 1 1 200px; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: 54px; z-index: 20; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.2); padding: .5rem; }
  .menu nav a { display: block; padding: .7rem 1rem; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; border-radius: 8px; }
  .menu nav a:hover, .menu nav a.on { background: var(--soft); color: var(--orange-text); }
  .trust-in { grid-template-columns: 1fr; gap: .4rem; }
  .trust-item { justify-content: flex-start; }
  .trust-item:nth-child(n+2) { display: none; }
  .hero { padding: 3rem 0; }
  .hero::before, .hero::after { display: none; }
  .hero .wrap, .course, .split, .body-row { grid-template-columns: 1fr; }
  .aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .group-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .group-head img { width: 130px; }
  .cta-band::after, .page-head::after { display: none; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  section { padding: 3rem 0; }
}
@media (max-width: 520px) {
  footer .cols { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Training centres */
.centres-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.uk-map { margin: 0; background: var(--soft); border-radius: 14px; padding: 1rem; }
.uk-map svg { display: block; width: 100%; height: auto; max-height: 720px; }
.uk-map .land { fill: #fff; stroke: #C9C9C4; stroke-width: 1.2; stroke-linejoin: round; }
.uk-map circle { fill: var(--orange); stroke: var(--ink); stroke-width: 1.5; transition: transform .15s; transform-box: fill-box; transform-origin: center; }
.uk-map a:hover circle, .uk-map a:focus circle { fill: var(--ink); transform: scale(1.4); }
.partner-card { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.75rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.partner-card small { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--muted); font-weight: 700; }
.partner-card img { width: 220px; height: auto; }
.venue-search { max-width: none; margin-top: 1rem; border: 2px solid var(--ink); }
.region h2 small { font-size: .6em; color: var(--muted); font-style: normal; }
.venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.venue { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 10px; padding: 1rem 1.1rem; scroll-margin-top: 1rem; }
.venue:target { box-shadow: 0 0 0 3px var(--orange); }
.venue h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.venue address { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--soft); border-radius: 999px; padding: .15rem .6rem; }
.badge .icon { color: var(--orange-text); }
@media (max-width: 860px) { .centres-top { grid-template-columns: 1fr; } .uk-map svg { max-height: 460px; } }

/* ---------- Enquiry form ---------- */
.enquiry-form { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 10px; padding: 2rem; box-shadow: 0 14px 36px rgba(26,28,30,.08); display: grid; gap: 1.1rem; }
.form-note { margin: 0; color: var(--muted); font-size: .92rem; }
.req { color: var(--orange-text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } .enquiry-form { padding: 1.25rem; } }
.field { display: grid; gap: .4rem; }
.field > span { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; color: var(--ink); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: inherit; color: var(--ink); background: var(--soft); border: 1.5px solid #D5D5D0; border-radius: 6px; padding: .75rem .9rem; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.enquiry-form input:hover, .enquiry-form select:hover, .enquiry-form textarea:hover { border-color: #B5B5AE; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239,92,5,.18); }
.enquiry-form textarea { resize: vertical; min-height: 130px; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.enquiry-form .consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--orange-text); flex: none; padding: 0; }
.enquiry-form .submit { justify-self: start; cursor: pointer; }

/* ---------- Live chat ---------- */
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; }
.chat-btn { position: relative; background: var(--orange-text); color: #fff; border: 0; border-radius: 50%; width: 58px; height: 58px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.chat-btn:hover { background: var(--orange-hover); }
.chat-btn svg { width: 26px; height: 26px; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }
.chat-tip { position: absolute; right: 0; bottom: 74px; background: #fff; color: var(--ink); border-radius: 12px; padding: .75rem 1rem; box-shadow: 0 10px 26px rgba(0,0,0,.18); display: flex; align-items: center; gap: .9rem; white-space: nowrap; font-size: .95rem; }
.chat-tip::after { content: ''; position: absolute; right: 26px; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.chat-tip-close { background: none; border: 0; color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 .1rem; }
.chat-panel { position: absolute; right: 0; bottom: 4.4rem; width: min(330px, calc(100vw - 2.5rem)); background: #fff; border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.25); border-top: 4px solid var(--orange); padding: 1.1rem; display: grid; gap: .6rem; }
.chat-head { display: flex; justify-content: space-between; align-items: center; }
.chat-head strong { font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.25rem; }
.chat-status { font-size: .8rem; color: var(--muted); }
.chat-msg { margin: 0; font-size: .92rem; }
.chat-panel form { display: grid; gap: .5rem; margin: 0; }
.chat-panel input, .chat-panel textarea { font: inherit; border: 1px solid #C9C9C3; border-radius: 4px; padding: .55rem .65rem; width: 100%; }
.chat-panel input:focus, .chat-panel textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; }
.chat-send { font-family: var(--head); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; background: var(--orange-text); color: #fff; border: 0; border-radius: 999px; padding: .6rem; cursor: pointer; }
.chat-send:hover { background: var(--orange-hover); }
@media print { .chat { display: none; } }

/* ---------- City pages ---------- */
.local-map .sea { fill: #E3ECEF; }
.local-map .land { fill: #fff; stroke: #C9C9C4; stroke-width: .3; }
.local-map .ring circle { fill: none; stroke: var(--ink); stroke-width: .25; stroke-dasharray: 1 1; opacity: .5; transform: none; }
.local-map .ring text { font: 600 2.2px var(--body); fill: var(--muted); text-anchor: middle;; paint-order: stroke; stroke: #E3ECEF; stroke-width: .6px; }
.local-map .city rect { fill: var(--ink); }
.local-map .city text { font: 800 italic 3.6px var(--head); text-transform: uppercase; fill: var(--ink);; paint-order: stroke; stroke: #fff; stroke-width: .9px; stroke-linejoin: round; }
.local-map .venue-dot circle { fill: var(--orange); stroke: var(--ink); stroke-width: .4; }
.local-map figcaption { margin: .5rem 0 0; }
.dist { display: flex; align-items: center; gap: .35rem; margin: .5rem 0 0; font-size: .85rem; color: var(--orange-text); font-weight: 600; }
.venues-tight { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 1rem; }
.local-group { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.local-group-head { display: flex; gap: 1.2rem; align-items: flex-start; }
.local-group-head img { width: 96px; height: auto; flex: none; margin-top: .2rem; }
.local-group-head h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.local-group-head p { margin: 0; color: var(--muted); }
.local-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.local-list li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 8px; padding: .7rem .9rem; }
.local-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.local-list a:hover { color: var(--orange-text); }
.local-list span { font-size: .85rem; color: var(--muted); }
.areas { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; }
.city-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.aside .local-map { margin-top: 1rem; padding: .5rem; }
@media (max-width: 640px) { .local-group-head { flex-direction: column; gap: .6rem; } }

/* ---------- Banner photos ---------- */
.ph-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; clip-path: polygon(110px 0, 100% 0, 100% 100%, 0 100%); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,28,30,.82) 0%, rgba(26,28,30,.45) 30%, rgba(26,28,30,.08) 65%, rgba(26,28,30,0) 100%); }
.ph-edge { position: absolute; top: 0; bottom: 0; left: calc(42% - 4px); width: 122px; background: var(--orange); clip-path: polygon(110px 0, 122px 0, 12px 100%, 0 100%); z-index: 1; }
.page-head.has-photo::after, .hero.has-photo::before, .hero.has-photo::after { display: none; }
.page-head.has-photo { padding: 3rem 0 3.2rem; }
.page-head.has-photo .wrap > * { max-width: 40rem; }
.hero.has-photo .ph-photo { width: 100%; clip-path: none; }
.hero.has-photo .ph-photo::after { background: linear-gradient(90deg, rgba(26,28,30,.96) 0%, rgba(26,28,30,.9) 38%, rgba(26,28,30,.45) 62%, rgba(26,28,30,.2) 100%); }
.hero.has-photo .ph-edge { display: none; }
@media (max-width: 860px) {
  .ph-photo, .hero.has-photo .ph-photo { width: 100%; clip-path: none; }
  .ph-photo::after { background: rgba(26,28,30,.78); }
  .ph-edge { display: none; }
}
