/* ==========================================================================
   Instabit Technologies — modern public site theme
   Loaded after style.css; all new components use the `ib-` prefix.
   ========================================================================== */
:root {
  --ib-primary: #4f46e5;
  --ib-primary-600: #4338ca;
  --ib-accent: #9333ea;
  --ib-pink: #ec4899;
  --ib-teal: #06b6d4;
  --ib-ink: #0b1024;
  --ib-night: #070b1a;
  --ib-text: #334155;
  --ib-muted: #64748b;
  --ib-border: #e5e7f0;
  --ib-soft: #f7f8fc;
  --ib-white: #ffffff;
  --ib-radius: 18px;
  --ib-radius-lg: 26px;
  --ib-shadow-sm: 0 1px 2px rgba(11, 16, 36, .05), 0 2px 6px rgba(11, 16, 36, .05);
  --ib-shadow: 0 18px 40px -18px rgba(11, 16, 36, .25);
  --ib-shadow-lg: 0 40px 80px -30px rgba(79, 70, 229, .45);
  --ib-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 60%, #ec4899 100%);
  --ib-gradient-soft: linear-gradient(135deg, rgba(79, 70, 229, .1), rgba(236, 72, 153, .1));
  --ib-gradient-light: linear-gradient(90deg, #93c5fd 0%, #c4b5fd 45%, #f9a8d4 100%);
  --ib-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ib-font-display: 'Plus Jakarta Sans', var(--ib-font);
  --ib-header-h: 116px;
}

html { scroll-padding-top: 96px; }
html, body {
  font-family: var(--ib-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ib-text);
  background: var(--ib-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ib-font-display); color: var(--ib-ink); letter-spacing: -.025em; }
a { color: var(--ib-primary); }
a:hover { color: var(--ib-primary-600); }
::selection { background: rgba(79, 70, 229, .18); }

/* ---------- Buttons ---------- */
.ib-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.ib-btn i { transition: transform .2s ease; }
.ib-btn:hover i.bi-arrow-right { transform: translateX(3px); }
.ib-btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.ib-btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.ib-btn-primary { background: var(--ib-gradient); background-size: 150% 150%; color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.ib-btn-primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 32px -12px rgba(147, 51, 234, .75); }
.ib-btn-glow { isolation: isolate; }
.ib-btn-glow::after {
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit;
  background: var(--ib-gradient); filter: blur(14px); opacity: .45; transition: opacity .25s ease;
}
.ib-btn-glow:hover::after { opacity: .75; }
.ib-btn-dark { background: var(--ib-ink); color: #fff; }
.ib-btn-dark:hover { color: #fff; background: #1b2140; transform: translateY(-2px); }
.ib-btn-ghost { background: var(--ib-white); color: var(--ib-ink); border-color: var(--ib-border); }
.ib-btn-ghost:hover { color: var(--ib-ink); border-color: #cbd5e1; background: var(--ib-soft); }
.ib-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ib-btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }
.ib-btn-light { background: #fff; color: var(--ib-primary-600); }
.ib-btn-light:hover { color: var(--ib-accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.ib-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; pointer-events: none; }
.ib-header > * { pointer-events: auto; }

.ib-announce {
  background: var(--ib-gradient); color: #fff; font-size: .85rem; font-weight: 500; text-align: center;
  max-height: 40px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease;
}
.ib-announce a { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; padding: .55rem 0; color: #fff; }
.ib-announce-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ib-announce-tag, .ib-announce i { flex: none; }
.ib-announce a:hover { color: #fff; }
.ib-announce a:hover i { transform: translateX(3px); }
.ib-announce i { transition: transform .2s ease; }
.ib-announce-tag { padding: .1rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ib-header.is-scrolled .ib-announce { max-height: 0; opacity: 0; }

.ib-header-bar {
  position: relative; margin-top: 12px; height: 64px; padding: 0 .6rem 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px;
  box-shadow: 0 10px 30px -12px rgba(7, 11, 26, .35), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.ib-header.is-scrolled .ib-header-bar { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 40px -16px rgba(7, 11, 26, .35); }
.ib-logo img { max-height: 38px; width: auto; }

.ib-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.ib-nav > ul > li > a:not(.ib-btn) {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 12px;
  color: var(--ib-text); font-weight: 500; font-size: .94rem; transition: color .2s, background-color .2s;
}
.ib-nav > ul > li > a:not(.ib-btn):hover { color: var(--ib-ink); background: rgba(79, 70, 229, .06); }
.ib-nav > ul > li > a:not(.ib-btn).active { color: var(--ib-primary); background: rgba(79, 70, 229, .09); }
.ib-caret { font-size: .7rem; transition: transform .2s ease; }
.ib-ai-spark { color: var(--ib-accent); }
.ib-nav-cta { margin-left: .5rem; }
.ib-nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ib-border);
  background: #fff; font-size: 1.4rem; color: var(--ib-ink); line-height: 1; align-items: center; justify-content: center;
}

/* Products mega menu */
.ib-has-menu { position: relative; }
.ib-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 380px; padding: .5rem;
  background: #fff; border: 1px solid var(--ib-border); border-radius: 18px; box-shadow: var(--ib-shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.ib-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ib-has-menu:hover .ib-menu, .ib-has-menu:focus-within .ib-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ib-has-menu:hover .ib-caret { transform: rotate(180deg); }
.ib-menu-item { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem; border-radius: 12px; color: var(--ib-text); }
.ib-menu-item:hover { background: var(--ib-soft); color: var(--ib-text); }
.ib-menu-item strong { display: block; color: var(--ib-ink); font-family: var(--ib-font-display); }
.ib-menu-item small { display: block; color: var(--ib-muted); font-size: .82rem; line-height: 1.4; }
.ib-menu-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.ib-menu-icon-ecom { background: var(--ib-gradient); }
.ib-menu-icon-pres { background: linear-gradient(135deg, var(--ib-teal), var(--ib-primary)); }
.ib-menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .25rem; padding: .7rem .8rem; border-top: 1px solid var(--ib-border); font-size: .88rem; font-weight: 600; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .ib-nav > ul > li > a:not(.ib-btn) { padding: .5rem .6rem; font-size: .9rem; }
}
@media (max-width: 991.98px) {
  .ib-nav-toggle { display: inline-flex; }
  .ib-header-bar { padding: 0 .6rem 0 1rem; }
  .ib-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; max-height: calc(100vh - 140px); overflow-y: auto;
    background: #fff; border: 1px solid var(--ib-border); border-radius: 20px; box-shadow: var(--ib-shadow);
    padding: .75rem; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .ib-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .ib-nav > ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .ib-nav > ul > li > a:not(.ib-btn) { display: flex; padding: .8rem 1rem; }
  .ib-caret { display: none; }
  .ib-menu { position: static; width: auto; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 0 0 .25rem .5rem; }
  .ib-has-menu:hover .ib-menu, .ib-has-menu:focus-within .ib-menu { transform: none; }
  .ib-menu::before, .ib-menu-foot { display: none; }
  .ib-nav-cta { margin: .5rem 0 0; }
  .ib-nav-cta .ib-btn { width: 100%; }
}

/* ---------- Common section scaffolding ---------- */
.ib-section { padding: 110px 0; position: relative; overflow: hidden; }
.ib-section-soft { background: var(--ib-soft); }
.ib-section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.ib-kicker {
  display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; margin-bottom: 1rem;
  border-radius: 999px; background: var(--ib-gradient-soft); border: 1px solid rgba(79, 70, 229, .15);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ib-primary);
}
.ib-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ib-gradient); }
.ib-kicker i { display: none; }
.ib-title { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 2.9rem); font-weight: 800; line-height: 1.12; margin-bottom: 1rem; }
.ib-text { color: var(--ib-muted); font-size: 1.05rem; }
.ib-gradient-text { background: var(--ib-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 767.98px) { .ib-section { padding: 72px 0; } .ib-section-head { margin-bottom: 40px; } }

/* ---------- Hero ---------- */
.ib-hero {
  position: relative; overflow: hidden; padding: calc(var(--ib-header-h) + 72px) 0 0;
  background: linear-gradient(180deg, var(--ib-night) 0%, #0d1330 calc(100% - 220px), var(--ib-white) calc(100% - 220px));
  color: #cbd5e1;
}
.ib-aurora { position: absolute; inset: 0 0 220px 0; overflow: hidden; pointer-events: none; }
.ib-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: ib-drift 18s ease-in-out infinite alternate; }
.ib-aurora span:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -160px; background: #4f46e5; }
.ib-aurora span:nth-child(2) { width: 480px; height: 480px; right: -120px; top: 40px; background: #9333ea; animation-delay: -6s; }
.ib-aurora span:nth-child(3) { width: 420px; height: 420px; left: 35%; top: 45%; background: #ec4899; opacity: .3; animation-delay: -12s; }
@keyframes ib-drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }
.ib-hero-grid {
  position: absolute; inset: 0 0 220px 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.ib-hero-center { max-width: 860px; margin: 0 auto; text-align: center; }
.ib-pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .9rem .3rem .3rem; margin-bottom: 1.75rem;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  color: #e2e8f0; font-size: .88rem; font-weight: 500; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s, border-color .2s;
}
.ib-pill:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.ib-pill-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; background: var(--ib-gradient); color: #fff; font-size: .75rem; font-weight: 700; }
.ib-hero-title { color: #fff; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.ib-hero .ib-gradient-text { background: var(--ib-gradient-light); -webkit-background-clip: text; background-clip: text; }
.ib-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #a8b3cf; max-width: 640px; margin: 0 auto 2.25rem; }
.ib-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-bottom: 2rem; }
.ib-hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: #a8b3cf; }
.ib-hero-points i { color: #818cf8; margin-right: .35rem; }

/* Product mockup */
.ib-mockup-wrap { position: relative; max-width: 1020px; margin: 72px auto 0; padding-bottom: 40px; }
.ib-mockup-wrap::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 20%; z-index: 0;
  background: var(--ib-gradient); filter: blur(80px); opacity: .45;
}
.ib-mockup {
  position: relative; z-index: 1; background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 50px 100px -30px rgba(7, 11, 26, .6), 0 0 0 8px rgba(255, 255, 255, .06);
  transform: perspective(1600px) rotateX(8deg); transform-origin: top center;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.ib-mockup-wrap:hover .ib-mockup { transform: perspective(1600px) rotateX(0deg); }
.ib-mockup-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; background: #f4f5fa; border-bottom: 1px solid var(--ib-border); }
.ib-mockup-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ib-mockup-bar > span:nth-child(2) { background: #febc2e; }
.ib-mockup-bar > span:nth-child(3) { background: #28c840; }
.ib-mockup-url { margin: 0 auto; padding: .25rem 1rem; border-radius: 8px; background: #fff; border: 1px solid var(--ib-border); font-size: .78rem; color: var(--ib-muted); }
.ib-mockup-url i { color: #10b981; font-size: .7rem; }
.ib-mockup-body { padding: 1.25rem; text-align: left; }
.ib-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.ib-kpi { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--ib-border); background: #fff; }
.ib-kpi small { display: block; color: var(--ib-muted); font-size: .78rem; font-weight: 500; }
.ib-kpi strong { display: block; font-family: var(--ib-font-display); font-size: 1.5rem; color: var(--ib-ink); line-height: 1.3; }
.ib-kpi em { font-style: normal; font-size: .75rem; font-weight: 600; padding: .1rem .45rem; border-radius: 999px; }
.ib-kpi em.up { color: #047857; background: #d1fae5; }
.ib-kpi em.down { color: #b91c1c; background: #fee2e2; }
.ib-mock-panels { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1rem; }
.ib-mock-chart, .ib-mock-list { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--ib-border); }
.ib-mock-chart svg { width: 100%; height: 140px; display: block; }
.ib-mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; }
.ib-mock-head strong { color: var(--ib-ink); font-size: .9rem; }
.ib-mock-head span { color: var(--ib-muted); font-size: .75rem; }
.ib-mock-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .75rem; margin-bottom: .9rem; font-size: .82rem; color: var(--ib-text); }
.ib-bar { height: 8px; border-radius: 999px; background: #eef0f7; overflow: hidden; }
.ib-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ib-gradient); }

.ib-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--ib-border); border-radius: 16px; box-shadow: var(--ib-shadow);
  animation: ib-float 6s ease-in-out infinite; text-align: left;
}
.ib-float strong { display: block; color: var(--ib-ink); font-size: .88rem; font-family: var(--ib-font-display); }
.ib-float small { display: block; color: var(--ib-muted); font-size: .78rem; }
.ib-float-presencia { left: -48px; top: 38%; }
.ib-float-ai { right: -40px; bottom: 22%; animation-delay: -3s; }
.ib-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--ib-teal), var(--ib-primary)); }
.ib-ok { color: #10b981; font-size: 1.2rem; }
.ib-float-ai-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--ib-gradient); }
@keyframes ib-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1199.98px) { .ib-float-presencia { left: -10px; } .ib-float-ai { right: -10px; } }
@media (max-width: 767.98px) {
  .ib-float { display: none; }
  .ib-mock-panels { grid-template-columns: 1fr; }
  .ib-mock-list { display: none; }
  .ib-mockup { transform: none; }
}
@media (max-width: 575.98px) {
  .ib-kpis { grid-template-columns: repeat(2, 1fr); }
  .ib-kpi:nth-child(3) { display: none; }
  .ib-kpi strong { font-size: 1.2rem; }
}

/* ---------- About / bento ---------- */
.ib-check { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px; background: var(--ib-soft); border: 1px solid var(--ib-border); font-weight: 500; font-size: .95rem; color: var(--ib-ink); }
.ib-check i { color: var(--ib-primary); font-size: 1.1rem; }
.ib-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ib-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem;
  min-height: 170px; padding: 1.5rem; border-radius: var(--ib-radius-lg); background: #fff; border: 1px solid var(--ib-border);
  box-shadow: var(--ib-shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.ib-tile:hover { transform: translateY(-4px); box-shadow: var(--ib-shadow); }
.ib-tile strong { font-family: var(--ib-font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--ib-ink); letter-spacing: -.03em; }
.ib-tile .ib-tile-sm { font-size: 1.35rem; }
.ib-tile small { color: var(--ib-muted); font-weight: 500; }
.ib-tile-icon { position: absolute; top: 1.25rem; right: 1.25rem; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: var(--ib-primary); background: var(--ib-gradient-soft); }
.ib-tile-wide { grid-column: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ib-tile-grad { background: var(--ib-gradient); border: 0; color: #fff; }
.ib-tile-grad strong, .ib-tile-grad small { color: #fff; }
.ib-tile-grad strong { font-size: 3.6rem; display: block; margin: .3rem 0 .5rem; }
.ib-tile-grad p { margin: 0; max-width: 320px; font-size: .92rem; opacity: .9; }
.ib-tile-spark { width: 130px; flex: none; color: rgba(255, 255, 255, .85); }
.ib-tile-dark { background: var(--ib-ink); border-color: var(--ib-ink); }
.ib-tile-dark strong { color: #fff; }
.ib-tile-dark small { color: #94a3b8; }
.ib-tile-dark .ib-tile-icon { background: rgba(255, 255, 255, .08); color: #c4b5fd; }
.ib-avatars { display: flex; margin-bottom: auto; }
.ib-avatars span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-left: -8px; border: 2px solid #fff; font-size: .75rem; font-weight: 700; color: #fff; background: var(--ib-primary); }
.ib-avatars span:first-child { margin-left: 0; }
.ib-avatars span:nth-child(2) { background: var(--ib-accent); }
.ib-avatars span:nth-child(3) { background: var(--ib-pink); }
.ib-avatars span:nth-child(4) { background: var(--ib-ink); }
@media (max-width: 575.98px) {
  .ib-bento { grid-template-columns: repeat(2, 1fr); }
  .ib-tile-wide { grid-column: span 2; }
  .ib-tile-spark { display: none; }
  .ib-tile { min-height: 140px; padding: 1.25rem; }
  .ib-tile strong { font-size: 2rem; }
}

/* ---------- Products ---------- */
.ib-product {
  height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: 2.25rem;
  background: #fff; border: 1px solid var(--ib-border); border-radius: var(--ib-radius-lg);
  box-shadow: var(--ib-shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ib-product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ib-gradient); }
.ib-product::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--ib-gradient-soft); pointer-events: none; }
.ib-product-presencia::before { background: linear-gradient(90deg, var(--ib-teal), var(--ib-primary)); }
.ib-product:hover { transform: translateY(-6px); box-shadow: var(--ib-shadow-lg); border-color: transparent; }
.ib-product-head { display: flex; align-items: center; gap: 1rem; }
.ib-product-icon { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--ib-gradient); box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6); }
.ib-product-presencia .ib-product-icon { background: linear-gradient(135deg, var(--ib-teal), var(--ib-primary)); }
.ib-product h3 { font-size: 1.7rem; font-weight: 800; margin: 0; }
.ib-product-tag { margin: 0; color: var(--ib-muted); font-weight: 500; }
.ib-product .ib-text { margin: 0; }
.ib-product-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ib-product-list li { display: flex; gap: .6rem; color: var(--ib-ink); }
.ib-product-list i { color: #10b981; font-size: 1.1rem; }
.ib-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ib-chips span { font-size: .8rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--ib-soft); border: 1px solid var(--ib-border); color: var(--ib-text); }
.ib-product .ib-btn { align-self: flex-start; margin-top: auto; }

/* ---------- AI ---------- */
.ib-ai { background: var(--ib-night); color: #cbd5e1; }
.ib-ai-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(79, 70, 229, .4), transparent 70%),
    radial-gradient(600px 450px at 100% 100%, rgba(147, 51, 234, .38), transparent 70%);
}
.ib-ai .ib-title { color: #fff; }
.ib-kicker-light { color: #c4b5fd; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.ib-ai-lead { font-size: 1.1rem; color: #a8b3cf; }
.ib-ai-points { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.ib-ai-points li { display: flex; gap: .6rem; color: #e2e8f0; }
.ib-ai-points i { color: #34d399; font-size: 1.1rem; }
.ib-ai-proof {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; margin-bottom: 2rem;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.ib-ai-proof i { font-size: 1.4rem; color: #c4b5fd; }
.ib-ai-proof p { margin: 0; font-size: .95rem; }
.ib-ai-proof strong { color: #fff; }
.ib-ai-proof a { color: #c4b5fd; text-decoration: underline; }
.ib-ai-card {
  position: relative; height: 100%; padding: 1.5rem; border-radius: var(--ib-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .25s ease, border-color .25s ease;
}
.ib-ai-card:hover { transform: translateY(-4px); border-color: rgba(196, 181, 253, .5); }
.ib-ai-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--ib-gradient); margin-bottom: 1rem; box-shadow: 0 8px 20px -6px rgba(147, 51, 234, .6); }
.ib-ai-card h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.ib-ai-card p { margin: 0; font-size: .92rem; color: #94a3b8; }

/* ---------- Service cards ---------- */
.ib-card {
  position: relative; height: 100%; padding: 2rem; border-radius: var(--ib-radius); background: #fff; border: 1px solid var(--ib-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ib-card:hover { transform: translateY(-4px); box-shadow: var(--ib-shadow); border-color: rgba(79, 70, 229, .3); }
.ib-card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: var(--ib-primary); background: var(--ib-gradient-soft); margin-bottom: 1.25rem; transition: background .25s, color .25s; }
.ib-card:hover .ib-card-icon { background: var(--ib-gradient); color: #fff; }
.ib-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.ib-card p { color: var(--ib-muted); margin: 0; }

/* ---------- Technology stack ---------- */
.ib-tech { padding: 110px 0; position: relative; overflow: hidden; background: var(--ib-soft); }
.ib-tech-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.ib-tech-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: .75rem; }
.ib-tech-group {
  height: 100%; padding: 1.75rem; background: #fff; border: 1px solid var(--ib-border);
  border-radius: var(--ib-radius-lg); box-shadow: var(--ib-shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.ib-tech-group:hover { box-shadow: var(--ib-shadow); transform: translateY(-3px); }
.ib-tech-group-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.ib-tech-group-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--ib-gradient); }
.ib-tech-group h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.ib-tech-group-head p { margin: 0; font-size: .9rem; color: var(--ib-muted); }
.ib-tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.ib-tech-item {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem .75rem;
  border-radius: 14px; background: var(--ib-soft); border: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.ib-tech-item:hover { background: #fff; border-color: rgba(79, 70, 229, .25); }
.ib-tech-logo { height: 44px; display: flex; align-items: center; justify-content: center; }
.ib-tech-logo img { max-height: 44px; max-width: 110px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ib-tech-logo i { font-size: 2rem; color: var(--ib-ink); }
.ib-tech-item span { font-size: .85rem; font-weight: 600; color: var(--ib-ink); }
@media (max-width: 767.98px) { .ib-tech { padding: 72px 0; } }

/* ---------- Process ---------- */
.ib-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ib-steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 56px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, .35), rgba(236, 72, 153, .35), transparent);
}
.ib-step { position: relative; padding: 2rem 1.75rem; background: #fff; border: 1px solid var(--ib-border); border-radius: var(--ib-radius); transition: transform .25s ease, box-shadow .25s ease; }
.ib-step:hover { transform: translateY(-4px); box-shadow: var(--ib-shadow); }
.ib-step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.1rem;
  font-family: var(--ib-font-display); font-weight: 800; font-size: 1rem; color: #fff; background: var(--ib-gradient);
  box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6);
}
.ib-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.ib-step p { color: var(--ib-muted); margin: 0; font-size: .95rem; }
@media (max-width: 991.98px) { .ib-steps { grid-template-columns: repeat(2, 1fr); } .ib-steps::before { display: none; } }
@media (max-width: 575.98px) { .ib-steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.ib-cta-wrap { padding-top: 0; }
.ib-section-soft + .ib-cta-wrap { padding-top: 110px; }
.ib-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 3.5rem; border-radius: 32px; background: var(--ib-night); color: #fff;
  box-shadow: var(--ib-shadow-lg); position: relative; overflow: hidden; isolation: isolate;
}
.ib-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 0% 0%, rgba(79, 70, 229, .6), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(236, 72, 153, .45), transparent 70%); }
.ib-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 800; margin-bottom: .35rem; }
.ib-cta p { margin: 0; color: #a8b3cf; }
@media (max-width: 575.98px) { .ib-cta { padding: 2rem; } }

/* ---------- Contact ---------- */
.ib-contact { background: var(--ib-soft); border-top: 1px solid var(--ib-border); }
.ib-contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.ib-contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ib-contact-list strong { color: var(--ib-ink); }
.ib-contact-list p { margin: 0; color: var(--ib-muted); }
.ib-contact-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ib-border); color: var(--ib-primary); font-size: 1.15rem; box-shadow: var(--ib-shadow-sm); }
.ib-form { background: #fff; padding: 2.25rem; border-radius: var(--ib-radius-lg); border: 1px solid var(--ib-border); box-shadow: var(--ib-shadow); }
.ib-form .form-label { font-weight: 600; font-size: .9rem; color: var(--ib-ink); margin-bottom: .35rem; }
.ib-form .form-control { padding: .8rem 1rem; border-radius: 12px; border-color: var(--ib-border); background: var(--ib-soft); }
.ib-form .form-control:focus { background: #fff; border-color: var(--ib-primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.ib-form .loading, .ib-form .error-message, .ib-form .sent-message { display: none; padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 500; }
.ib-form .loading { background: var(--ib-soft); color: var(--ib-muted); }
.ib-form .error-message { background: #fef2f2; color: #b91c1c; }
.ib-form .sent-message { background: #ecfdf5; color: #047857; }
.ib-form .form-control.form-error { border-color: #dc2626 !important; background: #fff; }
.ib-form .form-control.form-error:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.ib-field-error { display: none; margin-top: .35rem; color: #b91c1c; font-size: .82rem; font-weight: 500; }
.ib-field-error.is-visible { display: block; }
.ib-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ib-captcha { display: flex; gap: .5rem; }
.ib-captcha-refresh { flex: none; width: 48px; border-radius: 12px; border: 1px solid var(--ib-border); background: #fff; color: var(--ib-muted); font-size: 1.1rem; transition: color .2s, border-color .2s; }
.ib-captcha-refresh:hover { color: var(--ib-primary); border-color: var(--ib-primary); }

/* ---------- Footer ---------- */
.ib-footer { position: relative; background: var(--ib-night); color: #94a3b8; padding: 80px 0 0; font-size: .95rem; overflow: hidden; }
.ib-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .5), transparent); }
.ib-footer-logo { max-height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.ib-footer h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.ib-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ib-footer a { color: #cbd5e1; }
.ib-footer a:hover { color: #fff; }
.ib-footer-bottom { margin-top: 56px; padding: 1.5rem 0; border-top: 1px solid rgba(148, 163, 184, .15); font-size: .875rem; text-align: center; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--ib-gradient); color: #fff; box-shadow: var(--ib-shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.back-to-top i { font-size: 1.6rem; color: #fff; line-height: 0; }
.back-to-top.active { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ib-float, .ib-aurora span { animation: none; }
  .ib-mockup { transform: none; }
  .ib-btn, .ib-card, .ib-product, .ib-tile, .ib-mockup { transition: none; }
}

/* ---------- Founder ---------- */
.ib-founder {
  display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: center;
  padding: 2.5rem; background: #fff; border: 1px solid var(--ib-border); border-radius: 32px; box-shadow: var(--ib-shadow);
}
.ib-founder-profile {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 2.5rem 1.5rem;
  border-radius: var(--ib-radius-lg); background: var(--ib-night); color: #cbd5e1;
}
.ib-founder-profile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px 220px at 50% 0%, rgba(79, 70, 229, .55), transparent 70%), radial-gradient(260px 200px at 100% 100%, rgba(236, 72, 153, .35), transparent 70%); }
.ib-founder-avatar { width: 128px; height: 128px; margin: 0 auto 1.25rem; padding: 4px; border-radius: 50%; background: var(--ib-gradient); box-shadow: 0 20px 40px -12px rgba(147, 51, 234, .6); }
.ib-founder-avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--ib-ink); color: #fff; font-family: var(--ib-font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.ib-founder-profile h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: .2rem; }
.ib-founder-role { color: #c4b5fd; font-weight: 600; margin-bottom: 1.25rem; }
.ib-founder-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.ib-founder-badges span { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #e2e8f0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.ib-founder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.ib-founder-stats div { padding: 1rem 1.1rem; border-radius: 16px; background: var(--ib-soft); border: 1px solid var(--ib-border); }
.ib-founder-stats strong { display: block; font-family: var(--ib-font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; background: var(--ib-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ib-founder-stats small { color: var(--ib-muted); font-weight: 500; font-size: .85rem; }
.ib-founder-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ib-founder-list li { display: flex; gap: .6rem; color: var(--ib-ink); }
.ib-founder-list i { color: #10b981; font-size: 1.1rem; }
@media (max-width: 991.98px) { .ib-founder { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; } }
@media (max-width: 575.98px) { .ib-founder-stats { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.ib-faq { display: grid; gap: .75rem; }
.ib-faq-item { background: #fff; border: 1px solid var(--ib-border); border-radius: var(--ib-radius); transition: border-color .2s ease, box-shadow .2s ease; }
.ib-faq-item[open] { border-color: rgba(79, 70, 229, .3); box-shadow: var(--ib-shadow-sm); }
.ib-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; }
.ib-faq-item summary::-webkit-details-marker { display: none; }
.ib-faq-item summary h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.ib-faq-item summary i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--ib-primary); background: var(--ib-gradient-soft); transition: transform .25s ease, background .25s ease, color .25s ease; }
.ib-faq-item[open] summary i { transform: rotate(45deg); background: var(--ib-gradient); color: #fff; }
.ib-faq-item summary:focus-visible { outline: 3px solid rgba(79, 70, 229, .35); outline-offset: 2px; border-radius: var(--ib-radius); }
.ib-faq-item p { margin: 0; padding: 0 1.4rem 1.25rem; color: var(--ib-muted); }

/* ---------- Google Maps / profile ---------- */
.ib-map { margin-top: 1.75rem; border-radius: var(--ib-radius); overflow: hidden; border: 1px solid var(--ib-border); box-shadow: var(--ib-shadow-sm); aspect-ratio: 16 / 10; background: #e5e7f0; }
.ib-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ib-google-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ib-google-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--ib-border); font-size: .88rem; font-weight: 600; color: var(--ib-ink); transition: border-color .2s, color .2s; }
.ib-google-links a:hover { border-color: var(--ib-primary); color: var(--ib-primary); }
.ib-google-links .bi-star-fill { color: #f59e0b; }
.ib-google-links .bi-geo-alt-fill { color: #ea4335; }
