/* ===== Enviqo — Tech / Terminal theme ===== */
:root {
  --void: #030303;
  --ink: #060606;
  --ink-2: #090909;
  --panel: #0d0d0d;
  --panel-2: #121212;
  --text: #ffffff;
  --muted: #b6b6b6;
  --fog: #7a7a7a;
  --brand: #2f86c6;
  --brand-hover: #4098d8;
  --brand-active: #256b9e;
  --brand-light: #45d3e0;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --wa: #25d366;
  --container: 1480px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --grad: linear-gradient(135deg, var(--brand-light), var(--brand));
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--line); }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; color-scheme: dark; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
/* faint schematic grid on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--brand); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #262626; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 110px 0; position: relative; }

/* ===== Shared: eyebrow / section head ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .idx { color: var(--brand); }
.section__head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__title {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* corner ticks */
.btn::before, .btn::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0.6;
}
.btn::before { left: 0; top: 0; border-left: 1px solid currentColor; border-top: 1px solid currentColor; }
.btn::after { right: 0; bottom: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.btn--primary { background: var(--brand); color: #000; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--block { width: 100%; }

.link-arrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  transition: color 0.2s ease;
}
.link-arrow:hover { color: var(--brand-light); }

/* ===== Topbar ===== */
.topbar {
  background: var(--void);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fog);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact a { transition: color 0.2s ease; }
.topbar__contact a:hover { color: var(--brand); }
.topbar .ic { color: var(--brand); margin-right: 6px; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { display: inline-flex; color: var(--fog); transition: color 0.2s ease; }
.topbar__social a:hover { color: var(--brand); }
.topbar__social svg { width: 15px; height: 15px; display: block; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.header.scrolled { border-bottom-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; padding-right: 24px; }
.logo__mark { width: 46px; height: 38px; flex: none; }
.logo__text {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.logo__text span { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding: 8px 16px;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }
.nav__cta {
  color: #000 !important;
  background: var(--brand);
  border: 1px solid var(--brand);
  padding: 10px 18px !important;
  margin-left: 10px;
}
.nav__cta:hover { background: var(--brand-hover); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }

/* status pill (blinking dot) */
.sys-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blink {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  animation: blink 1.4s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__glow {
  position: absolute;
  right: -60px; top: 20%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 134, 198, 0.35), transparent);
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__content .eyebrow { margin-bottom: 24px; }
.hero__title {
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero__title span {
  color: var(--brand);
  text-shadow: 0 0 24px rgba(47, 134, 198, 0.35);
}
.hero__title .cursor { color: var(--brand); animation: blink 1.4s step-end infinite; }
.hero__text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 28px 0 0;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.hero__badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__badges strong {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
}
.hero__badges span {
  font-family: var(--mono);
  color: var(--fog);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
  display: block;
}

/* Hero system core (animated SVG) */
.hero__art { position: relative; display: flex; justify-content: center; }
.syscore { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; }
.syscore svg { width: 100%; height: 100%; overflow: visible; }
.syscore__label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.syscore__label .sc-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; }
.syscore__label .sc-code { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--brand); margin-top: 2px; }
.syscore__label .sc-div { width: 32px; height: 1px; background: rgba(255, 255, 255, 0.15); margin: 8px 0; }
.syscore__label .sc-active { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.syscore__label .sc-up { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; margin-top: 8px; }
.syscore__label .sc-uplabel { font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--fog); }
.sc-ring { transform-box: fill-box; transform-origin: center; }
.sc-ring--cw { animation: scspin 70s linear infinite; }
.sc-ring--ccw { animation: scspin-r 95s linear infinite; }
@keyframes scspin { to { transform: rotate(360deg); } }
@keyframes scspin-r { to { transform: rotate(-360deg); } }
.sc-node text { font-family: var(--mono); }

/* corner coordinate ticks */
.hero__tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hero__tick--tl { left: 32px; top: 96px; }
.hero__tick--br { right: 32px; bottom: 24px; }

/* ===== Tech marquee ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--void);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee span {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee span::after { content: "◆"; color: var(--brand); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Grid helpers ===== */
.grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Services ===== */
.services { background: var(--ink); }
.scard {
  background: var(--panel);
  padding: 40px 32px;
  transition: background 0.25s ease;
  position: relative;
}
.scard:hover { background: var(--panel-2); }
.scard__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 26px;
}
.scard__index {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--fog);
}
.scard h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 12px; }
.scard p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.services__cta { text-align: center; margin-top: 56px; }

/* ===== About ===== */
.about { background: var(--void); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
  filter: grayscale(0.2) contrast(1.05);
}
.about__stat {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--brand);
  color: #000;
  padding: 20px 26px;
}
.about__stat strong { display: block; font-family: var(--mono); font-size: 1.7rem; font-weight: 700; }
.about__stat span { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; }
.about__text { color: var(--muted); margin: 22px 0 28px; }
.checklist { list-style: none; display: grid; gap: 14px; margin-bottom: 34px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.95rem; }
.checklist li::before {
  content: "//";
  position: absolute; left: 0; top: 0;
  font-family: var(--mono);
  color: var(--brand);
  font-size: 0.85rem;
}
.about__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ===== Stats ===== */
.stats { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .container { padding: 0; }
.stats__grid { text-align: center; }
.stats__grid .stat { padding: 50px 20px; background: var(--ink); }
.stat strong {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand);
  line-height: 1;
}
.stat span { font-family: var(--mono); color: var(--fog); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 10px; display: block; }

/* ===== Process ===== */
.process { background: var(--void); }
.step { background: var(--panel); padding: 36px 30px; position: relative; }
.step__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 2.2rem;
  color: rgba(47, 134, 198, 0.35);
  line-height: 1;
}
.step h3 { font-size: 1.05rem; text-transform: uppercase; margin: 16px 0 10px; letter-spacing: 0.01em; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ===== Projects ===== */
.projects { background: var(--ink); }
.projects .grid { background: transparent; border: 0; gap: 24px; }
.pcard {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pcard:hover { border-color: var(--brand); transform: translateY(-4px); }
.pcard__img {
  height: 230px;
  background-color: var(--panel-2);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  filter: grayscale(0.15);
  transition: filter 0.25s ease;
}
.pcard:hover .pcard__img { filter: grayscale(0); }
.pcard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
.pcard__tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(47, 134, 198, 0.4);
  padding: 4px 10px;
}
.pcard h3 { font-size: 1.15rem; text-transform: uppercase; }
.pcard p { color: var(--muted); font-size: 0.9rem; flex: 1; }

/* ===== Team ===== */
.team { background: var(--void); }
.team .grid { background: transparent; border: 0; gap: 24px; }
.tcard {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  transition: border-color 0.25s ease;
}
.tcard:hover { border-color: var(--brand); }
.tcard__photo {
  height: 260px;
  margin-bottom: 20px;
  background-color: var(--panel-2);
  background-size: cover;
  background-position: center top;
  border: 1px solid var(--line);
  filter: grayscale(0.5) contrast(1.05);
  transition: filter 0.3s ease;
}
.tcard:hover .tcard__photo { filter: grayscale(0); }
.tcard h3 { font-size: 1.1rem; text-transform: uppercase; }
.tcard p { font-family: var(--mono); color: var(--brand); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 8px 0 14px; }
.tcard__social { display: flex; justify-content: center; gap: 10px; }
.tcard__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s ease;
}
.tcard__social a:hover { background: var(--brand); color: #000; border-color: var(--brand); }
.tcard__social svg { width: 15px; height: 15px; display: block; }

/* ===== Testimonial ===== */
.testi { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testi__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.testi__quote {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 34px;
}
.testi__author { display: inline-flex; align-items: center; gap: 16px; }
.testi__avatar { width: 54px; height: 54px; background: var(--brand); flex: none; }
.testi__author strong { display: block; text-transform: uppercase; letter-spacing: 0.02em; }
.testi__author span { font-family: var(--mono); color: var(--fog); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== CTA / Agendar ===== */
.cta { background: var(--void); }
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 56px;
}
.cta__text .eyebrow { color: var(--muted); }
.cta__text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta__text > p { color: var(--muted); }
.cta__list { margin-top: 24px; margin-bottom: 0; }
.cta__host {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 16px;
  border: 1px solid var(--line);
  background: var(--ink);
}
.cta__host img { width: 52px; height: 52px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.cta__host span { display: block; font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fog); }
.cta__host strong { display: block; text-transform: uppercase; font-size: 0.98rem; margin-top: 2px; }
.cta__host em { font-style: normal; font-family: var(--mono); font-size: 0.68rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; }
.cta__alt { margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; color: var(--fog); }
.cta__alt a { color: var(--brand); }
.cta__alt a:hover { color: var(--brand-light); }
.cta__calendar { border: 1px solid var(--line); overflow: hidden; background: #fff; }
.cta__calendar .calendly-inline-widget { width: 100%; }

/* ===== Footer ===== */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer__brand .logo { padding: 0; }
.footer__brand p { color: var(--muted); margin: 20px 0 22px; font-size: 0.9rem; max-width: 340px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s ease;
}
.footer__social a:hover { background: var(--brand); color: #000; border-color: var(--brand); }
.footer__social svg { width: 16px; height: 16px; display: block; }
.footer__col h4 { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fog); margin-bottom: 20px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 7px 0; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--brand); }
.footer__news p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.footer__form { display: flex; gap: 0; border: 1px solid var(--line); }
.footer__form input { flex: 1; background: var(--panel); border: 0; padding: 13px 14px; color: var(--text); font-family: var(--mono); font-size: 0.8rem; }
.footer__form input:focus { outline: none; }
.footer__form button { width: 48px; background: var(--brand); color: #000; border: 0; font-size: 1.1rem; cursor: pointer; transition: background 0.2s ease; }
.footer__form button:hover { background: var(--brand-hover); }
.footer__bottom { border-top: 1px solid var(--line); padding: 24px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__bottom span { font-family: var(--mono); color: var(--fog); font-size: 0.72rem; letter-spacing: 0.08em; }

/* ===== Floating WhatsApp assistant ===== */
.assistant { position: fixed; right: 24px; bottom: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.assistant__toggle {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  display: grid; place-items: center;
  transition: transform 0.2s ease;
  animation: assistantPulse 2.6s ease-in-out infinite;
}
.assistant__toggle:hover { transform: scale(1.06); }
.assistant__toggle svg { width: 33px; height: 33px; }
@keyframes assistantPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.assistant__badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #ff5c5c; color: #fff;
  border-radius: 50px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
}
.assistant.open .assistant__badge { display: none; }
.assistant__bubble {
  position: relative;
  width: min(330px, calc(100vw - 48px));
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.assistant.open .assistant__bubble { opacity: 1; transform: none; pointer-events: auto; }
.assistant__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--fog); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: color 0.2s ease; }
.assistant__close:hover { color: var(--text); }
.assistant__header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.assistant__avatar-sm { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); background: var(--panel-2); }
.assistant__header strong { display: block; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.02em; }
.assistant__status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: #43d99a; }
.assistant__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #43d99a; }
.assistant__chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; min-height: 58px; }
.chat-msg { align-self: flex-start; max-width: 94%; background: var(--panel-2); color: var(--text); font-size: 0.88rem; line-height: 1.5; padding: 10px 13px; border-radius: 2px 12px 12px 12px; animation: chatPop 0.25s ease; }
@keyframes chatPop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; background: var(--panel-2); padding: 12px 14px; border-radius: 2px 12px 12px 12px; animation: chatPop 0.2s ease; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--fog); animation: typingBounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.assistant__cta {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa); color: #fff; border: 0;
  padding: 12px; border-radius: 2px;
  font-family: var(--mono); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; text-decoration: none;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.2s ease;
}
.assistant__cta.show { opacity: 1; transform: none; pointer-events: auto; }
.assistant__cta:hover { filter: brightness(1.05); }
.assistant__cta svg { width: 18px; height: 18px; }

/* ===== Custom cursor (solo mouse) ===== */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}
.cursor__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.cursor__ring {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border: 1px solid rgba(47, 134, 198, 0.45);
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}
.cursor.hover .cursor__ring { width: 42px; height: 42px; border-color: var(--brand); }
.cursor.down .cursor__ring { width: 20px; height: 20px; }
@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor .btn,
  html.has-custom-cursor [role="button"] { cursor: none; }
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .cta__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .cta__inner { padding: 32px; }
}

@media (max-width: 900px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 6, 6, 0.98); }
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--ink);
    padding: 88px 28px 48px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { width: auto; padding: 16px 0; font-size: 1.1rem; }
  .nav__cta { margin: 14px 0 0; padding: 14px 30px !important; }
  .burger { display: flex; position: relative; z-index: 70; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  body.menu-open .assistant { opacity: 0; pointer-events: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .topbar__contact { gap: 14px; }
  .section { padding: 72px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__inner { padding: 22px; }
  .cta__calendar .calendly-inline-widget, .cta__calendar iframe { min-width: 0 !important; }
  .about__img { height: 320px; }
  .about__media { margin: 0 auto; }
  .hero__badges { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero__tick { display: none; }
}

@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__contact { flex-direction: column; gap: 2px; }
  .topbar__inner { height: auto; padding: 8px 0; }
}
