/* web4 — Bloom: playful school design. Rounded Baloo headings, sky-blue wavy menu bar, cheerful accent colours. */
:root { --ink: #24324a; --soft: #5d6b80; --line: #e8edf3; --paper: #fff8ee; --green: #7cc242; --orange: #ff8a3d; --pink: #ff5c8a; --sun: #ffc93c; }
body { font-family: Nunito, Arial, sans-serif; font-size: 16px; color: var(--soft); background: #fff; }
h1, h2, h3, h4, h5, .brand { font-family: "Baloo 2", Nunito, sans-serif; color: var(--ink); font-weight: 700; }
a { text-decoration: none; }

/* header */
.b-strip { background: var(--ink); color: #fff; font-size: 13.5px; }
.b-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 38px; flex-wrap: wrap; }
.b-strip a { color: #fff; display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; opacity: .9; }
.b-strip svg { width: 14px; height: 14px; color: var(--sun); }
.b-socials { display: inline-flex; gap: 6px; }
.b-socials a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.b-socials a:nth-child(4n + 1) { background: var(--p); } .b-socials a:nth-child(4n + 2) { background: var(--green); } .b-socials a:nth-child(4n + 3) { background: var(--orange); } .b-socials a:nth-child(4n + 4) { background: var(--pink); }
.b-socials svg { width: 14px; height: 14px; color: #fff; }
header.site { background: #fff; position: relative; z-index: 50; }
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 26px; line-height: 1.05; color: var(--ink); }
.brand img { max-height: 66px; max-width: 200px; width: auto; object-fit: contain; }
.brand small { display: block; font-family: Nunito, sans-serif; font-size: 13px; font-weight: 600; color: var(--soft); margin-top: 4px; }
.b-call { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--orange); padding: 11px 22px; }
.b-call svg { width: 16px; height: 16px; }
.b-nav { background: var(--p); position: sticky; top: 0; z-index: 50; }
.b-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px; background: radial-gradient(circle at 10px -2px, var(--p) 12px, transparent 13px) repeat-x; background-size: 20px 12px; }
.preview-bar ~ header.site .b-nav { top: 36px; }
.b-nav .wrap { display: flex; align-items: center; justify-content: center; }
nav.menu { display: flex; flex-wrap: wrap; justify-content: center; }
nav.menu > a, nav.menu > .dd > a { display: flex; align-items: center; gap: 4px; padding: 16px 16px; color: #fff; font-family: "Baloo 2", sans-serif; font-size: 16.5px; font-weight: 600; }
nav.menu > a:hover, nav.menu > a.on, nav.menu > .dd:hover > a { color: var(--sun); }
nav.menu .caret { font-size: 11px; }
.dd > div { border: 0; border-radius: 16px; padding: 8px; border-top: 4px solid var(--sun); }
.dd > div a { padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.dd > div a:hover { background: var(--paper); color: var(--p); }
.burger { color: #fff; border-color: rgba(255, 255, 255, .6); margin: 10px 0; font-size: 15px; }

/* buttons */
.btn { border-radius: 999px; background: var(--green); padding: 13px 28px; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); font-family: "Baloo 2", sans-serif; font-size: 17px; }
.btn:hover { box-shadow: 0 8px 0 rgba(0, 0, 0, .12); }

/* hero / slider */
.slider { position: relative; height: clamp(300px, 46vw, 560px); overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; display: flex; align-items: center; }
.slide.on { opacity: 1; }
.slide-cap { width: 100%; }
.slide-cap .wrap > * { max-width: 560px; }
.slide-cap h2 { display: inline; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.5; color: #fff; background: var(--green); padding: 2px 18px; border-radius: 14px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.slide-cap p { margin: 18px 0; display: inline-block; background: rgba(36, 50, 74, .82); color: #fff; padding: 8px 16px; border-radius: 12px; font-weight: 600; }
.slide-cap .btn { display: table; margin-top: 6px; background: var(--orange); }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--p); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.slide-nav.prev { left: 18px; } .slide-nav.next { right: 18px; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 13px; height: 13px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); padding: 0; cursor: pointer; }
.dots button.on { background: var(--sun); transform: scale(1.25); }
.b-hero { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; background: linear-gradient(160deg, #e9f6ff, var(--paper)); }
.b-hero h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 860px; margin: 0 auto 16px; }
.b-hero p { font-size: 19px; max-width: 640px; margin: 0 auto 28px; }
.b-shape { position: absolute; border-radius: 50%; opacity: .9; }
.b-shape.s1 { width: 120px; height: 120px; background: var(--sun); top: 40px; left: 6%; }
.b-shape.s2 { width: 70px; height: 70px; background: var(--pink); bottom: 50px; left: 18%; }
.b-shape.s3 { width: 150px; height: 150px; background: var(--green); top: 60px; right: 5%; border-radius: 42% 58% 60% 40%; }
.b-shape.s4 { width: 54px; height: 54px; background: var(--orange); bottom: 70px; right: 22%; border-radius: 12px; transform: rotate(18deg); }
.hero:not(.b-hero) { background: var(--p); color: #fff; padding: 90px 0; text-align: center; }

/* sections */
section.block { padding: 72px 0; }
main > section.block:nth-of-type(even) { background: var(--paper); }
section.block h2 { font-size: clamp(28px, 3.6vw, 42px); text-align: center; position: relative; padding-bottom: 22px; margin-bottom: 30px !important; }
section.block h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120px; height: 12px; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 6c8-6 12 6 20 0s12 6 20 0 12 6 20 0 12 6 20 0 12 6 20 0 12 6 16 0' fill='none' stroke='%237cc242' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center; }
.prose h2 { text-align: left !important; }
.prose h2::after { left: 0 !important; transform: none !important; }
.page-head { background: linear-gradient(120deg, var(--p), #5ec4f5); padding: 56px 0 64px; text-align: center; position: relative; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 8px 0 0; }
.page-head .back, .page-head .muted { color: rgba(255, 255, 255, .9); }
.grid { gap: 26px; }
.card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 14px 34px -18px rgba(36, 50, 74, .35); border-top: 6px solid var(--p); transition: transform .25s; }
.grid > .card:nth-child(4n + 2) { border-top-color: var(--green); } .grid > .card:nth-child(4n + 3) { border-top-color: var(--orange); } .grid > .card:nth-child(4n + 4) { border-top-color: var(--pink); }
.card:hover { transform: translateY(-6px) rotate(-.4deg); }
.card img { border-radius: 16px; }
.stats > div { background: #fff; border-radius: 26px; padding: 26px 10px; box-shadow: 0 14px 30px -18px rgba(36, 50, 74, .35); }
.stats > div:nth-child(4n + 1) b { color: var(--p); } .stats > div:nth-child(4n + 2) b { color: var(--green); } .stats > div:nth-child(4n + 3) b { color: var(--orange); } .stats > div:nth-child(4n + 4) b { color: var(--pink); }
.stats b { font-family: "Baloo 2", sans-serif; font-size: 46px; }
.cta { background: linear-gradient(110deg, var(--green), var(--sun)) !important; color: #fff; text-align: center; position: relative; }
.cta h2 { color: #fff; } .cta h2::after { filter: brightness(10); }
.cta .btn { background: #fff; color: var(--ink); }
.gallery img { border-radius: 18px; }
details { border-radius: 16px; border: 2px solid var(--line); }
summary { font-family: "Baloo 2", sans-serif; font-size: 17px; color: var(--ink); }
form.enquiry input, form.enquiry select, form.enquiry textarea { border-radius: 14px; border: 2px solid var(--line); }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { border-color: var(--p); outline: 0; }
.t-date { border-radius: 14px; } .t-person, .t-branch, .t-review, .t-notices li, .t-downloads li, .t-event { border-radius: 20px; }

/* footer */
footer.site { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; margin-top: 30px; }
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; background: radial-gradient(circle at 15px 20px, var(--ink) 15px, transparent 16px) repeat-x; background-size: 30px 20px; }
.b-foot { display: grid; gap: 34px; grid-template-columns: 1.3fr 1fr 1fr; padding: 60px 0 40px; }
footer.site { background-image: radial-gradient(rgba(255, 201, 60, .28) 2px, transparent 2.5px), radial-gradient(rgba(255, 92, 138, .28) 2px, transparent 2.5px); background-size: 90px 90px, 130px 130px; background-position: 10px 20px, 60px 70px; }
footer.site .brand { color: #fff; margin-bottom: 12px; }
footer.site .brand img { background: #fff; border-radius: 14px; padding: 6px; max-height: 58px; }
footer.site h5 { color: #fff; font-size: 21px; margin: 0 0 14px; }
footer.site a { color: rgba(255, 255, 255, .85); }
footer.site a:hover { color: var(--sun); }
.b-links, .b-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.b-links a::before { content: "★ "; color: var(--sun); font-size: 12px; }
.b-contact li { display: flex; gap: 10px; } .b-contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--sun); flex: none; }
.b-copy { background: rgba(0, 0, 0, .2); font-size: 13.5px; }
.b-copy .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px 0; }

@media (max-width: 860px) {
  .b-top { min-height: 74px; }
  .brand { font-size: 21px; } .brand img { max-height: 52px; }
  .b-call { display: none; }
  .b-nav .wrap { flex-direction: column; align-items: stretch; }
  .burger { align-self: flex-end; }
  nav.menu > a, nav.menu > .dd > a { padding: 10px 6px; border-top: 1px solid rgba(255, 255, 255, .2); }
  .dd > div { background: transparent; border: 0; } .dd > div a { color: #fff; }
  .b-foot { grid-template-columns: 1fr; }
  .slide-nav { display: none; }
}
