/* ACIS public site — layout, cart drawer, widgets, utility bar */
:root {
  --acis-primary: #1d57c5;
  --acis-primary-dark: #0d3d8c;
  --acis-primary-light: #3b7ae8;
  --acis-accent: #22c55e;
  --acis-text: #1e293b;
  --acis-muted: #64748b;
  --acis-border: #e2e8f0;
  --acis-surface: #f8fafc;
  --acis-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --acis-radius: 1rem;
  --navbar-height: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--acis-text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* Utility bar */
.utility-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 100%);
  color: #cbd5e1;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}
.utility-primary { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.utility-primary a {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.utility-primary a:hover { color: #fff; }
.utility-primary .utility-cert { color: #94a3b8; }
.utility-links-left {
  display: none;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 0.85rem;
}
.utility-links-left a {
  color: #94a3b8;
  text-decoration: none;
  white-space: nowrap;
}
.utility-links-left a:hover { color: #fff; }
.utility-social { display: flex; gap: 0.4rem; }
.utility-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.utility-social a:hover { background: var(--acis-primary-light); transform: translateY(-1px); }
.utility-contact-short { display: none; }
@media (min-width: 992px) {
  .utility-links-left { display: flex; }
  .utility-contact-full { display: inline; }
}
@media (max-width: 991px) {
  .utility-contact-full { display: none; }
  .utility-contact-short { display: inline; }
}

/* Navbar */
.site-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--acis-border);
  transition: box-shadow 0.25s ease;
  z-index: 1030;
}
.site-navbar.is-scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08); }
.site-navbar .navbar-brand img { height: 40px; width: auto; }
.site-navbar .nav-link {
  font-weight: 500;
  color: var(--acis-muted);
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: var(--acis-primary); background: rgba(29, 87, 197, 0.06); }
.site-navbar .dropdown-menu {
  border: 1px solid var(--acis-border);
  border-radius: var(--acis-radius);
  box-shadow: var(--acis-shadow);
  padding: 0.5rem;
  margin-top: 0.35rem;
}
.site-navbar .dropdown-item {
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
}
.site-navbar .dropdown-item:hover { background: rgba(29, 87, 197, 0.08); color: var(--acis-primary); }

/* Cart icon in nav */
.cart-icon {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--acis-border);
  background: var(--acis-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cart-icon:hover {
  border-color: var(--acis-primary);
  box-shadow: 0 4px 14px rgba(29, 87, 197, 0.15);
}
.cart-icon .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #ef4444 !important;
  border: 2px solid #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Currency toggle in nav */
.nav-currency .ceo-money--minimal .ceo-money__header { margin: 0; }
.nav-currency .ceo-money--minimal .ceo-money__toggle { transform: scale(0.92); }

/* User chip */
.public-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--acis-border);
  text-decoration: none;
  color: var(--acis-text);
  background: #fff;
  max-width: 200px;
}
.public-user-chip:hover { border-color: var(--acis-primary); color: var(--acis-primary); }
.public-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acis-primary), var(--acis-primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.public-user-name {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 120px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--acis-primary) 0%, var(--acis-primary-dark) 100%);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  box-shadow: 0 4px 14px rgba(29, 87, 197, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--acis-primary-light) 0%, var(--acis-primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 87, 197, 0.3);
}
.btn-outline-primary {
  border-radius: 999px;
  font-weight: 600;
  border-width: 1.5px;
}

/* Hero */
.hero-section {
  background: linear-gradient(160deg, #f0f4ff 0%, #fff 45%, #f8fafc 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(29, 87, 197, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Feature cards */
.feature-card {
  border: 1px solid var(--acis-border);
  border-radius: var(--acis-radius);
  padding: 2rem 1.5rem;
  height: 100%;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--acis-shadow);
  border-color: rgba(29, 87, 197, 0.2);
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.feature-icon--primary { background: rgba(29, 87, 197, 0.1); color: var(--acis-primary); }
.feature-icon--success { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.feature-icon--info { background: rgba(14, 165, 233, 0.1); color: #0284c7; }

/* Stats strip */
.stats-strip {
  background: #fff;
  border-top: 1px solid var(--acis-border);
  border-bottom: 1px solid var(--acis-border);
}
.stat-item { padding: 1.25rem 0.5rem; }
.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--acis-primary);
  line-height: 1.2;
}
.stat-label { font-size: 0.82rem; color: var(--acis-muted); }

/* Product cards */
.product-card-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--acis-primary) 0%, var(--acis-primary-dark) 100%);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--acis-primary) 0%, var(--acis-primary-dark) 100%);
}
.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1) !important;
}

/* Footer — estilo CEO / ACIS pro */
.site-footer.site-footer--pro {
  margin-top: 0;
  border-top: none;
  background: linear-gradient(180deg, #0a2a5c 0%, #061528 100%);
  color: #c8d9ef;
  padding: 0 0 2rem;
}

.site-footer--pro .footer-top-cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #1d57c5 0%, #3b7ae8 55%, #5eb3ff 100%);
  border-radius: 1rem;
  padding: 1.65rem 2rem;
  box-shadow: 0 14px 36px rgba(13, 61, 140, 0.35);
  margin-top: -2.75rem;
  margin-bottom: 2.75rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.site-footer--pro .footer-top-left strong {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.site-footer--pro .footer-top-left strong i {
  margin-right: 0.45rem;
}

.site-footer--pro .footer-top-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer--pro .btn-brand-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: #0d3d8c !important;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.site-footer--pro .btn-brand-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  color: #0d3d8c !important;
}

.site-footer--pro .footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.site-footer--pro .footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer--pro .footer-brand p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #a4bed9;
  max-width: 22rem;
}

.site-footer--pro .footer-muted {
  color: #7a94b8 !important;
}

.site-footer--pro .footer-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.site-footer--pro .footer-contact-pills a,
.site-footer--pro .footer-contact-pills span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.site-footer--pro .footer-contact-pills a:hover {
  border-color: rgba(59, 122, 232, 0.45);
  background: rgba(29, 87, 197, 0.15);
  color: #fff !important;
}

.site-footer--pro .footer-contact-pills i {
  color: #3b7ae8;
}

.site-footer--pro .footer-grid h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer--pro .footer-grid h5 i {
  color: #3b7ae8;
  font-size: 0.9rem;
}

.site-footer--pro .footer-grid a {
  color: #a4bed9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer--pro .footer-grid a i {
  font-size: 0.72rem;
  opacity: 0.65;
}

.site-footer--pro .footer-grid a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.site-footer--pro .footer-grid a:hover i {
  opacity: 1;
  color: #3b7ae8;
}

.site-footer--pro .footer-location {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8da1ce;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer--pro .footer-location i {
  color: #3b7ae8;
  margin-right: 0.25rem;
}

.site-footer--pro .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
  color: #7a94b8;
  font-size: 0.82rem;
}

.site-footer--pro .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.site-footer--pro .footer-bottom-links a {
  color: #a4bed9;
  text-decoration: none;
}

.site-footer--pro .footer-bottom-links a:hover {
  color: #fff !important;
}

@media (max-width: 991px) {
  .site-footer--pro .footer-top-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem 1.25rem;
    margin-top: -1.5rem;
  }
  .site-footer--pro .btn-brand-accent {
    width: 100%;
    text-align: center;
  }
  .site-footer--pro .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer--pro .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .site-footer--pro .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy footer fallback */
.site-footer:not(.site-footer--pro) {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #fff;
}
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff !important; }

/* ===== Cart drawer (public-cart.js) ===== */
.mc-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 1060;
}
.mc-cart-overlay.is-open { opacity: 1; visibility: visible; }

.mc-cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: min(430px, 100%);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: -18px 0 42px rgba(5, 23, 56, 0.24);
  transform: translateX(100%);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1061;
  display: flex;
  flex-direction: column;
}
.mc-cart-drawer.is-open { transform: translateX(0); }

.mc-cart-head {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--acis-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mc-cart-title { margin: 0; font-size: 1.1rem; font-weight: 700; }
.mc-cart-close {
  border: none;
  background: var(--acis-surface);
  border-radius: 0.5rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--acis-muted);
  transition: background 0.2s;
}
.mc-cart-close:hover { background: #e2e8f0; }
.mc-cart-body { flex: 1; overflow: auto; padding: 1rem 1.25rem; }
.mc-cart-item {
  border: 1px solid var(--acis-border);
  border-radius: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  background: var(--acis-surface);
}
.mc-cart-item-name { margin: 0 0 0.35rem; font-size: 0.92rem; font-weight: 600; }
.mc-cart-item-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mc-cart-remove {
  border: none;
  background: transparent;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.mc-cart-foot {
  border-top: 1px solid var(--acis-border);
  padding: 1rem 1.25rem 1.25rem;
  flex-shrink: 0;
  background: #fff;
}
.mc-cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.mc-cart-foot .btn-primary { width: 100%; padding: 0.75rem; }
.mc-cart-foot .btn-primary:disabled { opacity: 0.55; transform: none; box-shadow: none; }

.mc-cart-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  z-index: 1059;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--acis-primary), var(--acis-primary-dark));
  box-shadow: 0 14px 26px rgba(29, 87, 197, 0.35);
  cursor: pointer;
}
.mc-cart-nav .mc-cart-toggle,
.mc-cart-fab { /* badge shared */ }
.mc-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* WhatsApp + back to top */
.ceo-floating-tray {
  --ceo-tray-gap: 0.85rem;
  --ceo-wa-size: 3.35rem;
  --ceo-bt-min-h: 3.55rem;
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  width: 18rem;
  height: calc(var(--ceo-bt-min-h) + var(--ceo-tray-gap) + var(--ceo-wa-size));
  pointer-events: none;
}
.ceo-floating-tray > .ceo-wa-widget,
.ceo-floating-tray > .ceo-back-top {
  position: absolute;
  right: 0;
  pointer-events: auto;
}
.ceo-wa-widget { bottom: calc(var(--ceo-bt-min-h) + var(--ceo-tray-gap)); z-index: 4; }
.ceo-wa-widget__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 15rem;
  height: 3.35rem;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.18);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ceo-wa-widget__trigger:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22); }
.ceo-wa-widget__hint { font-size: 0.76rem; text-align: left; line-height: 1.2; }
.ceo-wa-widget__hint strong { color: var(--acis-primary); }
.ceo-wa-widget__icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: linear-gradient(148deg, #34e27e, #15803d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.ceo-wa-widget__popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(22rem, 92vw);
  border-radius: 0.95rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.25);
}
.ceo-wa-widget__popup[hidden] { display: none !important; }
.ceo-wa-widget__head { padding: 0.85rem; background: #25d366; color: #fff; }
.ceo-wa-widget__title { margin: 0; font-size: 1rem; font-weight: 700; }
.ceo-wa-widget__intro { margin: 0.25rem 0 0; font-size: 0.73rem; opacity: 0.9; }
.ceo-wa-widget__body { padding: 0.75rem; background: #f8fafc; }
.ceo-wa-widget__notice { margin: 0 0 0.65rem; font-size: 0.67rem; color: #64748b; }
.ceo-wa-widget__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid var(--acis-border);
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ceo-wa-widget__item:hover { border-color: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15); }
.ceo-wa-widget__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ceo-wa-widget__name { display: block; font-weight: 600; font-size: 0.85rem; }
.ceo-wa-widget__role { display: block; font-size: 0.72rem; color: var(--acis-muted); }

.ceo-back-top {
  bottom: 0;
  z-index: 3;
  width: 3.55rem;
  min-height: 3.55rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--acis-primary), var(--acis-primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 87, 197, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.ceo-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ceo-back-top__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
}
.ceo-back-top__icon { font-size: 1rem; }
.ceo-back-top__label { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 575px) {
  .ceo-wa-widget__trigger { width: 3.35rem; padding: 0; justify-content: center; }
  .ceo-wa-widget__hint { display: none; }
  .ceo-floating-tray { width: 3.35rem; }
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].in-view { opacity: 1; transform: none; }

/* ===== Home CEO-style (program rails) ===== */
.home-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(29, 87, 197, 0.08) 0%, transparent 42%),
    linear-gradient(160deg, #f0f4ff 0%, #fff 48%, #f8fafc 100%);
  padding: 4.5rem 0 3.5rem;
}
.home-hero__badge {
  display: inline-block;
  background: rgba(29, 87, 197, 0.1);
  color: var(--acis-primary);
  border: 1px solid rgba(29, 87, 197, 0.15);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.home-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 1rem;
}
.home-hero__lead {
  color: var(--acis-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}
.home-hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.home-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
}
.home-hero__benefits i { color: var(--acis-primary); flex-shrink: 0; }
.home-hero__panel {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--acis-border);
  box-shadow: var(--acis-shadow);
}
.home-hero__panel-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--acis-primary-dark), var(--acis-primary));
  color: #fff;
}
.home-hero__metric {
  padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.home-hero__metric:last-child { border-right: none; }
.home-hero__metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}
.home-hero__metric span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-hero__panel-body {
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.home-hero__panel-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--acis-primary);
  background: rgba(29, 87, 197, 0.1);
}

.home-programs-featured {
  padding: 3rem 0 1rem;
  background: #fff;
}
.home-programs-section {
  padding: 2.75rem 0 3rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(29, 87, 197, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}
.home-programs-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.home-programs-section__head--center { text-align: center; display: block; }
.home-programs-section__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--acis-primary-dark);
  letter-spacing: -0.02em;
}
.home-programs-section__lead {
  margin: 0.45rem 0 0;
  max-width: 38rem;
  color: var(--acis-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.home-programs-section__head--center .home-programs-section__lead { margin-left: auto; margin-right: auto; }

.home-programs-rail-wrap {
  position: relative;
}
.home-programs-rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-programs-rail::-webkit-scrollbar { display: none; }
.home-programs-rail__item {
  flex: 0 0 min(320px, 86vw);
  scroll-snap-align: start;
}
.home-programs-rail__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--acis-border);
  border-radius: 50%;
  background: #fff;
  color: var(--acis-primary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.home-programs-rail__nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 12px 24px rgba(29, 87, 197, 0.18);
}
.home-programs-rail__nav:disabled { opacity: 0.35; cursor: default; }
.home-programs-rail__nav--prev { left: -0.75rem; }
.home-programs-rail__nav--next { right: -0.75rem; }

/* Carrusel home — tarjetas pro (estilo catálogo CEO) */
.home-programs-section--pro {
  background: #f3f6fa;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}
.home-programs-section--pro:nth-of-type(even) {
  background:
    radial-gradient(circle at 88% 0%, rgba(29, 87, 197, 0.05) 0%, transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fa 100%);
}
.home-programs-rail__item--pro {
  flex: 0 0 min(340px, 88vw);
}
.home-programs-rail--pro .program-card.program-card--pro {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.home-programs-rail--pro .program-card__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-programs-rail--pro .program-card__actions {
  margin-top: auto;
}
.home-programs-rail-wrap--pro .home-programs-rail__nav {
  top: 38%;
}
@media (max-width: 767.98px) {
  .home-programs-rail__item--pro { flex-basis: min(300px, 88vw); }
  .home-programs-rail-wrap--pro .home-programs-rail__nav { display: none; }
}

.home-program-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--acis-border);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.home-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}
.home-program-card__media {
  display: block;
  height: 168px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--acis-primary-light), var(--acis-primary-dark));
}
.home-program-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.home-program-card:hover .home-program-card__img { transform: scale(1.05); }
.home-program-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.75rem;
}
.home-program-card__body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-program-card__type-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.home-program-card__type-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(29, 87, 197, 0.1);
  color: var(--acis-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.home-program-card__type-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--acis-primary);
}
.home-program-card__area {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.home-program-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}
.home-program-card__title a {
  color: inherit;
  text-decoration: none;
}
.home-program-card__title a:hover { color: var(--acis-primary); }
.home-program-card__desc {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--acis-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-program-card__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: grid;
  gap: 0.28rem;
  font-size: 0.76rem;
  color: #64748b;
}
.home-program-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.home-program-card__meta i { color: var(--acis-primary); }
.home-program-card__footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--acis-border);
}
.home-program-card__price { margin-bottom: 0.75rem; }
.home-program-card__price .ceo-money__value { font-size: 1.15rem; }
.home-program-card__actions {
  display: grid;
  gap: 0.45rem;
}
.home-program-card__buy,
.home-program-card__detail {
  border-radius: 999px !important;
  font-weight: 600;
  width: 100%;
}

.home-area-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--acis-border);
  background: #fff;
  color: var(--acis-primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.home-area-chip:hover {
  border-color: var(--acis-primary);
  background: rgba(29, 87, 197, 0.05);
  color: var(--acis-primary);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .home-programs-rail__nav { display: none; }
  .home-programs-rail__item { flex-basis: min(290px, 88vw); }
}
@media (max-width: 767px) {
  .home-hero { padding-top: 3rem; }
  .home-hero__panel-top { grid-template-columns: 1fr; }
  .home-hero__metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .home-hero__metric:last-child { border-bottom: none; }
}

