/* ==========================================================================
   AfkarCity theme, black / red / white
   ========================================================================== */

:root {
	--bg: #050506;
	--bg-2: #0b0b0e;
	--panel: #121216;
	--line: rgba(255, 255, 255, 0.09);
	--text: #f6f6f7;
	--muted: #a7a7af;
	--red: #e8192c;
	--red-2: #ff2a37;
	--red-glow: #ff4d3a;
	--light: #ffffff;
	--light-2: #f4f4f6;
	--ink: #0d0d10;
	--ink-muted: #5c5c66;
	--line-dark: rgba(10, 10, 14, 0.12);
	--wa: #1ed760;
	--radius: 18px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-ar: "Tajawal", "Poppins", system-ui, sans-serif;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.ac-rtl { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }

.ac-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.ac-skip {
	position: fixed; top: 0; inset-inline-start: 0; z-index: 999;
	background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
	transform: translateY(-120%);
}
.ac-skip:focus { transform: none; }
html, body { overflow-x: clip; }

::selection { background: var(--red); color: #fff; }

/* ---------- Icons ---------- */
.ac-ic { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.ac-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 28px; border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
	will-change: transform;
}
.ac-btn:hover { transform: translateY(-3px); }
.ac-btn .ac-ic { width: 17px; height: 17px; }

.ac-btn.is-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(232, 25, 44, 0.35); }
.ac-btn.is-red:hover { background: var(--red-2); box-shadow: 0 16px 40px rgba(255, 42, 55, 0.45); }

.ac-btn.is-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.04); }
.ac-btn.is-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.ac-btn.is-ghost-dark { border-color: rgba(10, 10, 14, 0.25); color: var(--ink); background: transparent; }
.ac-btn.is-ghost-dark:hover { border-color: var(--ink); }

.ac-btn.is-wa { background: #0e1f16; border-color: rgba(30, 215, 96, 0.4); color: #d9ffe9; }
.ac-btn.is-wa .ac-ic { color: var(--wa); }
.ac-btn.is-wa:hover { border-color: var(--wa); box-shadow: 0 12px 32px rgba(30, 215, 96, 0.2); }
.ac-btn.is-sm { padding: 10px 18px; font-size: 13px; }

.ac-link {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--red-2); font-weight: 600; font-size: 14px;
}
.ac-link .ac-ic { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
a:hover .ac-link .ac-ic, .ac-link:hover .ac-ic { transform: translateX(4px); }
.ac-rtl .ac-link .ac-ic { transform: scaleX(-1); }
.ac-rtl a:hover .ac-link .ac-ic, .ac-rtl .ac-link:hover .ac-ic { transform: scaleX(-1) translateX(4px); }

/* ---------- The fuse: scroll progress burning across the top ---------- */
.ac-fuse { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99; pointer-events: none; }
.ac-fuse span {
	display: block; height: 100%; width: 0; position: relative;
	background: linear-gradient(90deg, #4d070d, var(--red-2));
	box-shadow: 0 0 10px rgba(255, 42, 55, 0.7);
	border-radius: 0 3px 3px 0;
}
.ac-fuse span::after {
	content: ""; position: absolute; right: -3px; top: 50%; margin-top: -3.5px;
	width: 7px; height: 7px; border-radius: 50%;
	background: #ff6a4f; box-shadow: 0 0 12px 3px rgba(255, 80, 60, 0.8);
}
.ac-rtl .ac-fuse span { margin-inline-start: auto; background: linear-gradient(270deg, #4d070d, var(--red-2)); border-radius: 3px 0 0 3px; }
.ac-rtl .ac-fuse span::after { right: auto; left: -3px; }

/* ---------- Cursor spotlight on dark sections ---------- */
.ac-spot {
	position: absolute; top: 0; left: 0; width: 560px; height: 560px;
	margin: -280px 0 0 -280px; border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 25, 44, 0.13) 0%, rgba(232, 25, 44, 0.045) 45%, transparent 70%);
	pointer-events: none; z-index: 1; opacity: 0;
	transition: opacity 0.5s; will-change: transform;
}
section:hover > .ac-spot { opacity: 1; }

/* ---------- Header ---------- */
.ac-header {
	position: fixed; inset: 0 0 auto 0; z-index: 90;
	padding: 18px 0;
	transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.ac-header.is-scrolled {
	background: rgba(5, 5, 6, 0.86);
	backdrop-filter: blur(14px);
	padding: 10px 0;
	box-shadow: 0 1px 0 var(--line), 0 10px 40px rgba(0, 0, 0, 0.4);
}
.ac-header-in { display: flex; align-items: center; gap: 28px; }

.ac-logo { display: inline-flex; align-items: center; gap: 9px; }
.ac-logo-img {
	height: 52px; width: auto; display: block;
	filter: drop-shadow(0 0 14px rgba(255, 42, 55, 0.35));
	transition: height 0.4s, filter 0.3s;
}
.ac-header.is-scrolled .ac-logo-img { height: 44px; }
.ac-logo:hover .ac-logo-img { filter: drop-shadow(0 0 18px rgba(255, 42, 55, 0.65)); }
.ac-logo-img.is-footer { height: 64px; }
.ac-logo-word { font-weight: 800; font-size: 22px; letter-spacing: 0.01em; color: #fff; }
.ac-logo-word em { font-style: normal; color: var(--red-2); }

.ac-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.ac-nav ul, .ac-nav li { list-style: none; margin: 0; padding: 0; display: contents; }
.ac-nav a { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.82); position: relative; padding: 6px 0; }
.ac-nav a::after {
	content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
	width: 0; height: 2px; background: var(--red-2); border-radius: 2px;
	transition: width 0.3s var(--ease);
}
.ac-nav a:hover { color: #fff; }
.ac-nav a:hover::after, .ac-nav .current-menu-item > a::after, .ac-nav a[aria-current="page"]::after { width: 100%; }

/* Services dropdown */
.ac-nav-item { position: relative; display: flex; align-items: center; }
.ac-nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.ac-caret { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.ac-nav-item:hover .ac-caret, .ac-nav-item:focus-within .ac-caret { transform: rotate(180deg); }
.ac-drop {
	position: absolute; top: 100%; inset-inline-start: 50%;
	transform: translateX(-50%) translateY(10px);
	min-width: 250px; padding: 10px;
	background: rgba(9, 9, 12, 0.97); backdrop-filter: blur(14px);
	border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	display: grid; gap: 2px;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.ac-nav-item:hover .ac-drop, .ac-nav-item:focus-within .ac-drop {
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.ac-drop a { padding: 9px 14px; border-radius: 9px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ac-drop a::after { display: none; }
.ac-drop a:hover { background: rgba(232, 25, 44, 0.13); color: #fff; }
.ac-drop .ac-drop-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--red-2); font-weight: 600; }

.ac-header-cta { display: flex; align-items: center; gap: 12px; }
.ac-lang {
	font-size: 13.5px; font-weight: 700; color: #fff;
	border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px;
	transition: border-color 0.3s, background 0.3s;
}
.ac-lang:hover { border-color: var(--red-2); background: rgba(232, 25, 44, 0.12); }

.ac-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.ac-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.ac-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ac-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ac-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section headings ---------- */
.ac-kicker {
	display: inline-block; letter-spacing: 0.28em; font-size: 12px; font-weight: 700;
	color: var(--red-2); text-transform: uppercase; margin-bottom: 14px;
}
.ac-kicker.is-light { color: rgba(255, 255, 255, 0.85); }
.ac-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.015em; }
.ac-title em { font-style: normal; color: var(--red-2); }
.ac-heading { margin-bottom: 42px; }
.ac-heading.is-center { text-align: center; }
.ac-heading.is-center .ac-title::after {
	content: ""; display: block; width: 86px; height: 10px; margin: 16px auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 10'%3E%3Cpath d='M2 8 L14 2 L26 8 L38 2 L50 8 L62 2 L74 8 L82 4' fill='none' stroke='%23ff2a37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	filter: drop-shadow(0 0 6px rgba(255, 42, 55, 0.6));
}
.ac-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ac-heading-row .ac-heading { margin-bottom: 24px; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Particles ---------- */
.ac-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- Hero ---------- */
.ac-hero {
	position: relative; min-height: 100vh;
	display: flex; flex-direction: column; justify-content: center;
	padding: 120px 0 70px; overflow: hidden;
	background:
		radial-gradient(900px 420px at 50% 112%, rgba(232, 25, 44, 0.13), transparent 70%),
		var(--bg);
}
.ac-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }

.ac-hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	border: 1px solid rgba(232, 25, 44, 0.45); border-radius: 999px;
	padding: 9px 20px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em;
	color: #fff; background: rgba(232, 25, 44, 0.08); margin: 14px 0 4px;
}
.ac-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255, 42, 55, 0.7); animation: acPulseDot 2s infinite; }
@keyframes acPulseDot {
	0% { box-shadow: 0 0 0 0 rgba(255, 42, 55, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(255, 42, 55, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 42, 55, 0); }
}

.ac-hero-slogan { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.08; margin: 0 0 6px; }
.ac-hero-slogan em { display: block; font-style: normal; color: var(--red-2); text-shadow: 0 0 44px rgba(255, 42, 55, 0.45); }
.ac-hero-slogan span { display: block; color: #fff; }

.ac-hero-line { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 580px; margin: 8px auto 24px; }
.ac-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Hero text reveal (entrance timeline). Visible by default; hidden only while armed. */
html.ac-anim .ac-hr { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.ac-anim .ac-hr.is-in { opacity: 1; transform: none; }
html.ac-anim-done .ac-hr { opacity: 1; transform: none; }

.ac-scroll-hint {
	position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
	width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 14px;
	display: flex; justify-content: center; z-index: 3;
}
.ac-scroll-hint span { width: 4px; height: 8px; border-radius: 3px; background: var(--red-2); margin-top: 7px; animation: acScrollHint 1.8s infinite; }
@keyframes acScrollHint {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ---------- The idea sequence (question mark -> lit bulb) ---------- */
.ac-ideo { line-height: 0; }
.ac-ideo svg { width: 100%; height: auto; overflow: visible; }
.ac-ideo.is-hero { width: min(920px, 92vw); margin: 10px auto 0; }
.ac-ideo.is-hero svg { max-height: 36vh; }
.ac-ideo.is-band { max-width: 560px; margin: 0 auto 10px; }

/* Finished composition (the default: no JS, reduced motion, inner pages) */
.ac-ideo .ac-st { opacity: 0.45; }
.ac-ideo .ac-st.is-final { opacity: 1; }
.ac-ideo .ac-halo { animation: acBreathe 7s ease-in-out infinite; }
@keyframes acBreathe {
	0%, 100% { opacity: 0.8; }
	50% { opacity: 1; }
}

/* Entrance timeline, armed by the inline script and driven by main.js */
html.ac-anim [data-ideo-animate] .ac-st { opacity: 0; }
html.ac-anim [data-ideo-animate] .ac-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.ac-anim [data-ideo-animate] .ac-glow { opacity: 0; }
html.ac-anim [data-ideo-animate] .ac-st.is-live { opacity: 1; transition: opacity 0.35s ease; }
html.ac-anim [data-ideo-animate] .ac-st.is-live .ac-strokes .ac-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.05s; }
html.ac-anim [data-ideo-animate] .ac-st.is-past { opacity: 0.45; transition: opacity 0.55s ease; }
html.ac-anim [data-ideo-animate] .ac-st.is-final.is-lit .ac-fil .ac-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s ease 0.1s; }
html.ac-anim [data-ideo-animate] .ac-st.is-final.is-lit .ac-glow { opacity: 1; transition: opacity 1s ease 0.25s; }

/* Safety net: if the animation script fails, show the finished hero */
html.ac-anim-done [data-ideo-animate] .ac-st { opacity: 0.45; }
html.ac-anim-done [data-ideo-animate] .ac-st.is-final { opacity: 1; }
html.ac-anim-done [data-ideo-animate] .ac-draw { stroke-dashoffset: 0; }
html.ac-anim-done [data-ideo-animate] .ac-glow { opacity: 1; }

/* ---------- Marquee ---------- */
.ac-marquee {
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	background: var(--bg-2); overflow: hidden; padding: 18px 0; position: relative;
}
.ac-marquee-track { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; will-change: transform; }
.ac-marquee span {
	font-size: 26px; font-weight: 800; letter-spacing: 0.02em;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
	transition: color 0.3s;
}
.ac-marquee i { color: var(--red-2); font-style: normal; display: inline-flex; }
.ac-marquee i svg { width: 17px; height: 17px; filter: drop-shadow(0 0 7px rgba(255, 42, 55, 0.9)); }
.ac-marquee:hover span { color: rgba(255, 255, 255, 0.85); -webkit-text-stroke-color: transparent; }
.ac-marquee::before, .ac-marquee::after {
	content: ""; position: absolute; top: 0; left: 0; width: 80px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--red-2), transparent);
	filter: drop-shadow(0 0 6px rgba(255, 77, 58, 0.9));
	animation: acSpark 7s linear infinite; z-index: 2;
}
.ac-marquee::after { top: auto; bottom: 0; animation-delay: 3.5s; animation-direction: reverse; }
@keyframes acSpark {
	from { left: -10%; }
	to { left: 105%; }
}

/* ---------- Photo filmstrip ---------- */
.ac-photoband { background: var(--bg); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.ac-strip-kick {
	text-align: center; letter-spacing: 0.28em; font-size: 12px; font-weight: 700;
	color: var(--red-2); text-transform: uppercase; margin: 0 0 24px;
}
.ac-marquee.is-photos { background: transparent; border: 0; padding: 12px 0 18px; }
.ac-marquee.is-photos .ac-marquee-track { gap: 22px; }
.ac-marquee.is-photos::before, .ac-marquee.is-photos::after { display: none; }
.ac-ph {
	flex: none; width: 250px; height: 165px; border-radius: 14px; overflow: hidden;
	border: 1px solid var(--line); position: relative;
	transform: rotate(-1.6deg);
	transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.ac-ph:nth-child(even) { transform: rotate(1.6deg); }
.ac-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-ph:hover {
	transform: rotate(0deg) scale(1.06); z-index: 2;
	border-color: rgba(232, 25, 44, 0.6);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 26px rgba(232, 25, 44, 0.25);
}

/* ---------- Numbers strip ---------- */
.ac-stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.ac-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center; }
.ac-stat-val { font-size: clamp(2.5rem, 4.4vw, 3.7rem); font-weight: 800; color: #fff; line-height: 1; transition: text-shadow 0.6s; }
.ac-stat-val em { font-style: normal; color: var(--red-2); }
.ac-stat p { color: var(--muted); font-size: 13.5px; margin: 12px auto 0; max-width: 240px; }
.ac-stat { transition: transform 0.3s var(--ease); }
.ac-stat:hover { transform: translateY(-4px); }
.ac-stat::after {
	content: ""; display: block; width: 48px; height: 2px; margin: 14px auto 0; border-radius: 2px;
	background: linear-gradient(90deg, var(--red), var(--red-glow));
	box-shadow: 0 0 10px rgba(255, 42, 55, 0.7);
	transform: scaleX(0); transition: transform 0.7s var(--ease) 0.7s;
}
.ac-stat.is-in::after { transform: scaleX(1); }
.ac-stat.is-in .ac-stat-val { text-shadow: 0 0 26px rgba(255, 42, 55, 0.35); }

/* ---------- About ---------- */
.ac-about { position: relative; padding: 110px 0; background: radial-gradient(700px 420px at 12% 20%, rgba(232, 25, 44, 0.09), transparent 65%), var(--bg); overflow: hidden; }
.ac-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
.ac-about-copy p { color: var(--muted); font-size: 17px; }

.ac-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ac-checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.ac-checks .ac-ic { width: 16px; height: 16px; color: var(--red-2); margin-top: 5px; }
.ac-rtl .ac-checks .ac-ic { transform: scaleX(-1); }

/* The 24+ counter inside a glowing bulb that ignites on reveal */
.ac-bulbstat { position: relative; width: min(320px, 76vw); margin: 0 auto; text-align: center; will-change: transform; }
.ac-bulbstat svg { width: 100%; height: auto; overflow: visible; }
.ac-stat-num { font-size: clamp(3.2rem, 5vw, 4.4rem); font-weight: 800; line-height: 1; color: #fff; }
.ac-stat-num em { font-style: normal; color: var(--red-2); }
.ac-bulbstat .ac-stat-num {
	position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);
	width: 100%; text-align: center;
	text-shadow: 0 0 30px rgba(255, 42, 55, 0.5);
}
.ac-bulbstat-label { color: var(--muted); margin: 6px 0 0; font-weight: 500; letter-spacing: 0.05em; text-align: center; }
.ac-bulbstat .ac-glowgrp { opacity: 0; }
.ac-bulbstat.is-in .ac-glowgrp {
	animation: acIgnite 1.2s ease 0.4s forwards, acBreathe 7s ease-in-out 2s infinite;
}
@keyframes acIgnite {
	0% { opacity: 0; }
	30% { opacity: 0.9; }
	42% { opacity: 0.15; }
	55% { opacity: 1; }
	68% { opacity: 0.45; }
	100% { opacity: 1; }
}

/* ---------- Services: the switchboard, every service is a light ---------- */
.ac-services {
	background:
		radial-gradient(700px 420px at 12% 0%, rgba(232, 25, 44, 0.08), transparent 65%),
		radial-gradient(600px 380px at 92% 85%, rgba(232, 25, 44, 0.06), transparent 65%),
		var(--bg-2);
	color: var(--text); padding: 110px 0 130px; position: relative; overflow: hidden;
}
.ac-services.is-archive { padding-top: 80px; }
.ac-services .ac-title { color: #fff; }
.ac-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ac-service-card {
	display: flex; flex-direction: column; gap: 10px;
	background: linear-gradient(172deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--line); border-radius: 20px;
	padding: 40px 30px 30px; position: relative; overflow: hidden;
	transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
	will-change: transform;
}
/* the cord the light hangs from */
.ac-service-card::after {
	content: ""; position: absolute; top: 0; inset-inline-start: 58px; width: 2px; height: 28px;
	background: linear-gradient(rgba(255, 42, 55, 0.05), rgba(255, 42, 55, 0.55));
	transition: height 0.4s var(--ease);
}
.ac-service-card:hover::after { height: 38px; }
/* the red base line */
.ac-service-card::before {
	content: ""; position: absolute; inset: auto auto 0 0; width: 100%; height: 3px;
	background: linear-gradient(90deg, var(--red), var(--red-glow));
	transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
	z-index: 1;
}
.ac-rtl .ac-service-card::before { transform-origin: right; }
.ac-service-card:hover::before { transform: scaleX(1); }
.ac-service-card:hover {
	border-color: rgba(232, 25, 44, 0.55);
	background: linear-gradient(172deg, rgba(232, 25, 44, 0.09), rgba(255, 255, 255, 0.02));
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 70px 110px -80px rgba(232, 25, 44, 0.4);
}

.ac-service-num {
	position: absolute; top: 20px; inset-inline-end: 24px;
	font-size: 42px; font-weight: 800; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
	transition: color 0.4s, -webkit-text-stroke-color 0.4s, text-shadow 0.4s;
}
.ac-service-card:hover .ac-service-num {
	color: var(--red-2); -webkit-text-stroke-color: transparent;
	text-shadow: 0 0 22px rgba(255, 42, 55, 0.6);
}

.ac-service-ic {
	width: 58px; height: 58px; border-radius: 50%; margin-top: 10px;
	display: grid; place-items: center;
	background: rgba(232, 25, 44, 0.1); color: var(--red-2);
	border: 1px solid rgba(232, 25, 44, 0.25);
	transition: background 0.4s, color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.ac-service-ic .ac-ic { width: 27px; height: 27px; }
.ac-service-card:hover .ac-service-ic {
	background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.1);
	box-shadow: 0 0 36px rgba(232, 25, 44, 0.65), 0 10px 26px rgba(0, 0, 0, 0.4);
}
.ac-service-card h3 { font-size: 19px; margin: 8px 0 0; color: #fff; }
.ac-service-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.ac-service-card .ac-link { margin-top: auto; padding-top: 12px; }

/* staggered columns on wide screens */
@media (min-width: 1061px) {
	.ac-service-card:nth-child(3n+2) { margin-top: 28px; }
	.ac-service-card:nth-child(3n) { margin-top: 56px; }
}

/* ---------- Capabilities ---------- */
.ac-caps { position: relative; background: radial-gradient(800px 460px at 88% 10%, rgba(232, 25, 44, 0.08), transparent 65%), var(--bg); padding: 110px 0; overflow: hidden; }
.ac-caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.ac-cap { border-top: 1px solid var(--line); padding: 30px 4px 36px; position: relative; transition: border-color 0.35s; }
.ac-cap:hover { border-top-color: var(--red-2); }
.ac-cap-num {
	font-size: 44px; font-weight: 800; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
	display: block; margin-bottom: 14px; transition: all 0.35s;
}
.ac-cap:hover .ac-cap-num { color: var(--red-2); -webkit-text-stroke-color: transparent; }
.ac-cap-ic { color: var(--red-2); display: inline-block; margin-bottom: 8px; }
.ac-cap-ic .ac-ic { width: 26px; height: 26px; }
.ac-cap h3 { font-size: 18px; }
.ac-cap p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Projects ---------- */
.ac-projects { background: var(--light); color: var(--ink); padding: 110px 0; }
.ac-projects .ac-title { color: var(--ink); }
.ac-projects.is-related { background: var(--light-2); }
.ac-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ac-project-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow 0.35s, border-color 0.35s;
	will-change: transform;
}
.ac-project-card:hover { box-shadow: 0 28px 60px rgba(13, 13, 16, 0.14); border-color: rgba(232, 25, 44, 0.3); }
.ac-project-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.ac-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ac-project-card:hover .ac-project-media img { transform: scale(1.06); }

.ac-media-placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
	align-items: center; justify-content: center;
	color: rgba(255, 255, 255, 0.45);
	background:
		radial-gradient(260px 160px at 50% 45%, rgba(232, 25, 44, 0.14), transparent 70%),
		var(--bg-2);
	border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
	font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ac-media-placeholder svg { width: 44px; height: 44px; color: rgba(255, 70, 70, 0.7); }
.ac-media-placeholder.is-wide { position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.2); }

.ac-project-arrow {
	position: absolute; inset-inline-end: 14px; top: 14px;
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; background: var(--red); color: #fff;
	opacity: 0; transform: translateY(-8px); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.ac-project-card:hover .ac-project-arrow { opacity: 1; transform: none; }
.ac-rtl .ac-project-arrow .ac-ic { transform: scaleX(-1); }

.ac-project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.ac-tag {
	align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--red);
	background: rgba(232, 25, 44, 0.09); border-radius: 999px; padding: 5px 12px;
}
.ac-project-body h3 { font-size: 18px; margin: 4px 0 0; color: var(--ink); }
.ac-project-meta { color: var(--ink-muted); font-size: 13.5px; margin: 0 0 6px; }

/* Filter tabs */
.ac-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.ac-filter button {
	border: 1.5px solid var(--line-dark); background: transparent; color: var(--ink);
	border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: 14px;
	cursor: pointer; font-family: inherit; transition: all 0.3s;
}
.ac-filter button:hover { border-color: var(--red); color: var(--red); }
.ac-filter button.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(232, 25, 44, 0.3); }
.ac-project-card.is-hidden { display: none; }

/* ---------- Philosophy ---------- */
.ac-philosophy { position: relative; background: radial-gradient(900px 520px at 50% -10%, rgba(232, 25, 44, 0.1), transparent 65%), var(--bg); padding: 110px 0; overflow: hidden; }
/* The philosophy flow: current travels through the five steps */
.ac-flow { position: relative; margin-bottom: 64px; }
.ac-flow-wire { width: 100%; height: auto; display: block; overflow: visible; margin-bottom: 26px; }
.ac-rtl .ac-flow-wire { transform: scaleX(-1); }
.ac-wire-base { stroke: rgba(255, 255, 255, 0.09); stroke-width: 2; }
.ac-wire {
	stroke: var(--red-2); stroke-width: 2.5;
	filter: drop-shadow(0 0 7px rgba(255, 42, 55, 0.75));
	stroke-dasharray: 1; stroke-dashoffset: 1;
}
.ac-flow.is-in .ac-wire { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease) 0.2s; }
.ac-node {
	fill: var(--bg); stroke: var(--red-2); stroke-width: 2.5;
	transform-box: fill-box; transform-origin: center; transform: scale(0);
	filter: drop-shadow(0 0 6px rgba(255, 42, 55, 0.8));
}
.ac-flow.is-in .ac-node { transform: scale(1); transition: transform 0.45s var(--ease); }
.ac-flow.is-in .n1 { transition-delay: 0.45s; }
.ac-flow.is-in .n2 { transition-delay: 0.8s; }
.ac-flow.is-in .n3 { transition-delay: 1.15s; }
.ac-flow.is-in .n4 { transition-delay: 1.5s; }
.ac-flow.is-in .n5 { transition-delay: 1.85s; }
.ac-spark-g { opacity: 0; }
.ac-flow.is-in .ac-spark-g { opacity: 1; transition: opacity 0.8s ease 2.2s; }

.ac-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.ac-step { text-align: center; padding: 0 4px; }
.ac-step:nth-child(even) { margin-top: 30px; }
.ac-step-num {
	font-size: 38px; font-weight: 800; line-height: 1; display: block; margin-bottom: 12px;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 42, 55, 0.65);
	transition: color 0.35s, text-shadow 0.35s;
}
.ac-step:hover .ac-step-num { color: var(--red-2); -webkit-text-stroke-color: transparent; text-shadow: 0 0 20px rgba(255, 42, 55, 0.6); }
.ac-step h3 { font-size: 17px; }
.ac-step p { color: var(--muted); font-size: 13.8px; margin: 0; }

.ac-commitment {
	border-radius: 24px; padding: 46px 50px; text-align: center;
	background: linear-gradient(120deg, var(--red) 0%, #b2101f 100%);
	box-shadow: 0 30px 70px rgba(232, 25, 44, 0.3);
	position: relative; overflow: hidden;
}
.ac-commitment::after {
	content: ""; position: absolute; inset: -60% auto auto -10%; width: 50%; aspect-ratio: 1;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}
.ac-commitment p { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; margin: 6px auto 0; max-width: 820px; color: #fff; }

/* ---------- Testimonials ---------- */
.ac-testimonials { background: var(--light); color: var(--ink); padding: 110px 0 120px; }
.ac-testimonials .ac-title { color: var(--ink); }
.ac-quotes { position: relative; max-width: 780px; margin: 0 auto; text-align: center; min-height: 220px; }
.ac-quote { display: none; }
.ac-quote.is-active { display: block; animation: acFade 0.6s var(--ease); }
@keyframes acFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ac-quote-mark { font-size: 90px; line-height: 0.4; display: block; color: var(--red); font-family: Georgia, serif; margin: 30px 0 4px; }
.ac-quote blockquote { margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; color: var(--ink); }
.ac-quote figcaption { margin-top: 18px; color: var(--ink-muted); font-size: 14px; letter-spacing: 0.06em; }
.ac-quote-nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.ac-quote-nav button {
	width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark);
	background: none; color: var(--ink); font-size: 22px; cursor: pointer; transition: all 0.3s;
}
.ac-quote-nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Blog ---------- */
.ac-blog { background: var(--light-2); color: var(--ink); padding: 90px 0 110px; }
.ac-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ac-post-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow 0.35s, border-color 0.35s;
	will-change: transform;
}
.ac-post-card:hover { box-shadow: 0 26px 56px rgba(13, 13, 16, 0.14); border-color: rgba(232, 25, 44, 0.35); }
.ac-post-media { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; position: relative; }
.ac-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ac-post-card:hover .ac-post-media img { transform: scale(1.06); }
.ac-post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ac-post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 12.5px; color: var(--ink-muted); }
.ac-post-body h3 { font-size: 18px; margin: 2px 0 0; color: var(--ink); line-height: 1.35; }
.ac-post-excerpt { color: var(--ink-muted); font-size: 14px; margin: 0 0 6px; }
.ac-post-card .ac-link { margin-top: auto; }

/* dark glass variant for the home sections */
.ac-post-card.is-dark { background: linear-gradient(172deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border-color: var(--line); }
.ac-post-card.is-dark:hover { border-color: rgba(232, 25, 44, 0.5); box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45); }
.ac-post-card.is-dark h3 { color: #fff; }
.ac-post-card.is-dark .ac-post-meta, .ac-post-card.is-dark .ac-post-excerpt { color: var(--muted); }

.ac-bloghome { position: relative; background: radial-gradient(700px 400px at 85% 0%, rgba(232, 25, 44, 0.08), transparent 65%), var(--bg-2); padding: 110px 0; overflow: hidden; border-top: 1px solid var(--line); }

.ac-pagination { margin-top: 48px; text-align: center; }
.ac-pagination .nav-links { display: inline-flex; gap: 8px; }
.ac-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--line-dark); color: var(--ink); font-weight: 600; font-size: 14px;
	transition: all 0.3s;
}
.ac-pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.ac-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Article ---------- */
.ac-article-wrap { background: var(--light); color: var(--ink); padding: 70px 0 100px; }
.ac-article-meta { font-size: 14.5px; }
.ac-article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; }
.ac-article-cover img { width: 100%; display: block; }
.ac-article { max-width: 780px; margin: 0 auto; font-size: 17px; color: #2c2c33; line-height: 1.85; }
.ac-article h2 { color: var(--ink); font-size: 26px; margin: 1.6em 0 0.6em; }
.ac-article h3 { color: var(--ink); font-size: 20px; margin: 1.4em 0 0.5em; }
.ac-article ul, .ac-article ol { padding-inline-start: 22px; }
.ac-article li { margin-bottom: 8px; }
.ac-article a { color: var(--red); font-weight: 600; }
.ac-article blockquote { border-inline-start: 3px solid var(--red); margin: 1.4em 0; padding: 4px 0 4px 20px; color: var(--ink); font-weight: 500; }
.ac-article img { border-radius: 14px; }

.ac-article-cta {
	max-width: 780px; margin: 54px auto 0; padding: 34px 36px; border-radius: 20px;
	background: var(--light-2); border: 1px solid var(--line-dark); text-align: center;
}
.ac-article-cta p { font-weight: 600; color: var(--ink); font-size: 18px; }
.ac-article-cta .ac-hero-actions { justify-content: center; }

.ac-article-nav {
	max-width: 780px; margin: 44px auto 0; display: flex; justify-content: space-between; gap: 24px;
	border-top: 1px solid var(--line-dark); padding-top: 26px;
}
.ac-article-nav span { display: block; font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-muted); font-weight: 700; margin-bottom: 6px; text-transform: uppercase; }
.ac-article-nav a { color: var(--ink); font-weight: 600; transition: color 0.3s; }
.ac-article-nav a:hover { color: var(--red); }
.ac-article-nav .is-next { text-align: end; }

/* ---------- CTA band ---------- */
.ac-cta { position: relative; background: radial-gradient(760px 420px at 50% 120%, rgba(232, 25, 44, 0.2), transparent 70%), var(--bg); padding: 110px 0 100px; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.ac-cta-title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; margin: 18px 0 30px; }
.ac-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ac-footer { background: #030304; border-top: 1px solid var(--line); padding: 70px 0 0; }
.ac-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 54px; }
.ac-footer h4 { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.ac-footer-col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.ac-footer-col a { color: var(--muted); font-size: 14.5px; transition: color 0.3s; display: inline-flex; align-items: center; gap: 10px; }
.ac-footer-col a:hover { color: #fff; }
.ac-footer-col a .ac-ic, .ac-footer-addr .ac-ic { width: 17px; height: 17px; color: var(--red-2); }
.ac-footer-brand .ac-logo-word { font-size: 26px; }
.ac-footer-slogan { margin: 14px 0 8px; font-weight: 700; }
.ac-footer-slogan span { color: var(--red-2); }
.ac-footer-note { color: var(--muted); font-size: 14px; max-width: 300px; }
.ac-footer-addr { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin: 0; }
.ac-footer-addr .ac-ic { margin-top: 4px; flex: none; }

.ac-socials { display: flex; gap: 10px; margin-top: 10px; }
.ac-socials a {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
	display: grid; place-items: center; color: var(--muted); transition: all 0.3s;
}
.ac-socials a svg { width: 17px; height: 17px; }
.ac-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }

.ac-footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.ac-footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.4); font-size: 13px; text-align: center; }

/* Floating WhatsApp */
.ac-wa-float {
	position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--wa); color: #06270f; display: grid; place-items: center;
	box-shadow: 0 14px 34px rgba(30, 215, 96, 0.4);
	transition: transform 0.3s var(--ease), box-shadow 0.3s;
	animation: acWaIn 0.8s var(--ease) 1.2s backwards;
}
.ac-wa-float .ac-ic { width: 26px; height: 26px; }
.ac-wa-float:hover { transform: scale(1.1); box-shadow: 0 18px 44px rgba(30, 215, 96, 0.55); }
@keyframes acWaIn { from { transform: scale(0); } }

/* ---------- Inner page hero ---------- */
.ac-page-hero {
	position: relative; padding: 170px 0 70px; overflow: hidden;
	background: radial-gradient(700px 380px at 80% 0%, rgba(232, 25, 44, 0.12), transparent 65%), var(--bg);
	border-bottom: 1px solid var(--line);
}
.ac-page-hero.is-404 { text-align: center; padding-bottom: 100px; }
.ac-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; letter-spacing: 0.04em; }
.ac-crumbs a { color: var(--muted); transition: color 0.3s; }
.ac-crumbs a:hover { color: #fff; }
.ac-crumbs span { color: var(--red-2); }
.ac-page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.015em; }
.ac-page-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-top: 10px; }

/* ---------- Service detail ---------- */
.ac-service-detail { background: var(--light); color: var(--ink); padding: 90px 0; }
.ac-service-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.ac-service-content { font-size: 16.5px; color: #2c2c33; }
.ac-service-content h2, .ac-service-content h3 { color: var(--ink); margin-top: 1.4em; }
.ac-service-content ul { padding-inline-start: 20px; }
.ac-deliver-card {
	position: sticky; top: 110px;
	background: var(--bg); color: var(--text); border-radius: 22px; padding: 36px 32px;
	box-shadow: var(--shadow);
}
.ac-deliver-card h3 { color: #fff; margin-bottom: 18px; }
.ac-deliver-card .ac-checks { margin-bottom: 26px; }
.ac-deliver-card .ac-checks li { font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* ---------- Project detail ---------- */
.ac-project-detail { background: var(--light); color: var(--ink); padding: 70px 0 100px; }
.ac-project-hero { border-radius: var(--radius); overflow: hidden; }
.ac-project-hero img { width: 100%; display: block; border-radius: var(--radius); }
.ac-project-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;
	margin: 30px 0 40px;
}
.ac-project-facts div { border: 1px solid var(--line-dark); border-radius: 14px; padding: 18px 20px; background: #fff; }
.ac-project-facts span { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.ac-project-facts strong { color: var(--ink); font-size: 15px; }
.ac-project-body-copy { max-width: 980px; font-size: 16.5px; color: #2c2c33; }
.ac-project-body-copy h2 { color: var(--ink); }
.ac-project-body-copy .ac-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.ac-project-body-copy .ac-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.ac-project-body-copy .ac-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.5s var(--ease); }
.ac-project-body-copy .ac-gallery figure:hover img { transform: scale(1.05); }
.ac-project-nav { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.ac-contact { background: var(--light-2); color: var(--ink); padding: 90px 0 110px; }
.ac-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 54px; }
.ac-contact-card {
	display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius);
	padding: 32px 30px; transition: box-shadow 0.35s, border-color 0.35s;
	will-change: transform;
}
.ac-contact-card:hover { border-color: rgba(232, 25, 44, 0.35); box-shadow: 0 22px 46px rgba(13, 13, 16, 0.1); }
.ac-contact-card .ac-ic { width: 28px; height: 28px; color: var(--red); }
.ac-contact-card span { font-size: 11.5px; letter-spacing: 0.24em; font-weight: 700; color: var(--ink-muted); }
.ac-contact-card strong { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.5; }

.ac-form-wrap { background: #fff; border: 1px solid var(--line-dark); border-radius: 24px; padding: 48px; max-width: 860px; margin: 0 auto; }
.ac-form-wrap h2 { color: var(--ink); margin-bottom: 24px; }
.ac-form { display: flex; flex-direction: column; gap: 18px; }
.ac-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ac-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ac-form input, .ac-form textarea {
	border: 1.5px solid var(--line-dark); border-radius: 12px; padding: 13px 16px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: var(--light-2);
	transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.ac-form input:focus, .ac-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(232, 25, 44, 0.12); background: #fff; }
.ac-form button { align-self: flex-start; }
.ac-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.ac-form-ok { background: #e8f9ef; color: #0c6b35; border: 1px solid #b9ecce; border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.ac-form-err { background: #fdecec; color: #a4121f; border: 1px solid #f6c6c9; border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.ac-form-note { margin-top: 22px; color: var(--ink-muted); font-size: 14px; }
.ac-form-note a { color: var(--red); font-weight: 600; }

/* ---------- Plain / fallback ---------- */
.ac-plain { background: var(--light); color: var(--ink); padding: 80px 0 100px; }
.ac-plain-entry { max-width: 820px; font-size: 16.5px; color: #2c2c33; }
.ac-plain-entry h2 { color: var(--ink); }

/* ---------- Mobile nav & responsive ---------- */
@media (max-width: 1060px) {
	.ac-services-grid, .ac-projects-grid, .ac-blog-grid { grid-template-columns: repeat(2, 1fr); }
	.ac-caps-grid, .ac-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.ac-steps { grid-template-columns: repeat(3, 1fr); }
	.ac-step, .ac-step:nth-child(even) { margin-top: 0; text-align: start; }
	.ac-flow-wire { display: none; }
	.ac-flow { margin-bottom: 48px; }
	.ac-flow .ac-step { border-top: 1px solid var(--line); padding-top: 20px; }
	.ac-flow .ac-step:hover { border-top-color: var(--red-2); }
	.ac-footer-grid { grid-template-columns: 1fr 1fr; }
	.ac-about-grid, .ac-service-grid { grid-template-columns: 1fr; gap: 44px; }
	.ac-stat-card { max-width: 420px; }
	.ac-deliver-card { position: static; }
}

@media (max-width: 860px) {
	.ac-nav {
		position: fixed; inset: 0; background: rgba(4, 4, 6, 0.97); backdrop-filter: blur(16px);
		flex-direction: column; align-items: center; justify-content: center; gap: 30px;
		opacity: 0; pointer-events: none; transition: opacity 0.35s; z-index: 89; margin: 0;
	}
	.ac-nav a { font-size: 22px; font-weight: 600; }
	.ac-nav-item { flex-direction: column; }
	.ac-drop { display: none; }
	.ac-caret { display: none; }
	body.ac-nav-open .ac-nav { opacity: 1; pointer-events: auto; }
	body.ac-nav-open { overflow: hidden; }
	.ac-burger { display: block; position: relative; z-index: 95; }
	.ac-header-wa { display: none; }
}

@media (max-width: 640px) {
	.ac-services-grid, .ac-projects-grid, .ac-caps-grid, .ac-contact-cards, .ac-blog-grid { grid-template-columns: 1fr; }
	.ac-article-nav { flex-direction: column; }
	.ac-article-nav .is-next { text-align: start; }
	.ac-steps { grid-template-columns: 1fr 1fr; }
	.ac-form-row { grid-template-columns: 1fr; }
	.ac-form-wrap { padding: 30px 22px; }
	.ac-footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.ac-commitment { padding: 34px 24px; }
	.ac-marquee span { font-size: 20px; }
	.ac-ph { width: 190px; height: 128px; }
	.ac-hero { padding-top: 104px; }
	.ac-ideo.is-hero svg { max-height: 30vh; }
	.ac-stats-grid { gap: 26px 18px; }
	.ac-stat-val { font-size: 2.2rem; }
	.ac-project-body-copy .ac-gallery { grid-template-columns: repeat(2, 1fr); }
	.ac-wrap { padding: 0 18px; }
}

/* ---------- Reduced motion ----------
   Per the client's request the site keeps its motion even under the OS
   reduced-motion flag (the animations are gentle: opacity, stroke draws and
   slow drifts, no flashing). Only smooth scrolling defers to the OS. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
