/* TUTIS Training — redesign stylesheet. Bootstrap 5 handles layout/grid;
   this file carries brand tokens, the logo mark, and motion. */

:root {
  --brand-dark: #1d6434;
  --brand-dark-2: #123f21;
  --brand-light: #82c828;
  --brand-light-2: #9bdb3f;
  --accent: #dd1d00;
  --accent-dark: #b31700;
  --ink: #1b211c;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f5f8f4;
  --ring: rgba(29, 100, 52, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Tile palette — shades of the TUTIS green/red family, used for bold
     colour-block cards (services, categories, portfolio-style tiles). */
  --tile-forest: #0f3d22;
  --tile-sage: #4c8a3c;
  --tile-moss: #2f5f2a;
  --tile-olive: #5c6e1f;
  --tile-crimson: #a3170a;
  --tile-rust: #c24a1f;
  --tile-charcoal: #1a2420;
  --pill-radius: 999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: "Poppins", "Roboto", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a { color: var(--brand-dark); }
a:hover { color: var(--brand-dark-2); }

::selection { background: var(--brand-light); color: #0c1a0f; }

/* ---------- Buttons ---------- */
.btn { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-brand, .btn-accent, .btn-outline-brand, .btn-cert-verify, .btn-pill-dark {
  border-radius: var(--pill-radius);
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}
.btn-lg.btn-brand, .btn-lg.btn-accent { padding-left: 1.75rem; padding-right: 1.75rem; }

.btn-pill-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 700;
}
.btn-pill-dark:hover {
  background: var(--brand-dark-2);
  border-color: var(--brand-dark-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}

.btn-brand {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark-2);
  border-color: var(--brand-dark-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(29,100,52,.55);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(221,29,0,.5);
}

.btn-outline-brand {
  border: 2px solid var(--brand-light);
  color: var(--brand-dark);
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--brand-light);
  color: #0c1a0f;
  transform: translateY(-2px);
}

.btn-outline-light-brand {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline-light-brand:hover {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

/* ---------- Topbar & Navbar ---------- */
.topbar {
  background: var(--brand-dark);
  color: #eafbe9;
  font-size: .85rem;
}
.topbar a { color: #eafbe9; text-decoration: none; }
.topbar a:hover { color: var(--brand-light-2); }
.topbar .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.topbar .social-link:hover { background: var(--brand-light); color: #0c1a0f; transform: translateY(-2px); }

.navbar-main {
  transition: box-shadow .25s var(--ease), padding .25s var(--ease);
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.navbar-main.is-scrolled {
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.18);
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  margin: 0 .35rem;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--brand-dark); }

/* Logo mark */
.brand-mark { display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark svg { width: 42px; height: 30px; display: block; }
.brand-mark .brand-word {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-dark);
  letter-spacing: .01em;
  line-height: 1;
}
.brand-mark .brand-word span { color: var(--brand-light); }

/* ---------- Hero (bold, light — Coddle-inspired typography, TUTIS colours) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(130,200,40,.16) 0%, transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(221,29,0,.07) 0%, transparent 55%),
    var(--surface);
  color: var(--ink);
  isolation: isolate;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(29,100,52,.09) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: .6;
  z-index: -1;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1.5px solid var(--brand-dark);
  color: var(--brand-dark);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
}
.hero h1 .hl { color: var(--brand-dark); }
.hero .lead { color: var(--muted); font-size: 1.15rem; }
.hero .breadcrumb .text-white-50 { color: var(--muted) !important; }
.hero .breadcrumb-item.active.text-white { color: var(--brand-dark) !important; }
.hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(0,0,0,.25); }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  z-index: -1;
}

.scroll-cue {
  width: 26px; height: 42px;
  border: 2px solid rgba(29,100,52,.35);
  border-radius: 20px;
  position: relative;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--brand-dark);
  border-radius: 2px;
  animation: scrollcue 1.6s infinite ease;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section-alt { background: var(--surface-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-2) 100%);
  color: #fff;
}
.eyebrow-line {
  display: inline-block;
  width: 56px; height: 4px;
  background: var(--brand-light);
  border-radius: 2px;
  margin-bottom: .75rem;
}

/* ---------- Cards ---------- */
.usp-card, .course-card, .consult-card, .value-card, .news-card, .office-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  background: #fff;
}
.usp-card:hover, .course-card:hover, .consult-card:hover, .value-card:hover, .news-card:hover, .office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(18,63,33,.35);
  border-color: transparent;
}

.usp-card .usp-icon, .value-card .value-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--brand-dark);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.usp-card:hover .usp-icon, .value-card:hover .value-icon {
  background: var(--brand-dark);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.course-card { overflow: hidden; position: relative; }
.course-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.course-card:hover::before { transform: scaleX(1); }
.course-card-icon {
  width: 46px; height: 46px;
  margin: 1.1rem 0 0 1.1rem;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.cat-badge {
  background: var(--ring);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .35rem .6rem;
}

.consult-card .consult-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brand-light);
  -webkit-text-stroke: 1px var(--brand-dark);
  margin-bottom: .25rem;
}

/* ---------- Stats ---------- */
.stat-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: #fff;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-32px); }
.reveal-left.active { transform: translateX(0); }
.reveal-right { transform: translateX(32px); }
.reveal-right.active { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .scroll-cue::before { animation: none; }
}

/* ---------- Timeline (News) ---------- */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--brand-light), var(--brand-dark));
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item::before {
  content: "";
  position: absolute; left: -2.2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-light);
  border: 3px solid var(--brand-dark);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0a1f10;
  color: #cfe7d2;
}
footer.site-footer a { color: #cfe7d2; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer h3 { color: #fff; font-size: 1.05rem; }

.footer-cta-band {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
}
.footer-cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  max-width: 640px;
}
.footer-cta-band p { color: rgba(255,255,255,.65); max-width: 480px; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer-social:hover { background: var(--brand-light); color: #0c1a0f; transform: translateY(-3px); }

/* ---------- Misc ---------- */
.badge-pill-accred {
  background: #fff;
  border: 1px solid var(--ring);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.badge-pill-accred:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -12px rgba(0,0,0,.25); }

#backToTop {
  width: 46px; height: 46px;
  background: var(--brand-dark);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .25s var(--ease);
}
#backToTop:hover { background: var(--brand-dark-2); transform: translateY(-3px); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; padding: .5rem 1rem; z-index: 2000;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.form-control:focus, .form-select:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 .2rem var(--ring);
}

/* ---------- Real logo image ---------- */
.brand-mark img { height: 46px; width: auto; display: block; }
footer.site-footer .brand-mark {
  background: #fff;
  padding: .55rem .8rem;
  border-radius: 10px;
  display: inline-flex;
}
footer.site-footer .brand-mark img { height: 40px; }
@media (max-width: 575.98px) {
  .brand-mark img { height: 38px; }
}

/* ---------- Certificate verification nav button ---------- */
.btn-cert-verify {
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
  background: transparent;
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem .85rem;
  white-space: nowrap;
}
.btn-cert-verify:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Sticky contact icons ---------- */
.sticky-contact {
  position: fixed;
  right: 18px;
  top: 62%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sticky-contact a {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.7rem;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
}
.sticky-contact a:hover { transform: translateX(-4px) scale(1.07); color: #fff; }
.sticky-contact .sc-whatsapp { background: #25D366; }
.sticky-contact .sc-call { background: var(--accent); animation: scpulse 2.4s infinite; }
.sticky-contact .sc-message { background: var(--brand-dark); }
.sticky-contact .sc-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: #1b211c; color: #fff; font-size: .78rem; font-weight: 600;
  padding: .4rem .75rem; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease);
}
.sticky-contact a:hover .sc-label { opacity: 1; }
@keyframes scpulse {
  0% { box-shadow: 0 0 0 0 rgba(221,29,0,.55), 0 10px 24px -8px rgba(0,0,0,.4); }
  70% { box-shadow: 0 0 0 14px rgba(221,29,0,0), 0 10px 24px -8px rgba(0,0,0,.4); }
  100% { box-shadow: 0 0 0 0 rgba(221,29,0,0), 0 10px 24px -8px rgba(0,0,0,.4); }
}
@media (max-width: 767.98px) {
  .sticky-contact { right: 10px; gap: 10px; top: auto; bottom: 90px; transform: none; }
  .sticky-contact a { width: 48px; height: 48px; font-size: 1.4rem; }
  .sticky-contact .sc-label { display: none; }
}

/* ---------- Hero photo ---------- */
.hero-photo {
  position: relative;
  display: inline-block;
  max-width: 380px;
  width: 100%;
  animation: heroFloat 4.5s ease-in-out infinite;
}
.hero-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: 0 24px 48px -12px rgba(18,63,33,.35);
}
.hero-photo-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 64px; height: 64px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.5);
  border: 4px solid var(--brand-dark-2);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
}
@media (max-width: 991.98px) {
  .hero-photo img { height: 280px; }
}

/* ---------- Testimonials ---------- */
.testimonial-card { border-radius: 16px; border: 1px solid rgba(0,0,0,.06); background: #fff; position: relative; }
.testimonial-card .quote-icon { font-size: 2.2rem; color: var(--brand-light); opacity: .55; }
.testimonial-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-alt); color: var(--brand-dark);
  font-size: 1.5rem; font-weight: 800;
  font-family: "Poppins", sans-serif;
}
.star-rating i { color: #f5b301; font-size: 1.15rem; }

/* ---------- Upcoming courses ---------- */
.upcoming-card { border-radius: 14px; border: 1px solid rgba(0,0,0,.06); background: #fff; overflow: hidden; }
.upcoming-date {
  background: var(--brand-dark); color: #fff; text-align: center;
  padding: .9rem .5rem; min-width: 84px;
}
.upcoming-date .day { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; }
.upcoming-date .mon { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Approvals & memberships ---------- */
.approval-logo-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  height: 96px;
  display: flex; align-items: center; justify-content: center;
  padding: .85rem 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.approval-logo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(18,63,33,.3); }
.approval-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.approval-group-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}

/* ---------- Increased icon sizes ---------- */
.usp-card .usp-icon, .value-card .value-icon {
  width: 64px; height: 64px;
  font-size: 1.9rem;
}
.course-card-icon {
  width: 56px; height: 56px;
  font-size: 1.7rem;
}
.footer-social i, .topbar .social-link i { font-size: 1.25rem; }
.topbar a { font-size: .9rem; }
.topbar a i { font-size: 1.05rem; }
.office-card i, .consult-card i { font-size: 1.7rem !important; }

/* ---------- Legal pages (Privacy Policy, Terms & Conditions) ---------- */
.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc .nav-link {
  color: var(--muted);
  padding: .4rem 0 .4rem .85rem;
  border-left: 3px solid rgba(0,0,0,.08);
  font-size: .87rem;
  border-radius: 0;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.legal-toc .nav-link:hover { color: var(--brand-dark); border-left-color: var(--brand-light); }
.legal-toc .nav-link.active { color: var(--brand-dark); font-weight: 700; border-left-color: var(--brand-dark); }
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 2.75rem;
  padding-top: .5rem;
  scroll-margin-top: 110px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--surface-alt);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ---------- Training profile (public employee record) ---------- */
.profile-id-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: #fff;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.profile-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  flex-shrink: 0;
}
.stat-tile {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: #fff;
  padding: 1.1rem 1.3rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(18,63,33,.25); }
.stat-tile .stat-tile-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-tile-icon.tint-ongoing { background: rgba(43,108,176,.12); color: #2b6cb0; }
.stat-tile-icon.tint-completed { background: var(--ring); color: var(--brand-dark); }
.stat-tile-icon.tint-due { background: rgba(221,29,0,.1); color: var(--accent); }
.stat-tile-icon.tint-assigned { background: rgba(107,114,128,.12); color: var(--muted); }
.stat-tile .stat-tile-num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.stat-tile .stat-tile-label { font-size: .8rem; color: var(--muted); font-weight: 600; }

.cert-table-wrap {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.cert-table { margin-bottom: 0; }
.cert-table thead th {
  background: var(--surface-alt);
  color: var(--brand-dark);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  border-bottom: none;
  padding: .9rem 1.1rem;
  white-space: nowrap;
}
.cert-table tbody td {
  padding: .9rem 1.1rem;
  vertical-align: middle;
  font-size: .88rem;
  border-color: rgba(0,0,0,.05);
}
.cert-table tbody tr:hover { background: var(--surface-alt); }
.cert-status-ok { color: var(--brand-dark); font-size: 1.15rem; }
.cert-view-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-alt);
  color: var(--brand-dark);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cert-view-btn:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Bold colour tiles (Coddle-inspired service/category blocks) ---------- */
.tile-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  isolation: isolate;
}
.tile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -18px rgba(0,0,0,.45);
  color: #fff;
}
.tile-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: .5;
  z-index: -1;
}
.tile-card h3, .tile-card h4 { color: #fff; font-size: 1.3rem; margin-bottom: 0; line-height: 1.15; }
.tile-card p { color: rgba(255,255,255,.82); margin-bottom: 0; }
.tile-card .tile-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}
.tile-card .tile-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  align-self: flex-end;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.tile-card:hover .tile-arrow { background: #fff; color: var(--ink); transform: rotate(45deg); }

.tile-forest { background: linear-gradient(150deg, var(--tile-forest) 0%, var(--brand-dark) 100%); }
.tile-moss { background: linear-gradient(150deg, var(--tile-moss) 0%, var(--brand-light) 130%); }
.tile-sage { background: linear-gradient(150deg, var(--tile-sage) 0%, var(--brand-light-2) 140%); }
.tile-olive { background: linear-gradient(150deg, var(--tile-olive) 0%, #8a9a2e 130%); }
.tile-crimson { background: linear-gradient(150deg, var(--tile-crimson) 0%, var(--accent) 120%); }
.tile-rust { background: linear-gradient(150deg, var(--tile-rust) 0%, var(--accent) 130%); }
.tile-charcoal { background: linear-gradient(150deg, var(--tile-charcoal) 0%, #33443a 130%); }
.tile-brand-dark { background: linear-gradient(150deg, var(--brand-dark-2) 0%, var(--brand-dark) 130%); }

/* ---------- Big bold section headings ---------- */
.section-title-xl {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-title-xl .muted-part { color: rgba(27,33,28,.28); }
.section-title-xl .accent-part {
  background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Testimonial carousel (Coddle-style) ---------- */
.quote-mark-bg {
  position: absolute;
  top: -1.2rem; left: -0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 9rem;
  font-weight: 800;
  color: rgba(29,100,52,.07);
  line-height: 1;
  z-index: -1;
  user-select: none;
}
.testi-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-light) transparent;
}
.testi-scroll::-webkit-scrollbar { height: 8px; }
.testi-scroll::-webkit-scrollbar-thumb { background: var(--brand-light); border-radius: 999px; }
.testi-scroll .testimonial-card { min-width: 340px; scroll-snap-align: start; }
@media (max-width: 575.98px) { .testi-scroll .testimonial-card { min-width: 88vw; } }
