:root {
  --movil-primary: #0f766e;
  --movil-primary-dark: #0b4f4a;
  --movil-success: #16a34a;
  --movil-accent: #f59e0b;
  --movil-accent-soft: #fff7ed;
  --movil-text: #111827;
  --movil-muted: #667085;
  --movil-bg: #f7f8f5;
  --movil-surface: #ffffff;
  --movil-border: #dde5df;
  --movil-soft: rgba(15, 118, 110, 0.1);
  --movil-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

* { letter-spacing: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--movil-text);
  background: var(--movil-bg);
  text-rendering: optimizeLegibility;
}

body.landing-ready .landing-page {
  animation: pageFadeIn .5s ease both;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.landing-page .container {
  max-width: min(100% - 32px, 1240px);
  padding-left: 0;
  padding-right: 0;
}

.landing-page {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 118, 110, 0.13), transparent 32rem),
    radial-gradient(circle at 92% 4%, rgba(245, 158, 11, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0%, #f7f8f5 44%, #f3f7f4 100%),
    var(--movil-bg);
}

.floating-accents {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-accent {
  position: absolute;
  display: block;
  opacity: .42;
  filter: drop-shadow(0 18px 34px rgba(15, 118, 110, .16));
  will-change: transform;
}

.accent-square {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 118, 110, .28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .32)),
    rgba(15, 118, 110, .08);
  transform: rotate(14deg);
}

.accent-tile {
  width: 70px;
  height: 48px;
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(10px);
}

.accent-line {
  width: 92px;
  height: 10px;
  border-top: 2px solid rgba(15, 118, 110, .28);
  border-bottom: 2px solid rgba(245, 158, 11, .25);
  transform: rotate(-18deg);
}

.accent-one { top: 9%; left: 7%; animation: accentFloatOne 11s ease-in-out infinite; }
.accent-two { top: 23%; right: 7%; animation: accentFloatTwo 13s ease-in-out .4s infinite; }
.accent-three { top: 50%; left: 3%; animation: accentFloatThree 14s ease-in-out .8s infinite; }
.accent-four { top: 67%; right: 10%; animation: accentFloatOne 12s ease-in-out 1.2s infinite; }
.accent-five { bottom: 8%; left: 18%; animation: accentFloatTwo 15s ease-in-out 1.6s infinite; }

@keyframes accentFloatOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(14deg); }
  50% { transform: translate3d(16px, -22px, 0) rotate(23deg); }
}

@keyframes accentFloatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(-20px, 18px, 0) rotate(-15deg); }
}

@keyframes accentFloatThree {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-18deg); }
  50% { transform: translate3d(24px, 12px, 0) rotate(-8deg); }
}

.navbar-movil {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(221, 229, 223, 0.86);
  background: rgba(251, 252, 248, 0.88);
  backdrop-filter: blur(18px);
  transition: padding .24s ease, background-color .24s ease, box-shadow .24s ease, border-color .24s ease, transform .24s ease;
  will-change: transform, box-shadow, background-color;
}

.hero,
.section,
.section-tight,
.footer {
  position: relative;
  z-index: 1;
}

.navbar-brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-word { font-weight: 900; font-size: 20px; color: var(--movil-text); }
.nav-link { color: #4b5563; font-weight: 700; font-size: 13px; }
.nav-link:hover { color: var(--movil-primary); }

.navbar-movil.is-scrolled {
  border-color: rgba(197, 211, 202, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.1);
  transform: translateY(0);
}

.navbar-movil.is-scrolled.py-3 {
  padding-top: .62rem !important;
  padding-bottom: .62rem !important;
}

.navbar-movil .navbar-brand img,
.navbar-movil .brand-word,
.navbar-movil .btn,
.navbar-movil .nav-link {
  transition: transform .24s ease, width .24s ease, height .24s ease, font-size .24s ease, box-shadow .24s ease;
}

.navbar-movil.is-scrolled .navbar-brand img {
  width: 36px;
  height: 36px;
}

.navbar-movil.is-scrolled .brand-word {
  font-size: 20px;
}

.navbar-movil.is-scrolled .btn-primary-movil {
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.btn-movil {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: .62rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: none;
}

.btn-primary-movil {
  color: #fff;
  border-color: var(--movil-primary);
  background: linear-gradient(135deg, var(--movil-primary), var(--movil-primary-dark));
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.btn-primary-movil:hover { color: #fff; transform: translateY(-1px); }
.btn-ghost-movil { border: 1px solid var(--movil-border); background: #fff; color: var(--movil-text); }
.btn-ghost-movil:hover { border-color: rgba(15, 118, 110, 0.36); color: var(--movil-primary); background: #f0fdfa; }
.btn-video-movil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 118, 110, .2);
  color: var(--movil-primary);
  background: #fff;
}
.btn-video-movil i { width: 18px; height: 18px; }
.btn-video-movil:hover,
.btn-video-movil:focus {
  border-color: rgba(245, 158, 11, .52);
  color: #92400e;
  background: var(--movil-accent-soft);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 64px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: var(--movil-primary);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
}

.hero-badge i {
  animation: floatIcon 3.4s ease-in-out infinite;
}

.hero h1 {
  max-width: 860px;
  margin: 20px auto 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, #111827 8%, var(--movil-primary), var(--movil-accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #5b6472;
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-actions .btn {
  animation: floatButton 5.2s ease-in-out infinite;
}
.hero-actions .btn:nth-child(2) {
  animation-delay: .45s;
}
.hero-actions .btn:nth-child(3) {
  animation-delay: .9s;
}
.hero-actions .btn:hover,
.hero-actions .btn:focus {
  animation: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--movil-muted);
  font-weight: 750;
  font-size: 13px;
}

.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof i { width: 17px; height: 17px; color: var(--movil-success); }

.dashboard-stage {
  position: relative;
  max-width: 980px;
  margin: 32px auto 0;
  animation: dashboardFloat 6s ease-in-out infinite;
}

@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.dashboard-shell {
  padding: 9px;
  border: 1px solid rgba(197, 211, 202, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--movil-shadow);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, box-shadow .28s ease;
}

.dashboard-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 82px rgba(15, 23, 42, 0.15);
}

.dashboard-shell img {
  display: block;
  width: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.floating-kpi {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 136px;
  padding: 10px 12px;
  border: 1px solid rgba(221, 229, 223, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14);
}

.floating-kpi span { color: var(--movil-muted); font-size: 10px; font-weight: 800; }
.floating-kpi strong { color: var(--movil-text); font-size: 15px; font-weight: 900; }
.kpi-one { top: 9%; left: -1.5%; }
.kpi-two { right: -1%; top: 18%; }
.kpi-three { left: 12%; bottom: -4%; }
.kpi-four { right: 11%; bottom: -5%; }
.kpi-one { animation: kpiFloat 5.6s ease-in-out infinite; }
.kpi-two { animation: kpiFloat 6.2s ease-in-out .3s infinite; }
.kpi-three { animation: kpiFloat 5.9s ease-in-out .55s infinite; }
.kpi-four { animation: kpiFloat 6.4s ease-in-out .8s infinite; }

@keyframes kpiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes floatButton {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes floatVisual {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes floatArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-heading { max-width: 660px; margin: 0 auto 32px; }
.section-heading.text-start { margin-left: 0; }
.section-eyebrow {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--movil-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-heading h2 { margin: 0; font-size: clamp(22px, 2.35vw, 31px); line-height: 1.22; font-weight: 900; }
.section-heading p { margin: 10px 0 0; color: var(--movil-muted); font-size: 14px; line-height: 1.62; }

.trust-card,
.glass-card,
.feature-card,
.module-card,
.report-card,
.testimonial-card,
.modal-content {
  border: 1px solid rgba(221, 229, 223, 0.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}

.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust-card { padding: 18px; text-align: center; transition: transform .22s ease, box-shadow .22s ease; }
.trust-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(15, 23, 42, 0.11); }
.trust-card strong { display: block; color: var(--movil-primary); font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.trust-card span { color: var(--movil-muted); font-size: 13px; font-weight: 800; }

.problem-solution { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.glass-card { padding: 20px; }
.glass-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: #475569; font-size: 13px; font-weight: 700; }
.check-list i { flex: 0 0 20px; width: 20px; height: 20px; color: var(--movil-success); }
.problem-list i { color: #ef4444; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature-card { padding: 14px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(15, 118, 110, 0.36); box-shadow: 0 24px 58px rgba(17, 24, 39, 0.12); }
.feature-card-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--movil-primary);
  background: var(--movil-soft);
  transition: transform .22s ease, background-color .22s ease, color .22s ease;
}
.feature-card:hover .feature-card-icon { animation: none; transform: rotate(-4deg) scale(1.06); background: var(--movil-primary); color: #fff; }
.feature-card-icon i { width: 19px; height: 19px; }
.feature-card:nth-child(3n+1) .feature-card-icon { animation: floatIcon 4.4s ease-in-out infinite; }
.feature-card:nth-child(3n+2) .feature-card-icon { animation: floatIcon 4.8s ease-in-out .35s infinite; }
.feature-card:nth-child(3n) .feature-card-icon { animation: floatIcon 5.1s ease-in-out .7s infinite; }
.feature-card img { width: 100%; height: 82px; margin: 12px 0; border-radius: 10px; object-fit: cover; object-position: top left; border: 1px solid var(--movil-border); transition: transform .28s ease; }
.feature-card:hover img { transform: scale(1.035); }
.feature-card h3 { font-size: 15px; font-weight: 900; margin: 10px 0 6px; }
.feature-card p { margin: 0; color: var(--movil-muted); line-height: 1.55; font-size: 12.5px; }

.module-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  margin-bottom: 16px;
}
.module-card:nth-child(even) .module-visual { order: 2; }
.module-visual {
  animation: floatVisual 7s ease-in-out infinite;
}
.module-card:nth-child(even) .module-visual {
  animation-delay: .55s;
}
.module-visual img { width: 100%; border-radius: 14px; border: 1px solid var(--movil-border); box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08); transition: transform .35s ease, box-shadow .35s ease; }
.module-card:hover .module-visual img { transform: translateY(-5px) scale(1.01); box-shadow: 0 26px 60px rgba(17, 24, 39, 0.13); }
.module-copy h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 900; margin-bottom: 8px; }
.module-copy p { color: var(--movil-muted); font-size: 13.5px; line-height: 1.62; }

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
}
.timeline-step {
  position: relative;
  padding: 14px;
  border: 1px solid var(--movil-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.timeline-step:hover { transform: translateY(-5px); border-color: rgba(15, 118, 110, .32); box-shadow: 0 24px 54px rgba(17, 24, 39, .11); }
.timeline-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--movil-primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 0 rgba(15, 118, 110, .28);
  animation: timelinePulse 2.8s ease-out infinite;
}
.timeline-step:nth-child(2) span { animation-delay: .18s; }
.timeline-step:nth-child(3) span { animation-delay: .36s; }
.timeline-step:nth-child(4) span { animation-delay: .54s; }
.timeline-step:nth-child(5) span { animation-delay: .72s; }
.timeline-step:nth-child(6) span { animation-delay: .9s; }

@keyframes timelinePulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 118, 110, .24); }
  70% { box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); }
}
.timeline-step h3 { margin: 0; font-size: 13.5px; font-weight: 900; }

.reports-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.report-card { padding: 16px; transition: transform .22s ease, box-shadow .22s ease; }
.report-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(17, 24, 39, .11); }
.report-card i { width: 24px; height: 24px; color: var(--movil-primary); }
.report-card > i { animation: floatIcon 4.6s ease-in-out infinite; }
.report-card:nth-child(even) > i { animation-delay: .42s; }
.report-card h3 { margin: 11px 0 6px; font-size: 15px; font-weight: 900; }
.report-card p { margin: 0; color: var(--movil-muted); font-size: 12.5px; line-height: 1.55; }
.mini-chart { display: flex; align-items: end; gap: 5px; height: 40px; margin-top: 12px; }
.mini-chart span {
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--movil-accent), var(--movil-primary));
  transform-origin: bottom;
  transform: scaleY(.2);
  opacity: .55;
  transition: transform .7s ease, opacity .7s ease;
}
.report-card.is-in-view .mini-chart span { transform: scaleY(1); opacity: 1; }
.report-card.is-in-view .mini-chart span:nth-child(2) { transition-delay: .06s; }
.report-card.is-in-view .mini-chart span:nth-child(3) { transition-delay: .12s; }
.report-card.is-in-view .mini-chart span:nth-child(4) { transition-delay: .18s; }
.report-card.is-in-view .mini-chart span:nth-child(5) { transition-delay: .24s; }

.comparison-wrap { overflow-x: auto; }
.comparison-table { min-width: 760px; overflow: hidden; border-radius: 16px; box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07); }
.comparison-table th, .comparison-table td { padding: 13px 15px; vertical-align: middle; font-size: 13px; }
.comparison-table thead th { background: #ecfdf5; color: #164e45; font-weight: 900; }
.comparison-table tbody td { background: #fff; border-color: var(--movil-border); font-weight: 800; }
.comparison-table i { width: 21px; height: 21px; }
.yes { color: var(--movil-success); }
.no { color: #ef4444; }
.partial { color: #f59e0b; }

.migration-band {
  border-radius: 28px;
  padding: 30px;
  background: linear-gradient(135deg, #fff, #ecfdf5 64%, #fff7ed);
  box-shadow: var(--movil-shadow);
}
.migration-illustration {
  min-height: 300px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .13), rgba(245, 158, 11, .13)),
    #fff;
  display: grid;
  place-items: center;
}
.migration-stack { display: grid; gap: 12px; width: min(360px, 90%); }
.migration-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-radius: 14px; background: #fff; box-shadow: 0 12px 26px rgba(15, 23, 42, .08); font-size: 13px; font-weight: 850; transition: transform .22s ease; }
.migration-row:hover { transform: translateX(6px); }
.migration-row i { animation: floatArrow 2.6s ease-in-out infinite; }
.migration-row:nth-child(2) i { animation-delay: .22s; }
.migration-row:nth-child(3) i { animation-delay: .44s; }

.testimonial-card { padding: 18px; height: 100%; font-size: 13px; transition: transform .25s ease, box-shadow .25s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(17, 24, 39, .11); }
.testimonial-person { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--movil-primary), var(--movil-accent)); color: #fff; display: grid; place-items: center; font-weight: 900; }
.stars { color: #f59e0b; letter-spacing: 1px; }

.accordion-item { border: 1px solid var(--movil-border); border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; }
.accordion-button { font-size: 13px; font-weight: 900; padding: 14px 16px; }
.accordion-button:not(.collapsed) { color: var(--movil-primary); background: #ecfdf5; box-shadow: none; }
.accordion-body { color: var(--movil-muted); font-size: 13px; line-height: 1.65; }

.final-cta {
  padding: 40px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #111827 0%, var(--movil-primary-dark) 54%, var(--movil-primary) 78%, #d97706 100%);
  box-shadow: var(--movil-shadow);
}
.final-cta h2 { font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); }
.final-cta p { color: rgba(255, 255, 255, .82); font-size: 14px; }
.final-cta .btn-ghost-movil {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.final-cta .btn-ghost-movil:hover,
.final-cta .btn-ghost-movil:focus,
.final-cta .btn-ghost-movil:active {
  border-color: #fff;
  background: #fff;
  color: var(--movil-primary);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .18);
  transform: translateY(-1px);
}

.footer { padding: 46px 0 24px; background: #fff; border-top: 1px solid var(--movil-border); }
.footer h3 { font-size: 12px; font-weight: 900; text-transform: uppercase; color: #334155; }
.footer a, .footer p { color: var(--movil-muted); font-size: 13px; font-weight: 700; }
.footer a:hover { color: var(--movil-primary); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--movil-primary), var(--movil-primary-dark));
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 118, 110, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.94);
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}

.back-to-top i {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus {
  color: #fff;
  box-shadow: 0 22px 48px rgba(15, 118, 110, .34);
  transform: translateY(-3px) scale(1);
}

.trial-modal .modal-dialog { max-width: 820px; }
.demo-videos-modal .modal-dialog { max-width: min(980px, calc(100% - 28px)); }
.trial-modal .modal-content,
.demo-videos-modal .modal-content { border: 0; overflow: hidden; }
.demo-videos-modal .modal-header,
.trial-modal .modal-header {
  padding: 24px 28px;
  border: 0;
  background: linear-gradient(135deg, #ecfdf5, #fff7ed);
}
.trial-modal .modal-title,
.demo-videos-modal .modal-title { font-weight: 900; }
.trial-modal .modal-body,
.demo-videos-modal .modal-body { padding: 28px; }
.demo-video-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: #f1f5f9;
}
.demo-video-tabs .nav-link {
  min-width: 126px;
  border-radius: 12px;
  color: #64748b;
  font-weight: 900;
}
.demo-video-tabs .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--movil-primary), var(--movil-primary-dark));
  box-shadow: 0 12px 22px rgba(15, 118, 110, .18);
}
.demo-video-content { margin-top: 18px; }
.demo-video-grid {
  display: grid;
  gap: 18px;
}
.demo-video-card {
  overflow: hidden;
  border: 1px solid var(--movil-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, .08);
}
.demo-video-card video {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 18px 18px 0 0;
  background: #0f172a;
}
.demo-video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
}
.demo-video-meta strong {
  color: var(--movil-text);
  font-size: 14px;
  font-weight: 900;
}
.demo-video-meta span {
  color: var(--movil-muted);
  font-size: 12px;
  font-weight: 800;
}
.demo-video-state,
.demo-video-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  margin-top: 18px;
  border: 1px dashed rgba(15, 118, 110, .25);
  border-radius: 18px;
  color: var(--movil-muted);
  background: #fbfefc;
  font-weight: 800;
  text-align: center;
}
.trial-modal .form-label { color: #334155; font-weight: 850; font-size: 13px; }
.trial-modal .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #dbe3ef;
  font-weight: 700;
}
.trial-modal .form-control:focus {
  border-color: rgba(15, 118, 110, .55);
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .12);
}
.password-wrap { position: relative; }
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--movil-muted);
}
.modal-note { color: var(--movil-muted); font-weight: 700; font-size: 13px; }
.success-panel {
  display: none;
  padding: 16px;
  border: 1px solid rgba(22, 163, 74, .25);
  border-radius: 16px;
  background: rgba(22, 163, 74, .08);
  color: #166534;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .feature-grid, .reports-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .landing-page .container {
    max-width: min(100% - 26px, 1240px);
  }

  .hero { padding-top: 48px; }
  .navbar-collapse { padding: 12px 0; }
  .trust-grid, .feature-grid, .reports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-solution, .module-card { grid-template-columns: 1fr; }
  .module-card:nth-child(even) .module-visual { order: 0; }
  .floating-kpi { position: static; margin: 10px; display: inline-grid; }
  .dashboard-stage { animation: none; }
  .dashboard-kpis { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
}

@media (max-width: 767px) {
  .landing-page .container {
    max-width: min(100% - 18px, 1240px);
  }

  .section { padding: 46px 0; }
  .section-tight { padding: 32px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading p { font-size: 13px; }
  .hero { padding: 38px 0 42px; }
  .hero h1 { font-size: 28px; line-height: 1.16; }
  .hero-subtitle { font-size: 13.5px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-grid, .feature-grid, .reports-grid, .timeline { grid-template-columns: 1fr; }
  .dashboard-shell { padding: 7px; border-radius: 16px; }
  .dashboard-shell img { border-radius: 12px; }
  .migration-band, .final-cta { padding: 20px; border-radius: 18px; }
  .module-card,
  .glass-card,
  .feature-card,
  .report-card,
  .testimonial-card {
    padding: 14px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .trial-modal .modal-body,
  .trial-modal .modal-header,
  .demo-videos-modal .modal-body,
  .demo-videos-modal .modal-header { padding: 22px; }
  .demo-video-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .demo-video-tabs .nav-link { min-width: 0; }
  .accent-three,
  .accent-four,
  .accent-five {
    display: none;
  }

  .accent-one { top: 6%; left: -10px; }
  .accent-two { top: 32%; right: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .float-accent {
    display: none;
  }
}
