/* ==========================================================================
   EL Crystal Laboratory — design system
   Navy #102B46 · Teal #087F83 · Gold #C5A45D · Grey #F4F7FA · White
   ========================================================================== */

:root {
	--elc-navy: #102B46;
	--elc-navy-900: #0A1D30;
	--elc-navy-700: #1B3D5E;
	--elc-teal: #087F83;
	--elc-teal-700: #066266;
	--elc-teal-50: #E6F3F3;
	--elc-gold: #C5A45D;
	--elc-gold-300: #E3CD98;
	--elc-bg: #F4F7FA;
	--elc-white: #FFFFFF;
	--elc-line: #DCE4EC;
	--elc-text: #3A4A5B;
	--elc-muted: #586A7C;
	--elc-head: #102B46;
	--elc-on-dark: #D3DEE8;
	--elc-on-dark-muted: #A9BACB;
	--elc-radius: 14px;
	--elc-radius-sm: 9px;
	--elc-shadow: 0 1px 2px rgba(16, 43, 70, .06), 0 8px 28px rgba(16, 43, 70, .07);
	--elc-shadow-lg: 0 20px 60px rgba(10, 29, 48, .16);
	--elc-container: 1240px;
	--elc-gutter: clamp(18px, 4vw, 32px);
	--elc-section: clamp(64px, 9vw, 112px);
	--elc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
	--elc-font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--elc-header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--elc-header-h) + 16px); }
body { margin: 0; font-family: var(--elc-font); font-size: 1rem; line-height: 1.7; color: var(--elc-text); background: var(--elc-white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--elc-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--elc-teal-700); }
h1, h2, h3, h4, h5 { font-family: var(--elc-font-head); color: var(--elc-head); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--elc-gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .elc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.elc-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--elc-navy); color: #fff; padding: 12px 18px; border-radius: 8px; }
.elc-skip:focus { top: 12px; color: #fff; }
.elc-icon { flex: none; }

.elc-container { width: 100%; max-width: var(--elc-container); margin-inline: auto; padding-inline: var(--elc-gutter); }
.elc-narrow { max-width: 860px; margin-inline: auto; }
.elc-section { padding-block: var(--elc-section); }
.elc-section--grey { background: var(--elc-bg); }
.elc-section--navy { background: var(--elc-navy); color: var(--elc-on-dark); }
.elc-section--navy h2, .elc-section--navy h3, .elc-section--navy .elc-title { color: #fff; }
.elc-section--tight { padding-block: clamp(40px, 6vw, 64px); }

/* ---------- Typography helpers ---------- */
.elc-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.elc-head--center { text-align: center; margin-inline: auto; }
.elc-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--elc-font); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--elc-teal); margin-bottom: 14px; }
.elc-kicker::before { content: ""; width: 28px; height: 2px; background: var(--elc-gold); }
.elc-head--center .elc-kicker::after { content: ""; width: 28px; height: 2px; background: var(--elc-gold); }
.elc-section--navy .elc-kicker, .elc-hero .elc-kicker, .elc-pagehero .elc-kicker, .elc-mega__aside .elc-kicker { color: var(--elc-gold-300); }
.elc-title { margin-bottom: .45em; }
.elc-lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--elc-muted); margin: 0; }
.elc-section--navy .elc-lead { color: var(--elc-on-dark-muted); }
.elc-prose { font-size: 1.04rem; }
.elc-prose h2 { margin-top: 1.6em; }
.elc-prose h3 { margin-top: 1.4em; }
.elc-prose img { border-radius: var(--elc-radius); }
.elc-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--elc-gold); font-size: 1.1rem; color: var(--elc-head); }
.elc-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.elc-prose th, .elc-prose td { border: 1px solid var(--elc-line); padding: 10px 12px; text-align: left; }
.elc-prose th { background: var(--elc-bg); color: var(--elc-head); }

/* ---------- Buttons ---------- */
.elc-btn { --b: var(--elc-teal); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 10px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font-family: var(--elc-font); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.elc-btn:hover { background: var(--elc-teal-700); border-color: var(--elc-teal-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8, 127, 131, .25); }
.elc-btn--gold { --b: var(--elc-gold); color: var(--elc-navy-900); }
.elc-btn--gold:hover { background: #B8954C; border-color: #B8954C; color: var(--elc-navy-900); box-shadow: 0 10px 24px rgba(197, 164, 93, .3); }
.elc-btn--navy { --b: var(--elc-navy); }
.elc-btn--navy:hover { background: var(--elc-navy-700); border-color: var(--elc-navy-700); }
.elc-btn--ghost { background: transparent; color: var(--elc-navy); border-color: var(--elc-navy); }
.elc-btn--ghost:hover { background: var(--elc-navy); color: #fff; border-color: var(--elc-navy); box-shadow: none; }
.elc-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.elc-btn--light:hover { background: #fff; color: var(--elc-navy); border-color: #fff; box-shadow: none; }
.elc-btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.elc-btn--block { width: 100%; }
.elc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.elc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--elc-teal); }
.elc-link .elc-icon { transition: transform .2s; }
.elc-link:hover .elc-icon, .elc-card:hover .elc-link .elc-icon { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.elc-topbar { background: var(--elc-navy-900); color: var(--elc-on-dark); font-size: .84rem; }
.elc-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; padding-block: 6px; }
.elc-topbar__group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.elc-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.elc-topbar a:hover { color: var(--elc-gold-300); }
.elc-topbar .elc-icon { color: var(--elc-gold); }
.elc-topbar__badge { display: inline-flex; align-items: center; gap: 7px; color: var(--elc-gold-300); font-weight: 600; letter-spacing: .02em; }

.elc-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--elc-line); transition: box-shadow .25s; }
.admin-bar .elc-header { top: 32px; }
.elc-header.is-stuck { box-shadow: 0 8px 30px rgba(16, 43, 70, .08); }
.elc-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--elc-header-h); max-width: 1440px; }
.elc-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--elc-navy); flex: none; }
.elc-brand img { max-height: 54px; width: auto; }
.elc-brand__mark { width: 44px; height: 44px; flex: none; }
.elc-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.elc-brand__name { font-family: var(--elc-font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .06em; color: var(--elc-navy); }
.elc-brand__sub { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--elc-teal); margin-top: 4px; }

.elc-nav { margin-left: auto; }
.elc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 0; }
.elc-nav__item { position: relative; display: flex; align-items: center; }
.elc-nav__link { display: block; padding: 10px 11px; font-size: .93rem; font-weight: 600; color: var(--elc-navy); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.elc-nav__link:hover, .elc-nav__item.is-current > .elc-nav__link { color: var(--elc-teal); }
.elc-nav__item.is-current > .elc-nav__link { box-shadow: inset 0 -2px 0 var(--elc-gold); border-radius: 0; }
.elc-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--elc-navy); cursor: pointer; border-radius: 6px; transition: transform .2s; }
.elc-nav__item.is-open > .elc-nav__toggle { transform: rotate(180deg); }
.elc-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--elc-line); border-radius: 12px; box-shadow: var(--elc-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.elc-sub__link { display: block; padding: 9px 12px; font-size: .92rem; color: var(--elc-navy); text-decoration: none; border-radius: 8px; }
.elc-sub__link:hover { background: var(--elc-bg); color: var(--elc-teal); }
.elc-header__cta { display: flex; gap: 10px; flex: none; }

/* Mega menu */
.elc-mega { position: fixed; left: 0; right: 0; top: calc(var(--elc-mega-top, 120px)); background: #fff; border-top: 1px solid var(--elc-line); box-shadow: 0 30px 60px rgba(10, 29, 48, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--elc-mega-top, 120px)); overflow-y: auto; }
.elc-mega__inner { max-width: var(--elc-container); margin: 0 auto; padding: 32px var(--elc-gutter); display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.elc-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 28px; }
.elc-mega__head { display: flex; align-items: center; gap: 10px; font-family: var(--elc-font-head); font-weight: 700; font-size: .98rem; color: var(--elc-navy); text-decoration: none; margin-bottom: 8px; }
.elc-mega__head:hover { color: var(--elc-teal); }
.elc-mega__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--elc-teal-50); color: var(--elc-teal); }
.elc-mega__col ul { list-style: none; margin: 0; padding: 0 0 0 44px; }
.elc-mega__col li a { display: block; padding: 3px 0; font-size: .87rem; color: var(--elc-muted); text-decoration: none; }
.elc-mega__col li a:hover { color: var(--elc-teal); }
.elc-mega__aside { background: var(--elc-navy); color: var(--elc-on-dark); border-radius: var(--elc-radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.elc-mega__aside p { margin: 0; font-size: .92rem; }
.elc-mega__aside-title { font-family: var(--elc-font-head); font-weight: 700; color: #fff; font-size: 1.1rem !important; }
.elc-mega__all { color: var(--elc-gold-300); font-size: .9rem; font-weight: 600; text-decoration: none; margin-top: 6px; }
.elc-mega__all:hover { color: #fff; }

@media (min-width: 1280px) {
	.elc-nav__item.has-sub:not(.has-mega):hover > .elc-sub,
	.elc-nav__item.has-sub:not(.has-mega):focus-within > .elc-sub,
	.elc-nav__item.has-sub.is-open > .elc-sub,
	.elc-nav__item.has-mega:hover > .elc-mega,
	.elc-nav__item.has-mega.is-open > .elc-mega { opacity: 1; visibility: visible; transform: none; }
	.elc-nav__item.has-mega:hover > .elc-nav__link { color: var(--elc-teal); }
	.elc-menu-btn, .elc-nav__mobile-extra { display: none; }
}

.elc-menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--elc-line); background: #fff; border-radius: 10px; color: var(--elc-navy); cursor: pointer; margin-left: auto; }

@media (max-width: 1500px) { .elc-header__cta .elc-btn--ghost { display: none; } }
@media (max-width: 1400px) { .elc-nav__link { padding-inline: 7px; font-size: .87rem; } .elc-header__inner { gap: 14px; } }

@media (max-width: 1279px) {
	/* backdrop-filter makes the header a containing block for the fixed drawer, squashing it to header height */
	.elc-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.elc-nav { top: 0; bottom: 0; height: 100vh; height: 100dvh; }
	/* The drawer lives inside the header, so the header must sit above the dark backdrop while the menu is open */
	body.elc-drawer-open .elc-header { z-index: 300; }
	body.elc-drawer-open { overflow: hidden; }
	.elc-menu-btn { display: inline-flex; }
	.elc-header__cta { display: none; }
	.elc-nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; z-index: 200; padding: 84px 22px 28px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; box-shadow: var(--elc-shadow-lg); margin: 0; }
	.elc-nav.is-open { transform: none; visibility: visible; }
	.elc-nav__close { position: absolute; top: 18px; right: 18px; }
	.elc-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.elc-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--elc-line); }
	.elc-nav__link { flex: 1; padding: 15px 4px; font-size: 1.02rem; }
	.elc-nav__item.is-current > .elc-nav__link { box-shadow: none; }
	.elc-nav__toggle { width: 44px; height: 44px; margin: 0; }
	.elc-sub, .elc-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; width: 100%; max-height: none; padding: 0 0 12px; }
	.elc-nav__item.is-open > .elc-sub, .elc-nav__item.is-open > .elc-mega { display: block; }
	.elc-mega__inner { display: block; padding: 0; }
	.elc-mega__grid { grid-template-columns: 1fr; gap: 14px; }
	.elc-mega__col ul { display: none; }
	.elc-mega__aside { display: none; }
	.elc-nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
	.elc-backdrop { position: fixed; inset: 0; background: rgba(10, 29, 48, .5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.elc-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 782px) { .admin-bar .elc-header { top: 0; } }
@media (max-width: 640px) {
	.elc-topbar__group--right { display: none; }
	.elc-brand__name { font-size: 1.12rem; }
	.elc-brand__sub { font-size: .55rem; letter-spacing: .12em; }
	:root { --elc-header-h: 68px; }
}

/* ---------- Hero ---------- */
.elc-hero { position: relative; isolation: isolate; color: #fff; background: var(--elc-navy-900); overflow: hidden; }
.elc-hero__media, .elc-hero__media img, .elc-hero__media .elc-photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.elc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 29, 48, .94) 0%, rgba(10, 29, 48, .82) 42%, rgba(10, 29, 48, .35) 100%); }
.elc-hero__inner { padding-block: clamp(72px, 11vw, 150px) clamp(110px, 12vw, 160px); max-width: 760px; }
.elc-hero h1 { color: #fff; margin-bottom: 22px; }
.elc-hero__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #D5E0EA; max-width: 640px; margin-bottom: 32px; }
.elc-hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.elc-hero__badge { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: #fff; }
.elc-hero__badge .elc-icon { color: var(--elc-gold); }

.elc-quickbar { position: relative; z-index: 2; margin-top: -72px; }
.elc-quickbar__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #fff; border-radius: var(--elc-radius); box-shadow: var(--elc-shadow-lg); overflow: hidden; }
.elc-quickbar__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px; text-decoration: none; color: var(--elc-navy); border-right: 1px solid var(--elc-line); transition: background-color .2s; }
.elc-quickbar__item:last-child { border-right: 0; }
.elc-quickbar__item:hover { background: var(--elc-bg); color: var(--elc-teal); }
.elc-quickbar__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: var(--elc-teal-50); color: var(--elc-teal); align-items: center; justify-content: center; }
.elc-quickbar__label { font-family: var(--elc-font-head); font-weight: 700; font-size: .98rem; line-height: 1.25; }
@media (max-width: 1024px) { .elc-quickbar__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .elc-quickbar__item:nth-child(3n) { border-right: 0; } .elc-quickbar__item:nth-child(-n+3) { border-bottom: 1px solid var(--elc-line); } }
@media (max-width: 560px) { .elc-quickbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .elc-quickbar__item { padding: 18px 16px; border-bottom: 1px solid var(--elc-line); } .elc-quickbar__item:nth-child(3n) { border-right: 1px solid var(--elc-line); } .elc-quickbar__item:nth-child(2n) { border-right: 0; } }

/* Page hero (inner pages) */
.elc-pagehero { position: relative; isolation: isolate; background: var(--elc-navy); color: var(--elc-on-dark); overflow: hidden; }
.elc-pagehero__media img, .elc-pagehero__media .elc-photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.elc-pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 29, 48, .95) 0%, rgba(16, 43, 70, .86) 55%, rgba(16, 43, 70, .55) 100%); }
.elc-pagehero__inner { padding-block: clamp(48px, 7vw, 92px); max-width: 820px; }
.elc-pagehero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.elc-pagehero p { font-size: 1.1rem; color: #CFDBE6; margin: 0; max-width: 680px; }
.elc-pagehero .elc-btns { margin-top: 26px; }
.elc-crumbs { font-size: .84rem; margin-bottom: 18px; color: var(--elc-on-dark-muted); }
.elc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.elc-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--elc-gold); }
.elc-crumbs a { color: #fff; text-decoration: none; }
.elc-crumbs a:hover { color: var(--elc-gold-300); }

/* ---------- Grids & cards ---------- */
.elc-grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.elc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elc-grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 1024px) { .elc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .elc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .elc-grid--2, .elc-grid--3, .elc-grid--4 { grid-template-columns: 1fr; } }

.elc-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); padding: clamp(22px, 2.4vw, 30px); text-decoration: none; color: var(--elc-text); transition: border-color .25s, box-shadow .25s, transform .25s; }
a.elc-card:hover, .elc-card--hover:hover { border-color: rgba(8, 127, 131, .45); box-shadow: var(--elc-shadow); transform: translateY(-3px); color: var(--elc-text); }
.elc-card h3 { margin: 0; }
.elc-card p { margin: 0; font-size: .96rem; }
.elc-card .elc-link { margin-top: auto; padding-top: 6px; }
.elc-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--elc-teal-50); color: var(--elc-teal); transition: background-color .25s, color .25s; }
a.elc-card:hover .elc-card__icon { background: var(--elc-teal); color: #fff; }
.elc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.elc-tag { display: inline-block; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--elc-bg); color: var(--elc-navy); border: 1px solid var(--elc-line); }
.elc-card--media { padding: 0; overflow: hidden; }
.elc-card--media .elc-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.elc-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--elc-bg); }
.elc-card__img img, .elc-card__img .elc-photo-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.elc-card:hover .elc-card__img img { transform: scale(1.04); }
.elc-card__meta { font-size: .8rem; color: var(--elc-muted); font-weight: 500; }
.elc-section--navy .elc-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--elc-on-dark); }
.elc-section--navy .elc-card h3 { color: #fff; }
.elc-section--navy .elc-card__icon { background: rgba(197, 164, 93, .14); color: var(--elc-gold); }

.elc-hero .elc-photo-fallback svg, .elc-pagehero .elc-photo-fallback svg { display: none; }
.elc-photo-fallback { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 220px; height: 100%; color: rgba(255, 255, 255, .5); background: radial-gradient(120% 120% at 20% 10%, #1D4A6E 0%, #102B46 55%, #0A1D30 100%); }

/* Split media/text */
.elc-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.elc-split--rev > :first-child { order: 2; }
.elc-split__media { position: relative; }
.elc-split__media img, .elc-split__media .elc-photo-fallback { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; }
.elc-split__badge { position: absolute; left: -20px; bottom: 28px; background: var(--elc-navy); color: #fff; border-radius: var(--elc-radius); padding: 18px 22px; box-shadow: var(--elc-shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 290px; border-left: 3px solid var(--elc-gold); }
.elc-split__badge strong { display: block; font-family: var(--elc-font-head); font-size: 1.02rem; }
.elc-split__badge span { font-size: .84rem; color: var(--elc-on-dark-muted); }
.elc-split__badge .elc-icon { color: var(--elc-gold); }
@media (max-width: 900px) { .elc-split { grid-template-columns: 1fr; } .elc-split--rev > :first-child { order: 0; } .elc-split__badge { left: 16px; } }

.elc-checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.elc-checks li { display: flex; gap: 12px; align-items: flex-start; }
.elc-checks .elc-icon { color: var(--elc-teal); margin-top: 3px; background: var(--elc-teal-50); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.elc-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 600px) { .elc-checks--2 { grid-template-columns: 1fr; } }
.elc-section--navy .elc-checks .elc-icon { color: var(--elc-gold); background: rgba(197, 164, 93, .14); }

/* ---------- Trust / accreditation band ---------- */
.elc-trust { background: var(--elc-navy); color: var(--elc-on-dark); border-top: 3px solid var(--elc-gold); }
.elc-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elc-trust__item { display: flex; gap: 14px; align-items: center; padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .1); }
.elc-trust__item:last-child { border-right: 0; }
.elc-trust__item .elc-icon { color: var(--elc-gold); }
.elc-trust__item strong { display: block; color: #fff; font-family: var(--elc-font-head); font-size: 1rem; line-height: 1.3; }
.elc-trust__item span { font-size: .85rem; color: var(--elc-on-dark-muted); }
@media (max-width: 900px) { .elc-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .elc-trust__item:nth-child(2n) { border-right: 0; } }
@media (max-width: 520px) { .elc-trust__grid { grid-template-columns: 1fr; } .elc-trust__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); } }

/* Stats */
.elc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); background: #fff; overflow: hidden; }
.elc-stat { padding: 26px 24px; border-right: 1px solid var(--elc-line); }
.elc-stat:last-child { border-right: 0; }
.elc-stat__num { font-family: var(--elc-font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--elc-navy); line-height: 1; }
.elc-stat__label { margin-top: 8px; font-size: .9rem; color: var(--elc-muted); }

/* Process */
.elc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.elc-step { position: relative; background: #fff; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); padding: 30px 24px 26px; counter-increment: step; }
.elc-step::before { content: "0" counter(step); display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--elc-navy); color: var(--elc-gold-300); font-family: var(--elc-font-head); font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--elc-bg); }
.elc-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.elc-step p { margin: 0; font-size: .95rem; }
.elc-step:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: calc(24px + 52px + 12px); right: -22px; height: 2px; background: repeating-linear-gradient(90deg, var(--elc-gold) 0 6px, transparent 6px 12px); opacity: .6; }
@media (max-width: 960px) { .elc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .elc-step::after { display: none; } }
@media (max-width: 560px) { .elc-steps { grid-template-columns: 1fr; } }

/* Sample guidelines panel */
.elc-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.elc-guide { background: var(--elc-navy); color: var(--elc-on-dark); border-radius: var(--elc-radius); padding: 26px; }
.elc-guide h3 { color: #fff; font-size: 1.08rem; display: flex; gap: 10px; align-items: center; }
.elc-guide h3 .elc-icon { color: var(--elc-gold); }
.elc-guide ul { margin: 0; padding-left: 1.1em; font-size: .93rem; display: grid; gap: 6px; }
@media (max-width: 900px) { .elc-guides { grid-template-columns: 1fr; } }

/* Industries */
.elc-industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.elc-industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--elc-line); border-radius: 12px; font-weight: 600; color: var(--elc-navy); font-size: .96rem; line-height: 1.35; }
.elc-industry .elc-icon { color: var(--elc-teal); }
@media (max-width: 1024px) { .elc-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .elc-industries { grid-template-columns: 1fr; } }

/* Feature list with media (water / environmental) */
.elc-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--elc-line); }
.elc-feature__media { position: relative; min-height: 380px; }
.elc-feature__media img, .elc-feature__media .elc-photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.elc-feature__body { padding: clamp(28px, 4vw, 56px); }
.elc-feature__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; list-style: none; padding: 0; margin: 0 0 26px; }
.elc-feature__links a { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--elc-line); color: var(--elc-navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.elc-feature__links a:hover { color: var(--elc-teal); }
.elc-feature__links .elc-icon { color: var(--elc-gold); }
@media (max-width: 900px) { .elc-feature { grid-template-columns: 1fr; } .elc-feature__media { min-height: 260px; } }
@media (max-width: 520px) { .elc-feature__links { grid-template-columns: 1fr; } }

/* Food categories chips */
.elc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.elc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--elc-line); background: #fff; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--elc-navy); text-decoration: none; transition: all .2s; }
.elc-chip:hover { border-color: var(--elc-teal); color: var(--elc-teal); background: var(--elc-teal-50); }
.elc-chip .elc-icon { color: var(--elc-teal); }

/* Certificates */
.elc-cert { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); overflow: hidden; }
.elc-cert__img { aspect-ratio: 4 / 3; background: var(--elc-bg); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--elc-line); padding: 18px; }
.elc-cert__img img { max-height: 100%; width: auto; object-fit: contain; box-shadow: var(--elc-shadow); }
.elc-cert__img .elc-icon { color: var(--elc-gold); }
.elc-cert__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.elc-cert__body h3 { margin: 0; font-size: 1.12rem; }
.elc-cert dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 12px; font-size: .9rem; }
.elc-cert dt { color: var(--elc-muted); }
.elc-cert dd { margin: 0; color: var(--elc-navy); font-weight: 600; }
.elc-cert__status { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--elc-teal-50); color: var(--elc-teal-700); }
.elc-cert__status--expired { background: #FDECEC; color: #A22B2B; }
.elc-cert .elc-btns { margin-top: auto; }

/* ---------- CTA band ---------- */
.elc-cta { position: relative; overflow: hidden; background: var(--elc-navy); color: var(--elc-on-dark); border-radius: 22px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.elc-cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(197, 164, 93, .35); box-shadow: 0 0 0 40px rgba(197, 164, 93, .05), 0 0 0 90px rgba(197, 164, 93, .03); }
.elc-cta h2 { color: #fff; margin-bottom: 12px; }
.elc-cta .elc-kicker { color: var(--elc-gold-300); }
.elc-cta p { margin: 0; color: var(--elc-on-dark-muted); }
.elc-cta__actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.elc-cta__line { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; }
.elc-cta__line .elc-icon { color: var(--elc-gold); }
@media (max-width: 860px) { .elc-cta { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.elc-form-wrap { background: #fff; border: 1px solid var(--elc-line); border-radius: 18px; padding: clamp(24px, 3.4vw, 42px); box-shadow: var(--elc-shadow); }
.elc-form-wrap--flat { box-shadow: none; }
.elc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.elc-form__full { grid-column: 1 / -1; }
.elc-field { display: flex; flex-direction: column; gap: 6px; }
.elc-field label { font-size: .88rem; font-weight: 600; color: var(--elc-navy); }
.elc-field label .req { color: #B42318; }
.elc-field input, .elc-field select, .elc-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #BFCCD8; border-radius: 10px; background: #fff; font: inherit; font-size: .97rem; color: var(--elc-navy); transition: border-color .2s, box-shadow .2s; }
.elc-field textarea { min-height: 110px; resize: vertical; }
.elc-field input:focus, .elc-field select:focus, .elc-field textarea:focus { outline: none; border-color: var(--elc-teal); box-shadow: 0 0 0 4px rgba(8, 127, 131, .14); }
.elc-field input[type="file"] { padding: 10px; background: var(--elc-bg); border-style: dashed; }
.elc-field small { color: var(--elc-muted); font-size: .8rem; }
.elc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.elc-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.elc-form__privacy { font-size: .82rem; color: var(--elc-muted); margin: 0; display: flex; gap: 8px; align-items: center; }
.elc-form__privacy .elc-icon { color: var(--elc-teal); }
.elc-alert { grid-column: 1 / -1; padding: 14px 18px; border-radius: 10px; font-weight: 500; margin-bottom: 4px; }
.elc-alert--ok { background: #E7F6EF; color: #14653F; border: 1px solid #B6E2CB; }
.elc-alert--err { background: #FDECEC; color: #8F1F1F; border: 1px solid #F3C4C4; }
@media (max-width: 640px) { .elc-form { grid-template-columns: 1fr; } }

/* Quote section */
.elc-quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.elc-quote__contact { display: grid; gap: 14px; margin-top: 26px; }
.elc-contact-line { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.elc-contact-line__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--elc-teal-50); color: var(--elc-teal); }
.elc-section--navy .elc-contact-line__icon { background: rgba(197, 164, 93, .14); color: var(--elc-gold); }
.elc-contact-line strong { display: block; color: var(--elc-navy); font-family: var(--elc-font-head); }
.elc-section--navy .elc-contact-line strong { color: #fff; }
.elc-contact-line span { font-size: .94rem; }
@media (max-width: 960px) { .elc-quote { grid-template-columns: 1fr; } }

/* FAQ */
.elc-faq { border-top: 1px solid var(--elc-line); }
.elc-faq details { border-bottom: 1px solid var(--elc-line); }
.elc-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-family: var(--elc-font-head); font-weight: 700; font-size: 1.06rem; color: var(--elc-navy); }
.elc-faq summary::-webkit-details-marker { display: none; }
.elc-faq summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--elc-teal-50); color: var(--elc-teal); font-size: 1.3rem; font-weight: 500; transition: transform .2s; }
.elc-faq details[open] summary::after { transform: rotate(45deg); }
.elc-faq__a { padding: 0 48px 22px 0; color: var(--elc-text); }

/* Service single layout */
.elc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.elc-aside { position: sticky; top: calc(var(--elc-header-h) + 24px); display: grid; gap: 20px; }
.elc-aside__box { background: var(--elc-bg); border: 1px solid var(--elc-line); border-radius: var(--elc-radius); padding: 24px; }
.elc-aside__box--navy { background: var(--elc-navy); border-color: var(--elc-navy); color: var(--elc-on-dark); }
.elc-aside__box--navy h3 { color: #fff; }
.elc-aside__box h3 { font-size: 1.08rem; }
.elc-aside__list { list-style: none; margin: 0; padding: 0; }
.elc-aside__list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--elc-line); color: var(--elc-navy); text-decoration: none; font-size: .94rem; }
.elc-aside__list a:hover, .elc-aside__list a[aria-current="page"] { color: var(--elc-teal); }
.elc-block { margin-bottom: clamp(36px, 5vw, 56px); }
.elc-block > h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.elc-params { columns: 2; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.elc-params li { break-inside: avoid; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--elc-line); }
.elc-params .elc-icon { color: var(--elc-teal); margin-top: 4px; }
@media (max-width: 600px) { .elc-params { columns: 1; } }
.elc-scope { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: #FBF6EA; border: 1px solid #EAD9B0; color: #5A4718; }
.elc-scope .elc-icon { color: #9A7A2E; margin-top: 2px; }
.elc-scope strong { color: #43350F; }
@media (max-width: 1024px) { .elc-layout { grid-template-columns: 1fr; } .elc-aside { position: static; } }

/* Jobs */
.elc-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.elc-job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--elc-muted); }
.elc-job__meta span { display: inline-flex; gap: 6px; align-items: center; }
.elc-job__meta .elc-icon { color: var(--elc-teal); }
@media (max-width: 640px) { .elc-job { grid-template-columns: 1fr; } }

/* Blog */
.elc-blog { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.elc-widget { margin-bottom: 28px; }
.elc-widget__title { font-size: 1.05rem; }
.elc-widget ul { list-style: none; padding: 0; margin: 0; }
.elc-widget li { padding: 7px 0; border-bottom: 1px solid var(--elc-line); }
.elc-author { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); background: var(--elc-bg); margin-top: 40px; }
.elc-author img { border-radius: 50%; }
.elc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.elc-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--elc-line); border-radius: 10px; text-decoration: none; color: var(--elc-navy); font-weight: 600; }
.elc-pagination .current { background: var(--elc-navy); border-color: var(--elc-navy); color: #fff; }
.elc-search { display: flex; gap: 8px; }
.elc-search input { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid #BFCCD8; border-radius: 10px; font: inherit; }
@media (max-width: 1024px) { .elc-blog { grid-template-columns: 1fr; } }

/* Locations list */
.elc-loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.elc-loc { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--elc-line); border-radius: 12px; background: #fff; color: var(--elc-navy); font-weight: 600; text-decoration: none; transition: all .2s; }
.elc-loc .elc-icon { color: var(--elc-teal); }
.elc-loc:hover { border-color: var(--elc-teal); background: var(--elc-teal-50); color: var(--elc-teal-700); }

/* Map */
.elc-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--elc-line); min-height: 360px; background: var(--elc-bg); }
.elc-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.elc-map__fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: 360px; padding: 24px; text-align: center; }

/* ---------- Footer ---------- */
.elc-footer { background: var(--elc-navy-900); color: var(--elc-on-dark-muted); font-size: .93rem; }
.elc-footer a { color: var(--elc-on-dark); text-decoration: none; }
.elc-footer a:hover { color: var(--elc-gold-300); }
.elc-footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.elc-footer h2 { font-size: .82rem; font-family: var(--elc-font); letter-spacing: .14em; text-transform: uppercase; color: var(--elc-gold-300); margin-bottom: 18px; font-weight: 600; }
.elc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.elc-footer__brand .elc-brand__name { color: #fff; }
.elc-footer__brand .elc-brand__sub { color: var(--elc-gold-300); }
.elc-footer__brand p { margin: 18px 0; }
.elc-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.elc-footer__contact .elc-icon { color: var(--elc-gold); margin-top: 3px; }
.elc-footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.elc-footer__certs span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--elc-gold-300); border: 1px solid rgba(197, 164, 93, .4); border-radius: 6px; padding: 5px 9px; }
.elc-footer__areas { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 26px; font-size: .86rem; }
.elc-footer__areas strong { color: #fff; margin-right: 6px; }
.elc-footer__areas a { color: var(--elc-on-dark-muted); }
.elc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .84rem; }
.elc-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.elc-social { display: flex; gap: 10px; }
.elc-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 700; }
@media (max-width: 1100px) { .elc-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .elc-footer__brand { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 640px) { .elc-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .elc-footer__top { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.elc-float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #1FAF55; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transition: transform .2s; }
.elc-float-wa:hover { transform: scale(1.06); color: #fff; }
.elc-mobilebar { display: none; }
@media (max-width: 768px) {
	.elc-float-wa { display: none; }
	.elc-mobilebar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--elc-navy-900); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); }
	.elc-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 600; }
	.elc-mobilebar a .elc-icon { color: var(--elc-gold); }
	.elc-mobilebar a.is-wa .elc-icon { color: #3DDC84; }
	.elc-mobilebar a.is-quote { background: var(--elc-teal); }
	.elc-mobilebar a.is-quote .elc-icon { color: #fff; }
	body { padding-bottom: 64px; }
}

/* ---------- 404 ---------- */
.elc-404 { text-align: center; }
.elc-404__code { font-family: var(--elc-font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--elc-teal-50); -webkit-text-stroke: 2px var(--elc-teal); }

/* ---------- Motion ---------- */
.js .elc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .elc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .elc-reveal { opacity: 1; transform: none; }
}

/* Elementor: let full-width content breathe */
.elc-elementor-content { width: 100%; }
.elementor-page .elc-main > .elementor { width: 100%; }

/* WordPress core alignment */
.alignwide { max-width: 1240px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--elc-muted); margin-top: 8px; }

@media print {
	.elc-topbar, .elc-header, .elc-footer, .elc-mobilebar, .elc-float-wa, .elc-form-wrap { display: none !important; }
}

/* =========================================================
   Animations (all transform/opacity — no layout shift).
   Turned off automatically for visitors who prefer reduced motion.
   ========================================================= */
.js .elc-stagger { transition-delay: var(--elc-delay, 0ms); }

/* Headline words rise in */
.elc-words .elc-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.elc-words .elc-word > span { display: inline-block; animation: elcRise .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes elcRise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Hero & page-hero supporting lines fade up after the headline */
.js .elc-hero__inner > :not(h1), .js .elc-pagehero__inner > :not(h1) { animation: elcUp .8s ease both; }
.js .elc-hero__inner > :nth-child(1), .js .elc-pagehero__inner > :nth-child(1) { animation-delay: .05s; }
.js .elc-hero__inner > :nth-child(3), .js .elc-pagehero__inner > :nth-child(3) { animation-delay: .55s; }
.js .elc-hero__inner > :nth-child(4), .js .elc-pagehero__inner > :nth-child(4) { animation-delay: .7s; }
.js .elc-hero__inner > :nth-child(5), .js .elc-pagehero__inner > :nth-child(5) { animation-delay: .85s; }
.js .elc-hero__inner > :nth-child(n+6), .js .elc-pagehero__inner > :nth-child(n+6) { animation-delay: 1s; }
@keyframes elcUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.elc-hero__media img { animation: elcZoom 14s ease-out both; }
@keyframes elcZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Flipping word */
.elc-hero__flip { font-family: var(--elc-font-head); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: #fff; margin: -6px 0 20px; }
.elc-flip { display: inline-grid; vertical-align: baseline; perspective: 600px; color: var(--elc-gold-300, #E2C887); }
.elc-flip__word { grid-area: 1 / 1; justify-self: start; opacity: 0; transform: rotateX(-90deg); transform-origin: 50% 50% -0.4em; transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .45s; backface-visibility: hidden; white-space: nowrap; }
.elc-flip__word.is-on { opacity: 1; transform: rotateX(0); }
.elc-flip__word.is-off { opacity: 0; transform: rotateX(90deg); }
.elc-flip__word { background: linear-gradient(currentColor, currentColor) left bottom / 0 3px no-repeat; padding-bottom: 4px; }
.elc-flip__word.is-on { background-size: 100% 3px; transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .45s, background-size .9s .35s ease; }

/* Card icons flip on hover */
.elc-card__icon { transition: background-color .25s, color .25s, transform .6s cubic-bezier(.3, .7, .2, 1); }
a.elc-card:hover .elc-card__icon, .elc-card--hover:hover .elc-card__icon { transform: rotateY(180deg); }
a.elc-card:hover .elc-card__icon .elc-icon, .elc-card--hover:hover .elc-card__icon .elc-icon { transform: rotateY(180deg); }
.elc-card__icon .elc-icon { transition: transform .6s cubic-bezier(.3, .7, .2, 1); }

/* Process steps: card flips in when revealed */
.js .elc-step.elc-reveal { transform: perspective(800px) rotateY(-24deg) translateY(18px); transform-origin: left center; }
.js .elc-step.elc-reveal.is-in { transform: none; }

/* Button shine sweep */
.elc-btn { position: relative; overflow: hidden; isolation: isolate; }
.elc-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); z-index: -1; transition: left .7s ease; pointer-events: none; }
.elc-btn:hover::after, .elc-btn:focus-visible::after { left: 130%; }
.elc-btn:hover { transform: translateY(-2px); }

/* Hero badges gentle float */
.elc-hero__badge .elc-icon { animation: elcBob 3.6s ease-in-out infinite; }
.elc-hero__badge:nth-child(2) .elc-icon { animation-delay: .5s; }
.elc-hero__badge:nth-child(3) .elc-icon { animation-delay: 1s; }
.elc-hero__badge:nth-child(4) .elc-icon { animation-delay: 1.5s; }
@keyframes elcBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Stat numbers pop when counted */
.js .elc-stat.is-in .elc-stat__num { animation: elcPop .6s .2s ease both; }
@keyframes elcPop { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* WhatsApp button pulse ring */
.elc-float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF55; animation: elcPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes elcPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Kicker line grows in */
.elc-kicker::before { transform-origin: left; }
.js .elc-reveal.is-in .elc-kicker::before, .js .elc-hero .elc-kicker::before, .js .elc-pagehero .elc-kicker::before { animation: elcGrow .8s .2s ease both; }
@keyframes elcGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reading progress */
.elc-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--elc-teal), var(--elc-gold, #C5A45D)); transform: scaleX(0); transform-origin: left; z-index: 400; pointer-events: none; }
.admin-bar .elc-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .elc-progress { top: 46px; } }

@media (prefers-reduced-motion: reduce) {
	.elc-words .elc-word > span, .js .elc-hero__inner > *, .js .elc-pagehero__inner > *, .elc-hero__media img, .elc-hero__badge .elc-icon, .elc-float-wa::before, .js .elc-stat.is-in .elc-stat__num { animation: none !important; }
	.elc-btn::after { display: none; }
	.js .elc-step.elc-reveal, .elc-card__icon { transform: none !important; }
	.elc-progress { display: none; }
}

/* =========================================================
   Certificates, documents & PDF viewer
   ========================================================= */
.elc-cert__img { position: relative; text-decoration: none; overflow: hidden; }
a.elc-cert__img img, a.elc-doc__img img { transition: transform .35s ease; }
a.elc-cert__img:hover img, a.elc-doc__img:hover img { transform: scale(1.03); }
.elc-cert__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(16, 43, 70, .88); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
a:hover > .elc-cert__zoom, a:focus-visible > .elc-cert__zoom { opacity: 1; transform: none; }
@media (hover: none) { .elc-cert__zoom { opacity: 1; transform: none; } }
.elc-cert__status { display: inline-flex; align-items: center; gap: 5px; }
.elc-cert__status--expired { background: #FEF3C7; color: #92400E; }
.elc-cert__summary { margin: 0; font-size: .9rem; color: var(--elc-muted); }
.elc-cert__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.elc-cert__actions .elc-btn { min-height: 40px; padding: 0 14px; font-size: .88rem; }
.elc-cert__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.elc-cert dd { overflow-wrap: anywhere; }
.elc-certgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.elc-certgrid .elc-cert { flex-direction: row; }
.elc-certgrid .elc-cert__img { flex: 0 0 42%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--elc-line); }
@media (max-width: 640px) { .elc-certgrid .elc-cert { flex-direction: column; } .elc-certgrid .elc-cert__img { flex: none; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--elc-line); } }

/* Document cards (home strip) */
.elc-certstrip { padding: clamp(40px, 5vw, 64px) 0; background: linear-gradient(180deg, var(--elc-bg, #F4F7FA), #fff); border-bottom: 1px solid var(--elc-line); }
.elc-certstrip__head { text-align: center; margin-bottom: 26px; }
.elc-certstrip__head .elc-kicker { justify-content: center; }
.elc-certstrip__title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.elc-certstrip__more { text-align: center; margin: 22px 0 0; }
.elc-docgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.elc-docgrid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.elc-docgrid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
@media (max-width: 1000px) { .elc-docgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .elc-docgrid, .elc-docgrid--2 { grid-template-columns: 1fr; } }
.elc-doc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.elc-doc:hover { box-shadow: var(--elc-shadow); transform: translateY(-3px); }
.elc-doc__img { position: relative; display: flex; align-items: center; justify-content: center; height: 230px; padding: 16px; background: var(--elc-bg); border-bottom: 1px solid var(--elc-line); overflow: hidden; text-decoration: none; color: var(--elc-gold); }
.elc-doc__img img { max-height: 100%; width: auto; box-shadow: var(--elc-shadow); background: #fff; }
.elc-doc__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.elc-doc__body h3 { margin: 0; font-size: 1.06rem; }
.elc-doc__sub { margin: 0 0 6px; font-size: .88rem; color: var(--elc-muted); }
.elc-doc__soon { font-size: .86rem; color: var(--elc-muted); }

/* Verify box */
.elc-verify { margin-top: 36px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--elc-line); border-radius: var(--elc-radius); background: #fff; }
.elc-verify__title { font-size: 1.25rem; margin: 0 0 14px; }
.elc-verify__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: v; }
.elc-verify__steps li { position: relative; padding-left: 42px; display: flex; flex-direction: column; gap: 4px; font-size: .93rem; counter-increment: v; }
.elc-verify__steps li::before { content: counter(v); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--elc-teal-50); color: var(--elc-teal); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.elc-verify__steps strong { color: var(--elc-navy); }

/* Built-in PDF viewer (certifications page) */
.elc-pdfv { background: #fff; border: 1px solid var(--elc-line); border-radius: var(--elc-radius); overflow: hidden; }
.elc-pdfv__tabs { display: flex; gap: 6px; padding: 12px 12px 0; border-bottom: 1px solid var(--elc-line); overflow-x: auto; scrollbar-width: thin; }
.elc-pdfv__tab { flex: none; border: 1px solid transparent; border-bottom: 0; background: transparent; font: inherit; font-size: .92rem; font-weight: 600; color: var(--elc-muted); padding: 10px 16px; border-radius: 10px 10px 0 0; cursor: pointer; }
.elc-pdfv__tab:hover { color: var(--elc-navy); }
.elc-pdfv__tab.is-active { background: var(--elc-bg); border-color: var(--elc-line); color: var(--elc-navy); margin-bottom: -1px; }
.elc-pdfv__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--elc-bg); border-bottom: 1px solid var(--elc-line); }
.elc-pdfv__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.elc-pdfv__title { color: var(--elc-navy); }
.elc-pdfv__sub { font-size: .86rem; color: var(--elc-muted); }
.elc-pdfv__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.elc-pdfv__actions .elc-btn { min-height: 40px; padding: 0 14px; font-size: .88rem; }
.elc-pdfv__stage { position: relative; background: #525659; }
.elc-pdfv__frame { display: block; width: 100%; height: min(82vh, 980px); border: 0; background: #525659; }
.elc-pdfv__mobile { display: none; }
.elc-pdfv.is-touch .elc-pdfv__frame { display: none; }
.elc-pdfv.is-touch .elc-pdfv__mobile { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 16px; background: var(--elc-bg); text-decoration: none; }
.elc-pdfv.is-touch .elc-pdfv__mobile img { max-width: min(100%, 420px); height: auto; box-shadow: var(--elc-shadow); background: #fff; }
.elc-pdfv:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.elc-pdfv:fullscreen .elc-pdfv__stage { flex: 1; }
.elc-pdfv:fullscreen .elc-pdfv__frame { height: 100%; }

/* Full-view overlay */
.elc-viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(10, 29, 48, .9); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.elc-viewer.is-open { opacity: 1; visibility: visible; }
.elc-viewer__bar { display: flex; align-items: center; gap: 10px; color: #fff; padding: 0 2px 12px; }
.elc-viewer__title { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elc-viewer__bar .elc-btn { min-height: 40px; padding: 0 14px; font-size: .88rem; }
.elc-viewer__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.elc-viewer__frame { flex: 1; width: 100%; border: 0; border-radius: 8px; background: #525659; transform: scale(.98); transition: transform .3s; }
.elc-viewer.is-open .elc-viewer__frame { transform: none; }
body.elc-viewer-open { overflow: hidden; }
