/* TEAMPLUS — public site styles */
:root {
  /* TEAMPLUS brand: deep green + gold */
  --gold: #e8c174;        /* accent fills, accents on green */
  --gold-d: #d6a94f;      /* hover */
  --gold-l: #f4dca6;
  --gold-ink: #8a6418;    /* gold text/icons on white (AA contrast) */
  --on-gold: #02291b;     /* text on gold */
  --ink: #02291b;         /* deepest green: topbar, footer, dark panels */
  --ink-2: #023d27;       /* logo green: header */
  --ink-3: #0b5236;       /* lines on green */
  --steel: #56675f;
  --line: #dde5e0;
  --paper: #ffffff;
  --mist: #f2f6f3;
  --text: #1c2a24;
  --head: 'Montserrat', 'Arial', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(2, 41, 27, .10);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--steel); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Buttons & links ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--gold); color: var(--on-gold); font-family: var(--head); font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; padding: .8em 1.5em; border: 2px solid var(--gold); border-radius: 4px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--gold-d); border-color: var(--gold-d); }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--gold-ink); font-family: var(--head); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow.light { color: var(--gold); }
.svc-card .link-arrow { color: var(--gold); }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8em; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.eyebrow a:hover { text-decoration: underline; }

/* Top bar & header ----------------------------------------------------- */
.topbar { background: var(--ink); color: #b9cfc3; font-size: .86rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 0; }
.tb-right { display: flex; gap: 22px; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-item .ico { color: var(--gold); }
a.tb-item:hover { color: #fff; }
.tb-wa .ico { color: #25d366; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink-2); border-bottom: 3px solid var(--gold); box-shadow: 0 6px 24px rgba(2,41,27,.18); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 200px; height: auto; }
.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 30px 12px; font-family: var(--head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; position: relative; }
.mainnav > ul > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.mainnav > ul > li:hover > a, .mainnav > ul > li.is-active > a { color: var(--gold); }
.mainnav > ul > li:hover > a::after, .mainnav > ul > li.is-active > a::after { transform: scaleX(1); }
.dd-ico { width: 14px; height: 14px; transition: transform .2s; }
.dd { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 10px 0; background: var(--ink); border-top: 3px solid var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.dd li a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #dbe8e0; font-size: .96rem; }
.dd li a .ico { color: var(--gold); }
.dd li a:hover { background: var(--ink-3); color: #fff; padding-left: 24px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-ico { transform: rotate(180deg); }
.btn-nav { padding: .7em 1.1em; font-size: .8rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 30px; height: 30px; }

/* Hero slider ----------------------------------------------------------- */
.hero { position: relative; height: min(84vh, 760px); min-height: 520px; background: var(--ink); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,30,20,.88) 0%, rgba(1,30,20,.55) 55%, rgba(1,30,20,.15) 100%); }
.slide-content { position: relative; z-index: 2; max-width: var(--wrap); }
.slide-content > * { max-width: 680px; opacity: 0; transform: translateY(24px); transition: .8s ease; }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .45s; }
.slide h1 { color: #fff; margin-bottom: .35em; }
.slide p { font-size: 1.2rem; color: #d3e3da; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 10px; }
.dot { width: 56px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dot span { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.dot span::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.dot.is-active span::after { animation: dotfill var(--slide-ms, 6s) linear forwards; }
.hero.paused .dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.2); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.arrows button:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.arrows .prev .ico { transform: rotate(180deg); }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(60px, 8vw, 100px) 0; position: relative; }
.section.alt { background: var(--mist); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--steel); font-size: 1.1rem; }
.eyebrow.dark { color: var(--gold-ink); }

.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.intro-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.intro-grid p { font-size: 1.12rem; }

/* Service cards */
.services-home { background: var(--mist); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.svc-card { position: relative; overflow: hidden; background: var(--ink); color: #c7dacf; padding: 30px 26px 26px; border-radius: var(--radius); min-height: 360px; display: flex; flex-direction: column; isolation: isolate; transition: transform .3s, box-shadow .3s; }
.svc-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; z-index: -1; transition: opacity .3s, transform .6s; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,36,24,.4), rgba(2,36,24,.95) 70%); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,36,24,.25); }
.svc-card:hover .svc-card-bg { opacity: .7; transform: scale(1.06); }
.svc-num { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .15em; color: rgba(255,255,255,.4); }
.svc-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); margin: 18px 0 auto; }
.svc-ico .ico { width: 28px; height: 28px; }
.svc-ico.lg { width: 72px; height: 72px; margin: 0 0 22px; }
.svc-ico.lg .ico { width: 34px; height: 34px; }
.svc-card h3 { color: #fff; margin-top: 26px; }
.svc-card p { font-size: .96rem; flex-grow: 0; }

/* Disciplines strip */
.disciplines { background: var(--gold); color: var(--on-gold); padding: 22px 0; }
.disciplines .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.disc-label { font-family: var(--head); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: .72rem; opacity: .85; }
.disciplines ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.disciplines li::before { content: '+'; margin-right: 8px; opacity: .7; }

/* Partner logos */
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 30px; }
.logo-tile { display: grid; place-items: center; height: 110px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s; text-align: center; font-family: var(--head); font-weight: 600; color: var(--steel); font-size: 1.05rem; }
.logo-tile img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logo-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Cert band home */
.cert-home { background: var(--ink); color: #c7dacf; }
.cert-home h2 { color: #fff; }
.cert-home-in { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.cert-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.cert-badge { width: 170px; height: 170px; border-radius: 50%; border: 2px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; font-family: var(--head); font-weight: 800; font-size: 1rem; text-align: center; outline: 8px solid rgba(232,193,116,.12); }
.cert-badge .ico { width: 40px; height: 40px; color: var(--gold); }

/* Page hero */
.page-hero { position: relative; background: var(--ink) var(--hero) center/cover no-repeat; color: #fff; padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1,30,20,.9), rgba(1,30,20,.5)); }
.page-hero.tall { padding-block: clamp(100px, 13vw, 170px) clamp(70px, 9vw, 110px); }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: #d3e3da; font-size: 1.2rem; max-width: 640px; margin: 0; }

/* Watermark background (About, Partners, Certification) */
.watermark { isolation: isolate; overflow: hidden; }
.watermark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--wm) center/cover no-repeat; opacity: .08; filter: grayscale(1) contrast(1.2); }

.prose p { font-size: 1.1rem; }
.prose h3 { margin-top: 1.6em; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
.about-side { background: var(--ink); color: #d3e3da; padding: 34px; border-radius: var(--radius); border-top: 4px solid var(--gold); }
.about-side h3 { color: #fff; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--gold-ink); margin-top: .25em; }
.about-side .checklist .ico, .checklist.light .ico { color: var(--gold); }
.checklist.cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.checklist.light { color: #e3eee8; }
.mv { background: var(--mist); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.mv-card p { font-size: 1.15rem; margin: 0; }
.mv-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(232,193,116,.22); color: var(--gold-ink); margin-bottom: 20px; }
.mv-ico .ico { width: 28px; height: 28px; }

/* Services page bands */
.svc-tabs { position: sticky; top: 84px; z-index: 40; background: var(--ink-2); border-bottom: 1px solid var(--ink-3); }
.svc-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.svc-tabs a { display: flex; align-items: center; gap: 8px; padding: 16px 18px; color: #b9cfc3; font-family: var(--head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; border-bottom: 3px solid transparent; }
.svc-tabs a .ico { color: var(--gold); }
.svc-tabs a:hover { color: #fff; border-bottom-color: var(--gold); }
.svc-band { position: relative; color: #d3e3da; padding: clamp(70px, 9vw, 120px) 0; background: var(--ink) var(--bg) center/cover no-repeat; isolation: isolate; scroll-margin-top: 140px; }
.svc-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1,30,20,.94) 30%, rgba(1,30,20,.6)); }
.svc-band.flip::before { background: linear-gradient(270deg, rgba(1,30,20,.94) 30%, rgba(1,30,20,.6)); }
.svc-band-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.svc-band.flip .svc-band-in > :first-child { order: 2; }
.svc-band h2 { color: #fff; }
.svc-band .lead { font-size: 1.25rem; color: #fff; }
.svc-band .btn { margin-top: 10px; }
.disc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.disc-tiles li { display: flex; align-items: center; gap: 12px; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--gold); border-radius: 6px; font-family: var(--head); font-size: .95rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .03em; backdrop-filter: blur(4px); }
.disc-tiles .ico { color: var(--gold); width: 26px; height: 26px; }
.disc-tiles.row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.disc-strip { background: var(--ink-2); padding: 26px 0; }
.svc-band .checklist { background: rgba(255,255,255,.05); padding: 30px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.side-card { position: sticky; top: 110px; background: var(--mist); border-radius: var(--radius); padding: 28px; }
.side-links { list-style: none; margin: 0 0 24px; padding: 0; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.side-links a .ico { color: var(--gold-ink); }
.side-links a:hover { color: var(--gold-ink); }
.side-contact { background: var(--ink); color: #fff; padding: 22px; border-radius: 8px; display: grid; gap: 10px; }
.side-contact h4 { color: #fff; margin: 0; }
.side-contact a { display: flex; gap: 10px; align-items: center; color: #d3e3da; }
.side-contact .ico { color: var(--gold); }

/* Contact */
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -150px; position: relative; z-index: 2; }
.contact-channels { padding-top: 0; }
.channel { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: .25s; font: inherit; color: inherit; cursor: pointer; }
.channel:hover { transform: translateY(-4px); border-color: var(--gold); }
.channel p { color: var(--steel); word-break: break-word; }
.channel .link-arrow { margin-top: auto; font-size: .92rem; }
.ch-ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 18px; }
.ch-ico .ico { width: 26px; height: 26px; }
.channel.wa .ch-ico { background: #25d366; }
.contact-main { padding-top: 20px; }
.contact-channels + .contact-main { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.form-card { background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #c9d6ce; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }
.alert.ok { background: #e6f6ec; color: #1d6b3a; border: 1px solid #b9e4c8; }
.alert.err { background: #fdecea; color: #a12a17; border: 1px solid #f5c2b8; }
.location .addr { display: flex; gap: 10px; align-items: flex-start; }
.location .addr .ico { color: var(--gold-ink); margin-top: .3em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 20px 0 14px; aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Partners */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.pillars > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pillars .ico { width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 12px; }
.pillars p { color: var(--steel); font-size: .96rem; margin: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.partner { display: grid; grid-template-columns: 120px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 110px; transition: .25s; }
.partner:hover, .partner:target { border-color: var(--gold); box-shadow: var(--shadow); }
.partner-logo { width: 120px; height: 120px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; padding: 12px; }
.partner-logo img { max-height: 96px; width: auto; }
.initials { font-family: var(--head); font-weight: 900; font-style: italic; font-size: 2rem; color: var(--gold-ink); }
.partner h3 { margin-bottom: .2em; }
.partner-country { display: inline-flex; gap: 6px; align-items: center; color: var(--steel); font-size: .9rem; margin-bottom: 10px; }
.partner p { font-size: .98rem; }
.become { background: var(--ink); color: #c7dacf; }
.become h2 { color: #fff; }
.become-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }

/* Certification */
.cert-card { display: grid; grid-template-columns: 340px 1fr; gap: 50px; background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.cert-card + .cert-card { margin-top: 28px; }
.cert-visual img { border-radius: 6px; border: 1px solid var(--line); }
.cert-seal { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--ink-2) 60%, var(--ink) 61%); border: 3px solid var(--gold); outline: 12px solid rgba(232,193,116,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; }
.cert-seal .ico { width: 54px; height: 54px; color: var(--gold); }
.cert-seal strong { font-family: var(--head); font-weight: 900; font-style: italic; font-size: 2.2rem; line-height: 1; }
.cert-seal span { font-family: var(--head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .3em; color: #b9cfc3; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.cert-meta dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); }
.cert-meta dd { margin: 0; font-weight: 600; color: var(--ink); }

/* CTA band & footer */
.cta-band { background: var(--gold); color: var(--on-gold); padding: 46px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-gold); margin-bottom: .2em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .btn-ghost-light { background: transparent; border-color: var(--on-gold); color: var(--on-gold); }
.cta-band .btn-ghost-light:hover { background: var(--on-gold); color: var(--gold); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--ink); color: #9fb8aa; padding: 70px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.f-brand img { width: 150px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.f-contact { display: grid; gap: 12px; align-content: start; }
.f-contact a { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { color: var(--gold); margin-top: .3em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-3); display: grid; place-items: center; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--ink-3); font-size: .88rem; }

/* Floating buttons + chat ----------------------------------------------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s; position: relative; }
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 28px; height: 28px; }
.fab-wa { background: #25d366; }
.fab-chat { background: var(--gold); color: var(--on-gold); }
.fab-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.chatbox { position: fixed; right: 20px; bottom: 156px; z-index: 95; width: min(370px, calc(100vw - 32px)); height: min(520px, calc(100vh - 190px)); background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
.chatbox[hidden], .chat-body[hidden], .chat-start[hidden] { display: none; }
.chat-head { background: var(--ink); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--gold); }
.chat-head strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1rem; }
.chat-head span { font-size: .82rem; color: #9fb8aa; }
.chat-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.chat-start { padding: 18px; display: grid; gap: 10px; align-content: start; overflow-y: auto; }
.chat-start p { font-size: .95rem; margin: 0 0 4px; }
.chat-start input, .chat-start textarea, .chat-send input { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid #c9d6ce; border-radius: 6px; width: 100%; }
.chat-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--mist); }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: .94rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg small { display: block; font-size: .72rem; opacity: .6; margin-top: 3px; }
.msg.visitor { align-self: flex-end; background: var(--gold); color: var(--on-gold); border-bottom-right-radius: 3px; }
.msg.admin { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat-note { text-align: center; font-size: .8rem; color: var(--steel); }
.chat-send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-send button { flex: none; width: 44px; border: 0; border-radius: 6px; background: var(--gold); color: var(--on-gold); cursor: pointer; display: grid; place-items: center; }
.chat-err { color: #a12a17; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .site-header { background: var(--ink-2); }
  .nav-toggle { display: block; }
  .mainnav { position: fixed; inset: 0 0 0 auto; top: 0; visibility: hidden; width: min(360px, 88vw); background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 0 30px; transform: translateX(100%); transition: transform .3s, visibility .3s; overflow-y: auto; z-index: 60; }
  .mainnav.open { visibility: visible; transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .mainnav > ul { flex-direction: column; }
  .mainnav > ul > li > a { color: #fff; padding: 14px 24px; justify-content: space-between; border-bottom: 1px solid var(--ink-3); }
  .mainnav > ul > li > a::after { display: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-top: 0; background: var(--ink-2); padding: 0; }
  .has-dd.open .dd { display: block; }
  .has-dd.open .dd-ico { transform: rotate(180deg); }
  .has-dd:hover .dd-ico { transform: none; }
  .dd li a { padding-left: 40px; }
  .btn-nav { margin: 24px; }
  .nav-toggle[aria-expanded="true"] { position: fixed; right: 16px; top: 20px; z-index: 70; color: #fff; }
  .svc-tabs { top: 84px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .topbar-in > .tb-item, .topbar a[href^="mailto"] { display: none; }
  .topbar-in { justify-content: center; }
  .intro-grid, .about-grid, .svc-band-in, .detail-grid, .contact-grid, .cert-home-in, .cert-card, .mv-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-band.flip .svc-band-in > :first-child { order: 0; }
  .side-card { position: static; }
  .cert-card { grid-template-columns: 1fr; }
  .cert-visual { max-width: 260px; }
  .hero { min-height: 560px; height: 82vh; }
  .slide::after { background: linear-gradient(180deg, rgba(1,30,20,.55), rgba(1,30,20,.9)); }
  .hero-controls { bottom: 20px; }
  .dot { width: 34px; }
  .arrows { display: none; } /* swipe on touch; keeps clear of the floating buttons */
}
@media (max-width: 560px) {
  .channel-grid, .pillars, .footer-grid, .row2 { grid-template-columns: 1fr; }
  .channel-grid { margin-top: -90px; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; }
  .partner-logo { width: 80px; height: 80px; }
  .initials { font-size: 1.7rem; }
  .disc-tiles { grid-template-columns: 1fr 1fr; }
  .disc-tiles li { font-size: .8rem; padding: 14px; }
  .header-in { min-height: 70px; }
  .brand img { width: 150px; }
  .svc-tabs { top: 70px; }
  .cert-badge { width: 130px; height: 130px; font-size: .85rem; }
  .chatbox { right: 16px; bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Let grid/flex children shrink below their content width on small screens */
.intro-grid > *, .about-grid > *, .svc-band-in > *, .detail-grid > *, .contact-grid > *, .cert-home-in > *, .cert-card > *, .partner > *, .footer-grid > * { min-width: 0; }
.disc-tiles li span { min-width: 0; overflow-wrap: anywhere; }
.page-hero.contact-hero { padding-bottom: 200px; }
@media (max-width: 560px) { .page-hero.contact-hero { padding-bottom: 130px; } }

/* Chatbot ----------------------------------------------------------------- */
.chatbox { height: min(580px, calc(100vh - 190px)); }
.chat-bot { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--mist); }
.chat-bot[hidden] { display: none; }
.bot-log { flex: 1; overflow-y: auto; padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 8px; }
.bot-opts { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px 14px; max-height: 46%; overflow-y: auto; border-top: 1px solid var(--line); background: #fff; }
.bot-opts:empty { display: none; }
.chip { font: inherit; font-size: .88rem; font-weight: 500; line-height: 1.2; padding: 8px 13px; border-radius: 18px; border: 1.5px solid var(--gold-d); background: #fff; color: var(--gold-ink); cursor: pointer; text-align: left; transition: background .15s, color .15s; }
.chip:hover { background: var(--gold); color: var(--on-gold); }
.chip-main { background: var(--gold); color: var(--on-gold); }
.chip-main:hover { background: var(--gold-d); border-color: var(--gold-d); }
.chip-wa { border-color: #25d366; background: #25d366; color: #fff; }
.chip-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.chip-ghost { border-color: var(--line); color: var(--steel); }
.chip-ghost:hover { background: var(--mist); color: var(--ink); }
.bot-link { display: block; margin-top: 8px; font-weight: 600; color: var(--gold-ink); }
.bot-link:hover { text-decoration: underline; }
.msg.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); opacity: .4; animation: tdot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 50% { opacity: 1; transform: translateY(-3px); } }
.chat-back { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--gold-ink); cursor: pointer; }
.chat-note a { color: #1a9e4b; font-weight: 600; }

/* Enquiry email verification ---------------------------------------------- */
.small { font-size: .9rem; }
.otp-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.otp-note .ico { color: var(--gold-ink); margin-top: .2em; }
.otp-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.otp-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(232,193,116,.22); color: var(--gold-ink); margin-bottom: 14px; }
.otp-ico .ico { width: 28px; height: 28px; }
.otp-box p { margin: 0 0 10px; }
.otp-form { display: grid; gap: 14px; margin: 20px auto 0; max-width: 320px; }
.otp-input { font: 700 1.8rem/1 var(--head); letter-spacing: .5em; text-align: center; padding: 12px 0 12px .5em; border: 2px solid #c9d6ce; border-radius: 8px; width: 100%; }
.otp-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,193,116,.18); }
.otp-actions { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: var(--gold-ink); cursor: pointer; text-decoration: underline; }
.linkbtn:disabled { color: var(--steel); cursor: default; text-decoration: none; }
.otp-summary { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.otp-summary summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.otp-summary dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; }
.otp-summary dt { color: var(--steel); }
.otp-summary dd { margin: 0; word-break: break-word; }

/* TEAMPLUS brand details --------------------------------------------------- */
.brand-word { font-family: var(--head); font-weight: 900; font-style: italic; letter-spacing: -.02em; white-space: nowrap; }
.brand-word b { font-weight: 900; color: inherit; }
.brand-word i { color: var(--gold); }
.tb-strap { font-family: var(--head); font-weight: 600; font-size: .74rem; letter-spacing: .06em; color: var(--gold); }
.topbar { border-bottom: 1px solid rgba(232,193,116,.18); }
.slide .eyebrow { color: var(--gold); }
.slide h1 { text-shadow: 0 2px 30px rgba(1,30,20,.35); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.svc-band h2, .cert-home h2, .become h2 { color: #fff; }
.about-side { border-top-color: var(--gold); }
.mainnav .btn-nav { color: var(--on-gold); }
.svc-card { background: var(--ink); }
.disciplines li::before { opacity: .55; }
.mv-card h3, .partner h3, .channel h3 { color: var(--ink-2); }
.site-footer { background: var(--ink); border-top: 3px solid var(--gold); }
.f-brand img { width: 260px; max-width: 100%; }
.footer-bottom a:hover { color: var(--gold); }
.msg.admin { color: var(--text); }
.logo-tile { font-family: var(--head); font-weight: 700; font-size: .9rem; }
@media (max-width: 560px) {
  .tb-strap { display: none; }
}
.cta-band .btn:not(.btn-ghost-light) { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn:not(.btn-ghost-light):hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--gold); }
