/* ==========================================================
   Public website — design system
   Brand colours come from Admin -> Settings -> Theme
   (--cc-primary / --cc-secondary, mapped below); these are fallbacks.
   ========================================================== */
:root {
    --brand: var(--cc-primary, #5b3df5);
    --brand-rgb: var(--cc-primary-rgb, 91, 61, 245);
    --brand-dark: var(--cc-primary-dark, #3f24c9);
    --accent: var(--cc-secondary, #14d8a8);
    --accent-rgb: var(--cc-secondary-rgb, 20, 216, 168);
    --ink: #0b1020;
    --ink-2: #1c2240;
    --text: #3b4262;
    --muted: #6b7394;
    --line: #e6e8f2;
    --soft: #f6f5ff;
    --soft-2: #eef1fb;
    --white: #fff;
    --night: #070817;
    --night-2: #0e1030;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(16, 20, 60, .06);
    --shadow: 0 14px 40px rgba(16, 20, 60, .10);
    --shadow-lg: 0 30px 70px rgba(16, 20, 60, .16);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --grad: linear-gradient(135deg, var(--brand) 0%, #8b5cf6 55%, var(--accent) 130%);
    --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); color: var(--text); background: var(--white);
    font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 800; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bi { line-height: 1; vertical-align: -.125em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(var(--brand-rgb), .35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 14px 30px rgba(var(--brand-rgb), .42); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 26px rgba(var(--accent-rgb), .35); }
.btn-accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-wa { background: #1fb655; color: #fff; box-shadow: 0 10px 26px rgba(31, 182, 85, .32); }
.btn-wa:hover { background: #18a049; color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-dark { color: #fff; }
.site-header.scrolled, .site-header.is-light {
    background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: rgba(16, 20, 60, .07); color: var(--ink);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { color: inherit; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: var(--grad); color: #fff; font-family: var(--mono); font-size: 15px; font-weight: 700;
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), .35);
}
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-links a {
    color: inherit; opacity: .82; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px;
    transition: opacity .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; background: rgba(var(--brand-rgb), .10); }
.site-header.is-dark:not(.scrolled) .nav-links a:hover, .site-header.is-dark:not(.scrolled) .nav-links a.active { background: rgba(255, 255, 255, .10); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-login { color: inherit; font-weight: 700; font-size: 15px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 7px; }
.header-login:hover { color: inherit; opacity: .8; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(127, 127, 160, .28);
    background: transparent; color: inherit; font-size: 22px; cursor: pointer; align-items: center; justify-content: center;
}
.mobile-nav {
    position: fixed; inset: 0; z-index: 1000; background: rgba(7, 8, 23, .55); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.mobile-nav-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; padding: 22px;
    display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--ink); }
.mobile-nav-panel > a:not(.btn) { color: var(--ink); font-weight: 700; font-size: 17px; padding: 13px 6px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.mobile-nav-panel .btn { margin-top: 12px; }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--night); color: #c9cbe6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600;
    color: var(--brand); background: rgba(var(--brand-rgb), .08); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
    letter-spacing: .02em;
}
.section-dark .eyebrow { color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #a5a8c9; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; background: var(--night); color: #c9cbe6;
    padding: calc(var(--header-h) + 80px) 0 110px; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(0); animation: orbFloat 16s ease-in-out infinite alternate; }
.orb.o1 { width: 620px; height: 620px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(var(--brand-rgb), .55), transparent 65%); }
.orb.o2 { width: 520px; height: 520px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(var(--accent-rgb), .30), transparent 65%); animation-duration: 20s; }
@keyframes orbFloat { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-40px, 30px, 0) scale(1.06); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; color: #e3e4f7; margin-bottom: 26px;
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--accent-rgb), .18); display: grid; place-items: center; }
.hero-pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.05; margin-bottom: 22px; }
.hero-sub { font-size: 19px; line-height: 1.7; color: #b7b9d8; max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats strong { display: block; font-size: 30px; color: #fff; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: 13.5px; color: #9ea1c4; }

/* Code window + floating cards */
.hero-visual { position: relative; }
.code-window {
    position: relative; z-index: 1; border-radius: 20px; overflow: hidden;
    background: linear-gradient(180deg, rgba(22, 24, 60, .95), rgba(12, 13, 38, .95));
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--brand-rgb), .15);
    transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .5s ease;
}
.hero-visual:hover .code-window { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar i:nth-child(2) { background: #febc2e; } .code-bar i:nth-child(3) { background: #28c840; }
.code-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12.5px; color: #8a8db3; }
.code-body { padding: 22px 24px 28px; font-family: var(--mono); font-size: 14px; line-height: 1.85; color: #cfd2f5; min-height: 300px; white-space: pre; overflow: hidden; }
.code-body .k { color: #c792ea; } .code-body .f { color: #82aaff; } .code-body .s { color: #c3e88d; } .code-body .c { color: #676e95; } .code-body .n { color: #f78c6c; }
.code-caret { display: inline-block; width: 8px; height: 17px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-card {
    position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35); display: flex; align-items: center; gap: 12px; min-width: 210px;
    animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.float-card strong { font-size: 14.5px; }
.float-card .fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.float-card.fc1 { top: -26px; right: -18px; animation-delay: -2s; }
.float-card.fc2 { bottom: 56px; left: -40px; }
.float-card.fc3 { bottom: -30px; right: 34px; animation-delay: -4s; }
.fc-progress { width: 130px; height: 7px; border-radius: 99px; background: var(--soft-2); overflow: hidden; margin-top: 6px; }
.fc-progress span { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: inherit; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Tech marquee ---------- */
.tech-strip { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.tech-strip p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.tech-strip:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech-chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
    font-weight: 700; color: var(--ink-2); font-size: 15px; background: #fff; white-space: nowrap;
}
.tech-chip i { color: var(--brand); font-size: 17px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; height: 100%;
}
.service-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.svc-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px;
    color: var(--brand); background: rgba(var(--brand-rgb), .09); transition: background .25s, color .25s;
}
.service-card:hover .svc-icon { background: var(--grad); color: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); flex: 1; }
.svc-media { margin: -28px -28px 22px; aspect-ratio: 16 / 9; background: var(--soft-2) center / cover no-repeat; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line); margin-top: 6px; }
.price-tag { font-weight: 800; color: var(--ink); font-size: 15px; }
.price-tag small { font-weight: 600; color: var(--muted); }
.card-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); transition: background .25s, color .25s, transform .25s; }
.service-card:hover .card-arrow { background: var(--brand); color: #fff; transform: rotate(-45deg); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--soft-2); color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.chip-brand { background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.chip-accent { background: rgba(var(--accent-rgb), .16); color: #0a7d63; }

/* Portfolio cards */
.work-card { display: block; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s ease, box-shadow .3s ease; height: 100%; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.work-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-cover img { transform: scale(1.06); }
.work-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px;
    background: radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), .35), transparent 50%), radial-gradient(circle at 85% 80%, rgba(var(--brand-rgb), .6), transparent 55%), var(--night-2);
}
.mock-device { width: 62%; aspect-ratio: 16 / 10; border-radius: 12px; background: rgba(255, 255, 255, .95); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-device i { display: block; height: 9px; border-radius: 6px; background: var(--soft-2); }
.mock-device i:first-child { width: 45%; background: var(--grad); }
.mock-device i:nth-child(3) { width: 80%; } .mock-device i:nth-child(4) { width: 60%; }
.mock-device b { flex: 1; border-radius: 8px; background: linear-gradient(135deg, rgba(var(--brand-rgb), .16), rgba(var(--accent-rgb), .18)); }
.work-badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.work-body { padding: 22px 24px 24px; }
.work-body h3 { font-size: 19px; margin-bottom: 8px; }
.work-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, rgba(var(--brand-rgb), .0), rgba(var(--brand-rgb), .35), rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), 0)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; font-size: 26px;
    background: #fff; color: var(--brand); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.step-num::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; font-family: var(--mono); }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Portal showcase ---------- */
.portal-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: #0a9474; font-size: 14px; margin-top: 1px; }
.section-dark .check-list i { color: var(--accent); }
.dash-mock { background: #fff; border-radius: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); padding: 22px; color: var(--ink); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-top strong { font-size: 16px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-stat { background: var(--soft); border-radius: 14px; padding: 14px; }
.dash-stat small { color: var(--muted); font-weight: 600; font-size: 12px; display: block; }
.dash-stat b { font-size: 22px; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dash-row .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.dash-row .bar span { display: block; height: 100%; background: var(--grad); border-radius: inherit; width: var(--w, 50%); animation: grow 1.6s ease both; }
@keyframes grow { from { width: 0; } }

/* ---------- Feature tiles ---------- */
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; height: 100%; }
.feature i.fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--grad); margin-bottom: 16px; }
.feature h4 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.section-dark .feature { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section-dark .feature p { color: #a5a8c9; }

/* Engagement models */
.model-card { border-radius: 22px; padding: 32px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; height: 100%; }
.model-card.featured { background: var(--night); color: #c9cbe6; border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.model-card.featured h3 { color: #fff; }
.model-card .model-price { font-size: 24px; font-weight: 800; color: var(--ink); margin: 6px 0 18px; }
.model-card.featured .model-price { color: #fff; }
.model-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; font-size: 15px; }
.model-card li i { color: var(--accent); margin-right: 8px; }
.ribbon { position: absolute; top: 20px; right: 20px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; border-radius: 30px; padding: 64px; color: #dcdcf5; background: var(--night); isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 0% 0%, rgba(var(--brand-rgb), .65), transparent 50%), radial-gradient(circle at 100% 100%, rgba(var(--accent-rgb), .35), transparent 50%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: #b7b9d8; padding: calc(var(--header-h) + 64px) 0 70px; isolation: isolate; }
.page-hero .hero-bg::before { -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 14px; }
.page-hero p { font-size: 18px; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 18px; color: #8f92b8; }
.breadcrumb a { color: #c9cbe6; }
.breadcrumb a:hover { color: #fff; }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { position: relative; min-width: 260px; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px 11px 42px; font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 44px; color: var(--line); display: block; margin-bottom: 10px; }

/* ---------- Detail pages (service / portfolio) ---------- */
.detail-hero { padding-bottom: 90px; }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.detail-meta .meta-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #e3e4f7; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.detail-meta .meta-pill i { color: var(--accent); }
.detail-cover { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); background: var(--night-2); aspect-ratio: 4 / 3; position: relative; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .svc-big-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 120px; color: #fff; background: radial-gradient(circle at 25% 20%, rgba(var(--accent-rgb), .45), transparent 55%), var(--grad); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.prose { color: var(--text); font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: 1.4em; } .prose h3 { font-size: 22px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose img { border-radius: 14px; margin: 16px 0; }
.prose a { text-decoration: underline; }
.prose blockquote { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 12px 12px 0; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--soft); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.feature-list li i { color: var(--brand); font-size: 18px; margin-top: 1px; }
.addon-list { display: grid; gap: 10px; }
.addon { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px dashed var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 600; color: var(--ink-2); }
.addon span:last-child { color: var(--brand); font-weight: 800; white-space: nowrap; }
.block { margin-bottom: 48px; }
.block > h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.block > h2 i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.sticky-card .big-price { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.sticky-card .price-note { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.sticky-card .btn { width: 100%; margin-bottom: 10px; }
.sticky-card dl { margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; }
.sticky-card dl div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.sticky-card dt { color: var(--muted); } .sticky-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Gallery: 2 per row on mobile, 4 on desktop (5 on very wide) */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: var(--soft-2); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 9 / 16; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.gallery.landscape button { aspect-ratio: 4 / 3; }
.gallery button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(5, 6, 18, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfd1ee; font-family: var(--mono); font-size: 13px; }
.mobile-cta { display: none; }

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-tile { border-radius: 20px; padding: 26px; background: var(--soft); }
.stat-tile strong { font-size: 38px; color: var(--ink); display: block; line-height: 1.1; }
.stat-tile span { color: var(--muted); font-weight: 600; font-size: 14px; }
.stat-tile:nth-child(2) { background: var(--night); } .stat-tile:nth-child(2) strong { color: #fff; } .stat-tile:nth-child(2) span { color: #a5a8c9; }
.stat-tile:nth-child(3) { background: rgba(var(--accent-rgb), .14); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; margin-bottom: 14px; color: var(--text); }
a.contact-card:hover { border-color: var(--brand); color: var(--text); }
.contact-card i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.contact-card strong { display: block; color: var(--ink); }
.contact-card span { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
    background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.field textarea { min-height: 130px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: #e7f8ef; color: #146c43; } .alert-error { background: #fdecec; color: #b42318; }
.map-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.honeypot { position: absolute; left: -9999px; }

/* Policy / CMS pages */
.policy { max-width: 820px; margin: 0 auto; }
.policy h2 { font-size: 22px; margin-top: 1.6em; }
.policy-updated { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #a5a8c9; padding: 80px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -300px; left: 50%; width: 800px; height: 500px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--brand-rgb), .22), transparent 70%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-links a { color: #a5a8c9; } .footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #e3e4f7; border: 1px solid rgba(255, 255, 255, .08); transition: background .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; position: relative; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #a5a8c9; } .footer-legal a:hover { color: #fff; }
.pay-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay-chips span { border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; color: #cfd1ee; }

/* Floating buttons */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 950; width: 56px; height: 56px; border-radius: 50%; background: #1fb655; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 30px rgba(31, 182, 85, .42); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.to-top { position: fixed; right: 22px; bottom: 96px; z-index: 940; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; display: grid; place-items: center; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
body:not(.cc-chat-on) .to-top { bottom: 22px; }
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: #fdf3d7; color: #7a5a00; text-align: center; font-size: 14px; font-weight: 700; padding: 7px 12px; transform: translateY(-100%); transition: transform .3s; }
.offline-bar.show { transform: none; }

/* ---------- Lead popup ---------- */
.lead-overlay { position: fixed; inset: 0; z-index: 1300; background: rgba(7, 8, 23, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.lead-overlay.visible { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lead-card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.lead-overlay.visible .lead-card { transform: none; }
.lead-head { background: var(--night); color: #c9cbe6; padding: 26px 26px 22px; position: relative; overflow: hidden; }
.lead-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(var(--brand-rgb), .6), transparent 55%), radial-gradient(circle at 0% 100%, rgba(var(--accent-rgb), .3), transparent 50%); }
.lead-head > * { position: relative; }
.lead-head h3 { color: #fff; font-size: 22px; margin: 10px 0 6px; }
.lead-head p { margin: 0; font-size: 14.5px; }
.lead-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.lead-body { padding: 22px 26px 24px; }
.lead-body .field { margin-bottom: 12px; }
.phone-field { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.phone-field span { padding: 12px 12px; background: var(--soft); font-weight: 700; color: var(--ink-2); }
.phone-field input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.lead-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 14px; }
.lead-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lead-chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.lead-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.lead-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.lead-error { color: #b42318; font-size: 13.5px; font-weight: 600; min-height: 0; margin: 0 0 8px; }
.lead-trust { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.lead-success { text-align: center; padding: 20px 6px 10px; }
.lead-success i { font-size: 54px; color: #1fb655; }
.lead-success h4 { font-size: 22px; margin: 12px 0 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: minmax(0, 1fr); }
    .sticky-card { position: static; }
}
@media (max-width: 991.98px) {
    :root { --header-h: 66px; }
    .nav-links, .header-actions .header-login, .header-actions .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero-grid, .portal-grid, .detail-hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-bottom: 90px; }
    .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
    .code-window { transform: none; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
    .process::before { display: none; }
    .section { padding: 76px 0; }
    .cta-band { grid-template-columns: minmax(0, 1fr); padding: 44px 30px; }
    .detail-cover { max-width: 560px; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 38px; }
    .hero { padding-top: calc(var(--header-h) + 44px); }
    .hero-sub { font-size: 17px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 22px; }
    .hero-stats > div { flex: 1 1 40%; }
    .float-card { min-width: 0; padding: 10px 12px; }
    .float-card.fc1 { right: -4px; top: -30px; } .float-card.fc2 { left: -4px; bottom: 40px; } .float-card.fc3 { display: none; }
    .code-body { font-size: 12px; min-height: 240px; padding: 18px; }
    .process { grid-template-columns: minmax(0, 1fr); }
    .feature-list { grid-template-columns: minmax(0, 1fr); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .form-card { padding: 24px 20px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .search-box { min-width: 0; }
    .lightbox { padding: 60px 12px; }
    .dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .dash-stat { padding: 10px; } .dash-stat b { font-size: 18px; }
    .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 960; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
    .mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: 14px; }
    body.has-mobile-cta { padding-bottom: 76px; }
    body.has-mobile-cta .wa-float { bottom: 90px; }
}
@media (min-width: 1400px) {
    .gallery.wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .orb, .float-card, .marquee, .code-caret, .hero-pill .dot::after { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Service card media: real image, or a branded gradient when no image is uploaded yet */
.svc-media { position: relative; overflow: hidden; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .svc-media img { transform: scale(1.05); }
.svc-media.is-fallback { background: var(--grad); }
.svc-media.is-fallback::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.3), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.18), transparent 40%); }
/* fallback = our real product screens / team photos (includes/cards.php service_fallback_visual) */
.svc-media img.svc-fb { z-index: 1; }
.svc-media img.svc-fb-photo { inset: 0; }
.svc-media img.svc-fb-screen { inset: 14% auto auto 9%; width: 100%; height: auto; border-radius: 10px 0 0 0; box-shadow: 0 18px 40px rgba(16, 20, 60, .35); object-fit: cover; object-position: top left; }
.svc-media img.svc-fb-phone { inset: 12% auto auto 50%; width: 34%; height: auto; margin-left: -17%; border: 5px solid #111426; border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 18px 40px rgba(16, 20, 60, .4); object-fit: cover; object-position: top center; }
.service-card:hover .svc-media img.svc-fb-screen, .service-card:hover .svc-media img.svc-fb-phone { transform: translateY(-6px); }

/* Mobile menu logo */
.mobile-nav-head .brand img { height: 36px; width: auto; max-width: 170px; object-fit: contain; }

/* Floating buttons on the RIGHT: WhatsApp above the AI chat button */
.wa-float { left: auto; right: 24px; bottom: 24px; width: 54px; height: 54px; font-size: 26px; }
body.cc-chat-on .wa-float { bottom: 98px; }
@media (max-width: 575.98px) {
    .wa-float { right: 18px; bottom: 16px; width: 50px; height: 50px; font-size: 24px; }
    body.cc-chat-on .wa-float { right: 21px; bottom: 84px; }
}
/* Service / portfolio pages: the sticky "WhatsApp · Get a quote" bar -> keep floating buttons above it */
@media (max-width: 991.98px) {
    body.has-mobile-cta .wa-float { bottom: 92px; }
    body.has-mobile-cta.cc-chat-on .wa-float { bottom: 160px; }
    body.has-mobile-cta .ccc-launcher { bottom: 92px !important; }
    body.has-mobile-cta .ccc-tip { bottom: 102px !important; }
}
/* Hide floating buttons while the mobile menu is open */
body:has(.mobile-nav.open) .wa-float, body:has(.mobile-nav.open) .ccc { display: none; }
