/* ============================================================
   PropieApp — Estilos compartidos para las páginas de módulos
   Extraído/alineado con el <style> de index.php para mantener
   la misma identidad visual en todo el sitio.
   ============================================================ */
:root {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --gradient: linear-gradient(135deg, #6a11cb, #2575fc);
  --dark: #1e293b;
  --light: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: white;
  padding-top: 70px;
  scroll-behavior: smooth;
  color: var(--dark);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link { font-weight: 600; color: var(--dark) !important; margin: 0 0.25rem; transition: color 0.2s ease; }
.nav-link:hover { color: var(--primary) !important; }
.nav-link.active { color: var(--primary) !important; }

.btn-primary-custom {
  background: var(--gradient); border: none; color: white;
  padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3); color: white; }

.btn-outline-custom {
  border: 2px solid var(--primary); background: transparent; color: var(--primary);
  padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: 600; transition: all 0.3s ease;
}
.btn-outline-custom:hover { background: var(--gradient); border-color: transparent; color: white; }

/* Breadcrumb */
.mod-breadcrumb { font-size: 0.85rem; color: #64748b; margin-bottom: 1.2rem; }
.mod-breadcrumb a { color: #64748b; text-decoration: none; }
.mod-breadcrumb a:hover { color: var(--primary); }

/* Hero de módulo */
.mod-hero {
  background: var(--gradient);
  color: white;
  padding: 70px 0 80px;
}
.mod-hero-icon {
  width: 84px; height: 84px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.mod-hero-icon i { font-size: 38px; color: white; }
.mod-badge {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.mod-badge.proximamente { background: #fff3e0; color: #e65100; border-color: transparent; }

/* Sección título (mismo estilo que index.php) */
.section-title { font-weight: 800; margin-bottom: 2rem; position: relative; text-align: center; }
.section-title::after {
  content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 4px; background: var(--gradient); border-radius: 2px;
}

/* Tarjetas de características */
.feat-card {
  background: white; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 1.6rem; height: 100%; transition: all 0.25s ease;
}
.feat-card:hover { border-color: var(--primary); box-shadow: 0 14px 30px rgba(106,17,203,0.10); transform: translateY(-4px); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(106,17,203,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 20px;
}

/* Bloques "quién usa qué" */
.role-block {
  border-radius: 18px; padding: 1.8rem; height: 100%; border: 1px solid #e2e8f0; background: #f8fafc;
}
.role-block-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.role-block-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0;
}
.role-block ul { margin: 0; padding-left: 1.1rem; }
.role-block li { margin-bottom: 0.5rem; color: #475569; font-size: 0.95rem; }

/* Ideal para */
.ideal-item { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1rem; }
.ideal-item i { color: var(--primary); margin-top: 3px; }

/* CTA */
.cta-section { background: var(--gradient); padding: 60px 0; color: white; }

/* Footer */
.footer { background: var(--dark); color: #94a3b8; padding: 50px 0 30px; }
.footer a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: white; }

@media (max-width: 768px) {
  body { padding-top: 60px; }
  .mod-hero { padding: 50px 0 60px; }
}
