/* Company website stylesheet (no libraries, no web fonts). Brand colours come from --primary, --accent and --dark,
   set from the settings in page.php. Light sections + dark hero/footer. */
:root {
	--primary: #2563eb; --accent: #f59e0b; --dark: #0b1220;
	--ink: #0f172a; --muted: #5b6578; --line: #e6e9f0; --soft: #f6f8fc; --white: #fff;
	--primary-soft: rgba(37, 99, 235, .1); --primary-light: #60a5fa;
	--radius: 18px; --radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px rgba(15, 23, 42, .12);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	:root { --primary-soft: color-mix(in srgb, var(--primary) 10%, transparent); --primary-light: color-mix(in srgb, var(--primary) 55%, #fff); }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.note { color: var(--muted); font-size: .95rem; margin-top: 22px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; background: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }
.ic { width: 24px; height: 24px; flex: 0 0 auto; }
.ic-s { width: 18px; height: 18px; vertical-align: -3px; }

/* announcement + header */
.announce { background: var(--primary); color: #fff; font-size: .9rem; text-align: center; padding: 8px 0; }
.announce a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo { height: 42px; width: auto; }
.wordmark { font-weight: 900; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .97rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--soft); color: var(--primary); }
.nav a[aria-current="page"]:not(.btn) { color: var(--primary); background: var(--primary-soft); }
.nav a.btn { color: #fff; margin-left: 8px; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px; cursor: pointer; color: var(--ink); }

/* buttons, badges, links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; border: 2px solid var(--primary); border-radius: 999px; padding: 11px 22px; font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 8px 22px rgba(37, 99, 235, .3); }
.btn-sm { padding: 8px 18px; font-size: .93rem; }
.btn-lg { padding: 14px 28px; font-size: 1.03rem; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); box-shadow: none; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .01em; background: var(--soft); color: var(--muted); }
.badge-live { background: #dcfce7; color: #166534; }
.badge-soon { background: #fef3c7; color: #92400e; }
.badge-request { background: var(--primary-soft); color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .ic { transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: 0 0 auto; }
.icon-box-lg { width: 64px; height: 64px; border-radius: 18px; }
.icon-box-lg .ic { width: 30px; height: 30px; }

/* dark hero (home) and page heroes */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--dark); color: #e8edf7; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(600px 380px at 85% 10%, rgba(96, 165, 250, .28), transparent 70%), radial-gradient(520px 360px at 5% 100%, rgba(37, 99, 235, .3), transparent 70%); }
@supports (color: color-mix(in srgb, red 50%, blue)) {
	.hero-glow { background: radial-gradient(600px 380px at 85% 10%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 70%), radial-gradient(520px 360px at 5% 100%, color-mix(in srgb, var(--primary) 35%, transparent), transparent 70%); }
}
.hero-glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.hero { padding: 96px 0 104px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hl { color: var(--primary-light); background: linear-gradient(90deg, var(--primary-light), #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.lead { font-size: 1.2rem; color: #b8c3d9; max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; color: #9fb0cc; font-size: .95rem; }
.trust .ic { color: #4ade80; }
.hero-photo { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.page-hero { padding: 80px 0 72px; }
.page-hero-sm { padding: 64px 0 56px; }
.page-hero .wrap { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero-pic { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

/* drawn website preview (when no hero picture is chosen) */
.mock { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #eef1f6; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 12px; flex: 1; font-size: .72rem; color: #94a3b8; background: #f3f5f9; border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.mock-nav b { width: 54px; height: 12px; border-radius: 4px; background: var(--ink); margin-right: auto; }
.mock-nav span { width: 34px; height: 7px; border-radius: 4px; background: #dfe4ec; }
.mock-nav em { width: 50px; height: 18px; border-radius: 9px; background: var(--primary); }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; margin-bottom: 20px; }
.mock-hero b { display: block; height: 14px; border-radius: 4px; background: var(--ink); margin-bottom: 8px; }
.mock-hero b.short { width: 70%; background: var(--primary); }
.mock-hero span { display: block; height: 7px; border-radius: 4px; background: #e3e8f0; margin: 10px 0 0; }
.mock-hero span.short { width: 80%; margin-top: 6px; }
.mock-hero em { display: block; width: 70px; height: 22px; border-radius: 11px; background: var(--accent); margin-top: 14px; }
.mock-pic { height: 110px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); position: relative; overflow: hidden; }
.mock-pic::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .25); right: -14px; bottom: -18px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i { height: 62px; border-radius: 10px; background: #f3f6fb; border: 1px solid #e8edf5; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip .ic { color: var(--primary); }
.chip-1 { left: -34px; top: 34%; }
.chip-2 { right: -22px; top: 10%; animation-delay: -2s; }
.chip-2 .ic { color: var(--accent); }
.chip-3 { right: 24px; bottom: -18px; animation-delay: -4s; }
.chip-3 .ic { color: #16a34a; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* drawn builder editor (website builder page) */
.editor { display: grid; grid-template-columns: 54px 1fr 92px; gap: 10px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); min-height: 260px; }
.editor-side, .editor-panel { background: #f3f6fb; border-radius: 10px; padding: 10px 8px; display: grid; align-content: start; gap: 9px; }
.editor-side i { height: 26px; border-radius: 7px; background: #e1e7f0; }
.editor-side i:first-child { background: var(--primary); }
.editor-panel i { height: 12px; border-radius: 4px; background: #dfe5ee; }
.editor-panel i.sw { height: 26px; background: linear-gradient(90deg, var(--primary) 0 33%, var(--accent) 33% 66%, var(--dark) 66%); }
.editor-canvas { border: 2px dashed var(--primary-light); border-radius: 10px; padding: 16px; }
.editor-canvas b { display: block; height: 14px; width: 75%; border-radius: 4px; background: var(--ink); }
.editor-canvas span { display: block; height: 7px; border-radius: 4px; background: #e3e8f0; margin-top: 10px; }
.editor-canvas span.short { width: 60%; }
.editor-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.editor-blocks i { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-soft), #eef2f8); border: 1px solid #e3e8f0; }
.editor-canvas em { display: block; width: 76px; height: 22px; border-radius: 11px; background: var(--primary); }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* numbers strip */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .93rem; }

/* ways to get a website */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.path { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.path-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.path h3 { font-size: 1.3rem; }
.path p { color: var(--muted); flex: 1; }
.path-request { border: 2px solid var(--primary); }
.path-soon .icon-box { background: #fef3c7; color: #b45309; }
.soon-note { display: inline-flex; align-items: center; gap: 6px; color: #92400e; font-weight: 600; font-size: .95rem; }

/* feature cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section:not(.alt) .feature { background: var(--soft); border-color: transparent; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: none; position: relative; }
.steps li { position: relative; padding-top: 4px; }
.steps .num { width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 62px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* packages */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.package { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.package.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.package .badge { position: absolute; top: -13px; left: 28px; }
.price { margin: 4px 0 18px; color: var(--muted); }
.price b { font-size: 2rem; color: var(--ink); letter-spacing: -.02em; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.ticks li { display: flex; gap: 10px; padding: 6px 0; }
.ticks .ic { color: #16a34a; margin-top: 3px; }

/* portfolio */
.work { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.work-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.work-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-pic { aspect-ratio: 16 / 10; background: var(--soft); display: grid; place-items: center; color: #b6c0d0; overflow: hidden; }
.work-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-pic .ic { width: 42px; height: 42px; }
.work-body { padding: 22px; }
.work-body p { color: var(--muted); font-size: .95rem; }
.work-cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--primary); font-family: Georgia, serif; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--muted); font-size: .92rem; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--primary); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { color: var(--muted); padding: 0 0 20px; }

.area { background: var(--soft); border-top: 1px solid var(--line); }
.area p { margin: 0; padding: 18px 0; color: var(--muted); font-size: .95rem; text-align: center; }
.area .ic { color: var(--primary); }

/* AI block, about split, prose */
.ai-block { display: flex; gap: 28px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.ai-block .icon-box { background: #fef3c7; color: #b45309; }
.ai-block .badge { margin-bottom: 12px; }
.ai-block p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-pic { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose p { color: #334155; }

/* call-to-action band */
.cta-band { padding: 0 0 96px; }
.section.alt + .cta-band, .area + .cta-band { padding-top: 96px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(120deg, var(--primary), var(--dark)); color: #fff; border-radius: 28px; padding: 56px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255, 255, 255, .08); }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 560px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--soft); border-radius: var(--radius-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: background .15s, transform .15s; }
a.contact-card:hover { background: var(--primary-soft); transform: translateX(3px); }
.contact-card b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card span:last-child { word-break: break-word; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.form h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .93rem; font-weight: 700; }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form label.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); flex: 0 0 auto; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; width: 100%; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-msg { margin: 0; font-size: .97rem; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: #b91c1c; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.big-404 { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0 0 10px; letter-spacing: -.05em; background: linear-gradient(90deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero .center .lead { margin: 0 auto; }

/* footer */
.site-footer { background: var(--dark); color: #a8b3c7; padding: 72px 0 0; font-size: .97rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer .wordmark { color: #fff; }
.site-footer .logo { height: 40px; }
.foot-brand p { margin: 16px 0 20px; max-width: 340px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-links a { color: #a8b3c7; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { color: var(--primary-light); margin-top: 4px; }
.foot-contact a, .foot-contact span { word-break: break-word; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #cbd5e1; transition: background .15s, color .15s; }
.social a:hover { background: var(--primary); color: #fff; }
.social .ic { width: 20px; height: 20px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.foot-bottom p { margin: 0; }
.foot-legal { display: flex; gap: 18px; }
.has-wa .foot-bottom { padding-right: 84px; }
.foot-legal a { color: #a8b3c7; text-decoration: none; }
.foot-legal a:hover { color: #fff; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 28px; height: 28px; }

/* reveal on scroll (main.js adds .reveal, then .in) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* tablets */
@media (max-width: 980px) {
	.hero-grid, .page-hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
	.hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
	.mock { transform: none; }
	.chip-1 { left: -8px; }
	.chip-2 { right: -8px; }
	.foot { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-grid .form { order: -1; }
	.cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
	.steps li::after { display: none; }
}
/* phones */
@media (max-width: 760px) {
	body { font-size: 16px; }
	.bar { min-height: 64px; }
	.logo { height: 36px; }
	.menu-btn { display: inline-grid; place-items: center; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 23, 42, .12); }
	.nav.open { display: flex; }
	.nav a { padding: 13px 14px; }
	.nav a.btn { margin: 10px 0 0; }
	.hero { padding: 64px 0 72px; }
	.page-hero { padding: 56px 0 52px; }
	.section { padding: 68px 0; }
	.cta-band { padding-bottom: 68px; }
	.section.alt + .cta-band, .area + .cta-band { padding-top: 68px; }
	.sec-head { margin-bottom: 36px; }
	.lead { font-size: 1.08rem; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.form { padding: 24px 20px; }
	.form-row { grid-template-columns: 1fr; }
	.ai-block { flex-direction: column; padding: 28px 22px; }
	.foot { grid-template-columns: 1fr; gap: 32px; }
	.cta .btn { flex: 1 1 auto; }
	.chip { font-size: .74rem; padding: 7px 11px; }
	.chip-1 { top: auto; bottom: 28%; }
	.editor { grid-template-columns: 40px 1fr; }
	.editor-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.chip { animation: none; }
	.btn, .path, .work-item { transition: none; }
}

/* services drop-down (menu) */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-size: .97rem; font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.dd-btn:hover, .dd.on .dd-btn { background: var(--soft); color: var(--primary); }
.dd-btn .ic { transition: transform .2s; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; z-index: 40; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd:hover .dd-btn .ic, .dd.open .dd-btn .ic { transform: rotate(180deg); }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px !important; border-radius: 12px; }
.dd-menu a:hover { background: var(--soft); }
.dd-menu .icon-box { width: 38px; height: 38px; border-radius: 10px; }
.dd-menu .icon-box .ic { width: 20px; height: 20px; }
.dd-menu b { display: block; color: var(--ink); font-size: .95rem; }
.dd-menu small { display: block; color: var(--muted); font-weight: 400; font-size: .83rem; line-height: 1.4; }

/* service cards (home) and service pages */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card h3 { margin: 6px 0 0; }
.svc-card p { color: var(--muted); margin: 0; flex: 1; font-size: .97rem; }
.svc-card .link-arrow { color: var(--primary); margin-top: 6px; }
.crumbs { font-size: .88rem; color: #9fb0cc; margin-bottom: 18px; }
.crumbs a { color: #cbd5e1; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 4px; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.svc-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.svc-box { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.svc-box h3 { margin-bottom: 8px; }
.svc-box p { color: var(--muted); font-size: .95rem; }
.svc-call { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; }
.svc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.svc-links a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; padding: 6px 0; }
.prose ul.ticks { margin: 0 0 1.2em; }
.prose h2:first-child { margin-top: 0; }
.seo-text h2 { font-size: 1.35rem; }
.seo-text p { color: var(--muted); }

/* AI chat */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-size: 15px; }
.chat-open { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px 14px 16px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px rgba(37, 99, 235, .35); transition: transform .15s; }
.chat-open:hover { transform: translateY(-2px); }
.chat.open .chat-open { display: none; }
.has-chat .wa-float { bottom: 88px; }
.has-chat.has-wa .foot-bottom { padding-right: 190px; }
.chat-box { position: absolute; right: 0; bottom: 0; width: 380px; height: min(600px, calc(100vh - 40px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-box[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--primary), var(--dark)); color: #fff; }
.chat-head b { display: block; }
.chat-head small { opacity: .8; font-size: .8rem; }
.chat-head > div { flex: 1; }
.chat-av { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.chat-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.chat-close:hover { background: rgba(255, 255, 255, .15); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.5; word-wrap: break-word; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.err { border-color: #fecaca; background: #fef2f2; }
.chat-msg a { color: var(--primary); word-break: break-all; }
.chat-debug { display: block; margin-top: 6px; font-size: .75rem; color: #92400e; }
.chat-msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: chatdot 1s infinite ease-in-out; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-sug { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-sug button { background: #fff; border: 1px solid var(--primary-light); color: var(--primary); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.chat-sug button:hover { background: var(--primary-soft); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; max-height: 120px; }
.chat-form textarea:focus { outline: none; border-color: var(--primary); }
.chat-form button { width: 44px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button[disabled] { opacity: .5; cursor: wait; }
.chat-note { margin: 0; padding: 0 12px 10px; font-size: .75rem; color: var(--muted); background: #fff; }
@media (max-width: 980px) {
	.svc-grid { grid-template-columns: 1fr; gap: 32px; }
	.svc-side { position: static; }
}
@media (max-width: 760px) {
	.dd { display: contents; }
	.dd-btn { display: none; }
	.dd-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; background: none; display: grid; }
	.dd-menu::before { display: none; }
	.dd-menu a { padding: 13px 14px !important; }
	.dd-menu small, .dd-menu .icon-box { display: none; }
	.dd-menu b { font-weight: 600; }
	.chat { right: 12px; bottom: 12px; }
	.chat-open span { display: none; }
	.chat-open { padding: 15px; }
	.chat.open { left: 0; right: 0; top: 0; bottom: 0; }
	.chat-box { position: fixed; inset: 0; width: auto; height: 100%; border-radius: 0; border: 0; }
	.has-chat .wa-float { bottom: 80px; right: 12px; }
	.has-chat.has-wa .foot-bottom { padding-right: 70px; }
}
@media (prefers-reduced-motion: reduce) { .chat-msg.typing span { animation: none; } }
