/* ==========================================================================
   Neucent Technologies - site styles
   Sections: tokens, base, layout, buttons, header, hero, content blocks,
   forms, footer, motion.
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
	--ink: #0a0e1a;
	--ink-2: #121a30;
	--ink-3: #1c2748;
	--text: #18213a;
	--muted: #56617a;
	--on-dark: #c9d3ea;
	--line: #e2e8f3;
	--mist: #f4f7fc;
	--white: #fff;
	--blue: #2f6bff;
	--blue-deep: #1f4fd6;
	--cyan: #17d4e8;
	--violet: #7a5cff;
	--grad: linear-gradient(120deg, var(--blue), var(--cyan));
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(15, 30, 80, 0.08);
	--shadow-lg: 0 24px 60px rgba(8, 16, 50, 0.25);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--header-h: 72px;
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
	transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

.icon { flex: none; vertical-align: middle; }

/* Layout ------------------------------------------------------------------ */
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 40px); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section-dark .section-head p { color: var(--on-dark); }

.eyebrow {
	display: inline-block; margin: 0 0 14px;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--blue-deep);
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }

.grad-text {
	background: var(--grad); -webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.section-dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark); }

/* Buttons ----------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border: 2px solid transparent; border-radius: 999px;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn-sm { padding: 10px 20px; font-size: 0.95rem; }

.btn-primary { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: var(--white); box-shadow: 0 8px 22px rgba(47, 107, 255, 0.35); }
.btn-primary:hover { color: var(--white); box-shadow: 0 12px 28px rgba(47, 107, 255, 0.5); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { color: var(--white); border-color: var(--cyan); background: rgba(23, 212, 232, 0.08); }
.btn-outline { color: var(--ink); border-color: var(--line); }
.btn-outline:hover { color: var(--blue-deep); border-color: var(--blue); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { color: var(--blue-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform 0.15s; }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(10, 14, 26, 0.92); backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); font-weight: 750; letter-spacing: -0.01em; }
.brand:hover { color: var(--white); }
.brand-text { font-size: 1.15rem; }
.brand-text span { font-weight: 500; color: var(--on-dark); }

.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--on-dark); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.site-nav .menu a:hover,
.site-nav .menu a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: var(--header-h);
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px 20px 24px; background: var(--ink);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		display: none;
	}
	.site-header.is-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 12px 14px; font-size: 1.05rem; }
	.nav-cta { align-self: flex-start; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; color: var(--on-dark);
	padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px);
	background:
		radial-gradient(900px 500px at 85% 0%, rgba(47, 107, 255, 0.35), transparent 60%),
		radial-gradient(700px 420px at 0% 100%, rgba(122, 92, 255, 0.22), transparent 60%),
		var(--ink);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 36px 0 0; }
.hero-tags li {
	padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 550;
	color: var(--on-dark); border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-visual { position: relative; padding: 28px 0 28px 20px; }
.console {
	background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
	border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.console-bar i:first-child { background: #ff6b6b; }
.console-bar i:nth-child(2) { background: #ffd166; }
.console-bar i:nth-child(3) { background: #4cd9a0; }
.console-bar span { margin-left: 10px; font: 0.8rem var(--mono); color: var(--on-dark); opacity: 0.7; }
.console-body { padding: 22px; display: grid; gap: 16px; }

.msg { margin: 0; padding: 14px 16px; border-radius: 14px; font-size: 0.97rem; line-height: 1.5; max-width: 92%; }
.msg-user { justify-self: end; background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.msg-ai { background: rgba(255, 255, 255, 0.07); color: var(--white); border-bottom-left-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.08); }

.console-steps { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 10px; font: 0.86rem var(--mono); color: var(--on-dark); }
.console-steps li { display: flex; align-items: center; gap: 10px; }
.console-steps li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4cd9a0; }
.console-steps li.run::before { background: var(--cyan); animation: pulse 1.4s ease-in-out infinite; }

.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 650;
	background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg);
	animation: float 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--blue); }
.chip-web { top: 0; left: -6px; }
.chip-mobile { right: -4px; top: 42%; animation-delay: -2s; }
.chip-ai { bottom: 0; left: 12%; animation-delay: -4s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { padding: 20px 0; }
	.chip-web { left: 0; }
	.chip-mobile { right: 0; }
}
@media (max-width: 560px) { .chip-mobile { display: none; } }

/* Inner page banner ------------------------------------------------------- */
.page-hero {
	color: var(--on-dark);
	padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
	background:
		radial-gradient(700px 320px at 90% 0%, rgba(47, 107, 255, 0.32), transparent 60%),
		var(--ink);
}
.page-hero h1 { color: var(--white); max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero .lead { max-width: 680px; margin: 0; }

/* Cards ------------------------------------------------------------------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; } }

.card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(47, 107, 255, 0.35); }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.section-mist .card { border-color: transparent; }

.card-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
	color: var(--blue-deep); background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(23, 212, 232, 0.16));
}
.section-dark .card-icon { color: var(--cyan); background: rgba(23, 212, 232, 0.12); }

/* AI band on home --------------------------------------------------------- */
.ai-band { background: radial-gradient(800px 400px at 100% 0%, rgba(122, 92, 255, 0.25), transparent 60%), var(--ink); }
.ai-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .ai-band-grid { grid-template-columns: 1fr; gap: 36px; } }

.check-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { margin-top: 4px; color: var(--cyan); }
.check-list-dark { margin: 0; }
.check-list-dark .icon { color: var(--blue); }

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-card {
	display: flex; align-items: center; gap: 14px; padding: 18px;
	background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
}
.mini-card .card-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.mini-card h3 { margin: 0; font-size: 1rem; }
@media (max-width: 520px) { .mini-grid { grid-template-columns: 1fr; } }

/* Process steps ----------------------------------------------------------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps-list li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.steps-list li::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--grad); }
.step-num { display: block; margin-bottom: 8px; font: 700 0.85rem var(--mono); color: var(--blue-deep); letter-spacing: 0.06em; }
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.section-dark .steps-list li { border-top-color: rgba(255, 255, 255, 0.14); }
.section-dark .step-num { color: var(--cyan); }
.section-dark .steps-list p { color: var(--on-dark); }
@media (max-width: 1000px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-list { grid-template-columns: 1fr; } }

/* Technology chips -------------------------------------------------------- */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.stack-group h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
	padding: 7px 15px; border-radius: 999px; font-size: 0.93rem; font-weight: 550;
	background: var(--white); border: 1px solid var(--line); color: var(--text);
}
.chips-lg li { padding: 11px 22px; font-size: 1rem; }
.section-mist .chips li { border-color: #d5deee; }

/* Split and feature list -------------------------------------------------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 28px); }
.split-head p { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-head { position: static; } }

.feature-list { display: grid; gap: 28px; }
.feature { display: flex; gap: 20px; }
.feature .card-icon { margin: 0; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

.prose p { color: var(--muted); font-size: 1.1rem; }

/* Services page rows ------------------------------------------------------ */
.service-list { display: grid; gap: 0; }
.service-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center;
	padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px);
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row.is-flip .service-intro { order: 2; }
.service-intro p { color: var(--muted); font-size: 1.1rem; }
.service-row .check-list { padding: 28px; background: var(--mist); border-radius: var(--radius); }
@media (max-width: 800px) {
	.service-row { grid-template-columns: 1fr; }
	.service-row.is-flip .service-intro { order: 0; }
}

/* FAQ --------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color 0.15s; }
.faq details[open] { border-color: rgba(47, 107, 255, 0.4); }
.faq summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 24px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Call to action ---------------------------------------------------------- */
.cta-section { padding-top: 0; }
.section-mist + .cta-section { padding-top: clamp(56px, 8vw, 104px); }
.cta-card {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px); border-radius: 24px; color: var(--white);
	background: radial-gradient(600px 300px at 100% 0%, rgba(23, 212, 232, 0.35), transparent 60%), linear-gradient(120deg, var(--blue-deep), #4a3fd6);
}
.cta-card h2 { color: var(--white); margin-bottom: 8px; }
.cta-card p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.88); }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: 7px; font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--text);
	background: var(--mist); border: 1.5px solid transparent; border-radius: var(--radius-sm);
	transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius-sm); }
.notice p { margin: 0; }
.notice-ok { background: #e7f7f0; color: #0b5c40; }
.notice-error { background: #fdecea; color: #8c2018; }

.contact-side h2 { font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--blue); }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--muted); }
.contact-list .map-link { display: block; width: fit-content; margin-top: 6px; color: var(--blue-deep); font-weight: 650; }
.footer-contact strong { color: var(--white); }

.what-next { padding: 24px; background: var(--mist); border-radius: var(--radius); }
.what-next h3 { font-size: 1.05rem; }
.what-next ol { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { margin: 18px 0; max-width: 340px; font-size: 0.98rem; }
.footer-title { margin: 0 0 16px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--cyan); }

.social { display: flex; gap: 10px; }
.social a { display: inline-flex; padding: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); }
.social a:hover { border-color: var(--cyan); text-decoration: none; }

.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0; font-size: 0.92rem; }
.footer-base p { margin: 0; opacity: 0.75; }

.whatsapp-fab {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
	border-radius: 50%; background: #1faa59; color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
	transition: transform 0.15s;
}
.whatsapp-fab:hover { color: var(--white); transform: scale(1.07); }

.empty-state { text-align: center; padding: 24px 0; }
.empty-state .btn-row { justify-content: center; }

/* Facts strip ------------------------------------------------------------- */
.facts-strip { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact .icon { margin-top: 3px; color: var(--cyan); }
.fact span { display: block; font-size: 0.95rem; }
.fact strong { display: block; color: var(--white); font-size: 1rem; }
@media (max-width: 800px) { .facts-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Case studies and testimonials ------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.work-more { margin: 32px 0 0; }

.case-card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.case-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.case-card .chips { margin: 4px 0 24px; }
.case-card .text-link { margin-top: auto; }
.case-kind { margin-bottom: 14px; color: var(--blue-deep); font-weight: 650; }

.quote-card {
	display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 34px;
	border-radius: var(--radius); color: var(--white);
	background: linear-gradient(150deg, var(--ink-3), var(--ink));
}
.quote-card .icon { color: var(--cyan); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.7; color: #e6ecfa; }
.quote-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.quote-card figcaption span { font-size: 0.92rem; color: var(--on-dark); }

/* Screenshot on the home-page card: full-bleed at the top, cropped to the top of the page. */
.case-shot { display: block; width: calc(100% + 68px); margin: -34px -34px 26px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--mist); }
.case-shot img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: left top; transition: transform 0.4s ease; }
.case-card:hover .case-shot img { transform: scale(1.03); }

/* Screenshot on the case-study page, in a simple browser frame. */
.browser-shot { margin: 0 0 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.browser-bar { display: flex; gap: 7px; padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d0d8e8; }
.browser-shot img { display: block; width: 100%; height: auto; }
.prose-gap { margin-top: 1.6em; }
.offers-list { padding: 28px; background: var(--mist); border-radius: var(--radius); }

.case-head { max-width: 760px; margin-bottom: 36px; }
.case-head h2 { margin-bottom: 6px; }
.case-head .chips { margin-top: 16px; }
.case-quote { max-width: 860px; margin-top: 40px; }
.work-grid + .case-quote { margin-top: 24px; }
.case-visit { margin: 18px 0 0; }

/* School page module groups ------------------------------------------------ */
.module-group + .module-group { margin-top: 56px; }
.group-title { margin-bottom: 6px; font-size: 1.5rem; }
.group-intro { max-width: 640px; margin-bottom: 24px; color: var(--muted); }
.card-title { margin: 0 0 0.6em; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

/* Project tiles ----------------------------------------------------------- */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.project-tile {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px;
	background: var(--white); border: 1px solid transparent; border-radius: var(--radius);
	transition: transform 0.2s, box-shadow 0.2s;
}
.project-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-tile strong { font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); }
.tile-tag {
	padding: 3px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 650;
	color: var(--blue-deep); background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(23, 212, 232, 0.16));
}

/* Timeline ---------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid #d5deee; }
.timeline li:last-child { border-bottom: 1px solid #d5deee; }
.tl-year { align-self: start; justify-self: start; padding: 4px 14px; border: 1px solid #d5deee; border-radius: 999px; background: var(--white); font: 700 0.95rem var(--mono); color: var(--blue-deep); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 10px; } }

/* Motion ------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
