/* ==========================================================================
   B2BTechnosoft — Core stylesheet (mobile-first)
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Header/Nav
             6 Hero · 7 Sections & cards · 8 Mockups · 9 Process/FAQ/CTA
             10 Forms · 11 Footer · 12 Utilities
   Breakpoint overrides live in responsive.css, motion in animations.css.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand: midnight navy + indigo, with an emerald accent used sparingly */
  --navy-900: #0C1324;
  --navy-800: #141D36;
  --navy-700: #1F2A4A;
  --blue-700: #4338CA;
  --blue-600: #4F46E5;
  --blue-500: #6366F1;
  --blue-100: #E0E7FF;
  --blue-50: #EEF2FF;
  --accent-700: #047857;
  --accent-500: #10B981;
  --accent-400: #34D399;
  --accent-50: #ECFDF5;
  --bg: #F7F8FC;
  --white: #FFFFFF;
  --text: #151B2E;
  --text-muted: #5A6178;
  --text-soft: #3D4459;
  --border: #E3E6EF;
  --danger: #C62828;
  --success: #15803D;

  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  --grad-dark: radial-gradient(900px 480px at 85% -10%, rgba(79, 70, 229, .28), transparent 65%), linear-gradient(180deg, #0C1324 0%, #121A33 100%);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(12, 19, 36, .06);
  --shadow: 0 8px 24px -12px rgba(12, 19, 36, .18);
  --shadow-lg: 0 24px 48px -20px rgba(12, 19, 36, .28);
  --ring: 0 0 0 3px rgba(79, 70, 229, .3);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --section-y: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: #1D4ED8; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; letter-spacing: -.02em; color: var(--navy-900); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); letter-spacing: -.03em; line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--navy-900); }

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

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* 3. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg); }
.section--tight { padding-block: 48px; }
.section--dark {
  background: var(--grad-dark);
  color: #CBD5E1;
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: #94A3B8; }
.section--dark::before, .bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.section--dark > .container { position: relative; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; gap: 16px; }
.lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent-500); }
.section--dark .eyebrow { color: var(--accent-400); }
.text-gradient { color: var(--blue-600); }
.section--dark .text-gradient, .page-hero .text-gradient { color: var(--accent-400); }

.grid { display: grid; gap: 24px; }
.split { display: grid; gap: 48px; align-items: center; }
.stack > * + * { margin-top: 16px; }

/* 4. Buttons & links ----------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--blue-600); }
.btn--primary:hover { --btn-bg: var(--blue-700); }
.btn--outline { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: #C3CCDA; }
.btn--outline:hover { --btn-bd: var(--navy-900); background: var(--white); }
.btn--light { --btn-bg: var(--accent-400); --btn-fg: var(--navy-900); }
.btn--light:hover { --btn-bg: #6EE7B7; }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { --btn-bd: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; border-radius: 8px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--blue-600); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--accent-400); }

/* 5. Header & navigation ------------------------------------------------- */
#site-header { min-height: var(--header-h); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); background: rgba(255, 255, 255, .94); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: inline-flex; align-items: center; flex: none; }
.nav__brand img { height: 38px; width: auto; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--white); color: var(--navy-900); cursor: pointer;
}
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile panel (desktop layout in responsive.css) */
.nav__panel {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px var(--gutter) 32px;
  border-top: 1px solid var(--border);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.nav__panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
body.nav-open { overflow: hidden; }
.nav__menu { list-style: none; }
.nav__item { border-bottom: 1px solid var(--border); }
.nav__link, .nav__trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 4px; min-height: 52px;
  font-weight: 500; font-size: 1.02rem; color: var(--navy-900);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.nav__link:hover, .nav__trigger:hover { color: var(--blue-600); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__trigger { color: var(--blue-600); }
.nav__trigger .icon { width: 18px; height: 18px; transition: transform .2s; }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__dropdown { display: none; padding: 0 0 12px; }
.nav__dropdown.is-open { display: block; }
.dropdown__grid { list-style: none; display: grid; gap: 2px; }
.dropdown__link {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 10px; border-radius: 8px; color: var(--text);
}
.dropdown__link:hover, .dropdown__link[aria-current="page"] { background: var(--bg); color: var(--navy-900); }
.dropdown__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-600);
}
.dropdown__icon .icon { width: 18px; height: 18px; }
.dropdown__title { display: block; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.dropdown__desc { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
.dropdown__footer { margin-top: 8px; padding: 12px 10px 0; border-top: 1px solid var(--border); }
.nav__actions { padding-top: 20px; }
.nav__actions { display: grid; gap: 10px; }
.nav__actions .btn { width: 100%; }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(79, 70, 229, .07), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(12, 19, 36, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 19, 36, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 24px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--text-soft);
}
.hero__badge span:first-child { padding: 3px 10px; border-radius: 999px; background: var(--navy-900); color: var(--accent-400); font-weight: 600; font-size: .72rem; letter-spacing: .04em; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--text-soft); font-size: .92rem; font-weight: 600; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--blue-600); }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; padding: 56px 0 64px;
  background: var(--grad-dark); color: #CBD5E1;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 95%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero .lead { color: #A5B4CB; max-width: 640px; }
.page-hero .eyebrow { color: var(--accent-400); }
.page-hero__grid { display: grid; gap: 48px; align-items: center; }
.page-hero--simple { padding-bottom: 56px; }
.breadcrumb { margin-bottom: 24px; font-size: .85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: #94A3B8; }
.breadcrumb li + li::before { content: "/"; color: #475569; }
.breadcrumb a { color: #CBD5E1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--accent-400); }

/* 7. Sections, cards & content blocks ---------------------------------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: .96rem; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: #94A3B8; }

.icon-tile {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; margin-bottom: 20px;
  background: var(--blue-50); color: var(--blue-600);
}
.icon-tile--teal { background: var(--accent-50); color: var(--accent-700); }
.icon-tile--dark { background: var(--navy-900); color: var(--accent-400); }
.icon-tile--grad { background: var(--navy-900); color: var(--accent-400); }
.section--dark .icon-tile { background: rgba(52, 211, 153, .1); color: var(--accent-400); }

/* Capability strip */
.cap-strip { border-block: 1px solid var(--border); background: var(--white); }
.cap-strip__list { list-style: none; display: grid; gap: 0; }
.cap-strip__item { display: flex; align-items: center; gap: 14px; padding: 20px 4px; font-weight: 600; color: var(--navy-900); font-size: .97rem; }
.cap-strip__item + .cap-strip__item { border-top: 1px solid var(--border); }
.cap-strip__item .icon-tile { width: 42px; height: 42px; margin: 0; border-radius: 8px; }
.cap-strip__item .icon { width: 20px; height: 20px; }

/* Service cards */
.svc-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue-600);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-card:hover::after, .svc-card:focus-within::after { transform: scaleX(1); }
.svc-card__benefit {
  display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 20px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg); font-size: .86rem; color: var(--text-soft); font-weight: 500; line-height: 1.45;
}
.svc-card__benefit .icon { width: 16px; height: 16px; color: var(--blue-600); margin-top: 2px; }
.svc-card .link-arrow { margin-top: auto; }
.svc-card--featured { background: var(--navy-900); border-color: var(--navy-900); }
.svc-card--featured h3 { color: #fff; }
.svc-card--featured p { color: #94A3B8; }
.svc-card--featured .svc-card__benefit { background: rgba(255, 255, 255, .06); color: #CBD5E1; }
.svc-card--featured::after { background: var(--accent-500); }
.svc-card--featured .svc-card__benefit .icon { color: var(--accent-400); }
.svc-card--featured .link-arrow { color: var(--accent-400); }

/* Feature list (icon + text rows) */
.features { display: grid; gap: 28px 32px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon-tile { width: 44px; height: 44px; margin: 0; border-radius: 10px; flex: none; }
.feature .icon-tile .icon { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.section--dark .feature p { color: #94A3B8; }

/* Checklists */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(52, 211, 153, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.check-list--2 { gap: 14px 28px; }

/* Showcase blocks (featured solutions) */
.showcase { display: grid; gap: 40px; align-items: center; padding: 32px 0; }
.showcase + .showcase { border-top: 1px dashed var(--border); padding-top: 64px; margin-top: 32px; }
.showcase__num { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-700); font-weight: 600; margin-bottom: 12px; display: block; }
.showcase__visual { position: relative; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.tag {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--text-soft);
}
.section--dark .tag { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #CBD5E1; }

/* Industry tiles */
.industry {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border); height: 100%;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.industry:hover { border-color: var(--blue-500); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry .icon-tile { margin: 0 0 6px; width: 46px; height: 46px; }
.industry h3 { font-size: 1.02rem; margin: 0; }
.industry p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  min-height: 42px; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--white); font-weight: 600; font-size: .9rem; color: var(--text-soft); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.project-grid { display: grid; gap: 24px; }
.project { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.project[hidden] { display: none; }
.project__visual {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.project__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project:hover .project__visual img { transform: scale(1.04); }
.project__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project__cat { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.project__body h3 { font-size: 1.12rem; }
.project__tech { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 20px; }
.project__tech li { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--text-soft); border: 1px solid var(--border); }
.project .link-arrow { margin-top: auto; }
.demo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 18, 32, .82); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}
.demo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-400); }
.empty-state { text-align: center; color: var(--text-muted); padding: 32px; }

/* Project detail (dialog-like disclosure) */
.project__details { margin-top: 0; }
.project__details[hidden] { display: none; }
.project__details dl { display: grid; gap: 10px; margin: 0 0 16px; font-size: .9rem; }
.project__details dt { font-weight: 700; color: var(--navy-900); }
.project__details dd { margin: 0; color: var(--text-muted); }

/* Technology grid */
.tech-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tech {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--border); font-weight: 700; font-size: .92rem; color: var(--navy-900);
}
.tech__mark {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px;
  font-family: var(--mono); font-size: .72rem; font-weight: 800; color: #fff; background: var(--navy-800);
}
.tech small { display: block; font-weight: 500; color: var(--text-muted); font-size: .76rem; }
.tech-groups { display: grid; gap: 28px; }
.tech-groups .tech-grid { grid-template-columns: minmax(0, 1fr) !important; }
.tech-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; }
.section--dark .tech { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #fff; }
.section--dark .tech small { color: #94A3B8; }

/* Values / numbered cards */
.num-card { counter-increment: numcard; }
.num-card::before {
  content: counter(numcard, decimal-leading-zero); display: block; font-family: var(--mono);
  font-weight: 700; font-size: .9rem; color: var(--accent-700); margin-bottom: 14px;
}
.num-cards { counter-reset: numcard; }

/* Notice */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--blue-50); border: 1px solid var(--blue-100); color: #1E3A8A; font-size: .93rem; line-height: 1.6;
}
.notice .icon { color: var(--blue-600); width: 22px; height: 22px; margin-top: 1px; }
.notice p { margin: 0; }
.notice--teal { background: var(--accent-50); border-color: #A7F3D0; color: #065F46; }
.notice--teal .icon { color: var(--accent-700); }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .placeholder, .placeholder { background: #FEF9C3; color: #713F12; padding: 1px 6px; border-radius: 4px; font-size: .92em; font-weight: 600; }
.toc { list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--blue-600); }

/* Use-case cards */
.usecase { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); height: 100%; }
.usecase h3 { font-size: 1.02rem; display: flex; gap: 10px; align-items: center; }
.usecase h3 .icon { width: 20px; height: 20px; color: var(--blue-600); }
.usecase p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* Jobs */
.job { display: grid; gap: 16px; align-items: center; }
.job__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job details { grid-column: 1 / -1; }
.job summary { cursor: pointer; font-weight: 700; color: var(--blue-600); list-style: none; display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.job summary::-webkit-details-marker { display: none; }
.job summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.job details[open] summary .icon { transform: rotate(180deg); }
.job details > div { padding-top: 12px; }

/* 8. Product mockups (CSS illustrations) ------------------------------- */
.mock {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--text);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #FBFCFE; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #E2E8F0; }
.mock__bar i:nth-child(1) { background: #FCA5A5; }
.mock__bar i:nth-child(2) { background: #FCD34D; }
.mock__bar i:nth-child(3) { background: #86EFAC; }
.mock__url { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: #F1F5F9; font-size: 10px; color: var(--text-muted); display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.mock__body { display: grid; grid-template-columns: 54px 1fr; min-height: 260px; }
.mock__side { background: var(--navy-900); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock__side span { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.mock__side span.is-on { background: var(--grad-brand); }
.mock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock__title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; color: var(--navy-900); }
.mock__pill { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #E8F5EC; color: var(--success); }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__stat { padding: 10px; border-radius: 10px; border: 1px solid var(--border); }
.mock__stat b { display: block; height: 8px; width: 60%; border-radius: 4px; background: #E2E8F0; margin-bottom: 8px; }
.mock__stat em { display: block; height: 12px; width: 80%; border-radius: 4px; background: var(--navy-900); opacity: .85; }
.mock__stat:nth-child(2) em { background: var(--blue-600); }
.mock__stat:nth-child(3) em { background: var(--accent-500); }
.mock__chart { height: 92px; border-radius: 10px; border: 1px solid var(--border); padding: 10px; display: flex; align-items: flex-end; gap: 6px; }
.mock__chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); opacity: .9; }
.mock__chart span:nth-child(even) { background: #C7D2FE; }
.mock__rows { display: grid; gap: 6px; }
.mock__row { display: grid; grid-template-columns: 22px 1fr 50px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #F8FAFC; }
.mock__row i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100); }
.mock__row b { height: 7px; border-radius: 4px; background: #CBD5E1; }
.mock__row s { height: 16px; border-radius: 999px; background: #E8F5EC; border: 1px solid #B9E2C6; }
.mock__row:nth-child(2) s { background: var(--blue-50); border-color: var(--blue-100); }
.mock__row:nth-child(3) s { background: #FEF3C7; border-color: #FDE68A; }

/* Kanban pipeline */
.mock__kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__col { background: #F8FAFC; border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.mock__col > b { font-size: 10px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mock__deal { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 7px; display: grid; gap: 5px; }
.mock__deal i { display: block; height: 6px; border-radius: 3px; background: #CBD5E1; }
.mock__deal i:first-child { width: 80%; background: var(--navy-800); opacity: .7; }
.mock__deal i:last-child { width: 45%; background: var(--accent-400); }

/* Phone */
.mock-phone {
  position: relative; width: 210px; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 10px;
  background: var(--navy-900); box-shadow: var(--shadow-lg), inset 0 0 0 2px #26324F;
}
.mock-phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #000; z-index: 2; }
.mock-phone__screen { height: 100%; border-radius: 26px; background: #F8FAFC; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; }
.mock-phone__top { padding: 40px 14px 14px; background: var(--grad-brand); color: #fff; }
.mock-phone__top b { display: block; font-size: 14px; }
.mock-phone__top span { opacity: .85; font-size: 10px; }
.mock-phone__content { padding: 12px; display: grid; gap: 8px; }
.mock-phone__card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.mock-phone__card i { display: block; height: 7px; border-radius: 4px; background: #E2E8F0; }
.mock-phone__card i:first-child { width: 55%; background: var(--navy-800); opacity: .75; }
.mock-phone__card i:last-child { width: 75%; }
.mock-phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 14px; background: #fff; border-top: 1px solid var(--border); }
.mock-phone__nav span { width: 20px; height: 20px; border-radius: 6px; background: #E2E8F0; }
.mock-phone__nav span:first-child { background: var(--blue-600); }

/* Chat */
.mock-chat { display: flex; flex-direction: column; }
.mock-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-chat__avatar { width: 32px; height: 32px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.mock-chat__avatar .icon { width: 16px; height: 16px; }
.mock-chat__head b { display: block; font-size: 12.5px; color: var(--navy-900); }
.mock-chat__head small { color: var(--success); font-size: 10.5px; font-weight: 600; }
.mock-chat__log { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #FBFCFE; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 12px; line-height: 1.45; }
.bubble--bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.bubble--user { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; }
.bubble--msg { align-self: flex-end; background: #DCFCE7; color: #14532D; border-bottom-right-radius: 4px; }
.bubble__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bubble__chips span { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; }
.mock-chat__input { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); }
.mock-chat__input span { flex: 1; height: 30px; border-radius: 8px; background: #F1F5F9; }
.mock-chat__input i { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-600); }

/* Voice */
.mock-voice { padding: 18px; display: grid; gap: 14px; }
.mock-voice__call { display: flex; align-items: center; gap: 12px; }
.mock-voice__call .mock-chat__avatar { width: 40px; height: 40px; border-radius: 50%; }
.wave { display: flex; align-items: center; gap: 3px; height: 46px; }
.wave span { flex: 1; min-width: 3px; border-radius: 3px; background: var(--blue-500); height: 30%; }
.wave span:nth-child(5n) { background: var(--accent-400); }
.transcript { display: grid; gap: 6px; font-size: 11.5px; }
.transcript p { margin: 0; padding: 8px 10px; border-radius: 10px; background: #F8FAFC; color: var(--text-soft); }
.transcript p b { color: var(--navy-900); }

/* Workflow nodes */
.flow { position: relative; display: grid; gap: 10px; }
.flow__node {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 12px; color: var(--navy-900);
}
.flow__node .icon { width: 16px; height: 16px; color: var(--blue-600); }
.flow__node small { margin-left: auto; font-weight: 600; font-size: 10px; color: var(--text-muted); }
.flow__node + .flow__node::before { content: ""; position: absolute; left: 24px; top: -11px; width: 2px; height: 10px; background: #C7CCE8; }
.flow__node--ok small { color: var(--success); }
.flow__node--wait small { color: #B45309; }

/* Floating cards around hero visual */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; color: var(--navy-900);
  white-space: nowrap; z-index: 3;
}
.float-card small { display: block; font-weight: 600; color: var(--text-muted); font-size: 10.5px; }
.float-card .icon-tile { width: 32px; height: 32px; margin: 0; border-radius: 9px; }
.float-card .icon-tile .icon { width: 16px; height: 16px; }

/* Hero visual composition */
.hero-visual { position: relative; padding: 24px 0 72px; max-width: 620px; margin-inline: auto; width: 100%; }
.hero-visual__orbit {
  position: absolute; inset: -6% -4% 0; z-index: 0; pointer-events: none; opacity: .9;
}
.hero-visual .mock--dash { position: relative; z-index: 1; }
.hero-visual .mock-phone { position: absolute; right: -6px; bottom: 0; width: 150px; z-index: 2; }
.hero-visual .mock--chat { position: absolute; left: -10px; bottom: -8px; width: 230px; z-index: 2; }
.hero-visual .float-card--a { top: 0; right: 18%; }
.hero-visual .float-card--b { top: 30%; left: -28px; }

/* Visual frame for service pages */
.visual-frame { position: relative; padding: 16px; }
.visual-frame::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 40px; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, .35), transparent 65%);
  filter: blur(40px); opacity: .5;
}
.visual-frame > * { position: relative; z-index: 1; }
.visual-pair { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.visual-pair .mock-phone { width: 170px; flex: none; }

/* 9. Process, FAQ, CTA -------------------------------------------------- */
.process { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.process__step {
  position: relative; counter-increment: step; padding: 24px 24px 24px 76px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
}
.process__step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 22px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy-900); color: var(--accent-400); font-family: var(--mono); font-weight: 800; font-size: .85rem;
}
.process__step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process__step p { margin: 0; color: var(--text-muted); font-size: .93rem; }
.section--dark .process__step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .process__step::before { background: var(--accent-400); color: var(--navy-900); }
.section--dark .process__step p { color: #94A3B8; }

.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq__item.is-open { border-color: var(--blue-100); border-left: 3px solid var(--blue-600); box-shadow: var(--shadow-sm); }
.faq__q { margin: 0; font-size: 1rem; }
.faq__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 600; font-size: 1rem; color: var(--navy-900); border-radius: var(--radius); line-height: 1.4;
}
.faq__btn:hover { color: var(--blue-600); }
.faq__btn .icon { width: 20px; height: 20px; flex: none; color: var(--blue-600); transition: transform .25s var(--ease); }
.faq__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--text-muted); }
.faq__a[hidden] { display: none; }
.faq__a p:last-child { margin: 0; }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px 28px; text-align: center;
  background: var(--grad-dark); color: #CBD5E1;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, .14) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: #A5B4CB; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }

/* 10. Forms ------------------------------------------------------------- */
.form-card { padding: 28px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.field .req { color: var(--danger); }
.field .opt { color: var(--text-muted); font-weight: 500; font-size: .82rem; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid #C3CCDA; background: #fff; color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #94A3B8; }
.input:hover { border-color: #94A3B8; }
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .2); }
.field__error { font-size: .85rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: .82rem; color: var(--text-muted); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-soft); line-height: 1.5; cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-600); cursor: pointer; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 8px; font-size: .93rem; font-weight: 500; line-height: 1.5; }
.form-alert[hidden] { display: none; }
.form-alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-alert--info { background: var(--blue-50); color: #1E3A8A; border: 1px solid var(--blue-100); }
.form-alert ul { margin: 6px 0 0 18px; font-weight: 500; }
.form-note { font-size: .82rem; color: var(--text-muted); margin: 0; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; display: none; }
.is-loading .spinner { display: inline-block; animation: spin .8s linear infinite; }
.is-loading .btn-label-icon { display: none; }

.contact-info { display: grid; gap: 16px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .icon-tile { width: 44px; height: 44px; margin: 0; border-radius: 10px; }
.contact-info__item h3 { font-size: .98rem; margin: 0 0 2px; }
.contact-info__item p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* 11. Footer ------------------------------------------------------------ */
.site-footer {
  position: relative; overflow: hidden; padding: 56px 0 28px; font-size: .93rem; color: #9AA3BA;
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(79, 70, 229, .22), transparent 70%),
    radial-gradient(600px 320px at 95% 100%, rgba(16, 185, 129, .10), transparent 70%),
    #080D1A;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.site-footer::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--accent-500) 50%, var(--blue-600));
}
.site-footer > .container { position: relative; }

/* Quick actions */
.footer__actions { display: grid; gap: 12px; margin-bottom: 56px; }
.footer-action {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
.footer-action:hover { color: #fff; background: rgba(99, 102, 241, .12); border-color: rgba(129, 140, 248, .45); transform: translateY(-2px); }
.footer-action__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-600); color: #fff; }
.footer-action:nth-child(2) .footer-action__icon { background: #1E293B; color: var(--accent-400); border: 1px solid rgba(52, 211, 153, .35); }
.footer-action:nth-child(3) .footer-action__icon { background: var(--accent-500); color: #052E22; }
.footer-action__icon .icon { width: 20px; height: 20px; }
.footer-action__text { display: grid; gap: 2px; min-width: 0; }
.footer-action__text strong { font-size: 1rem; font-weight: 600; }
.footer-action__text small { font-size: .84rem; color: #94A0BA; }
.footer-action__arrow { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #C7D2FE; transition: background-color .2s, transform .25s var(--ease); }
.footer-action__arrow .icon { width: 16px; height: 16px; }
.footer-action:hover .footer-action__arrow { background: #fff; color: var(--navy-900); transform: translateX(3px); }

/* Main grid */
.footer__grid { display: grid; gap: 44px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__brand > p { max-width: 380px; color: #A3ACC2; line-height: 1.7; margin-bottom: 22px; }
.footer__contact { display: grid; gap: 10px; max-width: 380px; }
.footer__contact-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); color: #fff; font-weight: 500; word-break: break-word;
}
a.footer__contact-item:hover { color: #fff; border-color: rgba(129, 140, 248, .45); }
.footer__contact-item small { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7F8AA3; margin-bottom: 1px; }
.footer__contact-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(79, 70, 229, .2); color: #A5B4FC; }
.footer__contact-icon .icon { width: 18px; height: 18px; }
.footer__chat {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(52, 211, 153, .4); background: rgba(16, 185, 129, .1); color: var(--accent-400); font-weight: 600; font-size: .93rem;
  transition: background-color .2s, color .2s;
}
.footer__chat:hover { background: var(--accent-500); color: #052E22; }
.footer__chat .icon { width: 18px; height: 18px; }

.footer__nav { display: grid; gap: 32px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__col--wide { grid-column: 1 / -1; }
.footer__title { color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer__title::before { content: ""; width: 14px; height: 2px; background: var(--accent-500); }
.footer__links { list-style: none; display: grid; gap: 2px; }
.footer__links--2 { gap: 2px 24px; }
.footer__links a { position: relative; display: inline-flex; align-items: center; padding: 5px 0; color: #A3ACC2; transition: color .2s, transform .2s var(--ease); }
.footer__links a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--accent-400); transition: width .2s var(--ease), margin-right .2s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover::before { width: 10px; margin-right: 8px; }

.footer__wordmark {
  margin: 48px 0 0; font-weight: 700; letter-spacing: -.05em; line-height: .8; text-align: center; white-space: nowrap; user-select: none;
  font-size: clamp(2.4rem, 11.4vw, 8.6rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom {
  margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .86rem; color: #7F8AA3;
}
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer__bottom a { color: #A3ACC2; }
.footer__bottom a:hover { color: #fff; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; }
.footer__top .icon { width: 14px; height: 14px; }

.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 8px;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), background-color .2s; }
.back-to-top:hover { background: var(--blue-600); }
.back-to-top .icon { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 94; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), background-color .2s;
}
.whatsapp-float:hover { background: #1EBE5B; color: #fff; transform: translateY(-2px); }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* 12. Utilities --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-muted); }
.small { font-size: .88rem; }
.center-row { display: flex; justify-content: center; }
.divider { height: 1px; background: var(--border); border: 0; margin: 48px 0; }

/* 404 */
.error-code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin-bottom: 12px; }

/* Grid children may shrink below their content width (prevents overflow on narrow screens). */
.split > *, .showcase > *, .hero__grid > *, .page-hero__grid > *, .grid > *, .contact-layout > *, .faq-layout > * { min-width: 0; }
