/* ==========================================================================
   Qafie Consultancy — main stylesheet
   ========================================================================== */

:root {
	--teal: #3db3ae;
	--teal-600: #1f9f99;
	--teal-700: #117c77;
	--teal-100: #d5f0ee;
	--teal-50: #eef9f8;
	--aqua: #6fd6d1;
	--ink: #0f1b2d;
	--ink-2: #17263d;
	--text: #465366;
	--muted: #6b7688;
	--line: #e2ebea;
	--white: #fff;
	--soft: #f4fbfa;

	--font-head: "Montserrat", system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, sans-serif;

	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 10px rgba(15, 27, 45, .06);
	--shadow: 0 18px 40px -18px rgba(15, 27, 45, .22);
	--shadow-teal: 0 18px 40px -14px rgba(31, 159, 153, .55);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.big { width: 44px; height: 44px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.bg-soft { background: var(--soft); }
.bg-dark { background: var(--ink); color: #b8c3d3; }
.bg-dark h2, .bg-dark h3 { color: #fff; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* Eyebrow + section heads */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-weight: 700; font-size: .78rem;
	letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600);
	margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--aqua); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.08rem; }
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.split-head > div { max-width: 620px; }
.split-head > div h2 { margin: 0; }
.split-head > p { max-width: 440px; margin: 0; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem;
	padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-600) 100%); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(31, 159, 153, .7); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--teal-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--teal); padding-bottom: 3px; }
.text-link:hover { color: var(--teal-600); gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: #9fb0c5; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar-contacts { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a { color: #c9d4e2; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--aqua); }
.topbar .icon { width: 15px; height: 15px; color: var(--teal); }
.topbar .social a { width: 30px; height: 30px; }

.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: inherit; background: rgba(255, 255, 255, .06); transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15, 27, 45, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: var(--header-h); }
.logo img { height: 50px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { padding: 12px 22px; }

.main-nav .menu { display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a {
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
	padding: 10px 14px; border-radius: 10px; position: relative;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--teal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after,
.main-nav .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-ancestor > a { color: var(--teal-700); }
.sub-toggle { background: none; border: 0; color: var(--ink); padding: 4px; margin-left: -10px; display: grid; place-items: center; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.main-nav-head, .nav-mobile-cta, .nav-toggle { display: none; }

@media (min-width: 1101px) {
	.main-nav .sub-menu {
		position: absolute; top: calc(100% + 10px); left: -10px; min-width: 290px;
		background: #fff; border-radius: 16px; padding: 10px;
		box-shadow: 0 30px 60px -20px rgba(15, 27, 45, .3), 0 0 0 1px var(--line);
		opacity: 0; visibility: hidden; transform: translateY(10px);
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.main-nav .sub-menu li { position: relative; display: flex; align-items: center; }
	.main-nav .sub-menu a {
		flex: 1; display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink);
		font-weight: 500; font-size: .95rem; transition: background .2s, color .2s, padding .2s;
	}
	.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--teal-50); color: var(--teal-700); padding-left: 18px; }
	.main-nav .sub-menu .sub-toggle { position: absolute; right: 8px; margin: 0; pointer-events: none; }
	.main-nav .sub-menu .sub-toggle .icon { transform: rotate(-90deg); }
	.main-nav .sub-menu .sub-menu { top: -10px; left: calc(100% + 8px); }
	.main-nav .sub-menu .sub-menu::before { left: -12px; top: 0; bottom: 0; width: 12px; height: auto; }
	.main-nav .menu > li:hover > .sub-toggle .icon { transform: rotate(180deg); }
}

@media (max-width: 1100px) {
	.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
	.nav-toggle .icon { width: 24px; height: 24px; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; z-index: 200;
		padding: 20px 22px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
		display: flex; flex-direction: column; gap: 20px;
	}
	.main-nav.is-open { transform: none; box-shadow: -30px 0 60px rgba(15, 27, 45, .25); }
	.main-nav-head { display: flex; justify-content: space-between; align-items: center; }
	.main-nav-head .logo img { height: 42px; }
	.nav-close { background: var(--teal-50); border: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.main-nav .menu a { flex: 1; padding: 14px 4px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
	.main-nav .menu > li > a::after { display: none; }
	.sub-toggle { width: 42px; height: 42px; margin: 0; }
	.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.main-nav .sub-menu { display: none; width: 100%; padding-left: 14px; border-left: 2px solid var(--teal-100); margin-bottom: 10px; }
	.main-nav .sub-menu.is-open { display: block; }
	.main-nav .sub-menu li { border: 0; }
	.main-nav .sub-menu a { font-weight: 500; font-size: .95rem; padding: 9px 4px; color: var(--text); }
	.nav-mobile-cta { display: inline-flex; margin-top: auto; }
	.nav-overlay { position: fixed; inset: 0; background: rgba(15, 27, 45, .5); z-index: 150; backdrop-filter: blur(3px); }
	.header-cta { display: none; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
	.topbar { display: none; }
	:root { --header-h: 72px; }
	.logo img { height: 42px; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 9vw, 130px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-swoosh { position: absolute; top: 0; right: 0; width: 70%; height: 260px; }
.hero-swoosh .s1 { fill: var(--teal); opacity: .95; }
.hero-swoosh .s2 { fill: #8fd8d4; opacity: .8; }
.hero-swoosh .s3 { fill: none; stroke: #fff; stroke-width: 3; opacity: .9; }
.hero-rings, .cta-rings, .contact-rings {
	position: absolute; border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 13px, rgba(61, 179, 174, .16) 13px 14px);
	-webkit-mask: radial-gradient(circle, #000 55%, transparent 71%);
	mask: radial-gradient(circle, #000 55%, transparent 71%);
}
.hero .hero-rings { width: 760px; height: 760px; right: -260px; top: 140px; animation: spin 80s linear infinite; }
.hero-dots {
	position: absolute; left: 3%; bottom: 60px; width: 220px; height: 140px;
	background: radial-gradient(circle, #cfe4e2 2.5px, transparent 3px) 0 0 / 22px 22px;
	opacity: .8;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.text-gradient {
	background: linear-gradient(100deg, var(--teal-600), var(--aqua) 50%, var(--teal-600));
	background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: shine 6s linear infinite;
}
.hero-text { font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: .92rem; color: var(--ink); font-weight: 500; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; }

.hero-visual { position: relative; height: 520px; }
.orb { position: absolute; width: 380px; height: 380px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--aqua), var(--teal-600) 60%, var(--teal-700)); filter: blur(2px); opacity: .95; box-shadow: 0 40px 100px -30px rgba(31, 159, 153, .7); }
.mock-browser {
	position: absolute; left: 0; top: 70px; width: 82%; background: #fff; border-radius: 16px;
	box-shadow: 0 40px 80px -30px rgba(15, 27, 45, .45), 0 0 0 1px rgba(15, 27, 45, .05); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f3f6f8; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.mock-bar i:nth-child(2) { background: #ffc94d; }
.mock-bar i:nth-child(3) { background: #3ddc84; }
.mock-bar span { margin-left: 12px; font-size: .72rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 99px; }
.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-hero { background: linear-gradient(135deg, var(--ink), var(--ink-2)); border-radius: 12px; padding: 18px; display: grid; gap: 8px; }
.mock-hero span { height: 8px; width: 70%; background: rgba(255, 255, 255, .8); border-radius: 4px; }
.mock-hero span:first-child { height: 12px; width: 50%; background: var(--aqua); }
.mock-hero span.short { width: 40%; opacity: .5; }
.mock-hero b { width: 80px; height: 22px; background: var(--teal); border-radius: 99px; margin-top: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i { height: 54px; border-radius: 10px; background: var(--teal-50); border: 1px solid var(--teal-100); }
.mock-chart svg { width: 100%; height: 60px; }
.mock-chart path { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s .6s var(--ease) forwards; }
.mock-chart path.area { fill: rgba(61, 179, 174, .12); stroke: none; animation: none; }
.mock-phone {
	position: absolute; right: 2%; bottom: 20px; width: 190px; height: 360px; background: var(--ink);
	border-radius: 34px; padding: 12px; box-shadow: 0 40px 80px -25px rgba(15, 27, 45, .6);
}
.mock-phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: var(--ink); border-radius: 0 0 12px 12px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 24px; background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); padding: 36px 16px 16px; display: flex; flex-direction: column; gap: 9px; }
.ph-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--teal-600)); margin-bottom: 6px; }
.phone-screen > span { height: 8px; width: 80%; background: var(--ink); border-radius: 4px; opacity: .8; }
.phone-screen > span.short { width: 55%; opacity: .3; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ph-tiles i { height: 60px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.ph-tiles i:first-child { background: var(--teal); }
.phone-screen b { margin-top: auto; height: 34px; border-radius: 99px; background: var(--ink); }
.chip {
	position: absolute; display: flex; align-items: center; gap: 10px; background: #fff;
	padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: var(--shadow); font-size: .8rem; color: var(--muted); line-height: 1.3;
}
.chip strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .9rem; }
.chip .icon { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--teal-50); color: var(--teal-600); }
.chip-1 { top: 10px; right: 6%; }
.chip-2 { left: -30px; bottom: 90px; }
.chip-3 { right: 36%; bottom: -6px; }

.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 6s ease-in-out -2s infinite; }
.float-c { animation: floatY 5s ease-in-out -1s infinite; }

/* Marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: -20px -10px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.marquee .icon { color: var(--teal); width: 20px; height: 20px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   About (home)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; min-height: 600px; }
.about-card { position: absolute; border-radius: var(--radius-lg); padding: 34px; width: 66%; }
.about-card h3 { font-size: 1.4rem; }
.about-card p { margin: 0; font-size: .98rem; }
.about-card .icon { margin-bottom: 18px; }
.about-card.main { top: 0; left: 0; background: var(--teal); color: #eafffd; box-shadow: var(--shadow-teal); }
.about-card.main h3 { color: #fff; }
.about-card.main .icon { color: #fff; }
.about-card.alt { right: 0; bottom: 0; z-index: 1; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-card.alt .icon { color: var(--teal); }
.about-badge {
	position: absolute; left: 4%; bottom: 30px; width: 156px; height: 156px; z-index: 2; border-radius: 50%;
	background: var(--ink); color: #fff; display: grid; place-content: center; text-align: center;
	font-family: var(--font-head); box-shadow: var(--shadow); border: 6px solid #fff;
	grid-template-columns: auto auto auto; column-gap: 4px; align-items: center;
}
.about-badge strong { font-size: 1.25rem; font-weight: 800; }
.about-badge span { color: var(--teal); font-weight: 800; font-size: 1.3rem; }
.about-badge em { grid-column: 1 / -1; font-style: normal; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb0c5; margin-top: 4px; padding: 0 16px; line-height: 1.3; }
.quote {
	margin: 26px 0 32px; padding: 22px 26px; border-left: 4px solid var(--teal); background: var(--soft);
	border-radius: 0 16px 16px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.6; position: relative;
}
.quote::before { content: "“"; position: absolute; right: 18px; top: -18px; font-size: 5rem; color: var(--teal-100); line-height: 1; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.services-grid.four { grid-template-columns: repeat(4, 1fr); }
.services-grid.two { grid-template-columns: repeat(2, 1fr); margin-bottom: 50px; }
.archive .services-grid:not(.four) { grid-template-columns: repeat(3, 1fr); }
.service-card {
	position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 28px 30px;
	border: 1px solid var(--line); overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
	transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, color .4s;
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(150deg, var(--teal) 0%, var(--teal-700) 100%);
	clip-path: circle(0 at 90% 10%); transition: clip-path .6s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-teal); border-color: transparent; color: #e3fbf9; }
.service-card:hover::before { clip-path: circle(150% at 90% 10%); }
.service-card:hover h3 a, .service-card:hover .card-link { color: #fff; }
.service-num { position: absolute; right: 24px; top: 20px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--teal-50); line-height: 1; transition: color .4s; }
.service-card:hover .service-num { color: rgba(255, 255, 255, .14); }
.service-icon {
	width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px;
	background: var(--teal-50); color: var(--teal-600); transition: background .4s, color .4s, transform .5s var(--ease);
}
.service-icon .icon { width: 30px; height: 30px; }
.service-icon.lg { width: 80px; height: 80px; border-radius: 22px; }
.service-icon.lg .icon { width: 38px; height: 38px; }
.service-card:hover .service-icon { background: rgba(255, 255, 255, .18); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card h3 a { color: var(--ink); transition: color .4s; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { font-size: .95rem; margin-bottom: 20px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--teal-600); transition: color .4s, gap .3s; }
.card-link .icon { width: 16px; height: 16px; }
.service-card:hover .card-link { gap: 12px; }
.service-card-cta { background: var(--ink); color: #9fb0c5; justify-content: center; border: 0; }
.service-card-cta h3 { color: #fff; font-size: 1.4rem; }
.service-card-cta .round-arrow { width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-top: 10px; transition: transform .4s var(--ease); }
.service-card-cta:hover { color: #e3fbf9; }
.service-card-cta:hover .round-arrow { transform: rotate(-45deg); background: #fff; color: var(--teal-700); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; counter-reset: step; position: relative; }
.process-step { position: relative; padding-top: 6px; }
.process-badge { position: relative; width: 84px; height: 84px; margin-bottom: 22px; }
.process-badge .icon { width: 84px; height: 84px; padding: 22px; border-radius: 26px; background: #fff; color: var(--teal-600); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.process-step:hover .process-badge .icon { background: var(--teal); color: #fff; transform: rotate(8deg); }
.process-badge span { position: absolute; top: -10px; right: -12px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; display: grid; place-items: center; border: 3px solid #fff; }
.process-step::after { content: ""; position: absolute; top: 48px; left: 110px; right: -30px; border-top: 2px dashed var(--teal-100); }
.process-step:nth-child(3n)::after { display: none; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { font-size: .96rem; margin: 0; }

/* Stats */
.stats-band { background: linear-gradient(120deg, var(--teal-600) 0%, var(--teal) 55%, var(--aqua) 100%); padding: 60px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .22) 2px, transparent 2.5px) 0 0 / 26px 26px; -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; color: #e7fffd; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .25); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: #fff; line-height: 1; }
.stat-num small { font-size: .5em; margin-left: 4px; }
.stat p { margin: 10px 0 0; font-weight: 500; }

/* What we do */
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.expertise-grid li {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff;
	border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.expertise-grid li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.expertise-grid li span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal); color: #fff; flex: none; }
.expertise-grid .icon { width: 22px; height: 22px; }

/* Why */
.why { overflow: hidden; }
.why::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; top: -200px; background: radial-gradient(circle, rgba(61, 179, 174, .25), transparent 65%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.why-item { background: var(--ink); padding: 40px 34px; transition: background .4s; }
.why-item:hover { background: var(--ink-2); }
.why-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(61, 179, 174, .14); color: var(--aqua); margin-bottom: 22px; transition: transform .4s var(--ease); }
.why-item:hover .why-icon { transform: translateY(-4px); background: var(--teal); color: #fff; }
.why-icon .icon { width: 26px; height: 26px; }
.why-item p { margin: 0; font-size: .96rem; }

/* Portfolio */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { transition: opacity .4s, transform .4s; }
.project-card.is-hidden { display: none; }
.project-media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-50); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.hue-0 { background: linear-gradient(135deg, #0f1b2d, #1d3a52); }
.hue-1 { background: linear-gradient(135deg, var(--teal), var(--teal-700)); }
.hue-2 { background: linear-gradient(135deg, #cdeeed, #f4fbfa); }
.hue-3 { background: linear-gradient(135deg, #17263d, var(--teal-600)); }
.project-placeholder { position: absolute; inset: 14% 12% 0; background: #fff; border-radius: 14px 14px 0 0; padding: 18px; display: grid; gap: 9px; align-content: start; box-shadow: 0 -10px 40px rgba(0, 0, 0, .15); transition: transform .6s var(--ease); }
.project-card:hover .project-placeholder { transform: translateY(-8px); }
.ph-bar { height: 12px; width: 45%; border-radius: 6px; background: var(--teal); }
.ph-line { height: 7px; width: 85%; border-radius: 4px; background: #e4ecef; }
.ph-line.short { width: 60%; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ph-grid i { height: 50px; border-radius: 8px; background: var(--teal-50); }
.project-arrow { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .4s var(--ease); box-shadow: var(--shadow); }
.project-card:hover .project-arrow { transform: none; }
.project-body { padding: 20px 6px 0; }
.project-cat { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); }
.project-body h3 { font-size: 1.25rem; margin: 6px 0; }
.project-body h3 a { color: var(--ink); }
.project-body h3 a:hover { color: var(--teal-600); }
.project-stack { font-size: .9rem; color: var(--muted); margin: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter-bar button { border: 1px solid var(--line); background: #fff; padding: 10px 22px; border-radius: 99px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); transition: all .25s; }
.filter-bar button:hover { border-color: var(--teal); color: var(--teal-700); }
.filter-bar button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* CTA */
.cta-section { padding-top: 0; }
.bg-soft + .cta-section, .offices + .cta-section { padding-top: clamp(70px, 9vw, 120px); }
.cta-box {
	position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 80px);
	background: linear-gradient(125deg, var(--ink) 0%, var(--ink-2) 45%, var(--teal-700) 130%);
	display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; color: #b8c3d3;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin: 0; max-width: 560px; }
.cta-rings { width: 560px; height: 560px; right: -160px; top: -200px; background: repeating-radial-gradient(circle, transparent 0 15px, rgba(111, 214, 209, .18) 15px 16px); animation: spin 90s linear infinite; }
.cta-copy, .cta-actions { position: relative; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-phone { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; }
.cta-phone .icon { color: var(--aqua); }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 clamp(100px, 11vw, 150px);
	background: linear-gradient(125deg, var(--teal-700) 0%, var(--teal) 60%, var(--aqua) 120%); color: #e3fbf9;
}
.page-hero .hero-rings { width: 700px; height: 700px; right: -180px; top: -240px; background: repeating-radial-gradient(circle, transparent 0 14px, rgba(255, 255, 255, .16) 14px 15px); animation: spin 90s linear infinite; }
.page-hero-inner { position: relative; max-width: 900px; margin-left: max(20px, calc((100% - 1240px) / 2)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-hero-sub { font-size: 1.15rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; margin-bottom: 18px; font-weight: 500; }
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.breadcrumb span { opacity: .7; }
.page-hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: #fff; }

/* About page */
.mv-stack { display: grid; gap: 24px; }
.mv-card { position: relative; padding: 38px; border-radius: var(--radius-lg); background: var(--teal); color: #eafffd; overflow: hidden; }
.mv-card.dark { background: var(--ink); color: #b8c3d3; }
.mv-card h3 { color: #fff; font-size: 1.5rem; }
.mv-card p { margin: 0; }
.mv-num { position: absolute; right: 28px; top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 4rem; color: rgba(255, 255, 255, .15); line-height: 1; }
.mv-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; margin-bottom: 20px; }
.mv-card.dark .mv-icon { background: var(--teal); }
.mv-icon .icon { width: 28px; height: 28px; }

.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office-card { background: #fff; border-radius: var(--radius-lg); padding: 38px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.office-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, var(--teal-50) 10px 11px); }
.office-tag { display: inline-block; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .25em; font-size: .8rem; padding: 7px 20px; transform: skewX(-14deg); margin-bottom: 18px; }
.office-card h3 { font-size: 1.6rem; }
.office-card ul { display: grid; gap: 14px; position: relative; z-index: 1; }
.office-card li { display: flex; gap: 14px; align-items: flex-start; }
.office-card li .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--teal); color: #fff; }
.office-card li a, .office-card li span { color: var(--ink); padding-top: 5px; }
.office-card li a:hover { color: var(--teal-600); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #b8c3d3; padding: 44px 38px; }
.contact-info h2 { color: #fff; font-size: 1.9rem; }
.contact-rings { width: 420px; height: 420px; right: -180px; bottom: -180px; background: repeating-radial-gradient(circle, transparent 0 12px, rgba(111, 214, 209, .2) 12px 13px); }
.contact-list { display: grid; gap: 18px; margin: 30px 0; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list li > span { width: 50px; height: 50px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.contact-list small { display: block; font-size: .8rem; color: #8193a8; }
.contact-list a { color: #fff; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--aqua); }
.contact-info .social { position: relative; z-index: 1; }
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form-wrap h2 { font-size: 1.8rem; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 14px 16px; border-radius: 12px;
	border: 1.5px solid var(--line); background: var(--soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(61, 179, 174, .15); }
.field.has-error input, .field.has-error textarea { border-color: #e25555; }
.hp-field { position: absolute; left: -9999px; }
.form-notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; font-weight: 500; margin: 20px 0 0; }
.form-notice.is-success { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.form-notice.is-error { background: #fdecec; color: #a12d2d; border: 1px solid #f7caca; }
.map-wrap { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.3); }

/* Single service */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.service-main > h2 { margin-top: 60px; font-size: 2rem; }
.service-intro { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1.1em; }
.entry-content img { border-radius: var(--radius); }
.entry-content > p:first-child { font-size: 1.15rem; color: var(--ink); }
.service-figure { margin: 40px 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { display: flex; gap: 16px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { border-color: var(--teal-100); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-check { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.feature-check .icon { width: 18px; height: 18px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .94rem; }
.benefit-tech { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; }
.benefit-box, .tech-box { border-radius: var(--radius-lg); padding: 34px; }
.benefit-box { background: var(--soft); border: 1px solid var(--teal-100); }
.tech-box { background: var(--ink); color: #b8c3d3; }
.tech-box h3 { color: #fff; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-chips li { padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .9rem; font-weight: 500; transition: background .25s; }
.tech-chips li:hover { background: var(--teal); }
.service-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-box { background: var(--soft); border-radius: var(--radius-lg); padding: 30px; }
.side-box h3 { font-size: 1.2rem; padding-bottom: 14px; border-bottom: 2px solid var(--teal-100); }
.side-services { display: grid; gap: 6px; }
.side-services a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: .96rem; transition: background .25s, color .25s, padding .25s; }
.side-services .icon { color: var(--teal-600); }
.side-services a:hover { background: #fff; padding-left: 20px; }
.side-services .is-active a { background: var(--teal); color: #fff; }
.side-services .is-active .icon { color: #fff; }
.side-cta { background: linear-gradient(150deg, var(--teal), var(--teal-700)); color: #e3fbf9; text-align: center; }
.side-cta h3 { color: #fff; border: 0; padding: 0; }
.side-cta .icon { margin: 0 auto 14px; color: #fff; }
.side-cta .btn { width: 100%; }
.side-phone { display: block; margin-top: 14px; color: #fff; font-weight: 600; }
.side-phone:hover { color: #fff; text-decoration: underline; }
.project-meta { margin: 0 0 20px; display: grid; gap: 4px; }
.project-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-top: 10px; }
.project-meta dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 16 / 10; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 26px; }
.post-date { font-size: .82rem; color: var(--teal-600); font-weight: 700; }
.post-body h3 a { color: var(--ink); }
.empty { text-align: center; padding: 40px 0; }
.pagination { margin-top: 50px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; padding: 0 12px; }
.page-numbers.current, .page-numbers:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* 404 */
.big-404 { font-family: var(--font-head); font-weight: 800; font-size: clamp(7rem, 20vw, 13rem); line-height: 1; background: linear-gradient(135deg, var(--teal), var(--ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: #9fb0c5; padding: 120px 0 0; margin-top: 0; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; fill: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 50px; padding-bottom: 60px; }
.footer-brand .logo img { height: 56px; margin-bottom: 22px; }
.footer-brand p { font-size: .96rem; margin-bottom: 24px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--teal); border-radius: 2px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #9fb0c5; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; font-size: .96rem; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0; transition: opacity .2s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover::before { opacity: 1; }
.footer-office { margin-bottom: 18px; font-size: .92rem; }
.footer-office p { margin: 6px 0 2px; line-height: 1.55; }
.footer-office a { color: #fff; }
.office-flag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--teal); color: #fff; padding: 3px 10px; border-radius: 4px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua); font-weight: 600; word-break: break-all; }
.footer-mail .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9fb0c5; }
.footer-bottom a:hover { color: #fff; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-teal); z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { color: #fff; background: var(--teal-700); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes floatY { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.services-grid, .services-grid.four { grid-template-columns: repeat(2, 1fr); }
	.archive .services-grid:not(.four) { grid-template-columns: repeat(2, 1fr); }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { height: 480px; max-width: 620px; margin: 0 auto; width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.service-layout { grid-template-columns: 1fr; }
	.service-sidebar { position: static; grid-template-columns: 1fr 1fr; }
	.why-grid, .projects-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.process-step::after { display: none; }
}
@media (max-width: 900px) {
	.split, .contact-grid { grid-template-columns: 1fr; }
	.split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.cta-box { grid-template-columns: 1fr; text-align: left; }
	.cta-actions { align-items: flex-start; }
	.office-grid, .benefit-tech { grid-template-columns: 1fr; }
	.about-visual { min-height: 520px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.services-grid, .services-grid.four, .services-grid.two, .archive .services-grid:not(.four),
	.why-grid, .projects-grid, .posts-grid, .process-grid, .feature-grid, .expertise-grid, .form-grid, .footer-grid, .service-sidebar { grid-template-columns: 1fr; }
	.hero-visual { height: 380px; }
	.mock-browser { width: 92%; top: 30px; }
	.mock-phone { width: 140px; height: 270px; border-radius: 26px; right: 0; bottom: 0; }
	.phone-screen { border-radius: 18px; padding-top: 30px; }
	.ph-tiles i { height: 40px; }
	.orb { width: 260px; height: 260px; }
	.chip { font-size: .72rem; padding: 7px 12px 7px 7px; }
	.chip .icon { width: 30px; height: 30px; padding: 7px; }
	.chip-2 { left: 0; bottom: 40px; }
	.chip-3 { display: none; }
	.hero-swoosh { width: 100%; height: 140px; }
	.about-visual { min-height: auto; display: grid; gap: 18px; }
	.about-card, .about-badge { position: static; width: auto; }
	.about-badge { margin: 0 auto; }
	.service-intro { grid-template-columns: 1fr; }
	.contact-form-wrap, .contact-info { padding: 30px 22px; }
	.footer-bottom { flex-direction: column; }
	.stats-grid { gap: 30px 10px; }
	.stat + .stat { border-left: 0; }
	.btn-lg { padding: 15px 26px; }
}

/* Grid children may shrink below content width */
.hero-grid > *, .split > *, .contact-grid > *, .service-layout > *, .footer-grid > * { min-width: 0; }
.cta-section { padding-bottom: clamp(50px, 6vw, 80px); }
