/* impeccable-disable overused-font: preserve the existing ICOREPOS brand typography. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/assets/fonts/urbanist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171d2b;
  --muted: #566173;
  --brand: #012e57;
  --brand-hover: #001b33;
  --brand-red: #ff3366;
  --brand-red-dark: #d61a4c;
  --action: var(--brand-red-dark);
  --line: #dfe4e9;
  --wash: #f4f7fa;
  --on-brand: #ffffff;
  --on-brand-muted: #c9d6e3;
  --focus: var(--brand);
  --control-border: #8393a4;
  --radius: 5px;
  --header-height: 76px;
  --section: clamp(64px, 8vw, 104px);
  --gutter: 48px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
::selection { color: #fff; background: var(--brand); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus, [tabindex='-1']:focus { outline: none; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Urbanist', 'Plus Jakarta Sans', sans-serif; font-weight: 650; color: var(--ink); text-wrap: balance; }
h1, h2 { color: var(--brand); }
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
p { color: var(--muted); line-height: 1.7; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; max-width: 62ch; }
.container { width: min(1240px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: var(--brand); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 136px; }
.site-navigation { flex: 1; display: flex; align-items: center; gap: 26px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #2b3546; font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: color 140ms ease; }
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--brand); }
.nav-link[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--brand-red); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.products-toggle { border: 0; background: none; padding: 0; }
.products-toggle .icon { width: 15px; height: 15px; transition: transform 150ms ease; }
.products-toggle[aria-expanded='true'] { color: var(--brand); }
.products-toggle[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.mobile-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }

.products-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 12px 24px rgb(1 46 87 / 8%); }
@media (prefers-reduced-motion: no-preference) { .products-menu { animation: menu-in 140ms ease-out; } }
.menu-inner { display: grid; grid-template-columns: 1fr 220px; gap: 40px; padding-block: 32px 36px; }
.menu-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.menu-group h2, .menu-aside-title { font: 600 12px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; margin-bottom: 6px; }
.menu-product { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0; }
.menu-product-logo { display: flex; align-items: center; min-height: 38px; }
.menu-product-text { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.menu-product:hover .menu-product-text { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.menu-aside { display: flex; flex-direction: column; gap: 4px; padding-left: 32px; }
.menu-aside a { padding: 10px 0; }
.menu-aside strong { display: block; font-size: 14px; color: var(--brand); }
.menu-aside span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.menu-aside a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* Actions */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; min-height: 48px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1.3; transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button-small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.button-primary { color: #fff; background: var(--action); }
.button-primary:hover { background: var(--brand); }
.button-primary:disabled { background: #9aa6b2; }
.button-secondary { border-color: var(--control-border); color: var(--brand); background: #fff; }
.button-secondary:hover { border-color: var(--brand); }
.button-light { color: var(--brand); background: #fff; }
.button-light:hover { background: var(--wash); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 600; font-size: 15px; background: none; border: 0; padding: 0; }
.text-link .icon { width: 17px; height: 17px; transition: transform 150ms ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) { .text-link:hover .icon { transform: translateX(2px); } }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

/* Sections */
.section { padding-block: var(--section); }
.section-tight { padding-block: 48px var(--section); }
.section-wash { background: var(--wash); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split > div:first-child p { margin-top: 14px; max-width: 34ch; }
.split > div:first-child .text-link { margin-top: 10px; }

/* Hero */
.hero { position: relative; color: #fff; padding-block: clamp(48px, 7vw, 88px) 0; background: radial-gradient(1100px 520px at 85% 10%, #0a4f8f 0%, transparent 60%), radial-gradient(800px 420px at 0% 100%, #023a6c 0%, transparent 65%), var(--brand); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { max-width: 13ch; color: #fff; }
.hero .lead { margin-top: 24px; color: var(--on-brand-muted); max-width: 52ch; }
.hero-actions { margin-top: 32px; }
.text-link-light { color: #fff; }
.text-link-quiet { color: var(--muted); font-weight: 600; }
.fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(72px, 8vw, 112px); }
.fact-strip div { padding: 0; }
.fact-strip dt { font-size: 13px; color: #9fb6cc; }
.fact-strip dd { margin: 4px 0 0; font-weight: 650; font-size: 15.5px; color: #fff; }
.hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(36px, 6vw, 90px); display: block; }

/* Product showcase */
.showcase { position: relative; }
.showcase-slide { display: grid; grid-template-rows: auto auto; border-radius: 20px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 24px 60px rgb(0 18 40 / 35%); }
@media (prefers-reduced-motion: no-preference) { .showcase-slide:not([hidden]) { animation: slide-in 320ms ease-out; } }
.showcase-visual { display: grid; place-items: center; min-height: clamp(180px, 22vw, 240px); padding: 28px; background: color-mix(in srgb, var(--product-colour, var(--brand)) 8%, #fff); }
.showcase-logo { display: flex; align-items: center; justify-content: center; width: 100%; }
.showcase-logo .product-logo { object-position: center; }
.showcase-shot { width: 100%; height: auto; border-radius: 10px; }
.showcase-text { padding: 22px 26px 24px; }
.showcase-category { font-family: 'Urbanist', 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); }
.showcase-desc { margin-top: 6px; font-size: 15px; line-height: 1.6; }
.showcase-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 10px; }
.showcase-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.showcase-controls[hidden] { display: none; }
.showcase-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); color: #fff; }
.showcase-arrow:hover { background: rgb(255 255 255 / 22%); }
.showcase-prev .icon { transform: rotate(180deg); }
.showcase-pause { margin-left: 6px; }
.showcase-dots { display: flex; gap: 2px; }
.showcase-dot { width: 28px; height: 44px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.showcase-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 45%); transition: width 200ms ease, background-color 200ms ease; }
.showcase-dot[aria-current='true']::before { width: 22px; background: #fff; }
.hero :focus-visible { outline-color: #fff; }
.hero .showcase-slide :focus-visible { outline-color: var(--brand); }
@keyframes slide-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Product logos: official files, never recoloured or stretched */
.product-logo { display: block; width: auto; object-fit: contain; object-position: left center; }
.product-logo-xs { height: 24px; max-width: min(88px, 100%); }
.product-logo-sm { height: 38px; max-width: min(136px, 100%); }
.product-logo-md { height: 60px; max-width: min(200px, 100%); }
.product-logo-lg { height: 96px; max-width: min(340px, 100%); }
.product-wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: 'Urbanist', 'Plus Jakarta Sans', sans-serif; font-weight: 750; letter-spacing: .01em; line-height: 1; color: var(--brand); white-space: nowrap; }
.product-wordmark-xs { font-size: 14px; }
.product-wordmark-sm { font-size: 18px; }
.product-wordmark-md { font-size: 23px; }
.product-wordmark-lg { font-size: 40px; }
.product-logo-mark { width: auto; height: 1.7em; }
.product-logo-stacked.product-logo-xs { height: 34px; }
.product-logo-stacked.product-logo-sm { height: 54px; }
.product-logo-stacked.product-logo-md { height: 84px; }
.product-logo-stacked.product-logo-lg { height: 132px; }

/* Product directory */
.directory-section { padding-top: clamp(24px, 4vw, 48px); }
.directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.directory-group { padding: 0; }
.directory-group h3 { font-size: 21px; }
.directory-group > p { font-size: 14px; line-height: 1.55; margin-top: 6px; min-height: 3.1em; }
.directory-group ul { margin-top: 18px; }
.app-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 0; }
.app-tile-logo { display: flex; align-items: center; min-height: 60px; max-width: 100%; }
.app-tile-text { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.app-tile:hover .app-tile-text { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .app-tile .product-logo, .app-tile .product-wordmark { transition: transform 150ms ease; } .app-tile:hover .product-logo, .app-tile:hover .product-wordmark { transform: translateX(2px); } }

/* Principles, steps and services */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 44px; }
.principles > div { padding-top: 22px; }
.principles p { margin-top: 10px; }
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 24px 0; }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 650 15px/1.6 'Urbanist', sans-serif; color: var(--brand-red-dark); }
.steps p { margin-top: 4px; }
.steps-compact { margin-top: 8px; }
.steps-compact li { padding: 16px 0; }
.steps-compact h3 { font-size: 17px; }
.fit-list { display: grid; gap: 10px; margin-top: 16px; }
.fit-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fit-list .icon { width: 18px; height: 18px; color: var(--brand-red-dark); }
.link-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.link-columns a { display: block; padding: 16px 0; }
.link-columns strong { display: block; font-size: 15.5px; font-weight: 650; }
.link-columns span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.link-columns a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.partner-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.partner-paths > div { padding-top: 20px; }
.partner-paths p { margin-block: 6px 4px; }
.section-brand { background: var(--wash); }

/* Articles */
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card .article-meta { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
.article-card h3 { font-size: 21px; line-height: 1.3; }
.article-card h3 a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.article-card p { flex: 1; }
.article-card .text-link { align-self: flex-start; }
.article-meta { grid-row: span 2; padding-top: 4px; }
.article-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.article-meta span { color: var(--brand-red-dark); font-weight: 600; }

/* Contact band and FAQ */
.contact-band { background: var(--brand); color: var(--on-brand); padding-block: clamp(48px, 6vw, 72px); }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.contact-band h2 { color: var(--on-brand); }
.contact-band p { color: var(--on-brand-muted); margin-top: 8px; max-width: 52ch; }
.contact-band-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-phone { color: var(--on-brand); font-weight: 600; font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-band :focus-visible { outline-color: #fff; }
.faq-section { padding-block: var(--section); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq-intro p { margin-top: 12px; }
.faq-item + .faq-item { margin-top: 4px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--brand); transition: transform 150ms ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding-bottom: 22px; max-width: 64ch; }

/* Page headings and inner pages */
.page-heading { padding-block: clamp(48px, 7vw, 88px) 32px; }
.page-heading h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; }
.page-heading .lead { margin-top: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #a3adb8; }
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.catalogue { padding-bottom: var(--section); }
.catalogue-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.category-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.category-tabs button { min-height: 48px; border: 0; border-bottom: 2px solid transparent; background: none; padding: 8px 0 12px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.category-tabs button:hover { color: var(--brand); }
.category-tabs button[aria-selected='true'] { color: var(--brand); font-weight: 650; border-bottom-color: var(--brand-red); }
.search-field { display: flex; align-items: center; width: 280px; min-height: 44px; position: relative; color: var(--muted); margin-bottom: 10px; }
.search-field > .icon { position: absolute; left: 14px; pointer-events: none; }
.search-field input { width: 100%; height: 44px; padding: 10px 42px; font-size: 15px; color: var(--ink); border: 1px solid var(--control-border); border-radius: var(--radius); background: #fff; }
.clear-search { position: absolute; right: 4px; width: 36px; height: 36px; background: #fff; border: 0; border-radius: 3px; color: var(--muted); display: grid; place-items: center; }
.clear-search .icon { width: 16px; height: 16px; }
.industry-finder summary { display: flex; align-items: center; gap: 8px; min-height: 56px; cursor: pointer; color: var(--brand); font-weight: 600; font-size: 15px; list-style: none; }
.industry-finder summary::-webkit-details-marker { display: none; }
.industry-finder summary .icon { width: 16px; height: 16px; }
.industry-finder[open] summary .icon { transform: rotate(180deg); }
.product-finder { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; }
.product-finder .field { min-width: 280px; }
.finder-error { width: 100%; margin-top: 0; }
.audience-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.audience-status p { font-size: 15px; }
#product-results { padding-top: 8px; }
.result-group { padding-top: 36px; }
.result-group h3 { font-size: 15px; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.product-row { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 0; }
.product-brand { flex: 0 0 150px; display: flex; align-items: center; min-height: 48px; }
.product-category { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); }
.product-arrow { width: 18px; height: 18px; color: var(--brand); opacity: .55; transition: opacity 150ms ease; }
.product-row:hover .product-category { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.product-row:hover .product-arrow { opacity: 1; }
.empty-results { padding: 48px 0; }
.empty-results p { margin-block: 6px 16px; }

.product-hero { padding-block: clamp(40px, 6vw, 72px); background: color-mix(in srgb, var(--product-colour, var(--brand)) 7%, #fff); }
.product-hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
/* Product brand colours: keep in sync with catalog.mjs brandColour (tested) */
.product-colour-icorepos { --product-colour: #e40c0c; }
.product-colour-ishopy { --product-colour: #540ce4; }
.product-colour-ihotel { --product-colour: #d9572b; }
.product-colour-ipharma { --product-colour: #f03c3c; }
.product-colour-icore-erp { --product-colour: #1f6fe5; }
.product-colour-isuite { --product-colour: #2457c5; }
.product-colour-icorepay { --product-colour: #0e7c66; }
.product-colour-isacco { --product-colour: #0c3c9c; }
.product-colour-ischool { --product-colour: #3c6ccc; }
.product-colour-ichurch { --product-colour: #5b2a86; }
.product-colour-irent { --product-colour: #0c2454; }
.product-colour-ilawyer { --product-colour: #1b2a41; }
.product-hero-logo { display: flex; align-items: center; min-height: 72px; margin-bottom: 28px; max-width: 100%; }
.product-subtitle { font-weight: 600; color: var(--brand-red-dark); margin-block: 12px 14px; }
.fact-list div { padding: 18px 0; }
.fact-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact-list dd { margin-top: 4px; font-size: 15px; line-height: 1.55; }
.fact-list a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.product-media { margin-top: var(--section); }
.product-media img { width: 100%; border-radius: 8px; }

.service-list { padding-bottom: var(--section); }
.service-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 32px; align-items: center; padding: 26px 0; }
.service-row h2 { font-size: 22px; }

.partner-sections { display: grid; padding-bottom: var(--section); }
.partner-sections section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 64px; padding: 40px 0; }
.partner-sections h2 { font-size: 28px; grid-row: 1 / span 6; }
.partner-sections section > :not(h2) { grid-column: 2; }
.partner-sections p { max-width: 62ch; }
.partner-sections .inline-actions { margin-top: 4px; }

.company-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-block: 32px var(--section); }
.company-summary section { padding-top: 24px; }
.company-summary p { margin-block: 10px 6px; }
.company-anniversary { background: var(--wash); padding-block: 56px; }
.anniversary-inner { display: flex; align-items: center; gap: 40px; }
.anniversary-inner img { width: 140px; }
.anniversary-inner p { margin-top: 6px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; padding-block: 24px var(--section); }
.contact-details div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 18px 0; }
.contact-details dt { color: var(--muted); font-size: 14px; }
.contact-details dd { font-weight: 600; overflow-wrap: anywhere; }
.contact-details a { color: var(--brand); }
.contact-details a:hover { text-decoration: underline; }
.contact-options section { padding: 20px 0; }
.contact-options section:first-child { padding-top: 0; }
.contact-options h2 { font-size: 22px; }
.contact-options p { margin-top: 4px; }
.support-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-block: 24px 16px; }
.support-links section { padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.support-links p { margin-block: 8px 6px; }
.access-note { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }

.article-inner { max-width: 820px; padding-block: clamp(40px, 6vw, 72px) var(--section); }
.article-inner .article-meta { flex-direction: row; gap: 16px; margin-bottom: 16px; }
.article-inner h1 { font-size: clamp(32px, 4vw, 50px); }
.article-inner .lead { margin-top: 20px; }
.migration-note { margin-top: 40px; padding: 22px 0; }

.not-found { padding-block: 120px; }
.not-found .lead { margin-top: 14px; }

/* Contact map */
.map-section { padding-bottom: var(--section); }
.map-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.map-heading p { margin-top: 6px; }
.map-frame { width: 100%; height: clamp(300px, 42vw, 480px); border-radius: 20px; overflow: hidden; background: var(--wash); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Enquiry flow */
.signup-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr); gap: 80px; align-items: start; padding-block: 48px var(--section); }
.signup-layout h1 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 24px; }
.flow-steps { display: flex; gap: 28px; margin-bottom: 32px; }
.flow-steps li { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.flow-steps li[aria-current='step'] { border-bottom-color: var(--brand-red); color: var(--brand); font-weight: 650; }
.signup-products { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border: 0; padding: 0; margin: 0; }
.product-choice { display: flex; align-items: center; gap: 14px; padding: 16px 8px; min-height: 76px; cursor: pointer; }
.product-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex-shrink: 0; }
.product-choice-logo { flex: 0 0 120px; display: flex; align-items: center; height: 40px; }
.product-choice-category { font-size: 13.5px; color: var(--muted); }
.product-choice:has(input:checked) { background: var(--wash); }
.flow-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; }
.flow-error { color: #9c2323; font-size: 14px; margin-top: 18px; }
.preview-notice { padding: 12px 0; margin-bottom: 28px; font-size: 13.5px; }
.signup-summary { margin-top: 92px; padding-top: 22px; }
.signup-summary h2 { font: 650 16px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; margin-bottom: 16px; }
.selection-list { display: grid; gap: 14px; }
.selection-list li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }
.selection-list li { min-height: 28px; }
.selection-empty, .selection-note { font-size: 14px; }
.selection-note { margin-top: 20px; padding-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { height: 48px; padding: 10px 12px; border: 1px solid var(--control-border); border-radius: var(--radius); background: #fff; color: var(--ink); min-width: 0; width: 100%; font-size: 16px; }
.field-full { grid-column: 1 / -1; }
.applicant-type { border: 0; padding: 0; margin: 0; }
.applicant-type legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 999px; background: var(--wash); cursor: pointer; font-weight: 600; font-size: 15px; }
.choice:has(input:checked) { background: var(--brand); color: #fff; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-red); }
.review-details > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; font-size: 15px; }
.review-details dt { color: var(--muted); }
.review-details dd { overflow-wrap: anywhere; }
.not-connected { font-size: 14px; margin-top: 18px; }
.not-connected a { color: var(--brand); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--wash); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 128px; }
.footer-brand-block p { font-size: 14px; margin-top: 16px; max-width: 30ch; }
.footer-contact a { color: var(--brand); font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-link-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-link-group > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-link-group h2 { font: 650 13px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.footer-link-group a, .footer-unconfigured { display: inline-flex; align-items: center; min-height: 36px; font-size: 14.5px; color: #3c4758; }
.footer-link-group a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.footer-unconfigured { color: var(--muted); }
.footer-visit address, .footer-visit p { font-style: normal; font-size: 14.5px; line-height: 1.6; color: #3c4758; margin: 0 0 10px; }
.footer-visit a { color: var(--brand); font-weight: 600; }
.footer-bottom { padding-block: 24px 32px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* WhatsApp chat */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.whatsapp-toggle { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #128c7e; color: #fff; box-shadow: 0 8px 24px rgb(16 24 39 / 22%); }
.whatsapp-toggle:hover { background: #075e54; }
.whatsapp-toggle .whatsapp-glyph { width: 30px; height: 30px; }
.whatsapp-teaser { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgb(16 24 39 / 14%); cursor: pointer; }
.whatsapp-panel { width: min(340px, calc(100vw - 40px)); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgb(16 24 39 / 20%); overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .whatsapp-panel:not([hidden]), .whatsapp-teaser:not([hidden]) { animation: menu-in 160ms ease-out; } }
.whatsapp-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: #075e54; color: #fff; }
.whatsapp-head strong { display: block; font-size: 15px; }
.whatsapp-head span { display: block; font-size: 12.5px; color: #d6efe9; }
.whatsapp-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25d366; flex-shrink: 0; }
.whatsapp-avatar .whatsapp-glyph { width: 22px; height: 22px; }
.whatsapp-close { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.whatsapp-close:hover { background: rgb(255 255 255 / 12%); }
.whatsapp-close:focus-visible { outline-color: #fff; }
.whatsapp-panel > p { margin: 16px 16px 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.whatsapp-start { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px; min-height: 48px; border-radius: 999px; background: #25d366; color: #073b2e; font-weight: 700; font-size: 15px; }
.whatsapp-start:hover { background: #1ebe5a; }
.whatsapp-start .whatsapp-glyph { width: 20px; height: 20px; }
.whatsapp-panel > .whatsapp-alt { margin: 0 16px 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.whatsapp-alt a { color: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .whatsapp { right: 14px; bottom: 14px; } .whatsapp-toggle { width: 54px; height: 54px; } }

@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }


/* Blog: categories, article layout and sidebar */
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.category-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--wash); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.category-chips a:hover { color: var(--brand); }
.category-chips a[aria-current='page'] { background: var(--brand); color: #fff; }
.article-meta a { color: var(--brand-red-dark); font-weight: 600; }
.article-meta a:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block: clamp(40px, 6vw, 72px) var(--section); }
.article-main { min-width: 0; max-width: 760px; }
.article-main .article-meta { flex-direction: row; gap: 16px; margin-bottom: 16px; }
.article-main h1 { font-size: clamp(32px, 4vw, 50px); }
.article-main .lead { margin-top: 20px; }
.article-cta { margin-top: 56px; padding: 28px; border-radius: 20px; background: var(--wash); }
.article-cta p { margin-block: 8px 18px; }
.article-aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 40px; }
.article-aside h2 { font: 700 13px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.recent-articles { display: grid; gap: 20px; }
.recent-articles a { display: grid; gap: 4px; }
.recent-articles strong { font-family: 'Urbanist', 'Plus Jakarta Sans', sans-serif; font-size: 17px; line-height: 1.3; color: var(--ink); }
.recent-articles a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.recent-category { font-size: 12.5px; font-weight: 600; color: var(--brand-red-dark); }
.recent-articles time { font-size: 13px; color: var(--muted); }
.category-list { display: grid; gap: 6px; }
.category-list a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 12px; background: var(--wash); font-weight: 600; font-size: 14.5px; }
.category-list a span { color: var(--muted); font-weight: 500; }
.category-list a[aria-current='true'], .category-list a:hover { background: var(--brand); color: #fff; }
.category-list a[aria-current='true'] span, .category-list a:hover span { color: #c9d6e3; }

/* Laravel website additions: server-rendered form, articles, CSS-only icons and no-JS fallback */
.rich-text { margin-top: 32px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.rich-text h2, .rich-text h3 { margin: 36px 0 16px; }
.rich-text h2 { font-size: 28px; }
.rich-text p, .rich-text ul, .rich-text ol { margin-block: 16px; }
.rich-text ul, .rich-text ol { padding-left: 24px; list-style: revert; }
.rich-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text blockquote { margin-inline: 0; padding-left: 20px; background: var(--wash); border-radius: 12px; padding: 16px 20px; }
.article-media { margin-top: 32px; }
.article-media img { width: 100%; }
.catalogue-tools .field { flex: 1 1 180px; }
.enquiry-form { min-width: 0; }
.enquiry-form .field label span, .enquiry-products summary span { font-weight: 400; color: var(--muted); }
.field textarea { padding: 12px; width: 100%; min-height: 144px; resize: vertical; border: 1px solid var(--control-border); border-radius: var(--radius); color: var(--ink); background: #fff; }
.field [aria-invalid='true'] { border-color: #a52a35; }
.enquiry-products summary { color: var(--brand); font-weight: 600; cursor: pointer; min-height: 44px; padding-block: 12px; }
.form-errors { margin-bottom: 28px; padding: 20px; background: #fff0f1; color: #8b2430; }
.form-errors h2 { font: 650 18px/1.4 'Plus Jakarta Sans', sans-serif; color: inherit; }
.form-errors ul { padding-left: 20px; margin-top: 8px; list-style: disc; line-height: 1.6; }
.enquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mobile-toggle-bars, .mobile-toggle-bars::before, .mobile-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.mobile-toggle-bars::before, .mobile-toggle-bars::after { content: ''; position: absolute; left: 0; }
.mobile-toggle-bars::before { top: -6px; }
.mobile-toggle-bars::after { top: 6px; }
.chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 3px 0 4px; }
.products-toggle[aria-expanded='true'] .chevron { transform: rotate(225deg); margin-top: 3px; }
.no-js .products-toggle, .no-js .mobile-toggle { display: none; }
.no-js .whatsapp-toggle { display: grid; }
@media (max-width: 1080px) {
  .no-js .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-navigation { display: flex; position: static; max-height: none; box-shadow: none; flex-direction: column; flex-basis: 100%; padding: 0; border: 0; }
}
.enquiry-form .applicant-type { margin-bottom: 4px; }
.enquiry-form .field-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.js .organisation-field[hidden] { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .site-navigation { gap: 20px; }
  .header-inner { gap: 28px; }
  .menu-inner { grid-template-columns: 1fr; }
  .menu-aside { flex-direction: row; flex-wrap: wrap; gap: 8px 40px; padding: 16px 0 0; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .mobile-toggle { display: flex; }
  .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px var(--gutter) 24px; background: #fff; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; align-items: stretch; gap: 0; box-shadow: 0 12px 24px rgb(1 46 87 / 8%); }
  .site-navigation.is-open { display: flex; flex-direction: column; }
  .site-navigation > .nav-link, .products-toggle { min-height: 52px; width: 100%; justify-content: space-between; font-size: 17px; }
  .nav-actions { margin: 20px 0 0; justify-content: space-between; }
  .products-menu { position: static; box-shadow: none; animation: none; }
  .products-menu .container { width: 100%; }
  .menu-inner { padding-block: 12px 20px; }
  .menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
  .hero-inner { grid-template-columns: 1fr; }
  .showcase { max-width: 560px; }
  .split, .faq-layout, .product-hero-inner, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { align-items: start; }
  .principles { gap: 32px; }
  .partner-sections section { grid-template-columns: 1fr; }
  .partner-sections h2 { grid-row: auto; }
  .partner-sections section > :not(h2) { grid-column: 1; }
  .signup-layout { grid-template-columns: 1fr; gap: 40px; }
  .signup-summary { margin-top: 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --header-height: 64px; }
  .brand img { width: 112px; }
  h3 { font-size: 19px; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .directory, .principles, .link-columns, .partner-paths, .product-list, .company-summary, .support-links, .signup-products, .form-grid { grid-template-columns: 1fr; }
  .directory-group > p { min-height: 0; }
  .menu-groups { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }
  .article-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .article-card { scroll-snap-align: start; }
  .catalogue-tools { flex-direction: column-reverse; align-items: stretch; }
  .search-field { width: 100%; margin: 16px 0 0; }
  .product-finder .field { min-width: 0; width: 100%; }
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .anniversary-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .review-details > div { grid-template-columns: 1fr; gap: 2px; }
  .flow-actions { flex-wrap: wrap; }
  .hero-actions .button, .inline-actions .button { width: 100%; }
}
