/* ==========================================================================
   AI Sintex — main stylesheet
   Tokens mirror the Figma "AI Sintex Tokens" collection.
   ========================================================================== */

:root {
  /* Brand ratio: ~85% blue/navy, ~10% white, ~5% yellow (CTAs, highlights, marketing icons). */
  --bg-base: #061945;
  --bg-surface: #0A2058;
  --bg-elevated: #0E2A72;
  --bg-light: #F4F7FE;
  --white: #FFFFFF;

  --primary: #0A6CFF;
  --accent: #00A8FF;
  --deep: #0646C8;
  --soft: #3D8BFF;

  --yellow: #FFCC00;
  --yellow-soft: #FFD84D;
  --yellow-deep: #B37F00;
  --yellow-tint: rgba(255, 204, 0, .14);

  --text: #FFFFFF;
  --muted: #BCC8E6;
  --text-dark: #0A1330;
  --muted-dark: #5A6788;

  --border: #1E3A7A;
  --border-light: #E2E8F5;

  --tint: rgba(10, 108, 255, .14);
  --tint-light: rgba(10, 108, 255, .08);
  --tint-strong: rgba(10, 108, 255, .4);

  --grad: linear-gradient(90deg, #0A6CFF, #00A8FF);
  --grad-diag: linear-gradient(135deg, #0646C8 0%, #0A6CFF 50%, #00A8FF 100%);
  --grad-text: linear-gradient(90deg, #2F86FF, #00B4FF);
  --card-grad: linear-gradient(180deg, #0E2A72, #0A1F55);
  --shadow-yellow: 0 10px 28px -8px rgba(255, 204, 0, .55);

  --shadow-blue: 0 10px 28px -6px rgba(10, 108, 255, .45);
  --shadow-light: 0 12px 40px rgba(10, 30, 80, .07);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --radius: 20px;
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: var(--white); color: var(--text-dark); padding: 10px 16px; border-radius: 8px;
}

/* ---------- Typography ---------- */
.h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.17; letter-spacing: -.015em; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.23; letter-spacing: -.01em; }
.h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -.005em; }
.h4 { font-size: 20px; line-height: 1.4; }
.lead { font-size: 18px; line-height: 1.67; color: var(--muted); }
.small { font-size: 15px; line-height: 1.6; }
.muted { color: var(--muted); }
.text-gradient {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-yellow { color: var(--yellow); }
.section--light .text-yellow { color: var(--yellow-deep); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 120px 0; overflow: hidden; isolation: isolate; }
.section--surface { background: var(--bg-surface); }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--light .lead, .section--light .muted { color: var(--muted-dark); }
.section--ai { background: linear-gradient(135deg, #061945, #0B2C8A); }
.pt-0 { padding-top: 0 !important; }
.pt-sm { padding-top: 40px !important; }
.pb-sm { padding-bottom: 80px !important; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }
.flex-center { display: flex; justify-content: center; }

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

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--520 { grid-template-columns: 520px minmax(0, 1fr); }
.split--500 { grid-template-columns: 500px minmax(0, 1fr); }

/* Decorative background */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(140px); background: var(--primary); opacity: .4;
}
.glow--accent { background: var(--accent); opacity: .22; }
.grid-pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  color: var(--soft); font-size: 14px; line-height: 18px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.section--light .eyebrow { color: var(--primary); }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 900px; margin: 0 auto 64px; }
.section-head .eyebrow { align-self: center; }
.section-head .lead { max-width: 820px; }
.section-head--left { align-items: flex-start; text-align: left; margin: 0; max-width: none; }
.section-head--left .eyebrow { align-self: flex-start; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.section-head-row .section-head { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 20px;
  cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--bg-base); box-shadow: var(--shadow-yellow); }
.btn--primary:hover { transform: translateY(-2px); background: var(--yellow-soft); box-shadow: 0 16px 36px -8px rgba(255,204,0,.65); }
.btn--blue { background: var(--grad); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(10,108,255,.6); }
.btn .play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); }
.btn .play svg { width: 12px; height: 12px; fill: currentColor; stroke: none; transform: none !important; }
.btn--outline { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.28); color: var(--white); }
.btn--outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.btn--white { background: var(--white); color: var(--primary); }
.btn--white:hover { transform: translateY(-2px); }
.btn--outline-blue { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline-blue:hover { background: var(--primary); color: var(--white); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 500; font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.section--light .link-arrow, .card--light .link-arrow { color: var(--primary); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 14px; background: var(--tint); color: var(--soft);
}
.icon-tile svg { width: 28px; height: 28px; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 11px; }
.icon-tile--sm svg { width: 22px; height: 22px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-tile--lg svg { width: 32px; height: 32px; }
.section--light .icon-tile, .card--light .icon-tile { background: var(--tint-light); color: var(--primary); }
/* Yellow accent for marketing / creative services */
.icon-tile.icon-tile--yellow { background: var(--yellow-tint); color: var(--yellow); }
.section--light .icon-tile.icon-tile--yellow, .card--light .icon-tile.icon-tile--yellow { background: rgba(255,204,0,.18); color: var(--yellow-deep); }
.card--creative:hover { border-color: rgba(255,204,0,.5); box-shadow: 0 20px 50px -20px rgba(255,204,0,.3); }
.card--light.card--creative:hover { border-color: rgba(230,168,0,.55); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: var(--radius);
  background: var(--card-grad); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card--hover:hover { transform: translateY(-4px); border-color: rgba(61,139,255,.45); box-shadow: 0 20px 50px -20px rgba(10,108,255,.35); }
.card--light { background: var(--white); border-color: var(--border-light); box-shadow: var(--shadow-light); color: var(--text-dark); }
.card.card--light .muted, .card.card--light p { color: var(--muted-dark); }
.card--light.card--hover:hover { border-color: rgba(10,108,255,.35); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card .link-arrow { margin-top: auto; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(6, 25, 69, .9); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.admin-bar .site-header { top: 32px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.brand img { width: 68px; height: auto; }
/* Logo tagline as live text (matches the logo artwork, stays sharp at any size) */
.brand-tagline {
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 7.5px; line-height: 1; font-weight: 500; letter-spacing: .03em; color: var(--white);
}
.brand-tagline::before, .brand-tagline::after { content: ""; width: 8px; height: 1px; background: rgba(120, 145, 230, .75); }
/* Footer lockup: bigger logo + tagline */
.footer-brand .brand--footer { align-self: flex-start; gap: 8px; }
.footer-brand .brand--footer img { width: 124px; }
.brand--footer .brand-tagline { font-size: 12.5px; gap: 8px; }
.brand--footer .brand-tagline::before, .brand--footer .brand-tagline::after { width: 18px; }
.primary-nav { height: 100%; }
.nav-list { display: flex; align-items: center; gap: 28px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item.has-mega { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  color: var(--muted); font-weight: 500; font-size: 15px; line-height: 20px; transition: color .2s;
}
.nav-link { position: relative; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--white); }
.nav-link.is-active { color: var(--yellow); }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px; background: var(--yellow); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.sub-toggle { display: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--soft); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,.04); cursor: pointer; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Dropdowns */
.dropdown, .mega-menu {
  position: absolute; top: calc(100% - 8px); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 50;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.55);
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown,
.nav-item:hover > .mega-menu, .nav-item:focus-within > .mega-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown { left: -20px; min-width: 300px; padding: 12px; }
.mega-menu { left: 50%; width: min(1200px, calc(100vw - 48px)); margin-left: max(-600px, calc(-50vw + 24px)); padding: 32px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 300px; gap: 32px; }
.mega-col h6 { margin: 0 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.menu-item-card { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
.menu-item-card:hover { background: rgba(255,255,255,.05); }
.menu-item-card strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--white); }
.menu-item-card span span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
/* Blogs dropdown: feature card (blue round icon + title arrow) and latest posts */
.dropdown--blog { min-width: 360px; padding: 14px; }
.menu-item-card--feature { align-items: center; gap: 16px; padding: 14px; }
.menu-item-card--feature .feature-icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--white); box-shadow: 0 8px 20px -6px rgba(10,108,255,.6);
}
.menu-item-card--feature .feature-icon svg { width: 24px; height: 24px; }
.menu-item-card--feature strong { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; }
.menu-item-card--feature strong .arrow { width: 20px; height: 20px; transition: transform .2s; }
.menu-item-card--feature:hover strong .arrow { transform: translateX(4px); }
.menu-item-card--feature span span { font-size: 15px; }
.menu-posts { margin-top: 6px; padding: 14px 14px 6px; border-top: 1px solid var(--border); }
.menu-posts h6 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.menu-post { display: block; padding: 8px 0; font-size: 14px; line-height: 1.45; color: var(--white); transition: color .2s; }
.menu-post:hover { color: var(--yellow); }
.mega-promo { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--grad-diag); }
.mega-promo .tag { color: var(--white); align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.mega-promo p { color: rgba(255,255,255,.85); font-size: 15px; }
.mega-promo .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #08205A, #041235); border-top: 1px solid var(--border); padding: 88px 0 36px; }
.footer-top { display: grid; grid-template-columns: 320px repeat(3, auto) 250px; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); font-weight: 500; font-size: 14px; transition: background .2s, border-color .2s;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); }
.footer-col h4 { font-size: 20px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: var(--soft); margin-top: 2px; }
.footer-bottom { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.footer-bottom nav, .footer-bottom nav ul { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Home hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-content { display: flex; flex-direction: column; gap: 28px; }
.trust { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatars span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--bg-base); font-size: 14px; font-weight: 500; margin-left: -12px;
}
.avatars span:first-child { margin-left: 0; }
.stars { display: flex; gap: 3px; color: var(--yellow); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero-visual { position: relative; width: 100%; max-width: 540px; aspect-ratio: 540 / 620; justify-self: end; }
.hero-visual .ring {
  position: absolute; left: 0; top: 6.5%; width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed var(--tint-strong);
}
.hero-visual .hero-img {
  position: absolute; left: 7.4%; top: 4.7%; width: 88%; height: 90.6%; object-fit: cover;
  border-radius: 32px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px -10px rgba(10,108,255,.45);
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(10, 32, 88, .94); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.3; }
.float-card span span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- Home hero: devices + floating service tiles ---------- */
.hero--devices {
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 38%, rgba(18, 50, 155, .95), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(21, 55, 153, .7), transparent 70%),
    linear-gradient(180deg, #061945, #071E52 70%, #061945);
}
.eyebrow--hero { color: var(--yellow); }
.hero--devices .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; }
.hero--devices .h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.18; }
.devices { position: relative; width: 100%; max-width: 640px; aspect-ratio: 640 / 540; justify-self: end; }
.devices img {
  position: absolute; left: 0; top: 16%; width: 100%; height: 84%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 70% 68% at 50% 55%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 68% at 50% 55%, #000 55%, transparent 100%);
}
.orbit-yellow {
  position: absolute; left: 14%; right: -2%; top: 8%; height: 74%; border-radius: 50%; pointer-events: none;
  border: 2.5px solid transparent; border-top-color: rgba(255, 204, 0, .95); border-right-color: rgba(255, 204, 0, .6);
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, .75)); transform: rotate(-10deg);
}
.svc-tile {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 21%; max-width: 118px; padding: 12px 10px; border-radius: 16px; text-align: center;
  background: rgba(10, 32, 88, .78); border: 1px solid rgba(61, 139, 255, .6);
  box-shadow: 0 10px 30px rgba(10, 108, 255, .35), inset 0 0 20px rgba(61, 139, 255, .15);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; line-height: 1.3; animation: floaty 5s ease-in-out infinite;
}
.svc-tile svg { width: 32px; height: 32px; color: var(--white); }
.svc-tile--yellow { border-color: rgba(255, 204, 0, .6); box-shadow: 0 10px 30px rgba(255, 204, 0, .18), inset 0 0 20px rgba(255, 204, 0, .08); }
.svc-tile--yellow svg { color: var(--yellow); }
.svc-tile:nth-child(odd) { animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.service-strip {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 56px; padding: 22px 8px; border-radius: 22px;
  background: rgba(10, 32, 88, .65); border: 1px solid rgba(61, 139, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.service-strip a { display: flex; align-items: center; gap: 14px; padding: 6px 20px; font-weight: 500; font-size: 15px; line-height: 1.35; transition: color .2s; }
.service-strip a + a { border-left: 1px solid rgba(255, 255, 255, .18); }
.service-strip a:hover { color: var(--yellow); }
.service-strip svg { width: 34px; height: 34px; color: var(--yellow); flex: none; }
.service-strip small { display: block; color: var(--muted); font-size: 13px; }

/* Tech / Creative pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { display: flex; flex-direction: column; gap: 14px; padding: 34px 36px; border-radius: 22px; transition: transform .25s; }
.pillar:hover { transform: translateY(-4px); }
.pillar h3 { font-family: var(--font-body); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: .01em; text-transform: uppercase; }
.pillar .bar { width: 80px; height: 7px; border-radius: 7px; }
.pillar strong { font-family: var(--font-body); font-size: 24px; font-weight: 500; line-height: 1.3; }
.pillar .meta { font-size: 17px; }
.pillar .link-arrow { color: inherit; margin-top: 8px; font-weight: 600; }
.pillar--tech { background: var(--grad-diag); color: var(--white); box-shadow: 0 20px 50px -20px rgba(10,108,255,.6); }
.pillar--tech .bar { background: var(--white); }
.pillar--tech .meta { color: rgba(255, 255, 255, .85); }
.pillar--creative { background: var(--yellow); color: #0B0B0B; box-shadow: 0 20px 50px -20px rgba(255,204,0,.55); }
.pillar--creative .bar { background: #0B0B0B; }
.pillar--creative .meta { color: rgba(0, 0, 0, .72); }

/* ---------- Page (split) hero ---------- */
.page-hero { padding: 72px 0 100px; }
.page-hero-grid { display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero--center { text-align: center; padding-bottom: 40px; }
.page-hero--center .hero-content { align-items: center; max-width: 980px; margin: 0 auto; }
.page-hero--center .lead { max-width: 760px; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  color: var(--muted); font-size: 13px; line-height: 18px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.breadcrumb::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--yellow); margin-right: 4px; }
.page-hero--center .breadcrumb { align-self: center; }
.back-link { display: inline-flex; align-items: center; gap: 8px; align-self: center; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.back-link svg { width: 18px; height: 18px; transition: transform .2s; }
.back-link:hover { color: var(--white); }
.back-link:hover svg { transform: translateX(-3px); }
.page-hero--center .breadcrumb::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--yellow); margin-left: 4px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { display: inline-flex; opacity: .55; }
.breadcrumb .sep svg { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--white); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--soft); }
.quick-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-contact a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); font-weight: 500; font-size: 15px;
}
.quick-contact svg { width: 18px; height: 18px; color: var(--soft); }
.hero-media { position: relative; width: 100%; max-width: 544px; justify-self: end; }
.hero-media .ring { position: absolute; inset: -20px -10px -20px 10%; border-radius: 50%; border: 1.5px dashed var(--tint-strong); }
.hero-media img {
  position: relative; width: 100%; border-radius: 28px; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px -10px rgba(10,108,255,.4); object-fit: cover;
}
.hero-media .float-card--bl { left: -20px; bottom: 30px; }
.hero-media .float-card--tr { right: -16px; top: -24px; }

/* Portfolio showcase collage */
.showcase { position: relative; height: 330px; max-width: 1200px; margin: 48px auto 0; }
.showcase img { position: absolute; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 70px -10px rgba(0,0,0,.5); }
.showcase .s-left { left: 0; top: 70px; width: 35%; aspect-ratio: 16/9; opacity: .7; border: 1px solid rgba(255,255,255,.08); }
.showcase .s-right { right: 0; top: 70px; width: 35%; aspect-ratio: 16/9; opacity: .7; border: 1px solid rgba(255,255,255,.08); }
.showcase .s-main { left: 27.5%; top: 0; width: 45%; aspect-ratio: 16/9; z-index: 2; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 70px -10px rgba(10,108,255,.45); }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 8px 0 72px; }
.logos-row { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 24px; flex-wrap: wrap; }
.client-logo { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 26px; line-height: 1; transition: color .2s; }
.client-logo:hover { color: rgba(255,255,255,.85); }
.client-logo svg { width: 26px; height: 26px; }
.logo-orbitron { font-family: "Orbitron", sans-serif; font-weight: 700; letter-spacing: .04em; }
.logo-montserrat { font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: -.01em; }
.logo-outfit { font-family: "Outfit", sans-serif; font-weight: 600; }
.logo-urbanist { font-family: "Urbanist", sans-serif; font-weight: 900; }
.logo-space { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.logo-sora { font-family: "Sora", sans-serif; font-weight: 700; }

/* ---------- Stats & awards ---------- */
.stats-band {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 48px 64px; border-radius: 24px; background: var(--card-grad); border: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 4vw, 48px); line-height: 1.17; letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFFFFF, #7DB7FF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); }
.stat-divider { width: 1px; height: 72px; background: var(--border); }
.awards { margin-top: 32px; }
.award {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
}
.award-badge {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-diag); color: var(--white);
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 22px -6px rgba(10,108,255,.6);
}
.award-badge svg { width: 24px; height: 24px; }
.award strong { display: block; font-weight: 600; line-height: 1.3; }
.award span span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- Checklist ---------- */
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist .check {
  display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 50%; background: var(--tint); color: var(--soft);
}
.checklist .check svg { width: 14px; height: 14px; }
.section--light .checklist .check, .card--light .checklist .check { color: var(--primary); }
.checklist--white .check { background: rgba(255,255,255,.2); color: var(--white); }

/* ---------- Industries ---------- */
.industry { gap: 18px; padding: 28px; }
.industry h3 { font-size: 20px; line-height: 1.4; }

/* ---------- AI capability card ---------- */
.capability-panel { padding: 40px; border-radius: 28px; background: rgba(255,255,255,.03); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 24px; }
.capability-panel header { display: flex; align-items: center; gap: 16px; }
.capability-panel header strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.capability-panel header span span { color: var(--muted); font-size: 15px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips--center { justify-content: center; max-width: 1000px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); font-weight: 500; font-size: 15px; line-height: 20px;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.chip--sm { padding: 8px 14px; font-size: 14px; }
.tag { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(10,108,255,.16); color: var(--soft); font-size: 14px; line-height: 20px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.process::before {
  content: ""; position: absolute; left: 60px; right: 60px; top: 27px; height: 2px; background: var(--grad); opacity: .4;
}
.step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.step-badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-diag); box-shadow: 0 8px 24px -4px rgba(10,108,255,.4);
  font-family: var(--font-head); font-weight: 600; font-size: 20px;
}
.step h3 { font-size: 20px; line-height: 1.4; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Portfolio ---------- */
.project-card {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--bg-surface); border: 1px solid var(--border); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(61,139,255,.45); box-shadow: 0 24px 60px -24px rgba(10,108,255,.45); }
.project-cover { position: relative; aspect-ratio: 584 / 330; overflow: hidden; background: var(--grad-diag); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-cover img { transform: scale(1.04); }
.project-cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(10,32,88,.85)); }
.project-body { display: flex; flex-direction: column; gap: 14px; padding: 32px; flex: 1; }
.project-body p { color: var(--muted); font-size: 15px; }
.project-body .link-arrow { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.filter-btn {
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.04);
  color: var(--muted); font-weight: 500; font-size: 15px; cursor: pointer; transition: all .2s;
}
.filter-btn:hover { color: var(--white); }
.filter-btn.is-active { background: var(--grad); border-color: transparent; color: var(--white); box-shadow: 0 8px 24px -6px rgba(10,108,255,.4); }
.project-card.is-hidden { display: none; }

/* ---------- Testimonials ---------- */
.testimonial { gap: 20px; }
.testimonial blockquote { margin: 0; color: var(--white); font-size: 16px; line-height: 1.625; }
.testimonial hr { border: 0; border-top: 1px solid var(--border); margin: 0; width: 100%; }
.person { display: flex; align-items: center; gap: 14px; }
.person .avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-diag); font-weight: 600; }
.person strong { display: block; font-weight: 600; }
.person span span { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.faq details { border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq details[open] { border-color: rgba(10,108,255,.6); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--soft); transition: all .2s; }
.faq .toggle svg { width: 18px; height: 18px; transition: transform .2s; }
.faq details[open] .toggle { background: var(--grad); color: var(--white); }
.faq details[open] .toggle svg { transform: rotate(45deg); }
.faq .answer { padding: 0 28px 24px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-section { padding: 40px 0 120px; }
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px 72px; border-radius: 32px; background: var(--grad-diag);
  box-shadow: 0 24px 60px -12px rgba(10,108,255,.35);
}
.cta-banner::before, .cta-banner::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
  border: 1.5px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06);
}
.cta-banner::before { width: 420px; height: 420px; right: -100px; top: -200px; }
.cta-banner::after { width: 180px; height: 180px; right: 300px; bottom: -90px; }
.cta-content { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.cta-content .eyebrow-plain { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.67; }
.cta-buttons { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card-grad); border: 1px solid var(--border); transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(61,139,255,.45); }
.post-thumb { aspect-ratio: 384 / 220; overflow: hidden; background: var(--bg-elevated); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 14px; padding: 28px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.post-meta .tag { padding: 4px 12px; }
.post-meta svg { width: 16px; height: 16px; }
.post-body h3 { font-size: 20px; line-height: 1.4; }
.post-body p { color: var(--muted); font-size: 15px; }
.post-body .link-arrow { margin-top: auto; }

/* ---------- About ---------- */
.brand-panel {
  position: relative; width: 100%; max-width: 500px; aspect-ratio: 500 / 520; border-radius: 32px; overflow: hidden;
  background: linear-gradient(135deg, #0A2058, #0B2C8A); border: 1px solid var(--border);
}
.brand-panel::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; left: 14%; top: 15%; border-radius: 50%; background: var(--primary); opacity: .35; filter: blur(80px); }
.brand-panel .orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(61,139,255,.4); transform: translate(-50%, -50%); }
.brand-panel .orbit-1 { width: 88%; aspect-ratio: 1; opacity: .6; }
.brand-panel .orbit-2 { width: 66%; aspect-ratio: 1; opacity: .8; }
.brand-panel .orbit-3 { width: 44%; aspect-ratio: 1; }
.brand-panel .panel-logo { position: absolute; left: 50%; top: 50%; width: 31%; transform: translate(-50%, -50%); }
.brand-panel .chip { position: absolute; background: rgba(10,32,88,.8); }
.about-visual { position: relative; }
.about-visual .exp-badge {
  position: absolute; right: 0; bottom: 30px; padding: 24px 28px; border-radius: 24px; background: var(--grad-diag);
  box-shadow: 0 20px 50px -8px rgba(10,108,255,.45);
}
.exp-badge strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 600; }
.exp-badge span { color: rgba(255,255,255,.85); font-size: 15px; }
.mini-card { flex-direction: row; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; }
.mini-card strong { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.3; }
.mini-card span span { color: var(--muted); font-size: 15px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--grad); opacity: .45; }
.milestone { position: relative; display: flex; flex-direction: column; gap: 14px; }
.milestone .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--grad-diag); border: 5px solid var(--bg-surface); box-shadow: 0 0 16px rgba(10,108,255,.6); }
.milestone .year { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--soft); }
.milestone h3 { font-size: 20px; line-height: 1.4; }
.milestone p { color: var(--muted); font-size: 15px; }
.team-card { padding: 16px; gap: 16px; }
.team-photo { aspect-ratio: 1 / 1.05; border-radius: 14px; overflow: hidden; background: var(--grad-diag); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.team-info h3 { font-size: 20px; line-height: 1.4; }
.team-info .role { color: var(--primary) !important; font-size: 15px; }
.team-social { display: flex; gap: 8px; padding-top: 10px; }
.team-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint-light); color: var(--primary); font-size: 14px; }

/* ---------- Services ---------- */
.service-card { padding: 40px; gap: 24px; border-radius: 24px; }
.service-card header { display: flex; align-items: center; gap: 20px; }
.service-card .divider { height: 1px; background: var(--border); }
.service-card footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.service-card footer .chips { gap: 8px; }
.service-card footer .link-arrow { flex: none; white-space: nowrap; }
.model-card { padding: 40px; gap: 24px; border-radius: 24px; }
.model-card header { display: flex; align-items: center; justify-content: space-between; }
.model-card .divider { height: 1px; background: var(--border-light); }
.model-card .btn { margin-top: auto; }
.model-card--featured { background: var(--grad-diag); border: 0; color: var(--white); padding: 52px 40px; box-shadow: 0 24px 60px -12px rgba(10,108,255,.35); }
.model-card--featured p { color: rgba(255,255,255,.85) !important; }
.model-card--featured .divider { background: rgba(255,255,255,.25); }
.model-card--featured .icon-tile { background: rgba(255,255,255,.18); color: var(--white); }
.popular { padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--primary); font-size: 14px; font-weight: 500; }
.models { align-items: center; }
.tech-table { border-radius: 24px; background: var(--card-grad); border: 1px solid var(--border); overflow: hidden; }
.tech-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; padding: 24px 32px; }
.tech-row + .tech-row { border-top: 1px solid var(--border); }
.tech-row .label { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 20px; font-weight: 600; }

/* ---------- AI page ---------- */
.mini-stats { display: flex; gap: 40px; padding-top: 12px; }
.mini-stats strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--soft); }
.mini-stats span { color: var(--muted); font-size: 15px; }
.ai-orb { position: relative; width: 100%; max-width: 552px; aspect-ratio: 1; justify-self: end; }
.ai-orb .orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px dashed rgba(61,139,255,.3); }
.ai-orb .o1 { width: 100%; aspect-ratio: 1; opacity: .7; }
.ai-orb .o2 { width: 76%; aspect-ratio: 1; }
.ai-orb .o3 { width: 52.5%; aspect-ratio: 1; border-style: solid; border-color: rgba(61,139,255,.5); }
.ai-orb::before { content: ""; position: absolute; left: 26%; top: 26%; width: 48%; height: 48%; border-radius: 50%; background: var(--primary); opacity: .55; filter: blur(70px); }
.ai-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 27%; aspect-ratio: 1; border-radius: 26%;
  background: var(--grad-diag); border: 2px solid rgba(255,255,255,.35);
  box-shadow: 0 0 60px rgba(0,168,255,.7); font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 5vw, 60px);
  animation: pulse 3.5s ease-in-out infinite;
}
.ai-node {
  position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 18px; color: var(--soft);
  background: rgba(10,32,88,.94); border: 1px solid rgba(61,139,255,.5); box-shadow: 0 8px 24px rgba(10,108,255,.4);
}
.ai-node svg { width: 28px; height: 28px; }
.n1 { left: 50%; top: 0; } .n2 { left: 88%; top: 25.4%; } .n3 { left: 88%; top: 74.6%; }
.n4 { left: 50%; top: 100%; } .n5 { left: 12%; top: 74.6%; } .n6 { left: 12%; top: 25.4%; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 50px rgba(0,168,255,.55); } 50% { box-shadow: 0 0 80px rgba(0,168,255,.9); } }
.chat {
  border-radius: 28px; overflow: hidden; background: var(--card-grad); border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(10,108,255,.25);
}
.chat-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.chat-head .bot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-diag); }
.chat-head .bot svg { width: 24px; height: 24px; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.chat-head span span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.chat-head span span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.chat-body { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.bubble { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.6; }
.bubble--me { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 4px; }
.bubble--bot { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.mini-chart { display: flex; align-items: flex-end; gap: 10px; height: 80px; margin-top: 12px; }
.mini-chart i { display: block; width: 22px; border-radius: 6px; background: linear-gradient(180deg, #00A8FF, #0A6CFF); }
.typing { align-self: flex-start; display: flex; gap: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chat-input { display: flex; gap: 12px; padding: 0 24px 24px; }
.chat-input span { flex: 1; padding: 14px 18px; border-radius: 14px; background: var(--bg-base); border: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.chat-input b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); }
.chat-input b svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 40px; align-items: start; }
.info-card { flex-direction: row; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; }
.info-card small { display: block; color: var(--muted); font-size: 15px; }
.info-card strong { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.4; }
.next-card { padding: 28px; border-radius: 18px; background: var(--grad-diag); display: flex; flex-direction: column; gap: 18px; }
.next-card ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.next-card li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); font-size: 15px; counter-increment: n; }
.next-card li::before { content: counter(n); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--primary); font-size: 14px; font-weight: 600; }
.form-card { padding: 48px; border-radius: 28px; gap: 28px; box-shadow: 0 30px 80px -20px rgba(10,108,255,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field-label { font-weight: 500; font-size: 15px; }
.field input, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px; background: var(--bg-base); border: 1px solid var(--border);
  color: var(--white); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7799; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--soft); box-shadow: 0 0 0 3px rgba(61,139,255,.2); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--muted); font-size: 15px; transition: all .2s;
}
.pill span svg { width: 16px; height: 16px; display: none; color: var(--soft); }
.pill input:checked + span { background: var(--tint); border-color: var(--primary); color: var(--white); }
.pill input:checked + span svg { display: block; }
.pill input:focus-visible + span { outline: 2px solid var(--soft); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--primary); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 14px; font-size: 15px; }
.notice--ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.45); color: #BBF7D0; }
.notice--err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45); color: #FECACA; }
.office-map {
  position: relative; display: grid; place-items: center; height: 150px; border-radius: 16px;
  background:
    linear-gradient(rgba(10,108,255,.12) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(10,108,255,.12) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(135deg, #E8F0FF, #D6E4FF);
}
.office-map span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--white); box-shadow: 0 8px 20px rgba(10,108,255,.45); }
.office-map svg { width: 24px; height: 24px; }
.office-card { gap: 14px; border-radius: 24px; }
.office-card .city { color: var(--primary) !important; font-weight: 500; }
.office-card .phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dark) !important; font-size: 15px; }
.office-card .phone svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Generic content (blog post, default page) ---------- */
.content-hero { padding: 96px 0 56px; text-align: center; }
.content-hero .hero-content { align-items: center; max-width: 900px; margin: 0 auto; }
.prose { max-width: 780px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #D6DEF0; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 30px; line-height: 1.3; color: var(--white); margin-top: 1.8em; }
.prose h3 { font-size: 24px; color: var(--white); margin-top: 1.6em; }
.prose a { color: var(--soft); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose img { border-radius: 16px; }
.prose blockquote { margin: 0; padding: 20px 24px; border-left: 3px solid var(--primary); background: var(--bg-surface); border-radius: 0 12px 12px 0; }
.featured-image { max-width: 1000px; margin: 0 auto 56px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); color: var(--muted); }
.pagination .current, .pagination a:hover { background: var(--grad); color: var(--white); border-color: transparent; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-list { gap: 26px; }
  .nav-phone { display: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .site-header .brand img { width: 62px; }
  .site-header .brand-tagline { font-size: 7px; gap: 4px; }
  .site-header .brand-tagline::before, .site-header .brand-tagline::after { width: 7px; }
  /* backdrop-filter would make the header the containing block of the fixed mobile menu */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 25, 69, .98); }
  .nav-toggle { display: grid; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: auto;
    background: var(--bg-base); overflow-y: auto; padding: 16px 24px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .nav-item { height: auto; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .nav-link { padding: 18px 0; font-size: 18px; color: var(--white); flex: 1; }
  .nav-link .chev { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: transparent; cursor: pointer; }
  .sub-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .nav-item.sub-open .sub-toggle svg { transform: rotate(180deg); }
  .dropdown, .mega-menu {
    position: static; width: 100%; margin: 0; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; border-radius: 16px; padding: 12px; margin-bottom: 16px;
  }
  .nav-item:hover > .dropdown, .nav-item:hover > .mega-menu { display: none; }
  .nav-item.sub-open > .dropdown, .nav-item.sub-open > .mega-menu { display: block; }
  .mega-col h6 { margin: 12px 12px 4px; }
  .mega-promo { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-cta { display: flex !important; flex-direction: column; gap: 12px; margin-top: 24px; }
  .nav-link.is-active::after { display: none; }
  .service-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .service-strip a:nth-child(4) { border-left: 0; }

  .split, .split--520, .split--500, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5, .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process::before { display: none; }
}
.mobile-cta { display: none; }

@media (max-width: 992px) {
  .section { padding: 96px 0; }
  .hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-visual, .hero-media, .ai-orb { justify-self: center; }
  .hero-media .float-card--tr { right: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { flex-wrap: wrap; padding: 40px; }
  .stats-band .stat { flex: 1 1 40%; }
  .stat-divider { display: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
  .cta-buttons { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .tech-row { grid-template-columns: 1fr; gap: 16px; }
  .showcase { height: auto; aspect-ratio: 1200 / 330; }
  .devices { justify-self: center; }
  .hero--devices .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero, .page-hero { padding: 48px 0 72px; }
  .section-head { margin-bottom: 40px; }
  .lead { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .timeline, .process, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .service-card, .model-card { padding: 28px; }
  .form-card { padding: 28px 22px; }
  .stats-band { padding: 32px 24px; gap: 28px; }
  .logos-row { justify-content: center; gap: 20px 32px; }
  .client-logo { font-size: 20px; }
  .float-card { padding: 10px 14px; gap: 10px; }
  .float-card strong { font-size: 16px; }
  .float-card span { font-size: 13px; }
  .float-card .icon-tile--sm { width: 36px; height: 36px; }
  .hero-visual .float-card:first-of-type { left: 0 !important; }
  .hero-media .float-card--bl { left: 0; bottom: 16px; }
  .ai-node { width: 48px; height: 48px; border-radius: 14px; }
  .ai-node svg { width: 22px; height: 22px; }
  .ai-orb { width: calc(100% - 48px); }
  .mini-stats { gap: 24px; }
  .cta-section { padding: 24px 0 72px; }
  .cta-banner { padding: 40px 24px; border-radius: 24px; }
  .cta-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .faq summary { font-size: 17px; padding: 20px; }
  .faq .answer { padding: 0 20px 20px; }
  .service-card footer { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
  .showcase .s-left, .showcase .s-right { display: none; }
  .showcase { aspect-ratio: 16 / 9; }
  .showcase .s-main { left: 0; width: 100%; }
  .bubble { max-width: 90%; }
  .hero--devices { padding: 40px 0 56px; }
  .svc-tile { min-width: 0; padding: 8px 10px; gap: 5px; font-size: 11px; border-radius: 12px; }
  .svc-tile svg { width: 22px; height: 22px; }
  .service-strip { grid-template-columns: 1fr; padding: 8px 4px; row-gap: 0; }
  .service-strip a { padding: 14px 16px; }
  .service-strip a + a { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 28px 24px; }
  .pillar h3 { font-size: 24px; }
  .pillar strong { font-size: 20px; }
}
