/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #001d6d;
  --navy-deep: #000d33;
  --blue: #305edd;
  --blue-light: #6f97ff;
  --violet: #3533cd;
  --white: #ffffff;
  --ink: #e9edf9;
  --muted: rgba(233, 237, 249, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --container: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--navy-deep);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

/* film grain overlay for texture */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor-following spotlight glow */
.cursor-spotlight {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 40%),
    rgba(111,151,255,.16), rgba(53,51,205,.06) 45%, transparent 70%);
  opacity: 0; transition: opacity .5s ease;
  mix-blend-mode: screen;
}
.cursor-spotlight.active { opacity: 1; }

/* ===== Custom cursor ===== */
body.custom-cursor-active { cursor: none; }
body.custom-cursor-active a, body.custom-cursor-active button,
body.custom-cursor-active .card, body.custom-cursor-active [role="button"] { cursor: none; }
body.custom-cursor-active input, body.custom-cursor-active textarea { cursor: text; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 1001;
  transform: translate(-100px, -100px); opacity: 0;
}
.cursor-dot {
  width: 7px; height: 7px; background: var(--blue-light);
  transition: opacity .3s ease, width .25s cubic-bezier(.16,.84,.44,1), height .25s cubic-bezier(.16,.84,.44,1), background .25s ease;
}
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(111,151,255,.55);
  transition: opacity .3s ease, width .3s cubic-bezier(.16,.84,.44,1), height .3s cubic-bezier(.16,.84,.44,1), border-color .3s ease, background .3s ease;
}
.cursor-dot.active, .cursor-ring.active { opacity: 1; }
.cursor-dot.hover { width: 0; height: 0; }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--blue-light); background: rgba(111,151,255,.12); }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; transition: transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(48, 94, 221, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(48, 94, 221, .5); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); transform: translateY(-3px); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c4c 100%);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .35);
  gap: 10px;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37, 211, 102, .5); }
.wsp-icon { width: 20px; height: 20px; flex-shrink: 0; }

.tag {
  display: inline-block; font-family: var(--ff-display); font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light);
  border: 1px solid rgba(111,151,255,.35); padding: 6px 16px; border-radius: 100px;
  background: rgba(111,151,255,.08);
}
.tag-light { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(0, 13, 51, .72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  padding: 14px 0;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; }
.nav-logo-img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(48,94,221,.6)); }
.nav-logo em { font-style: normal; color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: .92rem; font-weight: 500; }
.nav-links a:not(.nav-cta) { color: var(--muted); position: relative; transition: color .3s ease; }
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--blue-light);
  transition: width .3s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  padding: 9px 20px; border-radius: 100px; transition: all .3s ease;
}
.nav-cta:hover { background: var(--white); color: var(--navy); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 101; }
.nav-burger span { width: 24px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.nav-mobile {
  display: none; flex-direction: column; gap: 22px; padding: 26px 28px 30px;
  background: rgba(0, 13, 51, .96); backdrop-filter: blur(16px);
}
.nav-mobile a { font-size: 1rem; color: var(--muted); }
.nav-mobile a.nav-cta { color: var(--white); width: fit-content; }
.nav.menu-open .nav-mobile { display: flex; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 140px 24px 150px; text-align: center;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: saturate(1.05); opacity: 0; transition: opacity 1.1s ease;
}
.hero-video.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(48,94,221,.28), transparent 55%),
    linear-gradient(180deg, rgba(0,13,51,.55) 0%, rgba(0,13,51,.75) 45%, rgba(0,13,51,.96) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: gridDrift 10s linear infinite;
}
@keyframes gridDrift { 0% { background-position: 0 0; } 100% { background-position: 34px 34px; } }
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-content { position: relative; z-index: 2; max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  font-family: var(--ff-display); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 18px;
}
.hero-logo-canvas { display: block; margin: 0 auto 8px; max-width: 100%; height: auto; }
.hero-title {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.08; letter-spacing: -.01em; margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(100deg, var(--blue-light), var(--blue) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glitch-char { display: inline; }
.grad-text .glitch-char {
  background-image: inherit; -webkit-background-clip: inherit; background-clip: inherit; color: inherit;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; left: -1.5px; top: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light); animation: scrollDot 2.2s ease-in-out infinite; }
@keyframes scrollDot { 0% { top: -10px; } 60% { top: 40px; } 100% { top: 40px; opacity: 0; } }

/* ===== Marquee ===== */
.marquee {
  background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 18px 0; position: relative; z-index: 3;
}
.marquee-track {
  display: flex; gap: 14px; white-space: nowrap; width: max-content;
  font-family: var(--ff-display); font-size: .95rem; letter-spacing: .04em; color: var(--muted);
  animation: marquee 26s linear infinite;
}
.marquee-track span:nth-child(odd) { color: var(--blue-light); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Stats ===== */
.stats { background: var(--navy-deep); padding: 80px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stat-value {
  font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem);
  background: linear-gradient(100deg, var(--blue-light), var(--blue) 45%, var(--violet), var(--blue-light));
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: statGradientFlow 5s ease-in-out infinite, statGlow 2.6s ease-in-out infinite;
}
.stat-value-icon { display: flex; align-items: center; justify-content: center; height: 1em; }
.stat-bolt {
  display: inline-block; width: 48px; height: 48px;
  background: linear-gradient(100deg, var(--blue-light), var(--blue) 45%, var(--violet), var(--blue-light));
  background-size: 250% auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7l1-8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7l1-8Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  animation: statGradientFlow 5s ease-in-out infinite, statGlow 2.6s ease-in-out infinite;
}
.stat-item p { color: var(--muted); font-size: .92rem; max-width: 260px; }

@keyframes statGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes statGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(111,151,255,.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(111,151,255,.65)); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-value, .stat-bolt { animation: none; filter: drop-shadow(0 0 10px rgba(111,151,255,.35)); }
}

/* ===== Section base ===== */
.section { position: relative; padding: 120px 0; background: var(--navy-deep); }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section-head h2 { font-family: var(--ff-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.2; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Services cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 20px; padding: 34px 26px;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), border-color .45s ease, background .45s ease;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.card:hover { transform: translateY(-8px); border-color: rgba(111,151,255,.5); background: linear-gradient(160deg, rgba(48,94,221,.14), rgba(255,255,255,.02)); }
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover::before { opacity: 1; }
.card-icon, .card h3, .card p, .card-more { position: relative; z-index: 1; }
.card { cursor: pointer; }
.card:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; }
.card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: .82rem; font-weight: 600; color: var(--blue-light); opacity: .85;
  transition: gap .3s cubic-bezier(.16,.84,.44,1), opacity .3s ease;
}
.card-more svg { width: 14px; height: 14px; transition: transform .3s cubic-bezier(.16,.84,.44,1); }
.card:hover .card-more, .card:focus-visible .card-more { gap: 10px; opacity: 1; }
.card:hover .card-more svg, .card:focus-visible .card-more svg { transform: translateX(2px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(111,151,255,.12); color: var(--blue-light); margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--ff-display); font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--muted); font-size: .92rem; }

/* ===== Portafolio ===== */
.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { cursor: default; }
.portfolio-card:hover { transform: translateY(-8px); }
.portfolio-badge {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-light); background: rgba(111,151,255,.12); border: 1px solid rgba(111,151,255,.3);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 16px;
}
.portfolio-mock { margin-bottom: 20px; padding: 16px; }
.portfolio-card h3 { font-size: 1.05rem; }

/* Shop grid mockup — Tienda Online */
.mock-shop { display: flex; flex-direction: column; gap: 16px; }
.mock-shop-top { display: flex; align-items: center; justify-content: space-between; }
.mock-shop-cart { width: 26px; height: 22px; border-radius: 5px; background: rgba(255,255,255,.14); display: block; }
.mock-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-shop-item { display: flex; flex-direction: column; gap: 8px; }
.mock-shop-thumb { height: 46px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: block; }
.mock-shop-price { height: 8px; width: 40%; border-radius: 5px; background: linear-gradient(90deg, var(--blue-light), var(--blue)); display: block; }

/* ===== Tecnologias / Stack ===== */
.stack-hint { text-align: center; color: var(--muted); font-size: .95rem; margin: -8px 0 26px; }
.stack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start; }
.stack-item {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 28px 16px;
  color: inherit; font: inherit; cursor: pointer; width: 100%;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), border-color .4s ease, background .4s ease;
}
.stack-item:hover { transform: translateY(-6px); border-color: rgba(111,151,255,.45); background: rgba(255,255,255,.07); }
.stack-item:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.stack-item.open { border-color: rgba(111,151,255,.45); background: rgba(255,255,255,.06); }
.stack-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(111,151,255,.12); color: var(--blue-light);
}
.stack-icon svg { width: 24px; height: 24px; }
.stack-item span { font-family: var(--ff-display); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stack-chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .35s ease; }
.stack-item.open .stack-chevron { transform: rotate(180deg); color: var(--blue-light); }
.stack-desc {
  max-height: 0; overflow: hidden; opacity: 0; margin: 0;
  color: var(--muted); font-size: .86rem; line-height: 1.55; text-align: center;
  transition: max-height .45s cubic-bezier(.16,.84,.44,1), opacity .35s ease, margin-top .35s ease;
}
.stack-desc strong { color: var(--text); font-weight: 600; }
.stack-item.open .stack-desc { max-height: 260px; opacity: 1; margin-top: 4px; }

/* ===== Planes y precios ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 22px; padding: 38px 30px;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), border-color .4s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(111,151,255,.4); }
.price-featured { border-color: rgba(111,151,255,.55); background: linear-gradient(160deg, rgba(48,94,221,.16), rgba(255,255,255,.02)); }
.price-tag {
  position: absolute; top: -14px; left: 30px; font-family: var(--ff-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet)); padding: 6px 16px; border-radius: 100px;
}
.price-card h3 { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; }
.price-desc { color: var(--muted); font-size: .9rem; min-height: 42px; }
.price-amount { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.price-from { font-family: var(--ff-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.price-currency { font-family: var(--ff-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-ref { margin-top: -10px; font-size: .74rem; color: var(--blue-light); opacity: .85; font-style: italic; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { list-style: none; position: relative; padding-left: 22px; color: var(--muted); font-size: .9rem; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: #25d366; font-weight: 700; }
.price-card .btn { align-self: flex-start; margin-top: 6px; }
.price-disclaimer {
  display: flex; align-items: flex-start; gap: 14px; max-width: 720px; margin: 34px auto 0;
  background: rgba(111,151,255,.08); border: 1px solid rgba(111,151,255,.3); border-radius: 16px; padding: 18px 22px;
}
.price-disclaimer svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue-light); margin-top: 2px; }
.price-disclaimer p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.price-disclaimer strong { color: var(--white); }
.price-disclaimer a { color: var(--blue-light); text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px;
  padding: 6px 24px; transition: border-color .3s ease, background .3s ease;
}
.faq-item[open] { border-color: rgba(111,151,255,.4); background: rgba(255,255,255,.06); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid var(--blue-light); border-bottom: 2px solid var(--blue-light);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { color: var(--muted); font-size: .92rem; line-height: 1.7; padding-bottom: 20px; }

/* ===== Process ===== */
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-track::before {
  content: ''; position: absolute; top: 20px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  filter: drop-shadow(0 0 6px rgba(111,151,255,.28));
}
.process-track::after {
  content: ''; position: absolute; top: 20px; left: 5%; right: 5%; height: 2px; margin-top: -.5px;
  pointer-events: none; border-radius: 100px;
  background: linear-gradient(90deg, transparent 0%, transparent 30%, #dfe9ff 48%, var(--blue-light) 50%, #dfe9ff 52%, transparent 70%, transparent 100%);
  background-size: 40% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 0 8px rgba(111,151,255,.9)) drop-shadow(0 0 18px rgba(111,151,255,.5));
  animation: processLineTravel 4s ease-in-out infinite;
}
@keyframes processLineTravel {
  0%, 8% { background-position: -45% 0; }
  92%, 100% { background-position: 145% 0; }
}
.process-step { position: relative; padding: 0 20px; text-align: left; }
.process-num {
  font-family: var(--ff-display); font-size: .85rem; font-weight: 700; color: var(--navy-deep);
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), var(--blue)); margin-bottom: 22px;
  box-shadow: 0 0 0 6px var(--navy-deep);
  position: relative; z-index: 1;
  animation: processNumPulse 4s ease-in-out infinite;
}
.process-step:nth-child(1) .process-num { animation-delay: 0s; }
.process-step:nth-child(2) .process-num { animation-delay: 1s; }
.process-step:nth-child(3) .process-num { animation-delay: 2s; }
.process-step:nth-child(4) .process-num { animation-delay: 3s; }
@keyframes processNumPulse {
  0%, 85%, 100% { box-shadow: 0 0 0 6px var(--navy-deep), 0 0 0 0 rgba(111,151,255,0); }
  15% { box-shadow: 0 0 0 6px var(--navy-deep), 0 0 22px 4px rgba(111,151,255,.6); }
}
.process-step h3 { font-family: var(--ff-display); font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.process-step p { color: var(--muted); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .process-track::after { animation: none; opacity: 0; }
  .process-num { animation: none; }
}

/* ===== Por que elegirnos ===== */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.why-intro { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.why-intro h2 { font-family: var(--ff-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; line-height: 1.2; }
.why-intro p { color: var(--muted); font-size: 1.02rem; }
.why-list { display: flex; flex-direction: column; gap: 26px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.35); color: #25d366;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.why-item h3 { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: .92rem; }

/* ===== Mision / Vision ===== */
.mv { background: var(--navy); overflow: hidden; }
.mv-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(circle at 15% 30%, rgba(111,151,255,.22), transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(53,51,205,.28), transparent 50%);
}
.mv > .container { position: relative; z-index: 1; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); border-radius: 24px;
  padding: 44px; backdrop-filter: blur(6px);
}
.mv-card .tag { margin-bottom: 20px; }
.mv-card p { font-size: 1.05rem; color: var(--ink); line-height: 1.75; }

.values-head { text-align: center; margin: 64px 0 32px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  padding: 30px 22px; text-align: center;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), border-color .4s ease, background .4s ease;
}
.value-item:hover { transform: translateY(-6px); border-color: rgba(111,151,255,.45); background: rgba(255,255,255,.07); }
.value-icon {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 12px;
  background: rgba(255,255,255,.09); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; }
.value-item h3 { font-family: var(--ff-display); font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.value-item p { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.6; }

/* ===== CTA ===== */
.cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
.cta p { color: var(--muted); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.cta-divider {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 420px;
  margin: 6px auto; color: var(--muted); font-size: .82rem;
}
.cta-divider::before, .cta-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.15); }

.contact-form { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.form-field input, .form-field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  padding: 12px 16px; color: var(--white); font-size: .95rem; font-family: var(--ff-body); resize: none;
  transition: border-color .25s ease, background .25s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-light); background: rgba(255,255,255,.09); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-submit { align-self: center; min-width: 220px; }
.form-submit[disabled] { opacity: .65; cursor: not-allowed; }
.form-submit[disabled]:hover { transform: none; box-shadow: 0 8px 30px rgba(48, 94, 221, .35); }
.form-status { text-align: center; font-size: .88rem; min-height: 1.3em; margin: 0; }
.form-status.success { color: #25d366; }
.form-status.error { color: #ff8a8a; }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Legal pages ===== */
.legal-page { padding-top: 160px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; margin: 20px 0 8px; }
.legal-updated { color: var(--muted); font-size: .85rem; margin-bottom: 40px; }
.legal-content h2 { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; margin: 34px 0 12px; }
.legal-content p { color: var(--muted); font-size: .98rem; line-height: 1.8; }
.legal-content a { color: var(--blue-light); text-decoration: underline; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-direction: column; }
.footer-logo { width: 30px; height: 30px; opacity: .8; }
.footer p { color: var(--muted); font-size: .85rem; }
.footer-nav { display: flex; align-items: center; gap: 22px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.footer-nav a { transition: color .3s ease; }
.footer-nav a:hover { color: var(--blue-light); }
.footer-contact { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.footer-contact a { transition: color .3s ease; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-dot { opacity: .5; }
.footer-legal { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; justify-content: center; opacity: .75; }
.footer-legal a { transition: color .3s ease; }
.footer-legal a:hover { color: var(--blue-light); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 998;
  max-width: 620px; margin: 0 auto;
  background: rgba(0, 13, 51, .92); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.15); border-radius: 18px;
  padding: 22px 26px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.16,.84,.44,1), opacity .5s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.cookie-banner a { color: var(--blue-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; }
.cookie-actions .btn { padding: 10px 22px; font-size: .85rem; }
@media (max-width: 520px) {
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* Keep the chat button clear of the cookie banner while both are visible */
body.cookie-visible .chat-widget { bottom: var(--chat-lift, 210px); }

/* ===== Chat widget ===== */
/* pointer-events: none en el contenedor para que sus zonas vacías (el panel
   cerrado sigue ocupando layout) NO tapen los clics/toques de las tarjetas que
   quedan debajo en móvil. Solo el botón y el panel abierto reciben eventos. */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 997; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; transition: bottom .35s cubic-bezier(.16,.84,.44,1); pointer-events: none; }

.chat-toggle {
  pointer-events: auto;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--violet));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(48,94,221,.5);
  transition: transform .3s cubic-bezier(.16,.84,.44,1), box-shadow .3s ease;
  position: relative;
}
.chat-toggle:hover { transform: scale(1.06); box-shadow: 0 14px 40px rgba(48,94,221,.65); }
.chat-toggle svg { width: 26px; height: 26px; position: absolute; transition: opacity .25s ease, transform .25s ease; }
.chat-icon-close { opacity: 0; transform: rotate(-45deg) scale(.7); }
.chat-widget.open .chat-icon-open { opacity: 0; transform: rotate(45deg) scale(.7); }
.chat-widget.open .chat-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.chat-toggle::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(111,151,255,.5); animation: chatPulse 2.6s ease-out infinite;
}
@keyframes chatPulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

.chat-panel {
  width: min(370px, 88vw); height: min(560px, 70vh); max-height: 70vh;
  background: rgba(0, 13, 51, .97); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  transform: scale(.9) translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.16,.84,.44,1), opacity .3s ease;
}
.chat-widget.open .chat-panel { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }

.chat-header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(48,94,221,.18), transparent); }
.chat-avatar { width: 34px; height: 34px; flex-shrink: 0; }
.chat-header-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.chat-header-text strong { font-family: var(--ff-display); font-size: .92rem; }
.chat-status { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #25d366; display: inline-block; box-shadow: 0 0 6px #25d366; }
.chat-close { background: none; border: none; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; transition: color .2s ease; }
.chat-close:hover { color: var(--white); }

.chat-messages { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 10px; }

.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .87rem; line-height: 1.55; animation: msgIn .3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border-bottom-right-radius: 4px; }
.chat-msg.bot p { color: var(--ink); }
.chat-msg a { color: var(--blue-light); text-decoration: underline; }

.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: rgba(255,255,255,.07); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typingDot 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-chip {
  background: rgba(111,151,255,.1); border: 1px solid rgba(111,151,255,.35); color: var(--blue-light);
  font-size: .78rem; padding: 7px 13px; border-radius: 100px; cursor: pointer; transition: all .25s ease;
  font-family: var(--ff-body);
}
.chat-chip:hover { background: rgba(111,151,255,.2); border-color: var(--blue-light); }

.chat-input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat-input-row input {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 100px;
  padding: 11px 16px; color: var(--white); font-size: .87rem; font-family: var(--ff-body);
}
.chat-input-row input::placeholder { color: var(--muted); }
.chat-input-row input:focus { outline: none; border-color: var(--blue-light); }
.chat-send {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: var(--white);
  display: flex; align-items: center; justify-content: center; transition: transform .25s ease;
}
.chat-send:hover { transform: scale(1.08); }
.chat-send svg { width: 17px; height: 17px; }

/* Lead form inside chat */
.chat-lead-form { display: flex; flex-direction: column; gap: 10px; }
.chat-lead-form input, .chat-lead-form textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  padding: 9px 12px; color: var(--white); font-size: .85rem; font-family: var(--ff-body); resize: none;
}
.chat-lead-form input::placeholder, .chat-lead-form textarea::placeholder { color: var(--muted); }
.chat-lead-form input:focus, .chat-lead-form textarea:focus { outline: none; border-color: var(--blue-light); }
.chat-lead-method { display: flex; gap: 8px; }
.chat-lead-method button {
  flex: 1; padding: 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: transparent;
  color: var(--muted); font-size: .78rem; cursor: pointer; transition: all .2s ease; font-family: var(--ff-body);
}
.chat-lead-method button.active { background: rgba(111,151,255,.18); border-color: var(--blue-light); color: var(--white); }
.chat-lead-submit {
  display: flex; gap: 8px;
}
.chat-lead-submit button {
  flex: 1; padding: 9px; border-radius: 10px; border: none; cursor: pointer; font-size: .8rem; font-weight: 600;
  font-family: var(--ff-body); transition: transform .2s ease;
}
.chat-lead-submit button:hover { transform: translateY(-2px); }
.chat-lead-submit .wa-btn { background: linear-gradient(135deg, #25d366, #128c4c); color: #fff; }
.chat-lead-submit .mail-btn { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }

@media (max-width: 480px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-panel { width: 92vw; height: 72vh; }
  .chat-toggle { width: 54px; height: 54px; }
}

/* ===== Service preview modal ===== */
.service-modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.service-modal.open { opacity: 1; pointer-events: auto; }
.service-modal-backdrop { position: absolute; inset: 0; background: rgba(0,8,30,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.service-modal-panel {
  position: relative; z-index: 1; width: min(720px, 100%); max-height: 88vh; overflow-y: auto;
  background: linear-gradient(160deg, rgba(0,29,109,.95), rgba(0,13,51,.98));
  border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 44px;
  transform: scale(.94) translateY(16px); transition: transform .4s cubic-bezier(.16,.84,.44,1);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.service-modal.open .service-modal-panel { transform: scale(1) translateY(0); }
.service-modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: 1.3rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.service-modal-close:hover { background: rgba(255,255,255,.18); }
.service-modal-body .tag { margin-bottom: 16px; }
.service-modal-body h3 { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; margin-bottom: 10px; }
.service-modal-body > p { color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.mock-frame { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }

/* Browser mockup — Desarrollo Web */
.mock-browser { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #00133f; }
.mock-browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-browser-bar .dot.red { background: #ff6b6b; }
.mock-browser-bar .dot.yellow { background: #ffd166; }
.mock-browser-bar .dot.green { background: #25d366; }
.mock-url { margin-left: 8px; font-size: .72rem; color: var(--muted); background: rgba(255,255,255,.06); padding: 4px 12px; border-radius: 100px; }
.mock-browser-body { padding: 24px; }
.mock-nav-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mock-logo-sq { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--blue-light), var(--violet)); }
.mock-nav-links { display: flex; gap: 10px; }
.mock-nav-links span { width: 30px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); display: block; }
.mock-hero-block { text-align: center; padding: 6px 10px 28px; }
.mock-bar { border-radius: 6px; background: linear-gradient(90deg, rgba(111,151,255,.55), rgba(111,151,255,.18)); display: block; }
.mock-hero-block .mock-bar.title { height: 14px; width: 68%; margin: 0 auto 10px; }
.mock-hero-block .mock-bar.sub { height: 8px; width: 46%; margin: 0 auto 20px; opacity: .55; }
.mock-pill { height: 26px; width: 130px; margin: 0 auto; border-radius: 100px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.mock-tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tri-grid span { height: 58px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: block; }

/* UI kit mockup — Diseño UI/UX */
.mock-uikit { display: flex; flex-direction: column; gap: 20px; }
.mock-uikit-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mock-swatches span { width: 40px; height: 40px; border-radius: 10px; display: block; }
.mock-type-h { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; color: #fff; }
.mock-type-p { font-size: 1.6rem; color: var(--muted); }
.mock-uikit-btn { height: 34px; border-radius: 100px; display: block; }
.mock-uikit-btn.primary { width: 112px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.mock-uikit-btn.ghost { width: 112px; border: 1.5px solid rgba(255,255,255,.32); }
.mock-uikit-card { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.mock-uikit-card-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(111,151,255,.2); flex-shrink: 0; }
.mock-uikit-card-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mock-uikit-card-lines span { height: 8px; border-radius: 5px; background: rgba(255,255,255,.14); display: block; }
.mock-uikit-card-lines span.short { max-width: 70px; }

/* Landing mockup — Landing Pages */
.mock-landing { text-align: center; padding: 6px 6px 4px; }
.mock-landing-badge { width: 100px; height: 18px; border-radius: 100px; background: rgba(111,151,255,.2); margin: 0 auto 18px; }
.mock-landing .mock-bar.title { height: 16px; width: 78%; margin: 0 auto 8px; }
.mock-landing .mock-bar.title.short { width: 52%; margin-bottom: 18px; }
.mock-landing .mock-bar.sub { height: 8px; width: 58%; margin: 0 auto 24px; opacity: .55; }
.mock-landing-cta { height: 36px; width: 168px; margin: 0 auto 28px; border-radius: 100px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.mock-landing-form { max-width: 280px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.mock-input-bar { height: 32px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }

/* Dashboard mockup — Mantenimiento & Soporte */
.mock-dash { display: flex; flex-direction: column; gap: 20px; }
.mock-dash-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.mock-dash-stat { display: flex; align-items: center; gap: 6px; }
.mock-dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 6px #25d366; display: inline-block; }
.mock-dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; background: rgba(255,255,255,.03); border-radius: 10px; padding: 10px; }
.mock-dash-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-light), var(--blue)); display: block; }
.mock-dash-list { display: flex; flex-direction: column; gap: 8px; }
.mock-dash-item { font-size: .85rem; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; color: var(--ink); }
.mock-dash-item::before { content: '\2713'; color: #25d366; font-weight: 700; }
.mock-dash-item.pending::before { content: '\2026'; color: var(--blue-light); }

@media (max-width: 560px) {
  .service-modal-panel { padding: 30px 22px; border-radius: 20px; }
  .mock-tri-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .process-track::before, .process-track::after { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 34px; }
  .why-intro { position: static; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-card { padding: 30px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
}
