/* ─────────────────────────────────────────────────────────────────────────────
   Luminare Theme — theme.css
   Aplica SOLO a páginas públicas (landing, página de contenido, 404, blog).
   Las páginas de app (lel_dashboard, lsm_classroom_pro) NO cargan este archivo.
───────────────────────────────────────────────────────────────────────────── */

:root {
  --lmt-primary:  #1d4ed8;
  --lmt-dark:     #0d1b3e;
  --lmt-green:    #22c55e;
  --lmt-text:     #0f172a;
  --lmt-muted:    #64748b;
  --lmt-bg:       #f8fafc;
  --lmt-white:    #ffffff;
  --lmt-border:   #e2e8f0;
  --lmt-radius:   12px;
  --lmt-shadow:   0 4px 20px rgba(0,0,0,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset mínimo ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--lmt-text);
  background: var(--lmt-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lmt-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

/* ── Layout helpers ────────────────────────────────────────────────────────── */
.lmt-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.lmt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--lmt-white);
  border-bottom: 1px solid var(--lmt-border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.lmt-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lmt-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.lmt-logo img {
  height: 40px;
  width: auto;
}

.lmt-logo-text {
  font-weight: 800;
  font-size: 20px;
  color: var(--lmt-dark);
  letter-spacing: -.3px;
}

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.lmt-nav {
  flex: 1;
}

.lmt-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lmt-menu a {
  color: var(--lmt-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}

.lmt-menu a:hover,
.lmt-menu .current-menu-item > a {
  color: var(--lmt-primary);
  text-decoration: none;
}

.lmt-header-cta {
  flex-shrink: 0;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.lmt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  border: none;
  line-height: 1.4;
  white-space: nowrap;
}

.lmt-btn:hover {
  text-decoration: none;
}

.lmt-btn-primary {
  background: var(--lmt-primary);
  color: #fff;
}

.lmt-btn-primary:hover {
  background: #1e40af;
  color: #fff;
}

.lmt-btn-outline {
  border: 2px solid var(--lmt-primary);
  color: var(--lmt-primary);
  background: transparent;
}

.lmt-btn-outline:hover {
  background: var(--lmt-primary);
  color: #fff;
}

.lmt-btn-white {
  background: #fff;
  color: var(--lmt-primary);
}

.lmt-btn-white:hover {
  background: #f0f4ff;
  color: var(--lmt-primary);
}

.lmt-btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.lmt-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1d4ed8 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.lmt-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.lmt-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.lmt-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.lmt-hero-title span {
  color: #60a5fa;
}

.lmt-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lmt-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lmt-hero-deco {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  opacity: .4;
  pointer-events: none;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.lmt-features {
  padding: 80px 0;
  background: var(--lmt-bg);
}

.lmt-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--lmt-text);
  margin-bottom: 48px;
}

.lmt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.lmt-feature-card {
  background: var(--lmt-white);
  border: 1px solid var(--lmt-border);
  border-radius: var(--lmt-radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--lmt-shadow);
}

.lmt-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.lmt-feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}

.lmt-feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--lmt-text);
  margin-bottom: 8px;
}

.lmt-feature-card p {
  font-size: 13px;
  color: var(--lmt-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── CTA ───────────────────────────────────────────────────────────────────── */
.lmt-cta {
  background: var(--lmt-dark);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.lmt-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.lmt-cta p {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.lmt-footer {
  background: #0f172a;
  color: rgba(255,255,255,.6);
  padding: 48px 0 24px;
}

.lmt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.lmt-footer .lmt-logo-text {
  color: rgba(255,255,255,.9);
}

.lmt-footer-brand p {
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 0;
  color: rgba(255,255,255,.5);
}

.lmt-footer-nav .lmt-footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lmt-footer-menu a {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}

.lmt-footer-menu a:hover {
  color: #fff;
  text-decoration: none;
}

.lmt-footer-copy {
  width: 100%;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,.4);
}

/* ── Pages generales ───────────────────────────────────────────────────────── */
.lmt-main {
  padding: 60px 0;
  min-height: 50vh;
}

.lmt-page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--lmt-text);
}

.lmt-content {
  max-width: 720px;
  line-height: 1.8;
  font-size: 15px;
  color: var(--lmt-text);
}

.lmt-content p { margin-bottom: 1.2em; }
.lmt-content h2, .lmt-content h3 { margin-top: 1.5em; margin-bottom: .6em; }
.lmt-content ul, .lmt-content ol { padding-left: 24px; margin-bottom: 1em; }
.lmt-content li { margin-bottom: .4em; }

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.lmt-404 {
  text-align: center;
  padding: 80px 24px;
}

.lmt-404-code {
  font-size: 7rem;
  font-weight: 900;
  color: var(--lmt-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.lmt-404 h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lmt-text);
  margin-bottom: 12px;
}

.lmt-404 p {
  color: var(--lmt-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ── Blog index ────────────────────────────────────────────────────────────── */
.lmt-main article {
  background: var(--lmt-white);
  border: 1px solid var(--lmt-border);
  border-radius: var(--lmt-radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--lmt-shadow);
}

.lmt-main article h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lmt-main article h2 a {
  color: var(--lmt-text);
}

.lmt-main article h2 a:hover {
  color: var(--lmt-primary);
  text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lmt-nav {
    display: none;
  }

  .lmt-hero {
    padding: 60px 0;
  }

  .lmt-hero-title {
    font-size: 2rem;
  }

  .lmt-hero-sub {
    font-size: 16px;
  }

  .lmt-hero-deco {
    width: 300px;
    height: 300px;
    right: -60px;
    top: -60px;
    opacity: .2;
  }

  .lmt-features {
    padding: 48px 0;
  }

  .lmt-features-grid {
    grid-template-columns: 1fr;
  }

  .lmt-cta {
    padding: 48px 0;
  }

  .lmt-cta h2 {
    font-size: 1.5rem;
  }

  .lmt-footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .lmt-404-code {
    font-size: 5rem;
  }

  .lmt-page-title {
    font-size: 1.5rem;
  }

  .lmt-main {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .lmt-header-inner {
    padding: 0 16px;
  }

  .lmt-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .lmt-btn-lg {
    padding: 12px 22px;
    font-size: 15px;
  }
}
