/* ================= Shared ================= */
.section { padding: 110px 0; }
.section--light { background: var(--jms-light); }
.eyebrow { display: inline-block; margin-bottom: 26px; color: var(--jms-indigo); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 10px; background: var(--jms-orange); }
.eyebrow--center::after { display: none; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; }
.lead-muted { color: var(--jms-muted); font-size: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-head > div { max-width: 680px; }
.section-head .lead-muted { margin-top: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; font-family: var(--font-head); font-size: 15px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn--primary { background: var(--jms-indigo); color: #fff; }
.btn--primary:hover { background: var(--jms-indigo-dark); }
.btn--white { background: #fff; color: var(--jms-indigo); }
.btn--white:hover { background: #e9ebf7; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: #cfd3e0; background: #fff; color: var(--jms-indigo); }
.btn--outline:hover { border-color: var(--jms-indigo); }

/* Image placeholder — replace with a real <img> when photos are ready */
.ph { display: grid; place-items: center; padding: 16px; background: var(--jms-ph); border: 1px dashed #b9bfd3; color: var(--jms-muted); font-size: 13px; text-align: center; }
.ph--plain { border: 0; }

/* ================= Top bar + header ================= */
.topbar { border-bottom: 1px solid var(--jms-line); font-size: 13px; color: var(--jms-muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 20px; }
.topbar__info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__info a:hover, .topbar__social a:hover { color: var(--jms-indigo); }
.topbar__social { display: flex; gap: 16px; }
.topbar__social svg { width: 16px; height: 16px; }

/* Header: slightly transparent "frosted glass". Change .86 (0 = fully clear, 1 = solid white) to adjust. */
:root { --header-h: 92px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .5); transition: box-shadow .2s, background .2s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); box-shadow: 0 6px 24px rgba(20, 22, 60, .08); }
/* Let the first banner (home video / page banner) slide under the header so the transparency shows */
.site-header + main > .hero:first-child, .site-header + main > .page-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
@media (max-width: 900px) { :root { --header-h: 76px; } }
/* When logged in to WordPress, keep the sticky header below the admin toolbar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
/* Desktop: logo left | menu exactly centred | "Get a quote" right */
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 92px; }
.site-header__inner .brand { justify-self: start; }
.site-header__inner .header-cta { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; width: 50px; height: 50px; background: var(--jms-indigo); color: #fff; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 18px; letter-spacing: -.03em; }
.brand__name { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--jms-ink); }
.brand__name small { display: block; margin-top: 3px; color: var(--jms-muted); font-family: var(--font-body); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
/* Logo size: change the height values below to make the logo bigger or smaller */
.brand__logo { width: auto; height: 58px; }
.brand--footer .brand__logo { height: 48px; filter: brightness(0) invert(1); } /* white version on the dark footer */
.brand .custom-logo { width: auto; height: 58px; max-width: 180px; object-fit: contain; }
@media (max-width: 680px) { .brand__logo, .brand .custom-logo { height: 44px; } }
.site-nav__list { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { font-size: 15px; font-weight: 500; color: var(--jms-ink); transition: color .2s; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list a.is-current { color: var(--jms-indigo); }
.menu-toggle { display: none; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--jms-ink); }

/* ================= Hero (video playlist) ================= */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 72vh, 680px); overflow: hidden; color: #fff; background: #1b1e3d; }
.hero__media { position: absolute; inset: 0; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-active { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 44, .82) 0%, rgba(14, 16, 44, .55) 50%, rgba(14, 16, 44, .2) 100%), linear-gradient(0deg, rgba(14, 16, 44, .6) 0%, transparent 45%); }
.hero__content { position: relative; z-index: 1; padding: 80px 0; }
.hero__content > * { max-width: 700px; }
.hero__eyebrow { margin-bottom: 20px; color: #b9c0f5; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.hero__copy { max-width: 590px; margin: 26px 0 40px; color: #e6e8f5; font-size: 19px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__dots { position: absolute; right: 0; bottom: 30px; left: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
.hero__dots button.is-active { width: 44px; background: #fff; }

/* ================= Stats strip ================= */
.stats { background: var(--jms-indigo); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 38px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stats__item:first-child { padding-left: 0; border-left: 0; }
.stats__item strong { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 700; line-height: 1; }
.stats__item span { display: block; margin-top: 10px; color: #cfd3f3; font-size: 15px; }

/* ================= About ================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__text .h2 { max-width: 520px; font-size: clamp(30px, 3.2vw, 40px); }
.about__text p { margin-top: 22px; color: var(--jms-muted); }
.about__pillars { display: flex; gap: 40px; margin: 34px 0 32px; }
.about__pillars strong { display: block; color: var(--jms-indigo); font-family: var(--font-head); font-size: 28px; font-weight: 700; line-height: 1.1; }
.about__pillars span { color: var(--jms-muted); font-size: 14px; }
.about__visual { position: relative; padding: 0 28px 34px 0; }
.about__visual .ph { aspect-ratio: 800 / 920; max-height: 620px; width: 100%; }
.about__badge { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 42%; aspect-ratio: 230 / 170; padding: 16px; background: var(--jms-indigo); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }

/* ================= Why choose ================= */
.why .h2 { max-width: 640px; margin-bottom: 52px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why__card { padding: 32px 28px 36px; background: #fff; border: 1px solid var(--jms-line); transition: transform .25s, box-shadow .25s; }
.why__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31, 38, 117, .08); }
.why__card svg { width: 30px; height: 30px; color: var(--jms-indigo); }
.why__card h3 { margin: 24px 0 12px; font-size: 19px; font-weight: 700; }
.why__card p { color: var(--jms-muted); font-size: 15px; }

/* ================= Services ================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--jms-line); transition: box-shadow .25s; }
.service-card:hover { box-shadow: 0 16px 40px rgba(31, 38, 117, .09); }
.service-card .ph, .service-card img { aspect-ratio: 368 / 210; width: 100%; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 30px 28px 30px; }
.service-card h3 { margin-bottom: 12px; font-size: 21px; font-weight: 700; }
.service-card p { flex: 1; color: var(--jms-muted); font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--jms-indigo); font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after, .service-card:hover .link-arrow::after { transform: translateX(4px); }

/* ================= The group ================= */
.group__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.company-card { display: flex; align-items: center; gap: 20px; min-height: 124px; padding: 24px; background: #fff; border: 1px solid var(--jms-line); transition: border-color .2s, box-shadow .2s; }
.company-card:hover { border-color: #c5cae6; box-shadow: 0 12px 30px rgba(31, 38, 117, .07); }
.company-card img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--jms-line); background: #fff; }
.company-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.company-card span { display: block; margin-top: 4px; color: var(--jms-muted); font-size: 14px; }

/* ================= Service promise ================= */
.promise { padding: 88px 0 96px; background: var(--jms-indigo); color: #fff; text-align: center; }
.promise .eyebrow { margin-bottom: 14px; color: #c3c8f2; }
.promise .h2 { font-size: clamp(28px, 3vw, 38px); }
.promise__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 58px; }
.promise__item { display: flex; flex-direction: column; align-items: center; gap: 22px; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.promise__icon { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; transition: background .25s; }
.promise__item:hover .promise__icon { background: rgba(255,255,255,.1); }
.promise__icon svg { width: 22px; height: 22px; }

/* ================= Awards ================= */
.awards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.awards__visual .ph { aspect-ratio: 900 / 840; width: 100%; }
.awards__visual { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -24px rgba(21, 27, 84, .35); border-bottom: 5px solid var(--jms-orange); }
.awards__visual img { width: 100%; height: auto; }
.awards .h2 { max-width: 520px; margin-bottom: 34px; }
.awards__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--jms-line); }
.awards__list li { padding: 24px 0; border-top: 1px solid var(--jms-line); }
.awards__list h3 { font-size: 18px; font-weight: 700; }
.awards__list p { margin-top: 6px; color: var(--jms-muted); font-size: 15px; }

/* ================= CSR ================= */
.csr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.csr .h2 { max-width: 460px; }
.csr__text > p { margin-top: 24px; color: var(--jms-muted); }
.csr__list { margin: 26px 0 36px; padding-left: 20px; color: var(--jms-muted); font-size: 15px; }
.csr__list li { margin: 6px 0; }
.csr__visual .ph { aspect-ratio: 800 / 640; width: 100%; }
.csr__visual { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -24px rgba(21, 27, 84, .35); border-bottom: 5px solid var(--jms-orange); }
.csr__visual img { width: 100%; height: auto; }

/* ================= CTA ================= */
.cta { position: relative; padding: 100px 0; overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(70, 80, 180, .45), transparent 45%), linear-gradient(120deg, #23264a 0%, var(--jms-indigo-deep) 60%, #33377a 100%); }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 80px); }
.cta__inner { position: relative; display: flex; justify-content: center; align-items: center; gap: 60px; }
.cta__text { max-width: 580px; text-align: center; }
.cta h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.cta p { margin-top: 18px; color: #d7d9ee; font-size: 17px; }

/* ================= News ================= */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--jms-line); transition: box-shadow .25s; }
.news-card:hover { box-shadow: 0 16px 40px rgba(31, 38, 117, .09); }
.news-card .ph, .news-card img { aspect-ratio: 368 / 200; width: 100%; object-fit: cover; }
.news-card__body { padding: 28px 26px 30px; }
.news-card time { color: var(--jms-muted); font-size: 13px; }
.news-card h3 { margin: 10px 0 12px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.news-card p { color: var(--jms-muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= Partners ================= */
.partners { padding: 70px 0 64px; border-top: 1px solid var(--jms-line); text-align: center; }
.partners__title { margin-bottom: 30px; color: var(--jms-muted); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
/* Partner logos: endless horizontal scroll. Change 32s to make it slower (bigger) or faster (smaller). */
.partners__marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.partners__track { display: flex; width: max-content; animation: partners-scroll 32s linear infinite; }
.partners__marquee:hover .partners__track { animation-play-state: paused; }
.partners__list { display: flex; flex-shrink: 0; gap: 28px; margin: 0; padding: 6px 14px 6px 14px; list-style: none; }
.partner { display: grid; place-items: center; width: 220px; height: 104px; padding: 18px 26px; background: #fff; border: 1px solid var(--jms-line); border-radius: 10px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.partner:hover { border-color: #cdd2e6; box-shadow: 0 14px 30px -18px rgba(20, 22, 60, .35); transform: translateY(-3px); }
.partner img { width: auto; max-width: 100%; height: auto; max-height: 52px; object-fit: contain; }
.partner--text { color: var(--jms-indigo); font-family: var(--font-head); font-size: 16px; font-weight: 700; text-align: center; line-height: 1.25; }
@keyframes partners-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .partners__list[aria-hidden="true"] { display: none; }
  .partners__list { flex-wrap: wrap; justify-content: center; }
}

/* ================= Footer ================= */
.site-footer { background: var(--jms-indigo-dark); color: #d3d6ee; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 56px; }
.brand--footer .brand__mark { background: #fff; color: var(--jms-indigo); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name small { color: #aab0dc; }
.footer-about { max-width: 260px; margin-top: 26px; font-size: 15px; }
.site-footer h3 { margin-bottom: 20px; color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact p, .footer-contact a { display: block; margin-bottom: 14px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

/* ================= Floating chat ================= */
.chat-fab { position: fixed; right: 28px; bottom: 28px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--jms-indigo); color: #fff; box-shadow: 0 10px 30px rgba(31, 38, 117, .35); transition: transform .2s; }
.chat-fab:hover { transform: scale(1.07); }
.chat-fab svg { width: 24px; height: 24px; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .site-nav__list { gap: 22px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid, .group__grid, .news__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar__info span { display: none; }
  .menu-toggle { display: block; }
  .site-header__inner { display: flex; justify-content: space-between; min-height: 76px; }
  .header-cta { display: none; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 24px 24px; background: #fff; border-top: 1px solid var(--jms-line); box-shadow: 0 14px 30px rgba(20, 22, 60, .1); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--jms-line); }
  .about__grid, .awards__grid, .csr__grid { grid-template-columns: 1fr; gap: 48px; }
  .awards__visual { order: 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 30px 22px; border-left: 1px solid rgba(255,255,255,.14); }
  .stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .promise__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .cta__inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .topbar__info { gap: 16px; font-size: 12px; }
  .hero { min-height: 560px; }
  .hero__copy { font-size: 17px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .why__grid, .services__grid, .group__grid, .news__grid { grid-template-columns: 1fr; }
  .stats__item strong { font-size: 36px; }
  .about__pillars { gap: 28px; }
  .promise__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .chat-fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
}
@media (max-width: 420px) {
  .topbar__info a[href^="mailto"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
