/* ============================================================
   ByteSur — Sistema visual
   Inspiración: Stripe / Linear / Vercel — minimalista y limpio
   ============================================================ */

:root {
  --bs-primary: #1d4ed8;
  --azul: #1d4ed8;
  --azul-oscuro: #1e3a8a;
  --azul-claro: #eff6ff;
  --azul-suave: #dbeafe;
  --tinta: #0f172a;
  --gris-texto: #475569;
  --gris-suave: #f8fafc;
  --borde: #e2e8f0;
  --verde-wsp: #25d366;
  --radio: 16px;
  --sombra: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --transicion: all .25s cubic-bezier(.4, 0, .2, 1);
}

* { -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--tinta);
  background: #fff;
  overflow-x: hidden;
}

::selection { background: var(--azul-suave); }

a { text-decoration: none; }

/* ---------- Botones ---------- */
.btn { border-radius: 12px; font-weight: 600; transition: var(--transicion); }
.btn-primary {
  background: var(--azul); border-color: var(--azul);
  box-shadow: 0 4px 14px rgba(29, 78, 216, .25);
}
.btn-primary:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); transform: translateY(-2px); }
.btn-outline-primary { color: var(--azul); border-color: var(--azul-suave); background: var(--azul-claro); }
.btn-outline-primary:hover { background: var(--azul); border-color: var(--azul); transform: translateY(-2px); }
.btn-success-soft {
  background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0;
}
.btn-success-soft:hover { background: var(--verde-wsp); color: #fff; border-color: var(--verde-wsp); transform: translateY(-2px); }
.btn-cta { padding: .8rem 1.6rem; font-size: 1rem; }

/* ---------- Navbar ---------- */
.bs-navbar {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transicion);
  padding: .9rem 0;
}
.bs-navbar.scrolled { border-bottom-color: var(--borde); box-shadow: 0 1px 12px rgba(15, 23, 42, .05); padding: .6rem 0; }
.brand-text { font-weight: 800; font-size: 1.35rem; color: var(--tinta); letter-spacing: -.02em; }
.bs-navbar .nav-link { color: var(--gris-texto); font-weight: 500; padding: .5rem .9rem; border-radius: 10px; }
.bs-navbar .nav-link:hover { color: var(--azul); background: var(--azul-claro); }
.btn-nav { padding: .55rem 1.2rem; }
.nav-social {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; color: var(--gris-texto); font-size: 1.15rem;
  transition: var(--transicion);
}
.nav-social:hover { color: var(--azul); background: var(--azul-claro); }
.mobile-link {
  padding: .9rem 1rem; border-radius: 12px; color: var(--tinta);
  font-weight: 600; font-size: 1.05rem;
}
.mobile-link:hover { background: var(--azul-claro); color: var(--azul); }

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(29, 78, 216, .07), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(59, 130, 246, .05), transparent),
    #fff;
}
.hero-sm { padding: 130px 0 60px; }
.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
}
.hero-subtitle { font-size: 1.15rem; color: var(--gris-texto); margin-top: 1rem; max-width: 540px; }
.hero-trust { font-size: .9rem; color: var(--gris-texto); font-weight: 500; }

.badge-mp {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--azul);
  border: 1px solid var(--azul-suave);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
  font-size: .85rem; font-weight: 600;
  padding: .45rem 1rem .45rem .6rem; border-radius: 100px;
}
.badge-mp-logo { height: 42px; max-width: 150px; object-fit: contain; }

/* Logo ByteSur en el hero */
.hero-brand { display: block; height: 72px; width: auto; object-fit: contain; }
@media (max-width: 575px) { .hero-brand { height: 56px; } }

/* ---------- Mockup dashboard ---------- */
.mockup-window {
  border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--borde); background: #fff;
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--gris-suave); border-bottom: 1px solid var(--borde);
  padding: 10px 14px;
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar span:first-child { background: #fda4af; }
.mockup-bar span:nth-child(2) { background: #fde68a; }
.mockup-bar span:nth-child(3) { background: #86efac; }
.mockup-bar em {
  font-style: normal; font-size: .72rem; color: var(--gris-texto);
  background: #fff; border: 1px solid var(--borde); border-radius: 6px;
  padding: 2px 12px; margin: 0 auto;
}
.mockup-body { display: flex; min-height: 320px; }
.mockup-side { width: 150px; background: var(--gris-suave); border-right: 1px solid var(--borde); padding: 14px 8px; }
.ms-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 500; color: var(--gris-texto);
  padding: 8px 10px; border-radius: 8px; margin-bottom: 2px;
}
.ms-item.active { background: var(--azul); color: #fff; box-shadow: 0 2px 8px rgba(29, 78, 216, .3); }
.mockup-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mockup-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mc {
  border: 1px solid var(--borde); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.mc small { font-size: .62rem; color: var(--gris-texto); }
.mc strong { font-size: 1.05rem; letter-spacing: -.02em; }
.mc .up { font-size: .62rem; color: #16a34a; font-weight: 600; }
.mc .warn { font-size: .62rem; color: #d97706; font-weight: 600; }
.mockup-chart {
  flex: 1; display: flex; align-items: flex-end; gap: 8px;
  border: 1px solid var(--borde); border-radius: 10px; padding: 14px;
}
.mockup-chart div {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3b82f6, var(--azul));
  opacity: .85; animation: growBar 1.2s cubic-bezier(.4, 0, .2, 1) backwards;
}
.mockup-chart div:nth-child(odd) { background: var(--azul-suave); }
@keyframes growBar { from { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Carrusel del hero ---------- */
.hero-carousel { display: grid; }
.hero-slide {
  grid-area: 1 / 1; opacity: 0; pointer-events: none;
  transform: scale(.98);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; transform: none; }
.mock-caption {
  display: block; text-align: center; margin-top: .8rem;
  font-size: .87rem; font-weight: 600; color: var(--gris-texto);
}
.mock-caption i { color: var(--azul); margin-right: 4px; }
.hero-dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: 8px; margin-top: .9rem; }
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--borde); cursor: pointer; transition: var(--transicion);
}
.hero-dot.active { background: var(--azul); transform: scale(1.25); }

/* Mockup: diseño web */
.web-mock { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.wm-nav { display: flex; align-items: center; gap: 10px; }
.wm-logo { width: 64px; height: 14px; border-radius: 5px; background: var(--azul); }
.wm-link { width: 36px; height: 8px; border-radius: 4px; background: var(--borde); }
.wm-btn { width: 70px; height: 22px; border-radius: 7px; background: var(--azul-suave); margin-left: auto; }
.wm-hero { display: flex; gap: 16px; align-items: center; flex: 1; }
.wm-copy { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.wm-line { height: 12px; border-radius: 5px; background: var(--borde); width: 70%; }
.wm-line.lg { height: 18px; width: 90%; background: #cbd5e1; }
.wm-line.sm { width: 50%; }
.wm-cta { width: 110px; height: 30px; border-radius: 9px; background: var(--azul); margin-top: 6px; box-shadow: 0 4px 10px rgba(29, 78, 216, .3); }
.wm-img {
  flex: 1; aspect-ratio: 4/3; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-suave));
  color: var(--azul); font-size: 1.8rem;
}
.wm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wm-cards div { height: 42px; border-radius: 10px; border: 1px solid var(--borde); background: var(--gris-suave); }

/* Mockup: RRHH */
.rh-mock { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.rh-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.rh-head strong { font-size: .9rem; }
.rh-head i { color: var(--azul); }
.rh-chip { font-size: .68rem; font-weight: 700; color: var(--azul); background: var(--azul-claro); padding: 3px 10px; border-radius: 100px; }
.rh-row {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--borde); border-radius: 12px; padding: 9px 12px;
}
.rh-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
  background: var(--azul); color: #fff;
}
.rh-avatar.a2 { background: #0ea5e9; }
.rh-avatar.a3 { background: #6366f1; }
.rh-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rh-info b, .rh-info i { display: block; height: 8px; border-radius: 4px; background: var(--borde); }
.rh-info i { background: var(--gris-suave); border: 1px solid var(--borde); }
.rh-estado { font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.rh-estado.ok { background: #f0fdf4; color: #15803d; }
.rh-estado.warn { background: #fffbeb; color: #b45309; }
.rh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.rh-stats div { border: 1px solid var(--borde); border-radius: 10px; padding: 8px 10px; }
.rh-stats small { display: block; font-size: .62rem; color: var(--gris-texto); }
.rh-stats strong { font-size: .85rem; color: var(--azul); }

/* Mockup: cotizaciones */
.ct-mock { padding: 16px; display: flex; gap: 14px; min-height: 320px; }
.ct-doc {
  flex: 1.4; border: 1px solid var(--borde); border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 12px; background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}
.ct-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--borde); padding-bottom: 10px; }
.ct-head small { display: block; font-size: .6rem; letter-spacing: .08em; color: var(--gris-texto); }
.ct-head strong { font-size: .95rem; }
.ct-status { font-size: .66rem; font-weight: 700; background: #f0fdf4; color: #15803d; padding: 3px 10px; border-radius: 100px; }
.ct-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-bar { height: 9px; border-radius: 4px; background: var(--borde); }
.ct-line b { font-size: .72rem; color: var(--gris-texto); font-weight: 600; white-space: nowrap; }
.ct-total {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  background: var(--azul-claro); border-radius: 10px; padding: 9px 12px;
}
.ct-total span { font-size: .72rem; font-weight: 600; color: var(--gris-texto); }
.ct-total strong { color: var(--azul); font-size: .95rem; }
.ct-list { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ct-item {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--borde); border-radius: 10px; padding: 8px 11px; font-size: .72rem;
}
.ct-item span { font-weight: 700; color: var(--tinta); }
.ct-item em { font-style: normal; font-weight: 700; font-size: .62rem; padding: 2px 8px; border-radius: 100px; }
.ct-item em.ok { background: #f0fdf4; color: #15803d; }
.ct-item em.warn { background: #fffbeb; color: #b45309; }

/* Logo dentro del botón "cargar más" */
.btn-logo { height: 38px; width: auto; object-fit: contain; margin-left: 6px; vertical-align: -12px; }

/* Overlay "Saber más" en proyectos */
.project-overlay {
  position: absolute; inset: 0; border: 0; cursor: pointer;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px);
  display: grid; place-items: center;
  opacity: 0; transition: var(--transicion);
}
.project-overlay span {
  background: #fff; color: var(--azul); font-weight: 700; font-size: .9rem;
  padding: .55rem 1.2rem; border-radius: 100px;
  transform: translateY(8px); transition: var(--transicion);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-overlay span { transform: none; }
.project-modal { border: 0; border-radius: 18px; }
.project-modal .carousel-item img { width: 100%; max-height: 420px; object-fit: contain; background: var(--gris-suave); }

/* Animación código → logo ByteSur */
.code-anim { position: relative; }
.code-window { min-height: 230px; transition: opacity .7s ease, filter .7s ease; }
.code-body {
  margin: 0; padding: 18px; font-size: .82rem; line-height: 1.7;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color: var(--tinta); white-space: pre-wrap; min-height: 180px;
}
.code-body .tk-kw { color: #7c3aed; }
.code-body .tk-fn { color: var(--azul); }
.code-body .tk-str { color: #15803d; }
.code-cursor { color: var(--azul); animation: blink 1s steps(1) infinite; margin-left: -16px; position: relative; left: 18px; }
@keyframes blink { 50% { opacity: 0; } }
.code-logo {
  position: absolute; inset: 0; margin: auto;
  height: 96px; width: auto; object-fit: contain;
  opacity: 0; transform: scale(.7); transition: opacity .7s ease, transform .7s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
.code-anim.done .code-window { opacity: .07; filter: blur(3px); }
.code-anim.done .code-logo { opacity: 1; transform: scale(1); }
.code-anim.done .code-cursor { display: none; }

/* ---------- Slider de sistemas ---------- */
.systems-slider-wrap { position: relative; }
.systems-slider {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px; scrollbar-width: none;
}
.systems-slider::-webkit-scrollbar { display: none; }
.systems-slider .slider-item { scroll-snap-align: start; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--borde);
  background: #fff; color: var(--azul); font-size: 1.2rem;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .12); transition: var(--transicion);
}
.slider-arrow:hover { background: var(--azul); color: #fff; transform: translateY(-50%) scale(1.06); }
.slider-arrow.prev { left: -14px; }
.slider-arrow.next { right: -14px; }
@media (max-width: 991px) {
  .systems-slider { grid-auto-columns: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 575px) {
  .systems-slider { grid-auto-columns: 86%; }
  .slider-arrow.prev { left: -6px; }
  .slider-arrow.next { right: -6px; }
}

/* ---------- Franja clientes ---------- */
.clients-strip { padding: 36px 0; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); background: var(--gris-suave); }
.strip-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gris-texto); font-weight: 600; margin-bottom: 1rem; }
.client-chip {
  background: #fff; border: 1px solid var(--borde); color: var(--gris-texto);
  font-weight: 600; font-size: .9rem; padding: .5rem 1.1rem; border-radius: 100px;
}
.client-logo {
  height: 52px; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: var(--transicion);
}
.client-logo:hover { filter: none; opacity: 1; transform: scale(1.05); }

/* Caja blanca "Proveedor Activo" con logo Mercado Público */
.mp-badge-light {
  background: #fff !important; border: 0 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
  padding: 1.3rem 1.8rem !important; gap: 1.4rem !important;
}
.mp-badge-light .mp-badge-logo { height: 96px; max-width: 220px; object-fit: contain; }
.mp-badge-light strong { color: var(--tinta) !important; font-size: 1.1rem !important; }
.mp-badge-light strong i { color: var(--azul); }
.mp-badge-light span { color: var(--gris-texto) !important; }
@media (max-width: 575px) {
  .mp-badge-light { flex-direction: column; text-align: center; }
  .mp-badge-light .mp-badge-logo { height: 76px; }
}

/* Logo navbar */
.brand-logo { transition: var(--transicion); }
.bs-navbar.scrolled .brand-logo { height: 44px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--gris-suave); }
.section-tag {
  display: inline-block; color: var(--azul); background: var(--azul-claro);
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .35rem .85rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.section-lead { color: var(--gris-texto); font-size: 1.08rem; max-width: 640px; margin: .8rem auto 0; }
.text-body-copy { color: var(--gris-texto); font-size: 1.02rem; line-height: 1.75; }
.text-body-copy p { margin-bottom: 1rem; }

/* ---------- Tarjetas de estadísticas ---------- */
.stat-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.6rem 1.4rem; text-align: center; box-shadow: var(--sombra);
  transition: var(--transicion);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--azul-suave); }
.stat-card strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--azul); letter-spacing: -.03em; }
.stat-card strong::after { content: '+'; font-size: 1.4rem; }
.stat-card span { color: var(--gris-texto); font-size: .9rem; font-weight: 500; }

/* ---------- Servicios ---------- */
.service-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.8rem 1.5rem; transition: var(--transicion);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); border-color: var(--azul-suave); }
.service-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--azul-claro); color: var(--azul); border-radius: 14px;
  font-size: 1.5rem; margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.service-card p { color: var(--gris-texto); font-size: .92rem; line-height: 1.6; flex: 1; }
.card-link { color: var(--azul); font-weight: 600; font-size: .92rem; }
.card-link i { transition: var(--transicion); }
.card-link:hover i { transform: translateX(4px); }

/* ---------- Sistemas ---------- */
.system-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; display: flex; flex-direction: column; transition: var(--transicion);
}
.system-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); border-color: var(--azul-suave); }
.system-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--azul-claro); }
.system-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transicion); }
.system-card:hover .system-thumb img { transform: scale(1.04); }
.system-thumb-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--azul); font-size: 2.6rem;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-suave));
}
.system-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.system-body h3 { font-size: 1.08rem; font-weight: 700; }
.system-body h3 a { color: var(--tinta); }
.system-body h3 a:hover { color: var(--azul); }
.system-body > p { color: var(--gris-texto); font-size: .92rem; }
.system-feats { list-style: none; padding: 0; margin: 0 0 .4rem; }
.system-feats li { font-size: .85rem; color: var(--gris-texto); padding: 2px 0; }
.system-feats i { color: var(--azul); margin-right: 4px; }

.system-hero-ph {
  aspect-ratio: 16/10; border-radius: var(--radio);
  display: grid; place-items: center; align-content: center; gap: .6rem;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-suave));
  color: var(--azul); font-size: 3.4rem;
}
.system-hero-ph span { font-size: 1rem; font-weight: 700; }

.mini-system-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.4rem; color: var(--tinta); transition: var(--transicion);
}
.mini-system-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.mini-system-card i { color: var(--azul); font-size: 1.4rem; }
.mini-system-card strong { display: block; margin: .5rem 0 .3rem; }
.mini-system-card p { color: var(--gris-texto); font-size: .88rem; margin: 0; }

/* ---------- Mercado Público ---------- */
.mp-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%);
  position: relative; overflow: hidden;
}
.mp-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(255, 255, 255, .08), transparent);
}
.mp-badge-big {
  display: inline-flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); border-radius: var(--radio); padding: 1rem 1.4rem; color: #fff;
}
.mp-badge-big i { font-size: 2.2rem; color: #93c5fd; }
.mp-badge-big strong { display: block; font-size: 1.05rem; }
.mp-badge-big span { font-size: .85rem; opacity: .8; }
.mp-text { color: rgba(255, 255, 255, .85); font-size: 1.05rem; line-height: 1.7; }
.mp-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); border-radius: var(--radio); padding: 1.3rem 1.4rem; color: #fff;
  transition: var(--transicion);
}
.mp-card:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); }
.mp-card i { font-size: 1.6rem; color: #93c5fd; }
.mp-card p { margin: .2rem 0 0; font-size: .9rem; color: rgba(255, 255, 255, .75); }

/* ---------- Portafolio ---------- */
.project-card {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; transition: var(--transicion); display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.project-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gris-suave), var(--azul-claro));
  color: var(--azul); font-size: 2.4rem;
}
.project-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .92); color: var(--azul);
  font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 100px;
}
.project-body { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.project-body h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.project-body p { color: var(--gris-texto); font-size: .88rem; margin: 0; flex: 1; }

/* ---------- Testimonios ---------- */
.testimonial { max-width: 720px; text-align: center; padding: 0 1rem; }
.quote-icon { font-size: 3rem; color: var(--azul-suave); line-height: 1; }
.testimonial blockquote { font-size: 1.15rem; line-height: 1.7; color: var(--tinta); font-weight: 500; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--gris-texto); font-size: .9rem; }
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%; background: var(--borde); border: 0;
}
.carousel-indicators .active { background: var(--azul); }

/* ---------- Proceso ---------- */
.process-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.process-step {
  position: relative; background: #fff; border: 1px solid var(--borde);
  border-radius: var(--radio); padding: 1.6rem 1.1rem 1.3rem; text-align: center;
  transition: var(--transicion);
}
.process-step:hover { transform: translateY(-4px); border-color: var(--azul-suave); box-shadow: var(--sombra); }
.step-num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--azul); color: #fff; font-size: .75rem; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
}
.process-step i { font-size: 1.6rem; color: var(--azul); }
.process-step h3 { font-size: .95rem; font-weight: 700; margin: .6rem 0 .3rem; }
.process-step p { font-size: .8rem; color: var(--gris-texto); margin: 0; }

/* ---------- Formularios ---------- */
.section-contact { background: var(--gris-suave); }
.form-panel {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 2rem; box-shadow: var(--sombra);
}
.form-tabs .nav-link {
  color: var(--gris-texto); font-weight: 600; font-size: .92rem; border-radius: 10px;
}
.form-tabs .nav-link.active { background: var(--azul); }
.form-label { font-weight: 600; font-size: .88rem; }
.form-control, .form-select {
  border-radius: 10px; border-color: var(--borde); padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-suave);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-feedback { margin-top: 1rem; font-weight: 600; font-size: .95rem; display: none; border-radius: 10px; padding: .8rem 1rem; }
.form-feedback.ok { display: block; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-feedback.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list i {
  width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--azul-claro); color: var(--azul); border-radius: 12px; font-size: 1.15rem;
}
.contact-list strong { display: block; font-size: .85rem; }
.contact-list a, .contact-list span { color: var(--gris-texto); font-size: .95rem; }
.contact-list a:hover { color: var(--azul); }

/* ---------- Listas check / FAQ / panel beneficios ---------- */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.check-list li { color: var(--gris-texto); font-size: .97rem; }
.check-list i { color: var(--azul); margin-right: 8px; }
.benefit-panel {
  background: var(--azul-claro); border: 1px solid var(--azul-suave);
  border-radius: var(--radio); padding: 1.6rem;
}
.sticky-panel { position: sticky; top: 96px; }
.faq .accordion-button { font-weight: 600; font-size: .97rem; border-radius: 10px !important; }
.faq .accordion-button:not(.collapsed) { background: var(--azul-claro); color: var(--azul); box-shadow: none; }
.faq .accordion-body { color: var(--gris-texto); font-size: .93rem; }
.breadcrumb { font-size: .85rem; }
.breadcrumb a { color: var(--gris-texto); }
.breadcrumb a:hover { color: var(--azul); }

/* ---------- Footer ---------- */
.bs-footer { background: var(--gris-suave); border-top: 1px solid var(--borde); font-size: .93rem; }
.footer-logo { height: 64px; width: auto; object-fit: contain; }
.footer-title { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: var(--gris-texto); }
.footer-links a:hover { color: var(--azul); }
.footer-links i { color: var(--azul); }
.footer-bottom { border-top: 1px solid var(--borde); color: var(--gris-texto); font-size: .85rem; }
.social-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--borde); border-radius: 10px;
  color: var(--gris-texto); transition: var(--transicion);
}
.social-btn:hover { color: #fff; background: var(--azul); border-color: var(--azul); transform: translateY(-3px); }

/* ---------- WhatsApp flotante ---------- */
.wsp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--verde-wsp); color: #fff; font-size: 1.7rem;
  border-radius: 50%; box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: var(--transicion);
}
.wsp-float:hover { transform: scale(1.08); color: #fff; }
.wsp-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--tinta); color: #fff; font-size: .8rem; font-weight: 500;
  padding: .45rem .8rem; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: var(--transicion);
}
.wsp-float:hover .wsp-tooltip { opacity: 1; }

/* ---------- Animaciones reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mockup-chart div { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 70px; }
  .sticky-panel { position: static; }
}
@media (max-width: 575px) {
  .form-panel { padding: 1.4rem; }
  .btn-cta { width: 100%; }
  .mockup-side { display: none; }
}
