/* Regmel Technology: site stylesheet.
   Layout adapted from the SQE Creative Business template (GEC Designs): a slate hero with organic shapes,
   floating shadow cards, accent bands, product features around a screenshot and a centred contact block.
   Written from scratch; no template code or images are used. Palette comes from the logo (slate #344158, gold #A88B58). */

:root {
  --ink: #1f2838;
  --text: #454d5c;
  --muted: #687082;
  --slate: #344158;
  --deep: #1c2536;
  --gold: #a88b58;
  --gold-hover: #b99c69;
  --gold-ink: #7d6438;
  --gold-soft: #d6c3a0;
  --gold-tint: #f4efe5;
  --smoke: #f4f5f7;
  --line: #e3e6eb;
  --white: #fff;
  --on-dark: #cfd5df;
  --on-dark-muted: #aeb6c4;
  --radius: 10px;
  --radius-btn: 4px;
  --shadow-card: 0 2px 5px rgba(28, 37, 54, .05), 0 20px 40px -16px rgba(28, 37, 54, .3);
  --shadow-soft: 0 16px 40px -10px rgba(28, 37, 54, .14);
  --shadow-lift: 0 2px 5px rgba(28, 37, 54, .06), 0 30px 50px -18px rgba(28, 37, 54, .36);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 9vw, 120px);
  --nav-h: 76px;
  /* Organic hero shape, stretched to its box. */
  --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M16 0C4 16 0 38 5 60C10 82 30 97 52 92C68 88 76 70 90 64C95 62 98 61 100 61V0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.7 var(--font); letter-spacing: .01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .site-footer :focus-visible, .site-nav:not(.scrolled):not(.menu-open) :focus-visible { outline-color: var(--gold-soft); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon svg, .circle-icon svg, .plan-icon svg, .blob-icon svg, .round-icon svg, .round-link svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-soft); }
.skip-link:focus { top: 12px; }

/* Type scale */
h1 { font-size: clamp(2.4rem, 3.9vw, 3.25rem); line-height: 1.15; letter-spacing: -.012em; }
h2 { font-size: clamp(2rem, 3.3vw, 2.9rem); font-weight: 400; line-height: 1.18; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; line-height: 1.35; }
.label { margin-bottom: 10px; color: var(--gold-ink); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Navigation: transparent over the hero, then a white bar that drops in once the page scrolls. */
.site-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: rgba(13, 18, 28, .26); color: var(--white); }
.site-nav.scrolled { position: fixed; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 16px 40px rgba(20, 27, 41, .08); }
.site-nav.menu-open { background: var(--white); color: var(--ink); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo { width: 40px; height: 40px; flex: none; }
.site-nav:not(.scrolled):not(.menu-open) .logo-slate { fill: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.brand-text small { margin-top: 5px; font-size: 10.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; opacity: .75; }
.links { display: flex; align-items: center; gap: 30px; }
.links a { position: relative; padding: 8px 0; color: var(--text); font-size: 15px; font-weight: 500; transition: color .2s ease; }
.links a:hover, .links a.is-current { color: var(--gold-ink); }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.links a.is-current::after { transform: scaleX(1); }
.menu-toggle { display: none; }
@media (min-width: 761px) {
  .site-nav:not(.scrolled) .links a { color: rgba(255, 255, 255, .86); }
  .site-nav:not(.scrolled) .links a:hover, .site-nav:not(.scrolled) .links a.is-current { color: var(--gold-soft); }
}

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius-btn); font-size: 15px; font-weight: 500; letter-spacing: .03em; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.btn .ico { transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { translate: 0 1px; }
.btn-gold { border-color: var(--gold); background: var(--gold); color: var(--deep); }
.btn-gold:hover { border-color: var(--gold-hover); background: var(--gold-hover); box-shadow: 0 12px 24px -10px rgba(168, 139, 88, .7); }
/* Outline buttons fill with gold from the centre on hover. */
.btn-outline, .btn-outline-light { border-color: var(--gold); background: transparent; }
.btn-outline { color: var(--ink); }
.btn-outline-light { color: var(--white); }
.btn-outline::before, .btn-outline-light::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleY(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.btn-outline:hover, .btn-outline-light:hover { color: var(--deep); }
.btn-outline:hover::before, .btn-outline-light:hover::before { transform: scaleY(1); }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--gold-ink); font-size: 15px; font-weight: 500; transition: color .2s ease; }
.text-link .ico { transition: transform .25s ease; }
.text-link:hover { color: var(--ink); }
.text-link:hover .ico { transform: translateX(3px); }

/* Ticks */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Sections */
.section { position: relative; padding-block: var(--section); }
.section-tint { background: var(--smoke); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > p { margin-top: 18px; color: var(--muted); font-size: 17.5px; }
.section-head a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: calc(var(--nav-h) + clamp(80px, 9vw, 130px)) clamp(110px, 12vw, 170px); background: var(--slate); color: var(--on-dark); }
/* The orb shows only inside the free margin left of the content, so it never sits behind text. */
.hero-orb { position: absolute; z-index: -1; left: calc(clamp(24px, max(var(--gutter), (100vw - 1200px) / 2) - 12px, 120px) - 300px); top: 17%; width: 300px; height: 460px; border-radius: 50%; background: var(--gold); pointer-events: none; }
.hero-copy { max-width: min(540px, calc(48vw - var(--gutter) - 48px)); }
.hero h1 { color: var(--white); }
.hero .lead { margin-top: 24px; color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.hero .actions { margin-top: 38px; }
.hero-note { margin-top: 22px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.hero-note a { color: var(--white); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 64px; width: min(52%, 920px); pointer-events: none; }
.hero-media img, .hero-wave { position: absolute; -webkit-mask: var(--blob) center / 100% 100% no-repeat; mask: var(--blob) center / 100% 100% no-repeat; }
.hero-media img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wave { inset: 0 -48px -26px -26px; background: var(--gold); }
/* Darkens the top of the photo so the navigation links stay legible over it. */
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(13, 18, 28, .6), rgba(13, 18, 28, 0) 20%); -webkit-mask: var(--blob) center / 100% 100% no-repeat; mask: var(--blob) center / 100% 100% no-repeat; }

/* Services: intro beside floating cards in two staggered columns */
.services { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--nav-h) + 48px); padding-top: 24px; }
.services-intro p { margin-top: 20px; color: var(--muted); font-size: 17.5px; }
.services-intro .btn { margin-top: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 72px; }
.card-grid > .card:nth-child(even) { top: 72px; }
.card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 26px; border: 2px dotted var(--gold); border-radius: 6px; background: var(--smoke); color: var(--gold-ink); transition: border-radius .4s ease, background-color .4s ease; }
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { border-radius: 50%; background: var(--gold-tint); }
.card h3 { margin-bottom: 10px; }
.card > p { color: var(--muted); font-size: 15.5px; }
.card .ticks { margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.card .text-link { margin-top: auto; }

/* Audience: gold band with circular icons */
.band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(68px, 8vw, 104px); }
.band-gold { background: linear-gradient(120deg, #a88b58, #b8996a); color: var(--deep); }
.band-gold::before { content: ''; position: absolute; z-index: -1; top: -180px; right: -120px; width: 420px; height: 420px; border: 2px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.band-gold::after { content: ''; position: absolute; z-index: -1; bottom: -170px; left: -110px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.band-title { margin-bottom: clamp(40px, 5vw, 56px); color: var(--deep); text-align: center; }
.audience-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; text-align: center; }
.circle-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--white); color: var(--gold-ink); box-shadow: 0 12px 24px -12px rgba(28, 37, 54, .45); }
.circle-icon svg { width: 28px; height: 28px; }
.audience-list strong { display: block; color: var(--deep); font-size: 17px; font-weight: 500; }
.audience-list li > span:last-child { display: block; max-width: 24ch; margin: 4px auto 0; color: var(--deep); font-size: 15px; line-height: 1.5; }

/* Banking: two cards with dark headers */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1060px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.plan-head { display: flex; align-items: center; gap: 18px; padding: 26px 32px; border-radius: var(--radius) var(--radius) 0 0; background: var(--deep); box-shadow: 0 12px 22px -10px rgba(28, 37, 54, .5); }
.plan-head h3 { color: var(--white); font-size: 1.35rem; }
.plan-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 2px dotted var(--gold); border-radius: 6px; color: var(--gold-soft); }
.plan-icon svg { width: 26px; height: 26px; }
.plan .ticks { gap: 14px; padding: 32px 32px 30px; }
.plan .btn { align-self: flex-start; margin: auto 32px 32px; }

/* Products: KadiFasta features around the screenshot */
.products { padding-bottom: 0; }
.product-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.product-name { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 500; line-height: 1.15; }
.lead-sm { margin-top: 14px; color: var(--text); font-size: 18.5px; line-height: 1.6; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 52px); align-items: center; }
.features { display: grid; gap: clamp(36px, 4vw, 56px); text-align: center; }
.features h4 { margin: 20px 0 8px; font-size: 1.2rem; }
.features p { color: var(--muted); font-size: 15.5px; }
.blob-icon { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 62% 38% 56% 44% / 46% 58% 42% 54%; background: var(--gold); color: var(--white); box-shadow: 0 16px 28px -14px rgba(125, 100, 56, .8); transition: border-radius .6s ease, box-shadow .3s ease; }
.blob-icon svg { width: 36px; height: 36px; }
.features li:hover .blob-icon { border-radius: 22px; box-shadow: 0 18px 30px -12px rgba(125, 100, 56, .9); }
.product-shot { padding: 10px; border-radius: 16px; background: linear-gradient(180deg, #eef0f3, #e1e4e9); box-shadow: 0 34px 60px -26px rgba(28, 37, 54, .38); }
.product-shot img { width: 100%; border-radius: 9px; }
.product-note { color: var(--muted); }
.product-foot { max-width: 700px; margin: clamp(44px, 5vw, 64px) auto 0; text-align: center; }
.product-foot .product-note { margin-bottom: 28px; }

/* JamboLetu: white card on a slate band */
.jambo-band { position: relative; overflow: hidden; isolation: isolate; margin-top: var(--section); padding-block: clamp(72px, 8vw, 112px); background: var(--slate); }
.jambo-band::before { content: ''; position: absolute; z-index: -1; left: -150px; top: -130px; width: 380px; height: 380px; border-radius: 50%; background: var(--gold); }
.jambo-band::after { content: ''; position: absolute; z-index: -1; right: -140px; bottom: -220px; width: 480px; height: 480px; border: 2px solid rgba(214, 195, 160, .45); border-radius: 50%; }
.jambo-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; max-width: 1080px; margin-inline: auto; padding: clamp(28px, 4.5vw, 60px); border-radius: var(--radius); background: var(--white); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .55); }
.jambo-card .btn { margin-top: 28px; }
.jambo-card .ticks { gap: 14px; margin-bottom: 22px; }

/* Training */
.train-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card-center { align-items: center; text-align: center; }
.card .label { margin-bottom: 8px; }
.center-actions { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* About: organic photo frame */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.about-media { position: relative; isolation: isolate; padding: 6% 7% 6% 4%; }
.about-media::before { content: ''; position: absolute; z-index: 0; inset: 6% 7% 6% 4%; border: 3px solid var(--gold); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; transform: translate(18px, -10px) rotate(6deg); pointer-events: none; }
.about-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / .92; object-fit: cover; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.bubble-back { z-index: 0; top: 1%; left: 0; width: 27%; aspect-ratio: 1; background: var(--gold-soft); }
.bubble-front { z-index: 2; right: 3%; bottom: 3%; width: 30%; aspect-ratio: 1; background: rgba(214, 195, 160, .72); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 16.5px; }
.about-copy p.about-lead { margin-bottom: 16px; color: var(--text); font-size: 19px; line-height: 1.6; }
.about-copy .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Process: dark band with numbered circles */
.section-deep { overflow: hidden; isolation: isolate; background: var(--deep); color: var(--on-dark); }
.section-deep::before { content: ''; position: absolute; z-index: -1; right: -160px; top: -200px; width: 440px; height: 440px; border: 2px solid rgba(168, 139, 88, .4); border-radius: 50%; }
.section-deep::after { content: ''; position: absolute; z-index: -1; left: -130px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; background: rgba(168, 139, 88, .14); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 38px; left: calc(50% + 58px); width: calc(100% - 76px); border-top: 2px dotted rgba(214, 195, 160, .6); }
.step-no { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 28px; border-radius: 50%; background: var(--white); color: var(--gold-ink); font-size: 28px; font-weight: 500; outline: 2px dotted rgba(214, 195, 160, .75); outline-offset: 7px; }
.steps h3 { margin-bottom: 12px; }
.steps li > p { color: var(--on-dark-muted); }
.steps .outcome { margin-top: auto; padding-top: 18px; color: var(--gold-soft); font-size: 15px; font-weight: 500; }

/* FAQ */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq-list details { border-radius: var(--radius); background: var(--smoke); transition: background-color .25s ease, box-shadow .25s ease; }
.faq-list details[open] { background: var(--white); box-shadow: var(--shadow-soft); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 20px 24px; border-radius: var(--radius); color: var(--ink); font-size: 17.5px; font-weight: 500; line-height: 1.45; list-style: none; cursor: pointer; transition: color .2s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(var(--deep), var(--deep)) center / 12px 2px no-repeat, linear-gradient(var(--deep), var(--deep)) center / 2px 12px no-repeat, var(--gold); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--gold-ink); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.contact-cards li { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.round-icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--white); }
.round-icon svg { width: 24px; height: 24px; }
.contact-label { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; font-weight: 700; }
.contact-cards p, .contact-cards a:not(.map-link) { color: var(--text); font-size: 16px; }
.contact-cards a:not(.map-link):hover { color: var(--gold-ink); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--gold-ink); font-size: 15px; font-weight: 500; }
.map-link:hover { color: var(--ink); }
.map-link .ico { width: 16px; height: 16px; }
.enquiry-box { max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); text-align: center; }
.contact-intro { color: var(--text); font-size: 17.5px; }
.enquiry-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.enquiry-topics button { min-height: 44px; padding: 0 20px; border: 2px solid var(--gold); border-radius: var(--radius-btn); background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.enquiry-topics button:hover { background: var(--gold-tint); }
.enquiry-topics button[aria-pressed="true"] { background: var(--gold); color: var(--deep); }
.enquiry-guidance { min-height: 3.4em; max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 15.5px; }
.enquiry-box .actions { justify-content: center; margin-top: 18px; }
.email-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { padding-block: clamp(64px, 7vw, 88px) 32px; background: var(--deep); color: var(--on-dark-muted); text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.footer-brand .logo { width: 44px; height: 44px; }
.footer-text { max-width: 54ch; margin: 18px auto 0; font-size: 15.5px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 28px; }
.footer-nav a { padding: 6px 0; color: var(--on-dark); font-size: 15px; font-weight: 500; transition: color .2s ease; }
.footer-nav a:hover { color: var(--gold-soft); }
.round-links { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.round-link { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--white); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.round-link svg { width: 21px; height: 21px; }
.round-link:hover { background: var(--white); color: var(--gold-ink); transform: scale(1.12); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 24px; font-size: 15px; }
.footer-contact a:hover { color: var(--white); }
.footer-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--deep); box-shadow: 0 12px 24px -10px rgba(28, 37, 54, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease; }
.to-top:hover { background: var(--gold-hover); }
.to-top .ico { transform: rotate(-90deg); }
.show-top .to-top { opacity: 1; visibility: visible; transform: none; }

/* Motion: page-load entrance, header drop, drawn logo arc, scroll reveals. All skipped under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-media img { animation: fade .9s .1s both; }
  .hero-wave { animation: fade .9s .4s both; }
  .hero-orb { animation: orb-in 1.1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .site-nav.scrolled { animation: nav-drop .45s cubic-bezier(.2, .7, .2, 1); }
  .logo-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s .2s ease-out forwards; }
  .motion-ready .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease var(--reveal-delay, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms), transform .3s ease, box-shadow .3s ease; }
  .motion-ready .reveal.is-visible { opacity: 1; translate: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes orb-in { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: none; } }
@keyframes nav-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .links { gap: 22px; }
}

@media (max-width: 1180px) {
  .hero { padding-bottom: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-media { position: relative; z-index: 0; inset: auto; width: min(calc(100% - var(--gutter)), 780px); aspect-ratio: 16 / 11; margin: 56px 0 0 auto; }
  .hero-wave { inset: 0 -30px -18px -18px; }
  .hero-media::after { display: none; }
  .hero-orb { top: auto; bottom: 90px; left: -100px; width: 160px; height: 240px; }
}

@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; }
  .services-intro { position: static; max-width: 720px; padding-top: 0; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase .product-shot { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 900px) {
  .plan-grid, .about, .jambo-card { grid-template-columns: 1fr; }
  .train-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .about-media { width: 100%; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin-inline: auto; }
  .steps li:not(:last-child)::after { display: none; }
  .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav-inner { gap: 16px; }
  .logo { width: 36px; height: 36px; }
  .brand-text strong { font-size: 20px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius-btn); background: transparent; color: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
  .site-nav.scrolled .menu-toggle, .site-nav.menu-open .menu-toggle { border-color: var(--line); }
  .links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 24px rgba(20, 27, 41, .1); }
  .links[hidden] { display: none; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .links a:last-child { border-bottom: 0; }
  .links a::after { display: none; }
  html:not(.js) .nav-inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: 12px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .links { position: static; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  html:not(.js) .links a { padding: 6px 0; border: 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
  html:not(.js) .hero { padding-top: calc(var(--nav-h) + 150px); }
  .card-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .card-grid > .card:nth-child(even) { top: 0; }
  .showcase { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card { padding: 28px 24px 24px; }
  .plan-head { padding: 22px 24px; }
  .plan .ticks { padding: 26px 24px 24px; }
  .plan .btn { margin: auto 24px 24px; }
  .hero .actions .btn, .enquiry-box .actions .btn { flex: 1 1 auto; }
  .audience-list { gap: 32px 16px; }
  .about-copy .ticks { grid-template-columns: 1fr; }
  .contact-cards li { padding: 22px; }
  .faq-list summary { padding: 18px; font-size: 16.5px; }
  .faq-list details p { padding: 0 18px 20px; }
  .section-head > p { font-size: 17px; }
  .footer-contact { flex-direction: column; gap: 6px; }
  .footer-contact span { display: none; }
}
