/* ==========================================================================
   THE HCMS — Theme v2
   Brand colors preserved (navy + coral). Refreshed for a cleaner, more
   contemporary feel: tighter type scale, softer/longer shadows, asymmetric
   layout, fluid spacing via clamp(), fewer identical rounded-card shapes.
   ========================================================================== */

:root {
  /* Brand */
  --hcms-navy: #1b2758;
  --hcms-navy-deep: #10173a;
  --hcms-navy-soft: #2b3a72;
  --hcms-coral: #ea5b43;
  --hcms-coral-dark: #d5432b;
  --hcms-coral-light: #ff8468;
  --hcms-orange: #f0793f;
  --hcms-gradient: linear-gradient(115deg, var(--hcms-coral) 0%, var(--hcms-orange) 100%);
  --hcms-purple: #6b3fa0;

  /* Neutrals — refreshed, less flat-grey */
  --hcms-bg: #fbfaf8;
  --hcms-surface: #ffffff;
  --hcms-grey-bg: #f5f4f1;
  --hcms-text: #5c6270;
  --hcms-text-dark: #23273a;
  --hcms-border: #eae8e3;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Elevation — soft & long, not dark & tight */
  --shadow-sm: 0 4px 16px -8px rgba(16, 23, 58, 0.12);
  --shadow-md: 0 16px 40px -18px rgba(16, 23, 58, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(16, 23, 58, 0.32);

  /* Fluid spacing */
  --space-section: clamp(3.5rem, 6vw, 7rem);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--hcms-text);
  background: var(--hcms-bg);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--hcms-navy);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }

p { max-width: 62ch; }
.section-lead p, .section-lead { max-width: 640px; }

a { transition: color .2s ease, background-color .2s ease, transform .2s ease, opacity .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--hcms-coral);
  outline-offset: 2px;
}

.text-coral { color: var(--hcms-coral); }
.bg-navy { background-color: var(--hcms-navy); }
.eyebrow {
  color: var(--hcms-coral);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .5rem;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn-hcms {
  background: var(--hcms-coral);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  letter-spacing: .2px;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .2s ease;
  display: inline-block;
}
.btn-hcms:hover, .btn-hcms:focus {
  background: var(--hcms-coral-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-hcms:active { transform: translateY(-1px); }

.btn-hcms-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all .25s ease;
  display: inline-block;
}
.btn-hcms-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--hcms-navy);
  transform: translateY(-3px);
}

/* ---------- Navbar ---------- */
.navbar-hcms {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: .7rem 0;
  border-bottom: 1px solid rgba(20,24,50,.06);
  box-shadow: 0 1px 0 rgba(20,24,50,.03);
  transition: box-shadow .25s ease;
}
.navbar-hcms.is-scrolled { box-shadow: var(--shadow-sm); }
.navbar-hcms .navbar-brand img { height: 42px; }
.navbar-hcms .nav-link {
  color: var(--hcms-text-dark);
  font-weight: 500;
  font-size: .93rem;
  padding: .5rem .9rem !important;
  position: relative;
}
.navbar-hcms .nav-link::after {
  content: '';
  position: absolute;
  left: .9rem; right: .9rem; bottom: .18rem;
  height: 2px;
  background: var(--hcms-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.navbar-hcms .nav-link.active::after,
.navbar-hcms .nav-link:hover::after { transform: scaleX(1); }
.navbar-hcms .nav-link.active,
.navbar-hcms .nav-link:hover { color: var(--hcms-coral); }
.navbar-hcms .nav-link.fish-pill {
  background: var(--hcms-purple);
  color: #f5e94a;
  font-weight: 800;
  font-style: italic;
  border-radius: 8px;
  padding: .35rem .9rem !important;
  margin: 0 .2rem;
  font-size: .82rem;
}
.navbar-hcms .nav-link.fish-pill::after { display: none; }

/* ---------- FISH! mega-menu dropdown ---------- */
.fish-dropdown { position: relative; }
.fish-mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 90vw);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  margin: 0;
  z-index: 1050;
}
.fish-dropdown.show .fish-mega-menu,
.fish-mega-menu.show { display: block; }
.fish-mega-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--hcms-navy);
  font-size: 1.05rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--hcms-border);
  text-decoration: none;
}
.fish-mega-title i { color: var(--hcms-coral); font-size: .85rem; }
.fish-mega-title:hover { color: var(--hcms-coral); }
.fish-mega-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.fish-mega-group { margin-bottom: 1.25rem; }
.fish-mega-group:last-child { margin-bottom: 0; }
.fish-mega-heading {
  display: block;
  font-weight: 700;
  color: var(--hcms-coral);
  font-size: .95rem;
  margin-bottom: .5rem;
  text-decoration: none;
}
a.fish-mega-heading:hover { color: var(--hcms-coral-dark); }
.fish-mega-link {
  display: block;
  color: var(--hcms-text);
  font-size: .9rem;
  text-decoration: none;
  padding: .28rem 0;
}
.fish-mega-link:hover { color: var(--hcms-navy); transform: translateX(3px); }

@media (max-width: 991.98px) {
  .fish-mega-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 1rem 0 0.5rem;
    margin-top: .5rem;
  }
  .fish-mega-columns { grid-template-columns: 1fr; gap: 0; }
}

.navbar-hcms .nav-link.login-link {
  font-weight: 700;
  color: var(--hcms-navy);
  border: 1.5px solid var(--hcms-border);
  border-radius: 10px;
  margin-left: .3rem;
}
.navbar-hcms .nav-link.login-link::after { display: none; }
.navbar-hcms .nav-link.login-link:hover { border-color: var(--hcms-coral); background: #fff; }

/* ---------- Hero / Slider ---------- */
.hero-slide {
  position: relative;
  height: clamp(480px, 74vh, 760px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,23,58,.82) 0%, rgba(16,23,58,.42) 55%, rgba(16,23,58,.2) 100%);
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  text-align: left;
}
.hero-slide .hero-kicker {
  color: var(--hcms-coral-light);
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: .9rem;
  display: inline-block;
}
.hero-slide h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-slide p.lead { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 46ch; }

.swiper-pagination { text-align: left !important; left: clamp(1.25rem, 5vw, 5rem) !important; bottom: clamp(1.5rem, 4vw, 3rem) !important; width: auto !important; }
.swiper-pagination-bullet { background: #fff; opacity: .5; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--hcms-coral); width: 26px; border-radius: 4px; transition: width .25s ease; }

/* Simple page banners (non-slider pages) */
.page-banner {
  position: relative;
  min-height: clamp(280px, 40vh, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,23,58,.55) 0%, rgba(16,23,58,.68) 100%);
}
.page-banner .banner-content { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.page-banner p { color: rgba(255,255,255,.88); }
.page-banner.navy-illustration { background-color: #1e3a6d; }

/* ---------- Full-screen vertical mobile menu (below 992px only) ---------- */
@media (max-width: 991.98px) {
.mobile-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: var(--hcms-navy-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity .3s ease, visibility .3s, transform .35s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.btn-hcms-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all .25s ease;
  display: inline-block;
}
.btn-hcms-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.mobile-nav-links {
  padding: 1rem 1.25rem 2.5rem;
  flex: 1;
}
.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 1.05rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: #fff;
}
.mobile-nav-link.active {
  color: #fff;
  font-weight: 700;
  border-left: 3px solid var(--hcms-coral);
  padding-left: .85rem;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
}
.mobile-nav-heading {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hcms-coral);
  border: none;
  padding: 1.25rem .25rem .4rem;
  pointer-events: none;
}
.mobile-nav-section {
  margin-top: .25rem;
}
.mobile-nav-section .mobile-nav-link {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding-left: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-nav-section .mobile-nav-link:hover,
.mobile-nav-section .mobile-nav-link:focus-visible {
  color: #fff;
  padding-left: 1.5rem;
}
.mobile-nav-section .mobile-nav-link.active {
  border-left: 3px solid var(--hcms-coral);
  padding-left: 1.1rem;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
}
.mobile-nav-login {
  margin-top: 1.25rem;
  background: var(--hcms-gradient);
  color: #fff;
  border-radius: 12px;
  padding: .9rem 1.5rem;
  text-align: center;
  font-weight: 700;
  display: block;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.mobile-nav-login:hover,
.mobile-nav-login:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(.95);
}
} /* end mobile-only menu block */

/* Never render the fixed mobile panel on desktop, even when .is-open lingers after resize */
@media (min-width: 992px) {
  .mobile-nav-panel { display: none !important; }
}

/* Dark hamburger on the white navbar — light icon would be invisible here */
.nav-mobile-toggle {
  cursor: pointer;
  display: inline-flex;
  border: 1.5px solid var(--hcms-border);
  border-radius: 10px;
  padding: .4rem .55rem;
  background: transparent;
}
.nav-mobile-toggle .navbar-toggler-icon,
.navbar-toggler-icon {
  display: block;
  width: 1.9rem;
  height: 1.6rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath fill='%231b2758' d='M0 2h30v3.33H0zM0 11.33h30v3.34H0zM0 20.67h30v3.33H0z'/%3E%3C/svg%3E");
}
/* Hide the hamburger on desktop; show only on mobile — works even if Bootstrap CSS fails to load */
@media (min-width: 992px) {
  .nav-mobile-toggle { display: none; }
}
.navbar-close-btn { display: none; }

/* ---------- Image-only parallax hero (no text) ---------- */
.page-banner.image-only,
.page-banner--image-only {
  min-height: 100vh;
  min-height: 100dvh;
}
.page-banner.image-only .banner-overlay,
.page-banner--image-only .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,23,58,.32) 0%, rgba(16,23,58,.78) 100%);
  pointer-events: none;
}


/* ---------- Event banner (orange gradient, auto month/year) ---------- */
.event-banner {
  background: var(--hcms-gradient);
  color: #fff;
  text-align: center;
  padding: clamp(.9rem, 2vw, 1.15rem) 1rem;
  position: relative;
  overflow: hidden;
}
.event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 100px at 20% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.event-banner .invite-line { font-size: .82rem; opacity: .95; letter-spacing: .2px; }
.event-banner h2 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); margin: .15rem 0; font-weight: 700; }
.event-banner .event-date {
  font-size: .78rem;
  letter-spacing: 1.8px;
  font-weight: 600;
  opacity: .95;
}

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-grey {
  background: linear-gradient(135deg, rgba(27,39,88,.045) 0%, rgba(43,58,114,.075) 100%);
}
.section-orange {
  background: var(--hcms-gradient);
  padding-bottom: calc(var(--space-section) + 2.5rem);
}
.section-orange .eyebrow { color: #fff; }
.section-orange h2, .section-orange h3 { color: #fff; }
.section-orange p { color: rgba(255,255,255,.92); }

/* Anchor offset so the sticky navbar never covers a jumped-to section heading */
#about { scroll-margin-top: 90px; }
.section-title { margin-bottom: 1rem; }
.section-title.text-center { text-align: center; }
.section-lead {
  max-width: 640px;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  color: var(--hcms-text);
}
.section-lead.mx-auto { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Offer / category cards — bento-style, not identical circles ---------- */
.offer-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  height: 100%;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--hcms-coral);
  cursor: pointer;
}
.offer-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,39,88,.12), rgba(43,58,114,.12));
  overflow: hidden;
}
.offer-icon-circle img { width: 70%; height: 70%; object-fit: contain; }
.offer-icon-circle i { color: var(--hcms-navy); font-size: 1.6rem; }
.offer-card h5 { margin-bottom: .5rem; font-size: 1.08rem; }
.offer-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- What we do / info cards ---------- */
.info-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  background: var(--hcms-surface);
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card img { width: 100%; height: 240px; object-fit: cover; }
.info-card .info-card-body { padding: 1.75rem; }
.info-card h5 { color: var(--hcms-navy); font-weight: 700; margin-bottom: .6rem; }
.info-card .info-card-body p { font-size: .95rem; }

/* ---------- Pillars / feature list ---------- */
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem 0;
  font-weight: 600;
  color: var(--hcms-text-dark);
  border-bottom: 1px solid var(--hcms-border);
}
.pillar-item:last-child { border-bottom: none; }
.pillar-item i { color: var(--hcms-coral); font-size: 1.15rem; margin-top: .1rem; }

/* ---------- Sponsor / logo chip (placeholder until logos are provided) ---------- */
.sponsor-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--hcms-surface);
  border: 1px dashed var(--hcms-border);
  color: var(--hcms-text);
  font-size: .9rem;
  text-align: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.sponsor-chip:hover { border-color: var(--hcms-coral); background: var(--hcms-grey-bg); }

/* ---------- FISH! helper styles ---------- */
.fish-practice-list li::marker { color: var(--hcms-coral); }
.fish-practice-list li { margin-bottom: .35rem; }

.accessory-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,39,88,.12), rgba(43,58,114,.12));
  font-size: 1.4rem;
  color: var(--hcms-coral);
}
.offer-card .accessory-thumb i { font-size: 1.4rem; }

/* ---------- Happiness page: pillars split ---------- */
.pillars-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pillar-card-compact {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  height: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.pillar-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hcms-coral);
}
.pillar-card-compact .offer-icon-circle { margin-bottom: .6rem; }
.pillar-card-compact h5 { font-size: .98rem; }
.pillar-card-compact p { font-size: .85rem; margin-bottom: 0; }

.fish-select-group { margin-bottom: 1rem; }
.fish-select-group strong { display: block; font-size: .9rem; color: var(--hcms-navy); font-weight: 600; margin-bottom: .4rem; }
.fish-check { display: block; font-size: .9rem; color: var(--hcms-text); padding: .15rem 0; }
.fish-check:hover { color: var(--hcms-navy); }

/* ---------- FISH! page: sticky sub-nav + product cards ---------- */
.fish-nav-wrapper { position: sticky; top: 0; z-index: 1030; }
.fish-sub-nav { background: var(--hcms-purple); padding: .55rem 0; }
.fish-sub-nav .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.fish-sub-nav .nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .35rem .25rem; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.fish-sub-nav .nav-links a:hover { color: #fff; }
.fish-sub-nav .nav-links a.active { color: #fff; border-bottom-color: #fff; }

/* Product cards with medium product images (replaces small circle icons) */
.fish-product-card { padding: 0; }
.fish-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fish-product-img { width: 100%; height: 220px; object-fit: contain; object-position: center; display: block; background: #f5f4f1; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.fish-product-img.is-sm { height: 150px; }
/* Crop-to-fill variant (used on team-building program cards so images fill the card) */
.fish-product-img.is-crop { object-fit: cover; object-position: center; }
.fish-product-body { padding: 1.5rem 1.6rem; }
.fish-product-body h5 { margin-bottom: .5rem; }
.fish-product-body p { font-size: .92rem; margin-bottom: 0; }

/* Anchor jump clearance under the double sticky nav */
#leaders, #merchandise, #accessories, #workshop { scroll-margin-top: 130px; }

/* ---------- Team Building page ---------- */
.goal-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .6rem 0;
  font-weight: 600;
  color: var(--hcms-text-dark);
}
.goal-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Quote card — vivid orange theme */
.quote-card {
  position: relative;
  background: linear-gradient(115deg, var(--hcms-coral) 0%, var(--hcms-orange) 100%);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.92);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.quote-card::before {
  content: '\F211';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-size: 3.5rem;
  color: rgba(255,255,255,.25);
  line-height: 1;
}
.quote-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 90px at 15% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.quote-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  margin-bottom: .5rem;
  max-width: 100%;
}
.quote-card small { font-size: .95rem; opacity: .9; }
.quote-card small::before { content: '\2014  '; }

/* Sleek per-goal cards (replaces the two outer card shells) */
.goal-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  font-weight: 600;
  color: var(--hcms-text-dark);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hcms-coral);
}
.goal-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.goal-card span { flex: 1; }

/* ---------- ATD page ---------- */
.atd-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--hcms-surface);
  box-shadow: var(--shadow-md);
}

/* ---------- FISH! E-Learning page ---------- */
.fish-elearning-hero {
  position: relative;
  min-height: clamp(380px, 55vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.fish-elearning-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.fish-elearning-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,23,58,.55) 0%, rgba(16,23,58,.7) 100%);
  z-index: 2;
}
.fish-elearning-hero .hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}
.fish-elearning-hero h1 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.fish-elearning-hero p { color: rgba(255,255,255,.88); }

.event-banner.purple {
  background: linear-gradient(115deg, var(--hcms-purple) 0%, #4a2870 100%);
}

.solution-points { list-style: none; padding: 0; margin: 0; }
.solution-points li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
}
.solution-points li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: .2rem;
  color: var(--hcms-coral-light);
  font-size: 1.1rem;
}

.fel-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.fel-culture-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- Course catalog (leadership / softskills) ---------- */
.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--hcms-text);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: 999px;
  padding: .35rem .85rem;
}
.accordion-hcms .accordion-item {
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--hcms-surface);
}
.accordion-hcms .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--hcms-navy);
  background: var(--hcms-surface);
  box-shadow: none;
  padding: 1rem 1.25rem;
}
.accordion-hcms .accordion-button:not(.collapsed) {
  color: var(--hcms-coral);
  background: var(--hcms-grey-bg);
  box-shadow: none;
}
.accordion-hcms .accordion-button:focus { box-shadow: none; }
.course-check .form-check-input,
.topic-label .form-check-input {
  width: 1.15em;
  height: 1.15em;
  cursor: pointer;
  border-color: var(--hcms-border);
}
.course-check .form-check-input:checked,
.topic-label .form-check-input:checked {
  background-color: var(--hcms-coral);
  border-color: var(--hcms-coral);
}
.topic-label { display: flex; align-items: center; gap: .6rem; margin-bottom: 0; cursor: pointer; }
.course-table { margin-bottom: 0; }
.course-table td, .course-table th { padding: .65rem .75rem; font-size: .92rem; vertical-align: middle; }

/* ---------- Client word cloud ---------- */
.client-cloud {
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 2;
}
.client-cloud span { display: inline-block; margin: 0 .4rem; color: var(--hcms-navy); opacity: .85; transition: opacity .2s ease, color .2s ease; }
.client-cloud span:hover { opacity: 1; color: var(--hcms-coral); }

/* ---------- Need advice CTA band ---------- */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: clamp(3.5rem, 7vw, 6rem) 1rem;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 clamp(0px, 3vw, 1rem);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.cta-band::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(16,23,58,.86), rgba(27,39,88,.72)); }
.cta-band .cta-content { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 1.85rem; }

/* ---------- Footer ---------- */
.footer-hcms {
  background: var(--hcms-navy-deep);
  color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) 0 1.75rem;
  font-size: .93rem;
}
.footer-hcms h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.footer-hcms p { color: rgba(255,255,255,.6); }
.footer-hcms a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.footer-hcms a:hover { color: var(--hcms-coral-light); }
.footer-hcms ul { list-style: none; padding: 0; margin: 0; }
.footer-hcms ul li { margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  text-align: center;
  font-size: .84rem;
  color: rgba(255,255,255,.45);
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75) !important;
  margin: 0 .3rem;
  border: 1px solid rgba(255,255,255,.1);
}
.social-icons a:hover { background: var(--hcms-coral); color: #fff !important; border-color: var(--hcms-coral); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--hcms-navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease;
}
.back-to-top:hover { background: var(--hcms-coral); transform: translateY(-4px); }

/* ---------- Contact form ---------- */
.contact-panel {
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-control-hcms {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--hcms-border);
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control-hcms:focus {
  border-color: var(--hcms-coral);
  box-shadow: 0 0 0 .18rem rgba(234,91,67,.14);
}
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hcms-border); }

#form-alert { display: none; border-radius: var(--radius-sm); }

/* ---------- Utility / reveal ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { transition: none !important; transform: none !important; animation: none !important; }
}

/* ==========================================================================
   Responsive — audited per breakpoint, not just one mobile catch-all
   ========================================================================== */

/* Large desktop refinement */
@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}

/* Tablet landscape / small desktop */
@media (max-width: 991.98px) {
  .navbar-hcms .navbar-collapse {
    background: #fff;
    margin-top: .75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .navbar-hcms .nav-link::after { display: none; }
  .navbar-hcms .nav-link.login-link { display: inline-block; margin-top: .5rem; text-align: center; }
  .hero-slide .hero-content { text-align: center; margin: 0 auto; }
  .swiper-pagination { left: 0 !important; right: 0; text-align: center !important; }
}

/* Tablet portrait */
@media (max-width: 767.98px) {
  .section { padding: clamp(2.75rem, 8vw, 4rem) 0; }
  .hero-slide { height: clamp(440px, 78vh, 620px); }
  .contact-panel { padding: 1.5rem; }
  .cta-band { margin: 0; border-radius: 0; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* Mobile */
@media (max-width: 575.98px) {
  .btn-hcms, .btn-hcms-outline { width: 100%; text-align: center; padding: .85rem 1.5rem; }
  .info-card img { height: 200px; }
  .offer-card { padding: 1.5rem 1.25rem; }
  .client-cloud { line-height: 2.3; }
  .event-banner h2 { font-size: 1.15rem; }
}
/* ---------- Image-only parallax hero (no text) ---------- */
.page-banner.image-only,
.page-banner--image-only {
  min-height: 100vh;
  min-height: 100dvh;
}
.page-banner.image-only .banner-overlay,
.page-banner--image-only .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,23,58,.32) 0%, rgba(16,23,58,.78) 100%);
  pointer-events: none;
}

/* ---------- Event banner (orange gradient, auto month/year) ---------- */
.event-banner {
  background: var(--hcms-gradient);
  color: #fff;
  text-align: center;
  padding: clamp(.9rem, 2vw, 1.15rem) 1rem;
  position: relative;
  overflow: hidden;
}
.event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 100px at 20% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.event-banner .invite-line { font-size: .82rem; opacity: .95; letter-spacing: .2px; }
.event-banner h2 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); margin: .15rem 0; font-weight: 700; }
.event-banner .event-date {
  font-size: .78rem;
  letter-spacing: 1.8px;
  font-weight: 600;
  opacity: .95;
}

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-grey {
  background: linear-gradient(135deg, rgba(27,39,88,.045) 0%, rgba(43,58,114,.075) 100%);
}
.section-orange {
  background: var(--hcms-gradient);
  padding-bottom: calc(var(--space-section) + 2.5rem);
}
.section-orange .eyebrow { color: #fff; }
.section-orange h2, .section-orange h3 { color: #fff; }
.section-orange p { color: rgba(255,255,255,.92); }

/* Anchor offset so the sticky navbar never covers a jumped-to section heading */
#about { scroll-margin-top: 90px; }
.section-title { margin-bottom: 1rem; }
.section-title.text-center { text-align: center; }
.section-lead {
  max-width: 640px;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  color: var(--hcms-text);
}
.section-lead.mx-auto { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Offer / category cards — bento-style, not identical circles ---------- */
.offer-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  height: 100%;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--hcms-coral);
  cursor: pointer;
}
.offer-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,39,88,.12), rgba(43,58,114,.12));
  overflow: hidden;
}
.offer-icon-circle img { width: 70%; height: 70%; object-fit: contain; }
.offer-icon-circle i { color: var(--hcms-navy); font-size: 1.6rem; }
.offer-card h5 { margin-bottom: .5rem; font-size: 1.08rem; }
.offer-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- What we do / info cards ---------- */
.info-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  background: var(--hcms-surface);
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card img { width: 100%; height: 240px; object-fit: cover; }
.info-card .info-card-body { padding: 1.75rem; }
.info-card h5 { color: var(--hcms-navy); font-weight: 700; margin-bottom: .6rem; }
.info-card .info-card-body p { font-size: .95rem; }

/* ---------- Pillars / feature list ---------- */
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem 0;
  font-weight: 600;
  color: var(--hcms-text-dark);
  border-bottom: 1px solid var(--hcms-border);
}
.pillar-item:last-child { border-bottom: none; }
.pillar-item i { color: var(--hcms-coral); font-size: 1.15rem; margin-top: .1rem; }

/* ---------- Sponsor / logo chip (placeholder until logos are provided) ---------- */
.sponsor-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--hcms-surface);
  border: 1px dashed var(--hcms-border);
  color: var(--hcms-text);
  font-size: .9rem;
  text-align: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.sponsor-chip:hover { border-color: var(--hcms-coral); background: var(--hcms-grey-bg); }

/* ---------- FISH! helper styles ---------- */
.fish-practice-list li::marker { color: var(--hcms-coral); }
.fish-practice-list li { margin-bottom: .35rem; }

.accessory-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,39,88,.12), rgba(43,58,114,.12));
  font-size: 1.4rem;
  color: var(--hcms-coral);
}
.offer-card .accessory-thumb i { font-size: 1.4rem; }

/* ---------- Happiness page: pillars split ---------- */
.pillars-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pillar-card-compact {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  height: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.pillar-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hcms-coral);
}
.pillar-card-compact .offer-icon-circle { margin-bottom: .6rem; }
.pillar-card-compact h5 { font-size: .98rem; }
.pillar-card-compact p { font-size: .85rem; margin-bottom: 0; }

.fish-select-group { margin-bottom: 1rem; }
.fish-select-group strong { display: block; font-size: .9rem; color: var(--hcms-navy); font-weight: 600; margin-bottom: .4rem; }
.fish-check { display: block; font-size: .9rem; color: var(--hcms-text); padding: .15rem 0; }
.fish-check:hover { color: var(--hcms-navy); }

/* ---------- FISH! page: sticky sub-nav + product cards ---------- */
.fish-nav-wrapper { position: sticky; top: 0; z-index: 1030; }
.fish-sub-nav { background: var(--hcms-purple); padding: .55rem 0; }
.fish-sub-nav .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.fish-sub-nav .nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .35rem .25rem; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.fish-sub-nav .nav-links a:hover { color: #fff; }
.fish-sub-nav .nav-links a.active { color: #fff; border-bottom-color: #fff; }

/* Product cards with medium product images (replaces small circle icons) */
.fish-product-card { padding: 0; }
.fish-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fish-product-img { width: 100%; height: 220px; object-fit: contain; object-position: center; display: block; background: #f5f4f1; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.fish-product-img.is-sm { height: 150px; }
/* Crop-to-fill variant (used on team-building program cards so images fill the card) */
.fish-product-img.is-crop { object-fit: cover; object-position: center; }
.fish-product-body { padding: 1.5rem 1.6rem; }
.fish-product-body h5 { margin-bottom: .5rem; }
.fish-product-body p { font-size: .92rem; margin-bottom: 0; }

/* Anchor jump clearance under the double sticky nav */
#leaders, #merchandise, #accessories, #workshop { scroll-margin-top: 130px; }

/* ---------- Team Building page ---------- */
.goal-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .6rem 0;
  font-weight: 600;
  color: var(--hcms-text-dark);
}
.goal-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Quote card — vivid orange theme */
.quote-card {
  position: relative;
  background: linear-gradient(115deg, var(--hcms-coral) 0%, var(--hcms-orange) 100%);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.92);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.quote-card::before {
  content: '\F211';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-size: 3.5rem;
  color: rgba(255,255,255,.25);
  line-height: 1;
}
.quote-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 90px at 15% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.quote-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  margin-bottom: .5rem;
  max-width: 100%;
}
.quote-card small { font-size: .95rem; opacity: .9; }
.quote-card small::before { content: '\2014  '; }

/* Sleek per-goal cards (replaces the two outer card shells) */
.goal-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  font-weight: 600;
  color: var(--hcms-text-dark);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hcms-coral);
}
.goal-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.goal-card span { flex: 1; }

/* ---------- ATD page ---------- */
.atd-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--hcms-surface);
  box-shadow: var(--shadow-md);
}

/* ---------- FISH! E-Learning page ---------- */
.fish-elearning-hero {
  position: relative;
  min-height: clamp(380px, 55vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.fish-elearning-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.fish-elearning-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,23,58,.55) 0%, rgba(16,23,58,.7) 100%);
  z-index: 2;
}
.fish-elearning-hero .hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}
.fish-elearning-hero h1 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.fish-elearning-hero p { color: rgba(255,255,255,.88); }

.event-banner.purple {
  background: linear-gradient(115deg, var(--hcms-purple) 0%, #4a2870 100%);
}

.solution-points { list-style: none; padding: 0; margin: 0; }
.solution-points li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
}
.solution-points li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: .2rem;
  color: var(--hcms-coral-light);
  font-size: 1.1rem;
}

.fel-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.fel-culture-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- Course catalog (leadership / softskills) ---------- */
.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--hcms-text);
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: 999px;
  padding: .35rem .85rem;
}
.accordion-hcms .accordion-item {
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--hcms-surface);
}
.accordion-hcms .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--hcms-navy);
  background: var(--hcms-surface);
  box-shadow: none;
  padding: 1rem 1.25rem;
}
.accordion-hcms .accordion-button:not(.collapsed) {
  color: var(--hcms-coral);
  background: var(--hcms-grey-bg);
  box-shadow: none;
}
.accordion-hcms .accordion-button:focus { box-shadow: none; }
.course-check .form-check-input,
.topic-label .form-check-input {
  width: 1.15em;
  height: 1.15em;
  cursor: pointer;
  border-color: var(--hcms-border);
}
.course-check .form-check-input:checked,
.topic-label .form-check-input:checked {
  background-color: var(--hcms-coral);
  border-color: var(--hcms-coral);
}
.topic-label { display: flex; align-items: center; gap: .6rem; margin-bottom: 0; cursor: pointer; }
.course-table { margin-bottom: 0; }
.course-table td, .course-table th { padding: .65rem .75rem; font-size: .92rem; vertical-align: middle; }

/* ---------- Client word cloud ---------- */
.client-cloud {
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 2;
}
.client-cloud span { display: inline-block; margin: 0 .4rem; color: var(--hcms-navy); opacity: .85; transition: opacity .2s ease, color .2s ease; }
.client-cloud span:hover { opacity: 1; color: var(--hcms-coral); }

/* ---------- Need advice CTA band ---------- */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: clamp(3.5rem, 7vw, 6rem) 1rem;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 clamp(0px, 3vw, 1rem);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.cta-band::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(16,23,58,.86), rgba(27,39,88,.72)); }
.cta-band .cta-content { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 1.85rem; }

/* ---------- Footer ---------- */
.footer-hcms {
  background: var(--hcms-navy-deep);
  color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) 0 1.75rem;
  font-size: .93rem;
}
.footer-hcms h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.footer-hcms p { color: rgba(255,255,255,.6); }
.footer-hcms a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.footer-hcms a:hover { color: var(--hcms-coral-light); }
.footer-hcms ul { list-style: none; padding: 0; margin: 0; }
.footer-hcms ul li { margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  text-align: center;
  font-size: .84rem;
  color: rgba(255,255,255,.45);
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75) !important;
  margin: 0 .3rem;
  border: 1px solid rgba(255,255,255,.1);
}
.social-icons a:hover { background: var(--hcms-coral); color: #fff !important; border-color: var(--hcms-coral); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--hcms-navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease;
}
.back-to-top:hover { background: var(--hcms-coral); transform: translateY(-4px); }

/* ---------- Contact form ---------- */
.contact-panel {
  background: var(--hcms-surface);
  border: 1px solid var(--hcms-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-control-hcms {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--hcms-border);
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control-hcms:focus {
  border-color: var(--hcms-coral);
  box-shadow: 0 0 0 .18rem rgba(234,91,67,.14);
}
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--hcms-border); }

#form-alert { display: none; border-radius: var(--radius-sm); }

/* ---------- Utility / reveal ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { transition: none !important; transform: none !important; animation: none !important; }
}

/* ==========================================================================
   Responsive — audited per breakpoint, not just one mobile catch-all
   ========================================================================== */

/* Large desktop refinement */
@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}

/* Tablet landscape / small desktop */
@media (max-width: 991.98px) {
  .navbar-hcms .navbar-collapse {
    background: #fff;
    margin-top: .75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .navbar-hcms .nav-link::after { display: none; }
  .navbar-hcms .nav-link.login-link { display: inline-block; margin-top: .5rem; text-align: center; }
  .hero-slide .hero-content { text-align: center; margin: 0 auto; }
  .swiper-pagination { left: 0 !important; right: 0; text-align: center !important; }
}

/* Tablet portrait */
@media (max-width: 767.98px) {
  .section { padding: clamp(2.75rem, 8vw, 4rem) 0; }
  .hero-slide { height: clamp(440px, 78vh, 620px); }
  .contact-panel { padding: 1.5rem; }
  .cta-band { margin: 0; border-radius: 0; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* Mobile */
@media (max-width: 575.98px) {
  .btn-hcms, .btn-hcms-outline { width: 100%; text-align: center; padding: .85rem 1.5rem; }
  .info-card img { height: 200px; }
  .offer-card { padding: 1.5rem 1.25rem; }
  .client-cloud { line-height: 2.3; }
  .event-banner h2 { font-size: 1.15rem; }
}
