/* =============================================
   AVsoft ERP Master Luxury Glassmorphism Brochure — Components
   Strict Compliance with Official Brand Manual Accent Palette (#d00c93 Solid Flat Accent)
   ============================================= */

/* ── COVER PAGE (PÁGINA 1) RECREATED LAYOUT ── */
.cover-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  height: 100%;
  padding-bottom: 3.5rem;
  position: relative;
}

.cover-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cover-large-logo {
  max-height: 48px !important;
  width: auto;
}

.cover-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cover-subtitle {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 540px;
}

/* 4 Feature Columns Row */
.cover-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cover-feature-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cover-feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.cover-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
}

.cover-feature-title {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.cover-feature-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* OFFICIAL BRAND CTA BUTTON (CYAN TEAL #00D2C8) */
.btn-cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.25rem;
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-small);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(0, 210, 200, 0.45);
  transition: all 0.25s var(--ease-page);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-cover-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 210, 200, 0.65);
}

/* Right Side Showcase Frame with slide1.png + Mascot Character */
.cover-visual-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-screen-frame {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-accent);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
  width: 100%;
}

.cover-screen-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.cover-screen-frame img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  cursor: zoom-in;
}

.cover-mascot-overlay {
  position: absolute;
  bottom: -20px;
  left: -50px;
  z-index: 10;
}

.cover-mascot-overlay img {
  max-height: 240px !important;
  width: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* Bottom Bar (Trust Section + Dark Navy Modules Pill Banner) */
.cover-bottom-bar {
  position: absolute;
  bottom: 0.75rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cover-trust-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cover-trust-text {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-weight: 600;
}

.cover-trust-text strong {
  color: var(--color-teal);
}

[data-theme="light"] .cover-trust-text strong {
  color: var(--color-teal-dark);
}

.cover-trust-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ANIMATED INDUSTRY TRUST ICONS */
.cover-trust-icons svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-teal);
  stroke-width: 1.8;
  fill: none;
  transition: all 0.3s ease;
  animation: floatTrustIcon 3s ease-in-out infinite alternate;
}

.cover-trust-icons svg:nth-child(1) {
  animation-delay: 0s;
}

.cover-trust-icons svg:nth-child(2) {
  animation-delay: 0.4s;
}

.cover-trust-icons svg:nth-child(3) {
  animation-delay: 0.8s;
}

.cover-trust-icons svg:nth-child(4) {
  animation-delay: 1.2s;
}

.cover-trust-icons svg:nth-child(5) {
  animation-delay: 1.6s;
}

.cover-trust-icons svg:nth-child(6) {
  animation-delay: 2.0s;
}

@keyframes floatTrustIcon {
  0% {
    transform: translateY(0) scale(1);
    stroke: var(--text-muted);
  }

  100% {
    transform: translateY(-4px) scale(1.15);
    stroke: var(--color-teal);
    filter: drop-shadow(0 0 6px rgba(0, 210, 200, 0.5));
  }
}

/* Dark Navy Modules Banner */
.cover-modules-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(10, 22, 45, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: var(--glass-blur);
}

[data-theme="light"] .cover-modules-banner {
  background: #0B172E;
  color: #FFFFFF;
}

.cover-module-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cover-module-item:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  margin-left: 0.85rem;
}

/* ANIMATED MODULE ICON CHIPS */
.cover-module-icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-teal-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
  animation: pulseChip 2.5s ease-in-out infinite alternate;
}

.cover-module-item:nth-child(1) .cover-module-icon-chip {
  animation-delay: 0s;
}

.cover-module-item:nth-child(2) .cover-module-icon-chip {
  animation-delay: 0.5s;
}

.cover-module-item:nth-child(3) .cover-module-icon-chip {
  animation-delay: 1.0s;
}

.cover-module-item:nth-child(4) .cover-module-icon-chip {
  animation-delay: 1.5s;
}

@keyframes pulseChip {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 210, 200, 0);
  }

  100% {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 0 15px rgba(0, 210, 200, 0.4);
    border-color: var(--color-teal);
  }
}

.cover-module-icon-chip svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
}

.cover-module-text-box {
  display: flex;
  flex-direction: column;
}

.cover-module-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.cover-module-subtext {
  font-size: 0.65rem;
  color: #94A3B8;
  line-height: 1.2;
}

/* ── CUSTOM GLASS FLOATING INDEX DROPDOWN MENU ── */
.custom-glass-dropdown {
  position: relative;
  display: inline-block;
}

.custom-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.15rem;
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-page);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.custom-dropdown-trigger:hover {
  background: var(--bg-surface);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glow);
}

.custom-dropdown-trigger svg {
  stroke: var(--color-teal);
  transition: transform 0.25s var(--ease-page);
}

.custom-glass-dropdown.open .chevron {
  transform: rotate(180deg);
}

/* Floating Glass Menu Panel */
.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 260px;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-glass);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1000;
}

.custom-glass-dropdown.open .custom-dropdown-menu {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  animation: menuFadeIn 0.25s var(--ease-page);
}

@keyframes menuFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-dropdown-item:hover {
  background: var(--color-teal-glow);
  color: var(--text-main);
}

.custom-dropdown-item.active {
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 210, 200, 0.35);
}

.custom-dropdown-item .item-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  opacity: 0.7;
  padding: 0.15rem 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.custom-dropdown-item.active .item-num {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.custom-dropdown-item .item-label {
  flex-grow: 1;
}

/* ── PILLARS PAGE (PÁGINA 2) — SLEEK GLASS CARDS GRID ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.pillar-card {
  text-align: center;
  padding: 2rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-page);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}

.pillar-card__icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  background: var(--color-teal-glow);
  border: 1px solid var(--border-accent);
}

.pillar-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-teal);
  stroke-width: 2;
  fill: none;
  transition: all 0.3s;
}

.pillar-card:hover .pillar-card__icon {
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  border-color: transparent;
}

.pillar-card:hover .pillar-card__icon svg {
  stroke: #FFFFFF;
  transform: scale(1.1);
}

.pillar-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pillar-card__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── MODULE BOOK PAGE LAYOUT (PÁGINAS 3 A 8) ── */
.module-book-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  height: 100%;
}

.module-book-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.module-book-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: var(--color-teal-glow);
  border: 1px solid var(--border-accent);
  color: var(--color-teal-light);
  font-size: var(--fs-xs);
  font-weight: 800;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-theme="light"] .module-book-badge {
  color: var(--color-teal-dark);
}

.module-book-title {
  font-size: var(--fs-h1);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.module-book-tagline {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.85rem;
}

.module-book-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.module-book-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.module-book-list li {
  font-size: var(--fs-xs);
  color: var(--text-main);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.module-book-list li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: 900;
}

/* Standalone Mascot Corner Element for Book Pages (BALANCED PROPORTIONAL SIZE: 220px) */
.module-mascot-corner {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  pointer-events: none;
}

.module-mascot-corner img {
  max-height: 260px !important;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
  transform-origin: bottom center;
  transition: transform 0.4s var(--ease-bounce), filter 0.4s ease;
}

.book-page:hover .module-mascot-corner img {
  transform: translateY(-4px) scale(1.03);
}

/* OFFICIAL BRAND MANUAL FLAT SOLID COLOR BUTTON (#d00c93 — NO GRADIENT) */
.btn-ver-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.85rem;
  background: #d00c93 !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-small);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 22px rgba(208, 12, 147, 0.45);
  transition: all 0.25s var(--ease-page);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  align-self: flex-start;
  cursor: pointer;
}

.btn-ver-plus:hover {
  background: #b00a7c !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(208, 12, 147, 0.65);
  border-color: #FFFFFF;
}

/* ── MODULE CAROUSEL SLIDER ── */
.module-carousel {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.module-carousel__track {
  display: flex;
  transition: transform 0.4s var(--ease-page);
  width: 100%;
}

.module-carousel__slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.module-carousel__slide img {
  max-height: 250px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.module-carousel__slide img:hover {
  transform: scale(1.02);
}

.module-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0 0.5rem;
}

.module-carousel__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.module-carousel__btn:hover {
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.module-carousel__dots {
  display: flex;
  gap: 0.4rem;
}

.module-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
}

.module-carousel__dot.active {
  width: 20px;
  border-radius: 10px;
  background: var(--color-teal);
}

/* ── FULLSCREEN IMAGE LIGHTBOX MODAL ── */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.image-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-lightbox-content {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-accent);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-page);
  cursor: default;
}

.image-lightbox-modal.active .image-lightbox-content {
  transform: scale(1);
}

.image-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.image-lightbox-close:hover {
  background: var(--color-teal);
  color: #FFFFFF;
  transform: scale(1.1);
}

/* ── CONFÍAN EN NOSOTROS (CLIENTS PAGE 9) ── */
.clients-section-book {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-glass);
}

.clients-stats-banner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.client-stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-stat-badge__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--color-teal);
  line-height: 1;
}

[data-theme="light"] .client-stat-badge__num {
  color: var(--color-teal-dark);
}

.client-stat-badge__text {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.clients-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  animation: clientScroll 24s linear infinite;
  width: max-content;
}

.client-logo-chip {
  background: #FFFFFF;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.client-logo-chip img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@keyframes clientScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 800;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-page);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--teal {
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-glow);
}

.btn--teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 210, 200, 0.45);
}

.btn--glass {
  background: var(--bg-glass-card);
  backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn--glass:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, #00D2C8 0%, #009E96 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: var(--fs-small);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  transform: scale(1.05);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.page-indicator {
  font-weight: 800;
  font-size: var(--fs-small);
  color: var(--color-teal);
}

[data-theme="light"] .page-indicator {
  color: var(--color-teal-dark);
}

@media (max-width: 960px) {

  .cover-page-layout,
  .module-book-page {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-ver-plus {
    align-self: center;
  }

  .module-mascot-corner img {
    max-height: 140px !important;
  }

  .module-carousel__slide img {
    max-height: 180px;
  }
}

/* El explorador convierte cada captura del ERP en una demostración guiada. */
.module-carousel__dot {
  border: 0;
  padding: 0;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

.module-explorer {
  margin-top: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-teal-glow), transparent 68%), var(--bg-glass-card);
  box-shadow: var(--shadow-glass);
}

.module-explorer__header {
  min-height: 74px;
}

.module-explorer__eyebrow {
  display: block;
  color: var(--color-teal);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .12rem;
}

.module-explorer__title {
  display: block;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.module-explorer__text {
  color: var(--text-secondary);
  font-size: .75rem;
  line-height: 1.45;
  margin-top: .25rem;
}

.module-explorer__steps {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}

.module-explorer__step {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .55rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: transparent;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.1;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.module-explorer__step span {
  color: var(--color-teal);
  font-size: .62rem;
}

.module-explorer__step:hover,
.module-explorer__step.active {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
  transform: translateY(-1px);
}

.module-explorer__step.active span {
  color: #fff;
}

.pillar-card.is-focused,
.brochure-card.is-focused,
.benefit-item.is-focused {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}

@media (max-width: 960px) {
  .cover-bottom-bar {
    position: static;
    margin-top: 1.25rem;
    flex-wrap: wrap;
  }

  .cover-page-layout {
    height: auto;
    padding-bottom: 0;
  }

  .module-mascot-corner {
    opacity: .35;
  }
}

@media (max-width: 640px) {

  .book-header,
  .book-footer {
    height: 58px;
    padding: 0 .85rem;
  }

  .book-progress {
    top: 58px;
  }

  .book-header__actions {
    gap: .45rem;
  }

  .custom-dropdown-trigger {
    padding: .45rem .55rem;
  }

  .custom-dropdown-trigger span {
    display: none;
  }

  .audio-controller {
    display: none;
  }

  .book-stage {
    padding: .75rem;
  }

  .book-page {
    inset: .75rem;
    padding: 1.35rem 1.1rem;
  }

  .cover-title,
  .module-book-title {
    font-size: 1.9rem;
  }

  .cover-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cover-modules-banner {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .module-explorer__header {
    min-height: auto;
  }

  .module-mascot-corner {
    display: none;
  }

  .page-btn {
    padding: .5rem .7rem;
    font-size: .72rem;
  }

  .page-indicator {
    font-size: .72rem;
  }

  .module-carousel__slide img {
    max-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Conversión, contacto y lectura móvil del libro digital. */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .78rem 1rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: #25D366;
  color: #062515;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  font-size: .78rem;
  text-decoration: none;
  transform: translateY(1rem) scale(.92);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}

.whatsapp-float span {
  font-weight: 700;
}

.whatsapp-float strong {
  color: #fff;
}

.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.closing-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin-top: 1.3rem;
}

.closing-cta__phone {
  width: 100%;
  color: var(--color-teal);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-decoration: none;
}

.page-enter {
  animation: bookPageEnter 540ms var(--ease-page) both;
}

@keyframes bookPageEnter {
  from {
    opacity: 0;
    transform: translateX(28px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.cover-mascot-overlay {
  --mascot-x: 0px;
  --mascot-y: 0px;
  transform: translate3d(var(--mascot-x), var(--mascot-y), 0);
  transition: transform .18s ease-out;
}

.book-page.active .cover-mascot-overlay img {
  animation: coverMascotReveal .75s .12s var(--ease-page) both;
}

@keyframes coverMascotReveal {
  from {
    opacity: 0;
    transform: translateY(26px) scale(.82) rotate(-4deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (max-width: 767px) {
  html {
    min-height: 100%;
    overflow-y: auto;
  }

  body.book-mode {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: var(--grad-hero);
  }

  .book-wrapper {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .book-header {
    position: sticky;
    top: 0;
    height: 58px;
    padding: 0 .85rem;
  }

  .book-header__logo img {
    height: 34px !important;
    max-height: 34px !important;
    max-width: 160px !important;
  }

  .book-header__actions {
    gap: .5rem;
  }

  .custom-dropdown-trigger {
    padding: .45rem .65rem;
  }

  .custom-dropdown-trigger span {
    display: none;
  }

  .book-progress {
    position: sticky;
    top: 58px;
    z-index: 102;
  }

  .book-stage {
    display: block;
    overflow: visible;
    padding: .8rem;
    perspective: none;
  }

  .book-page,
  .book-page.active,
  .book-page.past {
    position: relative;
    inset: auto;
    display: flex;
    min-height: 0;
    margin: 0 0 1rem;
    padding: 1.5rem 1.1rem 2rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  .book-page.page-enter {
    animation: none;
  }

  .cover-page-layout,
  .module-book-page {
    height: auto;
    padding-bottom: 0;
  }

  .cover-bottom-bar {
    left: auto;
    right: auto;
    bottom: auto;
  }

  .cover-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
  }

  .cover-mascot-overlay {
    left: -14px;
    bottom: -14px;
  }

  .cover-mascot-overlay img {
    max-height: 145px !important;
  }

  .module-mascot-corner {
    position: static;
    margin-top: .75rem;
  }

  .module-mascot-corner img {
    max-height: 120px !important;
  }

  .module-carousel {
    padding: .7rem;
  }

  .module-carousel__slide img {
    max-height: 185px;
  }

  .module-explorer {
    text-align: left;
  }

  .clients-stats-banner {
    gap: 1rem;
    align-items: flex-start;
  }

  .client-stat-badge__num {
    font-size: 1.55rem;
  }

  .client-stat-badge__text {
    font-size: .64rem;
  }

  .book-footer {
    display: none;
  }

  .whatsapp-float {
    right: .85rem;
    bottom: .85rem;
    padding: .72rem .86rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .closing-cta {
    justify-content: center;
  }

  .closing-cta .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* El CTA del libro se eleva por sobre la barra de navegación y no cubre sus controles. */
body.book-mode .whatsapp-float {
  bottom: calc(64px + 1.25rem);
}

@media (max-width: 767px) {
  body.book-mode .whatsapp-float {
    bottom: .85rem;
  }
}

/* Portada: la franja de modulos acompana la captura sin invadir el llamado a la accion. */
.book-page:first-child .cover-bottom-bar {
  left: 55%;
  right: 2rem;
  justify-content: flex-end;
}

.book-page:first-child .cover-trust-box {
  display: none;
}

@media (max-width: 767px) {
  .book-page:first-child .cover-bottom-bar {
    position: static;
    margin-top: 1rem;
    justify-content: flex-start;
  }
}

/* P&aacute;gina 2: beneficios generales del ERP. */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-grid .pillar-card {
  min-height: 13rem;
}

@media (max-width: 900px) {
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* Iconos semanticos de portada y beneficios. */
.cover-feature-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.pillar-card__icon {
  font-size: 1.55rem;
  line-height: 1;
}

/* Iconografia lineal local para pilares y beneficios. */
.cover-feature-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.pillar-card__icon img {
  width: 28px;
  height: 28px;
  display: block;
}

/* ============================================================
   MASCOTAS DEL BROCHURE — ajustes independientes por página
   Cada personaje tiene posición y escala propias para no cubrir textos.
   ============================================================ */
.cover-mascot-overlay--cover {
  left: -3rem;
  bottom: -1.25rem;
}
.cover-mascot-overlay--cover img { max-height: 225px !important; }

.module-mascot-corner--contable {
  left: 35%;
  right: auto;
  bottom: 1.35rem;
}
.module-mascot-corner--contable img { max-height: 215px !important; }

.module-mascot-corner--commercial {
  left: 37%;
  right: auto;
  bottom: 1.2rem;
}
.module-mascot-corner--commercial img { max-height: 205px !important; }

.module-mascot-corner--rrhh {
  left: 35%;
  right: auto;
  bottom: 1.3rem;
}
.module-mascot-corner--rrhh img { max-height: 220px !important; }

.module-mascot-corner--doc {
  left: 34%;
  right: auto;
  bottom: .75rem;
}
.module-mascot-corner--doc img { max-height: 205px !important; }

.module-mascot-corner--bi {
  left: 39%;
  right: auto;
  bottom: 1.35rem;
}
.module-mascot-corner--bi img { max-height: 205px !important; }

.module-mascot-corner--pos {
  left: 35%;
  right: auto;
  bottom: 1.3rem;
}
.module-mascot-corner--pos img { max-height: 215px !important; }

.module-mascot-corner--clientes {
  top: .75rem;
  right: 1.5rem;
  bottom: auto;
  left: auto;
}
.module-mascot-corner--clientes img { max-height: 125px !important; }

.cover-character-card--cierre {
  align-self: end;
  justify-self: end;
  pointer-events: none;
}
.cover-character-card--cierre img { max-height: 245px !important; width: auto; }

@media (max-width: 960px) {
  .module-mascot-corner--contable,
  .module-mascot-corner--commercial,
  .module-mascot-corner--rrhh,
  .module-mascot-corner--doc,
  .module-mascot-corner--bi,
  .module-mascot-corner--pos,
  .module-mascot-corner--clientes { display: none; }
}
/* Controles, certificaciones y cierre del brochure. */
.audio-controller,
.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem .9rem;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  background: var(--bg-glass-card);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .16);
  transition: transform .2s var(--ease-page), border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.audio-controller:hover,
.theme-toggle:hover,
.audio-controller:focus-visible,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-teal);
  background: var(--bg-surface);
  box-shadow: var(--shadow-glow);
  outline: none;
}

.header-control__icon {
  color: var(--color-teal);
  font-size: 1.1rem;
  line-height: 1;
}

.audio-controller__equalizer {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 14px;
}

.audio-controller__bar {
  width: 3px;
  height: 45%;
  border-radius: 999px;
  background: var(--color-teal);
}

.audio-controller.playing .audio-controller__bar:nth-child(1) { animation: equalize .6s ease-in-out infinite alternate; }
.audio-controller.playing .audio-controller__bar:nth-child(2) { animation: equalize .45s .12s ease-in-out infinite alternate; }
.audio-controller.playing .audio-controller__bar:nth-child(3) { animation: equalize .7s .05s ease-in-out infinite alternate; }

@keyframes equalize { to { height: 100%; } }

.cover-certifications {
  max-width: 540px;
  margin: -.3rem 0 1.25rem;
}

.cover-certifications > p {
  margin-bottom: .55rem;
  color: var(--text-muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cover-certifications__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.cover-certifications__logos > div {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .22rem;
  padding: .4rem .35rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg-glass-card) 84%, transparent);
}

.cover-certifications__logos img {
  max-width: 76px;
  height: 24px;
  object-fit: contain;
}

.cover-certifications__logos span {
  color: var(--text-muted);
  font-size: .55rem;
  line-height: 1.15;
  text-align: center;
}

.pillar-card--sii {
  position: relative;
  overflow: hidden;
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glass), 0 0 30px rgba(0, 210, 200, .18);
}

.pillar-card--sii::after {
  content: '';
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 110px;
  background: radial-gradient(circle, rgba(0, 210, 200, .24), transparent 68%);
  pointer-events: none;
}

.sii-sync-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  padding: .28rem .48rem;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.closing-page-layout { align-items: center; }
.closing-content { max-width: 620px; }

.closing-benefits {
  display: grid;
  gap: .6rem;
  margin: 1.25rem 0 1.45rem;
  padding: 0;
  list-style: none;
}

.closing-benefits li {
  display: grid;
  grid-template-columns: minmax(155px, .82fr) 1.8fr;
  gap: .8rem;
  align-items: center;
  padding: .78rem .9rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-glass-card);
}

.closing-benefits strong { color: var(--color-teal); font-size: .82rem; }
.closing-benefits span { color: var(--text-secondary); font-size: .78rem; line-height: 1.4; }

@media (max-width: 767px) {
  .book-header__actions { gap: .3rem; }
  .book-header__logo img { max-width: 112px !important; }
  .audio-controller,
  .theme-toggle {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    padding: .5rem .58rem;
  }
  .audio-controller .header-control__label,
  .theme-toggle .header-control__label,
  .audio-controller__equalizer { display: none; }
  .custom-dropdown-trigger { min-width: 42px; min-height: 42px; justify-content: center; }
  .custom-dropdown-menu {
    position: fixed;
    top: 66px;
    left: .75rem;
    right: .75rem;
    min-width: 0;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .custom-dropdown-item { min-height: 44px; font-size: .82rem; }
  .cover-certifications { margin-bottom: 1.1rem; }
  .cover-certifications__logos > div { min-height: 64px; }
  .cover-certifications__logos img { max-width: 66px; }
  .sii-sync-badge { font-size: .52rem; }
  .closing-benefits li { grid-template-columns: 1fr; gap: .2rem; }
}
/* Portada: marca AVsoft centrada respecto de toda la página. */
.book-page:first-child .cover-page-layout > div:first-child { padding-top: 3.8rem; }
.book-page:first-child .cover-brand-header {
  position: absolute;
  top: .55rem;
  left: 50%;
  z-index: 2;
  width: max-content;
  margin: 0;
  transform: translateX(-50%);
  justify-content: center;
}
@media (max-width: 960px) {
  .book-page:first-child .cover-page-layout > div:first-child { padding-top: 0; }
  .book-page:first-child .cover-brand-header {
    position: static;
    width: auto;
    margin-bottom: 1rem;
    transform: none;
    justify-content: center;
  }
}
/* Página 2 · ecosistema AVsoft conectado */
.ecosystem-book-page { overflow: hidden; }
.ecosystem-book-layout { display: grid; height: 100%; grid-template-rows: auto minmax(0, 1fr); padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.35rem, 4vw, 4rem); background: radial-gradient(circle at 12% 8%, rgba(0, 210, 200, .12), transparent 27%), radial-gradient(circle at 93% 91%, rgba(41, 68, 247, .1), transparent 28%); }
.ecosystem-book-header { max-width: 47rem; margin: 0 auto clamp(.9rem, 2vw, 1.6rem); text-align: center; }
.ecosystem-book-header h2 { margin: .45rem 0 .5rem; color: var(--text-main); font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 3.35rem); line-height: 1.03; }
.ecosystem-book-header p { margin: 0; color: var(--text-secondary); font-size: clamp(.78rem, 1.05vw, 1rem); line-height: 1.45; }
.ecosystem-book-body { display: grid; grid-template-columns: minmax(17rem, .9fr) minmax(22rem, 1.1fr); gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center; min-height: 0; }
.ecosystem-network { position: relative; min-height: 19rem; overflow: hidden; border: 1px solid rgba(104, 248, 240, .42); border-radius: 1.2rem; background: radial-gradient(circle at center, rgba(0, 217, 201, .18), transparent 24%), linear-gradient(145deg, #061d43, #0a4e76); box-shadow: 0 20px 40px rgba(3, 20, 54, .22); }
.ecosystem-network::before { content: ''; position: absolute; left: 50%; top: 50%; width: 11.5rem; height: 11.5rem; border: 1px dashed rgba(124, 255, 245, .35); border-radius: 50%; transform: translate(-50%, -50%); animation: ecosystem-orbit 16s linear infinite; }
.ecosystem-network__core { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; width: 6.5rem; height: 6.5rem; place-content: center; border: 1px solid #8afff4; border-radius: 50%; background: linear-gradient(145deg, #08bdbb, #075d92); box-shadow: 0 0 0 .55rem rgba(0, 213, 200, .1), 0 10px 24px rgba(0, 0, 0, .3); color: #fff; text-align: center; transform: translate(-50%, -50%); }
.ecosystem-network__core span { font-family: var(--font-heading); font-size: .88rem; font-weight: 900; letter-spacing: .04em; }.ecosystem-network__core strong { font-size: .74rem; letter-spacing: .2em; }.ecosystem-network__core i { position: absolute; inset: -.4rem; border: 1px solid rgba(140, 255, 247, .7); border-radius: 50%; opacity: 0; animation: ecosystem-core-pulse 3.8s ease-out infinite; }
.ecosystem-node { position: absolute; z-index: 2; display: grid; min-width: 6.8rem; padding: .48rem .6rem; border: 1px solid rgba(172, 255, 249, .48); border-radius: .56rem; background: rgba(5, 28, 65, .9); box-shadow: 0 6px 15px rgba(0, 0, 0, .2); color: #f2ffff; font-size: .65rem; text-align: center; }.ecosystem-node b { font-weight: 800; }.ecosystem-node::after { content: ''; position: absolute; top: 50%; width: 4.3rem; height: 1px; background: linear-gradient(90deg, rgba(103, 255, 244, .7), rgba(103, 255, 244, .08)); }.ecosystem-node i { position: absolute; top: calc(50% - .16rem); width: .32rem; height: .32rem; border-radius: 50%; background: #93fff5; box-shadow: 0 0 .5rem #93fff5; animation: ecosystem-data 3.8s linear infinite; }
.ecosystem-node--contabilidad { left: 4%; top: 13%; }.ecosystem-node--rrhh { left: 4%; top: calc(50% - 1rem); }.ecosystem-node--inventarios { left: 4%; bottom: 13%; }.ecosystem-node--finanzas { right: 4%; top: 13%; }.ecosystem-node--ventas { right: 4%; top: calc(50% - 1rem); }.ecosystem-node--produccion { right: 4%; bottom: 13%; }
.ecosystem-node--contabilidad::after, .ecosystem-node--rrhh::after, .ecosystem-node--inventarios::after { left: 100%; }.ecosystem-node--contabilidad i, .ecosystem-node--rrhh i, .ecosystem-node--inventarios i { left: 100%; animation-name: ecosystem-data-right; }.ecosystem-node--finanzas::after, .ecosystem-node--ventas::after, .ecosystem-node--produccion::after { right: 100%; transform: rotate(180deg); }.ecosystem-node--finanzas i, .ecosystem-node--ventas i, .ecosystem-node--produccion i { right: 100%; animation-name: ecosystem-data-left; }
.ecosystem-node--rrhh i, .ecosystem-node--ventas i { animation-delay: 1.2s; }.ecosystem-node--inventarios i, .ecosystem-node--produccion i { animation-delay: 2.4s; }
.ecosystem-network__legend { position: absolute; z-index: 4; left: 50%; bottom: .75rem; padding: .35rem .65rem; border: 1px solid rgba(137, 255, 246, .32); border-radius: 99px; background: rgba(4, 29, 66, .72); color: #cffffb; font-size: .53rem; font-weight: 700; text-align: center; transform: translateX(-50%); white-space: nowrap; }
.ecosystem-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ecosystem-benefit-card { position: relative; min-height: 9.25rem; padding: 1rem .95rem .85rem; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: .9rem; background: var(--bg-glass-card); box-shadow: var(--shadow-glass); }.ecosystem-benefit-card::after { content: ''; position: absolute; width: 4.5rem; height: 4.5rem; right: -2rem; bottom: -2rem; border-radius: 50%; background: var(--color-teal-glow); }.ecosystem-benefit-card--sii { border-color: rgba(0, 196, 188, .55); }.ecosystem-benefit-card--support::after { background: rgba(204, 47, 159, .11); }.ecosystem-benefit-card--integrations::after { background: rgba(42, 79, 255, .1); }
.ecosystem-benefit-card__number { display: grid; position: relative; z-index: 1; width: 1.75rem; height: 1.75rem; margin-bottom: .55rem; place-items: center; border-radius: .45rem; background: var(--color-teal-glow); color: var(--color-teal); font-size: .65rem; font-weight: 900; }.ecosystem-benefit-card__number img { width: 1.4rem; height: 1rem; object-fit: contain; }
.ecosystem-benefit-card h3 { position: relative; z-index: 1; margin: 0 0 .32rem; color: var(--text-main); font-family: var(--font-heading); font-size: clamp(.82rem, 1vw, 1rem); line-height: 1.12; }.ecosystem-benefit-card p { position: relative; z-index: 1; margin: 0; color: var(--text-secondary); font-size: clamp(.63rem, .79vw, .78rem); line-height: 1.4; }
@keyframes ecosystem-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ecosystem-core-pulse { 0% { opacity: .8; transform: scale(.75); } 70%,100% { opacity: 0; transform: scale(1.35); } }
@keyframes ecosystem-data-right { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateX(4rem); } }
@keyframes ecosystem-data-left { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateX(-4rem); } }
@media (max-width: 960px) { .ecosystem-book-layout { height: auto; min-height: 100%; }.ecosystem-book-body { grid-template-columns: 1fr; }.ecosystem-network { min-height: 18rem; }.ecosystem-benefits { max-width: 42rem; margin: 0 auto; } }
@media (max-width: 560px) { .ecosystem-book-layout { padding: 1.3rem 1rem; }.ecosystem-book-header h2 { font-size: 2rem; }.ecosystem-network { min-height: 20rem; }.ecosystem-node { min-width: 5.15rem; padding: .42rem .32rem; font-size: .53rem; }.ecosystem-node::after { width: 2.65rem; }.ecosystem-node i { display: none; }.ecosystem-network__core { width: 5.4rem; height: 5.4rem; }.ecosystem-network__legend { max-width: 80%; white-space: normal; }.ecosystem-benefits { grid-template-columns: 1fr; }.ecosystem-benefit-card { min-height: 0; }.ecosystem-benefit-card p { font-size: .77rem; } }
@media (prefers-reduced-motion: reduce) { .ecosystem-network::before, .ecosystem-network__core i, .ecosystem-node i { animation: none; }.ecosystem-node i { opacity: .9; } }
/* Página 2 · núcleo AVsoft y acompañamiento conectado */
.ecosystem-network__core {
  width: 8.7rem;
  height: 4.15rem;
  padding: .55rem .72rem;
  border-radius: .85rem;
  background: rgba(3, 26, 63, .94);
  box-shadow: 0 0 0 .5rem rgba(0, 213, 200, .1), 0 12px 26px rgba(0, 0, 0, .32);
}
.ecosystem-network__core img { display: block; width: 100%; max-width: 7.2rem; height: auto; object-fit: contain; }
.ecosystem-network__core i { inset: -.48rem; border-radius: 1.05rem; }
.ecosystem-node--support { left: 50%; top: .75rem; min-width: 7.4rem; transform: translateX(-50%); border-color: rgba(255, 220, 129, .62); background: rgba(84, 55, 11, .83); color: #fff8dc; }
.ecosystem-node--support::after { left: 50%; top: 100%; width: 1px; height: 3.75rem; background: linear-gradient(180deg, rgba(255, 224, 128, .9), rgba(255, 224, 128, .08)); }
.ecosystem-node--support i { left: calc(50% - .16rem); top: 100%; background: #ffe38b; box-shadow: 0 0 .55rem #ffe38b; animation: ecosystem-support-data 3.8s ease-in-out infinite; }
.ecosystem-node--support b::after { content: 'Solicitud ↔ respuesta'; display: block; margin-top: .12rem; color: #ffeeb4; font-size: .43rem; font-weight: 600; letter-spacing: .01em; }
@keyframes ecosystem-support-data { 0%,100% { opacity: 0; transform: translateY(0); } 14% { opacity: 1; } 43% { opacity: 1; transform: translateY(3.45rem); } 50% { opacity: 0; } 57% { opacity: 0; transform: translateY(3.45rem); } 68% { opacity: 1; } 92% { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .ecosystem-network__core { width: 7rem; height: 3.5rem; }.ecosystem-node--support { top: .55rem; min-width: 6.3rem; }.ecosystem-node--support::after { height: 3.5rem; }.ecosystem-node--support b::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .ecosystem-node--support i { animation: none; opacity: .95; } }
/* Hoja 1 · visual principal proporcionada por el cliente */
.book-page:first-child .cover-screen-frame--portada {
  padding: .28rem;
  overflow: hidden;
  border-color: rgba(120, 246, 239, .5);
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(215, 248, 250, .9));
  box-shadow: 0 22px 45px rgba(0, 19, 54, .3), 0 0 28px rgba(0, 211, 196, .16);
}
.book-page:first-child .cover-screen-frame--portada img {
  display: block;
  width: 100%;
  max-height: 350px;
  border-radius: calc(var(--radius-lg) - .28rem);
  cursor: default;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 960px) {
  .book-page:first-child .cover-screen-frame--portada img { max-height: none; }
}