/* ============================================
   SelfStart Tech — Premium AI design layer
   ============================================ */

:root {
  --ink: #060a16;
  --ink-2: #0b1124;
  --ink-3: #121a33;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-2: rgba(255, 255, 255, 0.14);
  --violet: #6c3bff;
  --ai-grad: linear-gradient(120deg, #6c3bff 0%, #0b5cff 48%, #00c2ff 100%);
  --ai-grad-soft: linear-gradient(120deg, rgba(108, 59, 255, 0.12), rgba(11, 92, 255, 0.12) 50%, rgba(0, 194, 255, 0.12));
  --radius-card: 18px;
}

/* ---------- Header refinements ---------- */
.header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.header .btn--cta {
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding-left: 18px;
  padding-right: 18px;
}

.header .btn--cta:hover { background: var(--primary); color: var(--white); }

.header__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #128c4b;
  background: #e8f9ef;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 7px 12px;
  border-radius: 999px;
  transition: background var(--transition);
}

.header__wa:hover { background: #d3f5e1; color: #0d7a3f; }
.header__wa svg { width: 16px; height: 16px; }

@media (max-width: 1180px) {
  .header__wa { display: none; }}

/* style.css @imports responsive.css first, so its base .hamburger rule wins without this */
@media (max-width: 992px) {
  .hamburger { display: flex; }
}

/* ---------- Primary navigation ---------- */
@media (min-width: 993px) {
  :root { --header-height: 76px; }

  .nav__list { gap: 34px; }

  .nav__link,
  .nav__link--trigger {
    font-family: var(--font-agency);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--gray-800);
  }

  .nav__link:hover,
  .nav__link.active,
  .nav__item--dropdown.open > .nav__link--trigger { color: var(--primary); }

  .nav__link::after {
    bottom: -8px;
    height: 3px;
    background: var(--ai-grad);
  }

  .nav__chevron { width: 18px; height: 18px; }

  .nav-dropdown { top: calc(100% + 22px); }

  .nav-dropdown__item {
    font-size: 0.9688rem;
    font-weight: 500;
    color: var(--gray-800);
    padding: 14px 22px;
  }

  .header .btn--cta {
    font-size: 0.9688rem;
    padding: 12px 22px;
  }
}

@media (min-width: 993px) and (max-width: 1180px) {
  .nav__list { gap: 22px; }
  .nav__link,
  .nav__link--trigger { font-size: 0.9688rem; }
  .header .logo .logo__img { height: 40px; max-width: 180px; }}

.nav-dropdown__item:hover { color: var(--primary); background: var(--primary-bg); }

@media (max-width: 992px) {
  .nav__link,
  .nav__link--trigger {
    font-family: var(--font-agency);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-800);
    padding: 15px 0;
  }
  .nav-dropdown__item { font-size: 0.9688rem; padding: 13px 16px; }}

/* Two-column nav dropdown */
.nav-dropdown--grid { width: min(620px, 94vw); }

.nav-dropdown__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}

.nav-dropdown--grid .nav-dropdown__col {
  display: block;
  margin: 0;
  padding: 8px 0;
  max-height: none;
  min-width: 0;
}

.nav-dropdown__col + .nav-dropdown__col { border-left: 1px solid #e8ecf3; }

.nav-dropdown__group {
  padding: 10px 20px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-dropdown__tag--ai { background: var(--violet); }

.nav-dropdown--grid .nav-dropdown__hint { max-width: none; white-space: nowrap; }

@media (max-width: 992px) {
  .nav {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav.open,
  body.has-page-top .nav.open {
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(6, 10, 22, 0.12);
  }
  .nav__list { gap: 0; align-items: stretch; }
  .nav__list > li { flex-shrink: 0; }
  .nav .nav-dropdown,
  .nav .nav__item--dropdown.open .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    box-shadow: none;
  }
  .nav .nav-dropdown::before { display: none; }
  .nav-dropdown--grid { width: 100%; }
  .nav-dropdown--grid .nav-dropdown__footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #e8ecf3;
  }
  .nav-dropdown--grid .nav-dropdown__hint { white-space: normal; flex: 1 1 160px; }
  .nav-dropdown--grid .nav-dropdown__footer .btn { width: auto; }
  .nav .nav-dropdown--grid { background: #fff; border-radius: 14px; }
  .nav .nav__item--dropdown.open .nav-dropdown--grid {
    margin: 4px 0 10px;
    border: 1px solid #e8ecf3;
  }
  .nav-dropdown__cols { max-height: none; }
  .nav-dropdown--grid .nav-dropdown__col { padding: 6px 0; }
  .nav-dropdown__group { padding: 8px 12px 6px; font-size: 0.625rem; }
  .nav-dropdown--grid .nav-dropdown__item {
    padding: 9px 12px;
    font-size: 0.8438rem;
    line-height: 1.35;
    white-space: normal;
  }
  .nav-dropdown--grid .nav-dropdown__tag { display: none; }}

/* ---------- Shared building blocks ---------- */
.px-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.px-section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.px-section--tint { background: #f6f8fc; }
.px-section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.78); overflow: hidden; }

.px-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.px-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ai-grad);
}

.px-section--dark .px-eyebrow { color: #7cc8ff; }

.px-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
}

.px-section--dark .px-title { color: var(--white); }

.px-grad {
  background: var(--ai-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.px-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 640px;
}

.px-section--dark .px-lead { color: rgba(255, 255, 255, 0.62); }

.px-head { margin-bottom: clamp(40px, 6vw, 64px); }
.px-head--center { text-align: center; }
.px-head--center .px-lead { margin: 0 auto; }

.px-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.px-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.px-btn svg { width: 18px; height: 18px; }
.px-btn:hover { transform: translateY(-2px); }

.px-btn--primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(108, 59, 255, 0.25);
}

.px-btn--primary:hover { color: var(--ink); box-shadow: 0 16px 40px rgba(108, 59, 255, 0.4); }

.px-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: var(--line-dark-2);
}

.px-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.px-btn--line { background: transparent; color: var(--ink); border-color: var(--gray-300); }
.px-btn--line:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Hero ---------- */
.px-hero {
  position: relative;
  margin-top: var(--header-height);
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  isolation: isolate;
}

.px-hero__aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(108, 59, 255, 0.45), transparent 70%),
    radial-gradient(35% 45% at 80% 10%, rgba(59, 130, 246, 0.45), transparent 70%),
    radial-gradient(40% 40% at 70% 80%, rgba(0, 194, 255, 0.28), transparent 70%);
  filter: blur(20px);
  animation: pxAurora 18s ease-in-out infinite alternate;
}

.px-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
}

@keyframes pxAurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

.px-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.px-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-dark-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.px-pill b {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ai-grad);
}

.px-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--white);
  margin-bottom: 24px;
}

.px-hero__lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  max-width: 560px;
  margin-bottom: 36px;
}

.px-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

@keyframes pxMsg { to { opacity: 1; transform: none; } }

.px-kpi {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
}

.px-kpi small { display: block; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 4px; }
.px-kpi strong { font-family: var(--font-display); font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.px-kpi em { font-style: normal; font-size: 0.6875rem; color: #4ade80; margin-left: 4px; }

@keyframes pxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.px-cap__link {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.px-cap__link:hover { color: var(--primary); }

/* ---------- Solutions tabs ---------- */
.px-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 auto 48px;
  width: fit-content;
  max-width: 100%;
}

.px-tabs::-webkit-scrollbar { display: none; }

.px-tab {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: 0;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.px-tab:hover { color: #fff; }

.px-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
}

.px-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.px-panel.is-active { display: grid; animation: pxMsg 0.5s ease forwards; }

.px-panel__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b4a2ff;
  background: rgba(108, 59, 255, 0.14);
  border: 1px solid rgba(108, 59, 255, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.px-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.px-panel > div > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 28px;
}

.px-panel__ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.px-panel__ai li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.px-panel__ai li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--ai-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.px-panel__mods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.px-panel__mods span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark-2);
}

.px-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Panel visual */
.px-viz {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-dark-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.px-viz__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.px-viz__head strong { font-family: var(--font-display); color: #fff; font-size: 0.9375rem; }

.px-viz__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }

.px-viz__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  margin-bottom: 14px;
}

.px-viz__chart i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4f7cff, rgba(11, 92, 255, 0.55));
  transform-origin: bottom;
  animation: pxBar 1s ease both;
}

.px-viz__chart i:nth-child(even) { background: linear-gradient(180deg, #38d4ff, rgba(0, 194, 255, 0.4)); }

@keyframes pxBar { from { transform: scaleY(0.1); } }

.px-viz__insight {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(108, 59, 255, 0.12);
  border: 1px solid rgba(108, 59, 255, 0.3);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #e0e7ff;
}

.px-viz__insight b {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ai-grad);
  color: #fff;
  font-size: 0.6875rem;
}

/* ---------- AI capability strip ---------- */
.px-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
}

.px-ai-item {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background 0.3s ease;
}

.px-ai-item:hover { background: #fbfbff; }

.px-ai-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--violet);
  background: var(--ai-grad-soft);
}

.px-ai-item__icon svg { width: 22px; height: 22px; }

.px-ai-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.px-ai-item p { font-size: 0.9375rem; line-height: 1.65; color: var(--gray-500); }

/* ---------- Process ---------- */
.px-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: pxstep;
}

.px-step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
}

.px-step::before {
  counter-increment: pxstep;
  content: '0' counter(pxstep);
  position: absolute;
  top: -12px;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
}

.px-step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.px-step p { font-size: 0.9375rem; line-height: 1.65; color: var(--gray-500); }

/* ---------- Contact block ---------- */
.px-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.px-contact__list { list-style: none; display: grid; gap: 14px; margin-top: 36px; }

.px-contact__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.px-contact__list a:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-dark-2); color: #fff; }

.px-contact__list b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.px-contact__list b svg { width: 20px; height: 20px; }
.px-contact__list small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.px-contact__list strong { font-family: var(--font-display); font-size: 1rem; }

/* Lead form card */
.lead-card {
  position: relative;
  background: var(--white);
  color: var(--gray-700);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.lead-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--ai-grad);
}

.lead-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.lead-card__badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ai-grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(108, 59, 255, 0.7);
}
.lead-card__badge svg { width: 22px; height: 22px; }

.lead-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.lead-card__head p { font-size: 0.9063rem; line-height: 1.55; color: var(--gray-500); margin: 0; }
.lead-card .form-group { margin-bottom: 16px; }
.lead-card .form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
}
.lead-card .form-group label em { font-style: normal; font-weight: 500; color: var(--gray-400); }

.lead-card .form-group input,
.lead-card .form-group select,
.lead-card .form-group textarea {
  height: 50px;
  padding: 0 16px;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  background: #f7f9fc;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-card .form-group input::placeholder,
.lead-card .form-group textarea::placeholder { color: #9aa3b5; }

.lead-card .form-group input:focus,
.lead-card .form-group select:focus,
.lead-card .form-group textarea:focus {
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 59, 255, 0.12);
}

.lead-card .form-group textarea { height: auto; min-height: 96px; padding: 13px 16px; resize: vertical; line-height: 1.55; }
.lead-card .form-group select { cursor: pointer; }

.lf-field { position: relative; }
.lf-field__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: #8a93a6;
  pointer-events: none;
  transition: color 0.2s ease;
}
.lf-field__icon svg { width: 18px; height: 18px; }
.lead-card .lf-field input,
.lead-card .lf-field select { padding-left: 44px; }
.lf-field:focus-within .lf-field__icon { color: var(--violet); }
.lf-field--wa .lf-field__icon,
.lf-field--wa:focus-within .lf-field__icon { color: #25d366; }
.lead-card .lf-field--wa input { font-weight: 600; letter-spacing: 0.02em; }

.field-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--gray-500);
}
.field-hint::before {
  content: 'i';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(108, 59, 255, 0.12);
  color: var(--violet);
  font: 700 0.625rem/1 var(--font-sans);
}

.lead-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-card__submit {
  width: 100%;
  height: 54px;
  margin-top: 4px;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--ai-grad);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 16px 34px -14px rgba(108, 59, 255, 0.75);
}
.lead-card__submit:hover { color: #fff; filter: brightness(1.07); box-shadow: 0 20px 40px -14px rgba(108, 59, 255, 0.85); }
.lead-card__submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.lead-card .form-status { margin-top: 12px; }

.lead-card__note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f6;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

.lead-card__note span::before { content: '✓ '; color: #16a34a; font-weight: 800; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Cities ---------- */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip-cloud span {
  font-size: 0.8125rem;
  color: var(--gray-500);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
}

/* Services index: solutions band */
.px-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.px-band a {
  display: block;
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.px-band a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(108, 59, 255, 0.5); color: #fff; }
.px-band strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; margin-bottom: 6px; }
.px-band span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

@media (max-width: 768px) {
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
    background: rgba(6, 10, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }

  .mobile-cta a,
  .mobile-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
  }

  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta__wa { color: #4ade80 !important; }
  .mobile-cta__ai { background: var(--ai-grad) !important; }

  body { padding-bottom: 84px; }
  .whatsapp-float { display: none; }}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .px-hero__inner,
  .px-panel,
  .px-contact { grid-template-columns: 1fr; }

  .px-console { max-width: 560px; }
  .px-console__float { left: 12px; }
  .px-ai-grid { grid-template-columns: repeat(2, 1fr); }
  .px-steps,
  .px-metrics,
  .px-industries { grid-template-columns: repeat(2, 1fr); }
  .px-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .px-ai-grid,
.px-panel__ai,
.px-band,
.lead-card__row { grid-template-columns: 1fr; }

  .px-steps { grid-template-columns: 1fr; gap: 36px; }
  .px-hero__actions .px-btn { flex: 1 1 100%; }
  .px-tabs { width: auto; border-radius: 16px; }
  }

/* ---------- SelfStart AI assistant ---------- */
.ai-launch {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line-dark-2);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 0.875rem/1 var(--font-sans);
  cursor: pointer;
  box-shadow: 0 18px 40px -12px rgba(6, 10, 22, 0.55), 0 0 0 6px rgba(108, 59, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-launch:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -12px rgba(6, 10, 22, 0.6), 0 0 0 8px rgba(108, 59, 255, 0.12); }

.ai-launch__orb {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ai-grad);
  animation: aiPulse 2.8s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 59, 255, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(108, 59, 255, 0); }
}

.ai-chat-open .ai-launch { opacity: 0; pointer-events: none; }

.ai-panel {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 120px));
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(6, 10, 22, 0.45), 0 0 0 1px rgba(6, 10, 22, 0.06);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ai-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

.ai-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink);
  background-image: radial-gradient(120% 140% at 0% 0%, rgba(108, 59, 255, 0.35), transparent 60%);
  color: #fff;
}

.ai-panel__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ai-grad);
  flex-shrink: 0;
}

.ai-panel__title { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ai-panel__title strong { font-size: 0.975rem; }
.ai-panel__title span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
.ai-panel__title i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }

.ai-panel__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.ai-panel__close:hover { background: rgba(255, 255, 255, 0.16); }

.ai-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
}

.ai-msg { display: flex; }
.ai-msg--user { justify-content: flex-end; }

.ai-msg__bubble {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-line;
  word-wrap: break-word;
  animation: aiIn 0.25s ease both;
}

.ai-msg--bot .ai-msg__bubble { background: #fff; color: var(--ink); border: 1px solid rgba(6, 10, 22, 0.07); border-bottom-left-radius: 5px; }
.ai-msg--user .ai-msg__bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }

@keyframes aiIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ai-msg--typing .ai-msg__bubble { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ai-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b8; animation: aiDot 1.2s infinite ease-in-out; }
.ai-msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-msg--typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.ai-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 4px;
  background: #f6f7fb;
}

.ai-panel__chips:empty { display: none; }

.ai-chip {
  padding: 7px 12px;
  border: 1px solid rgba(108, 59, 255, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #3a1fd6;
  font: 600 0.78rem/1.2 var(--font-sans);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ai-chip:hover { background: rgba(108, 59, 255, 0.08); }
.ai-chip--primary { background: var(--ai-grad); border-color: transparent; color: #fff; }
.ai-chip--primary:hover { background: var(--ai-grad); filter: brightness(1.08); }

.ai-panel__input {
  display: flex;
  gap: 8px;
  padding: 12px 14px 6px;
  background: #fff;
  border-top: 1px solid rgba(6, 10, 22, 0.06);
}

.ai-panel__input input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(6, 10, 22, 0.12);
  border-radius: 12px;
  font: 400 0.9rem var(--font-sans);
  color: var(--ink);
  background: #f9fafc;
  outline: none;
}

.ai-panel__input input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 59, 255, 0.15); background: #fff; }

.ai-panel__input button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.ai-panel__input button:hover { background: var(--violet); }

.ai-panel__foot {
  margin: 0;
  padding: 2px 14px 10px;
  background: #fff;
  font-size: 0.6875rem;
  color: #8a93a8;
  text-align: center;
}

@media (max-width: 768px) {
  .ai-launch { display: none; }

  .ai-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: min(86vh, 680px);
    border-radius: 22px 22px 0 0;
  }

  .ai-chat-open .mobile-cta { display: none; }}

/* ---------- Brand logo ---------- */
.header .logo__img { height: 44px; max-width: 210px; }
.footer--site .footer__logo { background: none; padding: 0; margin-bottom: 20px; }
.footer__logo img { height: 44px; max-width: 210px; object-fit: contain; }

@media (max-width: 768px) {
  .header .logo__img { height: 36px; max-width: 170px; }}

/* ---------- About page ---------- */
.px-hero--page { padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); }
.px-hero--page h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 920px; }
.px-hero--page .px-hero__lead { max-width: 680px; }
.px-hero--page .px-hero__actions { margin-bottom: 56px; }

.px-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark-2);
}

.px-stats div { padding: 24px 24px 0 0; }
.px-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 4px;
}
.px-stats span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }

.px-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.px-prose p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.px-values {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.px-values strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.px-values strong::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ai-grad);
  vertical-align: middle;
}

.px-values span { font-size: 0.9375rem; line-height: 1.6; color: var(--gray-500); }

.px-vm { display: grid; gap: 16px; }

.px-vm__card {
  padding: 28px 30px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.px-vm__card small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}

.px-vm__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.px-vm__card p { font-size: 0.9375rem; line-height: 1.65; color: var(--gray-500); }

.px-vm__card--dark {
  background: var(--ink);
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(108, 59, 255, 0.35), transparent 60%);
  border-color: transparent;
}

.px-vm__card--dark small { color: #7cc8ff; }
.px-vm__card--dark h3 { color: #fff; }
.px-vm__card--dark p { color: rgba(255, 255, 255, 0.65); }

.px-ai-item .px-cap__link { display: inline-block; margin-top: 14px; }

.px-tech { margin-top: 56px; text-align: center; }
.px-tech p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.px-office {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.px-office small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.px-office strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.px-office a { color: inherit; }
.px-office a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .px-split { grid-template-columns: 1fr; }
  .px-office { grid-template-columns: repeat(2, 1fr); }}

@media (max-width: 680px) {
  .px-stats,
  .px-values { grid-template-columns: 1fr 1fr; }
  .px-values { grid-template-columns: 1fr; }
  .px-office { grid-template-columns: 1fr; }}

/* ---------- Service pages ---------- */
body.has-page-top { --site-top-offset: var(--header-height); }

.btn--wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #12a150;
  color: #fff;
  border: 1px solid #12a150;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--wa svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--wa:hover { background: #0e8a44; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.6); }

.svc-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.svc-hero__cta .btn--wa,
.svc-hero__cta .px-btn { padding: 15px 26px; min-height: 57px; font-size: 0.9375rem; line-height: 1.65; box-sizing: border-box; }

.section__label { color: var(--primary); background: var(--primary-bg); }

.about-hero {
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(11, 92, 255, 0.5), transparent 65%),
    radial-gradient(50% 70% at 10% 100%, rgba(108, 59, 255, 0.4), transparent 65%),
    var(--ink);
}
.about-hero__blob { display: none; }
.about-hero__title span {
  background: linear-gradient(120deg, #9b7bff, #4f8bff 50%, #38d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero__label { color: #7cd8ff; }

@media (max-width: 768px) {
  
  .svc-hero__cta > * { width: 100%; justify-content: center; }}

.px-panel__int { margin: 4px 0 22px; }
.px-panel__int small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7cc8ff;
  margin-bottom: 10px;
}
.px-panel__int div { display: flex; flex-wrap: wrap; gap: 8px; }
.px-panel__int span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(108, 59, 255, 0.28), rgba(0, 194, 255, 0.2));
  border: 1px solid rgba(124, 200, 255, 0.3);
}

/* ---------- Solutions: clean light theme ---------- */
.px-section--clean {
  background: #f8fafd;
  border-top: 1px solid #edf0f6;
  border-bottom: 1px solid #edf0f6;
}
.px-section--clean .px-tabs {
  background: #fff;
  border: 1px solid #e6eaf2;
  box-shadow: 0 6px 20px -12px rgba(15, 30, 70, 0.18);
}
.px-section--clean .px-tab { color: #5b6478; }
.px-section--clean .px-tab:hover { color: var(--ink); }
.px-section--clean .px-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.px-section--clean .px-panel__tag {
  color: var(--violet);
  background: rgba(108, 59, 255, 0.07);
  border-color: rgba(108, 59, 255, 0.18);
}
.px-section--clean .px-panel h3 { color: var(--ink); }
.px-section--clean .px-panel > div > p { color: #5b6478; }
.px-section--clean .px-panel__ai li { color: #2a3245; }
.px-section--clean .px-panel__mods span {
  color: #3b4458;
  background: #fff;
  border-color: #e3e8f0;
}
.px-section--clean .px-panel__int small { color: var(--primary); }
.px-section--clean .px-panel__int span {
  color: #2a3245;
  background: #fff;
  border-color: #e3e8f0;
}
.px-section--clean .px-btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(6, 10, 22, 0.45); }
.px-section--clean .px-btn--primary:hover { background: var(--primary); color: #fff; }
.px-section--clean .px-btn--ghost { background: #fff; color: var(--ink); border-color: #dfe4ee; }
.px-section--clean .px-btn--ghost:hover { border-color: var(--violet); color: var(--violet); background: #fff; }
.px-section--clean .px-viz {
  background: #fff;
  border-color: #e8ecf3;
  box-shadow: 0 30px 70px -34px rgba(15, 30, 70, 0.28);
}
.px-section--clean .px-viz__head { color: #8a93a6; }
.px-section--clean .px-viz__head strong { color: var(--ink); }
.px-section--clean .px-kpi { background: #f6f8fc; border-color: #edf0f6; }
.px-section--clean .px-kpi small { color: #8a93a6; }
.px-section--clean .px-kpi strong { color: var(--ink); }
.px-section--clean .px-kpi em { color: #16a34a; }
.px-section--clean .px-viz__chart { background: #f6f8fc; border-color: #edf0f6; }
.px-section--clean .px-viz__insight {
  background: rgba(108, 59, 255, 0.05);
  border-color: rgba(108, 59, 255, 0.16);
  color: #2a3245;
}

/* ---------- Client slider ---------- */
.px-logos {
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.px-logos__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-right: 28px;
  animation: agencyMarquee 40s linear infinite;
}
.px-logos:hover .px-logos__track { animation-play-state: paused; }
.px-logo {
  font-family: var(--font-agency);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gray-500);
  white-space: nowrap;
  transition: color var(--transition);
}
.px-logo:hover {
  background: var(--ai-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.px-logo__sep {
  font-style: normal;
  font-size: 0.625rem;
  background: var(--ai-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 640px) { .px-logos { padding: 10px 0; } .px-logo { font-size: 0.75rem; } .px-logos__track { gap: 18px; padding-right: 18px; }}
@media (prefers-reduced-motion: reduce) { .px-logos__track { animation: none; }}

.btn--green { background: #12a150; border-color: #12a150; color: #fff; }
.btn--green:hover { background: #0e8a44; border-color: #0e8a44; color: #fff; }

/* ---------- SelfStart AI assistant v2 ---------- */
.ai-launch { padding: 7px 20px 7px 7px; gap: 12px; }
.ai-launch__orb { width: 42px; height: 42px; }
.ai-launch__text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.ai-launch__text b { font-family: var(--font-agency); font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.01em; }
.ai-launch__text small { font-size: 0.6875rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); }

.ai-panel { width: min(400px, calc(100vw - 32px)); height: min(660px, calc(100vh - 110px)); border-radius: 24px; }
.ai-panel__head {
  padding: 16px 18px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(108, 59, 255, 0.55), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(0, 194, 255, 0.35), transparent 55%),
    var(--ink);
}
.ai-panel__avatar { position: relative; width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(108, 59, 255, 0.8); }
.ai-panel__avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--ink);
}
.ai-panel__title strong { font-family: var(--font-agency); font-size: 1.0625rem; font-weight: 800; }
.ai-panel__title span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

.ai-panel .ai-chat { display: none; flex: 1; min-height: 0; flex-direction: column; }
.ai-panel.is-chat .ai-chat { display: flex; }
.ai-panel.is-chat .ai-intro { display: none; }

/* Welcome view */
.ai-intro { flex: 1; overflow-y: auto; background: #f6f8fd; overscroll-behavior: contain; }
.ai-intro__hero {
  padding: 22px 22px 26px;
  background: linear-gradient(180deg, var(--ink) 0%, #11183a 100%);
  color: #fff;
}
.ai-intro__hi { display: inline-block; font-size: 0.8125rem; font-weight: 600; color: #7cd8ff; margin-bottom: 6px; }
.ai-intro__hero h3 { font-family: var(--font-agency); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 8px; color: #fff; }
.ai-intro__hero p { font-size: 0.875rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0 0 16px; }
.ai-intro__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-intro__perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ai-intro__perks svg { color: #7cd8ff; }

.ai-lead {
  position: relative;
  margin: -14px 14px 12px;
  padding: 18px 16px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px -22px rgba(6, 10, 22, 0.35);
  border: 1px solid rgba(6, 10, 22, 0.06);
  display: grid;
  gap: 11px;
}
.ai-field { display: grid; gap: 5px; }
.ai-field > span { font-size: 0.75rem; font-weight: 700; color: var(--gray-700); }
.ai-field input,
.ai-field select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(6, 10, 22, 0.14);
  border-radius: 12px;
  background: #f9fafc;
  font: 400 0.9063rem var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ai-field input:focus,
.ai-field select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 59, 255, 0.14); background: #fff; }
.ai-field__hint { font-size: 0.6875rem; line-height: 1.35; color: #7a849b; }
.ai-lead__error { margin: 0; font-size: 0.8125rem; color: #dc2626; }
.ai-lead__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--ai-grad);
  color: #fff;
  font: 700 0.9688rem var(--font-agency);
  cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(11, 92, 255, 0.8);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.ai-lead__go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ai-lead__note { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 0.6875rem; line-height: 1.45; color: #7a849b; }
.ai-lead__note svg { flex-shrink: 0; margin-top: 1px; }
.ai-intro__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 14px 16px;
  padding: 11px;
  border-radius: 14px;
  font-size: 0.8438rem;
  font-weight: 600;
  color: #0e7a3f;
  background: #e9f9f0;
  border: 1px solid rgba(18, 161, 80, 0.25);
}
.ai-intro__wa:hover { background: #dcf5e7; color: #0b6a36; }

/* Chat view */
.ai-msg { align-items: flex-start; gap: 10px; }
.ai-msg__av {
  flex-shrink: 0;
  margin-top: 4px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--ai-grad);
  color: #fff;
}
.ai-msg--bot .ai-msg__bubble { box-shadow: 0 4px 14px -10px rgba(6, 10, 22, 0.35); }
.ai-msg--user .ai-msg__bubble { background: linear-gradient(135deg, #0b5cff, #6c3bff); }
.ai-msg__bubble { position: relative; }
.ai-msg--bot .ai-msg__bubble { border-radius: 4px 16px 16px 16px; }
.ai-msg--user .ai-msg__bubble { border-radius: 16px 4px 16px 16px; }
.ai-msg__bubble::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}
.ai-msg--bot .ai-msg__bubble::before {
  left: -6px;
  background: #fff;
  border-left: 1px solid rgba(6, 10, 22, 0.07);
  border-bottom: 1px solid rgba(6, 10, 22, 0.07);
}
.ai-msg--user .ai-msg__bubble::before { right: -4px; background: #5c42ff; }
.ai-msg--user { padding-right: 4px; }
.ai-panel__input { align-items: center; }
.ai-panel__input input { border-radius: 14px; }
.ai-panel__input button { border-radius: 14px; background: var(--ai-grad); }
.ai-panel__input button:hover { background: var(--ai-grad); filter: brightness(1.1); }
.ai-panel__foot { display: flex; align-items: center; justify-content: center; gap: 5px; }

@media (max-width: 768px) {
  .ai-panel { width: 100%; height: min(90vh, 720px); border-radius: 24px 24px 0 0; }}

/* ---------- Floating WhatsApp beside the AI launcher ---------- */
.whatsapp-float {
  right: 28px;
  bottom: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 24px -8px rgba(18, 161, 80, 0.6);
  animation: none;
}
.whatsapp-float svg { width: 22px; height: 22px; }
.whatsapp-float:hover { transform: translateY(-2px); }
.ai-launch { right: 84px; bottom: 28px; }
.ai-chat-open .whatsapp-float { opacity: 0; pointer-events: none; }

/* ---------- Hero focus links ---------- */
.px-hero__focus { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.px-hero__focus a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 600 0.9375rem/1 var(--font-agency);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.px-hero__focus a svg { color: #7cd8ff; }
.px-hero__focus a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(124, 216, 255, 0.5); transform: translateY(-1px); color: #fff; }
.px-hero__lead { max-width: 34rem; }
@media (max-width: 600px) {
  .px-hero__focus a { padding: 9px 13px; font-size: 0.875rem; }}
@media (min-width: 993px) {
  .px-hero:not(.px-hero--page) h1 { font-size: clamp(2.5rem, 3.9vw, 3.4rem); }
  .px-hero__focus { gap: 8px; flex-wrap: nowrap; }
  .px-hero__focus a { padding: 9px 14px; font-size: 0.875rem; white-space: nowrap; }}

/* ---------- AI proactive greeting ---------- */
.ai-teaser {
  position: fixed;
  right: 28px;
  bottom: 100px;
  z-index: 1000;
  width: 310px;
  padding: 14px 16px 14px;
  background: #fff;
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 24px 50px -18px rgba(6, 10, 22, 0.45), 0 0 0 1px rgba(6, 10, 22, 0.06);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ai-teaser.is-in { opacity: 1; transform: none; }
.ai-teaser[hidden] { display: none; }
.ai-teaser__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding-right: 22px; }
.ai-teaser__av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--ai-grad); color: #fff; }
.ai-teaser__head b { font-family: var(--font-agency); font-size: 0.875rem; color: var(--ink); }
.ai-teaser__head small { font-size: 0.6875rem; color: #8a93a8; }
.ai-teaser p { margin: 0 0 10px; font-size: 0.875rem; line-height: 1.5; color: #1f2937; }
.ai-teaser__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-teaser__chips button {
  padding: 6px 10px;
  border: 1px solid rgba(108, 59, 255, 0.3);
  border-radius: 999px;
  background: #f7f5ff;
  color: #3a1fd6;
  font: 600 0.75rem/1.2 var(--font-sans);
  cursor: pointer;
}
.ai-teaser__chips button:hover { background: var(--ai-grad); border-color: transparent; color: #fff; }
.ai-teaser__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f8;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.ai-launch.has-badge::after {
  content: '1';
  position: absolute;
  top: -4px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font: 700 0.6875rem/1 var(--font-sans);
  box-shadow: 0 0 0 2px var(--ink);
}
.ai-chat-open .ai-teaser { display: none; }
@media (max-width: 768px) {
  .ai-teaser { left: 12px; right: 12px; bottom: 92px; width: auto; }}

/* ---------- Site footer ---------- */
.sf { position: relative; overflow: hidden; background: #060a16; color: rgba(255, 255, 255, 0.62); padding: clamp(56px, 7vw, 84px) 0 0; font-size: 0.9375rem; }
.sf::before { content: ''; position: absolute; width: 760px; height: 760px; right: -280px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 59, 255, 0.22), transparent 65%); pointer-events: none; }
.sf::after { content: ''; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 194, 255, 0.12), transparent 65%); pointer-events: none; }
.sf .px-wrap { position: relative; z-index: 1; }
.sf a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.sf a:hover { color: #fff; }
.sf-stats { list-style: none; margin: 0 0 clamp(44px, 6vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 22px; background: rgba(255, 255, 255, 0.03); }
.sf-stats li { padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.sf-stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.09); }
.sf-stats b { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--font-display); letter-spacing: -0.03em; background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-stats span { font-size: 0.875rem; }
.sf-grid { display: grid; grid-template-columns: 1.75fr 0.95fr 1.15fr 1.15fr 0.75fr; gap: clamp(24px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 56px); }
.sf-logo { display: inline-block; margin-bottom: 18px; }
.sf-logo img { height: 44px; width: auto; display: block; }
.sf-desc { margin: 0 0 24px; line-height: 1.75; max-width: 360px; }
.sf-contact { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.sf-contact li { display: flex; align-items: center; gap: 12px; line-height: 1.4; color: #fff; }
.sf-contact small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 2px; }
.sf-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #7cc8ff; }
.sf-ic svg { width: 18px; height: 18px; }
.sf-ic--wa { color: #25d366; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 700 0.8125rem var(--font-display); white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.sf-btn svg { width: 16px; height: 16px; }
.sf .sf-btn--primary { background: #fff; color: var(--ink); }
.sf .sf-btn--primary:hover { color: var(--ink); transform: translateY(-1px); }
.sf-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.sf-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.sf-heading { margin: 6px 0 18px; font: 700 0.8125rem var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.sf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.875rem; }
.sf-links a { display: inline-flex; align-items: center; gap: 8px; line-height: 1.45; }
.sf-links a:hover { transform: translateX(2px); }
.sf-new { padding: 2px 6px; border-radius: 999px; font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--ai-grad); }
.sf-strip { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sf-tags { display: grid; gap: 22px; min-width: 0; }
.sf-strip > *, .sf-grid > * { min-width: 0; }
.sf-label { margin: 0 0 12px; font: 700 0.75rem var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.sf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chips li { padding: 7px 13px; border-radius: 999px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); }
.sf-chips--plain li { background: none; border: 0; padding: 0; }
.sf-chips--plain li + li::before { content: '·'; margin-right: 8px; color: rgba(255, 255, 255, 0.3); }
.sf-news { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); align-self: start; }
.sf-news .sf-label { color: #fff; }
.sf-news p { margin: 0 0 16px; font-size: 0.875rem; line-height: 1.6; }
.sf-news__row { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.sf-news__row:focus-within { border-color: rgba(124, 200, 255, 0.6); }
.sf-news input[type="email"] { flex: 1; min-width: 0; border: 0; background: none; color: #fff; padding: 0 14px; font: inherit; font-size: 0.9375rem; outline: none; }
.sf-news input::placeholder { color: rgba(255, 255, 255, 0.4); }
.sf-news button { flex-shrink: 0; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; font: 700 0.875rem var(--font-display); color: #fff; background: var(--ai-grad); cursor: pointer; }
.sf-news button:disabled { opacity: 0.6; cursor: default; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); }
.sf-bottom p { margin: 0; }
.sf-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.sf-top svg { width: 16px; height: 16px; padding: 6px; box-sizing: content-box; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 1100px) {
  .sf-grid { grid-template-columns: repeat(3, 1fr); }
  .sf-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .sf-brand .sf-contact { grid-row: 1 / span 3; grid-column: 2; margin: 0; }
}
@media (max-width: 860px) {
  .sf-stats { grid-template-columns: repeat(2, 1fr); }
  .sf-stats li:nth-child(3) { border-left: 0; }
  .sf-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .sf-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-strip { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sf-brand { display: block; }
  .sf-brand .sf-contact { margin: 0 0 24px; }
  .sf-grid { column-gap: 20px; row-gap: 34px; }
  .sf-stats li { padding: 18px; }
  .sf-stats span { font-size: 0.8125rem; }
  .sf-news { padding: 20px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 768px) { .sf { padding-bottom: 84px; } }
@media (max-width: 340px) { .sf-grid { grid-template-columns: 1fr; } }
