/* ==========================================================================
   Design tokens — change the whole theme from here
   ========================================================================== */
:root {
  --primary: #6C4CF1;
  --primary-dark: #4E35B1;
  --primary-soft: #F1EEFE;
  --secondary: #14B8A6;
  --accent: #F59E0B;
  --whatsapp: #0F7A40;
  --whatsapp-dark: #0B5F31;
  --dark: #111827;
  --dark-2: #1F2937;
  --text: #374151;
  --muted: #6B7280;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --danger: #DC2626;
  --success: #059669;

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

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow: 0 8px 24px -8px rgba(17, 24, 39, .10), 0 2px 6px rgba(17, 24, 39, .04);
  --shadow-lg: 0 30px 60px -20px rgba(78, 53, 177, .28), 0 12px 24px -12px rgba(17, 24, 39, .12);

  --container: 1200px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--dark); color: var(--white); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--tint { background: var(--light); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.section-more { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.text-gradient { background: linear-gradient(100deg, var(--primary) 10%, #3B82F6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { flex: none; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.two-col { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-block: 24px; }
.two-col--wide { gap: clamp(32px, 6vw, 80px); margin-block: 0; }

/* ==========================================================================
   Buttons, chips, cards
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 46px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .9375rem; line-height: 1.2; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 28px; min-height: 54px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 8px 16px; min-height: 38px; font-size: .875rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px -8px rgba(108, 76, 241, .6); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); }
.btn--whatsapp-outline { background: var(--white); color: var(--whatsapp-dark); border-color: var(--whatsapp); }
.btn--whatsapp-outline:hover { background: #ECFDF3; color: var(--whatsapp-dark); }
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.btn .spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.link-arrow .icon { transition: transform .2s var(--ease); }
a.link-arrow:hover .icon, .card--hover:hover .link-arrow .icon { transform: translateX(4px); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); position: relative; }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6CDFB; }
.card p:last-child { margin-bottom: 0; }
.stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.chip { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--light); color: var(--muted); border: 1px solid var(--border); }
.chip--link { color: var(--primary-dark); background: var(--primary-soft); border-color: transparent; font-size: .8125rem; padding: 6px 12px; }
.chip--link:hover { background: var(--primary); color: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-row__label { font-size: .875rem; color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--primary-dark); background: var(--primary-soft); border: 1px solid #E0D9FD; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--live { background: var(--secondary); box-shadow: 0 0 0 0 rgba(20, 184, 166, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; flex: none; }
.icon-tile--sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.icon-tile--solid { background: linear-gradient(135deg, var(--primary), #3B82F6); color: var(--white); }
.icon-tile--wa { background: #ECFDF3; color: var(--whatsapp); }

.check-list li { display: flex; gap: 10px; align-items: flex-start; padding-block: 6px; }
.check-list .icon { color: var(--secondary); margin-top: 4px; }
.check-list--no .icon { color: var(--danger); }
.check-list--lg li { padding-block: 10px; font-size: 1.0625rem; }
.check-list--lg li + li { border-top: 1px solid var(--border); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 20px -12px rgba(17, 24, 39, .18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; }
.brand:hover { color: var(--dark); }
.brand img { display: block; width: auto; height: 40px; }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light img { height: 44px; }
@media (max-width: 479px) { .brand img { height: 34px; } }

.primary-nav { display: flex; align-items: center; gap: 20px; }
.primary-nav__list { display: flex; gap: 2px; }
.primary-nav__list a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .9375rem; transition: background-color .15s, color .15s; }
.primary-nav__list a:hover, .primary-nav__list a.is-active { color: var(--primary); background: var(--primary-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--dark); border-radius: 10px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-grid; }
  /* The panel is sized by height, not by `bottom: 0`: .site-header's backdrop-filter makes
     it the containing block for fixed children, so `bottom: 0` resolved against the 72px
     header and collapsed the menu to nothing. */
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 16px; padding: 20px clamp(16px, 4vw, 32px) 32px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  /* Drop the blur while the menu is open. iOS Safari can fail to paint fixed children of a
     backdrop-filtered element, and without the filter the panel is sized against the
     viewport, which gives the same result by a simpler route. */
  body.nav-open .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white);
  }
  .primary-nav__list { flex-direction: column; gap: 4px; }
  .primary-nav__list a { padding: 14px 12px; font-size: 1.0625rem; }
  .primary-nav__cta { min-height: 50px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 76, 241, .16), transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto auto -30% -10%; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(59, 130, 246, .10), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .badge { margin-bottom: 22px; }
.hero__copy .lead { margin-block: 20px 30px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-weight: 500; font-size: .9375rem; color: var(--dark-2); }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: var(--secondary); }

.hero__visual { position: relative; min-height: 420px; }
.dash { background: var(--dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: #E5E7EB; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero__visual:hover .dash { transform: none; }
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dash__bar span { width: 11px; height: 11px; border-radius: 50%; background: #374151; }
.dash__bar span:nth-child(1) { background: #F87171; } .dash__bar span:nth-child(2) { background: #FBBF24; } .dash__bar span:nth-child(3) { background: #34D399; }
.dash__bar em { margin-left: 12px; font-style: normal; font-size: .75rem; color: #9CA3AF; font-family: var(--mono); }
.dash__body { padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 18px; }
.dash small { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; margin-bottom: 4px; }
.dash strong { color: var(--white); font-weight: 600; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash__head strong { font-size: 1.125rem; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.status--warn { background: rgba(245, 158, 11, .14); color: #FBBF24; }
.dash__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash__meta > div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; }
.dash .online { display: inline-flex; align-items: center; gap: 8px; color: #5EEAD4; }
.dash__log { margin: 0; background: #0B1020; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px; font: .75rem/1.8 var(--mono); color: #D1D5DB; overflow-x: auto; white-space: pre; }
.c-muted { color: #6B7280; } .c-red { color: #F87171; font-weight: 700; } .c-green { color: #34D399; font-weight: 700; }
.dash__next strong { display: flex; align-items: center; gap: 8px; color: #C4B5FD; }
.progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-top: 12px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); animation: grow 2.4s var(--ease) both; }
@keyframes grow { from { width: 8%; } }
.float-card { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: .8125rem; font-weight: 600; color: var(--dark); background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-card .icon { color: var(--secondary); }
.float-card--a { top: -14px; right: 6%; }
.float-card--b { bottom: -30px; left: -4%; animation-delay: -3s; }
.float-card--b .icon { color: var(--primary); }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; max-width: 560px; margin-inline: auto; width: 100%; }
  .dash { transform: none; }
  .float-card--b { left: 4%; }
}
@media (max-width: 479px) {
  .hero .btn-row .btn { width: 100%; }
  .float-card { display: none; }
  .dash__head { flex-direction: column; }
}

/* ==========================================================================
   Trust strip / stats
   ========================================================================== */
.trust { padding-block: clamp(32px, 4vw, 48px); border-block: 1px solid var(--border); background: var(--light); }
.trust--flat { background: var(--white); border-top: 0; }
.trust__title { text-align: center; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; text-align: center; }
.stat { display: flex; flex-direction: column; min-height: 78px; }
.stat__value { margin: 0; font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: .9375rem; margin-top: 6px; }
@media (max-width: 639px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }

/* ==========================================================================
   Feature / service / benefit cards
   ========================================================================== */
.feature h3, .service-tile h3, .urgent-card h3 { margin-bottom: 6px; }
.feature p, .service-tile p, .urgent-card p, .tech-card p { color: var(--muted); font-size: .9375rem; }
.service-tile { display: block; color: inherit; }
.service-tile:hover { color: inherit; }
.urgent-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); }
.urgent-card p { flex: 1; margin-bottom: 22px !important; }
.benefit { padding: 8px 4px 8px 24px; border-left: 2px solid var(--border); transition: border-color .25s; }
.benefit:hover { border-color: var(--primary); }
.benefit__num { display: block; font-size: .875rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; font-family: var(--mono); }
.benefit p { color: var(--muted); margin: 0; }

/* Services page */
.service-list { display: grid; gap: 20px; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; }
.service-row h2 { font-size: 1.375rem; margin-bottom: 4px; }
.service-row__lead { color: var(--dark-2); font-weight: 500; }
.service-row p { color: var(--muted); }
@media (max-width: 767px) { .service-row { grid-template-columns: 1fr; gap: 8px; } .service-row .btn { justify-self: start; } }

/* ==========================================================================
   Technology explorer
   ========================================================================== */
.tech-explorer__controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search-box { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; max-width: 380px; padding: 0 16px; min-height: 50px; background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 76, 241, .12); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--dark); padding: 12px 0; }
.search-box--hero { max-width: 520px; margin: 24px auto 0; padding-right: 6px; }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--text); font-weight: 500; font-size: .875rem; transition: all .2s; }
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.tech-card { display: flex; flex-direction: column; }
.tech-card.is-hidden { display: none; }
.tech-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tech-card__name { margin-bottom: 6px; }
.tech-card__name a { color: var(--dark); }
.tech-card p { flex: 1; }
.tech-card__logo { width: 44px; height: 44px; object-fit: contain; }
.monogram { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 700; font-size: .875rem; letter-spacing: -.02em; color: var(--white); background: var(--primary); }
.monogram--development { background: linear-gradient(135deg, #6C4CF1, #8B5CF6); }
.monogram--cloud { background: linear-gradient(135deg, #2563EB, #38BDF8); }
.monogram--data { background: linear-gradient(135deg, #0D9488, #2DD4BF); }
.monogram--enterprise { background: linear-gradient(135deg, #D97706, #FBBF24); }
.monogram--qa { background: linear-gradient(135deg, #DB2777, #F472B6); }
.monogram--security { background: linear-gradient(135deg, #1F2937, #4B5563); }
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding-inline: 8px; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary); color: var(--primary); font-weight: 700; font-family: var(--mono); position: relative; box-shadow: 0 0 0 8px var(--white); }
.section--tint .step__num { box-shadow: 0 0 0 8px var(--light); }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--border) 0 8px, transparent 8px 16px); }
  .step { text-align: left; padding: 0 0 36px 84px; min-height: 80px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { align-items: stretch; max-width: 1080px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); }
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan__desc { color: var(--muted); min-height: 3.2em; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 8px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan__price small { flex-basis: 100%; color: var(--muted); font-size: .8125rem; }
.plan__price strong { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--dark); line-height: 1; }
.plan__price .plan__custom { font-size: 1.75rem; }
.plan__price span { color: var(--muted); }
.plan .check-list { flex: 1; margin-bottom: 28px; }
.disclaimer { text-align: center; color: var(--muted); font-size: .875rem; margin: 28px auto 0; max-width: 60ch; }

/* ==========================================================================
   Time zones
   ========================================================================== */
.tz { max-width: 980px; margin-inline: auto; text-align: center; }
.tz__caption { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dark-2); margin-bottom: 20px; }
.tz__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tz-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 12px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all .25s var(--ease); }
.tz-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.tz-card[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 4px rgba(108, 76, 241, .12); }
.tz-card__code { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--primary); }
.tz-card__time { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--dark); letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.tz-card__name { font-weight: 600; color: var(--dark-2); font-size: .9375rem; }
.tz-card__cities { font-size: .75rem; color: var(--muted); }
.tz__status { margin: 24px 0 0; color: var(--muted); min-height: 1.65em; }
@media (max-width: 719px) { .tz__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Dark CTA
   ========================================================================== */
.cta-dark { background: var(--dark); color: #D1D5DB; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-dark::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60%; width: 900px; height: 900px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 76, 241, .38), transparent 70%); }
.cta-dark h2 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta-dark p { font-size: 1.125rem; max-width: 52ch; margin: 0 auto 32px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.testimonial__headline { margin: 0; font-weight: 700; color: var(--dark); letter-spacing: -.01em; }
.testimonial blockquote { margin: 0; flex: 1; color: var(--dark-2); }
.stars { color: var(--accent); display: flex; gap: 2px; }
.stars .icon { fill: currentColor; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .875rem; }
.testimonial small { display: block; color: var(--muted); font-size: .8125rem; }
.demo-badge { align-self: flex-start; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; color: #92400E; background: #FEF3C7; border: 1px dashed #F59E0B; }
.demo-badge--inline { display: inline-block; margin-bottom: 16px; }

/* ==========================================================================
   Accordion
   ========================================================================== */
.accordion { display: grid; gap: 12px; }
.accordion__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.accordion__item:has([aria-expanded="true"]) { border-color: #D6CDFB; box-shadow: var(--shadow); }
.accordion__heading { margin: 0; font-size: 1rem; }
.accordion__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 1.0625rem; color: var(--dark); }
.accordion__trigger .icon { color: var(--primary); transition: transform .25s var(--ease); }
.accordion__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 24px 22px; color: var(--text); }
.accordion__body p:last-child { margin: 0; }

/* ==========================================================================
   Lead form
   ========================================================================== */
.form-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-split__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.form-split__copy > p { color: var(--muted); font-size: 1.0625rem; }
@media (max-width: 959px) { .form-split { grid-template-columns: 1fr; } .form-split__copy { position: static; } }

.lead-form { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lead-form__title { font-size: 1.5rem; margin-bottom: 4px; }
.lead-form__intro { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-field--full { grid-column: 1 / -1; }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: .875rem; font-weight: 600; color: var(--dark-2); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.form-control { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--dark); background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; appearance: none; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-control::placeholder { color: #9CA3AF; }
.form-control:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 76, 241, .12); }
.has-error .form-control { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8125rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.form-alert { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.form-alert ul { margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lead-form__actions .btn { flex: 1 1 220px; }
.lead-form__note { display: flex; gap: 8px; align-items: flex-start; font-size: .8125rem; color: var(--muted); margin: 16px 0 0; }
.lead-form__note .icon { margin-top: 3px; }

/* Contact */
.contact-aside { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; color: inherit; padding: 18px 20px; }
.contact-card .icon-tile { margin: 0; }
.contact-card strong { display: block; color: var(--dark); }
.contact-card small { color: var(--muted); font-size: .875rem; }
.contact-cats h2 { font-size: 1.0625rem; }
.contact-cats .chip-row { margin-bottom: 16px; }
.form-split--contact { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 959px) { .form-split--contact { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page hero, breadcrumbs, prose
   ========================================================================== */
.breadcrumbs { background: var(--light); font-size: .8125rem; border-bottom: 1px solid var(--border); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-block: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #D1D5DB; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--dark-2); font-weight: 500; }

.page-hero { background: linear-gradient(180deg, var(--light), var(--white)); padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -340px; width: 800px; height: 600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 76, 241, .13), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 22ch; margin-inline: auto; }
.page-hero .lead { margin: 16px auto 0; }
.page-hero .btn-row { margin-top: 32px; }

.prose { font-size: 1.0625rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul:not(.check-list), .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose ul:not(.check-list) { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose a:not(.link-arrow):not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose pre { background: var(--dark); color: #E5E7EB; padding: 18px; border-radius: 12px; overflow-x: auto; font: .875rem/1.7 var(--mono); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--primary-soft); padding: 2px 6px; border-radius: 6px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--primary); color: var(--dark-2); }
/* Article tables: comparison tables are central to the blog content, and scroll on phones. */
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .9375rem; }
.prose thead th { text-align: left; background: var(--light); border-bottom: 2px solid var(--border); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; color: var(--dark); }
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 599px) { .prose table { font-size: .875rem; min-width: 480px; } }

.answer-block { background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(22px, 3vw, 36px); }
.answer-block h2 { font-size: 1.5rem; }
.answer-block p { font-size: 1.125rem; color: var(--dark-2); margin: 0; }
.capability { display: flex; gap: 14px; align-items: flex-start; }
.capability .icon { color: var(--secondary); margin-top: 3px; }
.capability p { margin: 0; color: var(--dark-2); font-weight: 500; }
.problem-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.problem-list .icon { color: var(--accent); margin-top: 4px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 959px) { .blog-layout { grid-template-columns: minmax(0, 1fr); } }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--primary-soft), #DBEAFE); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--primary-dark); letter-spacing: -.01em; }
.post-card__body { padding: 22px; }
.post-card h3 { font-size: 1.125rem; line-height: 1.35; }
.post-card h3 a { color: var(--dark); }
.post-card h3 a:hover { color: var(--primary); }
.post-card__body > p:last-child { color: var(--muted); font-size: .9375rem; }
.post-meta { font-size: .8125rem; color: var(--muted); margin-bottom: 10px; }
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 959px) { .sidebar { position: static; } }
.sidebar__block h2 { font-size: 1rem; margin-bottom: 12px; }
.sidebar__block li { padding-block: 7px; font-size: .9375rem; }
.sidebar__block li + li { border-top: 1px solid var(--border); }
.sidebar__block a { color: var(--dark-2); }
.sidebar__block a:hover, .sidebar__block a[aria-current] { color: var(--primary); }
.post__image { border-radius: var(--radius); margin-bottom: 32px; width: 100%; }
.post__techs { margin-block: 40px 24px; background: var(--light); }
.post__techs h2 { font-size: 1.25rem; }
.post__techs .chip-row { margin-bottom: 18px; }
.post__related-title { margin-top: 48px; font-size: 1.5rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; color: var(--muted); font-size: .875rem; }
.result-note { color: var(--muted); margin-bottom: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: #9CA3AF; padding-block: clamp(48px, 6vw, 80px) 28px; font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 32px; }
.site-footer__brand p { margin-block: 16px; max-width: 34ch; }
.site-footer__title { color: var(--white); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer__title--spaced { margin-top: 28px; }
.site-footer li { padding-block: 5px; }
.site-footer a { color: #D1D5DB; transition: color .15s; }
.site-footer a:hover { color: var(--white); }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.social-list { display: flex; gap: 16px; margin-top: 12px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { font-size: .75rem; color: #6B7280; margin: 16px 0 0; max-width: 90ch; }
@media (max-width: 899px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating WhatsApp, mobile CTA, back-to-top, toasts
   ========================================================================== */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--whatsapp); color: var(--white); font-weight: 600; font-size: .9375rem; box-shadow: 0 12px 28px -8px rgba(15, 122, 64, .6); animation: wa-pulse 3s infinite; transition: transform .2s var(--ease), background-color .2s; }
.wa-float:hover { color: var(--white); background: var(--whatsapp-dark); transform: translateY(-3px); }
@keyframes wa-pulse { 0% { box-shadow: 0 12px 28px -8px rgba(15, 122, 64, .6), 0 0 0 0 rgba(15, 122, 64, .45); } 60%, 100% { box-shadow: 0 12px 28px -8px rgba(15, 122, 64, .6), 0 0 0 16px rgba(15, 122, 64, 0); } }
.mobile-cta { display: none; }
.back-to-top { position: fixed; right: 30px; bottom: 96px; z-index: 89; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--dark); box-shadow: var(--shadow); transition: transform .2s var(--ease), color .2s; }
.back-to-top:hover { transform: translateY(-3px); color: var(--primary); }

@media (max-width: 767px) {
  .wa-float { display: none; }
  .mobile-cta { display: block; position: fixed; inset: auto 0 0 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
  .mobile-cta .btn { min-height: 50px; font-size: 1rem; }
  body { padding-bottom: 72px; }
  .back-to-top { right: 16px; bottom: 88px; }
}

.toast-region { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; left: 16px; z-index: 150; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; max-width: 420px; padding: 14px 18px; border-radius: 12px; background: var(--dark); color: var(--white); font-size: .9375rem; font-weight: 500; box-shadow: var(--shadow-lg); border-left: 4px solid var(--primary); animation: toast-in .35s var(--ease) both; }
.toast--success { border-left-color: #34D399; }
.toast--error { border-left-color: #F87171; }
.toast.is-leaving { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

/* ==========================================================================
   Error pages
   ========================================================================== */
.error-page { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.error-page__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.05em; background: linear-gradient(100deg, var(--primary), #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-top: 12px; }
.error-page p { color: var(--muted); margin-bottom: 32px; }

/* ==========================================================================
   Scroll reveal + reduced motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .mobile-cta, .back-to-top, .cta-dark { display: none !important; }
}

/* Compact two-column tiles on phones (homepage services) */
@media (max-width: 559px) {
  .grid--compact { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid--compact .card { padding: 16px; }
  .grid--compact .card p { display: none; }
  .grid--compact h3 { font-size: .9375rem; margin: 0; }
}
@media (max-width: 359px) { .mobile-cta .btn { font-size: .875rem; white-space: nowrap; padding-inline: 12px; } }
