/* =====================================================================
   Boleta Perú — Custom design layer (2025 refresh)
   Refined fintech aesthetic built on the brand teal/cyan palette.
   Loaded AFTER style.css so it intentionally overrides the template.
   ===================================================================== */

:root {
  /* Brand — preserved from the original logo & buttons */
  --teal-600: #2594a0;   /* primary button bg */
  --teal-500: #18bece;   /* primary border */
  --cyan:      #3bbdcb;   /* hover / "Ingresar" button */
  --orange:    #fd7e14;   /* accent / popular plan */
  --green:     #5aa83a;   /* checkmarks */

  /* Neutrals tuned to the teal brand */
  --ink:       #082930;
  --ink-soft:  #41616a;
  --bg:        #f2fafb;
  --bg-2:      #e7f6f8;
  --card:      #ffffff;
  --line:      rgba(8, 41, 48, 0.09);
  --line-2:    rgba(8, 41, 48, 0.05);

  --grad: linear-gradient(120deg, var(--teal-600) 0%, var(--cyan) 55%, var(--teal-500) 100%);
  --shadow-sm: 0 4px 18px -8px rgba(8, 41, 48, 0.18);
  --shadow:    0 22px 50px -28px rgba(8, 41, 48, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(37, 148, 160, 0.55);

  --radius: 22px;
}

/* ---------- Base typography ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, sans-serif !important;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.site-wrap { overflow-x: clip; }

h1, h2, h3, h4, h5,
.hero-heading, .section-title-1, .section-title-2, .footer-heading {
  font-family: "Bricolage Grotesque", "Manrope", sans-serif !important;
  color: var(--ink) !important;
  letter-spacing: -0.025em;
}

p { color: var(--ink-soft); }

/* Eyebrow label */
.subtitle-1, .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Manrope", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: var(--teal-600) !important;
  margin-bottom: 0.85rem;
}
.subtitle-1::before, .sub-title::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.sub-title b { color: var(--teal-600); }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px !important;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.9rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: none;
}
.btn.btn-primary {
  background: var(--grad) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px -14px rgba(37, 148, 160, 0.75);
}
.btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -14px rgba(37, 148, 160, 0.9);
  background: var(--grad) !important;
}
.btn.btn-secondary {
  background: var(--ink) !important;
  color: #fff !important;
}
.btn.btn-secondary:hover { transform: translateY(-3px); background: #0c3a43 !important; }

.btn-block { display: block; width: 100%; }

/* ===================================================================
   NAVBAR — glassmorphic sticky bar
   =================================================================== */
.site-navbar {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: padding .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-navbar.sticky-active,
.js-sticky-header.shrink {
  box-shadow: 0 10px 30px -22px rgba(8, 41, 48, 0.4);
}
.site-navbar .site-logo img { max-height: 38px; width: auto; }

.site-navbar .site-menu > li > a.nav-link {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink) !important;
  padding: 0.5rem 0.95rem !important;
  position: relative;
  transition: color .2s ease;
}
.site-navbar .site-menu > li > a.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 2px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
  border-radius: 2px;
}
.site-navbar .site-menu > li > a.nav-link:hover::after,
.site-navbar .site-menu > li.active > a.nav-link::after { transform: scaleX(1); }
.site-navbar .site-menu > li > a.nav-link:hover { color: var(--teal-600) !important; }

/* "Ingresar" button — SAME position & teal identity, just refined into a pill.
   (No underline, fixed pill so existing clients still recognise it.) */
.site-navbar .site-menu > li > a.nav-link[href*="login"] {
  background: var(--cyan) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.6rem 1.55rem !important;
  margin-left: 0.6rem;
  box-shadow: 0 12px 24px -12px rgba(59, 189, 203, 0.85);
  transition: transform .25s ease, box-shadow .25s ease;
}
.site-navbar .site-menu > li > a.nav-link[href*="login"]::after { display: none; }
.site-navbar .site-menu > li > a.nav-link[href*="login"]:hover {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 18px 30px -12px rgba(59, 189, 203, 0.95);
}

.site-navbar .site-menu .social a.nav-link {
  color: var(--ink-soft) !important;
  font-size: 1.05rem;
}
.site-navbar .site-menu .social a.nav-link:hover { color: var(--teal-600) !important; }

/* ===================================================================
   HERO — aurora mesh + floating dashboard
   =================================================================== */
.hero {
  position: relative;
  padding-top: 11rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(60% 55% at 78% 8%,  rgba(59, 189, 203, 0.28), transparent 60%),
    radial-gradient(48% 50% at 8% 22%,  rgba(37, 148, 160, 0.20), transparent 60%),
    radial-gradient(70% 60% at 50% 120%, rgba(24, 190, 206, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
  overflow: hidden;
}
/* subtle grid texture */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8,41,48,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,41,48,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  color: var(--teal-600);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .7s ease both;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(90,168,58,0.18);
}

.hero .hero-heading {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem) !important;
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 1.3rem;
  animation: fadeUp .7s ease .05s both;
}
.hero .hero-heading strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero > .container > .row > div > .mb-5 > p {
  font-size: 1.18rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  animation: fadeUp .7s ease .12s both;
}
.hero-cta { animation: fadeUp .7s ease .18s both; }
.hero-cta .btn { margin: 0 .4rem .6rem; }

/* trust row */
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.4rem 2.2rem;
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem; font-weight: 600;
  animation: fadeUp .7s ease .24s both;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust [class^="icon-"] { color: var(--teal-600); font-size: 1.05rem; }

/* device + glow + floating cards */
.hero-device {
  position: relative;
  margin-top: 3.5rem;
  display: inline-block;
  animation: floatY 7s ease-in-out infinite;
}
.hero-device::before {
  content: "";
  position: absolute;
  inset: -8% -6% -14% -6%;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.38;
  border-radius: 50%;
  z-index: -1;
}
.hero-device img {
  border-radius: 14px;
  filter: drop-shadow(0 40px 60px rgba(8,41,48,0.30));
  max-width: 100%;
}
.video-btn { display: inline-block; }

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem;
  z-index: 3;
}
.float-card .fc-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem; flex: none;
}
.float-card .fc-label { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.float-card .fc-value { font-size: 1.05rem; font-weight: 800; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; line-height: 1; }
.float-card.fc-1 { top: 14%; left: -4%; animation: floatY 6s ease-in-out infinite; }
.float-card.fc-1 .fc-icon { background: var(--grad); }
.float-card.fc-2 { bottom: 16%; right: -5%; animation: floatY 6.5s ease-in-out .8s infinite; }
.float-card.fc-2 .fc-icon { background: linear-gradient(135deg, var(--green), #7cc94f); }
.float-card.fc-3 { bottom: -3%; left: 8%; animation: floatY 7s ease-in-out .4s infinite; }
.float-card.fc-3 .fc-icon { background: linear-gradient(135deg, var(--orange), #ffae5c); }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .hero { padding-top: 8rem; }
  .float-card { display: none; }
  .hero-device::before { opacity: 0.28; }
}
@media (max-width: 575.98px) {
  .hero .hero-heading { font-size: 2rem !important; }
  .hero > .container > .row > div > .mb-5 > p { font-size: 1.02rem; }
  .hero-trust { gap: .7rem 1.2rem; font-size: .85rem; }
  .hero-cta .btn { width: 100%; margin: 0 0 .6rem; }
}

/* ===================================================================
   FEATURES
   =================================================================== */
.section-title-1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important;
  font-weight: 800 !important;
}
.section-title-2 {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  margin-bottom: .6rem;
}
#features-section { padding: 6rem 0; }

#features-section .img-fluid {
  border-radius: var(--radius);
  box-shadow: var(--shadow) !important;
  border: 1px solid var(--line-2);
}
.img-shadow { box-shadow: var(--shadow) !important; }

/* icon chips */
.feature-v1 {
  margin-bottom: 1.6rem !important;
  gap: 1rem;
  align-items: flex-start;
}
.feature-v1 .wrap-icon {
  flex: 0 0 52px !important;
  width: 52px !important; height: 52px !important;
  line-height: 52px !important;
  border-radius: 15px;
  background: var(--bg-2);
  color: var(--teal-600) !important;
  font-size: 1.45rem !important;
  text-align: center;
  margin-right: .3rem !important;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.feature-v1:hover .wrap-icon {
  background: var(--grad);
  color: #fff !important;
  transform: translateY(-3px) rotate(-4deg);
}
.feature-v1 h3 { font-size: 1.08rem !important; font-weight: 800 !important; margin-bottom: .25rem; }
.feature-v1 p  { font-size: .95rem !important; }

/* demo band */
.site-section.bg-light.text-center {
  background: var(--ink) !important;
  border-radius: 32px;
  margin: 1rem auto 5rem;
  max-width: 1140px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.site-section.bg-light.text-center::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 80% 0%, rgba(59,189,203,0.4), transparent 60%),
              radial-gradient(50% 120% at 10% 100%, rgba(37,148,160,0.35), transparent 60%);
}
.site-section.bg-light.text-center > .container { position: relative; z-index: 2; }
.site-section.bg-light.text-center h2 { color: #fff !important; font-size: 2.1rem; font-weight: 800; }
.site-section.bg-light.text-center p  { color: rgba(255,255,255,0.78); }
.site-section.bg-light.text-center .btn.btn-primary {
  background: #fff !important; color: var(--teal-600) !important;
}

/* ===================================================================
   PRICING — 3 tiers, middle one elevated
   =================================================================== */
#pricing-section {
  padding: 6rem 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(24,190,206,0.10), transparent 60%),
    var(--bg);
}
#pricing-section .col-7 { max-width: 720px; }

.pricing {
  display: flex;
}
.pricing .plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.4rem 2rem 2.2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pricing .plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(37,148,160,0.35);
}

/* featured (popular) plan */
.pricing .plan.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing .plan.featured:hover { transform: scale(1.04) translateY(-8px); }
@media (max-width: 991.98px) {
  .pricing .plan.featured { transform: none; }
  .pricing .plan.featured:hover { transform: translateY(-8px); }
}

.plan-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 12px 22px -10px rgba(37,148,160,0.9);
  white-space: nowrap;
}

.plan-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  margin-bottom: .35rem;
}
.plan-desc { font-size: .9rem; color: var(--ink-soft); min-height: 64px; margin-bottom: 1.2rem; }

.plan-price { display: flex; align-items: flex-start; gap: .15rem; margin-bottom: .25rem; }
.plan-price .currency { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-top: .55rem; }
.plan-price .amount {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--ink);
  letter-spacing: -0.03em;
}
.plan-price .per { align-self: flex-end; font-size: .95rem; color: var(--ink-soft); font-weight: 600; margin-bottom: .55rem; }
.plan-price .plan-tax { align-self: flex-end; font-size: .72rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-left: .35rem; margin-bottom: .7rem; opacity: .75; }

.plan-divider { height: 1px; background: var(--line); margin: 1.4rem 0; }

.plan-features { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.plan-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .85rem;
  font-size: .93rem;
  line-height: 1.45;
  color: var(--ink);
}
.plan-features li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(90,168,58,0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235aa83a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.highlight { font-weight: 700; }
.plan-features li.highlight::before {
  background: var(--grad);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.plan .btn { margin-top: auto; }
.plan .btn-outline-teal {
  background: transparent !important;
  color: var(--teal-600) !important;
  border: 1.5px solid var(--teal-600) !important;
}
.plan .btn-outline-teal:hover {
  background: var(--teal-600) !important;
  color: #fff !important;
  transform: translateY(-3px);
}
.plan-note { text-align: center; font-size: .78rem; color: var(--ink-soft); margin-top: .8rem; }

/* ===================================================================
   CONTACT
   =================================================================== */
#contact-section { padding: 5rem 0 1rem; }
#contact-section .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
#contact-section .contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
#contact-section .contact-card [class^="icon-"] {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--bg-2);
  color: var(--teal-600) !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
#contact-section .contact-card a { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
#contact-section .contact-card a:hover { color: var(--teal-600); }
#contact-section .contact-label { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); font-weight: 700; margin-bottom:.2rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer.bg-light {
  background: var(--ink) !important;
  margin-top: 5rem;
  padding: 4rem 0 2rem;
}
.site-footer .footer-heading { color: #fff !important; font-size: 1.15rem !important; }
.site-footer p, .site-footer li a, .site-footer .copyright { color: rgba(255,255,255,0.7) !important; }
.site-footer li a:hover { color: var(--cyan) !important; }
.site-footer .border-top { border-color: rgba(255,255,255,0.12) !important; }
.site-footer .footer-brand img {
  max-height: 34px;
  margin-bottom: 1rem;
  opacity: .92;
}

/* ===================================================================
   Mobile menu polish
   =================================================================== */
.site-mobile-menu { background: #fff; }
.site-mobile-menu .site-nav-wrap a { color: var(--ink) !important; font-weight: 600; }
.site-mobile-menu .site-nav-wrap a:hover { color: var(--teal-600) !important; }

/* loader */
.loader .spinner-border.text-primary { color: var(--teal-600) !important; }

/* ===================================================================
   STATS / SOCIAL-PROOF BAND
   =================================================================== */
.stats-band {
  background: var(--ink);
  background-image:
    radial-gradient(60% 140% at 15% 0%, rgba(37,148,160,0.35), transparent 60%),
    radial-gradient(60% 140% at 90% 100%, rgba(59,189,203,0.35), transparent 60%);
  padding: 2.6rem 0;
  position: relative;
  z-index: 2;
}
.stats-band .stat-item { padding: 1rem 0.5rem; }
.stats-band .stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #fff 0%, #bdeef3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .4rem;
}
.stats-band .stat-lbl { color: rgba(255,255,255,0.72); font-size: .86rem; font-weight: 600; }

/* ===================================================================
   APP-WINDOW MOCKUPS (feature illustrations)
   =================================================================== */
.app-window {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 540px;
  margin: 0 auto;
}
.app-window::before {
  content: "";
  position: absolute; inset: -14% -8% -18% -8%;
  background: var(--grad);
  filter: blur(60px); opacity: 0.16; z-index: -1; border-radius: 50%;
}
.aw-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .9rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.aw-dot { width: 11px; height: 11px; border-radius: 50%; }
.aw-dot.r { background: #ff5f57; } .aw-dot.y { background: #febc2e; } .aw-dot.g { background: #28c840; }
.aw-url {
  margin-left: .6rem; flex: 1;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .28rem .8rem;
  font-size: .72rem; color: var(--ink-soft); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aw-body { padding: 1.3rem 1.25rem; }

.mk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mk-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.mk-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px;
}
.mk-badge.ok { background: rgba(90,168,58,0.14); color: var(--green); }
.mk-badge.ok .icon-check { font-size: .7rem; }
.mk-search {
  font-size: .76rem; color: var(--ink-soft); font-weight: 600;
  background: var(--bg-2); border-radius: 999px; padding: .32rem .8rem;
  display: inline-flex; align-items: center; gap: .35rem;
}

.mk-client {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .7rem .85rem; margin-bottom: 1rem; font-size: .82rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem;
}
.mk-client .mk-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; width: 100%; }
.mk-client b { color: var(--ink); font-size: .82rem; font-weight: 700; }
.mk-chk { color: var(--green); font-weight: 700; font-size: .74rem; display: inline-flex; align-items: center; gap: .25rem; }
.mk-chk .icon-check { font-size: .68rem; }

.mk-table { width: 100%; border-collapse: collapse; font-size: .8rem; margin-bottom: 1rem; }
.mk-table th {
  text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-soft); font-weight: 700; padding: .4rem .5rem; border-bottom: 1px solid var(--line);
}
.mk-table td { padding: .5rem .5rem; color: var(--ink); border-bottom: 1px solid var(--line-2); font-weight: 600; }
.mk-table .ar { text-align: right; } .mk-table .ac { text-align: center; }

.mk-totals { background: var(--bg); border-radius: 12px; padding: .8rem 1rem; }
.mk-totals > div { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); margin-bottom: .35rem; }
.mk-totals > div b { color: var(--ink); }
.mk-totals .grand { border-top: 1px dashed var(--line); padding-top: .5rem; margin-top: .2rem; margin-bottom: 0; }
.mk-totals .grand span { font-weight: 800; color: var(--ink); }
.mk-totals .grand b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.15rem; color: var(--teal-600); }

.mk-stats { display: flex; gap: .6rem; margin-bottom: 1rem; }
.mk-stat { flex: 1; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: .6rem .7rem; }
.mk-stat span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 700; }
.mk-stat b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.25rem; color: var(--ink); }
.mk-stat.warn b { color: var(--orange); }

.pill { font-size: .68rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; }
.pill.ok { background: rgba(90,168,58,0.14); color: var(--green); }
.pill.warn { background: rgba(253,126,20,0.15); color: var(--orange); }

/* POS mockup */
.aw-body.pos { display: flex; gap: .9rem; }
.pos-grid { flex: 1.3; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; align-content: start; }
.pos-item {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 13px;
  padding: .7rem; display: flex; flex-direction: column; gap: .35rem;
}
.pi-thumb { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .72rem; }
.pi-thumb.c1 { background: linear-gradient(135deg, var(--teal-600), var(--cyan)); }
.pi-thumb.c2 { background: linear-gradient(135deg, var(--orange), #ffae5c); }
.pi-thumb.c3 { background: linear-gradient(135deg, #5aa83a, #8fd16a); }
.pi-thumb.c4 { background: linear-gradient(135deg, #6a4cff, #a48bff); }
.pi-name { font-size: .76rem; color: var(--ink-soft); font-weight: 600; line-height: 1.2; }
.pos-item b { font-size: .9rem; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; }
.pos-cart {
  flex: 1; background: var(--ink); border-radius: 14px; padding: .9rem; color: #fff;
  display: flex; flex-direction: column;
}
.pc-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,0.6); font-weight: 700; margin-bottom: .7rem; }
.pc-line { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,0.85); margin-bottom: .45rem; }
.pc-line b { color: #fff; }
.pc-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed rgba(255,255,255,0.2); margin-top: .4rem; padding-top: .6rem; }
.pc-total span { font-weight: 700; }
.pc-total b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.2rem; color: #7fe3ef; }
.pc-btn { margin-top: .8rem; text-align: center; background: var(--grad); border-radius: 10px; padding: .6rem; font-weight: 800; font-size: .88rem; }

@media (max-width: 575.98px) {
  .aw-body.pos { flex-direction: column; }
  .pos-grid { grid-template-columns: 1fr 1fr; }
  .aw-body { padding: 1rem .85rem; }
  .mk-title { font-size: 1rem; }
  .mk-badge { font-size: .6rem; padding: .25rem .5rem; }
  .mk-table { font-size: .72rem; }
  .mk-table th, .mk-table td { padding: .4rem .3rem; }
  .mk-client b { font-size: .74rem; }
  .mk-stat b { font-size: 1.05rem; }
  .mk-totals .grand b { font-size: 1rem; }
}

/* ===================================================================
   PRICING — billing toggle + annual note
   =================================================================== */
.billing-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.billing-toggle .bt-opt {
  border: none; background: transparent;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: .92rem;
  color: var(--ink-soft);
  padding: .6rem 1.4rem; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .25s ease, color .25s ease;
}
.billing-toggle .bt-opt.active { background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(37,148,160,0.8); }
.billing-toggle .bt-save {
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  background: rgba(253,126,20,0.15); color: var(--orange); padding: .15rem .5rem; border-radius: 999px;
}
.billing-toggle .bt-opt.active .bt-save { background: rgba(255,255,255,0.25); color: #fff; }

.plan-save {
  font-size: .8rem; font-weight: 700; color: var(--teal-600);
  margin-top: -.1rem; margin-bottom: .2rem;
  height: 0; opacity: 0; overflow: hidden;
  transition: opacity .25s ease;
}
#pricing-section.annual-on .plan-save { height: auto; opacity: 1; margin-bottom: .4rem; }

/* ===================================================================
   FOOTER socials
   =================================================================== */
.footer-socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff !important; font-size: 1.05rem;
  transition: transform .25s ease, background .25s ease;
}
.footer-socials a:hover { transform: translateY(-3px); background: var(--grad); }

.footer-social p { margin-bottom: 1rem; font-size: .92rem; }
.footer-cta-ig {
  display: inline-flex; align-items: center;
  font-weight: 700; color: var(--cyan) !important;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  padding: .55rem 1.1rem; transition: background .25s ease, color .25s ease;
}
.footer-cta-ig:hover { background: var(--grad); color: #fff !important; border-color: transparent; }

/* ===================================================================
   FLOATING WHATSAPP BUTTON
   =================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1000;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 800; font-size: .95rem;
  padding: 0; height: 60px; width: 60px;
  border-radius: 999px;
  box-shadow: 0 16px 32px -10px rgba(37,211,102,0.7);
  overflow: hidden; white-space: nowrap;
  justify-content: center;
  transition: width .3s ease, padding .3s ease, transform .25s ease;
  animation: wfPulse 2.6s ease-in-out infinite;
}
.whatsapp-float .icon-whatsapp { font-size: 1.7rem; flex: none; }
.whatsapp-float .wf-text { max-width: 0; opacity: 0; transition: max-width .3s ease, opacity .3s ease; }
.whatsapp-float:hover {
  width: 188px; padding: 0 1.3rem; color: #fff !important;
  justify-content: flex-start; transform: translateY(-2px);
  animation: none;
}
.whatsapp-float:hover .wf-text { max-width: 140px; opacity: 1; }
@keyframes wfPulse {
  0%, 100% { box-shadow: 0 16px 32px -10px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 16px 32px -10px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0); }
}
@media (max-width: 575.98px) {
  .whatsapp-float { right: 16px; bottom: 16px; }
}

/* ===================================================================
   REAL SYSTEM mockups — faithful reproduction of the Boleta Perú app
   (Limitless "indigo" theme: indigo sidebar + white content)
   =================================================================== */
.sys-window {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 570px;
  margin: 0 auto;
}
.sys-window::before {
  content: "";
  position: absolute; inset: -14% -8% -18% -8%;
  background: var(--grad);
  filter: blur(60px); opacity: 0.16; z-index: -1; border-radius: 50%;
}
.sys-shell { display: flex; }

/* Indigo sidebar with the real menu */
.sys-side {
  width: 152px; flex: none;
  background: linear-gradient(180deg, #3F51B5 0%, #353f93 100%);
  padding: .8rem .55rem 1rem;
}
.sys-brand { display: flex; align-items: center; gap: .45rem; padding: .15rem .35rem .8rem; }
.sys-brand .sb-logo {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: #fff; color: #3F51B5; display: grid; place-items: center;
  font-weight: 800; font-size: .72rem; font-family: "Bricolage Grotesque", sans-serif;
}
.sys-brand b { color: #fff; font-size: .82rem; font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; line-height: 1; }
.sys-side a {
  display: flex; align-items: center; gap: .55rem;
  color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 600;
  padding: .44rem .5rem; border-radius: 8px; margin-bottom: .12rem;
  white-space: nowrap; overflow: hidden;
}
.sys-side a [class^="icon-"] { font-size: .9rem; flex: none; opacity: .92; }
.sys-side a.active { background: rgba(255,255,255,.16); color: #fff; }
.sys-side a .ss-new {
  margin-left: auto; font-size: .54rem; font-weight: 800; letter-spacing: .03em;
  background: #4caf50; color: #fff; padding: .05rem .32rem; border-radius: 999px;
}

/* White content area — reuses .mk-* component styles */
.sys-main { flex: 1; min-width: 0; padding: 1rem 1.05rem 1.15rem; background: #fff; }
.sys-topbar { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin-bottom: .95rem; }
.sys-btn {
  font-size: .66rem; font-weight: 700; padding: .34rem .62rem; border-radius: 8px;
  display: inline-flex; align-items: center; gap: .32rem;
}
.sys-btn [class^="icon-"] { font-size: .72rem; }
.sys-btn.p { background: var(--grad); color: #fff; }
.sys-btn.s { background: var(--bg-2); color: var(--ink); }

@media (max-width: 575.98px) {
  .sys-side { display: none; }
  .sys-main { padding: 1rem .85rem; }
}

/* Bar chart used inside the dashboard mockup */
.mk-bars { display: flex; align-items: flex-end; gap: .5rem; height: 92px; padding: .4rem .2rem 0; }
.mk-bars .bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); opacity: .85; }
.mk-bars .bar.alt { background: linear-gradient(180deg, #3F51B5, #5c6bc0); }

/* ===================================================================
   MODULES GRID — "todo lo que incluye el sistema"
   =================================================================== */
#modules-section { padding: 5.5rem 0 1rem; }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.module-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(37,148,160,.3); }
.module-card .m-ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-2); color: var(--teal-600) !important;
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.module-card:hover .m-ico { background: var(--grad); color: #fff !important; transform: translateY(-3px) rotate(-4deg); }
.module-card h4 { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin-bottom: .3rem; }
.module-card p { font-size: .85rem; margin: 0; line-height: 1.45; }
.module-card .m-badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(90,168,58,.14); color: var(--green); padding: .18rem .5rem; border-radius: 999px;
}
@media (max-width: 991.98px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px)  { .modules-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   ELEGANT MOTION LAYER — refined, professional micro-interactions
   =================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(37,148,160,.55);
  transition: width .12s linear;
  pointer-events: none;
}

/* Slow living-gradient drift in the hero aurora */
.hero {
  background-size: 160% 160%, 150% 150%, 170% 170%, 100% 100%;
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100% { background-position: 18% 12%, 82% 22%, 60% 86%, 0 0; }
}

/* Hero device + floating cards follow the cursor (vars set by JS) */
.hero-device { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform: translate(var(--px,0), var(--py,0)); }
.float-card  { transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }

/* 3D tilt + deepened shadow on the app mockups (vars set by JS) */
.app-window, .sys-window {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateY(var(--ty,0));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
  will-change: transform;
}
.app-window:hover, .sys-window:hover {
  box-shadow: 0 55px 95px -42px rgba(8,41,48,.5);
}

/* Diagonal light sheen sweeping across the mockups */
.app-window::after, .sys-window::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.42) 48%, transparent 64%);
  background-size: 260% 100%; background-position: 160% 0;
  transition: background-position 1s ease;
}
.app-window:hover::after, .sys-window:hover::after { background-position: -40% 0; }

/* Stats — subtle lift on hover */
.stats-band .stat-num { transition: transform .3s ease; }
.stats-band .stat-item:hover .stat-num { transform: translateY(-2px) scale(1.03); }

/* Featured pricing plan — gentle breathing glow */
.pricing .plan.featured { animation: planGlow 5s ease-in-out infinite; }
@keyframes planGlow {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50%      { box-shadow: 0 52px 104px -40px rgba(37,148,160,.72); }
}

/* Section title — underline draws itself in when revealed */
.section-title-1 { position: relative; display: inline-block; }
.section-title-1::after {
  content: ""; display: block; height: 3px; width: 0; margin: 16px auto 0;
  border-radius: 3px; background: var(--grad);
  transition: width .85s cubic-bezier(.2,.7,.2,1) .15s;
}
.section-title-1.drawn::after { width: 66px; }

/* Primary CTA — light sweep on hover */
.btn.btn-primary { position: relative; overflow: hidden; }
.btn.btn-primary > * { position: relative; z-index: 1; }
.btn.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -130%; width: 65%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .65s ease; pointer-events: none;
}
.btn.btn-primary:hover::before { left: 140%; }

/* Generic scroll-reveal helper (for elements outside AOS) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Feature icon chips — soft idle float once revealed */
.feature-v1:hover .wrap-icon { animation: chipPop .5s ease; }
@keyframes chipPop { 0%{transform:translateY(-3px) rotate(-4deg);} 50%{transform:translateY(-6px) rotate(-7deg) scale(1.06);} 100%{transform:translateY(-3px) rotate(-4deg);} }

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .hero { animation: none !important; }
  .app-window, .sys-window, .hero-device, .float-card { transform: none !important; }
}
