/* ==========================================================================
   CORPAC Consulting - main stylesheet
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Buttons  6. Header  7. Hero
   8. Sections & cards  9. Components  10. Forms  11. Footer  12. Popup
   13. Back to top  14. Blog  15. Motion & utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, Latin subset) */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* 2. Design tokens */
:root {
	--c-navy-950: #060d24;
	--c-navy-900: #0b1535;
	--c-navy-800: #14245a;
	--c-navy-700: #1d3a80;
	--c-charcoal: #1f2933;
	--c-accent: #1d4ed8;
	--c-accent-600: #1639b0;
	--c-accent-400: #4d7bf0;
	--c-accent-300: #9db8f7;
	--c-accent-100: #e8efff;
	--c-sky: #3b82f6;
	--c-mist: #eef3ff;
	--c-amber: #f5a524;
	--c-white: #ffffff;
	--c-offwhite: #f5f7fa;
	--c-grey-100: #eef1f5;
	--c-grey-200: #dde3ea;
	--c-grey-500: #667281;
	--c-grey-700: #3f4a58;
	--c-text: #1b2430;
	--c-success: #1b7a4b;
	--c-error: #b3261e;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h4: 1.125rem;
	--fs-h3: 1.3125rem;
	--fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
	--fs-h1: clamp(2rem, 1.3rem + 2.2vw, 3rem);

	--sp-1: 0.5rem;
	--sp-2: 1rem;
	--sp-3: 1.5rem;
	--sp-4: 2rem;
	--sp-5: 3rem;
	--sp-6: 4.5rem;
	--section-y: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(11, 31, 58, 0.08);
	--shadow: 0 8px 24px -8px rgba(11, 31, 58, 0.16);
	--shadow-lg: 0 24px 56px -16px rgba(11, 31, 58, 0.28);

	--container: 1200px;
	--container-narrow: 820px;
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; }
body:where(:not(.corpac-el)) {
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body:where(:not(.corpac-el)) img, svg, video { max-width: 100%; height: auto; display: block; }
body:where(:not(.corpac-el)) a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body:where(:not(.corpac-el)) a:hover { color: var(--c-accent-600); }
body:where(:not(.corpac-el)) h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-navy-900); line-height: 1.15; margin: 0 0 var(--sp-2); font-weight: 800; letter-spacing: -0.03em; }
body:where(:not(.corpac-el)) h2 { font-size: var(--fs-h2); }
body:where(:not(.corpac-el)) h3 { font-size: var(--fs-h3); }
body:where(:not(.corpac-el)) h4 { font-size: var(--fs-h4); }
body:where(:not(.corpac-el)) p { margin: 0 0 var(--sp-2); }
body:where(:not(.corpac-el)) ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-accent-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-accent-100); color: var(--c-navy-900); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--c-navy-900); color: #fff;
	padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.container--narrow { max-width: calc(var(--container-narrow) + 4rem); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-mist); }
.section--dark { background: radial-gradient(800px 400px at 90% 0%, rgba(255,255,255,0.18), transparent 60%), linear-gradient(135deg, #0b63a8, #0f7bcb); color: #e6f2fc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.mt-lg { margin-top: var(--sp-5); }
.small { font-size: var(--fs-sm); }
.muted { color: var(--c-grey-500); }
.lead { font-size: var(--fs-lg); color: var(--c-grey-700); }
.section--dark .lead { color: #e6f2fc; }

.grid { display: grid; gap: var(--sp-3); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--services { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (max-width: 640px) { .grid--services { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--head { align-items: end; margin-bottom: var(--sp-5); }
.split--media, .split--industry { align-items: center; }
.split--intro { grid-template-columns: 1.4fr 1fr; }
.split--form { grid-template-columns: 1fr 1.25fr; }
.split--contact { grid-template-columns: 1fr 1.2fr; }
.split--industry { grid-template-columns: 1fr 1.4fr; }

.section-head { max-width: 760px; margin-bottom: var(--sp-5); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head h2 { margin-bottom: var(--sp-2); }
.section-head .lead { margin-bottom: 0; }

.eyebrow {
	display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--c-navy-900); background: none; padding: 0; border-radius: 0; margin: 0 0 var(--sp-2);
}
.eyebrow--dark { color: var(--c-accent); }
.section--dark .eyebrow, .cta-band .eyebrow { color: #cfdcff; background: none; }

/* 5. Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-size: var(--fs-sm);
	font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
	padding: 0.95rem 1.6rem; border-radius: 12px; border: 1.5px solid transparent;
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--sm { padding: 0.7rem 1.25rem; }
.btn--primary { background: linear-gradient(135deg, #1536c9, #2f6bff); color: #fff; box-shadow: 0 10px 24px -8px rgba(29, 78, 216, 0.55); }
.btn--primary::after { content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn--primary:hover { background: linear-gradient(135deg, #102bb0, #2459e6); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--c-navy-900); color: var(--c-navy-900); background: transparent; }
.btn--outline:hover { background: var(--c-navy-900); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--c-navy-900); }
.btn--light { background: #fff; color: var(--c-navy-900); }
.btn--light:hover { background: var(--c-accent-100); color: var(--c-navy-900); transform: translateY(-1px); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; margin-top: auto; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 6. Header */
.site-header {
	/* No backdrop-filter/transform here: they would turn the header into the containing block of the fixed mobile menu. */
	position: sticky; top: 0; z-index: 900; height: var(--header-h); background: #fff;
	border-bottom: 1px solid var(--c-grey-200); transition: box-shadow 0.25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__img { height: 52px; width: auto; max-width: 210px; object-fit: contain; }
.brand--text { flex-direction: column; align-items: flex-start; line-height: 1; gap: 4px; }
.brand__word { font-family: var(--font-body); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--c-accent); }
.brand__tag { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-grey-700); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: var(--sp-3); }
.site-nav .menu { list-style: none; display: flex; align-items: center; gap: 0.1rem; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav a { color: var(--c-charcoal); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.6rem 0.7rem; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; white-space: nowrap; }
.site-nav .menu > li > a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_item > a { color: var(--c-accent); }
.site-nav .btn { color: #fff; font-size: 0.86rem; }

.submenu-toggle { background: none; border: 0; padding: 0.35rem; margin-left: -0.35rem; cursor: pointer; color: var(--c-grey-700); display: inline-flex; border-radius: 6px; }
.submenu-toggle .icon { transition: transform 0.2s; }
.menu-item-has-children.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff;
	border: 1px solid var(--c-grey-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.site-nav .sub-menu a { display: block; padding: 0.65rem 0.85rem; font-size: 0.9rem; }
.site-nav .sub-menu a:hover { background: var(--c-accent-100); color: var(--c-accent-600); }
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children.is-open > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--c-grey-200); border-radius: var(--radius-sm); width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--c-navy-900); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
		gap: var(--sp-3); padding: var(--sp-3) clamp(1.25rem, 4vw, 2rem) calc(var(--sp-5) + env(safe-area-inset-bottom)); overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0.3s;
	}
	.admin-bar .site-nav { inset-block-start: calc(var(--header-h) + 32px); }
	.site-nav.is-open { transform: none; visibility: visible; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-grey-100); }
	.site-nav .menu > li > a { flex: 1; padding: 1rem 0.25rem; font-size: 1.05rem; }
	.submenu-toggle { padding: 0.9rem; margin: 0; }
	.site-nav .sub-menu { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0.75rem 0.75rem; display: none; opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu-item-has-children:hover > .sub-menu { display: none; }
	.site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.site-nav .btn { width: 100%; padding-block: 1rem; }
	body.nav-open { overflow: hidden; }
}

/* 7. Hero (light) */
.hero { position: relative; color: var(--c-text); background: linear-gradient(180deg, #f4f8fd 0%, var(--c-mist) 100%); overflow: hidden; isolation: isolate; border-bottom: 1px solid #dbe6f3; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background-repeat: no-repeat; pointer-events: none; }
.hero__bg::before {
	/* open "C" ring echoing the logo mark */
	content: ""; position: absolute; width: min(760px, 70vw); aspect-ratio: 1; right: -12%; top: 50%; transform: translateY(-50%);
	border-radius: 50%; border: clamp(46px, 6vw, 84px) solid transparent;
	background: linear-gradient(135deg, rgba(25, 160, 240, 0.22), rgba(11, 99, 168, 0.10)) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box;
	mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box;
	clip-path: polygon(0 0, 100% 0, 100% 34%, 62% 50%, 100% 66%, 100% 100%, 0 100%);
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0; opacity: 0.55;
	background-image: radial-gradient(rgba(11, 99, 168, 0.16) 1.2px, transparent 1.4px); background-size: 26px 26px;
	mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
	-webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.hero__inner { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); display: grid; gap: var(--sp-5); align-items: center; }
.hero--home .hero__inner { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero--has-media .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
.hero__content { max-width: 680px; }
.hero__title { color: var(--c-navy-900); font-size: var(--fs-h1); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: var(--sp-3); }
.hero--inner .hero__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.85rem); }
.hero__desc { font-size: var(--fs-lg); color: var(--c-grey-700); max-width: 600px; margin-bottom: var(--sp-4); }
.hero__meta { color: var(--c-grey-700); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.hero__meta a { color: var(--c-accent); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero .btn--outline-light { border-color: var(--c-navy-900); color: var(--c-navy-900); }
.hero .btn--outline-light:hover { background: var(--c-navy-900); color: #fff; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero visual: a business-review card built from real service names (no figures). */
.hv { position: relative; max-width: 500px; margin-inline: auto; padding: 1rem 0 2.75rem; }
.hv__card { background: #fff; border-radius: 22px; padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 30px 60px -24px rgba(11, 31, 58, 0.35), 0 2px 6px rgba(11, 31, 58, 0.06); border: 1px solid #e3ebf5; }
.hv__top { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--c-grey-100); }
.hv__mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--c-sky), var(--c-accent)); display: grid; place-items: center; color: #fff; }
.hv__title { font-family: var(--font-head); font-weight: 700; color: var(--c-navy-900); font-size: 1.02rem; line-height: 1.2; margin: 0; }
.hv__sub { font-size: 0.8rem; color: var(--c-grey-500); margin: 0; }
.hv__list { list-style: none; margin: 0; padding: 0; }
.hv__row { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--c-grey-200); font-weight: 600; color: var(--c-navy-900); font-size: 0.95rem; }
.hv__row:last-child { border-bottom: 0; }
.hv__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--c-accent-100); color: var(--c-accent); display: grid; place-items: center; flex-shrink: 0; }
.hv__row small { margin-left: auto; font-weight: 500; font-size: 0.78rem; color: var(--c-grey-500); }
.hv__chip { position: absolute; background: #fff; border: 1px solid #e3ebf5; border-radius: 16px; box-shadow: 0 18px 36px -16px rgba(11, 31, 58, 0.35); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; line-height: 1.25; color: var(--c-grey-700); }
.hv__chip strong { display: block; color: var(--c-navy-900); font-family: var(--font-head); font-size: 0.95rem; }
.hv__chip--a { right: -1rem; top: -1.25rem; }
.hv__chip--b { left: -1.25rem; bottom: -0.5rem; }
.hv__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 0 5px rgba(245, 165, 36, 0.22); flex-shrink: 0; }
.hv__ok { width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

.breadcrumbs { margin-bottom: var(--sp-3); font-size: var(--fs-xs); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--c-grey-500); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }
.breadcrumbs a { color: var(--c-grey-700); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-navy-900); font-weight: 600; }

/* 8. Cards */
.card {
	display: flex; flex-direction: column; gap: 0.35rem; background: #fff; border: 1px solid var(--c-grey-200); border-radius: var(--radius);
	padding: var(--sp-4) var(--sp-3) var(--sp-3); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card p { color: var(--c-grey-700); font-size: var(--fs-sm); }
.card__title { font-size: 1.15rem; margin: 0.5rem 0 0.35rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card, .post-card { position: relative; }
.service-card:hover, .post-card:hover, .industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-accent-300); }
.service-card .link-arrow { position: relative; z-index: 1; }
.card--plain { background: transparent; border: 0; border-top: 3px solid var(--c-accent); border-radius: 0; padding: var(--sp-3) 0 0; }
.section--alt .card--plain { background: transparent; }
.card--dark { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
.card--dark p { color: #eaf4fd; }
.card--dark:hover { background: rgba(255, 255, 255, 0.18); }
.card__icon {
	width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-accent-100); color: var(--c-accent); flex-shrink: 0; margin-bottom: 0.4rem;
}
.card__icon--outline { background: transparent; border: 1.5px solid var(--c-accent-300); }
.card__icon--light { background: rgba(255, 255, 255, 0.1); color: var(--c-accent-300); }
.card__icon--check { width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); color: #fff; }
.card__icon--big { width: 64px; height: 64px; border-radius: 16px; margin-bottom: var(--sp-2); }

.industry-card { flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--c-navy-900); }
.industry-card .card__icon { margin: 0; width: 46px; height: 46px; }
.industry-card .card__title { margin: 0; font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; }

.panel { background: var(--c-offwhite); border: 1px solid var(--c-grey-200); border-radius: var(--radius-lg); padding: var(--sp-4); }
.section--alt .panel { background: #fff; }
.panel h3 { margin-bottom: var(--sp-2); }
.panel .btn { margin-top: var(--sp-2); }

.about-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: var(--sp-3); background: linear-gradient(135deg, #0b63a8, #1688d6); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-panel__tile { display: flex; flex-direction: column; gap: 0.75rem; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: var(--sp-4) var(--sp-3); font-weight: 600; min-height: 150px; justify-content: flex-end; }
.about-panel__tile .icon { color: #fff; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); counter-reset: step; position: relative; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding-top: var(--sp-4); }
.step::before { content: ""; position: absolute; top: 20px; left: 52px; right: calc(-1 * var(--sp-3) + 8px); height: 2px; background: var(--c-grey-200); }
.step:last-child::before { display: none; }
.step__num {
	position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-accent); color: #fff; font-weight: 700; font-size: 0.9rem; box-shadow: 0 0 0 6px var(--c-accent-100);
}
.step h3 { font-size: 1.15rem; margin: var(--sp-3) 0 0.4rem; }
.step p { font-size: var(--fs-sm); color: var(--c-grey-700); }
.steps--dark .step::before { background: rgba(255, 255, 255, 0.18); }
.steps--dark .step__num { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); }
.steps--dark .step p { color: #bfd0e4; }

/* 9. Components */
.tick-list { list-style: none; display: grid; gap: 0.7rem; }
.tick-list li { position: relative; padding-left: 1.9rem; color: var(--c-grey-700); font-size: var(--fs-sm); }
.tick-list li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--c-accent-100)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b63a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.tick-list--compact { gap: 0.4rem; margin: var(--sp-1) 0 var(--sp-2); }
.tick-list--compact li { font-size: 0.875rem; }
.tick-list--large li { font-size: var(--fs-base); color: var(--c-text); }
.tick-list a { color: inherit; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips--center { justify-content: center; }
.chip { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--c-grey-200); background: #fff; color: var(--c-charcoal); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; transition: all 0.2s; }
a.chip:hover, .chip.is-active { background: var(--c-navy-900); color: #fff; border-color: var(--c-navy-900); }
.chips--static .chip { background: var(--c-accent-100); border-color: transparent; color: var(--c-navy-800); }

.faq { display: grid; gap: 0.75rem; }
.faq__item { background: #fff; border: 1px solid var(--c-grey-200); border-radius: var(--radius); padding: 0; transition: border-color 0.2s; }
.faq__item[open] { border-color: var(--c-accent-300); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 600; color: var(--c-navy-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { flex-shrink: 0; transition: transform 0.2s; color: var(--c-accent); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--c-grey-700); }

.cta-band { padding-block: var(--section-y); background: var(--c-white); }
.cta-band__inner {
	text-align: center; color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(1.5rem, 4vw, 4rem);
	background: radial-gradient(700px 360px at 90% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(135deg, #0b63a8, #1688d6);
	box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 780px; margin-inline: auto; }
.cta-band p { color: #e6f2fc; max-width: 700px; margin-inline: auto; font-size: var(--fs-lg); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: var(--sp-3); }

.empty-state { text-align: center; max-width: 560px; margin-inline: auto; padding: var(--sp-5) var(--sp-3); border: 1px dashed var(--c-grey-200); border-radius: var(--radius-lg); background: var(--c-offwhite); }
.empty-state__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent-100); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-2); }
.empty-state p { color: var(--c-grey-700); }

.contact-cards { list-style: none; display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border: 1px solid var(--c-grey-200); border-radius: var(--radius); background: #fff; }
.contact-cards h3 { font-size: 1rem; font-family: var(--font-body); margin: 0 0 0.15rem; }
.contact-cards p { margin: 0; color: var(--c-grey-700); }
.map { margin-top: 0; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; background: var(--c-grey-100); }
.map__link { padding-block: var(--sp-2); }

.vacancy-list { list-style: none; display: grid; gap: var(--sp-2); }
.vacancy { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); background: #fff; border: 1px solid var(--c-grey-200); border-radius: var(--radius); padding: var(--sp-3); }
.vacancy h3 { margin-bottom: 0.3rem; }
.industry-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.industry-cols h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--sp-2); }

/* 10. Forms */
.form-card { background: #fff; border: 1px solid var(--c-grey-200); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.5rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-900); }
.req { color: var(--c-error); }
.opt { color: var(--c-grey-500); font-weight: 400; font-size: var(--fs-xs); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="file"], .field select, .field textarea, .search-form__input {
	width: 100%; font: inherit; font-size: 1rem; color: var(--c-text); background: #fff; border: 1.5px solid var(--c-grey-200); border-radius: var(--radius-sm);
	padding: 0.8rem 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input[type="file"] { padding: 0.6rem; background: var(--c-offwhite); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-100); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: var(--fs-xs); margin: 0; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: var(--fs-xs); color: var(--c-grey-500); margin: 0; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 400 !important; color: var(--c-grey-700) !important; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--c-accent); }
.form__note { font-size: var(--fs-xs); color: var(--c-grey-500); margin: 0; }
.form__status { margin-top: 1.1rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status.is-success { background: #e8f5ee; color: var(--c-success); border: 1px solid #b9e0c9; }
.form__status.is-error { background: #fdecea; color: var(--c-error); border: 1px solid #f3c1bd; }
.form__submit { margin-top: 1.25rem; width: 100%; }
.form__submit[disabled] { opacity: 0.65; cursor: progress; }
.form.is-sent .form__grid, .form.is-sent .form__submit { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.search-form { position: relative; max-width: 360px; width: 100%; }
.search-form__input { padding-right: 3rem; border-radius: 999px; }
.search-form__btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--c-navy-900); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn:hover { background: var(--c-accent); }

/* 11. Footer */
.site-footer { background: var(--c-navy-950); color: #b5c5da; padding-top: var(--sp-6); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: var(--sp-5); padding-bottom: var(--sp-5); }
.site-footer a { color: #d7e3f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: 0.7rem 1rem; margin-bottom: var(--sp-2); }
.footer-logo .brand__img { height: 40px; max-width: 170px; }
.footer-logo .brand__word { color: var(--c-accent); }
.footer-logo .brand__tag { color: var(--c-grey-700); }
.footer-title { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-2); font-weight: 600; }
.site-footer .menu, .contact-list { list-style: none; display: grid; gap: 0.6rem; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-list .icon { flex-shrink: 0; margin-top: 0.2rem; color: var(--c-accent-300); }
.social { list-style: none; display: flex; gap: 0.6rem; margin-top: var(--sp-2); }
.social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); }
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; padding-block: var(--sp-3); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }

/* 12. Popup */
.popup { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.popup[hidden] { display: none; }
.popup__overlay { position: absolute; inset: 0; background: rgba(6, 20, 39, 0.62); opacity: 0; transition: opacity 0.3s var(--ease); backdrop-filter: blur(2px); }
.popup__dialog {
	position: relative; width: 100%; max-width: 600px; max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-lg); border-top: 5px solid var(--c-accent);
	opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.popup.is-open .popup__overlay { opacity: 1; }
.popup.is-open .popup__dialog { opacity: 1; transform: none; }
.popup__dialog:focus { outline: none; }
.popup__close { position: absolute; top: 0.85rem; right: 0.85rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c-grey-100); color: var(--c-navy-900); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; }
.popup__close:hover { background: var(--c-navy-900); color: #fff; }
.popup h2 { font-size: 1.6rem; padding-right: 2.75rem; }
.popup__desc { color: var(--c-grey-700); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
body.popup-open { overflow: hidden; }

/* 13. Back to top */
.back-to-top {
	position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 800;
	width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c-navy-900); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--c-accent); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid var(--c-accent-300); outline-offset: 3px; }
@media (max-width: 600px) { .back-to-top { width: 46px; height: 46px; right: 1rem; bottom: 1rem; } }

/* 14. Blog */
.post-card { padding: 0; overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--c-accent-100); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-accent); background: linear-gradient(135deg, var(--c-accent-100), #fff); }
.post-card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.post-card__meta { font-size: var(--fs-xs); color: var(--c-grey-500); margin: 0; }
.blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.navigation.pagination { margin-top: var(--sp-5); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.page-numbers { padding: 0.55rem 1rem; border: 1px solid var(--c-grey-200); border-radius: 999px; text-decoration: none; color: var(--c-charcoal); font-size: var(--fs-sm); }
.page-numbers.current, a.page-numbers:hover { background: var(--c-navy-900); color: #fff; border-color: var(--c-navy-900); }
.entry-content { font-size: var(--fs-base); }
.entry-content > * + * { margin-top: 1.15rem; }
.entry-content h2 { margin-top: 2.25rem; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin-inline: 0; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 4px solid var(--c-accent); color: var(--c-grey-700); font-family: var(--font-head); font-size: 1.2rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--c-grey-200); padding: 0.6rem 0.8rem; text-align: left; }
.article-figure { margin: 0 0 var(--sp-4); border-radius: var(--radius-lg); overflow: hidden; }
.author-box { display: flex; gap: 1.1rem; align-items: center; margin-top: var(--sp-5); padding: var(--sp-3); background: var(--c-offwhite); border-radius: var(--radius); }
.author-box__avatar { border-radius: 50%; }
.author-box__name { font-weight: 700; margin: 0; color: var(--c-navy-900); }
.author-box p { margin: 0; font-size: var(--fs-sm); }

/* 15. Motion, responsive & utilities */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .grid > .reveal:nth-child(2), html.js .steps > .reveal:nth-child(2) { transition-delay: 0.06s; }
html.js .grid > .reveal:nth-child(3), html.js .steps > .reveal:nth-child(3) { transition-delay: 0.12s; }
html.js .grid > .reveal:nth-child(4), html.js .steps > .reveal:nth-child(4) { transition-delay: 0.18s; }
html.js .grid > .reveal:nth-child(5), html.js .steps > .reveal:nth-child(5) { transition-delay: 0.24s; }

@media (max-width: 1100px) {
	.grid--5 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.steps, .steps--5 { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-4); }
	.step:nth-child(2n)::before { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.split--industry { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.hero--has-media .hero__inner, .split, .split--intro, .split--form, .split--contact { grid-template-columns: 1fr; }
	.hero__media { max-width: 520px; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.split--head { align-items: start; margin-bottom: var(--sp-4); }
}
@media (max-width: 640px) {
	:root { --header-h: 68px; }
	.brand__img { height: 40px; max-width: 160px; }
	.grid--3, .grid--4, .grid--5, .steps, .steps--5, .form__grid, .industry-cols, .site-footer__grid { grid-template-columns: 1fr; }
	.step::before { display: none; }
	.field { grid-column: 1 / -1; }
	.vacancy { flex-direction: column; align-items: flex-start; }
	.hero__actions .btn, .cta-band__actions .btn { width: 100%; }
	.about-panel { grid-template-columns: 1fr 1fr; }
	.author-box { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	html.js .reveal { opacity: 1; transform: none; }
}
@media print {
	.site-header, .back-to-top, .popup, .cta-band { display: none !important; }
}
#top:focus{outline:none}

/* Layout hardening: nothing inside the hero may overflow, repeat or overlap the text column. */
.hero__inner > * { min-width: 0; }
.hero__media { width: 100%; }
.hero__photo, .hv { max-width: 100%; }

.hero--inner.hero--has-media .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
.hero--inner .hero__media { max-width: 480px; justify-self: end; width: 100%; }
@media (max-width: 900px) {
	.hero--inner.hero--has-media .hero__inner { grid-template-columns: 1fr; }
	.hero--inner .hero__media { justify-self: start; max-width: 420px; }
}
.hero__bg { background-repeat: no-repeat; }
.hero img { max-width: 100%; }


/* About: numbered questions */
.questions { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin: var(--sp-4) 0; }
.question { background: var(--c-offwhite); border: 1px solid var(--c-grey-200); border-left: 4px solid var(--c-accent); border-radius: var(--radius); padding: var(--sp-3); font-family: var(--font-head); font-size: 1.1rem; line-height: 1.4; color: var(--c-navy-900); }
.question__n { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.5rem; }
@media (max-width: 900px) { .questions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .questions { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
	.hv__chip--a { right: 0.5rem; top: -1rem; }
	.hv__chip--b { left: 0.5rem; }
}

/* Service cards: icon beside text, two columns, so long names never wrap into narrow strips. */
.grid--services .service-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; align-content: start; padding: 1.5rem; }
.grid--services .service-card .card__icon { grid-row: 1 / span 5; margin: 0; }
.grid--services .service-card .card__title { margin: 0.1rem 0 0.4rem; }
.grid--services .service-card .link-arrow { margin-top: 0.6rem; }
@media (max-width: 480px) { .grid--services .service-card { grid-template-columns: 1fr; } .grid--services .service-card .card__icon { grid-row: auto; margin-bottom: 0.4rem; } }

/* ---------- Isolation from page-builder / plugin CSS leaking into the theme chrome ---------- */
.site-header, .site-footer { font-family: var(--font-body); }
.site-header button, .site-header a { box-shadow: none; text-transform: none; letter-spacing: normal; }
.site-header .icon, .site-footer .icon { width: 1.25em; height: 1.25em; max-width: none; flex-shrink: 0; display: inline-block; }
.site-header .submenu-toggle { width: 32px; height: 32px; padding: 6px; background: transparent; border: 0; border-radius: 6px; line-height: 1; }
.site-header .submenu-toggle:hover { background: var(--c-accent-100); }
.site-header .submenu-toggle .icon { width: 18px; height: 18px; }
.site-header .nav-toggle .icon { width: 24px; height: 24px; }
.site-header .site-nav a.btn, .site-header .btn { background: linear-gradient(135deg, #1536c9, #2f6bff) !important; color: #fff !important; border-radius: 12px !important; padding: 0.85rem 1.35rem; font-weight: 700; font-size: 0.95rem; }
.site-header .site-nav a.btn:hover { filter: brightness(0.92); }
.site-header :is(h1,h2,h3,h4), .site-footer :is(h2,h3,h4) { font-family: var(--font-body) !important; }
.site-footer .footer-title { text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--fs-xs); }
.brand__img { max-width: 210px; height: 52px; width: auto; }


/* ---------- Illustrations ---------- */
.il { width: 100%; height: auto; display: block; }
.il .il-b1 { fill: #1d4ed8; } .il .il-b2 { fill: #5b8cff; } .il .il-b3 { fill: #dbe6ff; }
.il .il-ink { fill: #0e2a47; } .il .il-w { fill: #fff; } .il .il-am { fill: #f5a524; } .il .il-green { fill: #2ea36b; }
.il .il-st-b1 { stroke: #1d4ed8; } .il .il-st-b2 { stroke: #5b8cff; } .il .il-st-b3 { stroke: #dbe6ff; }
.il .il-st-ink { stroke: #0e2a47; } .il .il-st-w { stroke: #fff; } .il .il-st-am { stroke: #f5a524; }
.il .il-skin1 { fill: #f2c9a6; } .il .il-skin2 { fill: #c98e64; } .il .il-skin3 { fill: #8d5a3b; }
.il .il-hair1 { fill: #2b1d14; } .il .il-hair2 { fill: #5a3a22; }
.hv--scene { max-width: 540px; padding: 0 0 1rem; }
.hv__scene { filter: drop-shadow(0 26px 34px rgba(11, 31, 58, 0.18)); }
.hero--inner .hv--scene { max-width: 460px; }
.media-illustration { max-width: 520px; margin-inline: auto; width: 100%; }
@media (max-width: 900px) { .hv--scene { max-width: 420px; margin-inline: 0; } }


.split--industries { grid-template-columns: 1fr 1fr; align-items: center; }
.grid--industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
.split--industries .media-illustration { margin-top: var(--sp-4); margin-inline: 0; max-width: 420px; }
@media (max-width: 900px) { .split--industries { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid--industries { grid-template-columns: 1fr; } }

/* ---------- Services: four-column feature box under the hero ---------- */
.feature-strip { position: relative; z-index: 2; margin-top: -2.5rem; padding-bottom: var(--sp-4); }
.feature-strip__box { list-style: none; margin: 0; padding: 1.75rem 1rem; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(11, 31, 58, 0.12); }
.feature-strip__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: 0.5rem 1.25rem; font-size: 0.92rem; color: var(--c-grey-500); }
.feature-strip__item + .feature-strip__item { border-left: 1px solid var(--c-grey-200); }
.feature-strip__item strong { font-size: 1.02rem; color: var(--c-navy-900); font-family: var(--font-body); }
.feature-strip__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent-100); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 0.4rem; }
@media (max-width: 900px) { .feature-strip__box { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } .feature-strip__item:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .feature-strip__box { grid-template-columns: 1fr; } .feature-strip__item + .feature-strip__item { border-left: 0; border-top: 1px solid var(--c-grey-200); padding-top: 1rem; } }

/* Latest posts on the homepage: fewer than three cards stay centred and balanced. */
.grid--insights { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 400px)); justify-content: center; }

/* ---------- Elementor "Site Settings" (kit) must not restyle theme-built pages ----------
   Pages built in Elementor (body.corpac-el) are never touched by these rules. */
body[class*="elementor-kit-"]:not(.corpac-el) { background: var(--c-white); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--c-text); }
body[class*="elementor-kit-"]:not(.corpac-el) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-head); font-weight: 700; text-transform: none; letter-spacing: -0.025em; line-height: 1.18; color: var(--c-navy-900); }
body[class*="elementor-kit-"]:not(.corpac-el) :is(.section--dark, .cta-band, .card--dark) :is(h1, h2, h3, h4) { color: #fff; }
body[class*="elementor-kit-"]:not(.corpac-el) a { color: var(--c-accent); }
body[class*="elementor-kit-"]:not(.corpac-el) a.btn--primary, body[class*="elementor-kit-"]:not(.corpac-el) .site-header a.btn { color: #fff; }
body[class*="elementor-kit-"]:not(.corpac-el) a.btn--outline, body[class*="elementor-kit-"]:not(.corpac-el) a.btn--outline-light { color: var(--c-navy-900); }
body[class*="elementor-kit-"]:not(.corpac-el) :is(button, input[type="submit"]):not(.nav-toggle):not(.submenu-toggle):not(.back-to-top) { font-family: var(--font-body); }
body[class*="elementor-kit-"]:not(.corpac-el) :is(.site-header, .site-footer) a:not(.btn) { color: inherit; }
body[class*="elementor-kit-"]:not(.corpac-el) .site-footer a:hover, body[class*="elementor-kit-"]:not(.corpac-el) .site-header a:not(.btn):hover { color: var(--c-accent); }
body[class*="elementor-kit-"]:not(.corpac-el) .site-header :is(.submenu-toggle, .nav-toggle) { background: transparent; color: var(--c-navy-900); }
body[class*="elementor-kit-"]:not(.corpac-el) .back-to-top { background: var(--c-navy-900); color: #fff; }

body.corpac-el { font-family: var(--font-body); }

/* ---------- Homepage: compact hero, hero points, statistics card ---------- */
.hero--home .hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(5rem, 4rem + 4vw, 7.5rem); }
.hero--home .hero__title { font-size: clamp(1.9rem, 1rem + 2.3vw, 3rem); overflow: visible; }
.hero__points { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; gap: 0.55rem; }
.hero__points li { position: relative; padding-left: 1.7rem; font-size: 1.05rem; color: var(--c-grey-700); font-weight: 500; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--c-accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b63a8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.stats { position: relative; z-index: 3; margin-top: clamp(-5.5rem, -4rem - 1vw, -4rem); padding-bottom: var(--sp-4); }
.stats__card { list-style: none; margin: 0 auto; padding: 1.6rem 1rem; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(11, 31, 58, 0.13); }
.stats__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; padding: 0.25rem 1rem; }
.stats__item + .stats__item { border-left: 1px solid var(--c-grey-200); }
.stats__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent-100); color: var(--c-accent); display: grid; place-items: center; margin-bottom: 0.35rem; }
.stats__num { font-family: var(--font-head); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1.1; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.stats__label { font-size: var(--fs-sm); color: var(--c-grey-700); }
@media (max-width: 800px) { .stats__card { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; } .stats__item:nth-child(3) { border-left: 0; } }
@media (max-width: 420px) { .stats__item { padding-inline: 0.4rem; } }


/* ---------- Approved design: Inter, two-tone uppercase hero titles, photo hero ---------- */
.hero__title { text-transform: uppercase; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero__title .hero__t1 { color: #1a47d1; background: linear-gradient(90deg, #1536c9, #2f6bff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__title .hero__t2 { color: var(--c-navy-900); }
.hero--home .hero__title .hero__t1, .hero--home .hero__title .hero__t2 { display: block; }
.hero__rule { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--c-accent); margin: 1.1rem 0 1.4rem; }
.hero__points { gap: 1rem; margin-bottom: 2rem; }
.hero__points li { display: flex; align-items: center; gap: 1rem; padding-left: 0; font-size: 1.05rem; color: var(--c-navy-900); font-weight: 500; }
.hero__points li::before { display: none; }
.hero__point-ico { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, 0.14); color: var(--c-accent); display: grid; place-items: center; flex: none; }
.hero--photo { background: #fff; }
.hero--photo .hero__bg { position: absolute; inset: 0; background-size: cover; background-position: right center; background-repeat: no-repeat; }
.hero--photo .hero__bg::before { display: none; }
.hero--photo .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 30%, rgba(255, 255, 255, 0) 58%); }
.hero--photo .hero__inner { position: relative; display: block; }
.hero--photo .hero__content { max-width: min(54%, 760px); }
.hero--photo .hero__title { overflow: visible; }
@media (max-width: 899px) {
	.hero--photo .hero__bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)); }
	.hero--photo .hero__content { max-width: none; }
}
.nav-underline, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--c-accent); box-shadow: inset 0 -3px 0 var(--c-accent); }
.site-nav a { font-weight: 600; color: var(--c-navy-900); }
.brand--header .brand__img { width: 50px; height: 52px; object-fit: cover; object-position: left center; }
.hero--photo .hero__bg::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0) 62%); }
@media (min-width: 1100px) {
	.hero--home.hero--photo .hero__content { max-width: none; }
	.hero--inner.hero--photo .hero__content { max-width: min(50%, 640px); }
	.hero--home.hero--photo .hero__title .hero__t1, .hero--home.hero--photo .hero__title .hero__t2 { white-space: nowrap; }
	.hero--photo .hero__desc, .hero--photo .hero__points { max-width: 520px; }
}


/* ---------- Tighter hero, stats card visible on the first screen ---------- */
.hero--home .hero__inner { padding-block: clamp(1.5rem, 0.8rem + 2vw, 2.75rem) clamp(5rem, 3.5rem + 4vw, 7rem); }
.hero--home .eyebrow { margin-bottom: 0.6rem; }
.hero--home .hero__title { margin-bottom: 0; }
.hero--home .hero__rule { margin: 0.8rem 0 1rem; }
.hero--home .hero__points { gap: 0.55rem; margin-bottom: 1.35rem; }
.hero--home .hero__point-ico { width: 40px; height: 40px; }
.hero--home .hero__points li { gap: 0.85rem; font-size: 1rem; }
.hero--photo .hero__inner { min-height: 0; }
.stats { margin-top: clamp(-6.5rem, -5rem - 1vw, -4.5rem); }
.stats__card { padding: 1.15rem 1rem; max-width: 1040px; }
.stats__icon { width: 40px; height: 40px; margin-bottom: 0.2rem; }
.stats__num { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.hero__rule { margin: 0.9rem 0 1.1rem; }

/* ---------- Polish: sections, cards, icons, footer ---------- */
.section--alt { background: linear-gradient(180deg, #f3f7ff 0%, #eaf0ff 100%); }
.section-head { margin-bottom: var(--sp-5); }
.section-head h2::after, .section h2.section-title::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--c-accent); margin: 0.8rem 0 0; }
.section-head--center h2::after { margin-inline: auto; }
.card { border-radius: 18px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(29, 78, 216, 0.28); border-color: rgba(29, 78, 216, 0.28); }
.card__icon { background: linear-gradient(135deg, #1536c9, #3b82f6); color: #fff; border-radius: 14px; box-shadow: 0 10px 22px -10px rgba(29, 78, 216, 0.6); }
.card__icon--outline { background: var(--c-accent-100); color: var(--c-accent); box-shadow: none; }
.card__icon--light { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.section--dark { background: radial-gradient(900px 420px at 85% -10%, rgba(59, 130, 246, 0.35), transparent 60%), linear-gradient(160deg, #0b1535 0%, #14245a 100%); }
.card--dark { border-radius: 18px; backdrop-filter: blur(2px); }
.step__num { background: linear-gradient(135deg, #1536c9, #3b82f6); color: #fff; }
.media-frame { border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(29, 78, 216, 0.35); position: relative; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); pointer-events: none; }
.site-footer { background: radial-gradient(800px 360px at 90% 0%, rgba(59, 130, 246, 0.22), transparent 60%), #0b1535; }
.service-card .link-arrow, .link-arrow { font-weight: 700; }
.post-card { overflow: hidden; }
.card--plain, .section--alt .card--plain { background: #fff; border: 1px solid var(--c-grey-200); border-radius: 18px; padding: var(--sp-3); box-shadow: 0 10px 28px -18px rgba(11, 21, 53, 0.25); }

/* ===== 1.7 refinements ===== */
/* Home: transparent header over the hero, white once the page is scrolled. */
body.home .site-header, body.front-page .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
body.home .site-header.is-scrolled, body.front-page .site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--c-grey-200); }
body.home.nav-open .site-header, body.front-page.nav-open .site-header { background: #fff; }
body.home .hero--home, body.front-page .hero--home { padding-top: var(--header-h); }
/* Hero photo a little closer. */
.hero--photo .hero__bg { transform: scale(1.08); transform-origin: 80% 55%; }
/* Approach: heading, number and text centred on each step. */
.steps .step { text-align: center; }
.steps .step__num { left: 50%; margin-left: -21px; }
.steps .step::before { left: calc(50% + 36px); right: auto; width: calc(100% + var(--sp-3) - 72px); }
.steps .step:last-child::before { display: none; }
/* Industries: copy sits level with the cards. */
.split--industries { align-items: center; }
/* CTA band. */
.cta-band__inner { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(620px 320px at 88% -10%, rgba(96, 165, 250, 0.55), transparent 62%), radial-gradient(520px 300px at 0% 110%, rgba(47, 107, 255, 0.45), transparent 60%), linear-gradient(135deg, #0b1535 0%, #12307f 55%, #1d4ed8 100%); }
.cta-band__inner::before { content: ""; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; right: -120px; bottom: -190px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, 0.07); }
.cta-band__inner::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 55%); mask-image: linear-gradient(120deg, #000, transparent 55%); }
.cta-band__kicker { display: inline-block; padding: 0.35rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.cta-band .btn { font-weight: 700; padding: 1rem 1.7rem; border-radius: 12px; display: inline-flex; align-items: center; gap: 0.55rem; }
.cta-band .btn--light, .cta-band a.btn--light { background: #fff !important; color: #12307f !important; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.cta-band .btn--outline-light, .cta-band a.btn--outline-light, body[class*="elementor-kit-"]:not(.corpac-el) .cta-band a.btn--outline-light { background: transparent !important; color: #fff !important; border: 2px solid #fff !important; }
.cta-band .btn--outline-light:hover, .cta-band a.btn--outline-light:hover { background: #fff !important; color: #12307f !important; }
.cta-band__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-top: var(--sp-3); font-size: 0.95rem !important; color: #dbe7ff; }
.cta-band__meta a { color: #fff; text-decoration: none; font-weight: 600; }
.cta-band__meta .icon { opacity: 0.85; }
.cta-band__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); margin-inline: 0.6rem; }
/* Footer: three columns, visible headings. */
.site-footer__grid { grid-template-columns: 1.5fr 0.9fr 1.3fr; }
.site-footer .footer-title, body[class*="elementor-kit-"] .site-footer .footer-title { color: #fff !important; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 var(--sp-2); padding-bottom: 0.7rem; position: relative; }
.site-footer .footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: #3b82f6; }
.site-footer__brand .footer-title { margin-top: var(--sp-2); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .steps .step::before { display: none; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .hero--photo .hero__bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88)); } }

/* ===== 1.8 refinements ===== */
.hero--home.hero--photo .hero__bg { transform: scale(1.05); transform-origin: 85% 50%; background-position: right center; }
.hero--home.hero--photo .hero__bg::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%); }
/* Challenges heading: centred on two lines. */
.h2-two-line span { display: block; }
@media (max-width: 640px) { .h2-two-line span { display: inline; } }
#challenges-title { max-width: none; }
/* Service name chips. */
.chips { list-style: none; margin: var(--sp-4) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; max-width: 1060px; }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.3rem; background: #fff; border: 1.5px solid #cfd9f0; border-radius: 999px; color: var(--c-navy-900); font-weight: 600; font-size: 0.97rem; text-decoration: none; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s; }
.chip .icon { color: var(--c-accent); width: 1.15em; height: 1.15em; }
.chip:hover, .chip:focus-visible { border-color: var(--c-accent); color: var(--c-accent); box-shadow: 0 10px 24px rgba(29, 78, 216, 0.16); transform: translateY(-2px); }
/* CTA band: wide and low. */
.cta-band { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.cta-band .container { max-width: 1480px; }
.cta-band__inner { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) clamp(1.5rem, 4vw, 4rem); }
.cta-band__inner h2 { max-width: none; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: 0.5rem; }
.cta-band__inner p { max-width: 900px; font-size: var(--fs-base); margin-bottom: 0; }
.cta-band__actions { margin-top: var(--sp-2); }
.cta-band .btn { padding: 0.85rem 1.5rem; }

/* ===== 1.9 enquiry section + hero copy ===== */
.hero--home .hero__desc { max-width: 560px; font-size: 1.1rem; color: #2a3a5c; margin-bottom: 1.6rem; }
.enquiry { background: radial-gradient(700px 380px at 92% 0%, rgba(96, 165, 250, 0.35), transparent 62%), linear-gradient(135deg, #0b1535 0%, #12307f 60%, #1d4ed8 100%); color: #fff; }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.enquiry__intro h2 { color: #fff; margin-bottom: var(--sp-2); }
.enquiry__intro p { color: #dbe7ff; font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.enquiry .eyebrow { color: #cfdcff; background: none; }
.enquiry .btn--light { background: #fff !important; color: #12307f !important; display: inline-flex; gap: 0.5rem; align-items: center; }
.enquiry__card { background: #fff; color: var(--c-text); border-radius: 20px; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }
@media (max-width: 900px) { .enquiry__grid { grid-template-columns: 1fr; } }

/* ===== 1.9.2 hero artwork: light overlay is not needed on the drawn background ===== */
.hero--home.hero--photo .hero__bg { transform: none; background-size: cover; background-position: right center; }
.hero--home.hero--photo .hero__bg::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%); }
@media (max-width: 899px) { .hero--home.hero--photo .hero__bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.82)); } }
@media (max-width: 899px) { .hero--home.hero--photo .hero__bg { opacity: 0.3; } }

/* ===== 1.9.3 ===== */
/* Home hero: taller blue band, content centred above it; Call Us hover turns blue text on light fill. */
.hero--home.hero--photo .hero__inner { padding-block: clamp(2rem, 1.2rem + 2.4vw, 3.4rem) clamp(7.5rem, 6rem + 4vw, 9.5rem); display: flex; align-items: center; }
.hero--home.hero--photo .hero__content { width: 100%; }
.hero .btn--outline-light:hover, .hero a.btn--outline-light:hover, body[class*="elementor-kit-"]:not(.corpac-el) .hero a.btn--outline-light:hover { background: #eaf1ff !important; border-color: var(--c-accent) !important; color: var(--c-accent) !important; }
/* Enquiry section: lower and readable. */
.enquiry.section { padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.enquiry__intro h2, .enquiry .enquiry__intro h2 { color: #fff !important; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.enquiry__card { padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.7rem); }
.enquiry .form__grid { gap: 0.7rem 0.9rem; }
.enquiry .field label { font-size: 0.85rem; margin-bottom: 0.25rem; }
.enquiry input, .enquiry select { padding-block: 0.6rem; }
.enquiry textarea { min-height: 78px; height: 78px; }

/* ===== 1.9.4 mobile hero ===== */
@media (max-width: 899px) {
	.hero--home.hero--photo .hero__bg { opacity: 0.2; }
	.hero--home .hero__title { font-size: clamp(1.35rem, 5.3vw, 2.3rem); line-height: 1.12; }
	.hero--home .hero__title .hero__t1, .hero--home .hero__title .hero__t2 { display: block; white-space: nowrap; }
	.hero--home .hero__desc { font-size: 1rem; }
}
@media (max-width: 480px) { .hero--home .eyebrow { letter-spacing: 0.16em; font-size: 0.72rem; } }

/* ===== 1.9.5 ===== */
/* Bundled hero artwork comes from the stylesheet and wins over any stale inline picture, unless a custom picture is set. */
.hero--home.hero--photo:not(.hero--custombg) .hero__bg { background-image: url("../images/hero-bg.svg") !important; background-size: cover; background-position: right center; }
/* Numbers box: wider and lower, sitting fully on the blue band. */
.stats .container { max-width: 1560px; }
.stats__card { max-width: 1340px; width: 100%; padding: 0.7rem 1rem; border-radius: 18px; }
.stats__item { padding: 0.15rem 1rem; gap: 0.1rem; }
.stats__icon { width: 36px; height: 36px; margin-bottom: 0.15rem; }
.stats__icon .icon { width: 18px; height: 18px; }
.stats__num { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); }
.stats__label { font-size: 0.9rem; }
.stats { margin-top: clamp(-9.5rem, -8.5rem - 0.5vw, -8.75rem); }
.hero--home.hero--photo .hero__inner { padding-bottom: clamp(10.5rem, 9.5rem + 3vw, 12rem); }
/* Phone: text on plain background, artwork as its own strip below the buttons (never behind the text). */
@media (max-width: 899px) {
	.hero--home.hero--photo { display: flex; flex-direction: column; }
	.hero--home.hero--photo .hero__inner { order: 1; padding-block: 1rem 1.5rem; display: block; }
	.hero--home.hero--photo .hero__bg { position: relative; inset: auto; order: 2; z-index: 0; height: 300px; opacity: 1; transform: none; background-size: cover; background-position: 80% bottom; }
	.hero--home.hero--photo .hero__bg::after, .hero--home.hero--photo .hero__bg::before { display: none; }
	.stats { margin-top: -6rem; }
	.stats__card { padding: 0.9rem 0.6rem; }
}

/* ===== 1.10 hero matched to the approved mock-ups ===== */
.hero .btn--outline-light, .hero a.btn--outline-light, body[class*="elementor-kit-"]:not(.corpac-el) .hero a.btn--outline-light { background: #fff !important; border: 1.5px solid var(--c-accent) !important; color: var(--c-navy-900) !important; display: inline-flex; align-items: center; gap: 0.55rem; }
.hero .btn--outline-light .icon { color: var(--c-accent); }
.hero .btn--outline-light:hover, .hero a.btn--outline-light:hover, body[class*="elementor-kit-"]:not(.corpac-el) .hero a.btn--outline-light:hover { background: #eaf1ff !important; color: var(--c-accent) !important; }
.stats .container { max-width: none; padding-inline: 3%; }
.stats__card { max-width: none; padding: 0.9rem 1rem; }
.stats__icon { width: 42px; height: 42px; }
.stats__num { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); }
@media (max-width: 899px) {
	.hero--home.hero--photo:not(.hero--custombg) .hero__bg { aspect-ratio: 864 / 890; height: auto; background-image: url("../images/hero-bg-mobile.svg") !important; background-size: 100% 100%; background-position: center; }
	.hero--home.hero--photo .hero__inner { padding-block: 0.5rem 1.25rem; }
	.hero--home .hero__title { font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.06; }
	.hero--home .hero__title .hero__t1, .hero--home .hero__title .hero__t2 { display: block; white-space: normal; }
	.hero--home .hero__desc { font-size: 1.02rem; }
	.hero--home .hero__actions { flex-wrap: nowrap; gap: 0.7rem; }
	.hero--home .hero__actions .btn { width: auto; padding: 0.85rem 1rem; font-size: 0.95rem; white-space: nowrap; justify-content: center; }
	.hero--home .hero__actions .btn--primary { flex: 1 1 auto; }
	.stats { margin-top: -45.7vw; }
	.stats .container { padding-inline: 5%; }
	.stats__card { grid-template-columns: 1fr 1fr; padding: 0.4rem 0.6rem; border-radius: 18px; }
	.stats__item { display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "i n" "i l"; column-gap: 0.7rem; align-items: center; text-align: left; justify-items: start; padding: 0.7rem 0.5rem; border-left: 0 !important; }
	.stats__item:nth-child(even) { border-left: 1px solid var(--c-grey-200) !important; padding-left: 0.9rem; }
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--c-grey-200); }
	.stats__icon { grid-area: i; margin: 0; width: 44px; height: 44px; }
	.stats__num { grid-area: n; font-size: 1.5rem; line-height: 1.1; }
	.stats__label { grid-area: l; font-size: 0.78rem; line-height: 1.25; }
	.site-header .nav-toggle { border: 0; background: transparent; box-shadow: none; }
}
@media (max-width: 899px) {
	.stats { margin-top: -53vw; }
	.stats__item { padding: 0.45rem 0.4rem; column-gap: 0.55rem; grid-template-columns: 40px 1fr; }
	.stats__icon { width: 40px; height: 40px; }
	.stats__num { font-size: 1.35rem; }
	.stats__label { font-size: 0.72rem; }
}

/* ===== 1.10.1 ===== */
.hero--home .hero__title { text-transform: none; }
@media (min-width: 900px) {
	.hero--home.hero--photo .hero__inner { padding-bottom: calc(clamp(10.5rem, 9.5rem + 3vw, 12rem) + 1.75rem); }
}
@media (max-width: 899px) {
	.stats { margin-top: calc(-53vw + 1rem); }
	.hero--home .hero__title { font-size: 6vw; line-height: 1.12; }
	.hero--home .hero__title .hero__t1, .hero--home .hero__title .hero__t2 { display: block; white-space: nowrap; }
}

/* 1.10.2 - larger tap areas for small links (touch) */
@media (pointer:coarse),(max-width:899px){
 .breadcrumbs a,.site-footer a,.footer a{display:inline-block;min-height:24px;padding-block:.3rem}
 .site-footer li,.footer li{margin-block:.1rem}
}
