/* =========================================================
   DROMUX · FUNCIONALIDADES
   Página específica /funcionalidades/
   ========================================================= */

:root {
  --fx-dark: #070b14;
  --fx-dark-2: #0d1320;
  --fx-surface: #111827;
  --fx-light: #f6f8fc;
  --fx-white: #ffffff;
  --fx-text: #101828;
  --fx-muted: #667085;
  --fx-muted-dark: #9aa7bd;
  --fx-border: #e3e8f0;
  --fx-border-dark: rgba(255, 255, 255, .10);
  --fx-primary: #62d8d2;
  --fx-blue: #7aa7ff;
  --fx-radius: 22px;
  --fx-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

body {
  background: var(--fx-light);
  color: var(--fx-text);
}

.fx-page {
  overflow: hidden;
}

.fx-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.fx-hero {
  position: relative;
  padding: 74px 0 88px;
  background:
    radial-gradient(circle at 82% 15%, rgba(69, 128, 255, .18), transparent 32%),
    radial-gradient(circle at 18% 74%, rgba(98, 216, 210, .10), transparent 30%),
    var(--fx-dark);
  color: #fff;
}

.fx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.fx-breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: #72819a;
  font-size: .84rem;
}

.fx-breadcrumb a { color: inherit; text-decoration: none; }
.fx-breadcrumb a:hover { color: #fff; }

.fx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.fx-eyebrow,
.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.fx-eyebrow { color: #9fc2ff; }
.fx-kicker { color: #4069a7; }
.fx-kicker.light { color: #8fb4f4; }

.fx-hero h1 {
  max-width: 680px;
  margin: 19px 0 23px;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 700;
}

.fx-hero h1 span {
  color: #91b8ff;
}

.fx-hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: #aab5c8;
  font-size: 1.09rem;
  line-height: 1.75;
}

.fx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn-primary { color: #08101e; background: linear-gradient(120deg, #92c4ff, #64ddd2); }
.fx-btn-secondary { color: #e9eef8; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.fx-btn-dark { color: #fff; background: #0c1422; }

.fx-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #8290a7;
  font-size: .78rem;
}
.fx-hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.fx-hero-points i { width: 15px; color: var(--fx-primary); }

.fx-product-window {
  position: relative;
}

.fx-screen {
  position: relative;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 35px 100px rgba(0,0,0,.34);
}

.fx-screen::before {
  content: "";
  display: block;
  height: 29px;
  margin: -10px -10px 10px;
  background:
    radial-gradient(circle at 18px 15px, #ff6b6b 3px, transparent 4px),
    radial-gradient(circle at 31px 15px, #ffd166 3px, transparent 4px),
    radial-gradient(circle at 44px 15px, #5dd39e 3px, transparent 4px),
    rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.fx-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  object-position: center top;
  border-radius: 11px;
  background: #fff;
}

.fx-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(15, 23, 40, .92);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}
.fx-float i { width: 19px; color: #89b8ff; }
.fx-float strong { display:block; font-size:.82rem; }
.fx-float small { display:block; margin-top:2px; color:#8090aa; font-size:.69rem; }
.fx-float.one { top: 42px; right: -22px; }
.fx-float.two { bottom: 38px; left: -30px; }

.fx-intro {
  padding: 94px 0 76px;
  background: var(--fx-white);
}

.fx-section-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}
.fx-section-head h2,
.fx-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fx-section-head p {
  margin: 0;
  color: var(--fx-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.fx-category-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
}
.fx-category-nav a {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--fx-border);
  border-radius: 16px;
  color: #243148;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fx-category-nav a:hover {
  transform: translateY(-3px);
  border-color: #c8d7f1;
  box-shadow: 0 15px 35px rgba(15,23,42,.07);
}
.fx-category-nav i { width: 21px; margin-bottom: 12px; color: #497ac1; }
.fx-category-nav strong { display:block; font-size:.9rem; }
.fx-category-nav span { display:block; margin-top:4px; color:#7b8798; font-size:.73rem; }

.fx-domain {
  padding: 96px 0;
  background: var(--fx-light);
}
.fx-domain.dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(74, 119, 223, .11), transparent 28%),
    var(--fx-dark);
}

.fx-domain-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 46px;
}
.fx-domain-head h2 {
  margin: 10px 0 0;
  max-width: 720px;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.fx-domain-head p {
  max-width: 560px;
  margin: 5px 0 0;
  color: var(--fx-muted);
  line-height: 1.75;
}
.fx-domain.dark .fx-domain-head p { color: var(--fx-muted-dark); }

.fx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fx-feature-card {
  min-height: 275px;
  padding: 28px;
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  background: #fff;
}
.fx-domain.dark .fx-feature-card {
  border-color: var(--fx-border-dark);
  background: rgba(255,255,255,.035);
}
.fx-feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 27px;
  border-radius: 12px;
  background: #eef4ff;
  color: #4778c2;
}
.fx-domain.dark .fx-feature-icon {
  border: 1px solid rgba(137,184,255,.18);
  background: rgba(100,144,224,.10);
  color: #89b8ff;
}
.fx-feature-icon i { width: 21px; }
.fx-feature-card h3 { margin: 0 0 11px; font-size: 1.22rem; letter-spacing: -.025em; }
.fx-feature-card p { margin: 0; color: var(--fx-muted); font-size: .93rem; line-height: 1.7; }
.fx-domain.dark .fx-feature-card p { color: #96a4b9; }
.fx-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.fx-feature-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #52627a;
  background: #f2f5f9;
  font-size: .68rem;
  font-weight: 600;
}
.fx-domain.dark .fx-feature-meta span { color:#9dacbf; background:rgba(255,255,255,.055); }

.fx-showcase {
  padding: 100px 0;
  background: #fff;
}
.fx-showcase-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 64px;
}
.fx-showcase-row + .fx-showcase-row { margin-top: 92px; }
.fx-showcase-row.reverse { grid-template-columns: 1.18fr .82fr; }
.fx-showcase-row.reverse .fx-showcase-copy { order: 2; }
.fx-showcase-row.reverse .fx-showcase-media { order: 1; }
.fx-showcase-copy h2 {
  margin: 13px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.fx-showcase-copy > p { color:var(--fx-muted); line-height:1.75; }
.fx-checks { display:grid; gap:10px; margin:23px 0 0; padding:0; list-style:none; }
.fx-checks li { display:flex; gap:10px; color:#445168; line-height:1.55; font-size:.9rem; }
.fx-checks i { flex:0 0 auto; width:17px; color:#2f9f97; margin-top:2px; }

.fx-showcase-media {
  padding: 12px;
  border: 1px solid var(--fx-border);
  border-radius: 22px;
  background: #f4f6fa;
  box-shadow: var(--fx-shadow);
}
.fx-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
  border-radius: 13px;
  background: white;
}

.fx-flow {
  padding: 100px 0;
  color: #fff;
  background: var(--fx-dark);
}
.fx-heading.center { max-width: 820px; margin: 0 auto 50px; text-align:center; }
.fx-heading.center p { max-width:650px; margin:18px auto 0; color:#94a2b7; line-height:1.72; }
.fx-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.fx-flow-card {
  position: relative;
  padding: 25px 20px;
  border: 1px solid var(--fx-border-dark);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
}
.fx-flow-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  color:#8291a8;
  background:var(--fx-dark);
  font-size:.72rem;
}
.fx-flow-card span { display:block; margin-bottom:25px; color:#6587bf; font-size:.7rem; font-weight:700; letter-spacing:.1em; }
.fx-flow-card h3 { margin:0 0 8px; font-size:1rem; }
.fx-flow-card p { margin:0; color:#8997ac; font-size:.78rem; line-height:1.55; }

.fx-modular {
  padding: 96px 0;
  background: var(--fx-light);
}
.fx-modular-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 52px;
  border: 1px solid #dfe5ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(15,23,42,.06);
}
.fx-modular-box h2 { margin:12px 0 18px; font-size:clamp(2.1rem,3.5vw,3.4rem); line-height:1.04; letter-spacing:-.04em; }
.fx-modular-box p { color:var(--fx-muted); line-height:1.72; }
.fx-module-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.fx-module-list div {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:10px 13px;
  border:1px solid var(--fx-border);
  border-radius:12px;
  color:#33435a;
  background:#f9fafc;
  font-size:.84rem;
  font-weight:600;
}
.fx-module-list i { width:18px; color:#4a7ec3; }

.fx-cta {
  padding: 96px 0;
  background: #fff;
}
.fx-cta-box {
  position:relative;
  overflow:hidden;
  padding: 70px 54px;
  border-radius: 26px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(98,216,210,.17), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(122,167,255,.19), transparent 32%),
    #09101d;
}
.fx-cta-box h2 { max-width:780px; margin:14px auto 18px; font-size:clamp(2.2rem,4.3vw,4.2rem); line-height:1.02; letter-spacing:-.045em; }
.fx-cta-box p { max-width:650px; margin:0 auto 28px; color:#9daabe; line-height:1.7; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.fx-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.fx-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (max-width: 1050px) {
  .fx-hero-grid,
  .fx-section-head,
  .fx-domain-head,
  .fx-showcase-row,
  .fx-showcase-row.reverse,
  .fx-modular-box { grid-template-columns: 1fr; }
  .fx-hero-grid { gap: 52px; }
  .fx-section-head, .fx-domain-head { gap:20px; }
  .fx-category-nav { grid-template-columns: repeat(3, 1fr); }
  .fx-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-flow-grid { grid-template-columns: 1fr 1fr; }
  .fx-flow-card::after { display:none !important; }
  .fx-showcase-row.reverse .fx-showcase-copy,
  .fx-showcase-row.reverse .fx-showcase-media { order:initial; }
}

@media (max-width: 700px) {
  .fx-container { width: min(100% - 30px, 1180px); }
  .fx-hero { padding: 50px 0 62px; }
  .fx-breadcrumb { margin-bottom:28px; }
  .fx-hero h1 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .fx-hero-copy > p { font-size:.98rem; }
  .fx-float { display:none; }
  .fx-intro, .fx-domain, .fx-showcase, .fx-flow, .fx-modular, .fx-cta { padding:70px 0; }
  .fx-category-nav, .fx-feature-grid, .fx-flow-grid, .fx-module-list { grid-template-columns:1fr; }
  .fx-feature-card { min-height:auto; padding:24px; }
  .fx-showcase-row + .fx-showcase-row { margin-top:64px; }
  .fx-modular-box { padding:30px 22px; gap:34px; }
  .fx-cta-box { padding:54px 23px; border-radius:20px; }
}


@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .fx-btn, .fx-category-nav a { transition:none; }
}


/* =========================================================
   AJUSTE V2.1 · NAVBAR SOBRE HERO OSCURO
   El navbar global usa transparencia; este fondo evita que
   tome el color claro del body en /funcionalidades/.
   ========================================================= */
.navbar-spacer {
  background: var(--fx-dark);
}