/* ==========================================================================
   Aditya Portfolio — main stylesheet
   Colors are overridden from Customizer via inline :root vars.
   ========================================================================== */

:root {
	--color-bg: #080E0C;
	--color-surface: #111C18;
	--color-primary: #42D6A4;
	--color-primary-dark: #0B694F;
	--color-gold: #D9AC66;
	--color-text: #F6F4EE;
	--color-muted: #A7B3AD;
	--color-border: #263A32;

	--container-width: 1280px;
	--radius-card: 16px;
	--radius-button: 10px;

	--font-heading: Georgia, "Times New Roman", serif;
	--font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--font-hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Neue", cursive;

	--surface-2: color-mix(in srgb, var(--color-surface) 70%, var(--color-bg));
	--line: color-mix(in srgb, var(--color-border) 85%, transparent);
	--gold-soft: color-mix(in srgb, var(--color-gold) 14%, transparent);
	--green-soft: color-mix(in srgb, var(--color-primary) 12%, transparent);
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, .65);
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(56px, 8vw, 96px);
	--header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none; z-index: -1;
	background:
		radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--color-gold) 10%, transparent), transparent 60%),
		radial-gradient(800px 600px at -10% 30%, color-mix(in srgb, var(--color-primary-dark) 22%, transparent), transparent 60%),
		var(--color-bg);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--color-text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.ap-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--color-primary); color: var(--color-bg); padding: 10px 16px; border-radius: 8px; }
.ap-skip:focus { left: 16px; }

.ap-container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 var(--gutter); }
.ap-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typography helpers ---------- */
.ap-eyebrow {
	font-family: var(--font-body);
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--color-gold); margin: 0 0 14px; font-weight: 600;
}
.ap-eyebrow--sm { font-size: 11px; margin-bottom: 6px; }
.ap-display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.01em; margin-bottom: 22px; }
.ap-display--sm { font-size: clamp(2rem, 4.2vw, 3rem); }
.ap-hl { color: var(--color-primary); }
.ap-h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); margin-bottom: 16px; }
.ap-h2--sm { font-size: 1.6rem; margin-top: 36px; }
.ap-h3 { font-size: 1.3rem; }
.ap-lead { color: var(--color-muted); font-size: 1.02rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.ap-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.ap-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border-radius: var(--radius-button);
	font-weight: 600; font-size: 15px; line-height: 1.2;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
	white-space: nowrap;
}
.ap-btn:hover { transform: translateY(-2px); }
.ap-btn--primary {
	background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 70%, #fff));
	color: #06231A;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.ap-btn--primary:hover { color: #06231A; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--color-primary) 90%, transparent); }
.ap-btn--gold { border-color: var(--color-gold); color: var(--color-gold); background: var(--gold-soft); }
.ap-btn--gold:hover { background: var(--color-gold); color: #1b1408; }
.ap-btn--ghost { border-color: color-mix(in srgb, var(--color-text) 35%, transparent); color: var(--color-text); background: rgba(255,255,255,.02); }
.ap-btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ap-btn--gold-line { border-color: var(--color-gold); }
.ap-btn--outline { border-color: color-mix(in srgb, var(--color-primary) 55%, transparent); color: var(--color-text); background: color-mix(in srgb, var(--color-primary-dark) 25%, transparent); }
.ap-btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ap-btn--sm { padding: 9px 14px; font-size: 13px; }
.ap-btn--block { width: 100%; }

.ap-link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-primary); font-weight: 600; font-size: 14px; }
.ap-link .ap-icon { transition: transform .2s; }
.ap-link:hover .ap-icon { transform: translateX(3px); }
.ap-link--gold { color: var(--color-gold); }

/* ---------- Header ---------- */
.ap-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--color-bg) 78%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.ap-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--color-bg) 92%, transparent); }
.admin-bar .ap-header { top: 32px; }
.ap-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.ap-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text); }
.ap-logo:hover { color: var(--color-text); }
.ap-logo__text { font-family: var(--font-body); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.ap-logo__accent { color: var(--color-primary); }
.ap-logo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 12px var(--color-primary); }
.ap-logo__img { max-height: 44px; width: auto; }

.ap-nav { margin-left: auto; }
.ap-menu { display: flex; gap: 32px; }
.ap-menu a { position: relative; font-size: 15px; color: var(--color-text); padding: 6px 0; }
.ap-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transition: transform .25s; }
.ap-menu a:hover::after, .ap-menu .current-menu-item > a::after, .ap-menu .current_page_item > a::after { transform: scaleX(1); }
.ap-menu .current-menu-item > a, .ap-menu .current_page_item > a { color: var(--color-text); }
.ap-menu .sub-menu { display: none; }
.ap-nav__mobile-cta { display: none; }
.ap-header__cta { margin-left: 16px; padding: 10px 16px; font-size: 14px; }

.ap-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ap-burger span { width: 20px; height: 2px; background: var(--color-text); transition: transform .25s, opacity .25s; }
.ap-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ap-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ap-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Glows ---------- */
.ap-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0; }
.ap-glow--gold { width: 520px; height: 520px; right: -140px; top: -120px; background: color-mix(in srgb, var(--color-gold) 26%, transparent); }
.ap-glow--green { width: 480px; height: 480px; left: -200px; bottom: -200px; background: color-mix(in srgb, var(--color-primary-dark) 55%, transparent); }

/* ---------- Hero ---------- */
.ap-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.ap-hero > .ap-container { position: relative; z-index: 1; }
.ap-hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ap-hero__desc { color: var(--color-muted); font-size: 1.08rem; max-width: 54ch; }
.ap-hero__visual { position: relative; }
.ap-hero__img { width: 100%; border-radius: 18px; }
.ap-hero__annot { position: absolute; right: -6px; top: -22px; }
.ap-hero--page { padding-bottom: 32px; }
.ap-hero--single .ap-single-head { max-width: 820px; }

.ap-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--color-muted); }
.ap-badges li { display: inline-flex; align-items: center; gap: 7px; }
.ap-badges .ap-icon { color: var(--color-primary); }

/* Handwritten annotation */
.ap-annot { font-family: var(--font-hand); color: var(--color-muted); font-size: 15px; line-height: 1.35; display: inline-flex; align-items: flex-start; gap: 6px; transform: rotate(-4deg); max-width: 220px; }
.ap-annot__arrow { width: 46px; height: 32px; color: var(--color-muted); flex: none; }
.ap-annot--left { margin-top: 18px; flex-direction: row-reverse; justify-content: flex-end; }
.ap-annot--left .ap-annot__arrow { transform: scaleX(-1) rotate(20deg); }
.ap-annot--quote { transform: rotate(-3deg); max-width: 280px; }
.ap-annot--quote .ap-annot__arrow { display: none; }

/* Built-in device mockup */
.ap-mock { position: relative; padding: 24px 0 40px; perspective: 1400px; }
.ap-mock__laptop { position: relative; transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d; }
.ap-mock__screen {
	display: grid; grid-template-columns: 70px 1fr; gap: 0;
	aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; overflow: hidden;
	background: linear-gradient(160deg, #0d1714, #070c0a);
	border: 8px solid #1b2522; border-bottom-width: 12px;
	box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04);
}
.ap-mock__side { background: rgba(255,255,255,.02); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.ap-mock__brand { width: 34px; height: 10px; border-radius: 4px; background: var(--color-primary); margin-bottom: 8px; }
.ap-mock__side i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); }
.ap-mock__side i.is-on { background: color-mix(in srgb, var(--color-primary) 55%, transparent); }
.ap-mock__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ap-mock__top { display: flex; justify-content: space-between; }
.ap-mock__top span { height: 8px; width: 30%; border-radius: 4px; background: rgba(255,255,255,.08); }
.ap-mock__top span + span { width: 18%; }
.ap-mock__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-mock__kpis div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ap-mock__kpis small { display: block; font-size: 9px; color: var(--color-muted); }
.ap-mock__kpis b { font-size: clamp(13px, 1.5vw, 18px); color: var(--color-text); }
.ap-mock__kpis em { font-style: normal; font-size: 9px; color: var(--color-primary); margin-left: 6px; }
.ap-mock__chart { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 5%; padding: 8px 6px 0; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid var(--line); color: var(--color-gold); min-height: 60px; }
.ap-mock__chart span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--color-primary-dark), var(--color-primary)); opacity: .9; animation: apBar 1.4s ease both; transform-origin: bottom; }
.ap-mock__chart svg { position: absolute; inset: 10% 4% 8% 4%; width: 92%; height: 70%; }
@keyframes apBar { from { transform: scaleY(.1); } }
.ap-mock__base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#26302d, #141b19); box-shadow: 0 18px 30px -10px rgba(0,0,0,.7); }
.ap-mock__phone {
	position: absolute; right: -2%; bottom: 0; width: 30%;
	aspect-ratio: 9 / 16; border-radius: 20px; padding: 7px;
	background: #1b2522; box-shadow: var(--shadow); transform: rotate(4deg);
}
.ap-mock__store { height: 100%; border-radius: 14px; background: linear-gradient(170deg, #f2ece2, #e3d7c4); padding: 14% 10%; color: #2a2016; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.ap-mock__store small { font-size: 9px; color: #8a6d45; }
.ap-mock__store b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(11px, 1.3vw, 15px); line-height: 1.1; }
.ap-mock__watch { margin: auto auto 10%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a3a3a, #111 70%); border: 4px solid #a57849; box-shadow: 0 10px 18px rgba(0,0,0,.3); }
.ap-mock__store i { display: block; height: 14px; width: 60%; border-radius: 4px; background: #1b1b1b; }
.ap-mock__chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
	background: color-mix(in srgb, var(--color-surface) 85%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
	backdrop-filter: blur(8px); box-shadow: var(--shadow);
	animation: apFloat 6s ease-in-out infinite;
}
.ap-mock__chip .ap-icon { color: var(--color-primary); }
.ap-mock__chip--1 { left: -4%; top: 4%; }
.ap-mock__chip--2 { left: 6%; bottom: 2%; animation-delay: -3s; }
@keyframes apFloat { 50% { transform: translateY(-8px); } }

/* ---------- Trust bar ---------- */
.ap-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--color-surface) 45%, transparent); }
.ap-trust__inner { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.ap-trust__group { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.ap-trust__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.ap-trust__sep { width: 1px; height: 28px; background: var(--line); }
.ap-regions { display: inline-flex; flex-wrap: wrap; gap: 10px 18px; }
.ap-region { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ap-flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); flex: none; }
.ap-flag--none { display: inline-flex; width: auto; height: auto; box-shadow: none; color: var(--color-muted); }
.ap-tech-inline { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ap-tech-inline li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--color-text); opacity: .9; }
.ap-tech-inline .ap-icon { color: var(--color-primary); }

/* ---------- Sections & layout ---------- */
.ap-section { position: relative; padding: var(--section-y) 0; border-top: 1px solid color-mix(in srgb, var(--color-border) 45%, transparent); overflow: hidden; }
.ap-section--tight { padding-top: 24px; border-top: 0; }
.ap-section > .ap-container { position: relative; z-index: 1; }
.ap-split { display: grid; grid-template-columns: minmax(260px, .85fr) 2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ap-split--wide { grid-template-columns: minmax(240px, .7fr) 2.3fr; }
.ap-split__head { position: sticky; top: calc(var(--header-h) + 24px); }
.ap-split__head .ap-btn { margin-top: 10px; }

.ap-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ap-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------- Cards ---------- */
.ap-card {
	position: relative;
	background: linear-gradient(160deg, color-mix(in srgb, var(--color-surface) 92%, #fff 2%), var(--surface-2));
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
.ap-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border)); }

.ap-ico-sq {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 11px;
	background: var(--gold-soft); color: var(--color-gold);
	border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent);
}
.ap-ico-sq .ap-icon { width: 22px; height: 22px; }
.ap-ico-sq--green { background: var(--green-soft); color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 35%, transparent); }
.ap-ico-sq--gold { background: var(--gold-soft); color: var(--color-gold); }
.ap-ico-ring {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-gold) 55%, transparent);
	color: var(--color-gold);
	background: radial-gradient(circle, color-mix(in srgb, var(--color-gold) 12%, transparent), transparent 70%);
}
.ap-ico-ring .ap-icon { width: 20px; height: 20px; }
.ap-ico-ring--lg { width: 56px; height: 56px; box-shadow: 0 0 24px -6px color-mix(in srgb, var(--color-gold) 60%, transparent); }
.ap-ico-ring--lg .ap-icon { width: 24px; height: 24px; }
.ap-ico-ring--xl { width: 84px; height: 84px; }
.ap-ico-ring--xl .ap-icon { width: 36px; height: 36px; }

/* Service card */
.ap-srv { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ap-srv:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ap-srv__head { display: flex; align-items: center; gap: 14px; }
.ap-srv h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; margin: 0; }
.ap-srv h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ap-srv p { color: var(--color-muted); font-size: 14px; margin: 0; flex: 1; }
.ap-srv .ap-link { position: relative; z-index: 1; }

/* Feature grid (why) */
.ap-features { display: grid; gap: 18px 28px; }
.ap-feature { display: flex; gap: 16px; align-items: flex-start; }
.ap-feature h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; margin: 4px 0 4px; }
.ap-feature p { margin: 0; color: var(--color-muted); font-size: 14px; }
.ap-features--boxed .ap-feature { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-surface) 55%, transparent); }
.ap-features--cards .ap-feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--color-surface); flex-direction: column; }

/* Project card */
.ap-proj { overflow: hidden; display: flex; flex-direction: column; }
.ap-proj:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ap-proj__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, #0f1b17, #0a120f); border-bottom: 1px solid var(--line); }
.ap-proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ap-proj:hover .ap-proj__media img { transform: scale(1.04); }
.ap-proj__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--color-muted); padding: 20px; text-align: center; background: radial-gradient(circle at 70% 20%, var(--gold-soft), transparent 55%), radial-gradient(circle at 20% 90%, var(--green-soft), transparent 55%); }
.ap-proj__ph .ap-icon { width: 40px; height: 40px; color: var(--color-gold); }
.ap-proj__ph b { font-family: var(--font-heading); font-weight: 400; font-size: 18px; color: var(--color-text); }
.ap-proj__label { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--color-primary); background: color-mix(in srgb, var(--color-bg) 80%, transparent); border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent); backdrop-filter: blur(6px); }
.ap-proj__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ap-proj__body h3, .ap-proj__body h2 { font-size: 1.25rem; margin-bottom: 8px; }
.ap-proj__body p { color: var(--color-muted); font-size: 14px; flex: 1; }
.ap-proj__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-tags li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--color-muted); background: rgba(255,255,255,.02); }
.ap-tags--lg li { font-size: 14px; padding: 7px 12px; color: var(--color-text); }
.ap-tags--lg .ap-icon { color: var(--color-primary); }
.ap-round-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-gold) 60%, transparent); color: var(--color-gold); transition: background .2s, color .2s; }
.ap-round-btn:hover { background: var(--color-gold); color: #1b1408; }

/* Process steps */
.ap-steps { display: grid; gap: 24px; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); counter-reset: s; }
.ap-steps--3 { --steps: 3; } .ap-steps--4 { --steps: 4; } .ap-steps--5 { --steps: 5; } .ap-steps--6 { --steps: 6; }
.ap-step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ap-step:not(:last-child)::after {
	content: ""; position: absolute; top: 28px; left: 70px; right: -12px; height: 0;
	border-top: 1.5px dashed color-mix(in srgb, var(--color-gold) 45%, transparent);
}
.ap-step h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.ap-step__num { color: var(--color-primary); font-weight: 600; margin-right: 4px; }
.ap-step p { color: var(--color-muted); font-size: 14px; margin: 0; }

/* Testimonials */
.ap-quote { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ap-quote__mark { font-family: var(--font-heading); font-size: 46px; line-height: .5; color: var(--color-gold); height: 18px; }
.ap-quote blockquote { margin: 0; color: var(--color-text); font-size: 15px; flex: 1; }
.ap-quote blockquote p:last-child { margin-bottom: 0; }
.ap-stars { display: flex; gap: 3px; color: var(--color-gold); }
.ap-stars .ap-icon { width: 16px; height: 16px; }
.ap-quote__who { display: flex; align-items: center; gap: 12px; }
.ap-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid color-mix(in srgb, var(--color-gold) 40%, transparent); }
.ap-avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--color-gold); font-weight: 700; }
.ap-quote__name { display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.ap-quote__name small { color: var(--color-muted); }
.ap-quote__region { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted); }

/* FAQ */
.ap-faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ap-faq__item { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--color-surface) 70%, transparent); transition: border-color .2s; }
.ap-faq__item[open] { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border)); }
.ap-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 15px; font-weight: 600; }
.ap-faq__item summary::-webkit-details-marker { display: none; }
.ap-faq__item summary .ap-icon { color: var(--color-primary); transition: transform .25s; }
.ap-faq__item[open] summary .ap-icon { transform: rotate(45deg); }
.ap-faq__a { padding: 0 20px 18px; color: var(--color-muted); font-size: 14px; }
.ap-faq__a p:last-child { margin: 0; }

/* CTA band */
.ap-cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); background: linear-gradient(120deg, color-mix(in srgb, var(--color-primary-dark) 22%, transparent), transparent 60%); }
.ap-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.ap-cta__copy .ap-lead { margin: 0; }
.ap-cta__actions .ap-btns { margin: 0 0 14px; }
.ap-cta__regions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--color-muted); }
.ap-cta__annot { position: absolute; right: var(--gutter); top: -10px; }

/* Stats */
.ap-statband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--color-surface) 50%, transparent); padding: 22px 0; }
.ap-stats { display: grid; gap: 18px; }
.ap-stats--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ap-stats--row .ap-stat + .ap-stat { border-left: 1px solid var(--line); padding-left: 22px; }
.ap-stats--stack { padding: 8px 24px; gap: 0; }
.ap-stats--stack .ap-stat { padding: 16px 0; }
.ap-stats--stack .ap-stat + .ap-stat { border-top: 1px solid var(--line); }
.ap-stat { display: flex; align-items: center; gap: 14px; }
.ap-stat strong { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.ap-stat span:not(.ap-ico-ring) { color: var(--color-muted); font-size: 14px; }

/* Detailed services */
.ap-detailed__grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.ap-detailed__grid--2, .ap-detailed__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-detail { padding: 26px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.ap-detail__head { display: flex; gap: 16px; align-items: flex-start; }
.ap-detail__head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ap-detail__head p { color: var(--color-muted); font-size: 14px; margin: 0; }
.ap-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-gold) 55%, transparent); color: var(--color-primary); font-family: var(--font-heading); font-size: 18px; }
.ap-detail .ap-btn { align-self: flex-start; }
.ap-detail__media { margin: 4px -26px -26px; aspect-ratio: 16 / 8; border-top: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 75% 30%, var(--gold-soft), transparent 55%), radial-gradient(circle at 20% 90%, var(--green-soft), transparent 50%), #0a120f; }
.ap-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.ap-detail__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: color-mix(in srgb, var(--color-gold) 70%, transparent); }
.ap-detail__ph .ap-icon { width: 64px; height: 64px; }

.ap-checklist { display: grid; gap: 10px; }
.ap-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ap-checklist .ap-icon { color: var(--color-primary); margin-top: 3px; }
.ap-checklist--grid { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

/* Work page */
.ap-work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ap-filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-filters__annot { position: absolute; right: 0; top: -54px; }
.ap-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--color-surface) 70%, transparent); cursor: pointer; font-size: 13px; font-weight: 600; transition: all .2s; }
.ap-chip .ap-icon { color: var(--color-primary); }
.ap-chip:hover { border-color: var(--color-primary); }
.ap-chip.is-active { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary-dark) 45%, transparent); color: var(--color-primary); }
.ap-proj.is-hidden { display: none; }
.ap-empty { color: var(--color-muted); padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius-card); text-align: center; }

.ap-casestudy__grid { display: grid; grid-template-columns: 1fr 1.25fr .9fr; gap: 32px; align-items: center; }
.ap-casestudy__media img, .ap-casestudy__media .ap-mock { border-radius: 14px; }
.ap-casestudy__facts { display: grid; gap: 14px; }
.ap-fact { display: flex; gap: 14px; padding: 18px; }
.ap-fact h3 { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--color-gold); margin-bottom: 4px; }
.ap-fact p { margin: 0; font-size: 13.5px; color: var(--color-muted); }
.ap-results { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.ap-results strong { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; color: var(--color-primary); line-height: 1.1; }
.ap-results span { font-size: 12px; color: var(--color-muted); }

/* About */
.ap-portrait { position: relative; aspect-ratio: 4 / 4.2; border-radius: 22px; overflow: visible; }
.ap-portrait__img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.ap-portrait__ph { height: 100%; border-radius: 22px; border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--color-muted); background: radial-gradient(circle at 60% 30%, var(--gold-soft), transparent 60%), var(--color-surface); text-align: center; padding: 24px; font-size: 14px; }
.ap-portrait__ph .ap-icon { width: 72px; height: 72px; color: var(--color-gold); }
.ap-float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--color-surface) 82%, transparent); border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent); backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: apFloat 6s ease-in-out infinite; }
.ap-float-chip strong { display: block; font-size: 14px; }
.ap-float-chip small { color: var(--color-muted); font-size: 12px; }
.ap-float-chip .ap-ico-sq { width: 36px; height: 36px; background: var(--green-soft); color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.ap-float-chip--1 { left: -8%; top: 8%; }
.ap-float-chip--2 { left: -6%; top: 34%; animation-delay: -1.5s; }
.ap-float-chip--3 { right: -6%; top: 22%; animation-delay: -3s; }
.ap-float-chip--4 { right: -4%; top: 48%; animation-delay: -4.5s; }

.ap-story__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ap-story__img { margin-top: 18px; border-radius: var(--radius-card); overflow: hidden; }
.ap-mission__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ap-mcard { padding: 26px; }
.ap-mcard h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin: 16px 0 8px; }
.ap-mcard p { color: var(--color-muted); font-size: 14px; margin: 0; }
.ap-stack__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.ap-stack__grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; text-align: center; font-size: 13px; }
.ap-stack__grid .ap-icon { width: 30px; height: 30px; color: var(--color-primary); }

/* Contact */
.ap-contact-stack { display: grid; gap: 12px; max-width: 420px; margin-left: auto; }
.ap-contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, var(--color-border)); background: color-mix(in srgb, var(--color-surface) 85%, transparent); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.ap-contact-row:nth-child(even) { margin-left: 28px; margin-right: -28px; }
.ap-contact-row:hover { transform: translateX(-4px); border-color: var(--color-primary); color: var(--color-text); }
.ap-contact-row > span:nth-child(2) { flex: 1; }
.ap-contact-row strong { display: block; font-size: 15px; }
.ap-contact-row small { color: var(--color-muted); font-size: 13px; }
.ap-contact-row > .ap-icon { color: var(--color-primary); }
.ap-hero--contact .ap-hero__annot { right: 0; top: -40px; }

.ap-reach__card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.ap-reach__card h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin: 8px 0 0; }
.ap-reach__card p { color: var(--color-muted); font-size: 14px; margin: 0; flex: 1; }
.ap-reach__card .ap-link { word-break: break-all; }
.ap-reach .ap-grid-4 { margin-top: 28px; }

.ap-formsec__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.ap-formsec__copy .ap-checklist { margin-top: 24px; }

.ap-srvmini .ap-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ap-mini { display: flex; gap: 12px; align-items: center; padding: 16px; }
.ap-mini:hover { color: var(--color-text); transform: translateY(-3px); }
.ap-mini strong { display: block; font-size: 14px; }
.ap-mini small { color: var(--color-muted); font-size: 12.5px; }
.ap-mini .ap-ico-sq { background: var(--green-soft); color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }

/* Form */
.ap-form-card { position: relative; padding: clamp(20px, 3vw, 30px); border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--color-surface) 95%, #fff 3%), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ap-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.ap-field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.ap-field--full { grid-column: 1 / -1; }
.ap-field label { font-size: 13px; font-weight: 600; }
.ap-req { color: var(--color-gold); }
.ap-input { position: relative; }
.ap-input .ap-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--color-muted); width: 16px; height: 16px; pointer-events: none; }
.ap-input input { padding-left: 40px !important; }
.ap-form input[type="text"], .ap-form input[type="email"], .ap-form input[type="tel"], .ap-form select, .ap-form textarea, .ap-search input {
	width: 100%; padding: 12px 14px; border-radius: 10px;
	background: color-mix(in srgb, var(--color-bg) 70%, transparent);
	border: 1px solid var(--line); color: var(--color-text); font-size: 14px;
	transition: border-color .2s, box-shadow .2s;
}
.ap-form textarea { resize: vertical; min-height: 120px; }
.ap-form ::placeholder { color: color-mix(in srgb, var(--color-muted) 75%, transparent); }
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.ap-select { position: relative; }
.ap-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--color-muted); border-bottom: 2px solid var(--color-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ap-form select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.ap-form select option { background: var(--color-surface); color: var(--color-text); }
.ap-counter { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: var(--color-muted); }
.ap-field--full .ap-counter { bottom: 34px; }
.ap-field__err { font-size: 12px; color: #ff8a80; min-height: 0; }
.ap-field.has-error input, .ap-field.has-error select, .ap-field.has-error textarea { border-color: #ff8a80; }
.ap-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--color-muted); cursor: pointer; }
.ap-check input { margin-top: 3px; accent-color: var(--color-primary); width: 16px; height: 16px; flex: none; }
.ap-check a { color: var(--color-primary); text-decoration: underline; }
.ap-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ap-form__alert { padding: 12px 14px; border-radius: 10px; background: rgba(255, 138, 128, .1); border: 1px solid rgba(255, 138, 128, .4); color: #ffb4ad; font-size: 14px; }
.ap-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--color-muted); text-align: center; }
.ap-form__note .ap-icon { width: 14px; height: 14px; }
.ap-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.ap-form-success { text-align: center; padding: 24px 8px; }
.ap-form-success .ap-ico-ring { color: var(--color-primary); border-color: var(--color-primary); margin-bottom: 14px; }
.ap-form-success h3 { font-size: 1.6rem; }
.ap-form-success p { color: var(--color-muted); }

/* Single project / service */
.ap-crumbs { font-size: 13px; color: var(--color-muted); margin-bottom: 18px; }
.ap-crumbs a { color: var(--color-muted); }
.ap-crumbs a:hover { color: var(--color-primary); }
.ap-single-cover { margin-top: 36px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ap-single-cover img { width: 100%; }
.ap-single__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.ap-single__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.ap-cs-block { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ap-cs-block:first-child { padding-top: 0; }
.ap-cs-block h2 { font-size: 1.5rem; margin-bottom: 8px; }
.ap-cs-block p { color: var(--color-muted); }
.ap-meta-card { padding: 24px; }
.ap-meta-card__title { font-size: 1.3rem; }
.ap-meta-card dl { margin: 0 0 16px; display: grid; gap: 0; }
.ap-meta-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ap-meta-card dt { color: var(--color-muted); }
.ap-meta-card dd { margin: 0; text-align: right; }
.ap-dd-flag { display: inline-flex; align-items: center; gap: 8px; }
.ap-meta-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--color-gold); margin: 16px 0 10px; }
.ap-side-cta { padding: 24px; display: grid; gap: 10px; background: linear-gradient(150deg, color-mix(in srgb, var(--color-primary-dark) 40%, var(--color-surface)), var(--color-surface)); }
.ap-side-cta h2 { font-size: 1.4rem; margin: 0; }
.ap-side-cta p { margin: 0 0 6px; color: var(--color-muted); font-size: 14px; }
.ap-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.ap-gallery a { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ap-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ap-gallery a:hover img { transform: scale(1.04); }
.ap-srv-hero { padding: 32px; display: grid; gap: 22px; justify-items: start; }

/* Prose (page/editor content) */
.ap-prose { color: color-mix(in srgb, var(--color-text) 88%, var(--color-muted)); font-size: 1.02rem; }
.ap-prose--narrow { max-width: 820px; }
.ap-prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.ap-prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.ap-prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.ap-prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.ap-prose li { margin-bottom: .4em; }
.ap-prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.ap-prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--color-gold); background: var(--color-surface); border-radius: 0 12px 12px 0; }
.ap-prose img { border-radius: 12px; }
.ap-prose code { background: var(--color-surface); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.ap-prose pre { background: var(--color-surface); padding: 16px; border-radius: 12px; overflow: auto; }
.ap-prose table { width: 100%; border-collapse: collapse; }
.ap-prose th, .ap-prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.ap-prose .wp-block-button__link { background: var(--color-primary); color: #06231A; border-radius: var(--radius-button); text-decoration: none; }

.ap-pagination { margin-top: 32px; }
.ap-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ap-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.ap-pagination .current { border-color: var(--color-primary); color: var(--color-primary); }
.ap-search { max-width: 420px; }

/* ---------- Footer ---------- */
.ap-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, #000 35%, var(--color-bg)); padding: 56px 0 24px; font-size: 14px; }
.ap-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 32px; }
.ap-footer__brand p { color: var(--color-muted); margin: 12px 0 18px; }
.ap-footer__title { font-family: var(--font-body); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.ap-footer__links li { margin-bottom: 8px; }
.ap-footer__links a, .ap-footer__contact a { color: var(--color-muted); }
.ap-footer__links a:hover, .ap-footer__contact a:hover { color: var(--color-primary); }
.ap-footer__col + .ap-footer__col { border-left: 1px solid var(--line); padding-left: 32px; }
.ap-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--color-muted); }
.ap-footer__contact .ap-icon { color: var(--color-text); margin-top: 3px; }
.ap-footer__contact small { font-size: 12px; }
.ap-socials { display: flex; gap: 14px; }
.ap-socials a { display: inline-flex; color: var(--color-text); opacity: .85; }
.ap-socials a:hover { color: var(--color-primary); opacity: 1; }
.ap-socials .ap-icon { width: 20px; height: 20px; }
.ap-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--color-muted); font-size: 13px; }
.ap-footer__bottom p { margin: 0; }
.ap-footer__legal { display: flex; gap: 18px; }
.ap-footer__legal a { color: var(--color-muted); }

/* Floating WhatsApp + mobile bar */
.ap-float-wa {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #25D366; color: #fff;
	box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
	transition: transform .25s;
}
.ap-float-wa:hover { transform: scale(1.08); color: #fff; }
.ap-float-wa .ap-icon { width: 28px; height: 28px; }
.ap-float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: apPulse 2.4s ease-out infinite; }
@keyframes apPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.ap-float-wa__tip { position: absolute; right: 68px; white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: var(--color-surface); border: 1px solid var(--line); color: var(--color-text); font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(6px); transition: all .25s; pointer-events: none; }
.ap-float-wa:hover .ap-float-wa__tip { opacity: 1; transform: none; }
.ap-mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */
.ap-js .ap-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.ap-js .ap-reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ap-header__cta span { display: none; }
	.ap-header__cta { padding: 10px 12px; }
	.ap-header__cta .ap-icon:last-child { display: none; }
	.ap-menu { gap: 24px; }
	.ap-casestudy__grid { grid-template-columns: 1fr 1fr; }
	.ap-casestudy__facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.ap-steps--5, .ap-steps--6 { --steps: 3; row-gap: 32px; }
	.ap-steps--5 .ap-step::after, .ap-steps--6 .ap-step::after { display: none; }
}

@media (max-width: 1024px) {
	.ap-split, .ap-split--wide { grid-template-columns: 1fr; }
	.ap-split__head { position: static; }
	.ap-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-detailed__grid { grid-template-columns: 1fr 1fr; }
	.ap-cta__inner { grid-template-columns: 1fr; }
	.ap-cta__annot { display: none; }
	.ap-footer__grid { grid-template-columns: 1fr 1fr; }
	.ap-footer__col + .ap-footer__col { border-left: 0; padding-left: 0; }
	.ap-single__grid { grid-template-columns: 1fr; }
	.ap-single__side { position: static; }
	.ap-formsec__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	:root { --header-h: 66px; }
	.ap-burger { display: inline-flex; margin-left: 0; }
	.ap-header__cta { margin-left: auto; }
	.ap-nav {
		position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
		background: var(--color-bg); padding: 24px var(--gutter) 40px;
		visibility: hidden; opacity: 0; transform: translateY(-10px);
		transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
		overflow-y: auto; border-top: 1px solid var(--line);
	}
	.admin-bar .ap-nav { top: calc(var(--header-h) + 46px); }
	.ap-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
	.ap-menu { flex-direction: column; gap: 0; }
	.ap-menu a { display: block; padding: 16px 0; font-size: 20px; font-family: var(--font-heading); border-bottom: 1px solid var(--line); }
	.ap-menu a::after { display: none; }
	.ap-nav__mobile-cta { display: block; }
	.ap-nav__mobile-cta .ap-btns { flex-direction: column; }
	.ap-nav__mobile-cta .ap-btn { width: 100%; }
	body.ap-menu-open { overflow: hidden; }

	.ap-hero__grid { grid-template-columns: 1fr; }
	.ap-hero__annot { display: none; }
	.ap-hero--about .ap-hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
	.ap-contact-stack { margin: 0; max-width: none; }
	.ap-contact-row:nth-child(even) { margin: 0; }
	.ap-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-steps, .ap-steps--3, .ap-steps--4, .ap-steps--5, .ap-steps--6 { --steps: 2; row-gap: 28px; }
	.ap-step::after { display: none; }
	.ap-faq__list { grid-template-columns: 1fr; }
	.ap-story__grid { grid-template-columns: 1fr; }
	.ap-trust__sep { display: none; }
	.ap-filters__annot { display: none; }

	.ap-float-wa { bottom: 84px; right: 16px; width: 50px; height: 50px; }
	.ap-mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--color-bg) 92%, transparent);
		backdrop-filter: blur(12px); border-top: 1px solid var(--line);
	}
	.ap-mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 6px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
	.ap-mobile-bar a.is-primary { background: var(--color-primary); color: #06231A; border-color: var(--color-primary); }
	body.ap-theme { padding-bottom: 72px; }
}

@media (max-width: 640px) {
	.ap-grid-3, .ap-grid-4, .ap-detailed__grid, .ap-detailed__grid--2, .ap-detailed__grid--4 { grid-template-columns: 1fr; }
	.ap-steps, .ap-steps--3, .ap-steps--4, .ap-steps--5, .ap-steps--6 { --steps: 1; }
	.ap-step { flex-direction: row; align-items: flex-start; }
	.ap-form__grid { grid-template-columns: 1fr; }
	.ap-checklist--grid { grid-template-columns: 1fr; }
	.ap-btns .ap-btn { flex: 1 1 100%; }
	.ap-stats--row .ap-stat + .ap-stat { border-left: 0; padding-left: 0; }
	.ap-stats--row { grid-template-columns: 1fr 1fr; }
	.ap-casestudy__grid { grid-template-columns: 1fr; }
	.ap-casestudy__facts { grid-template-columns: 1fr; }
	.ap-footer__grid { grid-template-columns: 1fr; }
	.ap-float-chip { padding: 8px 10px; }
	.ap-float-chip--1, .ap-float-chip--2 { left: -2%; }
	.ap-float-chip--3, .ap-float-chip--4 { right: -2%; }
	.ap-float-chip small { display: none; }
	.ap-mock__chip { display: none; }
	.ap-gallery { grid-template-columns: 1fr; }
	.ap-logo__text { font-size: 19px; }
	.ap-header__cta { display: none; }
	.ap-burger { margin-left: auto; }
}

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