/*
  Tools Marketing SAS — style.css
  toolsmarketingsas.com · Bogotá, Colombia
  ============================================
*/

/* ================================================
   1. VARIABLES & DESIGN TOKENS
================================================ */
:root {
  --bg:          #ffffff;
  --bg2:         #f0fafb;
  --surface:     #ffffff;
  --surface2:    #e6f6f8;
  --border:      rgba(26,37,80,.2);
  --border-light:rgba(0,0,0,.08);

  --purple:      #1a2550;
  --purple-d:    #0f1838;
  --purple-l:    #1a2550;
  --orange:      #1597a1;
  --orange-l:    #0e6f77;
  --cyan:        #1fb5c0;
  --cyan-l:      #1597a1;
  --green:       #16a34a;
  --yellow:      #d97706;
  --red:         #dc2626;

  --text:        #141c3d;
  --muted:       #6b7280;
  --muted2:      #9ca3af;

  --font-h:      'Plus Jakarta Sans', system-ui, sans-serif;
  --font-b:      'Inter', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 8px 24px rgba(0,0,0,.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.12);
  --shadow-glow: 0 0 40px rgba(26,37,80,.2);
}

/* ================================================
   2. RESET & BASE
================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.15; font-family: var(--font-h); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: rgba(26,37,80,.4); border-radius: 99px; }
::selection { background: rgba(26,37,80,.2); color: var(--purple); }

/* ================================================
   3. LAYOUT UTILITIES
================================================ */
.container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(5rem, 10vw, 8rem); }
.section--alt { background: var(--bg2); }
.section--surface { background: var(--surface); }

.tag {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .9rem;
  border-radius: 99px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(26,37,80,.12);
  border: 1px solid rgba(26,37,80,.35);
  color: var(--purple-l);
  margin-bottom: .75rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  margin-block: .5rem 1rem;
}
.section-header p { font-size: 1.05rem; color: var(--muted); max-width: 60ch; margin-inline: auto; }

.gradient-text {
  background: linear-gradient(135deg, #1fb5c0 0%, #1597a1 40%, #1a2550 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text--cyan {
  background: linear-gradient(135deg, #1fb5c0, #1a2550);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   4. BUTTONS
================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.875rem;
  border-radius: var(--radius);
  font-family: var(--font-h); font-weight: 700; font-size: 1rem;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,37,80,.35);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(26,37,80,.55); }

.btn--orange {
  background: linear-gradient(135deg, var(--orange), #0e6f77);
  color: #fff;
  box-shadow: 0 4px 20px rgba(21,151,161,.35);
}
.btn--orange:hover { box-shadow: 0 8px 32px rgba(21,151,161,.55); color: #fff; }

.btn--ghost {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(0,0,0,.08); }

.btn--cyan {
  background: linear-gradient(135deg, #0fae91, #7a18e0);
  color: #fff;
  box-shadow: 0 4px 20px rgba(138,16,240,.28);
}
.btn--cyan:hover { box-shadow: 0 8px 32px rgba(138,16,240,.45); color: #fff; }

.btn--sm { padding: .55rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn--xl { padding: 1.25rem 3rem; font-size: 1.15rem; border-radius: 16px; }

.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn--wa:hover { box-shadow: 0 8px 32px rgba(37,211,102,.5); color: #fff; }

/* ================================================
   5. NAVIGATION
================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 1.1rem 0;
  transition: background .4s, border-color .4s, padding .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: .75rem 0;
  box-shadow: 0 1px 24px rgba(0,0,0,.06);
}
.nav__inner {
  display: flex; align-items: center;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-h); font-weight: 900;
  font-size: 1.3rem; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: .2rem;
  flex-shrink: 0;
}
.nav__logo img { height: 46px; width: auto; transition: height .3s; }
.nav.scrolled .nav__logo img { height: 38px; }
@media (max-width: 480px) { .nav__logo img { height: 34px; } }
.nav__logo .dot { color: var(--orange); }
.nav__logo em { font-style: normal; font-size: .7em; color: var(--muted); font-weight: 600; margin-left: .25rem; }

.nav__links {
  display: flex; align-items: center; gap: 1.75rem;
  margin-left: auto;
}
.nav__links a {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  transition: color .2s;
  position: relative;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .nav__inner { gap: 1.25rem; }
  .nav__links { gap: 1.1rem; }
  .nav__logo img { height: 38px; }
  .nav__actions .btn--ghost { display: none; }
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--purple-l);
  transform: scaleX(0); transition: transform .25s var(--ease-out);
  border-radius: 99px;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex; align-items: center; gap: .65rem;
}
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 99px;
  transition: transform .3s, opacity .3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border-light);
  margin-top: .75rem;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.nav__mobile ul a {
  display: block; padding: .75rem 0;
  font-size: 1.05rem; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--border-light);
  transition: color .2s;
}
.nav__mobile ul a:hover { color: var(--text); }

/* ================================================
   6. STARS CANVAS
================================================ */
#stars-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ================================================
   7. HERO
================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero__glow--1 {
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(26,37,80,.3), transparent 70%);
  top: -20%; left: -15%;
  animation: glow-drift 9s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(21,151,161,.22), transparent 70%);
  bottom: 5%; right: -10%;
  animation: glow-drift 11s ease-in-out infinite alternate-reverse;
}
.hero__glow--3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(31,181,192,.18), transparent 70%);
  top: 35%; right: 22%;
  animation: glow-drift 7s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(35px, 22px) scale(1.1); }
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1.1rem;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 99px; margin-bottom: 1.5rem;
  font-size: .78rem; font-weight: 700; color: var(--green);
}
.hero__badge::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.6); }
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 900; letter-spacing: -.03em;
  line-height: 1.1; margin-bottom: 1.5rem;
}
.hero__desc {
  font-size: 1.1rem; color: var(--muted);
  line-height: 1.75; max-width: 50ch;
  margin-bottom: 2.5rem;
}
.hero__slogan {
  font-family: var(--font-h); font-size: 1.15rem; font-weight: 600;
  color: var(--purple); letter-spacing: .01em;
  margin: -.5rem 0 1.25rem; padding-left: .9rem;
  border-left: 3px solid var(--cyan);
}
.hero__slogan b { color: var(--orange); font-weight: 800; }
.hero__ctas { display: flex; gap: .875rem; flex-wrap: wrap; }

/* Pilares de marca */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: -1.5rem auto 3rem; max-width: 980px;
}
.pillar {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .9rem 1rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(31,181,192,.25);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-h); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--purple);
}
.pillar svg { width: 28px; height: 28px; color: var(--orange); flex-shrink: 0; }
@media (max-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; margin-top: 0; } }
.brand-card__pillar {
  display: inline-block; margin-bottom: .4rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hero__proof {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: #fff;
  margin-left: -9px;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof-text { font-size: .85rem; color: var(--muted); }
.hero__proof-text strong { color: var(--text); }

/* Dashboard visual */
.hero__visual { position: relative; }
.hero__dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26,37,80,.1);
  animation: float-y 5s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50%       { transform: translateY(-14px) rotate(.4deg); }
}
.dash-bar {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: .75rem;
}
.dash-dots { display: flex; gap: .35rem; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-title { font-size: .78rem; font-weight: 600; color: var(--muted); font-family: var(--font-h); }

.dash-body { padding: 1.5rem; }
.chart-bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 72px; margin-bottom: 1.25rem;
}
.chart-bar {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, var(--purple), var(--purple-l));
  opacity: 0; transform-origin: bottom;
  animation: bar-up .8s var(--ease-spring) both;
}
.chart-bar:nth-child(even) { background: linear-gradient(to top, var(--orange), var(--orange-l)); }
.chart-bar:nth-child(1)  { height: 42%; animation-delay: .1s; }
.chart-bar:nth-child(2)  { height: 68%; animation-delay: .2s; }
.chart-bar:nth-child(3)  { height: 52%; animation-delay: .3s; }
.chart-bar:nth-child(4)  { height: 83%; animation-delay: .4s; }
.chart-bar:nth-child(5)  { height: 71%; animation-delay: .5s; }
.chart-bar:nth-child(6)  { height: 93%; animation-delay: .6s; }
.chart-bar:nth-child(7)  { height: 78%; animation-delay: .7s; }
.chart-bar:nth-child(8)  { height: 100%; animation-delay: .8s; }
@keyframes bar-up {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}

.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .65rem; margin-bottom: 1rem; }
.d-stat {
  background: rgba(26,37,80,.06);
  border: 1px solid rgba(26,37,80,.12);
  border-radius: var(--radius-sm); padding: .7rem .8rem;
}
.d-stat__num { font-family: var(--font-h); font-size: 1.25rem; font-weight: 800; line-height: 1; }
.d-stat__label { font-size: .68rem; color: var(--muted); margin-top: 3px; }
.d-stat--g .d-stat__num { color: var(--green); }
.d-stat--p .d-stat__num { color: var(--purple-l); }
.d-stat--o .d-stat__num { color: var(--orange-l); }

.ai-bubble {
  display: flex; gap: .7rem; align-items: flex-start;
  background: rgba(26,37,80,.1);
  border: 1px solid rgba(26,37,80,.22);
  border-radius: var(--radius-sm); padding: .9rem;
}
.ai-icon {
  width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.ai-text { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.ai-text strong { color: var(--text); }
.cursor { animation: blink-cur 1s step-end infinite; }
@keyframes blink-cur { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Floating chips */
.hero__chip {
  position: absolute;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .5rem .9rem;
  font-size: .75rem; font-weight: 700; color: var(--purple-l);
  display: flex; align-items: center; gap: .45rem;
  box-shadow: var(--shadow-md);
  animation: chip-float var(--dur,4s) ease-in-out infinite;
}
@keyframes chip-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.hero__chip--1 { top: -1.5rem; left: -2rem; --dur:3.5s; }
.hero__chip--2 { bottom: 1.5rem; left: -2.5rem; --dur:5s; color: var(--orange-l); border-color: rgba(21,151,161,.3); }
.hero__chip--3 { top: 38%; right: -2rem; --dur:4.5s; color: var(--cyan-l); border-color: rgba(31,181,192,.3); }

/* ================================================
   8. TICKER
================================================ */
.ticker {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(26,37,80,.04);
  padding: 1.1rem 0; overflow: hidden;
}
.ticker__track {
  display: flex; gap: 2.5rem;
  animation: ticker-run 28s linear infinite;
  white-space: nowrap;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .825rem; font-weight: 600; color: var(--muted);
  flex-shrink: 0;
}
.ticker__sep { color: var(--border); font-size: 1.2rem; }
@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   9. BRANDS SECTION
================================================ */
.brands { background: var(--bg); }
.brands-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.brand-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 0;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.brand-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.brand-card__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--brand-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .08;
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,.1), var(--brand-shadow);
  border-color: var(--brand-border);
}

/* Markmelo */
.brand-card--markmelo {
  --brand-gradient: linear-gradient(90deg, #6401B5, #a78bfa);
  --brand-dot: #a78bfa;
  --brand-border: rgba(100,1,181,.5);
  --brand-shadow: 0 0 60px rgba(100,1,181,.2);
}
/* Giomarketing */
.brand-card--gio {
  --brand-gradient: linear-gradient(90deg, #14c7a5, #8a10f0);
  --brand-dot: #14c7a5;
  --brand-border: rgba(20,199,165,.45);
  --brand-shadow: 0 0 60px rgba(138,16,240,.14);
}
/* Tools and Dev */
.brand-card--tools {
  --brand-gradient: linear-gradient(90deg, #1597a1, #1a2550);
  --brand-dot: #1fb5c0;
  --brand-border: rgba(21,151,161,.45);
  --brand-shadow: 0 0 60px rgba(21,151,161,.18);
}

.brand-card__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.brand-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-card__icon--img { background: #fff !important; padding: 6px; }
.brand-card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: rgba(26,37,80,.08);
  border: 1px solid rgba(26,37,80,.14);
  flex-shrink: 0;
}
.brand-card__ext {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); padding: .25rem .6rem;
  background: rgba(0,0,0,.05);
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.brand-card__name {
  font-family: var(--font-h); font-size: 1.7rem; font-weight: 900;
  letter-spacing: -.02em; margin-bottom: .35rem;
}
.brand-card__tagline {
  font-size: .9rem; font-weight: 600; color: var(--muted);
  margin-bottom: 1rem; line-height: 1.45;
}
.brand-card__desc {
  font-size: .875rem; color: var(--muted2);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.brand-card__list {
  display: flex; flex-direction: column; gap: .5rem;
  margin-bottom: 2rem; flex: 1;
}
.brand-card__list li {
  display: flex; align-items: center; gap: .55rem;
  font-size: .83rem; color: var(--muted);
}
.brand-card__list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-dot, var(--purple-l)); flex-shrink: 0;
}

/* ================================================
   10. SERVICES GRID
================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0 0, var(--ac, rgba(26,37,80,.12)), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--acb, rgba(26,37,80,.35)); box-shadow: var(--shadow-md); }
.svc-card:hover::before { opacity: 1; }
.svc-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(26,37,80,.18), rgba(79,70,229,.12));
  border-color: rgba(26,37,80,.3);
}

.svc-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  padding: .22rem .7rem;
  border-radius: 99px; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.svc-badge--hot { background: var(--orange); color: #fff; }
.svc-badge--ticket { background: linear-gradient(135deg, var(--purple), var(--purple-d)); color: #fff; }
.svc-badge--big { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; }

.svc-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
  background: rgba(26,37,80,.08); border: 1px solid rgba(26,37,80,.14);
}
.svc-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--purple-l);
  margin-bottom: .3rem;
}
.svc-title {
  font-family: var(--font-h); font-size: 1.2rem; font-weight: 800;
  margin-bottom: .75rem; line-height: 1.25;
}
.svc-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.svc-list {
  display: flex; flex-direction: column; gap: .4rem;
  margin-top: 1rem;
}
.svc-list li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--muted);
}
.svc-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--purple-l); flex-shrink: 0;
}

/* ================================================
   11. DEMO IA
================================================ */
.demo-ia__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.demo-ia__text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900; margin-block: .5rem 1rem;
}
.demo-ia__text p { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }

.chat-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chat-header {
  padding: 1rem 1.5rem;
  background: rgba(26,37,80,.12);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .75rem;
}
.chat-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  flex-shrink: 0;
}
.chat-name { font-family: var(--font-h); font-weight: 700; font-size: .9rem; }
.chat-online { font-size: .72rem; color: var(--green); display: flex; align-items: center; gap: .3rem; }
.chat-online::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--green); }

.chat-body {
  padding: 1.5rem; min-height: 280px;
  display: flex; flex-direction: column; gap: .875rem;
}
.msg {
  max-width: 88%; padding: .75rem 1rem;
  border-radius: 12px; font-size: .86rem; line-height: 1.55;
}
.msg--bot {
  background: rgba(26,37,80,.14);
  border: 1px solid rgba(26,37,80,.22);
  align-self: flex-start;
  animation: msg-in .4s var(--ease-spring) both;
}
.msg--user {
  background: rgba(21,151,161,.14);
  border: 1px solid rgba(21,151,161,.2);
  align-self: flex-end;
  animation: msg-in .4s var(--ease-spring) both;
}
@keyframes msg-in {
  from { opacity: 0; transform: scale(.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.msg--typing {
  display: flex; gap: .4rem; align-items: center;
  padding: .85rem 1rem; align-self: flex-start;
  background: rgba(26,37,80,.14);
  border: 1px solid rgba(26,37,80,.22);
  border-radius: 12px;
}
.tdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-l);
  animation: tdot-b .9s ease-in-out infinite;
}
.tdot:nth-child(2) { animation-delay: .15s; }
.tdot:nth-child(3) { animation-delay: .3s; }
@keyframes tdot-b {
  0%,100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(-6px); opacity: 1; }
}

/* ================================================
   12. STATS
================================================ */
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-item__num {
  font-family: var(--font-h); font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #0f1838, var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: block;
}
.stat-item__suf { color: var(--orange); -webkit-text-fill-color: var(--orange); }
.stat-item__label { font-size: .875rem; color: var(--muted); margin-top: .5rem; display: block; }

/* ================================================
   13. TECH DEMOS
================================================ */
.demos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.demo-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.demo-card:hover { border-color: rgba(26,37,80,.3); transform: translateY(-4px); }
.demo-card__tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-l); margin-bottom: .4rem; }
.demo-card h3 { font-family: var(--font-h); font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.demo-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }

/* SEO Chart */
.seo-kw {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .55rem;
}
.seo-kw__name { font-size: .77rem; color: var(--muted); width: 145px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-kw__track { flex: 1; height: 7px; background: rgba(0,0,0,.08); border-radius: 99px; overflow: hidden; }
.seo-kw__bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--purple-l)); width: 0; transition: width 1.5s var(--ease-out); }
.seo-kw__pos { font-size: .75rem; font-weight: 800; color: var(--green); width: 32px; text-align: right; flex-shrink: 0; }

/* Campaign metrics */
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.c-metric {
  background: rgba(26,37,80,.05);
  border: 1px solid rgba(26,37,80,.12);
  border-radius: var(--radius-sm); padding: .9rem;
}
.c-metric__label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.c-metric__val { font-family: var(--font-h); font-size: 1.4rem; font-weight: 800; margin-top: .2rem; }
.c-metric__delta { font-size: .72rem; margin-top: .2rem; }
.c-metric__delta--up { color: var(--green); }
.c-metric__delta--down { color: var(--red); }

/* Flow diagram */
.flow { display: flex; flex-direction: column; gap: .4rem; }
.flow-node {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(26,37,80,.12);
  background: rgba(26,37,80,.04);
  font-size: .8rem;
  animation: flow-in .5s var(--ease-spring) both;
}
@keyframes flow-in { from{transform:translateX(-16px);opacity:0} to{transform:none;opacity:1} }
.flow-node:nth-child(1){animation-delay:.05s}
.flow-node:nth-child(2){animation-delay:.15s}
.flow-node:nth-child(3){animation-delay:.25s}
.flow-node:nth-child(4){animation-delay:.35s}
.flow-node:nth-child(5){animation-delay:.45s}
.flow-node__icon { font-size: 1rem; flex-shrink: 0; }
.flow-node__label { flex: 1; font-weight: 600; }
.fstatus { font-size: .68rem; font-weight: 700; padding: .18rem .55rem; border-radius: 99px; }
.fstatus--ok  { background: rgba(34,197,94,.14); color: var(--green); }
.fstatus--run { background: rgba(26,37,80,.18); color: var(--purple-l); }

/* Code block */
.code-block {
  background: #0f1838; border: 1px solid rgba(26,37,80,.25);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem;
  font-family: 'Courier New', monospace; font-size: .77rem; line-height: 1.7;
  overflow-x: auto; color: #e2e8f0;
}
.ck { color: #c084fc; }  /* keyword */
.cf { color: #60a5fa; }  /* function */
.cs { color: #86efac; }  /* string */
.cn { color: #1fb5c0; }  /* number */
.cc { color: #6b7280; }  /* comment */

/* ================================================
   14. PROCESS
================================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 35px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  opacity: .5;
}
.p-step { text-align: center; position: relative; z-index: 1; }
.p-step__num {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff; font-family: var(--font-h); font-size: 1.35rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(26,37,80,.4);
  transition: transform .3s var(--ease-spring);
}
.p-step:hover .p-step__num { transform: scale(1.15); }
.p-step h4 { font-family: var(--font-h); font-size: .98rem; font-weight: 800; margin-bottom: .4rem; }
.p-step p { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ================================================
   15. INDUSTRIES
================================================ */
.ind-tabs {
  display: flex; gap: .65rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.ind-tab {
  padding: .55rem 1.35rem;
  border-radius: 99px; border: 1px solid var(--border-light);
  background: rgba(0,0,0,.04);
  font-size: .875rem; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.ind-tab.active, .ind-tab:hover {
  background: rgba(26,37,80,.18);
  border-color: rgba(26,37,80,.4);
  color: var(--purple-l);
}
.ind-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.ind-text h3 { font-family: var(--font-h); font-size: 1.7rem; font-weight: 900; margin-block: .4rem .9rem; }
.ind-text p { font-size: .975rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.ind-list { display: flex; flex-direction: column; gap: .6rem; }
.ind-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .875rem; color: var(--muted);
}
.ind-list li span { color: var(--purple-l); font-size: .95rem; flex-shrink: 0; margin-top: 1px; }

.ind-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
}
.ind-kpi {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem; background: rgba(26,37,80,.05);
  border-radius: var(--radius-sm);
}
.ind-kpi__label { font-size: .8rem; color: var(--muted); }
.ind-kpi__val { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; color: var(--green); }

/* ================================================
   16. TESTIMONIALS
================================================ */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(26,37,80,.3); }
.testi-stars { color: var(--yellow); letter-spacing: 2px; font-size: 1rem; }
.testi-text { font-size: .875rem; color: var(--muted); line-height: 1.8; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--av-bg, linear-gradient(135deg, var(--purple), var(--purple-d)));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 800; font-size: .875rem;
}
.testi-name { font-weight: 700; font-size: .875rem; }
.testi-role { font-size: .76rem; color: var(--muted); }

/* ================================================
   17. CTA SECTION
================================================ */
.cta-s {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #0f1838 0%, #1a2550 50%, #0f1838 100%);
  color: #fff;
}
.cta-s::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 450px;
  background: radial-gradient(ellipse, rgba(26,37,80,.32), transparent 70%);
  pointer-events: none;
}
.cta-s::after {
  content: ''; position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-s__inner { position: relative; z-index: 1; }
.cta-s h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900;
  line-height: 1.12; margin-block: .5rem 1rem;
}
.cta-s p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 55ch; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-s__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-contact {
  margin-top: 2.5rem; font-size: .875rem; color: rgba(255,255,255,.6);
}
.cta-contact a { color: #7fe3ea; font-weight: 700; transition: color .2s; }
.cta-contact a:hover { color: #fff; }
.cta-contact small { display: block; margin-top: .3rem; opacity: .7; }

/* ================================================
   18. FOOTER
================================================ */
.footer {
  background: var(--bg); border-top: 1px solid var(--border-light);
  padding-block: 4rem 2.5rem;
}
.footer__grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.footer__brand h3 { font-family: var(--font-h); font-size: 1.3rem; font-weight: 900; margin-bottom: .75rem; }
.footer__brand h3 .dot { color: var(--orange); }
.footer__brand h3 em { font-style: normal; font-size: .6em; color: var(--muted); font-weight: 600; margin-left: .25rem; }
.footer__logo { width: 280px; max-width: 100%; height: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .86rem; color: var(--muted2); line-height: 1.7; max-width: 30ch; margin-bottom: 1.5rem; }
.footer__brands-mini { display: flex; flex-direction: column; gap: .5rem; }
.fb-mini {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; color: var(--muted);
  transition: color .2s;
}
.fb-mini:hover { color: var(--text); }
.fb-mini span { font-size: .7rem; color: var(--muted2); font-weight: 400; }

.footer__col h4 { font-family: var(--font-h); font-size: .88rem; font-weight: 800; margin-bottom: 1.1rem; color: var(--text); }
.footer__col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer__col ul a { font-size: .84rem; color: var(--muted2); transition: color .2s; }
.footer__col ul a:hover { color: var(--text); }

.footer__bottom {
  padding-top: 2rem; border-top: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: var(--muted2);
}
.footer__bottom a { color: var(--purple); transition: color .2s; }
.footer__bottom a:hover { color: var(--purple-d); }

/* ================================================
   19. REVEAL ANIMATION
================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.d5 { transition-delay: .5s; }

/* ================================================
   20. RESPONSIVE
================================================ */
@media (max-width: 1200px) {
  .brands-grid { grid-template-columns: 1fr 1fr; }
  .brand-card--tools { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card--featured { grid-column: span 2; }
  .demos-grid { grid-template-columns: 1fr; }
  .demo-ia__inner { grid-template-columns: 1fr; }
  .ind-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn:not(.nav__hamburger) { display: none; }
  .nav__actions .btn--orange { display: inline-flex; }

  .brands-grid { grid-template-columns: 1fr; }
  .brand-card--tools { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card--featured { grid-column: span 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .cta-s__actions { flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .hero__ctas { align-items: stretch; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
}

/* ================================================
   PREGUNTAS FRECUENTES
================================================ */
.faq { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: .85rem; }
.faq__item {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 0 1.5rem;
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.faq__item[open] { border-color: var(--orange); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex-shrink: 0;
  font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; line-height: 1;
  color: var(--orange); transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { font-family: var(--font-h); font-size: 1.02rem; font-weight: 800; color: var(--text); }
.faq__item p { font-size: .92rem; color: var(--muted); line-height: 1.75; padding-bottom: 1.25rem; }

/* ================================================
   TIENDA
================================================ */
.store-search {
  display: flex; gap: .6rem; max-width: 680px; margin: 0 auto 2.5rem;
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
  padding: .5rem; box-shadow: var(--shadow-md);
}
.store-search input[type=text] {
  flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem;
  padding: .75rem 1rem; background: transparent; color: var(--text); min-width: 0;
}
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.store-card {
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 1.6rem; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.store-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #1597a1; }
.store-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(31,181,192,.12); color: #1597a1; margin-bottom: .35rem;
}
.store-card__icon svg { width: 24px; height: 24px; }
.store-card h3 { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; color: var(--text); }
.store-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.store-card__cta { font-size: .85rem; font-weight: 700; color: #1597a1; }
.store-foot { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 2.25rem; }
.store-foot small { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .store-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-search { flex-direction: column; }
  .store-search .btn { justify-content: center; }
}
