/*
Theme Name: Kreevo
Theme URI: https://kreevo.com
Author: Kreevo — Hagar Hosny
Author URI: https://hagarhosny.com.co
Description: Official Kreevo agency theme. Lime & black brand identity, ready-made content for websites, company portfolios and e-commerce + mobile app services for pharmacies and online shops. Includes Services, Portfolio, About and Contact templates, a Projects post type, a built-in contact form, WhatsApp button and Customizer settings. Pages and menus are created automatically on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreevo
Tags: business, portfolio, e-commerce, one-column, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--lime: #C6FF00;
	--lime-soft: #DBFF5C;
	--ink: #0A0A0A;
	--graphite: #121212;
	--carbon: #1A1A1A;
	--line: rgba(255, 255, 255, .09);
	--line-strong: rgba(255, 255, 255, .16);
	--text: #F4F4EF;
	--muted: #9C9C96;
	--paper: #F4F4EF;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, sans-serif;
	--container: 1200px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--lime); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.k-icon { flex-shrink: 0; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
	white-space: nowrap;
}
.btn .k-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .k-icon { transform: translateX(4px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { color: var(--ink); background: var(--lime-soft); box-shadow: 0 10px 30px -10px rgba(198, 255, 0, .6); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { color: var(--lime); transform: translateY(-2px); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-family: var(--font-display); font-weight: 600; }
.text-link .k-icon { width: 18px; transition: transform .25s var(--ease); }
.text-link:hover .k-icon { transform: translateX(4px); }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 10, 10, .72);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 10, .9); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--text); }
.brand .custom-logo { max-height: 44px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.04em; }
.brand-name .dot { color: var(--lime); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu { display: flex; gap: 6px; list-style: none; }
.nav-menu a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #cfcfca; }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--ink); background: var(--lime); }
.nav-menu .sub-menu { display: none; }

.menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%;
	background: var(--carbon); border: 1px solid var(--line-strong);
	flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle .bar { width: 18px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-open .menu-toggle .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero-grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
	content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px;
	background: radial-gradient(circle, rgba(198, 255, 0, .18), transparent 65%);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-bottom: 80px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 14px 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #d8d8d2; margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 255, 0, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198, 255, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0); } }
.hero-title { font-size: clamp(42px, 6vw, 78px); font-weight: 700; letter-spacing: -.045em; line-height: .98; margin-bottom: 24px; }
.hero-title::first-line { color: var(--text); }
.hero-text { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #c9c9c3; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .k-icon { width: 18px; color: var(--lime); }

/* Hero visual: browser + phone */
.hero-visual { position: relative; height: 520px; }
.browser {
	position: absolute; top: 20px; left: 0; width: 88%;
	background: var(--carbon); border: 1px solid var(--line-strong); border-radius: var(--radius);
	overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
	transform: rotate(-2deg); animation: floatA 7s ease-in-out infinite;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.browser-bar i:first-child { background: var(--lime); }
.browser-bar span { margin-left: 12px; font-size: 11px; color: var(--muted); background: #0f0f0f; padding: 4px 12px; border-radius: 999px; }
.browser-body { padding: 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-nav b { width: 26px; height: 26px; border-radius: 7px; background: var(--lime); }
.mock-nav span { width: 44px; height: 7px; border-radius: 4px; background: #2c2c2c; }
.mock-nav em { margin-left: auto; width: 70px; height: 24px; border-radius: 999px; background: #2c2c2c; }
.mock-banner {
	display: flex; align-items: center; justify-content: space-between;
	background: linear-gradient(120deg, var(--lime), #a6e000); color: var(--ink);
	border-radius: 14px; padding: 22px; margin-bottom: 14px;
}
.mock-banner small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.mock-banner strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; margin: 6px 0 12px; }
.mock-btn { display: block; width: 84px; height: 24px; border-radius: 999px; background: var(--ink); }
.mock-pill { width: 72px; height: 72px; border-radius: 50%; background: rgba(10, 10, 10, .12); display: grid; place-items: center; }
.mock-pill .k-icon { width: 36px; height: 36px; }
.mock-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-products span { aspect-ratio: 1; border-radius: 10px; background: #222; border: 1px solid var(--line); }

.phone {
	position: absolute; right: 0; bottom: 0; width: 230px; height: 460px;
	background: #050505; border: 2px solid #2a2a2a; border-radius: 38px; padding: 10px;
	box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .03);
	transform: rotate(4deg); animation: floatB 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 30px; background: var(--graphite); padding: 42px 14px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-hello { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.app-cart { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--carbon); display: grid; place-items: center; }
.app-cart .k-icon { width: 16px; }
.app-cart b { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 10px; display: grid; place-items: center; }
.app-search { font-size: 12px; color: var(--muted); background: var(--carbon); padding: 10px 12px; border-radius: 10px; }
.app-card { background: var(--lime); color: var(--ink); border-radius: 14px; padding: 14px; }
.app-card small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.app-card strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.15; margin-top: 4px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-row span { height: 84px; border-radius: 12px; background: var(--carbon); border: 1px solid var(--line); }
.app-order { margin-top: auto; display: flex; gap: 10px; align-items: center; background: var(--carbon); border-radius: 12px; padding: 10px; }
.app-order i { width: 30px; height: 30px; border-radius: 8px; background: rgba(198, 255, 0, .16); border: 1px solid var(--lime); }
.app-order b { display: block; font-size: 12px; }
.app-order small { font-size: 11px; color: var(--lime); }

.sync-badge {
	position: absolute; left: 10%; bottom: 40px; z-index: 3;
	display: flex; align-items: center; gap: 12px;
	background: var(--ink); border: 1px solid var(--lime); color: var(--text);
	padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8);
	animation: floatA 6s ease-in-out infinite reverse;
}
.sync-badge .k-icon { width: 40px; height: 40px; padding: 9px; background: var(--lime); color: var(--ink); border-radius: 10px; animation: spin 6s linear infinite; }
.sync-badge span { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.sync-badge small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); }
@keyframes floatA { 50% { translate: 0 -10px; } }
@keyframes floatB { 50% { translate: 0 10px; } }
@keyframes spin { to { rotate: 360deg; } }

/* Marquee */
.marquee { position: relative; z-index: 1; background: var(--lime); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.marquee .star { opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head-split > div { max-width: 640px; }
.section-label {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.section-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-label.dark { color: var(--ink); }
.section-title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.035em; margin: 0; }
.section-intro { color: var(--muted); max-width: 420px; margin: 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
	position: relative; padding: 34px 30px; border-radius: var(--radius-lg);
	background: var(--graphite); border: 1px solid var(--line);
	transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.service-card.is-featured { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(198, 255, 0, .1); color: var(--lime); }
.is-featured .service-icon { background: var(--ink); color: var(--lime); }
.service-icon .k-icon { width: 26px; height: 26px; }
.service-num { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); }
.is-featured .service-num { color: rgba(10, 10, 10, .55); }
.service-card h3 { font-size: 26px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.is-featured p { color: rgba(10, 10, 10, .72); }
.check-list { list-style: none; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.is-featured .check-list { border-top-color: rgba(10, 10, 10, .15); }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .k-icon { width: 18px; color: var(--lime); }
.is-featured .check-list .k-icon { color: var(--ink); }
.badge { position: absolute; top: 34px; right: 72px; background: var(--ink); color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }

/* Solutions */
.solutions { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); margin-bottom: 40px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.tab .k-icon { width: 18px; }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--lime); color: var(--ink); }
.solution-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.solution-panel[hidden] { display: none; }
.solution-panel.is-active { animation: fadeUp .5s var(--ease); }
.solution-copy h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.solution-copy p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.solution-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.solution-list li { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; transition: padding .3s var(--ease), color .3s; }
.solution-list li:hover { padding-left: 10px; color: var(--lime); }
.solution-list span { font-family: var(--font-display); font-size: 13px; color: var(--lime); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* App / integration */
.app-block { background: var(--lime); color: var(--ink); border-radius: 36px; padding: 72px 64px; position: relative; overflow: hidden; }
.app-block::before {
	content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='9' y='8' width='6.5' height='24' fill='%230A0A0A'/%3E%3Cpolygon points='17,20 26.5,8 34,8 24.5,20' fill='%230A0A0A'/%3E%3Cpolygon points='17,20 24.5,20 34,32 26.5,32' fill='%230A0A0A'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: .06;
}
.app-block-head { max-width: 720px; margin-bottom: 52px; position: relative; }
.app-block-head p:not(.section-label) { font-size: 18px; color: rgba(10, 10, 10, .72); margin: 20px 0 0; }
.flow { display: flex; align-items: center; margin-bottom: 56px; position: relative; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.flow-node > .k-icon { width: 64px; height: 64px; padding: 18px; border-radius: 20px; background: var(--ink); color: var(--lime); }
.flow-core .k-mark { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 8px rgba(10, 10, 10, .9); }
.flow-core .k-mark rect:first-child { fill: #0A0A0A; }
.flow-core .k-mark rect:nth-child(2), .flow-core .k-mark polygon { fill: #C6FF00; }
.flow-line { flex: 1; height: 2px; margin: 0 16px 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); position: relative; }
.flow-line i { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--ink); animation: travel 2.6s ease-in-out infinite; }
.flow-line + .flow-node + .flow-line i { animation-direction: reverse; }
@keyframes travel { 0% { left: 0; } 50% { left: calc(100% - 12px); } 100% { left: 0; } }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: rgba(10, 10, 10, .06); border: 1px solid rgba(10, 10, 10, .12); border-radius: var(--radius); padding: 24px; transition: background .3s; }
.feature:hover { background: rgba(10, 10, 10, .1); }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--lime); margin-bottom: 16px; }
.feature-icon .k-icon { width: 22px; }
.feature h4 { font-size: 19px; margin-bottom: 6px; }
.feature p { font-size: 15px; color: rgba(10, 10, 10, .7); margin: 0; }

/* Process */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px 34px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--graphite), transparent); transition: border-color .3s, transform .35s var(--ease); }
.process-step:hover { border-color: var(--lime); transform: translateY(-4px); }
.step-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--lime); margin-bottom: 28px; transition: color .3s; }
.process-step:hover .step-num { color: var(--lime); }
.process-step h3 { font-size: 22px; margin-bottom: 10px; }
.process-step p { font-size: 15px; color: var(--muted); margin: 0; }

/* Portfolio */
.portfolio { padding-top: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; transition: all .25s; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, opacity .3s; }
.work-card:hover { transform: translateY(-6px); border-color: var(--line-strong); color: inherit; }
.work-card.is-hidden { display: none; }
.work-card:nth-child(3n+2) { margin-top: 40px; }
.work-media { aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.tone-lime .work-media { background-color: var(--lime); }
.tone-dark .work-media { background-color: #0d0d0d; }
.tone-grey .work-media { background-color: #232323; }
.work-placeholder { position: absolute; inset: 14% 12% 0; background: var(--ink); border-radius: 12px 12px 0 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
.tone-dark .work-placeholder { background: var(--carbon); }
.work-card:hover .work-placeholder { transform: translateY(-8px); }
.wp-bar { height: 34%; border-radius: 8px; background: var(--lime); }
.tone-lime .wp-bar { background: #2a2a2a; }
.wp-line { height: 8px; width: 70%; border-radius: 4px; background: #333; }
.wp-line.short { width: 40%; }
.wp-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.wp-blocks i { border-radius: 6px; background: #2a2a2a; }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 22px; }
.work-cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.work-meta h3 { font-size: 20px; margin: 4px 0 0; }
.work-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s, transform .3s var(--ease); }
.work-arrow .k-icon { width: 18px; transform: rotate(-45deg); }
.work-card:hover .work-arrow { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-copy p:not(.section-label) { color: var(--muted); font-size: 18px; margin: 24px 0 28px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--graphite); border: 1px solid var(--line); }
.why-card:nth-child(even) { transform: translateY(32px); }
.why-card strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -.05em; color: var(--lime); margin-bottom: 12px; }
.why-card span { color: var(--muted); font-size: 15px; }
.why-card.is-lime { background: var(--lime); border-color: var(--lime); }
.why-card.is-lime strong { color: var(--ink); }
.why-card.is-lime span { color: rgba(10, 10, 10, .72); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.faq-grid .section-intro { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--font-display); font-size: 20px; font-weight: 600; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--lime); }
.faq-plus { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq-plus .k-icon { width: 18px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.faq-item p { color: var(--muted); padding: 0 60px 26px 0; margin: 0; }

/* Contact */
.contact { padding-top: 40px; padding-bottom: 100px; }
.contact-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 64px; border-radius: 36px; background: var(--graphite); border: 1px solid var(--line); position: relative; overflow: hidden; }
.contact-block::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(198, 255, 0, .14), transparent 65%); pointer-events: none; }
.contact-info { position: relative; }
.contact-info > p:not(.section-label) { color: var(--muted); font-size: 18px; margin: 22px 0 34px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line-strong); color: var(--lime); }
.ci .k-icon { width: 20px; }
.contact-form { position: relative; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { font-size: 13px; font-weight: 600; color: #c9c9c3; }
.contact-form input, .contact-form select, .contact-form textarea, .search-field, .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; padding: 15px 16px; border-radius: 14px;
	background: var(--ink); border: 1px solid var(--line-strong); color: var(--text);
	font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6FF00' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .search-field:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 255, 0, .12); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-notice { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin: 0; }
.form-notice.success { background: rgba(198, 255, 0, .12); color: var(--lime); border: 1px solid rgba(198, 255, 0, .4); }
.form-notice.error { background: rgba(255, 80, 80, .1); color: #ff8a8a; border: 1px solid rgba(255, 80, 80, .35); }

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: 110px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-title { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -.045em; line-height: 1; max-width: 920px; margin: 0; }
.page-intro { font-size: 20px; color: var(--muted); max-width: 620px; margin: 24px 0 0; }
.big-404 { font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 20vw, 240px); line-height: .85; letter-spacing: -.06em; color: var(--lime); margin: 0 0 20px; }
.error-404 .btn { margin-top: 34px; }

.entry-content { font-size: 18px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 36px; margin-top: 1.6em; }
.entry-content h3 { font-size: 26px; margin-top: 1.4em; }
.entry-content a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.6em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--lime); font-family: var(--font-display); font-size: 24px; }
.entry-content img { border-radius: var(--radius); }
.entry-content.full-width > * { max-width: none; }
.single-thumb { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.has-lime-color { color: var(--lime); } .has-lime-background-color { background-color: var(--lime); }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-graphite-background-color { background-color: var(--graphite); } .has-paper-color { color: var(--paper); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--graphite); border: 1px solid var(--line); transition: transform .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--carbon); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-ph { display: grid; place-items: center; height: 100%; }
.post-body { padding: 22px 24px 26px; }
.post-date { font-size: 13px; color: var(--lime); font-weight: 600; }
.post-title { font-size: 22px; margin: 8px 0 10px; }
.post-body p { color: var(--muted); font-size: 15px; margin: 0; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); }
.page-numbers.current { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.post-navigation { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { justify-content: space-between; }
.search-form { display: flex; gap: 10px; max-width: 480px; }
.comments-area { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; }
.comment-form input[type=submit] { background: var(--lime); color: var(--ink); border: 0; padding: 14px 24px; border-radius: 999px; font-weight: 700; }

/* WooCommerce basics */
.shop-section .woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--lime); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--lime) !important; color: var(--ink) !important; border-radius: 999px !important; font-family: var(--font-display); }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { margin-top: 0; padding: 90px 0 30px; background: var(--graphite); border-top: 1px solid var(--line); }
.footer-big { padding-bottom: 70px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-kicker { color: var(--muted); font-size: 18px; margin-bottom: 10px; }
.footer-mail { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 7vw, 96px); letter-spacing: -.05em; line-height: 1; background: linear-gradient(90deg, var(--lime) 0 0) no-repeat 0 100% / 0 4px; transition: background-size .5s var(--ease), color .3s; padding-bottom: 6px; word-break: break-all; }
.footer-mail:hover { background-size: 100% 4px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-about p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 320px; }
.footer-col h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .k-icon { width: 18px; color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.socials { list-style: none; display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.socials a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(198, 255, 0, .55); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); color: var(--ink); }

/* ==========================================================================
   9. Reveal animation
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .why-card.reveal.is-visible:nth-child(even) { transform: translateY(32px); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.process-list { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.menu-toggle { display: flex; }
	.main-nav {
		position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 24px;
		padding: 28px 24px; background: var(--ink); border-top: 1px solid var(--line);
		transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
	}
	.admin-bar .main-nav { top: 122px; }
	.menu-open .main-nav { transform: none; }
	.menu-open { overflow: hidden; }
	.nav-menu { flex-direction: column; gap: 4px; }
	.nav-menu a { font-family: var(--font-display); font-size: 30px; font-weight: 600; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
	.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--lime); }
	.nav-cta { align-self: flex-start; padding: 17px 28px; font-size: 16px; }

	.section { padding: 84px 0; }
	.services-grid, .work-grid, .post-grid { grid-template-columns: 1fr 1fr; }
	.work-card:nth-child(3n+2) { margin-top: 0; }
	.solution-panel, .why-grid, .faq-grid, .contact-block { grid-template-columns: 1fr; gap: 40px; }
	.faq-grid .section-head { position: static; }
	.app-block { padding: 52px 32px; border-radius: 28px; }
	.contact-block { padding: 40px 28px; border-radius: 28px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.hero { padding-top: 44px; }
	.hero-text { font-size: 17px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-visual { height: 440px; margin-bottom: 30px; }
	.browser { width: 96%; }
	.phone { width: 180px; height: 360px; border-radius: 30px; }
	.phone-screen { border-radius: 22px; padding: 36px 10px 10px; gap: 8px; }
	.app-row span { height: 50px; }
	.sync-badge { left: 0; bottom: 20px; }
	.marquee-track { font-size: 17px; }
	.services-grid, .work-grid, .post-grid, .features-grid, .process-list, .why-cards, .form-row { grid-template-columns: 1fr; }
	.why-card:nth-child(even), .js .why-card.reveal.is-visible:nth-child(even) { transform: none; }
	.tabs { display: flex; width: 100%; }
	.tab { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }
	.flow-node > .k-icon { width: 52px; height: 52px; padding: 14px; }
	.flow-core .k-mark { width: 64px; height: 64px; }
	.flow-node span { font-size: 12px; }
	.flow-line { margin: 0 8px 28px; }
	.faq-item summary { font-size: 17px; }
	.faq-item p { padding-right: 0; }
	.footer-grid { grid-template-columns: 1fr; }
	.page-hero { padding: 72px 0 56px; }
	.badge { right: 30px; top: 96px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
