/* ==========================================================================
   Aligner template — design system
   ========================================================================== */

:root {
	--navy-900: #061d40;
	--navy-800: #0a2a57;
	--navy-700: #0e3466;
	--slate: #3f6386;
	--slate-300: #b9d6ea;
	--teal: #1d6fa5;
	--teal-700: #155a88;
	--mint: #8ccbe3;
	--bg-light: #f4f8fb;
	--bg-mint: #e9f3f9;
	--white: #fff;
	--text: #061d40;
	--muted: #3f6386;
	--line: #dbe4ee;

	--grad-dark: linear-gradient(90deg, #061d40 0%, #3f6386 100%);
	--grad-band: linear-gradient(142.64deg, #0e3466 0%, #1d6fa5 100%);
	--grad-card: linear-gradient(135deg, #ffffff 0%, #e3edf5 100%);
	--glow: 0 0 22px rgba(60, 141, 183, .38);
	--glow-soft: 0 6px 26px rgba(60, 141, 183, .18);
	--shadow-card: 0 10px 30px rgba(6, 29, 64, .08);

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1310px;
	--gutter: 24px;
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--header-h: 91px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg-light);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 600; line-height: 1.25; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; }
button { font: inherit; }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	padding: 10px 18px; border-radius: 999px; background: var(--teal); color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(1060px + var(--gutter) * 2); }
.container--text { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Type scale ---------- */
.display { font-size: clamp(32px, 4.2vw, 48.5px); line-height: 1.3; font-weight: 700; }
.h-xl { font-size: clamp(30px, 3.6vw, 48.5px); line-height: 1.25; font-weight: 600; }
.h-lg { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; }
.h-md { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; }
.h-sm { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; }
.h-xs { font-size: 20px; line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; font-weight: 400; }
.text-lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.text-sm { font-size: 14px; }
.text-mint { color: var(--mint); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-s { margin-bottom: 16px; } .mb-m { margin-bottom: 32px; } .mb-l { margin-bottom: 56px; }
.maxw-640 { max-width: 640px; } .maxw-800 { max-width: 800px; } .maxw-920 { max-width: 920px; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--teal);
	--btn-fg: #fff;
	--btn-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 41px; padding: 9px 20px;
	border: 1px solid var(--btn-bd); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { --btn-bg: var(--teal-700); color: var(--btn-fg); box-shadow: var(--glow-soft); transform: translateY(-1px); }
.btn--lg { min-height: 48px; padding: 11px 24px; font-size: 16px; }
.btn--xl { min-height: 58px; padding: 14px 30px; font-size: 18px; }
.btn--ghost { --btn-bg: rgba(10, 42, 87, .5); --btn-bd: var(--teal); }
.btn--ghost:hover { --btn-bg: rgba(60, 141, 183, .18); }
.btn--glass { --btn-bg: rgba(185, 214, 234, .12); --btn-bd: rgba(185, 214, 234, .35); }
.btn--glass:hover { --btn-bg: rgba(185, 214, 234, .22); }
.btn--outline-dark { --btn-bg: rgba(185, 214, 234, .1); --btn-bd: rgba(185, 214, 234, .28); min-height: 42px; }
.btn--outline-dark:hover { --btn-bg: rgba(185, 214, 234, .2); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--light:hover { --btn-bg: var(--mint); }
.btn--block { width: 100%; }

/* arrow ↗ drawn in CSS so buttons need no icon markup */
.btn__arrow {
	width: 10px; height: 10px; position: relative; flex: none;
	border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
}
.btn__arrow::after {
	content: ""; position: absolute; right: -1px; top: -1px; width: 13px; height: 1.6px;
	background: currentColor; transform-origin: right center; transform: rotate(-45deg);
}
.btn__icon { width: 18px; height: 18px; flex: none; }

/* ---------- Pills & tags ---------- */
.tag {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	background: var(--navy-700); color: var(--mint);
	font-size: 13px; font-weight: 500; line-height: 1.3;
}
.tag--lg { padding: 9px 18px; font-size: 16px; }
.tag--soft { background: rgba(63, 99, 134, .1); color: var(--slate); font-size: 15px; padding: 9px 16px; }
.tag--glass { background: rgba(255, 255, 255, .1); color: var(--mint); border: 1px solid rgba(140, 203, 227, .3); }
.tag__icon { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 72px 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--light { background: var(--bg-light); color: var(--text); }
.section--white { background: #fff; color: var(--text); }
.section--mint { background: var(--bg-mint); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--gradient { background: var(--grad-dark); color: #fff; }
.section-head { margin-bottom: 56px; }
.section-head .tag { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 1180px; }
.section-head p { color: var(--muted); }
.section--dark .section-head p, .section--gradient .section-head p { color: rgba(255, 255, 255, .92); }

/* ---------- Header ---------- */
/* Header scrolls with the page (not sticky). Dark variant on the homepage, light everywhere else. */
.site-header { position: relative; z-index: 100; background: var(--navy-900); color: #fff; }
.site-header--light { background: var(--bg-light); color: var(--navy-900); }
.site-header--light .nav__item > a, .site-header--light .nav__link { color: var(--navy-900); }
.site-header--light .nav__item > a:hover, .site-header--light .nav__link:hover,
.site-header--light .nav__item.active > a, .site-header--light .nav__item.active > .nav__link { color: var(--teal); }
.site-header--light .btn--outline-dark { --btn-bg: rgba(185, 214, 234, .1); --btn-bd: var(--navy-900); --btn-fg: #000; }
.site-header--light .btn--outline-dark:hover { --btn-bg: rgba(60, 141, 183, .1); color: #000; }
.site-header--light .lang-pill { background: rgba(185, 214, 234, .1); border-color: var(--navy-900); color: var(--navy-900); }
.site-header--light .lang-pill__chev { border-color: var(--navy-900); }
.site-header--light .nav-toggle { background: rgba(185, 214, 234, .1); border: 1px solid var(--navy-900); }
.site-header--light .nav-toggle__bar { background: var(--navy-900); }
.site-header--light .nav__sub { box-shadow: 0 18px 40px rgba(6, 29, 64, .14); border: 1px solid var(--line); }

.nav-overlay, .nav-close { display: none; }

.chat-fab {
	position: fixed; right: 36px; bottom: 44px; z-index: 90; display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s;
}
.chat-fab:hover { color: #fff; transform: scale(1.06); }
.chat-fab svg { width: 28px; height: 28px; }

.bottom-stack { display: flex; flex-direction: column; }
.site-header__inner {
	max-width: calc(var(--container) + 64px * 2 - 130px + var(--gutter) * 2);
	margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; flex: none; }
.logo:hover { color: #fff; }
.logo__img { height: 46px; width: auto; max-width: none; }
.site-footer__brand .logo__img { height: 52px; }
@media (max-width: 1000px) { .logo__img { height: 38px; } }
.logo__text { font-weight: 700; font-size: 22px; letter-spacing: .06em; line-height: 1; }
.logo--dark, .logo--dark:hover { color: var(--navy-900); }

.site-header__nav { flex: 1; display: flex; justify-content: center; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__actions--mobile { display: none; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__item > a, .nav__link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 12px; border: 0; background: none; cursor: pointer;
	color: #fff; font-size: 16px; font-weight: 400; line-height: 1.4; white-space: nowrap;
}
.nav__item > a:hover, .nav__link:hover, .nav__item.active > a, .nav__item.active > .nav__link { color: var(--mint); }
.nav__chev {
	width: 7px; height: 7px; margin-top: -3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); transition: transform .2s;
}
.nav__panel {
	position: absolute; left: 50%; top: 100%; z-index: 10;
	min-width: 240px; padding-top: 10px;
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub {
	list-style: none; margin: 0; padding: 10px;
	background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(6, 29, 64, .25);
}
.nav__sub a {
	display: block; padding: 10px 14px; border-radius: 10px;
	color: var(--navy-900); font-size: 15px; white-space: nowrap;
}
.nav__sub a:hover, .nav__sub .current > a { background: var(--bg-mint); color: var(--teal-700); }
.nav__item.has-sub:hover > .nav__panel,
.nav__item.has-sub:focus-within > .nav__panel,
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.has-sub:hover .nav__chev, .nav__item.is-open .nav__chev { transform: rotate(225deg); margin-top: 3px; }

.lang-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
	border: 1px solid var(--navy-900); border-radius: 30px; background: var(--navy-800); color: #fff; cursor: pointer;
}
.lang-pill__globe {
	width: 20px; height: 20px; border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, transparent 55%, rgba(255,255,255,.0) 56%),
		linear-gradient(180deg, #1d4f8c 0 33%, #fff 33% 66%, #c8102e 66%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.lang-pill__chev { width: 6px; height: 6px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); margin-top: -3px; }

.nav-toggle {
	display: none; width: 44px; height: 44px; padding: 11px 10px; border: 0; border-radius: 12px;
	background: rgba(185, 214, 234, .12); cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle__bar { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(4) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Generic page wrapper (non-landing views) ---------- */
.page-wrap { padding: 80px 0 110px; }

/* ---------- Cards ---------- */
.card {
	position: relative; border-radius: var(--radius);
	background: var(--grad-card); color: var(--text);
	box-shadow: var(--glow-soft); border: 1px solid rgba(60, 141, 183, .18);
	padding: 24px;
}
.card--glow { box-shadow: var(--glow); border-color: rgba(140, 203, 227, .55); }
.card--white { background: #fff; }
.card--dark { background: var(--grad-dark); color: #fff; border-color: rgba(140, 203, 227, .2); }
.card--glass {
	background: rgba(255, 255, 255, .12); color: #fff;
	border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; backdrop-filter: blur(6px);
}
.card__title { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; color: var(--navy-900); }
.card__text { color: var(--muted); font-size: 16px; }
.card .btn { margin-top: 20px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--center-last > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--top { align-items: start; }

/* ---------- Placeholder media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #dde9f2; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--r { border-radius: var(--radius); }
.media--glow { box-shadow: var(--glow); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-277x150 { aspect-ratio: 277 / 150; }
.ratio-550x364 { aspect-ratio: 550 / 364; }

/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- hero-media ---------- */
.hero { background: var(--navy-900); color: #fff; padding: 0 0 0; }
.hero__frame {
	position: relative; margin: 0 auto; max-width: 1314px; min-height: 730px;
	border-radius: var(--radius-lg); overflow: hidden;
	display: flex; flex-direction: column; justify-content: center;
	background: radial-gradient(120% 90% at 70% 20%, #123d72 0%, #0a2550 45%, #061d40 100%);
	box-shadow: 0 0 0 1px rgba(140, 203, 227, .12);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 29, 64, .82) 0%, rgba(6, 29, 64, .35) 70%, rgba(6, 29, 64, .2) 100%); }
.hero__content { position: relative; z-index: 1; padding: 120px 132px 170px; max-width: 1060px; }
.hero__title { margin-bottom: 18px; }
.hero__title .text-mint { display: block; }
.hero__lead { max-width: 790px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__trust { position: absolute; z-index: 1; left: 132px; bottom: 56px; display: flex; align-items: center; gap: 28px; color: #dadadb; }
.hero__trust-num { font-size: 24px; font-weight: 600; line-height: 1.3; }
.hero__trust-label { font-size: 16px; }
.hero__trust-logos { display: flex; align-items: center; gap: 22px; }
.hero__trust-logos > span {
	display: grid; place-items: center; width: 51px; height: 51px; border-radius: 50%;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
	font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #fff;
}
.hero__stats {
	position: absolute; z-index: 2; right: 0; bottom: 0;
	display: flex; gap: 52px; padding: 46px 80px 40px 90px;
	background: rgba(6, 29, 64, .92); border-top-left-radius: var(--radius-lg);
	box-shadow: -2px -2px 0 0 rgba(140, 203, 227, .45), 0 0 28px rgba(60, 141, 183, .45);
}
.stat__num { font-size: 40px; line-height: 1.2; color: var(--mint); font-weight: 400; }
.stat__label { font-size: 20px; line-height: 1.5; color: #fff; }

/* ---------- audience-cards (curved gradient band) ---------- */
/* Gradient band whose top edge bulges up and bottom edge bulges down.
   The curves are SVG caps painted in the neighbouring section colours. */
.band { position: relative; color: #fff; background: var(--grad-band); padding: 150px 0 160px; }
.band__curve { position: absolute; left: 0; width: 100%; height: 90px; z-index: 1; pointer-events: none; }
.band__curve path { fill: currentColor; }
.band__curve--top { top: -1px; color: var(--navy-900); }
.band__curve--bottom { bottom: -1px; color: var(--bg-light); }
.band__curve--to-white { color: #fff; }
.band__curve--to-dark { color: var(--navy-900); }
.band > .container { position: relative; z-index: 2; }
.audience { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.audience__intro h2 { margin-bottom: 18px; }
.audience__intro .lead strong { font-weight: 600; }
.audience__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 64px; align-items: start; }
.audience__cards > :nth-child(2) { margin-top: 94px; }
.audience__cards > :nth-child(3) { margin-top: 164px; }
.audience__cards .card { padding: 14px 16px 18px; background: var(--grad-card); border-radius: 16px; border: 0; box-shadow: 0 12px 30px rgba(6, 29, 64, .2); }
.audience__cards .tag { margin-bottom: 18px; font-size: 12px; padding: 6px 12px; }
.audience__cards .card__title { font-size: 20px; line-height: 1.2; margin-bottom: 12px; }

/* ---------- steps-grid ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px; }
.step { background: #fff; border-radius: 16px; padding: 10px 10px 20px; box-shadow: var(--glow-soft); }
.step .media { margin-bottom: 14px; border-radius: 10px; }
.step__badge {
	position: absolute; left: 10px; top: 10px; z-index: 1; width: 26px; height: 26px; border-radius: 8px;
	background: rgba(6, 29, 64, .55); border: 1px solid rgba(255, 255, 255, .5);
}
.step__label { color: var(--teal); font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.step__title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 16px; }

/* ---------- dark-banner ---------- */
.banner {
	border-radius: var(--radius); background: var(--grad-dark); color: #fff; text-align: center;
	padding: 34px 48px; margin-top: 72px; font-size: 20px; line-height: 1.5;
}
.banner__accent { color: var(--mint); display: block; font-weight: 500; }

/* ---------- feature-stack ---------- */
.features { display: grid; gap: 40px; }
.feature {
	display: grid; grid-template-columns: minmax(0, 1fr) 550px; gap: 72px; align-items: center;
	padding: 26px 50px 26px 26px; border-radius: var(--radius);
	background: var(--grad-card); color: var(--muted); box-shadow: var(--glow); border: 1px solid rgba(140, 203, 227, .6);
}
.feature .tag { margin-bottom: 16px; }
.feature__title { font-size: 24px; font-weight: 500; line-height: 1.45; color: var(--slate); margin-bottom: 18px; }
.feature__text { font-size: 20px; line-height: 1.5; }
.feature .btn { margin-top: 24px; }
.feature .media { background: transparent; }
.feature--reverse { grid-template-columns: 550px minmax(0, 1fr); padding: 26px 26px 26px 50px; }
.feature--reverse .media { order: -1; }

/* ---------- network-map ---------- */
.network {
	position: relative; color: #fff; text-align: center;
	background: var(--grad-dark); border-radius: 56px 56px 0 0;
	padding: 100px var(--gutter) 90px; box-shadow: 0 -10px 40px rgba(60, 141, 183, .25);
}
.network h2 { font-size: 28px; line-height: 1.3; max-width: 760px; margin: 0 auto 30px; }
.network .lead { max-width: 640px; margin: 0 auto 60px; }
.map { position: relative; max-width: 1010px; aspect-ratio: 1010 / 508; margin: 0 auto; }
.map__dots {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(140, 203, 227, .75) 2.6px, transparent 3px);
	background-size: 13px 13px;
	-webkit-mask: url("../images/world-mask.svg") center / contain no-repeat;
	        mask: url("../images/world-mask.svg") center / contain no-repeat;
}
.map__pin {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; transform: translate(-50%, -50%);
	padding: 8px 12px; border-radius: 6px; background: #fff; color: #000; font-size: 14px; line-height: 1.3; white-space: nowrap;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.map__pin::before { content: ""; width: 12px; height: 12px; border: 1.5px solid #333; border-radius: 3px 3px 1px 1px; }

/* ---------- stat-tiles ---------- */
.stat-tiles { display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; }
.stat-tile {
	width: 212px; min-height: 172px; padding: 30px 24px; border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .28); border: 1.5px solid rgba(255, 255, 255, .45); color: #fff;
}
.stat-tile .stat__label { line-height: 1.5; }

/* ---------- testimonial-grid ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 30px; align-items: start; }
.testimonials > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 15px); }
.testimonial, .testimonial__text { margin: 0; }
.testimonial { padding: 16px 20px 32px; border-radius: var(--radius); background: var(--grad-card); box-shadow: var(--glow-soft); border: 1px solid rgba(60, 141, 183, .3); }
.testimonial__head { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; }
.testimonial__logo {
	width: 80px; height: 80px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center;
	font-weight: 700; font-size: 15px; color: var(--teal); box-shadow: 0 2px 8px rgba(6, 29, 64, .08);
}
.testimonial__name { font-size: 18px; font-weight: 500; color: #000; margin: 0; }
.testimonial__role { font-size: 16px; font-style: italic; color: var(--slate); margin: 0; }
.testimonial__quote { width: 43px; height: 43px; color: var(--teal-700); margin-bottom: 16px; }
.testimonial__text { font-size: 18px; line-height: 1.5; color: #000; }

/* ---------- cta-panel ---------- */
.cta-wrap { padding: 72px 0 52px; background: var(--bg-light); }
.cta {
	border-radius: var(--radius-lg); background: var(--grad-dark); color: #fff; text-align: center;
	padding: 112px 48px 92px;
}
.cta h2, .cta h3 { font-size: clamp(24px, 2.3vw, 32.4px); line-height: 1.6; margin-bottom: 14px; }
.cta .lead { max-width: 560px; margin: 0 auto 32px; }

/* ---------- newsletter ---------- */
.newsletter-wrap { background: var(--bg-mint); padding: 52px 0; }
.newsletter { background: #fff; border-radius: var(--radius); padding: 30px 24px 34px; text-align: center; }
.newsletter__title { font-size: 25px; font-weight: 500; line-height: 1.5; margin-bottom: 14px; }
.newsletter__text { font-size: 20px; color: var(--muted); margin-bottom: 26px; }
.newsletter form { text-align: left; }
.newsletter__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.newsletter .btn { min-width: 298px; min-height: 44px; font-size: 18px; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field__label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field__label .req { color: var(--teal); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 40px; padding: 8px 14px; border: 1px solid #9cc5de; border-radius: 999px;
	background: #fff; font: inherit; color: var(--text);
}
.field textarea { border-radius: 16px; min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(60, 141, 183, .15); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); }
.check input { width: 16px; height: 16px; accent-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-light); color: var(--muted); padding: 64px 0 70px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand .logo { margin-bottom: 24px; }
.site-footer__brand .logo__text { font-size: 20px; }
.footer-brand__tagline { font-size: 20px; line-height: 1.5; color: var(--navy-700); margin-bottom: 24px; max-width: 303px; }
.footer-brand__contact { margin-top: 24px; font-size: 16px; }
.footer-brand__contact a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand__contact p { margin-bottom: 8px; }
.socials { display: flex; gap: 24px; list-style: none; margin: 24px 0; padding: 0; }
.socials a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--slate);
	background: #fff; box-shadow: 0 2px 8px rgba(6, 29, 64, .08);
}
.socials a:hover { color: var(--teal); }
.socials svg { width: 20px; height: 20px; }
.footer-brand__copy { font-size: 16px; margin-top: 8px; }
.footer-block__title { font-size: 20px; font-weight: 600; color: var(--navy-900); margin-bottom: 16px; }
.site-footer .mod-menu { list-style: none; margin: 0; padding: 0; display: block; }
.site-footer .mod-menu li { margin-bottom: 8px; }
.site-footer .mod-menu a { color: var(--muted); font-size: 20px; line-height: 1.5; }
.site-footer .mod-menu a:hover { color: var(--teal); }
.site-footer__bottom { margin-top: 32px; font-size: 14px; }

/* ---------- Text pages & posts ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article--post { max-width: 940px; }
.article__edit { margin-bottom: 16px; }
.article__back { display: inline-block; margin-bottom: 28px; font-size: 15px; color: var(--muted); }
.article__back:hover { color: var(--teal); }
.page-head { margin-bottom: 40px; }
.page-head__title { color: var(--navy-900); }
.post-head { margin-bottom: 32px; }
.post-head__title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.25; font-weight: 600; color: var(--navy-900); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.post-meta__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-700); color: var(--mint); font-weight: 600; }
.post-meta__author { color: var(--navy-900); font-weight: 500; }
.post-cover { margin: 0 0 40px; aspect-ratio: 3 / 2; }
.prose { font-size: 18px; line-height: 1.75; color: #24324a; }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 1.8em 0 .6em; color: var(--navy-900); }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); margin: 1.6em 0 .5em; color: var(--navy-900); }
.prose h4 { font-size: 19px; margin: 1.4em 0 .4em; color: var(--navy-900); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 19px; color: var(--navy-900); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 16px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--navy-900); font-weight: 600; }
.post-foot { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-foot__label { font-weight: 500; color: var(--navy-900); margin-right: 8px; }
.share { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--slate); font-weight: 600; box-shadow: 0 2px 8px rgba(6, 29, 64, .08); }
.share:hover { background: var(--teal); color: #fff; }

/* ---------- Joomla system bits ---------- */
#system-message-container:empty { display: none; }
.alert { padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.alert-success, .alert-message { border-color: var(--teal); }
.alert-danger, .alert-error { border-color: #d64545; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.hero__content { padding: 110px 72px 200px; }
	.hero__trust { left: 72px; }
	.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 40px; }
	.feature--reverse { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
	.steps { gap: 28px; }
}

/* Off-canvas drawer navigation (slides in from the right) */
@media (max-width: 1000px) {
	:root { --header-h: 70px; }
	.site-header__inner { gap: 8px; }
	.site-header__nav { flex: none; }
	.site-header__actions { gap: 8px; }
	.site-header__portal { display: none; }
	.lang-pill { height: 42px; padding: 0 14px; }
	.nav-toggle {
		display: flex; width: 50px; height: 42px; padding: 13px 15px; border-radius: 300px;
		background: var(--navy-800); border: 1px solid var(--navy-900);
	}
	.nav-toggle__bar { height: 1.5px; background: #c6c8ce; }
	.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(6.5px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(4) { transform: translateY(-6.5px) rotate(-45deg); }

	.nav-overlay {
		display: block; position: fixed; inset: 0; z-index: 1; background: rgba(4, 8, 17, .6);
		opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
	}
	.site-header__nav {
		display: block;
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
		width: min(312px, 80vw); padding: 44px 20px 40px; overflow-y: auto;
		background: var(--slate); color: #fff;
		border-radius: 24px 0 0 24px; box-shadow: -4px 0 24px rgba(60, 141, 183, .35);
		transform: translateX(105%); visibility: hidden;
		transition: transform .3s ease, visibility .3s;
	}
	.nav-open .site-header__nav { transform: none; visibility: visible; }
	.nav-open .nav-overlay { opacity: 1; visibility: visible; }
	html.nav-open, body.nav-open { overflow: hidden; }

	.nav-close {
		display: block; position: absolute; top: 24px; right: 18px; width: 34px; height: 34px;
		border: 0; background: none; cursor: pointer;
	}
	.nav-close::before, .nav-close::after {
		content: ""; position: absolute; left: 6px; top: 16px; width: 22px; height: 1.5px; background: var(--mint);
	}
	.nav-close::before { transform: rotate(45deg); }
	.nav-close::after { transform: rotate(-45deg); }

	.site-header__actions--mobile { display: flex; margin-bottom: 18px; }
	.btn--drawer { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; min-height: 42px; padding: 9px 20px; font-size: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
	.btn--drawer:hover { --btn-bg: rgba(255, 255, 255, .2); }

	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item > a, .nav__link,
	.site-header--light .nav__item > a, .site-header--light .nav__link {
		width: 100%; justify-content: space-between; padding: 12px 0; font-size: 16px; font-weight: 500; color: #fff;
	}
	.nav__item > a:hover, .nav__link:hover,
	.site-header--light .nav__item > a:hover, .site-header--light .nav__link:hover { color: var(--mint); }
	.nav__item.is-open > .nav__link { color: var(--mint); text-decoration: underline; text-underline-offset: 6px; }
	.nav__item.active > a, .site-header--light .nav__item.active > a { color: var(--mint); }
	.site-header__actions--mobile .btn { align-self: flex-start; }
	.nav__panel { position: static; min-width: 0; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; display: none; }
	.nav__item.is-open > .nav__panel { display: block; transform: none; }
	.nav__item.has-sub:hover > .nav__panel { transform: none; }
	.nav__item.has-sub:hover .nav__chev { transform: rotate(45deg); margin-top: -3px; }
	.nav__item.is-open .nav__chev { transform: rotate(225deg); margin-top: 3px; }
	.nav__sub, .site-header--light .nav__sub { padding: 0 0 0 24px; background: none; box-shadow: none; border: 0; border-radius: 0; }
	.nav__sub a, .nav__sub .nav__item > a, .site-header--light .nav__sub .nav__item > a { padding: 5px 0; font-size: 14px; font-weight: 400; color: #fff; border-radius: 0; }
	.nav__sub a:hover, .nav__sub .current > a { background: none; color: var(--mint); }

	.chat-fab { right: 20px; bottom: 28px; width: 48px; height: 48px; }
	.chat-fab svg { width: 24px; height: 24px; }
}

@media (max-width: 1100px) {
	.audience { grid-template-columns: 1fr; }
	.audience__cards { gap: 24px; }
	.audience__cards > :nth-child(2), .audience__cards > :nth-child(3) { margin-top: 0; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; gap: 40px; }
	.feature, .feature--reverse { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
	.feature--reverse .media { order: 0; }
	.hero__stats { position: relative; justify-content: space-around; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 32px 24px; gap: 24px; }
	.hero__trust { position: relative; left: auto; bottom: auto; padding: 0 72px 48px; flex-wrap: wrap; }
	.hero__content { padding-bottom: 48px; }
}

@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.section { padding: 72px 0; }
	.section-head { margin-bottom: 36px; }
	.grid--2, .grid--3, .grid--4, .audience__cards, .testimonials { grid-template-columns: 1fr; }
	.grid--center-last > :last-child:nth-child(odd), .testimonials > :last-child:nth-child(odd) { width: 100%; }
	.steps { grid-template-columns: 1fr; }
	.hero__frame { min-height: 0; border-radius: 0 0 24px 24px; }
	.hero__content { padding: 72px 20px 36px; }
	.hero__trust { padding: 0 20px 36px; gap: 16px; }
	.hero__stats { gap: 12px; padding: 24px 16px; }
	.stat__num { font-size: 30px; }
	.stat__label { font-size: 15px; }
	.band { padding: 100px 0; }
	.network { border-radius: 32px 32px 0 0; padding: 72px var(--gutter); }
	.map__pin { font-size: 10px; padding: 4px 6px; gap: 4px; }
	.map__pin::before { width: 8px; height: 8px; }
	.stat-tile { width: calc(50% - 12px); min-height: 0; padding: 20px; }
	.stat-tiles { gap: 24px; }
	.cta { padding: 64px 24px; }
	.newsletter__row { flex-direction: column; align-items: stretch; }
	.newsletter .btn { min-width: 0; width: 100%; }
	.feature__text { font-size: 17px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer .mod-menu a { font-size: 17px; }
	.banner { padding: 28px 22px; font-size: 17px; }
}

/* Homepage mobile refinements (≤750px) */
@media (max-width: 750px) {
	.hero .container { padding: 0 16px; }
	.hero__frame { border-radius: 10px; box-shadow: 0 0 24px rgba(60, 141, 183, .45); }
	.hero__content { text-align: center; padding: 64px 19px 28px; }
	.hero__title { font-size: 24px; line-height: 1.3; }
	.hero__lead { font-size: 19.9px; }
	.hero__actions { flex-direction: column; align-items: center; gap: 8px; }
	.hero__actions .btn { font-size: 16px; min-height: 43px; }
	.hero__trust { justify-content: center; text-align: center; }
	.hero__stats { background: var(--navy-900); box-shadow: none; border-radius: 0; justify-content: space-between; padding: 24px 18px; }
	.hero__stats .stat__num { font-size: 16.6px; }
	.hero__stats .stat__label { font-size: 14px; }

	.audience__intro { text-align: center; }
	.audience__intro .lead { font-size: 14.56px; }
	.audience__cards .card { text-align: center; border-radius: 6px; }
	.audience__cards .card__title { font-size: 16px; }
	.audience__cards .card__text { font-size: 14px; }
	.audience__cards .btn { font-size: 14px; min-height: 37px; }

	.section-head--center .lead, .section-head .lead { font-size: 14.56px; }
	.step { border-radius: 12px; padding: 9px 9px 18px; }
	.step__title { font-size: 16px; }
	.step__text, .banner { font-size: 14.56px; }

	.feature { border-radius: 6px; padding: 16px; gap: 20px; }
	.feature__title { font-size: 16px; }
	.feature__text { font-size: 14.56px; }
	.feature .media { order: 2; }

	.network h2 { font-size: 26px; }
	.network .lead { font-size: 14px; }

	.testimonial { border-radius: 6px; padding: 16px; }
	.testimonial__logo { width: 62px; height: 62px; }
	.testimonial__name { font-size: 18px; }
	.testimonial__role { font-size: 11px; }
	.testimonial__text { font-size: 14px; }
	.testimonial__quote { width: 35px; height: 35px; }

	/* newsletter comes before the CTA panel on mobile */
	.pos-bottom-b { order: -1; }
	.newsletter { border-radius: 24px; padding: 24px; }
	.newsletter__title { font-size: 18px; font-weight: 600; }
	.newsletter__text { font-size: 16px; }
	.cta-wrap { padding: 24px 0 40px; }
	.cta { border-radius: 16px; padding: 40px 24px; }
	.cta h2, .cta h3 { font-size: 25px; line-height: 1.4; }
	.cta .lead { font-size: 14.56px; }

	.site-footer { padding: 50px 0 60px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 42px; }
	.footer-brand__tagline { font-size: 16.6px; }
	.footer-block__title { font-size: 16px; }
	.site-footer .mod-menu a { font-size: 16px; }
}

/* Blog pages: tighter gap above the global CTA panel */
.page-blog .cta-wrap { padding-top: 50px; }

/* Narrow desktop (1001–1200px): tighten header so nav + Portal + language pill fit */
@media (min-width: 1001px) and (max-width: 1200px) {
	.site-header__inner { gap: 12px; }
	.logo__img { height: 38px; }
	.nav__list { gap: 0; }
	.nav__item > a, .nav__link { padding: 10px 8px; font-size: 15px; }
	.site-header__actions { gap: 8px; }
	.lang-pill { padding: 0 12px; }
}

/* Marks sample testimonials / illustrative cases so they are never mistaken for real ones */
.sample-badge {
	display: inline-block; padding: 2px 9px; border-radius: 999px; vertical-align: middle;
	background: rgba(29, 111, 165, .1); color: var(--teal-700); border: 1px dashed rgba(29, 111, 165, .45);
	font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-style: normal;
}
.section--dark .sample-badge, .panel .sample-badge, .card--dark .sample-badge { background: rgba(140, 203, 227, .12); color: var(--mint); border-color: rgba(140, 203, 227, .5); }

/* Language switcher (mod_languages, layout aligner:pill) */
.lang-switch { position: relative; }
.lang-pill__code { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.lang-menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 190px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(6, 29, 64, .22); border: 1px solid var(--line);
}
.lang-menu[hidden] { display: none; }
.lang-menu__link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--navy-900); font-size: 15px; }
.lang-menu__link:hover { background: var(--bg-mint); color: var(--teal-700); }
.lang-menu__link.is-active { color: var(--teal); font-weight: 500; }
.lang-menu__code {
	display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px;
	background: var(--bg-mint); color: var(--navy-700); font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.lang-menu__link.is-active .lang-menu__code { background: var(--teal); color: #fff; }

/* Longer translations (vi/fr): let buttons inside cards wrap instead of overflowing,
   and keep the hero stats panel compact so it never covers the trust row. */
.btn { max-width: 100%; }
.card .btn, .fcard .btn, .feature .btn, .step .btn { white-space: normal; text-align: left; line-height: 1.3; }
@media (min-width: 1101px) {
	.hero__stats { gap: 36px; padding: 46px 56px 40px 64px; max-width: 54%; }
	.hero__stats .stat__label { font-size: 18px; }
}

/* Mobile: long translated button labels wrap instead of widening their column */
@media (max-width: 750px) {
	.btn { white-space: normal; text-align: center; line-height: 1.3; }
	.hsplit__text, .cs-card, .split > *, .grid > * { min-width: 0; }
}

/* Footer: 2 columns on tablets so long translated links never overflow */
.site-footer__grid > * { min-width: 0; }
.site-footer .mod-menu a { overflow-wrap: break-word; }
@media (max-width: 1000px) and (min-width: 751px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.site-footer__brand { grid-column: 1 / -1; }
}
