/* ==========================================================================
   GESTIÓN SySO - DESIGN SYSTEM PROFESIONAL UX/UI (ENTERPRISE SAAS & CONSULTORA)
   Tipografías:
   - Marca GESTIÓN: 'Virgo 01' (Tipografía Oficial Canva)
   - Marca SySO: 'Audiowide' (Tipografía Oficial Canva)
   - Títulos y Landing: 'Outfit'
   - Cuerpo y UI: 'Inter'
   Paleta:
   - Primary: #468DFF (Corporate Blue)
   - Accent / Hover: #0511F2 (Deep Blue)
   - Hero Background: #D9D9D9 (Gris Institucional Canva)
   - Background Page: #F8FAFC (Slate 50)
   - Surface: #FFFFFF
   - Border: #E2E8F0 / #CBD5E1 (Slate 200/300)
   - Footer Background: #2F3033 (Oficial de la App)
   - Text: #0F172A (Headings) / #334155 (Body) / #64748B (Muted)
   ========================================================================== */

@font-face {
  font-family: 'Virgo 01';
  src: url('assets/fonts/virgo-01.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Virgo01';
  src: url('assets/fonts/virgo-01.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --primary: #468DFF;
  --primary-hover: #0511F2;
  --primary-subtle: #EFF6FF;
  --primary-border: #DBEAFE;
  
  --accent: #0511F2;
  --accent-glow: rgba(70, 141, 255, 0.25);

  --bg-hero: #D9D9D9;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --border-light: #E2E8F0;
  --border-hero: #CBD5E1;
  --border-focus: #468DFF;

  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;

  --font-brand-gestion: 'Virgo 01', 'Virgo01', 'Virgo', sans-serif;
  --font-brand-syso: 'Audiowide', cursive, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 6px 16px -4px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -5px rgba(70, 141, 255, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.04);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main-content {
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
}

#main-content.page-transitioning {
  opacity: 0;
  transform: translateY(8px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.site-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA AL CARGAR LA PÁGINA (SOLO ENTRADA)
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualEntrance {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate(30px, -20px) scale(1.15);
    opacity: 0.45;
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(70, 141, 255, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(70, 141, 255, 0);
  }
}

.animate-fade-1 { animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.animate-fade-2 { animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.animate-fade-3 { animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.animate-fade-4 { animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.animate-fade-5 { animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
.animate-hero-visual { animation: heroVisualEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }

/* ==========================================================================
   PICTOGRAMAS VECTORIALES (SVG)
   ========================================================================== */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.icon-box.sm {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.icon-box.lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
}

.svg-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-icon.sm {
  width: 18px;
  height: 18px;
}

.svg-icon.xs {
  width: 15px;
  height: 15px;
}

.svg-icon.lg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   BOTONES DEL SISTEMA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF !important;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(70, 141, 255, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(5, 17, 242, 0.38);
  transform: translateY(-2px);
}

.btn-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--primary) !important;
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF !important;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* BADGES & CHIPS */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.badge-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulseDot 2s infinite ease-in-out;
}

.badge-normative {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background-color: #F1F5F9;
  color: var(--primary);
  border: 1px solid var(--border-light);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-name .brand-gestion {
  font-family: var(--font-brand-gestion);
  color: #468DFF;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-block;
}

.brand-name .brand-syso {
  font-family: var(--font-brand-syso);
  color: var(--text-dark);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   HEADER & RESPONSIVE BURGER MENU (MOBILE-FIRST)
   ========================================================================== */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  transition: var(--transition);
}

.hamburger-btn:hover {
  background-color: var(--primary-subtle);
  border-color: var(--primary-border);
}

.hamburger-bar {
  width: 22px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.hamburger-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--primary);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--primary);
}

/* Mobile Drawer Backdrop */
.mobile-nav-backdrop {
  display: none;
}

/* Mobile Navigation Side Drawer (Right-to-Left < 960px) */
@media (max-width: 959px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 1050;
  }

  .mobile-nav-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background-color: #FFFFFF;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.22);
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0.5rem;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: #F1F5F9;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
  }

  .drawer-close-btn:hover {
    background-color: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
  }

  .primary-menu {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    list-style: none;
    width: 100%;
    margin-bottom: auto;
  }

  .primary-menu .menu-item {
    width: 100%;
  }

  .primary-menu .menu-item a {
    display: block;
    width: 100%;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background-color: transparent;
    transition: all 0.2s ease;
  }

  .primary-menu .menu-item a:hover {
    background-color: var(--primary-subtle);
    color: var(--primary);
    transform: translateX(4px);
  }

  .primary-menu .menu-item.active a {
    background-color: var(--primary-subtle);
    color: var(--primary);
  }

  .primary-menu .menu-item.active a::after {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
  }

  .mobile-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
  }

  .mobile-drawer-contact a {
    color: var(--text-muted);
  }

  .mobile-drawer-contact a:hover {
    color: var(--primary);
  }
}

/* Desktop Navigation (>= 960px) */
@media (min-width: 960px) {
  .hamburger-btn,
  .mobile-nav-backdrop,
  .mobile-drawer-header,
  .mobile-drawer-contact {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    max-height: none !important;
    height: auto !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
  }

  .primary-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    align-items: center;
  }

  .primary-menu .menu-item a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color 0.15s ease;
  }

  .primary-menu .menu-item a:hover {
    color: var(--primary);
  }

  .primary-menu .menu-item.active a {
    color: var(--primary);
    font-weight: 700;
  }

  .primary-menu .menu-item.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
  }

  .mobile-nav-actions {
    display: none !important;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .btn-header-app {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(70, 141, 255, 0.22);
    transition: var(--transition);
  }

  .btn-header-app:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(5, 17, 242, 0.3);
  }
}

/* ==========================================================================
   MULTI-DEVICE MOCKUP (DESKTOP PC + MOBILE OVERLAY)
   ========================================================================== */
.device-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.mockup-desktop-frame {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.mockup-desktop-frame:hover {
  box-shadow: 0 30px 60px -15px rgba(70, 141, 255, 0.25), 0 0 0 1px rgba(70, 141, 255, 0.2);
  transform: translateY(-3px);
}

.mockup-browser-bar {
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.browser-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.browser-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots .dot.red { background-color: #EF4444; }
.browser-dots .dot.yellow { background-color: #F59E0B; }
.browser-dots .dot.green { background-color: #10B981; }

.browser-address-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 260px;
}

.mockup-desktop-screen {
  background-color: #F8FAFC;
  line-height: 0;
  display: block;
}

.desktop-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mockup-mobile-frame {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  width: 95px;
  background-color: #0F172A;
  border: 2.5px solid #1E293B;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 10;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.mockup-mobile-frame:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 40px rgba(5, 17, 242, 0.35), 0 0 0 1px rgba(70, 141, 255, 0.4);
}

.mobile-speaker-notch {
  width: 28px;
  height: 3.5px;
  background-color: #334155;
  border-radius: var(--radius-full);
  margin: 4px auto 3px auto;
}

.mockup-mobile-screen {
  background-color: #FFFFFF;
  line-height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.mobile-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mobile-home-indicator {
  width: 32px;
  height: 2.5px;
  background-color: #475569;
  border-radius: var(--radius-full);
  margin: 4px auto 3px auto;
}

/* ==========================================================================
   HERO SECTIONS CON FONDO GRIS #D9D9D9
   ========================================================================== */
.hero-dual-wrap {
  position: relative;
  background: linear-gradient(180deg, #E2E4E8 0%, #D9D9D9 100%);
  padding: 4.75rem 0 5.5rem 0;
  border-bottom: 1px solid #CBD5E1;
  overflow: hidden;
}

.page-hero-wrap {
  position: relative;
  background: linear-gradient(180deg, #E2E4E8 0%, #D9D9D9 100%);
  padding: 4.75rem 0 4.25rem 0;
  border-bottom: 1px solid #CBD5E1;
  overflow: hidden;
}

.page-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.page-hero-lead {
  font-size: 1.18rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.page-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}

.hero-ambient-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(70, 141, 255, 0.22) 0%, rgba(217, 217, 217, 0) 70%);
  animation: ambientDrift 8s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.hero-ambient-glow-left {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 17, 242, 0.12) 0%, rgba(217, 217, 217, 0) 70%);
  animation: ambientDrift 10s infinite alternate-reverse ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  text-align: left;
}

.hero-main-title {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-top: 12px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-lead-text {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.15);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-label {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.3;
}

.hero-visual-col {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.hero-integrated-photo {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.18));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-image-wrapper:hover .hero-integrated-photo {
  filter: drop-shadow(0 25px 40px rgba(70, 141, 255, 0.28));
}

/* ==========================================================================
   SERVICES DETAILED STYLES
   ========================================================================== */
.services-intro-section {
  padding: 3.5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.services-intro-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.services-intro-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.services-intro-text p {
  color: var(--text-body);
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.services-intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: #DBEAFE;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.services-detail-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-detail-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-detail-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-detail-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-detail-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.service-feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-detail-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   METODOLOGÍA (4 PASOS)
   ========================================================================== */
.methodology-section-wrap {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.methodology-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-number-badge {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #DBEAFE;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step-card:hover .step-number-badge {
  color: var(--primary);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT / NOSOTROS STYLES
   ========================================================================== */
.about-story-section {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-story-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-story-text p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.15rem;
}

.about-quote-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary);
  background-color: var(--primary-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-quote-box p {
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-style: italic;
}

.about-story-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.about-stat-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
}

.about-stat-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.35rem;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-pillars-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.pillars-three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-core-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-core-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pillar-core-card .icon-box {
  margin-bottom: 1.25rem;
}

.pillar-core-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.pillar-core-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   EQUIPO PROFESIONAL (ABOUT / NOSOTROS)
   ========================================================================== */
.team-section-wrap {
  padding: 5.5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.team-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.team-member-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.team-member-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.team-avatar-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: #DBEAFE;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  border: 2px solid #BFDBFE;
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.team-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.team-credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.team-credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

.team-credentials-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.team-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.btn-linkedin-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 13.5px;
  font-weight: 700;
  color: #0077B5;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-linkedin-profile:hover {
  background-color: #0077B5;
  color: #FFFFFF;
  border-color: #0077B5;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
  transform: translateY(-2px);
}

/* POR QUÉ ELEGIRNOS */
.why-choose-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.why-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   APP SAAS PAGE STYLES
   ========================================================================== */
.saas-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.saas-quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.saas-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  background-color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.saas-badge-pill svg {
  color: #25D366;
}

.saas-pillars-section {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.saas-modules-section {
  padding: 5.5rem 0;
  background-color: var(--bg-page);
}

.saas-full-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.saas-module-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.saas-module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.saas-module-card .icon-box {
  margin-bottom: 1.25rem;
}

.saas-module-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.saas-module-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* PRICING */
.pricing-section-wrap {
  padding: 5.5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pricing-card.featured-plan {
  background-color: #FFFFFF;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 1.75rem;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(70, 141, 255, 0.4);
}

.pricing-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.plan-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background-color: #E2E8F0;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.plan-type-badge.featured {
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.plan-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.plan-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.plan-features-list li.highlight-feature {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  color: var(--text-dark);
}

.pricing-card-footer {
  margin-top: auto;
}

/* PWA GUIDE */
.pwa-guide-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.pwa-devices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.pwa-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem 1.75rem 2rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 410px;
  height: 100% !important;
  box-sizing: border-box;
}

.pwa-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pwa-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pwa-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pwa-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pwa-steps-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.pwa-steps-list li {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.55;
}

.pwa-card-footer {
  margin-top: auto !important;
  width: 100%;
  padding-top: 1.25rem;
}

.pwa-card-footer .btn {
  width: 100% !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 0.65rem 1rem;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* FAQS ACORDEÓN */
.faqs-section-wrap {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faqs-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-accordion-item[open] {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-accordion-header {
  padding: 1.35rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-accordion-body {
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-main-section {
  padding: 4.5rem 0 5.5rem 0;
  background-color: var(--bg-page);
}

.contact-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.contact-form-elements {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-feedback-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-sidebar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.sidebar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.direct-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-page);
  transition: var(--transition);
}

.direct-channel-item:hover:not(.static-item) {
  background-color: #FFFFFF;
  border-color: var(--primary);
  transform: translateX(4px);
}

.direct-channel-item.whatsapp-box:hover {
  border-color: #25D366;
}

.channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.channel-val {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.urgent-notice-box {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.urgent-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.urgent-notice-box p {
  font-size: 0.88rem;
  color: #1E3A8A;
  line-height: 1.5;
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-page-wrap {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.legal-content-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-body-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-body-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-body-text ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-body-text ul li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   CLIENTES (CARRUSEL INFINITO)
   ========================================================================== */
.clients-section-wrap {
  background-color: var(--bg-page);
  padding: 5.5rem 0;
  overflow: hidden;
  position: relative;
}

.clients-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.clients-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  gap: 5rem;
  user-select: none;
  padding: 1.5rem 0;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
}

.clients-marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 5rem;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marqueeSlideSlow 85s linear infinite;
}

.clients-marquee-container:hover .clients-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeSlideSlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 5rem));
  }
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.client-logo-img {
  max-height: 105px;
  min-height: 70px;
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.92;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-item:hover .client-logo-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.12);
}

/* ==========================================================================
   DUAL PATHWAY
   ========================================================================== */
.dual-pathway-section {
  background-color: #FFFFFF;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-light);
}

.dual-pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pathway-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pathway-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pathway-card:hover .icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.05);
}

.pathway-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.pathway-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pathway-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pathway-link:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   SERVICIOS GRID (HOME)
   ========================================================================== */
.services-section-wrap {
  background-color: var(--bg-page);
  padding: 5.5rem 0;
}

.section-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-grid-8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.service-app-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-app-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-app-card:hover .icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
}

.service-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   APP SAAS SHOWCASE (HOME)
   ========================================================================== */
.saas-showcase-wrap {
  background-color: #FFFFFF;
  padding: 5.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.saas-header-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 3.5rem;
}

.pillar-card-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
}

.pillar-card-box:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pillar-card-box:hover .icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
}

.pillar-card-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.pillar-card-box p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.saas-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.module-card-mini {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: var(--transition);
}

.module-card-mini:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.module-card-mini:hover .icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
}

.module-card-mini h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.module-card-mini p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner-wrap {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-content-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.cta-subtext {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.cta-buttons-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}

/* ==========================================================================
   FOOTER OFICIAL DE LA APP
   ========================================================================== */
.site-footer {
  background-color: #2F3033;
  color: #CBD5E1;
  font-family: var(--font-body);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  width: 100%;
}

.footer-top-row {
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  white-space: nowrap;
}

.footer-brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
}

.footer-brand-text .brand-gestion {
  font-family: var(--font-brand-gestion);
  color: #468DFF;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-block;
}

.footer-brand-text .brand-syso {
  font-family: var(--font-brand-syso);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-block;
}

.footer-brand-desc {
  color: #94A3B8;
  font-size: 12px;
  line-height: 1.65;
  max-width: 360px;
}

.footer-col-header {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: #468DFF;
  text-decoration: underline;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #CBD5E1;
  font-size: 12px;
}

.footer-contact-row a {
  color: #CBD5E1;
  transition: color 0.15s ease;
}

.footer-contact-row a:hover {
  color: #FFFFFF;
}

.footer-bottom-row {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-copy-text {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.footer-domain-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-domain-link:hover {
  color: #468DFF;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-pill {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social-pill.linkedin:hover {
  background-color: #0077B5;
  color: #FFFFFF;
}

.footer-social-pill.instagram:hover {
  background-color: #E1306C;
  color: #FFFFFF;
}

.footer-social-pill.facebook:hover {
  background-color: #1877F2;
  color: #FFFFFF;
}

.footer-social-pill.twitter:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.footer-social-pill.whatsapp:hover {
  background-color: #25D366;
  color: #FFFFFF;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS
   ========================================================================== */
@media (min-width: 640px) {
  .dual-pathway-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .saas-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-group, .page-hero-actions { flex-direction: row; }
  .cta-buttons-row { flex-direction: row; }
  .footer-bottom-row { flex-direction: row; }
  .form-row-2 { grid-template-columns: repeat(2, 1fr); }
  .methodology-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pwa-devices-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
  }
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-mobile-frame {
    width: 115px;
    right: -0.75rem;
    bottom: -1.25rem;
  }
}

@media (min-width: 1025px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
  .hero-main-title { font-size: 3.2rem; }
  .services-grid-8 { grid-template-columns: repeat(4, 1fr); }
  .saas-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .saas-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .mockup-mobile-frame {
    width: 125px;
    right: -1rem;
    bottom: -1.5rem;
  }
  .saas-modules-grid { grid-template-columns: repeat(4, 1fr); }
  .saas-full-modules-grid { grid-template-columns: repeat(4, 1fr); }
  .services-detailed-grid { grid-template-columns: repeat(2, 1fr); }
  .services-intro-grid { grid-template-columns: 1.2fr 0.8fr; }
  .methodology-steps-grid { grid-template-columns: repeat(4, 1fr); }
  .about-story-grid { grid-template-columns: 1.2fr 0.8fr; }
  .pillars-three-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .pricing-cards-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid-2 { grid-template-columns: 1.25fr 0.75fr; }
  .footer-top-row { grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; }
}
