/* ============================================================
   SOFTJALEX | My Computer — Estilos Principales
   ============================================================ */

:root {
  --primary:    #0d6efd;
  --secondary:  #6f42c1;
  --success:    #198754;
  --wa-green:   #25d366;
  --wa-dark:    #128c7e;
  --dark:       #0f172a;
  --dark-2:     #1e293b;
  --gray-100:   #f8fafc;
  --gray-200:   #f1f5f9;
  --text-muted: #64748b;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* ── Tipografía ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ─────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}
#mainNav.scrolled {
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: .6rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.brand-icon-lg { width: 48px; height: 48px; font-size: 1.3rem; }
.brand-name    { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; }
.brand-sub     { font-size: .65rem; color: rgba(255,255,255,.55); letter-spacing: .05em; text-transform: uppercase; }
.nav-link      { color: rgba(255,255,255,.8) !important; font-weight: 500; font-size: .9rem; transition: color var(--transition); padding: .5rem .8rem !important; border-radius: .5rem; }
.nav-link:hover, .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }

/* ── Botón WhatsApp ─────────────────────────────────────── */
.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff !important; border: none;
  font-weight: 600; border-radius: 2rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  color: #fff !important;
}

/* ── Sections ───────────────────────────────────────────── */
.section-padding { padding: 5rem 0; }
.bg-light-custom { background: var(--gray-100); }

.section-badge {
  display: inline-block; padding: .35rem 1rem;
  background: rgba(13,110,253,.1); color: var(--primary);
  border: 1px solid rgba(13,110,253,.2);
  border-radius: 2rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.section-title    { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin-top: .5rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: .8rem auto 0; }

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg-shapes .shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .15;
}
.shape-1 { width: 600px; height: 600px; background: var(--primary);  top: -200px; right: -200px; }
.shape-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; }
.shape-3 { width: 300px; height: 300px; background: var(--wa-green);  top: 40%; left: 40%; }

.badge-pill {
  display: inline-flex; align-items: center;
  padding: .5rem 1.2rem; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2rem; color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 500;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; color: #fff;
}
.hero-subtitle { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.7; max-width: 520px; margin-top: 1rem; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat  { text-align: center; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; }
.stat-label  { font-size: .8rem; color: rgba(255,255,255,.5); }

/* Hero Visual */
.hero-visual { position: relative; height: 420px; }
.hero-card {
  background: rgba(255,255,255,.07); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl);
  padding: 1.5rem; color: #fff; position: absolute;
}
.hero-card-main    { bottom: 40px; left: 0; right: 80px; }
.hero-card-secondary { padding: 1.2rem; border-radius: var(--radius-lg); }
.top-right  { top: 0; right: 0; width: 180px; }
.bottom-left { bottom: 120px; left: 0; width: 180px; }
.progress-bar-custom { height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.progress-fill       { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; }

.hero-floating-icons { position: absolute; inset: 0; pointer-events: none; }
.float-icon {
  position: absolute; width: 44px; height: 44px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  animation: float 4s ease-in-out infinite;
}
.f1 { top: 10%; left: 50%;  animation-delay: 0s;   }
.f2 { top: 30%; right: 10%; animation-delay: .5s;  }
.f3 { top: 55%; left: 55%;  animation-delay: 1s;   }
.f4 { top: 70%; right: 20%; animation-delay: 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-scroll-indicator {
  display: flex; justify-content: center; padding-bottom: 2rem;
}
.scroll-dot {
  width: 6px; height: 32px; background: rgba(255,255,255,.3);
  border-radius: 3px; animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ── Service Cards ──────────────────────────────────────── */
.service-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 2rem; border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(13,110,253,.2);
}
.service-icon-wrapper {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--svc-color) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--svc-color); margin-bottom: 1.2rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon-wrapper { transform: scale(1.1); }
.service-title  { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.service-desc   { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.service-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.service-features li { font-size: .85rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; }
.btn-service-wa {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem; border-radius: 2rem;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff; font-weight: 600; font-size: .88rem;
  text-decoration: none; transition: all var(--transition);
}
.btn-service-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.3); color: #fff; }

/* Service Detail Card */
.service-detail-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.service-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon-lg {
  width: 70px; height: 70px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-number { font-size: .75rem; color: var(--text-muted); font-weight: 600; }

/* ── Why Section ────────────────────────────────────────── */
.why-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: .75rem; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}
.why-item h6 { font-weight: 700; margin-bottom: .25rem; }
.why-item p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* WhatsApp Bot Demo */
.whatsapp-bot-demo {
  background: var(--dark); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg); max-width: 380px; margin: auto;
}
.bot-header { background: var(--wa-dark); padding: 1rem 1.2rem; }
.bot-avatar {
  width: 40px; height: 40px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}
.text-success-light { color: #8fffb4; }
.bot-messages { padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.bot-msg { max-width: 85%; }
.bot-msg p { margin: 0; font-size: .85rem; line-height: 1.5; padding: .75rem 1rem; border-radius: 1rem; }
.bot-received p { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-bottom-left-radius: .2rem; }
.bot-sent { align-self: flex-end; }
.bot-sent p { background: var(--wa-green); color: #fff; border-bottom-right-radius: .2rem; }
.msg-options { display: flex; flex-direction: column; gap: .3rem; margin-top: .5rem; }
.msg-options span { font-size: .78rem; color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); padding: .3rem .7rem; border-radius: .5rem; }

/* ── Drive Gallery ──────────────────────────────────────── */
.drive-gallery-wrapper, .drive-gallery-wrapper-lg {
  border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.drive-gallery-header {
  background: var(--gray-100); border-bottom: 1px solid rgba(0,0,0,.08);
  padding: .9rem 1.2rem; display: flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9rem;
}
.drive-gallery-iframe {
  width: 100%; height: 450px; display: block; border: none;
}
.drive-gallery-iframe-lg { height: 600px; }
.drive-gallery-footer {
  background: var(--gray-100); border-top: 1px solid rgba(0,0,0,.08);
  padding: .75rem 1.2rem; display: flex; align-items: center;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 2rem; border: 1px solid rgba(0,0,0,.07);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-text { color: var(--text-muted); font-style: italic; line-height: 1.7; flex-grow: 1; }
.testimonial-avatar {
  width: 46px; height: 46px; background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0;
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(13,110,253,.15) 0%, transparent 70%);
}
.cta-title    { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); position: relative; }
.cta-subtitle { color: rgba(255,255,255,.6); font-size: 1.05rem; position: relative; }

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  background: var(--dark); padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(13,110,253,.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title    { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.page-hero-subtitle { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 550px; margin: .8rem auto 0; }
.breadcrumb-item a  { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,.8); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ── Contact ────────────────────────────────────────────── */
.contact-form-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.contact-wa-card {
  background: var(--dark); border-radius: var(--radius-xl);
  padding: 1.8rem; color: #fff;
}
.contact-info-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl); padding: 1.8rem; box-shadow: var(--shadow-sm);
}
.wa-big-icon {
  width: 56px; height: 56px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; flex-shrink: 0;
}
.wa-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.wa-service-btn {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .8rem; border-radius: .75rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85); font-size: .82rem;
  text-decoration: none; transition: all var(--transition);
}
.wa-service-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.contact-details { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-icon {
  width: 38px; height: 38px; background: var(--gray-100);
  border-radius: .6rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-details a { color: var(--primary); text-decoration: none; }
.form-control, .form-select {
  border: 1.5px solid rgba(0,0,0,.1); border-radius: .75rem;
  padding: .75rem 1rem; transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,110,253,.1);
}

/* ── About ──────────────────────────────────────────────── */
.about-stat-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg); padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.about-stat-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); font-family: 'Space Grotesk', sans-serif; }
.about-stat-label  { color: var(--text-muted); font-size: .85rem; }
.about-mission-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl); padding: 1.8rem; box-shadow: var(--shadow-sm);
}
.about-icon-box {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: .75rem; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0;
}
.team-card {
  background: #fff; border-radius: var(--radius-xl); padding: 2rem;
  border: 1px solid rgba(0,0,0,.07); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar-wrapper { position: relative; }
.team-avatar-placeholder {
  width: 100px; height: 100px; margin: auto;
  background: var(--gray-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 3px solid rgba(13,110,253,.15);
}
.team-role {
  display: inline-block; font-size: .82rem; font-weight: 600;
  color: var(--primary); background: rgba(13,110,253,.1);
  padding: .25rem .9rem; border-radius: 2rem;
}

/* FAQ */
.faq-item { border: 1px solid rgba(0,0,0,.08) !important; border-radius: var(--radius-lg) !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-button { font-weight: 600; font-size: .95rem; background: #fff !important; }
.accordion-button:not(.collapsed) { color: var(--primary) !important; box-shadow: none !important; }
.accordion-button::after { filter: none; }
.accordion-button:focus { box-shadow: none; }

/* ── Gallery ────────────────────────────────────────────── */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-btn {
  padding: .5rem 1.2rem; border-radius: 2rem; font-size: .85rem; font-weight: 600;
  border: 1.5px solid rgba(0,0,0,.12); background: transparent;
  color: var(--text-muted); cursor: pointer; transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(13,110,253,.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all var(--transition);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content { color: #fff; text-align: center; padding: 1rem; }
.gallery-overlay-content h6 { font-weight: 700; margin-bottom: .5rem; }
.gallery-overlay-content p { font-size: .85rem; opacity: .85; margin-bottom: 1rem; }
.gallery-info { padding: 1rem; background: #fff; }
.gallery-title { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.gallery-category { font-size: .75rem; color: var(--primary); font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────── */
.footer-section { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-top     { padding: 4rem 0; }
.footer-bottom  { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-title   { font-size: .85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem; }
.footer-links   { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .9rem; transition: color var(--transition); display: flex; align-items: center; gap: .35rem; }
.footer-links a:hover { color: #fff; }
.footer-links i { font-size: .7rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }
.social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none; font-size: 1rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.social-wa:hover  { background: var(--wa-green); border-color: var(--wa-green); }

/* ── WhatsApp Floating ──────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 9999;
  width: 62px; height: 62px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem; text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,.45);
  transition: all var(--transition); animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: #fff; padding: .4rem .9rem;
  border-radius: .5rem; font-size: .82rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
.whatsapp-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--dark);
}
@keyframes waPulse { 0%,100%{box-shadow:0 8px 32px rgba(37,211,102,.45)} 50%{box-shadow:0 8px 48px rgba(37,211,102,.7)} }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .section-padding  { padding: 3.5rem 0; }
  .hero-stats       { gap: 1.2rem; }
  .whatsapp-float   { width: 54px; height: 54px; font-size: 1.5rem; bottom: 1.2rem; right: 1.2rem; }
  .wa-services-grid { grid-template-columns: 1fr; }
}

/* ── Trust Bar ──────────────────────────────────────────────────── */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .9rem 0;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.trust-label {
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.trust-items {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.trust-items span {
  font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 500;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  padding: .3rem .85rem; border-radius: 2rem;
  display: inline-flex; align-items: center; gap: .3rem;
}

/* ── Process / Cómo Trabajamos ──────────────────────────────────── */
.process-section { background: #fff; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.process-step { text-align: center; padding: 0 .5rem; }
.process-step-num {
  font-size: .7rem; font-weight: 800; color: var(--primary);
  letter-spacing: .1em; margin-bottom: .6rem;
  font-family: 'Space Grotesk', sans-serif;
}
.process-icon {
  width: 72px; height: 72px; margin: 0 auto .9rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 12px 32px rgba(13,110,253,.25);
}
.process-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.process-desc  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.process-connector {
  display: flex; align-items: center; justify-content: center;
  color: rgba(13,110,253,.3); font-size: 1.4rem;
  padding-top: 3rem;
}
@media (max-width: 767px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-connector { padding-top: 0; transform: rotate(90deg); }
}

/* ── Metric Boxes ───────────────────────────────────────────────── */
.metric-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: .9rem .5rem;
}
.metric-num {
  font-size: 1.3rem; font-weight: 800; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}
.metric-label { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .1rem; }

/* ── Pricing Teaser ─────────────────────────────────────────────── */
.pricing-teaser-section { background: var(--dark); position: relative; overflow: hidden; }
.pricing-teaser-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(13,110,253,.12) 0%, transparent 65%);
}
.pricing-teaser-section .container { position: relative; }
.pricing-teaser-section .section-badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.12); }
.pricing-teaser-section .section-title { color: #fff; }
.pricing-teaser-section .section-subtitle { color: rgba(255,255,255,.5); }

.price-teaser-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 1.8rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.price-teaser-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.price-teaser-featured {
  border-color: var(--primary);
  background: rgba(13,110,253,.08);
  box-shadow: 0 12px 40px rgba(13,110,253,.2);
}
.price-teaser-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 2rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.price-teaser-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.price-teaser-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.price-teaser-amount {
  font-size: 2.2rem; font-weight: 800; color: #fff;
  font-family: 'Space Grotesk', sans-serif; line-height: 1; margin-bottom: 1rem;
}
.price-teaser-currency { font-size: 1.1rem; vertical-align: top; margin-top: .35rem; display: inline-block; }
.price-teaser-mo { font-size: .85rem; color: rgba(255,255,255,.4); font-weight: 400; }
.price-teaser-features {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  display: flex; flex-direction: column; gap: .5rem; flex-grow: 1;
}
.price-teaser-features li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.price-teaser-features i { font-size: .9rem; flex-shrink: 0; }
.price-teaser-btn {
  display: block; text-align: center; padding: .65rem 1rem;
  border: 1.5px solid rgba(255,255,255,.2); border-radius: 2rem;
  color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.price-teaser-btn:hover { border-color: #fff; color: #fff; }
.price-teaser-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent; color: #fff;
}
.price-teaser-btn-primary:hover { box-shadow: 0 6px 20px rgba(13,110,253,.4); color: #fff; }

/* ── Rating Summary ─────────────────────────────────────────────── */
.rating-summary { }
.rating-stars { color: #ffc107; font-size: 1.4rem; letter-spacing: .1rem; }
.rating-score { font-size: 2rem; font-weight: 800; color: var(--dark); font-family: 'Space Grotesk', sans-serif; margin: .2rem 0; }
.rating-count { color: var(--text-muted); font-size: .88rem; }

/* ── Tech Grid ──────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.tech-item {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg); padding: 1.2rem .8rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-item i   { font-size: 1.8rem; }
.tech-item span { font-size: .78rem; font-weight: 600; color: var(--text-muted); }
@media (max-width: 991px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── CTA Inner ──────────────────────────────────────────────────── */
.cta-inner {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 2.5rem 3rem;
  position: relative;
}
@media (max-width: 767px) { .cta-inner { padding: 2rem 1.5rem; } }

/* ── Nav Link Custom (underline activo) ────────────────────────── */
.nav-link-custom {
  position: relative;
  color: rgba(255,255,255,.8) !important;
  font-weight: 500; font-size: .9rem;
  padding: .5rem .8rem !important;
  border-radius: .5rem;
  transition: color var(--transition);
}
.nav-link-custom::after {
  content: '';
  position: absolute; bottom: 2px; left: .8rem; right: .8rem;
  height: 2px; background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.nav-link-custom:hover  { color: #fff !important; }
.nav-link-custom.active { color: #fff !important; }
.nav-link-custom.active::after,
.nav-link-custom:hover::after { transform: scaleX(1); }

/* Planes CTA button in nav */
.nav-link-planes {
  display: inline-flex; align-items: center;
  padding: .42rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important; font-weight: 600; font-size: .88rem;
  border-radius: 2rem; text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.nav-link-planes:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,110,253,.4);
  color: #fff !important;
}
.nav-planes-active {
  background: transparent !important;
  border-color: var(--primary);
  color: var(--primary) !important;
  color: rgba(255,255,255,.9) !important;
  border-color: rgba(255,255,255,.5);
}

/* ── Mega Menu ──────────────────────────────────────────────────── */
.nav-mega-menu {
  width: 580px; padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--dark-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  margin-top: .5rem !important;
  overflow: hidden;
}
.mega-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mega-menu-title {
  font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .08em;
}
.mega-menu-view-all {
  font-size: .82rem; color: var(--primary);
  text-decoration: none; font-weight: 600;
  display: flex; align-items: center; gap: .3rem;
  transition: gap var(--transition);
}
.mega-menu-view-all:hover { gap: .6rem; }

.mega-menu-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; padding: .6rem;
}
.mega-menu-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .8rem; border-radius: .75rem;
  text-decoration: none; color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.mega-menu-item:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.mega-icon {
  width: 34px; height: 34px; border-radius: .55rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.mega-item-title {
  display: block; font-size: .82rem; font-weight: 600; line-height: 1.2;
}
.mega-item-desc {
  display: block; font-size: .72rem; color: rgba(255,255,255,.4);
  line-height: 1.3; margin-top: .1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px;
}
.mega-menu-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .8rem 1.2rem;
  background: rgba(0,0,0,.2);
}
.mega-wa-btn {
  display: inline-flex; align-items: center;
  padding: .4rem 1rem;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: #fff !important; font-weight: 600; font-size: .82rem;
  border-radius: 2rem; text-decoration: none;
  transition: all var(--transition);
}
.mega-wa-btn:hover { box-shadow: 0 4px 16px rgba(37,211,102,.35); }

/* Dropdown arrow fix */
.dropdown-toggle::after { margin-left: .4rem; vertical-align: .15em; }

/* ── Service Icon Small (hero section) ─────────────────────────── */
.service-icon-sm {
  width: 36px; height: 36px; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Planes / Precios ───────────────────────────────────────────── */
.plan-card {
  background: #fff; border-radius: var(--radius-xl);
  border: 1.5px solid rgba(0,0,0,.08);
  padding: 2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.plan-card-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(13,110,253,.15);
  background: linear-gradient(180deg, rgba(13,110,253,.03) 0%, #fff 40%);
}
.plan-card-featured:hover { box-shadow: 0 20px 60px rgba(13,110,253,.22); }

.plan-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: .28rem .85rem; border-radius: 2rem;
  letter-spacing: .04em; text-transform: uppercase;
}

.plan-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}

.plan-name { font-size: 1.4rem; font-weight: 800; margin-bottom: .4rem; }
.plan-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.4rem; line-height: 1.6; }

.plan-price {
  display: flex; align-items: flex-start; gap: .2rem;
  line-height: 1; margin-bottom: .3rem;
}
.plan-currency { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-top: .3rem; }
.plan-amount   { font-size: 3rem; font-weight: 800; color: var(--dark); font-family: 'Space Grotesk', sans-serif; }
.plan-period   { font-size: .9rem; color: var(--text-muted); align-self: flex-end; margin-bottom: .4rem; }

.plan-annual-note { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }

.plan-divider { height: 1px; background: rgba(0,0,0,.07); margin: 1.4rem 0; }

.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.plan-feature-item { display: flex; align-items: center; gap: .65rem; font-size: .88rem; }
.plan-feature-item.excluded { opacity: .55; }
.plan-feature-item i { font-size: 1rem; flex-shrink: 0; }

/* Billing Toggle */
.billing-toggle-wrapper { display: flex; align-items: center; }
.billing-toggle {
  display: block; width: 48px; height: 26px;
  background: rgba(0,0,0,.12); border-radius: 13px;
  position: relative; cursor: pointer; transition: background var(--transition);
  text-decoration: none;
}
.billing-toggle.active { background: var(--primary); }
.billing-toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff;
  border-radius: 50%; transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.billing-toggle.active .billing-toggle-knob { transform: translateX(22px); }

.badge-save {
  background: linear-gradient(135deg, #198754, #20c997);
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 2rem;
  vertical-align: middle; margin-left: .3rem;
}

/* Plan Payment Note */
.plan-payment-note {
  background: var(--gray-100); border-radius: var(--radius-xl);
  padding: 2rem 2.5rem; border: 1px solid rgba(0,0,0,.07);
}

/* Guarantee Cards */
.guarantee-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg); padding: 1.8rem 1.2rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  height: 100%;
}
.guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guarantee-icon {
  width: 56px; height: 56px; margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
}

/* ── AOS personalizado ──────────────────────────────────── */
[data-aos] { transition-timing-function: cubic-bezier(.4,0,.2,1) !important; }

/* ══════════════════════════════════════════════════════════
   CHATBOT WIDGET
══════════════════════════════════════════════════════════ */

/* Botón flotante */
.sj-chat-toggle {
  position: fixed; bottom: 5.8rem; right: 1.8rem; z-index: 9990;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 28px rgba(13,110,253,.45);
  transition: all var(--transition);
  animation: chatPulse 3s ease-in-out infinite;
}
.sj-chat-toggle:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(13,110,253,.55); }
@keyframes chatPulse {
  0%,100% { box-shadow: 0 8px 28px rgba(13,110,253,.45); }
  50%      { box-shadow: 0 8px 44px rgba(13,110,253,.7); }
}

/* Íconos open/close */
.sj-chat-icon-close { display: none; }
.sj-chat-toggle--open .sj-chat-icon-open  { display: none; }
.sj-chat-toggle--open .sj-chat-icon-close { display: block; }
.sj-chat-toggle--open { animation: none; }

/* Badge de notificación */
.sj-chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; background: #ef4444;
  border-radius: 50%; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; animation: badgeBounce .6s ease infinite alternate;
}
@keyframes badgeBounce { from { transform: scale(1); } to { transform: scale(1.2); } }

/* Panel del chat */
.sj-chat-panel {
  position: fixed; bottom: 10.5rem; right: 1.8rem; z-index: 9989;
  width: 370px; max-width: calc(100vw - 2rem);
  max-height: 580px;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  transform: translateY(20px) scale(.95);
  opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.34,1.2,.64,1), opacity .3s ease;
}
.sj-chat--open {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: auto;
}
@media (max-width: 479px) {
  .sj-chat-panel {
    right: .8rem; left: .8rem; width: auto;
    bottom: 9rem; max-height: 70vh;
  }
  .sj-chat-toggle { right: 1rem; bottom: 5rem; width: 52px; height: 52px; }
}

/* Header */
.sj-chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.sj-chat-header-info { display: flex; align-items: center; gap: .75rem; }
.sj-chat-avatar-wrap { position: relative; flex-shrink: 0; }
.sj-chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.sj-chat-online-dot {
  position: absolute; bottom: 0; right: 0;
  width: 11px; height: 11px; background: #4ade80;
  border-radius: 50%; border: 2px solid #fff;
}
.sj-chat-title    { color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.sj-chat-subtitle { color: rgba(255,255,255,.75); font-size: .75rem; display: flex; align-items: center; gap: .3rem; }
.sj-online-dot-inline {
  display: inline-block; width: 7px; height: 7px;
  background: #4ade80; border-radius: 50;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.sj-chat-header-btn, .sj-chat-wa-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem;
  transition: background var(--transition); text-decoration: none;
}
.sj-chat-header-btn:hover { background: rgba(255,255,255,.32); color: #fff; }
.sj-chat-wa-btn:hover     { background: var(--wa-green); color: #fff; }

/* Cuerpo */
.sj-chat-body {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .6rem;
  background: #f8fafc;
  scroll-behavior: smooth;
}
.sj-chat-body::-webkit-scrollbar { width: 4px; }
.sj-chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 4px; }

/* Mensajes */
.sj-msg { display: flex; align-items: flex-end; gap: .5rem; }
.sj-msg--bot  { justify-content: flex-start; }
.sj-msg--user { justify-content: flex-end; }

.sj-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem;
}

.sj-msg-bubble {
  max-width: 82%; padding: .65rem .9rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0;
  background: #fff; color: var(--dark);
  font-size: .85rem; line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}
.sj-msg-bubble--user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border-radius: 1.1rem 1.1rem 0 1.1rem;
  border: none;
}

/* Typing dots */
.sj-typing-bubble {
  display: flex; align-items: center; gap: .35rem; padding: .7rem 1rem;
}
.sj-typing-bubble span {
  width: 7px; height: 7px; background: var(--text-muted);
  border-radius: 50%; display: inline-block;
  animation: typingDot 1.2s ease-in-out infinite;
}
.sj-typing-bubble span:nth-child(2) { animation-delay: .2s; }
.sj-typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* Opciones de menú */
.sj-options {
  display: flex; flex-direction: column; gap: .4rem;
  padding: .2rem 0 .2rem 2.2rem;
}
.sj-option-btn {
  text-align: left; padding: .55rem .9rem;
  background: #fff; border: 1.5px solid rgba(13,110,253,.2);
  border-radius: 2rem; color: var(--primary);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: all .2s ease; line-height: 1.3;
}
.sj-option-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  transform: translateX(3px);
}

/* Formulario de captura */
.sj-form {
  display: flex; flex-direction: column; gap: .5rem;
  padding: .2rem 0 .2rem 2.2rem;
}
.sj-form-field {
  position: relative; display: flex; align-items: center;
}
.sj-form-icon {
  position: absolute; left: .75rem; color: var(--text-muted); font-size: .85rem;
}
.sj-form-input {
  width: 100%; padding: .55rem .75rem .55rem 2.1rem;
  border: 1.5px solid rgba(0,0,0,.12); border-radius: .75rem;
  font-size: .85rem; outline: none; background: #fff;
  transition: border-color var(--transition);
}
.sj-form-input:focus  { border-color: var(--primary); }
.sj-form-input.sj-input-error { border-color: #ef4444; }
.sj-form-submit {
  padding: .6rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border: none; border-radius: .75rem;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  align-self: flex-start;
}
.sj-form-submit:hover    { opacity: .9; }
.sj-form-submit:disabled { opacity: .6; cursor: wait; }

/* Footer / input */
.sj-chat-footer {
  border-top: 1px solid rgba(0,0,0,.07);
  padding: .75rem 1rem .6rem; background: #fff; flex-shrink: 0;
}
.sj-chat-input-wrap {
  display: flex; align-items: center; gap: .5rem;
  background: #f1f5f9; border-radius: 2rem; padding: .35rem .35rem .35rem 1rem;
  border: 1.5px solid rgba(0,0,0,.07);
  transition: border-color var(--transition);
}
.sj-chat-input-wrap:focus-within { border-color: var(--primary); background: #fff; }
.sj-chat-input {
  flex: 1; border: none; background: transparent;
  font-size: .85rem; outline: none; color: var(--dark);
  min-width: 0;
}
.sj-chat-send {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: #fff; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform var(--transition);
}
.sj-chat-send:hover { transform: scale(1.1); }
.sj-chat-powered {
  text-align: center; font-size: .7rem; color: var(--text-muted);
  margin-top: .4rem;
}
.sj-chat-powered a { color: var(--wa-green); text-decoration: none; }
.sj-chat-powered strong { color: var(--primary); }

/* Botones de cotización PDF en el chatbot */
.sj-quote-actions {
  display: flex; flex-direction: column; gap: .45rem;
  padding: .25rem 0 .25rem 2.2rem;
}
.sj-pdf-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .7rem 1.2rem; border-radius: .9rem;
  font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: all .2s ease;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; box-shadow: 0 4px 16px rgba(239,68,68,.35);
  width: 100%; border: none; cursor: pointer;
}
.sj-pdf-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(239,68,68,.45);
}
.sj-pdf-btn i { font-size: 1.15rem; }

.sj-pdf-btn--big {
  padding: .9rem 1.4rem; font-size: .95rem;
  box-shadow: 0 6px 20px rgba(239,68,68,.4);
  animation: pdfBtnPop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pdfBtnPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.sj-pdf-fallback {
  font-size: .82rem; color: #94a3b8;
  padding: .4rem 0; margin: 0;
}

/* Botón submit del form en rojo PDF */
.sj-form-submit {
  background: linear-gradient(135deg, #ef4444, var(--primary));
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO CARDS
══════════════════════════════════════════════════════════ */

.portfolio-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.13);
}

/* Screenshot area */
.portfolio-screenshot-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; background: #f1f5f9;
  flex-shrink: 0;
}
.portfolio-screenshot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .55s ease;
  display: block;
}
.portfolio-card:hover .portfolio-screenshot { transform: scale(1.04); }
.portfolio-screenshot-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* Overlay on hover */
.portfolio-screenshot-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.portfolio-card:hover .portfolio-screenshot-overlay { opacity: 1; }
.portfolio-visit-btn {
  padding: .55rem 1.3rem; background: #fff;
  border-radius: 2rem; color: var(--dark);
  font-weight: 700; font-size: .85rem;
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
  transition: background var(--transition), color var(--transition);
  transform: translateY(8px); transition: transform .3s ease, background .2s;
}
.portfolio-card:hover .portfolio-visit-btn { transform: translateY(0); }
.portfolio-visit-btn:hover { background: var(--primary); color: #fff; }

/* Badge */
.portfolio-badge {
  position: absolute; top: .75rem; left: .75rem;
  padding: .25rem .75rem; border-radius: 2rem;
  color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Info section */
.portfolio-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.portfolio-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 0; line-height: 1.2; }
.portfolio-subtitle { font-size: .78rem; color: var(--text-muted); display: block; }
.portfolio-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.55; margin: 0; flex: 1; }
.portfolio-ext-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; opacity: .85; }
.portfolio-ext-icon:hover { opacity: 1; }

/* Tech tags */
.portfolio-tech { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.portfolio-tech-tag {
  padding: .2rem .65rem; background: rgba(13,110,253,.08);
  border-radius: 2rem; color: var(--primary);
  font-size: .72rem; font-weight: 600;
}

/* Actions */
.portfolio-actions {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem;
  padding-top: .75rem; border-top: 1px solid rgba(0,0,0,.06);
}

/* Gallery stats */
.gallery-stat-card {
  background: #fff; border-radius: 1rem; padding: 1.5rem 1rem;
  border: 1px solid rgba(0,0,0,.06); box-shadow: 0 4px 16px rgba(0,0,0,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.gallery-stat-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; margin: 0 auto 1rem;
}
.gallery-stat-num { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: .25rem; }
.gallery-stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 500; }

/* Gallery loading skeleton */
.gallery-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-skeleton {
  aspect-ratio: 4/3; border-radius: .75rem;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 6rem 0 3.5rem; margin-top: 72px;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff; margin-bottom: .75rem;
}
.page-hero-subtitle { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.page-hero .breadcrumb { background: transparent; margin-bottom: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.55); font-size: .85rem; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ══════════════════════════════════════════════════════════
   SECCIÓN DE RESEÑAS
══════════════════════════════════════════════════════════ */

/* Tarjeta resumen general */
.reviews-summary-card {
  display: flex; align-items: center; gap: 2.5rem;
  background: #fff; border-radius: 1.5rem; padding: 2rem 2.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
}
@media (max-width: 575px) {
  .reviews-summary-card { flex-direction: column; gap: 1.5rem; text-align: center; padding: 1.5rem; }
}

.reviews-score-block { text-align: center; flex-shrink: 0; }
.reviews-big-score {
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reviews-stars-row { font-size: 1.2rem; margin: .35rem 0; }
.reviews-total-label { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }

.reviews-bars-block { flex: 1; display: flex; flex-direction: column; gap: .55rem; }
.rv-bar-row { display: flex; align-items: center; gap: .6rem; }
.rv-bar-label { font-size: .82rem; color: var(--text-muted); width: 2.8rem; flex-shrink: 0; }
.rv-bar-track {
  flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden;
}
.rv-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .8s cubic-bezier(.4,0,.2,1);
}
.rv-bar-pct { font-size: .78rem; color: var(--text-muted); width: 2.5rem; text-align: right; flex-shrink: 0; }

/* Tarjeta individual de reseña */
.review-card {
  background: #fff; border-radius: 1.25rem; padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  display: flex; flex-direction: column; gap: .85rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.review-card.rv-highlight {
  border-color: rgba(13,110,253,.25);
  box-shadow: 0 8px 32px rgba(13,110,253,.12);
  animation: rvCardIn .5s ease;
}
@keyframes rvCardIn { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }

.review-card-top { display: flex; align-items: center; justify-content: space-between; }
.rv-stars { font-size: .95rem; display: flex; gap: .1rem; }
.rv-verified {
  font-size: .72rem; font-weight: 600; color: #0ea5e9;
  display: flex; align-items: center;
}
.rv-new-badge {
  font-size: .72rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: .15rem .6rem; border-radius: 2rem;
  display: flex; align-items: center;
}

.rv-text {
  font-size: .875rem; color: var(--text-muted); line-height: 1.65;
  flex: 1; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}

.rv-author { display: flex; align-items: center; gap: .75rem; }
.rv-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem; font-weight: 700;
}
.rv-name  { font-size: .875rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.rv-company { font-size: .75rem; color: var(--text-muted); }
.rv-date  { font-size: .72rem; color: var(--text-muted); white-space: nowrap; }

/* ── Formulario de reseña ─────────────────────────────────── */
.reviews-form-section { border-top: 1px solid rgba(0,0,0,.07); padding-top: 3rem; }

.review-form-card {
  background: #fff; border-radius: 1.5rem; padding: 2.5rem;
  border: 1px solid rgba(13,110,253,.15);
  box-shadow: 0 8px 40px rgba(13,110,253,.07);
}
.review-form-header { text-align: center; margin-bottom: 2rem; }
.review-form-header h4 { font-size: 1.2rem; color: var(--dark); }

/* Selector de estrellas interactivo */
.star-selector {
  display: flex; flex-direction: row-reverse;
  justify-content: flex-end; gap: .25rem;
}
.star-radio { display: none; }
.star-selector label {
  font-size: 2rem; color: #d1d5db; cursor: pointer;
  transition: color .15s, transform .15s;
  line-height: 1;
}
.star-selector label:hover,
.star-selector label:hover ~ label,
.star-radio:checked ~ label { color: #f59e0b; }
.star-selector label:hover { transform: scale(1.15); }
.star-radio:checked + label { color: #f59e0b; }

/* Selección actual - iluminar hacia la izquierda también */
.star-radio:checked ~ label { color: #f59e0b; }

.star-hint {
  font-size: .82rem; color: var(--text-muted); margin-top: .4rem;
  min-height: 1.2em; transition: color .2s;
}

/* Inputs del formulario */
.rv-input {
  border-radius: .85rem; border: 1.5px solid rgba(0,0,0,.1);
  padding: .65rem 1rem; font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.rv-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.12);
  outline: none;
}
.rv-form-error { color: #ef4444; min-height: 1.2em; }

/* Estado de éxito */
.rv-success-state {
  text-align: center; padding: 2rem 1rem;
}
.rv-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; margin: 0 auto;
  animation: successPop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes successPop { from { transform: scale(0); } to { transform: scale(1); } }

/* ══════════════════════════════════════════════════════════
   LOGO
══════════════════════════════════════════════════════════ */
.nav-logo {
  height: 38px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(13,110,253,.25));
  transition: transform var(--transition);
}
.navbar-brand:hover .nav-logo { transform: scale(1.04); }
.footer-logo {
  height: 40px; width: auto;
  filter: brightness(0.9);
  transition: opacity var(--transition);
}
.footer-logo:hover { opacity: .8; }

/* ══════════════════════════════════════════════════════════
   GALERÍA PRINCIPAL
══════════════════════════════════════════════════════════ */
.gallery-main-section { background: var(--gray-100); }

/* Masonry grid */
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1199px) { .gallery-masonry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .gallery-masonry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .gallery-masonry-grid { grid-template-columns: 1fr; } }

/* Item wrap */
.gallery-item-wrap { position: relative; }

/* Card */
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 4/3;
  background: var(--dark-2);
}
.gallery-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  z-index: 2;
}

/* Image */
.gallery-item-img { width: 100%; height: 100%; overflow: hidden; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  display: block;
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }

/* Placeholder (sin imagen real) */
.gallery-placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .5rem;
}
.gallery-placeholder-icon { color: rgba(255,255,255,.35); text-align: center; }

/* Overlay */
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,30,.92) 0%, rgba(13,110,253,.5) 100%);
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity var(--transition);
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-overlay-content { width: 100%; text-align: center; }
.gallery-overlay-icon {
  width: 44px; height: 44px; margin: 0 auto .6rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  transform: scale(.7); transition: transform var(--transition);
}
.gallery-item:hover .gallery-overlay-icon { transform: scale(1); }
.gallery-overlay-title { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: .3rem; }
.gallery-overlay-desc  { color: rgba(255,255,255,.7); font-size: .75rem; line-height: 1.4; margin-bottom: .5rem; }

/* Badges & links */
.gallery-cat-badge {
  display: inline-block; padding: .2rem .65rem;
  background: rgba(13,110,253,.3); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 2rem;
  color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.gallery-ext-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; background: rgba(255,255,255,.15);
  border-radius: 50%; color: #fff; text-decoration: none; font-size: .8rem;
  transition: background var(--transition);
}
.gallery-ext-link:hover { background: var(--primary); color: #fff; }

/* Filtros */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Loading skeleton */
.gallery-loading-state { padding: 1rem 0; }
.gallery-skeleton-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 991px) { .gallery-skeleton-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-skeleton-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-skeleton {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Gallery Stats Cards ───────────────────────────────── */
.gallery-stat-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl); padding: 1.8rem 1rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.gallery-stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-stat-icon {
  width: 52px; height: 52px; margin: 0 auto .9rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
}
.gallery-stat-num   { font-size: 1.9rem; font-weight: 800; color: var(--dark); font-family: 'Space Grotesk', sans-serif; }
.gallery-stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   LIGHTBOX — sj-lb
══════════════════════════════════════════════════════════ */
.sj-lb {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; pointer-events: none;
}
.sj-lb--open {
  visibility: visible; pointer-events: auto;
}

/* Backdrop */
.sj-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 20, .96);
  backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s ease;
}
.sj-lb--open .sj-lb-backdrop { opacity: 1; }

/* Content */
.sj-lb-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: min(92vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(30, 41, 59, .85);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  transform: scale(.92) translateY(20px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.sj-lb--open .sj-lb-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Media area */
.sj-lb-media {
  position: relative; flex: 1;
  min-height: 200px; max-height: 75vh;
  background: #000; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.sj-lb-img {
  max-width: 100%; max-height: 75vh;
  object-fit: contain; display: block;
  transition: opacity .25s ease;
}
.sj-lb-iframe {
  width: 100%; height: 70vh; border: none; display: block;
}
.sj-lb-spinner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.5);
}

/* Footer */
.sj-lb-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.4rem; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(15,23,42,.7);
  flex-shrink: 0;
}
.sj-lb-info { flex: 1; min-width: 0; }
.sj-lb-title {
  display: block; font-size: .92rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sj-lb-desc {
  display: block; font-size: .78rem; color: rgba(255,255,255,.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sj-lb-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.sj-lb-counter { font-size: .8rem; color: rgba(255,255,255,.4); font-weight: 600; white-space: nowrap; }
.sj-lb-open-btn {
  width: 32px; height: 32px; background: rgba(255,255,255,.1);
  border-radius: .5rem; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none; transition: all var(--transition);
}
.sj-lb-open-btn:hover { background: var(--primary); color: #fff; }

/* Close button */
.sj-lb-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: all var(--transition);
}
.sj-lb-close:hover { background: #ef4444; border-color: #ef4444; transform: rotate(90deg); }

/* Nav arrows */
.sj-lb-nav {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: all var(--transition);
}
.sj-lb-nav:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); }
.sj-lb-nav:disabled { opacity: .25; cursor: not-allowed; }
.sj-lb-prev { left: 1rem; }
.sj-lb-next { right: 1rem; }
@media (max-width: 575px) {
  .sj-lb-prev { left: .4rem; }
  .sj-lb-next { right: .4rem; }
  .sj-lb-nav  { width: 38px; height: 38px; font-size: 1rem; }
  .sj-lb-footer { padding: .7rem 1rem; }
}

/* ══════════════════════════════════════════════════════════
   PÁGINA DE MANTENIMIENTO TÉCNICO
══════════════════════════════════════════════════════════ */

/* Hero ─────────────────────────────────────────────────── */
.mant-hero { position: relative; overflow: hidden; }
.mant-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.mant-shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
}
.mant-shape-1 {
  width: 500px; height: 500px;
  background: #0d6efd; top: -150px; right: -100px;
}
.mant-shape-2 {
  width: 350px; height: 350px;
  background: #198754; bottom: -100px; left: -80px;
}

/* Barra de confianza ───────────────────────────────────── */
.mant-trust-bar {
  background: #fff; border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 1rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.mant-trust-grid {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem;
  justify-content: center; align-items: center;
}
.mant-trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .875rem; color: var(--dark);
}
.mant-trust-item i { font-size: 1rem; }

/* Tarjeta de servicio ──────────────────────────────────── */
.mant-service-card {
  background: #fff; border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mant-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.mant-service-featured { border-color: rgba(220,53,69,.18); }

.mant-card-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(135deg, rgba(var(--mant-color-rgb, 13,110,253),.04) 0%, transparent 100%);
}
.mant-card-icon {
  width: 56px; height: 56px; border-radius: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--mant-color,#0d6efd)12; color: var(--mant-color,#0d6efd);
  font-size: 1.5rem;
  background: rgba(13,110,253,.08);
}
.mant-card-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0; }
.mant-card-sub   { font-size: .8rem; color: var(--text-muted); margin: .2rem 0 0; }

.mant-card-body { padding: 1.5rem 1.75rem; }

.mant-feature-item {
  display: flex; align-items: flex-start; gap: .45rem;
  font-size: .825rem; color: var(--text-body);
  line-height: 1.4;
}
.mant-feature-item i { color: var(--mant-color,#0d6efd); margin-top: .1rem; flex-shrink: 0; }

/* Badge de precio ──────────────────────────────────────── */
.mant-price-badge {
  display: inline-flex; align-items: baseline; gap: .35rem;
  background: linear-gradient(135deg, var(--mant-color,#0d6efd)10, var(--mant-color,#0d6efd)05);
  border: 1px solid var(--mant-color,#0d6efd);
  border-radius: 2rem; padding: .45rem 1rem;
  opacity: .95;
}
.mant-price-from { font-size: .75rem; color: var(--text-muted); }
.mant-price-val  { font-size: 1.4rem; font-weight: 800; color: var(--mant-color,#0d6efd); line-height: 1; }
.mant-price-note { font-size: .75rem; color: var(--text-muted); }

/* Tabla de precios ─────────────────────────────────────── */
.mant-price-card {
  background: #fff; border-radius: 1.25rem; padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 20px rgba(0,0,0,.06); height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mant-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.mant-price-card-icon {
  width: 52px; height: 52px; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.mant-price-card-title {
  font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem;
}
.mant-price-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.mant-price-list li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--text-muted);
  padding-bottom: .55rem;
  border-bottom: 1px dashed rgba(0,0,0,.07);
}
.mant-price-list li:last-child { border-bottom: none; padding-bottom: 0; }
.mant-price-list strong { color: var(--dark); font-weight: 700; white-space: nowrap; }

/* Pasos del proceso ────────────────────────────────────── */
.mant-step-card { padding: 1.5rem 1rem; }
.mant-step-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .75rem;
}
.mant-step-icon {
  width: 64px; height: 64px; border-radius: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.mant-step-title { font-size: 1rem; font-weight: 700; color: var(--dark); }
.mant-step-desc  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* FAQ ──────────────────────────────────────────────────── */
.mant-faq { border: none; }
.mant-faq-item {
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 1rem !important; margin-bottom: .75rem;
  overflow: hidden;
}
.mant-faq-btn {
  background: #fff !important; color: var(--dark) !important;
  font-weight: 600; font-size: .925rem;
  box-shadow: none !important;
}
.mant-faq-btn:not(.collapsed) { color: var(--primary) !important; }
.mant-faq-btn::after { filter: none !important; }
.mant-faq-body { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   BARRA DE PROGRESO DE PÁGINA
══════════════════════════════════════════════════════════ */
#sj-progress-bar {
  position: fixed; top: 0; left: 0; z-index: 99999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .1s linear;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   BOTÓN VOLVER ARRIBA
══════════════════════════════════════════════════════════ */
.sj-back-top {
  position: fixed; bottom: 7rem; right: 1.8rem; z-index: 9990;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary);
  color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(13,110,253,.35);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  pointer-events: none;
}
.sj-back-top.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.sj-back-top:hover { background: var(--secondary); }

@media (max-width: 767px) {
  .sj-back-top { bottom: 5.5rem; right: 1.2rem; width: 38px; height: 38px; font-size: .95rem; }
}

/* ══════════════════════════════════════════════════════════
   COOKIE CONSENT BAR
══════════════════════════════════════════════════════════ */
.sj-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99998;
  background: rgba(15,23,42,.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.5rem;
  animation: cookieSlideUp .4s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.sj-cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.sj-cookie-text {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.75); font-size: .88rem; flex: 1; min-width: 200px;
}
.sj-cookie-icon { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
.sj-cookie-link { color: var(--primary); }
.sj-cookie-btns { display: flex; gap: .5rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   MEJORAS GENERALES DE UI
══════════════════════════════════════════════════════════ */

/* Scrollbar personalizada */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* Focus visible mejorado */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selección de texto */
::selection { background: rgba(13,110,253,.2); color: var(--dark); }

/* Animación de entrada para alertas */
.alert { animation: alertFadeIn .35s ease; }
@keyframes alertFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* Botón con spinner de carga */
.btn-loading {
  position: relative; pointer-events: none; opacity: .8;
}
.btn-loading::after {
  content: '';
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* Mejora de cards en hover */
.service-card, .testimonial-card, .team-card {
  will-change: transform;
}

/* Badge mejorado */
.section-badge {
  transition: all var(--transition);
}

/* ══════════════════════════════════════════════════════════
   HERO — TYPEWRITER
══════════════════════════════════════════════════════════ */
.sj-typewriter-wrap {
  display: inline-block; position: relative;
}
.sj-typewriter {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.sj-typewriter::after {
  content: '|';
  position: absolute; right: -4px; top: 0;
  -webkit-text-fill-color: var(--primary);
  animation: typeBlink .75s step-end infinite;
  font-weight: 300;
}
@keyframes typeBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ══════════════════════════════════════════════════════════
   HERO — QUICK CONTACT ROW
══════════════════════════════════════════════════════════ */
.hero-quick-contact {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.hero-quick-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2rem; padding: .42rem 1rem;
  color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.hero-quick-btn:not(.no-hover):hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.hqb-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(13,110,253,.2); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   HERO — LIVE DOT & BOT DOTS
══════════════════════════════════════════════════════════ */
.hero-live-dot {
  width: 8px; height: 8px; background: #25d366; border-radius: 50%;
  flex-shrink: 0; animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 50%{box-shadow:0 0 0 5px rgba(37,211,102,0)} }

.hero-bot-dot {
  width: 7px; height: 7px; background: rgba(37,211,102,.7); border-radius: 50%;
  animation: botBounce 1s ease-in-out infinite;
}
@keyframes botBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* ══════════════════════════════════════════════════════════
   TRUST BAR — MARQUEE
══════════════════════════════════════════════════════════ */
.trust-marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trust-marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.trust-marquee-track:hover { animation-play-state: paused; }
.trust-marquee-item {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .83rem; color: rgba(255,255,255,.6); font-weight: 500;
  white-space: nowrap; padding: 0 .6rem;
}
.trust-marquee-item i { font-size: .95rem; }
.trust-marquee-sep {
  color: rgba(255,255,255,.2); font-size: 1rem; padding: 0 .2rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════
   TECH MARQUEE
══════════════════════════════════════════════════════════ */
.tech-marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: .5rem 0;
}
.tech-marquee-track {
  display: flex; align-items: center; gap: 1rem;
  width: max-content;
  animation: techMarquee 30s linear infinite;
}
.tech-marquee-track:hover { animation-play-state: paused; }
@keyframes techMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tech-item-m {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg); padding: 1rem 1.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  text-align: center; box-shadow: var(--shadow-sm);
  min-width: 90px; flex-shrink: 0;
  transition: all var(--transition);
}
.tech-item-m:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-item-m i    { font-size: 1.8rem; }
.tech-item-m span { font-size: .76rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   CTA — QUICK FORM
══════════════════════════════════════════════════════════ */
.cta-live-indicator {
  width: 8px; height: 8px; background: #25d366; border-radius: 50%;
  display: inline-block;
  animation: livePulse 1.8s ease-in-out infinite;
}
.cta-trust-pill {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 2rem; padding: .3rem .85rem;
  font-size: .8rem; color: rgba(255,255,255,.7);
}
.cta-quick-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.cta-quick-title {
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem;
}
.cta-input {
  width: 100%; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: .75rem;
  padding: .65rem 1rem; color: #fff; font-size: .88rem;
  transition: all var(--transition);
  -webkit-appearance: none;
}
.cta-input::placeholder { color: rgba(255,255,255,.35); }
.cta-input option       { background: var(--dark-2); color: #fff; }
.cta-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.2);
  background: rgba(255,255,255,.1);
}
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
