/* ==========================================================================
   RatiRose Technologies — Design System
   ========================================================================== */
:root {
    --navy-950: #060f26;
    --navy-900: #0b1b3f;
    --navy-800: #13285a;
    --navy-700: #1d3772;
    --blue-600: #1f5eff;
    --blue-500: #2f6bff;
    --blue-100: #e6eeff;
    /* Rose/wine accents taken from the RatiRose logo */
    --wine-700: #7a1236;
    --rose-600: #b3164e;
    --rose-500: #d0285f;
    --rose-100: #fbe7ee;
    --violet-500: #7c5cff;
    --wa: #25d366;

    --ink: #0b1b3f;
    --text: #3b4763;
    --muted: #64708a;
    --line: #e3e8f2;
    --bg: #ffffff;
    --bg-soft: #f5f7fc;

    --grad: linear-gradient(135deg, var(--blue-500) 0%, var(--violet-500) 55%, var(--rose-500) 100%);
    --grad-text: linear-gradient(90deg, #6aa2ff, #a78bfa 50%, #ff7aa8);
    --grad-text-dark: linear-gradient(90deg, var(--blue-600), var(--violet-500) 50%, var(--rose-600));

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 63, .06), 0 1px 3px rgba(11, 27, 63, .05);
    --shadow: 0 10px 30px -12px rgba(11, 27, 63, .18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 27, 63, .35);

    --container: 1200px;
    --header-h: 72px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--navy-950); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
.h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-100); }
code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 640px; }
.lead-dark { font-size: 1.1rem; color: var(--text); }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section .text-gradient, .bg-soft .text-gradient { background-image: var(--grad-text-dark); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .97rem; line-height: 1.2; white-space: nowrap; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; min-height: 44px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; min-height: 40px; }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 94, 255, .6); }
.btn-primary:hover { background: #164de0; }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--blue-600); }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); margin-bottom: 12px; }
.eyebrow-light { color: #ff9ab9; }

.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; letter-spacing: .02em; }
.badge-demo { background: #fff4d6; color: #8a5a00; }
.badge-product { background: var(--blue-100); color: var(--blue-600); }
.badge-rose { background: var(--rose-100); color: var(--rose-600); }
.badge-inline { position: static !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand-rati { color: var(--wine-700); }
.brand-rose { color: var(--rose-600); }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }
.brand-light .brand-rati, .brand-light .brand-rose { color: #fff; }
.logo-mark { flex-shrink: 0; width: auto; height: 40px; }
/* On dark backgrounds the wine-coloured mark sits on a white tile */
.brand-light .logo-mark, .chat-avatar .logo-mark { background: #fff; border-radius: 10px; padding: 5px 7px; height: 44px; box-sizing: border-box; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .dropdown-head > a { display: block; white-space: nowrap; padding: 10px 10px; color: var(--ink); font-weight: 500; font-size: .94rem; border-radius: var(--radius-sm); }
.nav-list a:hover { text-decoration: none; color: var(--blue-600); }
.nav-list a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.has-dropdown { position: relative; }
.dropdown-head { display: flex; align-items: center; }
.dropdown-head > a { padding-right: 2px; }
.dropdown-toggle { background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--muted); font-size: .7rem; border-radius: 6px; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); width: min(720px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 12px; }
.dropdown-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: .9rem; font-weight: 500; }
.dropdown-grid a:hover { background: var(--bg-soft); text-decoration: none; color: var(--blue-600); }
.dropdown-grid i { width: 18px; text-align: center; color: var(--blue-600); }
.dropdown-all { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; padding: 8px 10px; font-weight: 600; font-size: .9rem; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nav-phone i { color: var(--blue-600); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1360px) { .nav-phone { display: none; } }
@media (max-width: 1060px) {
    .nav-toggle { display: flex; }
    /* backdrop-filter would make the header the containing block of the fixed menu (menu collapses to 0px) */
    .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 99; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility .28s; }
    .site-nav.is-open { transform: none; visibility: visible; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-list > li { border-bottom: 1px solid var(--line); }
    .nav-list > li > a, .dropdown-head > a { padding: 14px 4px; font-size: 1.05rem; flex: 1; }
    .dropdown-toggle { width: 44px; height: 44px; font-size: .85rem; }
    .dropdown { position: static; transform: none !important; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
    .has-dropdown.is-open .dropdown { display: block; }
    .dropdown-grid { grid-template-columns: 1fr; }
    .nav-cta { flex-direction: column; align-items: stretch; margin-top: 16px; }
    .nav-phone { display: block; text-align: center; padding: 10px; }
    body.nav-open { overflow: hidden; }
    body.nav-open .floating-actions, body.nav-open .chat-window { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-950); color: #fff; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(600px 400px at 85% 10%, rgba(47, 107, 255, .35), transparent 60%),
    radial-gradient(500px 380px at 10% 90%, rgba(229, 72, 127, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero-bg::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; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: rgba(255, 255, 255, .8); font-size: .93rem; }
.hero-points i { color: #4ade80; margin-right: 6px; }
.hero-visual { position: relative; padding: 30px 10px; }
.code-window { background: rgba(10, 20, 48, .85); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar span:nth-child(2) { background: #febc2e; }
.code-bar span:nth-child(3) { background: #28c840; }
.code-bar em { margin-left: 10px; color: rgba(255, 255, 255, .55); font-style: normal; font-family: ui-monospace, monospace; }
.live-dot { margin-left: auto; color: #4ade80; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.code-window pre { margin: 0; padding: 22px 22px 26px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.75; color: #dbe5ff; overflow-x: auto; }
.code-window code { background: none; padding: 0; font-size: inherit; }
.c-k { color: #c792ea; } .c-f { color: #82aaff; } .c-s { color: #c3e88d; } .c-n { color: #f78c6c; } .c-c { color: #6b7aa6; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .85rem; animation: float 6s ease-in-out infinite; }
.float-card i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.float-card div { display: flex; flex-direction: column; line-height: 1.2; }
.float-card small { color: var(--muted); }
.fc-1 { top: -28px; right: 0; }
.fc-2 { bottom: 4px; left: -10px; animation-delay: -2s; }
.fc-2 i { background: #e7f9ee; color: #16a34a; }
.fc-3 { bottom: 70px; right: 24px; animation-delay: -4s; }
.fc-3 i { background: var(--rose-100); color: var(--rose-600); }
@keyframes float { 50% { transform: translateY(-8px); } }
.tech-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 48px 0 0; }
.tech-strip li { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: rgba(255, 255, 255, .78); font-size: .85rem; background: rgba(255, 255, 255, .04); }

/* Inner page hero */
.page-hero { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(47, 107, 255, .35), transparent 65%); pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 860px; position: relative; z-index: 1; }
.page-hero .lead, .page-hero .hero-actions { position: relative; z-index: 1; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .8); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 40px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.bg-dark .section-head p { color: rgba(255, 255, 255, .7); }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; text-align: left; gap: 20px; flex-wrap: wrap; }
.section-head-split .section-title { margin: 0; }
.section-title { margin-bottom: .4em; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; position: relative; }
.card p:last-child { margin-bottom: 0; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-title a:hover { text-decoration: none; color: var(--blue-600); }
.card:has(.card-title a):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8ea; }
.card-meta { font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.card .link-arrow { position: relative; z-index: 1; margin-top: 4px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-size: 1.25rem; margin-bottom: 18px; flex-shrink: 0; }
.icon-tile-rose { background: var(--rose-100); color: var(--rose-600); }
.icon-tile-wa { background: #e7f9ee; color: #128c4a; }
.center-card { text-align: center; }

.service-card p { color: var(--text); }

.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-thumb { display: block; position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb .badge { position: absolute; top: 12px; left: 12px; }
.project-card .card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card .card-body > p { flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.tags li { font-size: .78rem; font-weight: 500; padding: .3em .75em; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.tags-lg li { font-size: .9rem; padding: .45em 1em; }
.tags-dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon-tile { margin: 0; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--text); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; padding: 0; margin: 0; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.stat strong { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat-suffix { font-size: 2rem; font-weight: 800; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

/* Tech overview (dark) */
.tech-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-group { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 22px; }
.tech-group h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.tech-group h3 i { color: #7aa2ff; }
.tech-group .tags { margin: 0; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; }
.process-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.process-step::after { content: ''; position: absolute; top: 50%; right: -15px; width: 16px; height: 2px; background: linear-gradient(90deg, var(--blue-500), var(--rose-500)); }
.process-step:last-child::after { display: none; }
.process-num { position: absolute; top: 10px; left: 12px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.process-step > i { font-size: 1.4rem; color: var(--blue-600); margin: 8px 0 12px; }
.process-step h3 { font-size: 1rem; margin-bottom: .35em; }
.process-step p { font-size: .84rem; margin: 0; color: var(--muted); line-height: 1.5; }

/* Industries */
.industry-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.industry-tile:hover { text-decoration: none; border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-tile > i { font-size: 1.3rem; color: var(--rose-600); width: 28px; padding-top: 3px; }
.industry-tile span { display: flex; flex-direction: column; gap: 4px; }
.industry-tile small { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* Testimonials */
.testimonial { margin: 0; display: flex; flex-direction: column; }
.testimonial > i { color: var(--rose-500); font-size: 1.4rem; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 18px; flex: 1; color: var(--ink); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; }
.testimonial figcaption img { border-radius: 50%; }
.testimonial figcaption span { display: flex; flex-direction: column; }
.testimonial small { color: var(--muted); }

.clients-title { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px; list-style: none; padding: 0; margin: 0; }
.client-logos img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.client-logos img:hover { filter: none; opacity: 1; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion-heading { margin: 0; font-size: 1rem; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 56px; }
.accordion-trigger i { color: var(--blue-600); transition: transform .25s var(--ease); flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] i { transform: rotate(45deg); }
.accordion-panel { padding: 0 22px 18px; color: var(--text); }
.accordion-panel p { margin: 0; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; border-radius: var(--radius-lg); background: var(--navy-900); background-image: radial-gradient(500px 300px at 100% 0, rgba(229, 72, 127, .35), transparent 60%), radial-gradient(500px 300px at 0 100%, rgba(47, 107, 255, .4), transparent 60%); color: rgba(255, 255, 255, .82); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-main h2 { margin-top: 1.6em; }
.detail-main h2:first-child { margin-top: 0; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.side-link { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--ink); font-weight: 500; word-break: break-word; }
.side-link i { color: var(--blue-600); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); font-size: .65rem; display: grid; place-items: center; }
.check-grid { grid-template-columns: 1fr 1fr; }
.problem-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.problem-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--rose-100); color: var(--ink); }
.problem-list i { color: var(--rose-600); margin-top: 4px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 16px; font-size: .94rem; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.case-shot { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.mission-cards { display: grid; gap: 20px; }

/* Filters */
.filter-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.search-field { position: relative; max-width: 520px; }
.search-field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; min-height: 40px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chips-nav { margin-bottom: 28px; }
.results-count { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state > i { font-size: 2.2rem; margin-bottom: 12px; color: #b5bfd6; }
.empty-card h3 { margin-top: 4px; }

/* Technologies page */
.tech-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tech-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tech-card-head .icon-tile { margin: 0; }
.tech-card-head h2 { font-size: 1.25rem; margin: 0; }

/* Blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .card-body { padding: 22px 24px 26px; }
.post-cover { aspect-ratio: 16 / 8; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255, 255, 255, .92); background: var(--grad); }
.post-cover-ai { background: linear-gradient(135deg, #5b3df5, #e5487f); }
.post-cover-cloud { background: linear-gradient(135deg, #1f5eff, #22c1ee); }
.post-cover-automation { background: linear-gradient(135deg, #0b1b3f, #1f5eff); }
.post-cover-security { background: linear-gradient(135deg, #0b1b3f, #16a34a); }
.post-cover-transformation { background: linear-gradient(135deg, #d8336b, #f59e0b); }
.post-cover-web { background: linear-gradient(135deg, #1f5eff, #5b3df5); }
.post-cover-seo { background: linear-gradient(135deg, #0f766e, #22c1ee); }
.post-cover-img { display: block; background: var(--navy-900); }
.post-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { font-size: 1.05rem; }
.article h2 { margin-top: 1.8em; font-size: 1.55rem; }
.article li { margin-bottom: .4em; }
.article-meta { color: var(--muted); font-size: .94rem; }
.article-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.toc ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; color: var(--ink); }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue-600); color: var(--blue-600); text-decoration: none; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--navy-800); font-size: .94rem; }
.notice i { margin-top: 4px; }
.notice-warn { background: #fff4d6; color: #6b4700; }

/* Careers */
.job-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.job-row h3 { margin-bottom: .2em; }

/* Pricing */
.pricing-grid { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .check-list { flex: 1; margin-bottom: 20px; }
.plan .badge { position: absolute; top: -12px; left: 28px; }
.plan-featured { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.plan-price { display: flex; flex-direction: column; margin: 8px 0 22px; padding: 16px 0; border-block: 1px solid var(--line); }
.plan-price strong { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan-price small { color: var(--muted); }

/* Timeline / team */
.timeline { list-style: none; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before { content: ''; position: absolute; left: -36px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.timeline-year { font-weight: 700; color: var(--rose-600); }
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius); margin: 0 auto 16px; aspect-ratio: 1; object-fit: cover; }

/* ---------- Forms ---------- */
.form-card { padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); }
.field [aria-invalid="true"] { border-color: #dc2626 !important; }
.field-error { color: #b91c1c; font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-600); }
.field-check label { font-weight: 400; font-size: .9rem; color: var(--text); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 16px; }
.form-status:empty { display: none; }
.form-status.is-error, .form-status.is-success { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.form-status.is-error { background: #fdecec; color: #991b1b; }
.form-status.is-success { background: #e7f9ee; color: #14532d; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon-tile { margin: 0; width: 46px; height: 46px; font-size: 1.1rem; }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list small { color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list address { font-weight: 600; color: var(--ink); font-style: normal; word-break: break-word; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* Wizard */
.stepper { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0 0 14px; gap: 6px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; font-size: .8rem; color: var(--muted); text-align: center; }
.stepper span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-weight: 700; background: #fff; }
.stepper em { font-style: normal; }
.stepper .is-current span { border-color: var(--blue-600); color: var(--blue-600); }
.stepper .is-current { color: var(--ink); font-weight: 600; }
.stepper .is-done span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.progress { height: 6px; border-radius: 999px; background: var(--bg-soft); margin-bottom: 28px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--grad); transition: width .35s var(--ease); }
.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-step legend { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 20px; padding: 0; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wizard-nav [data-wizard-next], .wizard-nav [data-wizard-submit] { margin-left: auto; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option span { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; color: var(--ink); font-size: .93rem; transition: border-color .2s, background .2s; min-height: 48px; }
.option span i { color: var(--blue-600); width: 18px; text-align: center; }
.option input:checked + span { border-color: var(--blue-600); background: var(--blue-100); }
.option input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.review { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 20px; }
.review dt { color: var(--muted); font-weight: 500; }
.review dd { margin: 0; color: var(--ink); white-space: pre-wrap; word-break: break-word; }

/* Status pages */
.status-page { min-height: 60vh; display: flex; align-items: center; }
.status-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; font-size: 2rem; }
.status-ok { background: #e7f9ee; color: #16a34a; }
.big-404 { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.center-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr 1.3fr; gap: 36px; }
.footer-brand p { margin-top: 16px; }
.footer-brand .muted { color: rgba(255, 255, 255, .55); font-size: .88rem; }
.footer-title { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact i { margin-top: 5px; color: #7aa2ff; width: 16px; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.social-list a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.social-list a:hover { background: var(--blue-600); text-decoration: none; }
.social-list-dark a { background: var(--bg-soft); color: var(--ink); }
.social-list-dark a:hover { color: #fff; }
.newsletter { margin-top: 20px; }
.newsletter label { color: #fff; font-weight: 600; display: block; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 22px 20px 100px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ---------- Floating actions & chatbot ---------- */
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.fab { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.45rem; border: 0; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(11, 27, 63, .5); transition: transform .2s var(--ease); text-decoration: none !important; }
.fab:hover { transform: scale(1.07); }
.fab-whatsapp { background: var(--wa); font-size: 1.75rem; }
.fab-phone { background: var(--blue-600); font-size: 1.2rem; }
.fab-chat { background: var(--grad); }
.fab[data-tip]::before { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy-900); color: #fff; font-size: .8rem; font-weight: 500; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab:hover::before, .fab:focus-visible::before { opacity: 1; }
.fab-chat[aria-expanded="true"] i::before { content: '\f00d'; }

.chat-window { position: fixed; right: 88px; bottom: 18px; z-index: 950; width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 110px)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-window[hidden] { display: none; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy-900); color: #fff; }
.chat-header h2 { color: #fff; font-size: 1rem; margin: 0; }
.chat-header p { margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.chat-avatar .logo-mark { height: 38px; padding: 4px 6px; }
.chat-close { margin-left: auto; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg-bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-error { background: #fdecec; color: #991b1b; align-self: flex-start; }
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; white-space: normal; }
.msg-links a { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--blue-100); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px 0; border-top: 1px solid var(--line); }
.chat-quick button { font-size: .8rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); font-weight: 500; }
.chat-quick button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; }
.chat-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; }
.chat-form input:focus { outline: none; border-color: var(--blue-500); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue-600); color: #fff; cursor: pointer; flex-shrink: 0; }
.chat-note { font-size: .72rem; color: var(--muted); margin: 0; padding: 0 14px 10px; }
.chat-lead { display: grid; gap: 8px; margin-top: 4px; white-space: normal; }
.chat-lead input, .chat-lead textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; }
.chat-lead label { font-size: .8rem; display: flex; gap: 6px; align-items: flex-start; }
.chat-lead .btn { min-height: 38px; }

.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 960; max-width: 420px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 18px; font-size: .9rem; }
.cookie-banner div { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-soft); }
.admin { padding: 24px 20px 60px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.admin-head form { display: flex; gap: 8px; }
.admin-login { max-width: 420px; margin: 10vh auto; }
.admin-tabs { margin-bottom: 16px; }
.admin-tabs .chip span { opacity: .7; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-filter input, .admin-filter select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.status { font-size: .78rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: var(--bg-soft); }
.status-new { background: var(--rose-100); color: var(--rose-600); }
.status-won { background: #e7f9ee; color: #15803d; }
.status-spam { background: #eee; color: #666; }
.admin-update { margin-top: 24px; max-width: 520px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .process { grid-template-columns: repeat(4, 1fr); }
    .process-step::after { display: none; }
    .tech-overview { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .hero-grid, .intro-grid, .two-col, .detail-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
    .grid-3, .grid-4, .tech-sections { grid-template-columns: repeat(2, 1fr); }
    .sticky-card, .article-side { position: static; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
    .section { padding: 64px 0; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .grid-3, .grid-4, .tech-sections, .tech-overview, .form-grid, .option-grid, .check-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 48px 0 32px; }
    .hero-visual { padding: 20px 0 30px; }
    .float-card { display: none; }
    .code-window pre { font-size: .76rem; padding: 16px; }
    .form-card { padding: 22px 18px; }
    .stepper em { display: none; }
    .review { grid-template-columns: 1fr; gap: 2px; }
    .review dd { margin-bottom: 10px; }
    .job-row { flex-direction: column; align-items: flex-start; }
    .cta-band { padding: 32px 22px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .section-head { margin-bottom: 32px; }
    .chat-window { right: 16px; left: 16px; width: auto; max-width: none; bottom: 84px; height: calc(100vh - 170px); height: calc(100dvh - 170px); }
    .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
    .fab { width: 52px; height: 52px; }
    .fab[data-tip]::before { display: none; }
    .footer-bottom { padding-bottom: 96px; }
}
@media (max-width: 400px) {
    .footer-grid, .process { grid-template-columns: 1fr; }
    .brand-text small { letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Areas we serve ---------- */
ul.chips { list-style: none; padding: 0; margin: 0; }
.areas-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue-100), var(--rose-100)); }
.areas-band h2 { margin-bottom: .25em; }
.areas-band p { margin: 0; color: var(--text); }
.areas-band .chip i { color: var(--rose-600); }
.footer-areas { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 40px; font-size: .88rem; }
.footer-areas span { color: #fff; font-weight: 600; }
.footer-areas a { color: rgba(255, 255, 255, .72); }
.footer-areas + .footer-bottom { margin-top: 20px; }

/* ---------- Client project tracking page ---------- */
.track-card { display: grid; gap: 20px; }
.track-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.track-progress { flex: 1; min-width: 220px; max-width: 420px; }
.track-progress strong { font-size: 1.4rem; color: var(--ink); }
.meter { height: 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; margin: 6px 0; }
.meter span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.status-pill { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; font-weight: 700; background: var(--blue-100); color: var(--blue-600); }
.status-completed { background: #e7f9ee; color: #15803d; }
.status-on-hold, .status-cancelled { background: #eef0f4; color: #5b6475; }
.status-review { background: #fff4dc; color: #b45309; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.stages li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); text-align: center; position: relative; }
.stages li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-weight: 700; }
.stages .is-done span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.stages .is-current span { border-color: var(--blue-600); color: var(--blue-600); }
.stages .is-current { color: var(--ink); font-weight: 600; }
.doc-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.doc-list li div { flex: 1; display: flex; flex-direction: column; }
.doc-list small { color: var(--muted); }

/* ---------- SEO / AEO content blocks ---------- */
.pt-0 { padding-top: 0 !important; }
.answer-box { border: 1px solid var(--line); border-left: 4px solid var(--blue-600); background: var(--bg-soft); border-radius: var(--radius); padding: 18px 22px; }
.answer-box p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.answer-box .answer-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.benefit-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: #e7f9ee; color: var(--ink); }
.benefit-list i { color: #16a34a; margin-top: 4px; }
.facts-card dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 18px; margin: 0; }
.facts-card dt { color: var(--muted); font-weight: 500; }
.facts-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.post-meta-author { display: flex; align-items: center; gap: 10px; }
.post-hero-img { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 640px) { .benefit-list { grid-template-columns: 1fr; } .facts-card dl { grid-template-columns: 1fr; gap: 2px; } .facts-card dd { margin-bottom: 8px; } }
