﻿/* Default accent = brand blue/teal (CRM, AGC, ERP, CXC, HIS) */
:root {
  --proj-step-gradient:  linear-gradient(135deg, #3b065e, #0c4b8f);
  --proj-step-color:     #0c4b8f;
  --proj-hover-border:   #29b7dd;
  --proj-hover-shadow:   rgba(12,75,143,0.1);
  --proj-stat-color:     #3b065e;
  --proj-benefit-border: #29b7dd;
  --gradient-dark:       linear-gradient(135deg, #3b065e 0%, #0c4b8f 100%);
  --secondary:           #19c6b5;
  --white:               #ffffff;
}

section[id] {
  scroll-margin-top: 92px;
}

/* Nicepage runtime utility */
.u-disable-duration * { transition-duration: 0s !important; }

/* ===== Header / Nav ===== */
header {
  background: var(--gradient-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
}
header .logo { display: flex; align-items: center; gap: 14px; }
header .logo-icon { height: 48px; display: flex; align-items: center; }
header .logo-icon img { height: 48px; width: auto; object-fit: contain; }
header .logo-text { display: flex; flex-direction: column; }
header .logo-text span:first-child {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}
header .logo-text span:last-child {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}
header .nav-links { display: flex; gap: 32px; list-style: none; }
header .nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
header .nav-toggle:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
}
header .nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
header .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
header .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
header .nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}
header .nav-links a:hover { color: var(--secondary); }
header .nav-cta {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}
header .nav-cta:hover { background: #14b0a0; }

/* -- Section 1: Hero -- */
.u-section-1 { background-image: none; }
.u-section-1 .u-sheet-1 { min-height: 540px; }
.u-section-1 .u-layout-wrap-1 { margin: 0; }
.u-section-1 .u-layout-cell-1 { min-height: 540px; }
.u-section-1 .u-container-layout-1 { padding: 50px 30px; }
.u-section-1 .u-text-1 { margin: 0; font-size: 2.25rem; line-height: 1.25; }
.u-section-1 .u-text-2 { font-size: 1.05rem; margin: 24px 40px 0 0; line-height: 1.8; }
.u-section-1 .u-btn-1 { background-image: none; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; border-style: none; font-weight: 700; margin: 36px auto 0 0; padding: 12px 48px; }
.u-section-1 .u-layout-cell-2 { min-height: 540px; display: flex; align-items: center; justify-content: center; }
.u-section-1 .u-product-visual { width: 100%; padding: 28px; box-sizing: border-box; }
.u-section-1 .u-product-visual img { width: 100%; height: auto; object-fit: cover; display: block; border-radius: 18px; margin: 16px 0; }

/* -- Section 2: C�mo funciona (white) -- */
.u-section-2 { background-image: none; }
.u-section-2 .u-sheet-1 { min-height: 500px; }
.u-section-2 .u-text-1 { margin: 60px auto 0; }
.u-section-2 .u-text-2 { margin: 16px 180px 0; }
.u-section-2 .u-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 50px 0 60px; }
.u-step-box { background: #f7f9fc; border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid #e0e8f0; transition: all 0.3s; }
.u-step-box:hover { transform: translateY(-6px); box-shadow: 0 16px 40px var(--proj-hover-shadow); border-color: var(--proj-hover-border); }
.u-step-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--proj-step-gradient); color: white; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.u-step-box h3 { font-family: Raleway, sans-serif; font-size: 1rem; font-weight: 700; color: var(--proj-step-color); margin-bottom: 10px; }
.u-step-box p { font-size: 0.82rem; color: #666; line-height: 1.6; }

/* -- Section 3: Caracter�sticas (dark) -- */
.u-section-3 { background-image: none; }
.u-section-3 .u-sheet-1 { min-height: 600px; }
.u-section-3 .u-text-1 { margin: 60px auto 0; }
.u-section-3 .u-text-2 { margin: 16px 180px 0; }
.u-section-3 .u-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 60px; }
.u-feature-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 28px 22px; transition: background 0.3s; }
.u-feature-card:hover { background: rgba(255,255,255,0.14); }
.u-feature-card h3 { color: white; font-family: Raleway, sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.u-feature-card p { color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.6; }

/* -- Section 4: Stats (white) -- */
.u-section-4 { background-image: none; }
.u-section-4 .u-sheet-1 { min-height: 220px; }
.u-section-4 .u-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.u-stat-item { text-align: center; padding: 50px 20px; border-right: 1px solid #e0e8f0; }
.u-stat-item:last-child { border-right: none; }
.u-stat-item h2 { font-family: Raleway, sans-serif; font-size: 3rem; font-weight: 800; color: var(--proj-stat-color); line-height: 1; margin-bottom: 10px; }
.u-stat-item p { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* -- Section 5: Beneficios (dark) -- */
.u-section-5 { background-image: none; }
.u-section-5 .u-sheet-1 { min-height: 480px; }
.u-section-5 .u-text-1 { margin: 60px auto 0; }
.u-section-5 .u-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0 60px; }
.u-benefit-item { background: rgba(255,255,255,0.06); border-left: 4px solid var(--proj-benefit-border); border-radius: 0 12px 12px 0; padding: 22px 24px; }
.u-benefit-item h3 { color: white; font-family: Raleway, sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.u-benefit-item p { color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.6; }

/* -- Section 6: CTA (white) -- */
.u-section-6 { background-image: none; }
.u-section-6 .u-sheet-1 { min-height: 300px; }
.u-section-6 .u-container-layout-1 { padding: 70px 30px; text-align: center; }
.u-section-6 .u-text-1 { margin: 0 auto; max-width: 720px; font-size: 1.8rem; font-weight: 700; }
.u-section-6 .u-text-2 { margin: 20px auto 0; max-width: 640px; font-size: 1rem; line-height: 1.7; color: #555; }
.u-section-6 .u-btn-1 { margin: 32px auto 0; display: inline-block; background-image: none; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: 0.9rem; padding: 14px 52px; }

@media (max-width: 991px) {
  .u-section-2 .u-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .u-section-3 .u-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .u-section-5 .u-benefits-grid { grid-template-columns: 1fr; }
  .u-section-2 .u-text-2 { margin-left: 20px; margin-right: 20px; }
  .u-section-3 .u-text-2 { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 767px) {
  header nav {
    padding: 14px 5%;
    position: relative;
    gap: 12px;
  }
  header .logo {
    gap: 10px;
    max-width: calc(100% - 70px);
  }
  header .logo-text span:first-child {
    font-size: 1.25rem;
  }
  header .logo-text span:last-child {
    font-size: 0.62rem;
  }
  header .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }
  header .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 5%;
    right: 5%;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(7,24,73,0.96);
    box-shadow: 0 22px 40px rgba(0,0,0,0.24);
    flex-direction: column;
    gap: 8px;
    z-index: 1001;
  }
  header .nav-links.is-open {
    display: flex;
  }
  header .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
  }
  header .nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
  }
  header .nav-cta {
    text-align: center;
    padding: 12px 18px;
    margin-top: 4px;
  }
  .u-section-2 .u-steps-grid { grid-template-columns: repeat(1, 1fr); }
  .u-section-3 .u-cards-grid { grid-template-columns: repeat(1, 1fr); }
  .u-section-4 .u-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .u-section-4 .u-stat-item { border-right: none; border-bottom: 1px solid #e0e8f0; }
}
