/* Telmato — home page sections (front page only). */
/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff; isolation: isolate;
	background:
		radial-gradient(60% 70% at 15% 20%, rgb(22 104 220 / .45), transparent 60%),
		radial-gradient(50% 60% at 85% 90%, rgb(245 158 11 / .14), transparent 60%),
		linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
	padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
}
.hero::after { /* subtle grid */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
	background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }

.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); font-size: var(--fs-xs); color: #d6e6fb; margin-bottom: 18px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgb(245 158 11 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(245 158 11 / 0); } 100% { box-shadow: 0 0 0 0 rgb(245 158 11 / 0); } }

.hero__title { font-size: var(--fs-3xl); line-height: 1.3; margin-bottom: 16px; letter-spacing: -.015em; }
.hero__title-accent { display: block; background: linear-gradient(90deg, #7cc4ff, #f5c26b); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Rotating headline (keyframes are printed by hero.php for the slide count). */
.hero__slides { display: grid; margin-bottom: 16px; }
.hero__slides .hero__title { grid-area: 1 / 1; margin: 0; }
.hero__slide { animation: heroSlide calc(var(--slides) * var(--slide-s)) cubic-bezier(.4, 0, .2, 1) infinite both; animation-delay: calc((var(--i) - var(--slides)) * var(--slide-s)); will-change: opacity, transform; }
.hero__slide:not(:first-child) { opacity: 0; }
.hero__slides:hover .hero__slide, .hero__slides:hover .hero__dots i { animation-play-state: paused; }
.hero__dots { grid-area: 2 / 1; display: flex; gap: 6px; margin-top: 14px; }
.hero__dots i { width: 22px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #7cc4ff, #f5c26b); opacity: .35; transform-origin: right; animation: heroDot calc(var(--slides) * var(--slide-s)) ease infinite both; animation-delay: calc((var(--i) - var(--slides)) * var(--slide-s)); }
@media (prefers-reduced-motion: reduce) {
	.hero__slide, .hero__dots i { animation: none; }
	.hero__slide:not(:first-child), .hero__dots { display: none; }
}
.hero__text { color: #c4d4ea; font-size: var(--fs-lg); max-width: 54ch; margin-bottom: 24px; }
.hero .search-form { border-color: transparent; box-shadow: var(--shadow-lg); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 28px; font-size: var(--fs-xs); }
.hero__tags a { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); color: #d6e6fb; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.hero__tags a:hover { background: rgb(255 255 255 / .14); color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; aspect-ratio: 520 / 420; max-width: 560px; width: 100%; margin-inline: auto; }
.bridge { width: 100%; height: 100%; }
.node {
	position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
	background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(6px); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
}
.node .icon { width: 16px; height: 16px; }
.node--home { bottom: 4%; right: 0; color: #fde7bd; }
.node--home .icon { color: var(--c-accent); }
.node--world { bottom: 4%; left: 0; color: #d2e9ff; }
.node--world .icon { color: #7cc4ff; }
.hero__brands { list-style: none; position: absolute; inset: 0; pointer-events: none; }
.hero__brands li {
	position: absolute; padding: 6px 12px; border-radius: 12px; font-size: var(--fs-xs); font-weight: 700; direction: ltr;
	background: rgb(9 22 42 / .75); border: 1px solid rgb(124 196 255 / .28); color: #e6f1ff; box-shadow: 0 10px 24px -12px #000;
	animation: float 6s ease-in-out infinite;
}
.hero__brands li:nth-child(1) { top: 6%; left: 40%; }
.hero__brands li:nth-child(2) { top: 18%; left: 12%; animation-delay: -1s; }
.hero__brands li:nth-child(3) { top: 18%; right: 12%; animation-delay: -2s; }
.hero__brands li:nth-child(4) { top: 40%; left: 2%; animation-delay: -3s; }
.hero__brands li:nth-child(5) { top: 40%; right: 2%; animation-delay: -4s; }
.hero__brands li:nth-child(6) { top: 50%; left: 40%; animation-delay: -1.5s; }
.hero__brands li:nth-child(7) { top: 60%; left: 20%; animation-delay: -2.5s; }
.hero__brands li:nth-child(8) { top: 60%; right: 20%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
/* Hero world map (background) */
.hero__map {
	position: absolute; z-index: -1; pointer-events: none;
	width: var(--map-w, 115%); left: var(--map-l, -25%); top: 50%; aspect-ratio: 1200 / 630;
	transform: translateY(-50%);
	-webkit-mask-image: radial-gradient(70% 75% at 50% 48%, #000 55%, transparent 100%);
	mask-image: radial-gradient(70% 75% at 50% 48%, #000 55%, transparent 100%);
}
.hero--map::after { opacity: .25; }
.hero--map .hero__visual { visibility: hidden; } /* the map is the visual; the column keeps its place */
.worldmap { display: block; width: 100%; height: 100%; opacity: .9; }
.route__line { stroke: url(#tmRoute); stroke-width: 1.4; stroke-opacity: .45; }
.route__flow { stroke: #9ad6ff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 14; animation: route-flow var(--flow, 1.6s) linear infinite; opacity: .7; }
.route__dot { fill: #7cc4ff; filter: drop-shadow(0 0 4px #7cc4ff); }
.route__label { fill: #cfe6ff; font-size: 13px; font-weight: 700; direction: rtl; unicode-bidi: plaintext; paint-order: stroke; stroke: #071a33; stroke-width: 4px; stroke-linejoin: round; }
.coin circle { fill: #f5b544; stroke: #ffe3a6; stroke-width: 1.5; filter: drop-shadow(0 0 6px rgb(245 181 68 / .9)); }
.coin text { fill: #3b2500; font: 800 12px/1 Tahoma, Arial, sans-serif; text-anchor: middle; }
.hub__dot { fill: #f5b544; }
.hub__ring { stroke: #f5b544; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hub-ring 2.4s ease-out infinite; }
.hub__label { fill: #ffe3a6; font-size: 15px; font-weight: 800; text-anchor: middle; paint-order: stroke; stroke: #071a33; stroke-width: 4px; }
@keyframes route-flow { to { stroke-dashoffset: -32; } }
@keyframes hub-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
/* Readability: soft scrim behind the copy column */
.hero--map .hero__copy { position: relative; }
.hero--map .hero__copy::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgb(7 21 43 / .72), transparent); pointer-events: none; }
@media (min-width: 960px) {
	/* The copy column sits on the right: the map fades to 25% under it. */
	.hero__map {
		--map-w: 100%; --map-l: -14%;
		-webkit-mask-image: linear-gradient(to left, rgb(0 0 0 / .22) 0%, rgb(0 0 0 / .22) 28%, #000 45%, #000 88%, transparent 100%);
		mask-image: linear-gradient(to left, rgb(0 0 0 / .22) 0%, rgb(0 0 0 / .22) 28%, #000 45%, #000 88%, transparent 100%);
	}
}
/* Tablet/mobile: the map gets its own band under the buttons instead of sitting behind the text. */
@media (max-width: 959.98px) {
	.hero--map { padding-bottom: calc(clamp(48px, 7vw, 96px) + 170px); }
	.hero--map .hero__visual { display: none; }
	.hero__map {
		--map-w: 150%; --map-l: -42%; top: auto; bottom: calc(145px - 44.4vw); transform: none;
		-webkit-mask-image: linear-gradient(to bottom, transparent 22%, #000 46%, #000 88%, transparent);
		mask-image: linear-gradient(to bottom, transparent 22%, #000 46%, #000 88%, transparent);
	}
}
@media (max-width: 560px) {
	.hero--map { padding-bottom: 250px; }
	.hero__map { --map-w: 300%; --map-l: -133%; bottom: calc(135px - 88.8vw); }
	.route__label { font-size: 17px; }
	.hub__label { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.coin, .hub__ring { display: none; }
	.route__flow { animation: none; }
}

@media (max-width: 959.98px) {
	.hero__visual { max-width: 420px; }
	.hero__brands li:nth-child(n+7) { display: none; }
}
@media (max-width: 560px) { .hero__visual { display: none; } }

/* ---------- Trust strip ---------- */
.trust { margin-top: -28px; position: relative; z-index: 2; }
.trust__list {
	list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
	background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--c-surface); }
.trust__item strong { display: block; font-size: var(--fs-sm); }
.trust__item small { display: block; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.6; }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-primary-50); color: var(--c-primary); flex: none; }
.trust__icon .icon { width: 22px; height: 22px; }

/* ---------- Service categories ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.service-card {
	display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--c-surface);
	border: 1px solid var(--c-border); color: var(--c-text); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.service-card:hover { color: var(--c-text); border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--c-primary-50), var(--c-primary-100)); color: var(--c-primary); margin-bottom: 8px; overflow: hidden; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__icon img { width: 32px; height: 32px; object-fit: contain; }
.service-card__title { font-weight: 700; font-size: var(--fs-lg); }
.service-card__text { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.7; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font-size: var(--fs-xs); color: var(--c-muted); }
.service-card__arrow { color: var(--c-primary); transition: transform .2s var(--ease); }
.service-card:hover .service-card__arrow { transform: translateX(-4px); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; padding: 4px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-pill); width: fit-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 8px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--c-muted); white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { color: var(--c-text); }
.tab[aria-selected="true"] { background: var(--c-surface); color: var(--c-primary); box-shadow: var(--shadow-sm); }

/* ---------- Category bento (services) ---------- */
.cats { background: var(--c-surface); }
.cats__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 26px; }
.cats__personas { margin: 0; }
.cats__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); }
.cat-card { --t: #1668dc; --t2: #5aa2ff; --tb: #eef5ff; min-width: 0; }
.cat-card--violet { --t: #7c3aed; --t2: #a78bfa; --tb: #f4effe; }
.cat-card--emerald { --t: #059669; --t2: #34d399; --tb: #ebfaf3; }
.cat-card--amber { --t: #d97706; --t2: #fbbf24; --tb: #fff7e8; }
.cat-card--rose { --t: #e11d48; --t2: #fb7185; --tb: #fff0f3; }
.cat-card--cyan { --t: #0891b2; --t2: #22d3ee; --tb: #eafaff; }
.cat-card--indigo { --t: #4f46e5; --t2: #818cf8; --tb: #f0f1ff; }
.cat-card--orange { --t: #ea580c; --t2: #fb923c; --tb: #fff3eb; }
.cat-card__link {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px; overflow: hidden; isolation: isolate;
	border-radius: 22px; color: var(--c-text); background: var(--tb); border: 1px solid color-mix(in srgb, var(--t) 14%, transparent);
	transition: transform .25s var(--ease, ease), box-shadow .25s, border-color .25s;
}
.cat-card__link::before { /* soft colour blob */
	content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; inset-inline-end: -50px; top: -60px; border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--t2) 45%, transparent), transparent 70%); transition: transform .4s;
}
.cat-card__link:hover { color: var(--c-text); transform: translateY(-4px); border-color: color-mix(in srgb, var(--t) 40%, transparent); box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--t) 80%, transparent); }
.cat-card__link:hover::before { transform: scale(1.25); }
.cat-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--t), var(--t2)); box-shadow: 0 10px 20px -10px var(--t); overflow: hidden; }
.cat-card__icon .icon { width: 24px; height: 24px; }
.cat-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.cat-card__count { padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--t); font-size: 12px; font-weight: 800; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.cat-card__title { font-size: 15.5px; line-height: 1.7; font-weight: 800; }
.cat-card__text { font-size: 12.5px; line-height: 1.85; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.cat-card__avatars { display: flex; }
.cat-card__avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .12); }
.cat-card__avatars img + img { margin-inline-start: -10px; }
.cat-card__avatars img.is-logo { object-fit: contain; padding: 4px; }
.cat-card__popular { font-size: 12px; font-weight: 700; color: var(--t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cat-card__go { display: grid; place-items: center; width: 34px; height: 34px; margin-inline-start: auto; flex: none; border-radius: 50%; background: #fff; color: var(--t); transition: background .2s, color .2s, transform .2s; }
.cat-card__go .icon { width: 17px; height: 17px; }
.cat-card__link:hover .cat-card__go { background: var(--t); color: #fff; transform: translateX(-3px); }
/* Large first tile */
.cat-card--hero { grid-column: span 2; grid-row: span 2; }
.cat-card--wide { grid-column: span 2; }
.cat-card--hero .cat-card__link { padding: 26px; gap: 12px; color: #fff; border: 0; background: linear-gradient(140deg, var(--t) 0%, color-mix(in srgb, var(--t) 70%, #0b1b33) 100%); }
.cat-card--hero .cat-card__link:hover { color: #fff; }
.cat-card--hero .cat-card__link::before { width: 320px; height: 320px; inset-inline-end: -90px; top: -110px; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 70%); }
.cat-card--hero .cat-card__link::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .35; background-image: radial-gradient(rgb(255 255 255 / .35) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(200deg, #000 10%, transparent 60%); }
.cat-card--hero .cat-card__icon { width: 64px; height: 64px; border-radius: 20px; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.cat-card--hero .cat-card__icon .icon { width: 32px; height: 32px; }
.cat-card--hero .cat-card__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.cat-card--hero .cat-card__text { color: rgb(255 255 255 / .82); font-size: var(--fs-sm); -webkit-line-clamp: 3; max-width: 46ch; }
.cat-card--hero .cat-card__avatars img { width: 46px; height: 46px; border-color: rgb(255 255 255 / .9); }
.cat-card--hero .cat-card__avatars img + img { margin-inline-start: -14px; }
.cat-card--hero .cat-card__popular { color: #fff; background: rgb(255 255 255 / .14); padding: 6px 12px; border-radius: 99px; }
.cat-card--hero .cat-card__go { width: 44px; height: 44px; color: var(--t); }
@media (max-width: 1023.98px) {
	.cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-card--hero { grid-row: span 1; }
}

/* ---------- Service hub (all pillars, popular first) ---------- */
.hub { background: linear-gradient(180deg, var(--c-surface), var(--c-bg)); }
.hub__head { text-align: center; margin: 0 auto 22px; max-width: 720px; }
.hub__head .kicker { justify-content: center; }
.hub__head .section-lead { margin-inline: auto; }
.hub__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 22px; }
.hub-tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; cursor: pointer;
	background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text);
	font: inherit; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.hub-tab .icon { width: 20px; height: 20px; color: var(--c-primary); }
.hub-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hub-tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 22px -12px rgb(22 104 220 / .8); }
.hub-tab[aria-selected="true"] .icon { color: #fff; }
.hub-tab--link { border-style: dashed; }
.hub-tab--link .icon { color: var(--c-accent); }
.hub__panel { padding: 18px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.hub__panel[hidden] { display: none; }
.hub__info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.hub__text { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); flex: 1 1 280px; }
.hub__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hub__chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-text); font-size: 12.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.hub__chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hub__chips small { color: var(--c-muted); font-size: 11px; }
.hub__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hub-tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px; border-radius: 16px; border: 1px solid #e8edf4; background: #fff; color: var(--c-text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hub-tile:hover { color: var(--c-text); border-color: color-mix(in srgb, var(--c-primary) 45%, #e8edf4); box-shadow: 0 12px 24px -18px rgb(22 104 220 / .6); transform: translateY(-2px); }
.hub-tile__logo { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--c-primary-50); color: var(--c-primary); }
.hub-tile__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-tile__logo.is-logo { background: #fff; border: 1px solid #edf1f6; padding: 8px; }
.hub-tile__logo.is-logo img { object-fit: contain; }
.hub-tile__logo .icon { width: 24px; height: 24px; }
.hub-tile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hub-tile__body strong { font-size: 13.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.hub-tile:hover strong { color: var(--c-primary); }
.hub-tile__body small { font-size: 12px; color: var(--c-muted); }
.hub-tile__body small .amount { color: #0b5cad; font-weight: 800; }
.hub-tile__body small .woocommerce-Price-currencySymbol { font-size: .85em; font-weight: 600; }
.hub__all { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 14px auto 0; padding: 9px 18px; border-radius: 12px; background: var(--c-primary-50); color: var(--c-primary); font-size: var(--fs-sm); font-weight: 700; }
.hub__all:hover { background: var(--c-primary); color: #fff; }
.hub__all .icon { width: 16px; height: 16px; }
@media (max-width: 1023.98px) { .hub__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Dark variant (hub2) */
.hub--dark {
	position: relative; isolation: isolate; color: #fff;
	background:
		radial-gradient(50% 70% at 90% 0%, rgb(22 104 220 / .42), transparent 60%),
		radial-gradient(45% 70% at 5% 100%, rgb(124 58 237 / .22), transparent 60%),
		linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
.hub--dark .kicker { color: #7cb6ff; }
.hub--dark .section-title { color: #fff; }
.hub--dark .section-lead, .hub--dark .hub__text { color: #b9c9df; }
.hub--dark .hub-tab { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); color: #e6eef9; }
.hub--dark .hub-tab .icon { color: #7cb6ff; }
.hub--dark .hub-tab:hover { border-color: #7cb6ff; color: #fff; }
.hub--dark .hub-tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 26px -10px rgb(22 104 220 / .9); }
.hub--dark .hub-tab[aria-selected="true"] .icon { color: #fff; }
.hub--dark .hub__panel { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); box-shadow: none; }
.hub--dark .hub__chips a { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); color: #e6eef9; }
.hub--dark .hub__chips small { color: #94a8c4; }
.hub--dark .hub-tile { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .1); color: #fff; }
.hub--dark .hub-tile:hover { color: #fff; background: rgb(255 255 255 / .1); border-color: rgb(124 182 255 / .6); box-shadow: 0 14px 28px -18px rgb(0 0 0 / .8); }
.hub--dark .hub-tile:hover strong { color: #9cc8ff; }
.hub--dark .hub-tile__logo { background: rgb(255 255 255 / .08); }
.hub--dark .hub-tile__logo.is-logo { background: #fff; border-color: transparent; }
.hub--dark .hub-tile__body small { color: #94a8c4; }
.hub--dark .hub-tile__body small .amount { color: #fbbf24; }
.hub--dark .hub__all { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .16); }
.hub--dark .hub__all:hover { background: var(--c-primary); border-color: var(--c-primary); }

/* ---------- «پیشنهاد تلماتو» product rows ---------- */
.picks--a { background: var(--c-surface); }
.picks--b { background: linear-gradient(180deg, var(--c-bg), #eef4ff); border-block: 1px solid var(--c-border); }
.picks__slider.r-slider { --per: 4; --gap: 16px; }
.picks__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 22px; }
.picks__intro { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1 1 420px; }
.picks__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--c-primary), #3b8cff); color: #fff; box-shadow: 0 12px 24px -14px rgb(22 104 220 / .9); }
.picks__icon .icon { width: 26px; height: 26px; }
.picks__intro .kicker { margin-bottom: 2px; }
.picks__intro .section-title { font-size: var(--fs-xl); }
.picks__intro .section-lead { font-size: var(--fs-sm); margin-top: 4px; }
.picks__tools { display: flex; align-items: center; gap: 8px; }
.picks__tools .link-arrow { margin-inline-start: 8px; }
.picks__track { padding-block: 4px 10px; }
.picks__track > li { min-width: 0; scroll-snap-align: start; }
.picks__track .p-card { height: 100%; }
.picks__nav { margin-top: 12px; }
@media (max-width: 1199.98px) { .picks__slider.r-slider { --per: 3; } }
@media (max-width: 899.98px) { .picks__slider.r-slider { --per: 2; } }

/* ---------- Cash out & bank transfers ---------- */
.cashout {
	position: relative; isolation: isolate; color: #fff; overflow: hidden;
	background:
		radial-gradient(50% 80% at 8% 15%, rgb(245 158 11 / .20), transparent 60%),
		radial-gradient(55% 80% at 95% 90%, rgb(22 104 220 / .38), transparent 60%),
		linear-gradient(160deg, #0b1b33 0%, #0f2a4d 100%);
}
.cashout::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }
.cashout__grid { display: grid; gap: 28px 48px; align-items: center; }
@media (min-width: 960px) { .cashout__grid { grid-template-columns: .9fr 1.1fr; } }
.cashout .kicker { color: #fbbf24; }
.cashout .section-title { color: #fff; }
.cashout__text { color: #c4d4ea; margin: 12px 0 18px; line-height: 2; max-width: 56ch; }
.cashout__points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.cashout__points li { display: flex; align-items: center; gap: 10px; color: #e6eef9; font-size: var(--fs-sm); font-weight: 600; }
.cashout__points .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgb(34 197 94 / .18); color: #4ade80; }
.cashout__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cashout__actions .btn .icon { width: 18px; height: 18px; }
.cashout__ghost { --btn-bg: rgb(255 255 255 / .08); --btn-fg: #fff; border: 1px solid rgb(255 255 255 / .22); }
.cashout__ghost:hover { --btn-bg: rgb(255 255 255 / .16); }
.cashout__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cash-card {
	display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; border-radius: 18px; color: #fff;
	background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s;
}
.cash-card:hover { color: #fff; background: rgb(255 255 255 / .11); border-color: rgb(251 191 36 / .55); transform: translateY(-2px); }
.cash-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1b1203; }
.cash-card__icon .icon { width: 24px; height: 24px; }
.cash-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cash-card__body strong { font-size: 15px; line-height: 1.6; }
.cash-card__body small { font-size: 12.5px; line-height: 1.7; color: #b4c6de; }
.cash-card__go { flex: none; width: 18px; height: 18px; color: #7f95b3; transition: transform .2s, color .2s; }
.cash-card:hover .cash-card__go { color: #fbbf24; transform: translateX(-3px); }

/* ---------- Steps ---------- */
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step:last-child .step__num { background: var(--c-accent); color: #1b1203; }
.step__title { font-size: var(--fs-lg); margin-bottom: 6px; }
.step__text { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
@media (min-width: 900px) {
	.step:not(:last-child)::after {
		content: ""; position: absolute; top: 44px; inset-inline-end: -14px; width: 12px; height: 2px; background: var(--c-border);
	}
}

/* ---------- FAQ ---------- */
.faq--dark {
	position: relative; isolation: isolate; color: #fff;
	background:
		radial-gradient(55% 80% at 90% 10%, rgb(22 104 220 / .40), transparent 60%),
		radial-gradient(45% 70% at 5% 95%, rgb(245 158 11 / .12), transparent 60%),
		linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
.faq--dark .section-title { color: #fff; }
.faq--dark .kicker { color: #7cb6ff; }
.faq--dark .faq__item { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .12); }
.faq--dark .faq__item:hover { border-color: rgb(255 255 255 / .24); }
.faq--dark .faq__item[open] { background: rgb(255 255 255 / .09); border-color: rgb(124 182 255 / .5); box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.faq--dark .faq__item summary { color: #fff; }
.faq--dark .faq__item summary .icon { color: #9fb3cf; }
.faq--dark .faq__item[open] summary .icon { color: #7cb6ff; }
.faq--dark .faq__item p { color: #c4d4ea; }
.faq__grid { display: grid; gap: 24px 48px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .7fr 1.3fr; align-items: start; } .faq__grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 700; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 18px; height: 18px; color: var(--c-muted); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--c-primary); }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px);
	border-radius: var(--r-lg); color: #fff; position: relative; overflow: hidden;
	background: radial-gradient(60% 120% at 0% 0%, rgb(245 158 11 / .22), transparent 60%), linear-gradient(135deg, var(--c-navy), var(--c-primary-600));
}
.cta__title { font-size: var(--fs-xl); margin-bottom: 6px; }
.cta__text { color: #c4d4ea; margin: 0; }

/* ---------- Compact mobile layout (home copy: must load after the home base rules) ---------- */
@media (max-width: 600px) {
	.section { padding-block: 44px; }
	.product-grid, .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.p-card { border-radius: var(--r); }
	.p-card__body { padding: 10px 12px 12px; }
	.p-card__title { font-size: var(--fs-sm); }
	.p-card__meta span:not(.p-card__rating) { display: none; }
	.p-card__foot { padding-top: 8px; }
	.p-card__foot .btn { display: none; }
	.p-card__mono { font-size: 1.05rem; }
	.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.service-card { padding: 14px; border-radius: var(--r); gap: 2px; }
	.service-card__icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }
	.service-card__icon .icon { width: 22px; height: 22px; }
	.service-card__title { font-size: var(--fs-sm); line-height: 1.6; }
	.service-card__text { display: none; }
	.service-card__foot { padding-top: 6px; }
	.steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.step { padding: 16px; border-radius: var(--r); }
	.step__num { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 10px; }
	.step__title { font-size: var(--fs-base); }
	.step__text { font-size: var(--fs-xs); }
	.trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust__item { padding: 12px; gap: 10px; }
	.trust__item small { display: none; }
	.trust__icon { width: 36px; height: 36px; border-radius: 10px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.chips::-webkit-scrollbar { display: none; }
	.chip { white-space: nowrap; }
}

/* ---------- Home rows: phones ---------- */
@media (max-width: 599.98px) {
	.picks__slider.r-slider { --per: 2; --gap: 10px; }
	.picks__slider .picks__track { grid-auto-columns: calc((100vw - var(--gutter) * 2 - 10px) / 2.15); }
	.picks__intro { flex-basis: 100%; }
	.picks__icon { width: 42px; height: 42px; border-radius: 12px; }
	.picks__icon .icon { width: 22px; height: 22px; }
	.picks__tools { width: 100%; justify-content: flex-end; }
	.cashout__cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.cash-card { padding: 12px 14px; border-radius: 16px; }
	.cash-card__icon { width: 40px; height: 40px; border-radius: 12px; }
	.cashout__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 599.98px) {
	.hub__head { text-align: start; }
	.hub__head .kicker { justify-content: flex-start; }
	.hub__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; }
	.hub__tabs::-webkit-scrollbar { display: none; }
	.hub-tab { padding: 9px 13px; border-radius: 12px; }
	.hub__panel { padding: 12px; border-radius: var(--r); }
	.hub__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
	.hub__chips li { flex: none; }
	.hub__grid { gap: 8px; }
	.hub-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 14px; }
	.hub-tile__logo { width: 46px; height: 46px; border-radius: 12px; }
	.hub-tile__body strong { font-size: 13px; }
	.hub__all { width: 100%; }
}
@media (max-width: 599.98px) {
	.cats__grid { gap: 10px; grid-auto-rows: auto; }
	.cat-card__link { padding: 14px; border-radius: 18px; gap: 6px; }
	.cat-card__icon { width: 40px; height: 40px; border-radius: 12px; }
	.cat-card__icon .icon { width: 20px; height: 20px; }
	.cat-card__count { font-size: 11px; padding: 2px 8px; }
	.cat-card__title { font-size: 13.5px; }
	.cat-card:not(.cat-card--hero) .cat-card__text { display: none; }
	.cat-card__avatars img { width: 28px; height: 28px; }
	.cat-card__go { width: 28px; height: 28px; }
	.cat-card--hero .cat-card__link { padding: 18px; }
	.cat-card--hero .cat-card__icon { width: 52px; height: 52px; }
	.cat-card--hero .cat-card__avatars img { width: 38px; height: 38px; }
	.cats__personas { flex-wrap: nowrap; }
}
.worldmap.is-paused * { animation-play-state: paused !important; }

/* Cargo ship carrying dollars: New York → around Africa → Iran (SVG SMIL, no JS). */
.sea__line { stroke: #8fd0ff; stroke-width: 1.2; stroke-dasharray: 1 7; stroke-linecap: round; opacity: .45; fill: none; }
.ship { filter: drop-shadow(0 0 5px rgb(245 181 68 / .55)); }
.ship__wake { fill: #9ad6ff; opacity: .35; }
.ship__hull { fill: #f5b544; stroke: #ffe3a6; stroke-width: 1; }
.ship__box--a { fill: #1f8a4c; }
.ship__box--b { fill: #2fae64; }
.ship__bridge { fill: #fff3d6; }
.ship__usd { fill: #eafff1; font: 800 7px/1 Tahoma, Arial, sans-serif; text-anchor: middle; letter-spacing: 1.6px; }
@media (prefers-reduced-motion: reduce) { .ship { display: none; } }
