/* ==========================================================================
   ATV Media Pro – main stylesheet
   Brand colours come from the ATV Media logo (orange · blue · green).
   ========================================================================== */

:root {
	--bg: #090b16;
	--bg-2: #0d1021;
	--bg-3: #070912;
	--surface: #12162e;
	--surface-2: #181d3b;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .14);
	--text: #f4f5fa;
	--muted: #a3a8c6;
	--dim: #6f7598;

	--orange: #f7941d;
	--amber: #f3b723;
	--blue: #21409a;
	--sky: #4399d1;
	--green: #0b6e3b;
	--emerald: #10a866;

	--g-orange: linear-gradient(135deg, #f7941d 0%, #f3b723 100%);
	--g-blue: linear-gradient(135deg, #21409a 0%, #4399d1 100%);
	--g-green: linear-gradient(135deg, #0b6e3b 0%, #10a866 100%);
	--g-brand: linear-gradient(90deg, #f7941d 0%, #f3b723 32%, #4399d1 66%, #10a866 100%);

	--radius: 22px;
	--radius-sm: 14px;
	--container: 1200px;
	--header-h: 84px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #1b1203; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--orange); color: #1b1203; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* Gradient emphasis inside headings */
h1 em, h2 em, h3 em {
	font-style: normal;
	background: var(--g-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--amber);
}
.eyebrow__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--g-orange);
	box-shadow: 0 0 0 4px rgba(247, 148, 29, .16);
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn__arrow { display: inline-flex; transition: transform .25s var(--ease); }
.btn__arrow .icon { width: 18px; height: 18px; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--g-orange); color: #1b1203; box-shadow: 0 10px 30px -10px rgba(247, 148, 29, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(247, 148, 29, .85); color: #1b1203; }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.btn--link { padding: 8px 0; color: var(--amber); }
.btn--link:hover { color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--header-h);
	transition: background .3s, border-color .3s, height .3s, backdrop-filter .3s;
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled {
	background: rgba(9, 11, 22, .82);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	border-bottom-color: var(--line);
	--header-h: 72px;
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.atv-logo { display: inline-flex; align-items: center; flex: none; }
.site-header__logo .atv-logo__img { height: 46px; width: auto; transition: height .3s; }
.site-header.is-scrolled .site-header__logo .atv-logo__img { height: 40px; }

.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 6px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; color: rgba(244, 245, 250, .82);
}
.main-nav .menu a:hover,
.main-nav .menu .current-menu-item > a,
.main-nav .menu .current-menu-ancestor > a,
.main-nav .menu .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav .menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.main-nav .sub-menu {
	list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
	padding: 8px; border-radius: 16px; background: rgba(18, 22, 46, .97); border: 1px solid var(--line-2);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 10px; padding: 10px 14px; }
.main-nav__cta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2);
	background: rgba(255, 255, 255, .04); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--platforms { overflow: hidden; }
.section--cta { padding: 40px 0 110px; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(32px, 4.2vw, 52px); }
.section-text { font-size: 18px; color: var(--muted); margin: 0; }
.split__copy .section-text { margin-bottom: 1em; }

/* ---------- Hero (home) ---------- */
.hero {
	position: relative; overflow: hidden;
	min-height: min(100vh, 940px);
	display: flex; align-items: center;
	padding: calc(var(--header-h) + 60px) 0 90px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__blob--orange { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(247, 148, 29, .75), rgba(243, 183, 35, 0) 70%); animation: drift 18s ease-in-out infinite; }
.hero__blob--blue { width: 560px; height: 560px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(67, 153, 209, .7), rgba(33, 64, 154, 0) 70%); animation: drift 22s ease-in-out infinite reverse; }
.hero__blob--green { width: 380px; height: 380px; left: 38%; top: 50%; background: radial-gradient(circle, rgba(16, 168, 102, .45), rgba(16, 168, 102, 0) 70%); animation: drift 26s ease-in-out infinite; }
.hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	opacity: .55;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 24px; }
.hero__text { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--emerald); width: 18px; height: 18px; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; margin-left: auto; }
.hero__mark { position: absolute; inset: 18%; width: 64%; height: 64%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(247, 148, 29, .35)); animation: float 7s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.orbit--1 { inset: 4%; animation: spin 60s linear infinite; }
.orbit--2 { inset: 14%; border-style: solid; border-color: rgba(255, 255, 255, .06); }
.orbit--3 { inset: -6%; border-color: rgba(67, 153, 209, .16); animation: spin 90s linear infinite reverse; }
.orbit--1::after, .orbit--3::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; top: 50%; left: -6px; background: var(--g-orange); box-shadow: 0 0 18px rgba(247, 148, 29, .9); }
.orbit--3::after { background: var(--g-green); box-shadow: 0 0 18px rgba(16, 168, 102, .9); left: auto; right: -6px; top: 30%; }

.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px;
	padding: 12px 18px 12px 12px; border-radius: 18px;
	background: rgba(18, 22, 46, .72); border: 1px solid var(--line-2);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
	font-size: 13px; color: var(--muted); line-height: 1.3;
}
.float-card strong { display: block; color: #fff; font-size: 15px; }
.float-card--a { left: -4%; top: 16%; animation: float 8s ease-in-out infinite .5s; }
.float-card--b { right: -2%; top: 46%; animation: float 9s ease-in-out infinite 1.2s; }
.float-card--c { left: 8%; bottom: 4%; padding-left: 16px; animation: float 7.5s ease-in-out infinite 2s; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 4px; border-radius: 2px; background: var(--g-orange); animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; background: var(--g-blue); }
.eq i:nth-child(3) { animation-delay: .3s; }
.eq i:nth-child(4) { animation-delay: .45s; background: var(--g-green); }
.eq i:nth-child(5) { animation-delay: .6s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 26px; } }

/* ---------- Badge icons ---------- */
.badge-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 56px; height: 56px; border-radius: 16px; color: #fff;
	background: var(--g-orange);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 30px -12px rgba(247, 148, 29, .6);
}
.badge-icon .icon { width: 26px; height: 26px; }
.badge-icon--blue { background: var(--g-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 30px -12px rgba(67, 153, 209, .6); }
.badge-icon--green { background: var(--g-green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 30px -12px rgba(16, 168, 102, .6); }
.badge-icon--orange .icon { color: #2a1903; }
.badge-icon--sm { width: 42px; height: 42px; border-radius: 12px; }
.badge-icon--sm .icon { width: 20px; height: 20px; }
.badge-icon--lg { width: 72px; height: 72px; border-radius: 20px; }
.badge-icon--lg .icon { width: 34px; height: 34px; }

/* ---------- Marquee / chips ---------- */
.marquee {
	position: relative; overflow: hidden; padding: 6px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { list-style: none; display: flex; gap: 14px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.chip {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 16px 26px; border-radius: 999px; white-space: nowrap;
	background: var(--surface); border: 1px solid var(--line);
	font-weight: 700; font-size: 17px; letter-spacing: -.01em;
}
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand, var(--orange)); box-shadow: 0 0 14px var(--brand, var(--orange)); }
.chip--more { color: var(--amber); letter-spacing: .12em; font-size: 13px; }
.section--platforms .center { margin-top: 32px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-grid--two { grid-template-columns: repeat(2, 1fr); }
.service-card {
	position: relative; display: flex; flex-direction: column; gap: 18px;
	padding: 34px 32px; border-radius: 26px; overflow: hidden;
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--g-orange); opacity: .9; }
.service-card--blue::before { background: var(--g-blue); }
.service-card--green::before { background: var(--g-green); }
.service-card::after {
	content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 148, 29, .22), transparent 70%); opacity: 0; transition: opacity .35s;
}
.service-card--blue::after { background: radial-gradient(circle, rgba(67, 153, 209, .25), transparent 70%); }
.service-card--green::after { background: radial-gradient(circle, rgba(16, 168, 102, .25), transparent 70%); }
.service-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.service-card:hover::after { opacity: 1; }
.service-card__num { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--dim); }
.service-card__title { font-size: 26px; margin: 4px 0 0; }
.service-card__text { color: var(--muted); margin: 0; flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--amber); font-size: 15px; }
.service-card__link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-card:hover .service-card__link .icon, .post-card:hover .service-card__link .icon { transform: translateX(4px); }

/* ---------- Split / stats ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0; }
.section--dark > .container > .stats { grid-template-columns: repeat(4, 1fr); }
.stat {
	padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
	position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--g-orange); }
.stat--blue::before { background: var(--g-blue); }
.stat--green::before { background: var(--g-green); }
.stat__value {
	font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
	background: linear-gradient(180deg, #fff, #c9cde4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { margin: 8px 0 0; color: var(--muted); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px;
	background: var(--bg); border: 1px solid var(--line-2); font-weight: 800; color: var(--amber);
	box-shadow: 0 0 0 6px var(--bg-2);
}
.steps--blue .step__num { color: var(--sky); }
.steps--green .step__num { color: var(--emerald); }
.step__icon { display: block; color: var(--muted); margin: -6px auto 12px; }
.step__icon .icon { width: 26px; height: 26px; }
.step__title { font-size: 21px; margin-bottom: 8px; }
.step__text { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 22px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature {
	padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
	transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature .badge-icon { margin-bottom: 22px; }
.feature__title { font-size: 19px; margin-bottom: 8px; letter-spacing: -.015em; }
.feature__text { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative; overflow: hidden; border-radius: 34px; padding: 72px 64px;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(247, 148, 29, .28), transparent 70%),
		radial-gradient(500px 300px at 0% 100%, rgba(67, 153, 209, .25), transparent 70%),
		linear-gradient(135deg, #151a38, #0e1124);
	border: 1px solid var(--line-2);
}
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--g-brand); }
.cta-band__copy { position: relative; max-width: 620px; }
.cta-band__title { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 14px; }
.cta-band__text { color: var(--muted); font-size: 18px; margin: 0; }
.cta-band__art { position: absolute; right: -40px; bottom: -70px; width: 420px; opacity: .9; transform: rotate(-8deg); }
.cta-band__art img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 90px) 0 80px; border-bottom: 1px solid var(--line); }
.page-hero__glow {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(700px 420px at 85% 10%, rgba(247, 148, 29, .26), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(67, 153, 209, .16), transparent 70%);
}
.page-hero--blue .page-hero__glow {
	background:
		radial-gradient(700px 420px at 85% 10%, rgba(67, 153, 209, .3), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(247, 148, 29, .14), transparent 70%);
}
.page-hero--green .page-hero__glow {
	background:
		radial-gradient(700px 420px at 85% 10%, rgba(16, 168, 102, .28), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(67, 153, 209, .16), transparent 70%);
}
.page-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px; opacity: .4;
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-hero__copy { max-width: 820px; }
.page-hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.04em; margin-bottom: 20px; }
.page-hero__text { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.page-hero__badge { width: 148px; height: 148px; border-radius: 40px; transform: rotate(-6deg); }
.page-hero__badge .icon { width: 68px; height: 68px; }
.page-hero--center .page-hero__inner { justify-content: center; text-align: center; }
.page-hero--center .page-hero__text { margin: 0 auto; }
.page-hero--center .btn-row { justify-content: center; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.error-code {
	font-size: clamp(100px, 18vw, 200px); font-weight: 800; line-height: 1; margin: 0 0 10px; letter-spacing: -.06em;
	background: var(--g-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Services page rows ---------- */
.service-rows { display: grid; gap: 28px; }
.service-row {
	display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start;
	padding: 48px; border-radius: 30px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
	position: relative; overflow: hidden;
}
.service-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--g-orange); }
.service-row--blue::before { background: var(--g-blue); }
.service-row--green::before { background: var(--g-green); }
.service-row__head .service-card__num { display: block; margin: 22px 0 10px; }
.service-row__title { font-size: clamp(28px, 3vw, 38px); }
.service-row__text { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.checklist .icon { color: var(--emerald); margin-top: 3px; }
.checklist strong { display: block; font-size: 16.5px; margin-bottom: 2px; }
.checklist span { color: var(--muted); font-size: 15px; }
.checklist strong { color: var(--text); }

/* ---------- Platform grid ---------- */
.platform-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.platform-tile {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-radius: 20px;
	background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s;
}
.platform-tile::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 120px; height: 120px; border-radius: 50%; background: var(--brand); opacity: .08; transition: opacity .3s; }
.platform-tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.platform-tile:hover::after { opacity: .2; }
.platform-tile__mark {
	position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 19px; color: #0b0d18; background: var(--brand);
}
.platform-tile__name { font-weight: 700; font-size: 16.5px; }
.platform-tile--more .platform-tile__mark { background: var(--g-brand); }

/* ---------- Contact / forms ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-layout--reverse { grid-template-columns: 1.15fr .85fr; }
.contact-info__title { font-size: clamp(28px, 3vw, 38px); }
.info-cards { list-style: none; display: grid; gap: 14px; margin: 28px 0; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); line-height: 1.5; }
.info-card small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); font-weight: 700; margin-bottom: 2px; }
.info-card a { font-weight: 600; }
.info-card a:hover { color: var(--amber); }
.perk-list { list-style: none; display: grid; gap: 16px; margin: 24px 0; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk strong { display: block; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 15px; }
.perk span strong { color: var(--text); font-size: 16px; }

.form-card {
	position: relative; padding: 40px; border-radius: 28px;
	background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.form-card::before { content: ""; position: absolute; inset: 0 28px auto; height: 2px; background: var(--g-brand); border-radius: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.field label b { color: var(--orange); font-weight: 700; }
.field input, .field select, .field textarea,
.form-card--shortcode input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.form-card--shortcode select, .form-card--shortcode textarea,
.search-form input[type=search], .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; padding: 14px 16px; border-radius: 14px;
	background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text);
	transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field textarea, .form-card--shortcode textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus,
.form-card--shortcode input:focus, .form-card--shortcode textarea:focus, .form-card--shortcode select:focus,
.search-form input[type=search]:focus {
	border-color: var(--orange); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(247, 148, 29, .16);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5a6a; box-shadow: 0 0 0 4px rgba(255, 90, 106, .14); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select select option { background: var(--surface); color: var(--text); }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form-legal { margin: 0; color: var(--dim); font-size: 13.5px; max-width: 320px; }
.form-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 24px; font-weight: 500; }
.form-notice--ok { background: rgba(16, 168, 102, .12); border: 1px solid rgba(16, 168, 102, .4); color: #b6f3d6; }
.form-notice--err { background: rgba(255, 90, 106, .1); border: 1px solid rgba(255, 90, 106, .4); color: #ffc2c8; }
.form-notice .icon { margin-top: 2px; }
.form-card--shortcode input[type=submit], .form-card--shortcode button[type=submit], .wpcf7-submit {
	background: var(--g-orange); color: #1b1203; border: 0; border-radius: 999px; padding: 15px 28px; font-weight: 700; cursor: pointer;
}
.wpcf7 form .wpcf7-response-output { border-radius: 14px; margin: 20px 0 0; padding: 14px 16px; }

.map-frame { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); height: 400px; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* ---------- About ---------- */
.about-logo { display: flex; justify-content: center; padding: 48px; border-radius: 30px; background: radial-gradient(circle at 50% 40%, rgba(247, 148, 29, .14), transparent 65%), var(--surface); border: 1px solid var(--line); }
.about-logo .atv-logo { display: flex; justify-content: center; width: 100%; }
.about-logo .atv-logo__img { width: 100%; max-width: 360px; }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.legal-toc__date { font-size: 13px; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.legal-toc ol { list-style: none; counter-reset: t; display: grid; gap: 4px; }
.legal-toc li { counter-increment: t; }
.legal-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); color: var(--amber); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.legal-toc a:hover { background: rgba(255, 255, 255, .05); color: #fff; }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 780px; font-size: 17.5px; line-height: 1.8; color: #d6d9ea; }
.legal-layout .prose, .blank-page .prose { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose .lead { font-size: 20px; color: var(--text); }
.prose h2 { font-size: 30px; margin: 1.8em 0 .5em; color: var(--text); }
.prose h3 { font-size: 23px; margin: 1.6em 0 .5em; color: var(--text); }
.prose h4 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--text); }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote, .wp-block-quote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--orange); font-size: 20px; color: var(--text); }
.prose img, .prose .wp-block-image img { border-radius: 18px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .wp-caption-text { color: var(--dim); font-size: 14px; text-align: center; margin-top: 10px; }
.prose hr, .wp-block-separator { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--text); }
.prose code { background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--surface); padding: 20px; border-radius: 16px; overflow: auto; border: 1px solid var(--line); }
.prose .wp-block-button__link { background: var(--g-orange); color: #1b1203; border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; }
.prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }
.entry-cover { margin: 0 0 48px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.entry-cover img { width: 100%; }
.page-links { margin-top: 2em; display: flex; gap: 8px; }
.tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; margin: 0 6px 6px 0; text-decoration: none; color: var(--muted); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(247, 148, 29, .18), transparent 70%); }
.post-card__placeholder img { width: 30%; height: auto; object-fit: contain; }
.post-card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { color: var(--dim); font-size: 13.5px; font-weight: 600; margin: 0; }
.post-card__title { font-size: 21px; margin: 0; letter-spacing: -.015em; }
.post-card__title a:hover { color: var(--amber); }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.pagination { margin-top: 54px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--g-orange); color: #1b1203; border-color: transparent; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 60px 0 0; padding-top: 30px; border-top: 1px solid var(--line); max-width: 780px; font-weight: 700; }
.post-nav a:hover { color: var(--amber); }
.empty-state { text-align: center; padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.search-form { display: flex; gap: 10px; width: 100%; max-width: 480px; }
.search-form .btn { padding: 0 18px; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; }

/* Comments */
.comments { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: 13px; color: var(--dim); }
.comment-form p { margin-top: 14px; }
.comment-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.comment-form .btn, .comment-form .submit { background: var(--g-orange); color: #1b1203; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--bg-3); border-top: 1px solid var(--line); padding: 90px 0 0; }
.site-footer__glow { position: absolute; width: 700px; height: 400px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(247, 148, 29, .14), transparent 70%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr 1.4fr; gap: 40px; }
.footer-logo .atv-logo__img { width: 150px; }
.footer-brand p { color: var(--muted); margin: 22px 0 22px; max-width: 300px; font-size: 15px; }
.footer-title { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; font-weight: 700; }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-weight: 500; font-size: 15.5px; }
.footer-links a:hover { color: #fff; }
.contact-list { list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.contact-list .icon { color: var(--amber); margin-top: 2px; width: 18px; height: 18px; }
.contact-list a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.social { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--muted); transition: .2s; }
.social:hover { background: var(--g-orange); color: #1b1203; border-color: transparent; transform: translateY(-2px); }
.social .icon { width: 19px; height: 19px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom__tag { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--orange { background: var(--g-orange); }
.dot--blue { background: var(--g-blue); }
.dot--green { background: var(--g-green); margin-right: 6px; }

.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 16px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--g-orange); color: #1b1203; box-shadow: 0 14px 30px -10px rgba(247, 148, 29, .7);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.footer-contact { grid-column: 1 / -1; }
	.feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.site-header__actions .btn { display: none; }
	.site-header__actions { margin-left: auto; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1; margin: 0;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		padding: calc(var(--header-h) + 24px) 24px 40px;
		background: rgba(9, 11, 22, .98);
		-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s var(--ease);
		overflow-y: auto;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	/* backdrop-filter would make the header the containing block of the fixed drawer */
	.nav-open .site-header { background: rgba(9, 11, 22, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav .menu a { font-size: 22px; font-weight: 700; padding: 14px 16px; border-radius: 14px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.main-nav .sub-menu a { font-size: 17px; font-weight: 600; color: var(--muted); padding: 10px 16px; }
	.main-nav .menu .menu-item-has-children > a::after { display: none; }
	.main-nav__cta { display: block; }
	.main-nav__cta .btn { width: 100%; padding: 18px; font-size: 16px; }

	.hero__inner { grid-template-columns: 1fr; gap: 20px; }
	.hero__visual { max-width: 440px; margin: 10px auto 0; }
	.split, .contact-layout, .contact-layout--reverse, .legal-layout { grid-template-columns: 1fr; gap: 44px; }
	.contact-layout--reverse .contact-info { order: 2; }
	.legal-toc { position: static; }
	.service-row { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
	.page-hero__badge { width: 110px; height: 110px; border-radius: 30px; }
	.page-hero__badge .icon { width: 50px; height: 50px; }
}

@media (max-width: 860px) {
	.service-grid, .service-grid--two, .post-grid, .feature-grid--3 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.steps::before { display: none; }
	.section--dark > .container > .stats { grid-template-columns: repeat(2, 1fr); }
	.cta-band { padding: 52px 32px 220px; }
	.cta-band__art { width: 300px; right: 50%; margin-right: -150px; bottom: -110px; }
	.page-hero__badge { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	:root { --header-h: 72px; }
	.container { padding: 0 16px; }
	.section { padding: 76px 0; }
	.section--tight { padding: 48px 0; }
	.section--cta { padding: 20px 0 76px; }
	.section-head { margin-bottom: 38px; }
	.site-header__logo .atv-logo__img { height: 38px; }
	.hero { padding-top: calc(var(--header-h) + 36px); min-height: 0; }
	.btn-row .btn { flex: 1 1 auto; }
	.float-card { font-size: 12px; padding: 9px 12px 9px 9px; border-radius: 14px; }
	.float-card strong { font-size: 13px; }
	.float-card .badge-icon--sm { width: 32px; height: 32px; border-radius: 10px; }
	.float-card--a { left: 0; }
	.float-card--b { right: 0; }
	.feature-grid--4, .form-grid, .stats, .section--dark > .container > .stats { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stat { padding: 22px 18px; }
	.steps { grid-template-columns: 1fr; }
	.service-card { padding: 28px 24px; }
	.service-row { padding: 28px 22px; }
	.form-card { padding: 28px 20px; border-radius: 22px; }
	.form-foot .btn { width: 100%; }
	.chip { padding: 12px 20px; font-size: 15px; }
	.page-hero { padding: calc(var(--header-h) + 50px) 0 56px; }
	.map-frame { height: 300px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
