/* ═══════════════════════════════════════════
   OneClick Technology — basado 1:1 en Armonía ERP
   ═══════════════════════════════════════════ */

/* ── Variables (idénticas al app.css de Armonía) ── */
:root {
  --bg:     #f3f5f4;
  --panel:  #f8f8f8;
  --white:  #ffffff;
  --text:   #111111;
  --muted:  #6f6f6f;
  --line:   #e4e4e4;
  --dark:   #0b0b0b;
  --accent1: #7dcfc8;
  --accent2: #3ebfd7;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,.08);
  --ease: 280ms cubic-bezier(.22,.61,.36,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(243,245,244,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), background var(--ease);
}
.navbar.scrolled {
  background: rgba(248,248,248,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.nav-inner {
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand-img {
  width: 152px;
  height: auto;
  display: block;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #161818, #303534);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}
.brand-mark svg { width: 18px; height: 18px; color: #fff; display: block; }
.brand-mark--sm { width: 30px; height: 30px; border-radius: 9px; }
.brand-mark--sm svg { width: 14px; height: 14px; }

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.brand-name span { color: var(--accent2); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: background var(--ease), color var(--ease);
}
.nav-link:hover {
  background: rgba(255,255,255,.7);
  color: var(--text);
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Pill button (idéntico al .workspace-tab / .topbar-fx de Armonía) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 36px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-outline {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.07);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.btn-outline:hover {
  background: #fff;
  border-color: rgba(62,191,215,.3);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.07);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0d1412;
  border: none;
  box-shadow: 0 14px 32px rgba(95,196,170,.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 36px rgba(95,196,170,.28);
}
.btn-ghost {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.05);
  color: #444;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}
.btn-lg { height: 46px; padding: 0 28px; font-size: 14px; border-radius: 18px; }
.btn-full { width: 100%; justify-content: center; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  padding: 9px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: #444; border-radius: 2px;
  transition: all var(--ease);
}

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
}

/* Fondo decorativo (como el desktop-shell de Armonía) */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .13;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--accent1);
  top: -180px; left: -180px;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  background: var(--accent2);
  bottom: -100px; right: -60px;
  opacity: .09;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 64px;
}
.hero-copy {
  min-width: 0;
}

/* Badge — igual al .topbar-datetime de Armonía */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5e6964;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent1);
  box-shadow: 0 0 6px var(--accent1);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.75); }
}

/* Headline — igual al .dashboard-home-copy h1 de Armonía */
.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #171717;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent1) 20%, var(--accent2) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

/* Stats — igual al .topbar-fx de Armonía */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
  overflow: hidden;
}
.stat-item {
  padding: 16px 26px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #171717;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: .02em;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}
.hero-visual-card {
  position: relative;
  height: 470px;
  border-radius: 32px;
  overflow: hidden;
  background: #101615;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 34px 80px rgba(0,0,0,.16);
}
.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92) contrast(1.04);
}
.hero-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,18,.08) 0%, rgba(10,18,18,.66) 100%),
    radial-gradient(circle at 20% 18%, rgba(125,207,200,.28), transparent 36%);
}
.hero-live-chip {
  position: absolute;
  top: 22px;
  left: 22px;
  height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.76);
  color: #23302f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
.hero-system-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}
.hero-system-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #60706f;
}
.hero-system-card strong {
  display: block;
  max-width: 360px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #111;
}
.hero-floating-card {
  position: absolute;
  min-width: 118px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
}
.hero-floating-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #111;
  letter-spacing: -0.04em;
}
.hero-floating-card span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-floating-card--top {
  top: 76px;
  right: -28px;
}
.hero-floating-card--bottom {
  left: -30px;
  bottom: 96px;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
}
.scroll-wheel {
  width: 24px; height: 38px;
  border: 2px solid rgba(0,0,0,.14);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--accent1);
  border-radius: 2px;
  animation: scroll-drop 1.8s ease-in-out infinite;
}
@keyframes scroll-drop {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* ══════════════════════════
   SECTION BASE
══════════════════════════ */
.section { padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%); }
.section--dark {
  background: linear-gradient(180deg, #161c1b 0%, #0f1413 100%);
  color: rgba(255,255,255,.9);
}

.section-head { margin-bottom: 52px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* Eyebrow — igual al .eyebrow de Armonía */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.eyebrow--accent { color: var(--accent2); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #171717;
  margin-bottom: 14px;
}
.section-title--light { color: rgba(255,255,255,.96); }

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}
.section-sub--light { color: rgba(255,255,255,.62); }

/* ══════════════════════════
   CARD (idéntica al .card del ERP)
══════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,.11);
  transform: translateY(-2px);
}

/* ══════════════════════════
   SERVICIOS
══════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,.10);
  transform: translateY(-2px);
  border-color: rgba(62,191,215,.22);
}

/* Tarjeta destacada (span 2 filas) */
.service-card--featured {
  background: linear-gradient(160deg, rgba(125,207,200,.08) 0%, rgba(62,191,215,.04) 100%);
  border-color: rgba(125,207,200,.3);
  grid-row: span 2;
}
.service-card--featured:hover { border-color: var(--accent1); }

/* Ícono — estilo nav-icon del ERP */
.service-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
  color: #333;
  box-shadow: 0 5px 16px rgba(0,0,0,.04);
  flex-shrink: 0;
  transition: background var(--ease), color var(--ease);
}
.service-card:hover .service-icon {
  background: #111;
  color: #fff;
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #171717;
}
.service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
/* Tags — igual al .workspace-tab del ERP */
.tag {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 11px;
  font-weight: 600;
  color: #666;
  display: inline-flex;
  align-items: center;
  letter-spacing: .02em;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease), color var(--ease);
  margin-top: 4px;
}
.service-link:hover { gap: 8px; color: var(--accent1); }

/* CTA card */
.service-card--cta {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border: none;
  box-shadow: 0 18px 50px rgba(95,196,170,.28);
}
.service-card--cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(95,196,170,.36);
}
.service-cta-content {
  display: flex; flex-direction: column;
  gap: 12px; height: 100%; justify-content: center;
}
.service-cta-title { font-size: 18px; font-weight: 700; color: #0d1412; letter-spacing: -0.03em; }
.service-cta-desc  { font-size: 13px; color: rgba(13,20,18,.68); line-height: 1.55; }
.service-card--cta .btn-primary {
  background: rgba(13,20,18,.15);
  color: #0d1412;
  border: 1.5px solid rgba(13,20,18,.18);
  box-shadow: none;
  width: fit-content;
}
.service-card--cta .btn-primary:hover {
  background: rgba(13,20,18,.24);
  box-shadow: none;
}

/* ══════════════════════════
   NOSOTROS
══════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 78px;
  align-items: center;
}
.about-desc {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,.68);
  margin-bottom: 32px;
}
.about-values { display: flex; flex-direction: column; gap: 20px; }

.value-item { display: flex; gap: 14px; align-items: flex-start; }
/* Ícono valor — igual al .nav-icon del ERP pero small */
.value-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent1);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-title {
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.92); margin-bottom: 4px;
}
.value-desc { font-size: 13px; color: rgba(255,255,255,.56); line-height: 1.55; }

/* Visual card dentro de la sección oscura */
.about-visual { position: relative; }
.about-showcase {
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    radial-gradient(circle at 72% 14%, rgba(62,191,215,.18), transparent 38%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 34px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.about-visual-glow {
  position: absolute;
  top: -90px; right: -90px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--accent2);
  filter: blur(100px);
  opacity: .16;
  pointer-events: none;
}
.about-logo-panel {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(7,12,12,.34), rgba(7,12,12,.18));
  border: 1px solid rgba(255,255,255,.09);
  margin-bottom: 22px;
  position: relative;
}
.about-logo-img {
  width: min(260px, 82%);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.3));
}
.about-showcase-copy {
  position: relative;
  margin-bottom: 20px;
}
.about-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent1);
}
.about-showcase-copy h3 {
  max-width: 340px;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.14;
  font-weight: 750;
  color: rgba(255,255,255,.96);
}
.about-showcase-copy p {
  max-width: 350px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
}
.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.about-icon-item {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent1);
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.about-icon-item:hover {
  border-color: rgba(125,207,200,.3);
  background: rgba(125,207,200,.07);
  transform: translateY(-2px);
}
.about-icon-item span {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.about-proof-row div {
  min-height: 68px;
  padding: 13px 10px;
  border-radius: 16px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-proof-row strong {
  font-size: 22px;
  line-height: 1;
  color: #fff;
}
.about-proof-row span {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.about-team-feature {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: stretch;
}
.about-team-photo-frame {
  min-height: 390px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 30px 74px rgba(0,0,0,.28);
}
.about-team-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}
.about-team-card {
  border-radius: 28px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055)),
    radial-gradient(circle at 82% 18%, rgba(62,191,215,.18), transparent 42%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 74px rgba(0,0,0,.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-team-card h3 {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #fff;
}
.about-team-card p {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255,255,255,.62);
}
.about-team-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.about-team-points div {
  padding: 15px;
  border-radius: 16px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.08);
}
.about-team-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.94);
}
.about-team-points span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.5);
}

/* ══════════════════════════
   PARTNERS / CARRUSEL
══════════════════════════ */
.partners-track-wrap {
  overflow: hidden;
  margin-bottom: 56px;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.partners-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll-track 30s linear infinite;
}
@keyframes scroll-track {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Chip partner — igual al .topbar-datetime del ERP */
.partner-chip {
  flex-shrink: 0;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  font-weight: 600;
  color: #5e6964;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: border-color var(--ease), color var(--ease);
}
.partner-chip:hover { border-color: rgba(62,191,215,.3); color: var(--accent2); }

/* Testimonios */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(0,0,0,.1);
  border-color: rgba(62,191,215,.2);
}
.testimonial-stars { font-size: 13px; color: var(--accent1); letter-spacing: 3px; }
.testimonial-text {
  font-size: 14px; line-height: 1.65;
  color: var(--muted); font-style: italic; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #0d1412; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 13px; font-weight: 700; color: #171717; }
.testimonial-author span  { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════
   CONTACTO
══════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-desc {
  font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 32px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item  { display: flex; align-items: center; gap: 14px; }
/* Icono contacto — igual al .nav-icon del ERP */
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
  color: #444; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.contact-label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.contact-value { font-size: 14px; font-weight: 600; color: #171717; }
a.contact-value:hover { color: var(--accent2); }

/* Form — igual al estilo .company-input / .field input del ERP */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 12px; font-weight: 600;
  color: #555; letter-spacing: .04em;
}
.form-input {
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-input::placeholder { color: #bbb; }
.form-input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(62,191,215,.10);
}
.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236f6f6f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-textarea {
  height: auto; min-height: 96px;
  padding: 10px 12px; resize: vertical;
}
.form-input[type="submit"], button.btn-full {
  cursor: pointer;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  background: linear-gradient(180deg, #161c1b 0%, #0f1413 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo-img {
  width: 138px;
  height: auto;
  display: block;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 18px; line-height: 1.55; }

.footer-social { display: flex; gap: 8px; }
/* Social btn — igual al .circle-btn del ERP */
.social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.72);
  transition: background var(--ease), transform var(--ease), color var(--ease);
}
.social-btn:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
  color: var(--accent2);
}

.footer-heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.82); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-links span {
  font-size: 13px; color: rgba(255,255,255,.58);
  transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-bottom-links a:hover { color: #fff; }

/* ══════════════════════════
   REVEAL ANIMATION
   (igual al surface-rise-in del ERP)
══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.22,.61,.36,1),
              transform .72s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════
   BRAND NAME WRAP
══════════════════════════ */
.brand-name-wrap { display: flex; flex-direction: column; justify-content: center; }
.brand-name { font-size: 1rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.brand-name span { color: var(--accent2); }

/* ══════════════════════════
   MARCAS / BRANDS
══════════════════════════ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.brand-card:hover {
  box-shadow: 0 22px 52px rgba(0,0,0,.1);
  transform: translateY(-2px);
  border-color: rgba(62,191,215,.2);
}
.brand-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  height: 56px;
  padding: 6px 0;
}

/* Imagen real del logo */
.brand-img {
  max-width: 180px;
  max-height: 52px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(0.8) opacity(0.7);
  transition: filter var(--ease);
}
.brand-card:hover .brand-img {
  filter: grayscale(0) contrast(1) opacity(1);
}
.brand-desc {
  font-size: 12px; line-height: 1.55; color: var(--muted); flex: 1;
}
.brand-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* ══════════════════════════
   PROYECTOS
══════════════════════════ */
.project-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  height: 32px; padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.07);
  font-size: 13px; font-weight: 600; color: var(--muted);
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.filter-btn:hover { background: #fff; color: var(--text); border-color: rgba(0,0,0,.12); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0d1412; border-color: transparent;
  box-shadow: 0 8px 24px rgba(95,196,170,.28);
}

/* Grid masonry-like de proyectos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-bottom: 36px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  cursor: pointer;
  transition: box-shadow var(--ease), transform var(--ease);
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(0,0,0,.14); }
.project-card--tall  { grid-row: span 2; }
.project-card--wide  { grid-column: span 2; }

.project-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.04); }

/* Overlay al hover */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,14,.15) 0%, rgba(11,15,14,.88) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .28s var(--ease);
  gap: 8px;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-cat-badge {
  align-self: flex-start;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  font-size: 10px; font-weight: 700;
  color: #0d1412; letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center;
}
.project-overlay-title {
  font-size: 16px; font-weight: 700;
  color: #fff; letter-spacing: -0.025em; line-height: 1.2;
}
.project-overlay-desc {
  font-size: 13px; color: rgba(255,255,255,.72);
  line-height: 1.5; flex: 1;
}

/* Meta debajo de la imagen — siempre visible */
.project-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(11,15,14,.72) 100%);
  pointer-events: none;
}
.project-cat {
  display: block; font-size: 10px; font-weight: 700;
  color: var(--accent1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px;
}
.project-title {
  font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: -0.025em; line-height: 1.2;
}
.project-summary { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 3px; }

/* Al hover, ocultar meta y mostrar overlay */
.project-card:hover .project-meta { opacity: 0; transition: opacity .2s; }

.btn-sm { height: 30px; padding: 0 14px; font-size: 12px; width: fit-content; }

.projects-footer {
  display: flex; justify-content: center; padding-top: 8px;
}

/* Filtro ocultar tarjetas */
.project-card.hidden {
  display: none;
}

/* ══════════════════════════
   CLIENTES LOGOS GRID
══════════════════════════ */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}
.client-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.client-logo-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,.1);
  transform: translateY(-2px);
  border-color: rgba(62,191,215,.22);
}
.client-logo-card img {
  max-width: 100%; max-height: 50px;
  object-fit: contain; filter: grayscale(1);
  transition: filter var(--ease);
}
.client-logo-card:hover img { filter: grayscale(0); }
.client-logo-fallback {
  font-size: 13px; font-weight: 700; color: var(--muted);
  text-align: center;
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 390px; max-width: 620px; width: 100%; }
  .hero-visual-card { height: 390px; }
  .hero-floating-card--top { right: 18px; }
  .hero-floating-card--bottom { left: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--featured { grid-row: auto; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 1; }
  .project-card--tall { grid-row: auto; }
  .clients-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(243,245,244,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    gap: 2px; z-index: 99;
  }
  .nav-toggle { display: flex; }
  .btn-outline { display: none; }
  .hero-title { font-size: 38px; }
  .hero-content { padding-top: 56px; padding-bottom: 92px; }
  .hero-visual { min-height: 330px; }
  .hero-visual-card { height: 330px; border-radius: 24px; }
  .hero-system-card strong { font-size: 20px; }
  .hero-floating-card { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .clients-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-team-feature { grid-template-columns: 1fr; margin-top: 44px; }
  .about-team-photo-frame { min-height: 320px; border-radius: 22px; }
  .about-team-photo-frame img { min-height: 320px; }
  .about-team-card { border-radius: 22px; padding: 26px; }
  .about-team-card h3 { font-size: 25px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-cta { flex-direction: column; }
  .hero-visual { min-height: 280px; }
  .hero-visual-card { height: 280px; border-radius: 20px; }
  .hero-live-chip { top: 14px; left: 14px; height: 30px; font-size: 10px; }
  .hero-system-card { left: 14px; right: 14px; bottom: 14px; padding: 14px; border-radius: 18px; }
  .hero-system-card strong { font-size: 18px; }
  .btn-lg { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 24px 18px; }
  .about-showcase { padding: 20px; border-radius: 22px; }
  .about-logo-panel { min-height: 178px; border-radius: 18px; }
  .about-logo-img { width: min(230px, 86%); }
  .about-showcase-copy h3 { font-size: 19px; }
  .about-icon-grid { grid-template-columns: 1fr; }
  .about-proof-row { gap: 8px; }
  .about-proof-row div { min-height: 62px; padding: 10px 8px; }
  .about-proof-row strong { font-size: 19px; }
  .about-team-photo-frame { min-height: 260px; }
  .about-team-photo-frame img { min-height: 260px; }
  .about-team-card { padding: 22px; }
  .about-team-card h3 { font-size: 22px; }
}
