/* ============================================================
   LuzReva Design System — matching the approved mockup exactly
   Light body, dark navy nav/hero, teal accent, Inter font
   ============================================================ */

:root {
  --lr-teal-600:#0891a3; --lr-teal-700:#087a86; --lr-teal-500:#11a8bd; --lr-teal-100:#dff7fa;
  --lr-navy-950:#061527; --lr-navy-900:#071b34; --lr-navy-800:#0b2a4d; --lr-navy-700:#0e3a63;
  --lr-slate-900:#0f172a; --lr-slate-700:#334155; --lr-slate-500:#64748b; --lr-slate-300:#cbd5e1; --lr-slate-200:#e2e8f0; --lr-slate-100:#f1f5f9; --lr-slate-50:#f8fafc; --lr-white:#ffffff;
  --lr-red-muted:#b45b5b; --lr-red-bg:#fff1f1;
  --lr-gradient-primary:linear-gradient(135deg,#071b34,#0891a3); --lr-gradient-heading:linear-gradient(90deg,#061527,#134f8a 55%,#0891a3);
  --navy:var(--lr-navy-900); --navy2:var(--lr-navy-800); --navy3:var(--lr-navy-700);
  --teal:var(--lr-teal-600); --teal2:var(--lr-teal-500); --teal3:var(--lr-teal-100);
  --bg:var(--lr-white); --bg2:var(--lr-slate-50); --bg3:var(--lr-slate-100);
  --ink:var(--lr-slate-900); --ink2:var(--lr-slate-700); --ink3:var(--lr-slate-500); --ink4:#94a3b8;
  --line:var(--lr-slate-200); --line2:var(--lr-slate-300);
  --shadow-xs:0 1px 3px rgba(15,23,42,.08); --shadow-sm:0 8px 24px rgba(15,23,42,.06); --shadow-md:0 18px 45px rgba(15,23,42,.08); --shadow-lg:0 22px 56px rgba(15,23,42,.16);
  --max:1216px; --r-sm:8px; --r-md:10px; --r-lg:18px; --r-xl:24px; --r-full:9999px;
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; }
ul, ol { list-style: none; padding: 0; }

/* ── Layout helpers ──────────────────────── */
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; border-radius: var(--r-md); z-index: 1000; }

/* ── Site header / nav ───────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap {
  min-height: 68px; display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #fff;
  flex-shrink: 0;
}
.custom-logo { max-height: 40px; width: auto; }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--teal);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff;
  position: relative; flex-shrink: 0;
}
.brand-mark span {
  position: absolute; right: 7px; top: 7px;
  width: 5px; height: 5px;
  background: rgba(255,255,255,.6); border-radius: 50%;
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav > a,
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.main-nav > a:hover,
.nav-item > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.has-menu > a::after { content: "⌄"; font-size: 10px; color: rgba(255,255,255,.5); }
.nav-item { position: relative; }
.mega {
  position: absolute; left: 0; top: calc(100% + 8px);
  min-width: 240px; padding: 8px;
  background: var(--navy2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: none; grid-template-columns: 1fr; gap: 1px;
}
.mega-wide { min-width: 480px; grid-template-columns: 1fr 1fr; }
.mega a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75);
  transition: background .15s, color .15s;
}
.mega a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item:hover .mega,
.nav-item:focus-within .mega { display: grid; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; flex-shrink: 0; }
.login-link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75);
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: color .15s;
}
.login-link:hover { color: #fff; }
.nav-toggle {
  display: none; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: var(--r-sm); padding: 8px 10px; font-size: 18px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(13,27,42,.25);
}
.btn-primary:hover { background: var(--navy2); box-shadow: 0 6px 20px rgba(13,27,42,.3); }
.btn-secondary {
  background: transparent; color: var(--navy); border-color: var(--line2);
}
.btn-secondary:hover { background: var(--bg2); }
.btn-light {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn-light:hover { background: #0b8276; box-shadow: 0 6px 20px rgba(13,148,136,.4); }
.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,.08); }

/* ── Hero (homepage – light bg) ──────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 60%);
  padding: 80px 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--navy); margin: 16px 0 20px;
}
.hero h1 em {
  font-style: normal; color: var(--teal);
}
.hero p {
  font-size: 17px; color: var(--ink3); max-width: 480px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.quiet {
  font-size: 13px !important; font-weight: 500;
  color: var(--ink4) !important; margin-top: 16px;
}
/* Badge / eyebrow */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--teal3); border-radius: var(--r-full);
  padding: 5px 12px; font-size: 12px; font-weight: 600;
  color: var(--teal); text-transform: uppercase; letter-spacing: .05em;
}
.badge strong { color: var(--teal); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .06em;
}
.eyebrow i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); display: block;
}

/* ── Page hero (inner pages – dark navy) ─── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy); padding: 72px 0;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(13,148,136,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(109,40,217,.12) 0%, transparent 60%);
}
.page-hero h1 {
  position: relative;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin: 14px 0 16px; max-width: 640px;
}
.page-hero p {
  position: relative;
  font-size: 17px; color: rgba(255,255,255,.65);
  max-width: 540px; line-height: 1.6;
}
.page-hero .badge {
  position: relative;
  background: rgba(13,148,136,.18); color: var(--teal2);
  border: 1px solid rgba(13,148,136,.3);
}
.page-hero .hero-actions { position: relative; }
.page-hero.simple { padding: 56px 0; }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

/* ── Sections ────────────────────────────── */
.section { padding: 80px 0; background: var(--bg); }
.section.soft { background: var(--bg2); }
.section.dark { background: var(--navy); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
  color: var(--navy); margin: 10px 0 14px;
}
.section-head p { font-size: 17px; color: var(--ink3); line-height: 1.6; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head p { color: rgba(255,255,255,.6); }

/* Chips / strip */
.strip {
  padding: 20px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 0; }
.chips-row span,
.template-chips em {
  font-style: normal;
  background: var(--bg3); border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink2);
}

/* ── Grid systems ────────────────────────── */
.visual-grid, .card-grid { display: grid; gap: 16px; }
.visual-grid.four, .card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two   { grid-template-columns: repeat(2, 1fr); }
.card-grid.six   { grid-template-columns: repeat(3, 1fr); }
.list-grid       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-grid       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Cards ───────────────────────────────── */
.visual-card,
.feature-card,
.module-card,
.solution-card,
.system-card,
.market-card,
.detail-panel,
.demo-card,
.post-card,
.check-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.visual-card:hover,
.feature-card:hover,
.module-card:hover,
.solution-card:hover,
.system-card:hover,
.market-card:hover,
.demo-card:hover,
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line2);
}

/* Card icon box (teal) */
.feature-card span,
.module-card span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--teal3); margin-bottom: 16px; flex-shrink: 0;
}

/* Card headings */
.visual-card h3,
.feature-card h3,
.module-card h3,
.solution-card h3,
.system-card h3,
.market-card h3,
.demo-card strong,
.post-card h2,
.check-card { font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 8px; }

/* Card body text */
.visual-card p,
.feature-card p,
.module-card p,
.solution-card p,
.system-card p,
.market-card p,
.detail-panel p,
.demo-card p,
.post-card p { font-size: 14px; color: var(--ink3); line-height: 1.6; margin: 0; }

/* Card teal links */
.module-card a,
.solution-card a,
.system-card a,
.market-card a,
.post-card a,
.demo-card a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  margin-top: 16px; transition: gap .15s;
}
.module-card a:hover,
.solution-card a:hover,
.system-card a:hover,
.market-card a:hover,
.post-card a:hover,
.demo-card a:hover { gap: 8px; }

/* System card tag */
.system-card span {
  display: inline-flex; font-size: 11px; font-weight: 700;
  color: var(--teal); letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 8px; background: none; width: auto; height: auto; border-radius: 0;
}
/* Market cards — first 3 highlighted */
.market-card:nth-child(1),
.market-card:nth-child(2),
.market-card:nth-child(3) {
  border-color: rgba(13,148,136,.25);
  background: linear-gradient(160deg, #f0fdfa, #fff);
}

/* visual-card image */
.visual-card img, .solution-card img {
  height: 140px; width: 100%; object-fit: contain;
  background: linear-gradient(135deg, #f0fdf4, #f5f3ff);
  border-radius: var(--r-md); margin-bottom: 16px;
}

/* ── Detail / split layouts ───────────────── */
.split-section .split-grid { align-items: start; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-panel h2 {
  font-size: 28px; font-weight: 700; line-height: 1.15;
  letter-spacing: -.015em; color: var(--navy); margin: 0 0 12px;
}
.list-panel { display: grid; gap: 12px; }
.list-row {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px;
}
.list-row strong { display: block; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.list-row p { margin: 0; font-size: 14px; color: var(--ink3); }

/* Check list */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--ink2);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 60%; background-repeat: no-repeat; background-position: center;
}
.ai-split { align-items: center; }
.center-actions { text-align: center; margin-top: 28px; }
.demo-list { display: grid; gap: 12px; }
.demo-card { padding: 18px; }

/* ── Stats / testimonial bar ─────────────── */
.stats-bar {
  background: var(--navy); padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  align-items: center;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block; font-size: 36px; font-weight: 800;
  color: #fff; letter-spacing: -.02em;
}
.stat-item span { font-size: 14px; color: rgba(255,255,255,.55); }

/* ── CTA band ────────────────────────────── */
.cta-band { padding: 64px 0; background: var(--bg2); }
.cta-inner {
  position: relative; overflow: hidden;
  background: var(--navy);
  border-radius: var(--r-xl); padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 120% at 100% 50%, rgba(13,148,136,.2) 0%, transparent 60%);
}
.cta-inner h2 {
  position: relative;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin: 10px 0 8px;
}
.cta-inner .eyebrow { position: relative; color: var(--teal2); }
.cta-inner .eyebrow i { background: var(--teal2); }
.cta-inner p { position: relative; font-size: 15px; color: rgba(255,255,255,.6); max-width: 560px; }
.cta-actions { position: relative; display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ── FAQ ─────────────────────────────────── */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq-list details {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 22px;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: var(--teal); }
.faq-list summary {
  cursor: pointer; font-size: 16px; font-weight: 600;
  color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::after { content: '+'; font-size: 20px; color: var(--teal); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { font-size: 15px; color: var(--ink3); margin-top: 12px; line-height: 1.65; }

/* ── Dashboard mockup ────────────────────── */
.dashboard-mockup {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; grid-template-columns: 72px 1fr;
}
.mock-sidebar {
  background: var(--navy); padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.mock-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--teal); margin-bottom: 4px;
}
.mock-sidebar span {
  width: 30px; height: 7px; background: rgba(255,255,255,.2); border-radius: 4px;
}
.mock-sidebar span:nth-child(3) { background: rgba(13,148,136,.6); }
.mock-main { padding: 22px; background: #fff; }
.mock-topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 18px;
}
.mock-topbar strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.mock-topbar small { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; }
.mock-topbar em,
.mock-card-head span {
  font-style: normal;
  background: var(--teal3); color: var(--teal);
  border-radius: var(--r-full); padding: 4px 10px;
  font-size: 11px; font-weight: 700;
}
.mock-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.mock-kpis div, .mock-card {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px;
}
.mock-kpis small { display: block; font-size: 11px; color: var(--ink3); }
.mock-kpis span  { display: block; font-size: 11px; color: var(--teal); font-weight: 600; margin-top: 2px; }
.mock-kpis strong { display: block; font-size: 20px; font-weight: 700; color: var(--navy); margin-top: 2px; }
.mock-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.mock-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock-card-head strong { font-size: 13px; font-weight: 700; color: var(--navy); }
.mock-card p { font-size: 12px; color: var(--ink3); }
.risk-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; border-top: 1px solid var(--line);
  padding-top: 8px; margin-top: 8px; font-size: 12px;
}
.risk-row b { color: #b45b5b; font-weight: 700; }
.risk-row span { color: var(--ink3); }
.template-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.template-chips em {
  font-style: normal;
  background: var(--bg3); border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 4px 10px;
  font-size: 11px; font-weight: 600; color: var(--ink2);
}

/* ── Illustration frame ───────────────────── */
.illustration-frame {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px; text-align: center;
}

/* ── Form / demo request ─────────────────── */
.form-section { display: grid; grid-template-columns: .8fr 1fr; gap: 40px; align-items: start; }
.form-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-md);
}
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form label {
  display: grid; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink2);
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%; border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 11px 14px;
  font: inherit; font-size: 14px;
  background: var(--bg); color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.demo-form label:nth-last-of-type(1),
.demo-form button { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; }
.success-box {
  background: #ecfdf5; border: 1px solid #6ee7b7;
  color: #065f46; border-radius: var(--r-md);
  padding: 14px 18px; margin-bottom: 16px; font-size: 14px; font-weight: 500;
}

/* ── Prose / blog ────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; font-weight: 700; color: var(--navy); margin: 2em 0 .6em; letter-spacing: -.015em; }
.prose h3 { font-size: 22px; font-weight: 600; color: var(--navy); margin: 1.5em 0 .5em; }
.prose p  { font-size: 16px; color: var(--ink2); line-height: 1.75; margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 24px; color: var(--ink2); font-size: 16px; margin-bottom: 1.2em; }
.prose .detail-panel { background: var(--bg2); border-color: var(--line); }

/* ── Timeline / related ──────────────────── */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline-grid article {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px;
}
.timeline-grid h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.related-pages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.related-page-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px;
  transition: transform .15s, box-shadow .15s;
}
.related-page-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.related-page-card strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.related-page-card span  { font-size: 12px; font-weight: 600; color: var(--teal); }

/* ── Footer ──────────────────────────────── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-grid h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid a { display: block; color: rgba(255,255,255,.6); font-size: 13px; margin: 8px 0; transition: color .15s; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.4);
}

/* ── Role persona tabs (homepage) ────────── */
.role-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-top: 32px; }
.role-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 2px solid transparent;
  font-size: 14px; font-weight: 600; color: var(--ink3); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.role-tab.active, .role-tab:hover { color: var(--navy); border-bottom-color: var(--teal); }
.role-tab-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--bg3); display: grid; place-items: center; flex-shrink: 0;
}
.role-tab.active .role-tab-icon { background: var(--teal3); }

/* ── Persona feature cards (homepage) ───── */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
}
.persona-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.persona-card-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--teal3); display: grid; place-items: center; margin-bottom: 14px;
}
.persona-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.persona-card p  { font-size: 14px; color: var(--ink3); line-height: 1.5; margin-bottom: 14px; }
.persona-card a  { font-size: 13px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }

/* ── Globe section (school systems) ─────── */
.globe-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-chip {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}
.feature-chip h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-chip p  { font-size: 13px; color: var(--ink3); }

/* ── Module mini-cards (6-col grid) ─────── */
.mini-module-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
}
.mini-module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mini-module-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.mini-module-card p  { font-size: 12px; color: var(--ink3); line-height: 1.5; }
.mini-module-card a  { font-size: 12px; font-weight: 700; color: var(--teal); margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; }
.mini-preview {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px; margin-top: 12px;
  font-size: 11px; color: var(--ink3);
}
.mini-preview strong { display: block; font-size: 13px; color: var(--teal); font-weight: 700; margin-bottom: 2px; }

/* ── Section header utility ──────────────── */
.section-header-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-header-center h2 { font-size: clamp(26px,3.2vw,38px); font-weight:700; color:var(--navy); letter-spacing:-.02em; margin:8px 0 12px; }
.section-header-center p { font-size:17px; color:var(--ink3); }

/* ── Testimonial strip ───────────────────── */
.testimonial-strip { background: var(--navy); padding: 48px 0; }
.testimonial-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 32px; align-items: center; }
.testimonial-quote { font-size: 17px; color: rgba(255,255,255,.85); line-height: 1.65; font-style: italic; }
.testimonial-quote::before { content: '\201C'; font-size: 48px; color: var(--teal); display: block; line-height: .8; margin-bottom: 12px; }
.testimonial-author strong { display: block; color: #fff; font-size: 15px; margin-top: 16px; }
.testimonial-author span   { font-size: 13px; color: rgba(255,255,255,.5); }
.stat-num { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ── Trust logos ─────────────────────────── */
.trust-strip { padding: 16px 0; border-top: 1px solid var(--line); }
.trust-logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; justify-content: center; }
.trust-logos span { font-size: 13px; font-weight: 700; color: var(--ink4); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 16px; right: 16px; top: 74px;
    background: var(--navy2); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px;
  }
  .main-nav.is-open > a,
  .main-nav.is-open .nav-item > a { color: rgba(255,255,255,.8); }
  .main-nav.is-open .mega {
    position: static; display: grid; box-shadow: none;
    border: 0; min-width: 0; padding: 0 0 0 12px; background: transparent;
  }
  .main-nav.is-open .mega-wide { grid-template-columns: 1fr; }
  .nav-wrap { position: relative; }
  .hero-grid, .split-grid, .globe-section, .form-section, .detail-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .dashboard-mockup { min-width: 0; }
  .persona-grid, .card-grid.four, .card-grid.three { grid-template-columns: 1fr 1fr; }
  .card-grid.six, .list-grid, .timeline-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .hero, .page-hero { padding: 52px 0; }
  .section { padding: 56px 0; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .persona-grid,
  .card-grid.four, .card-grid.three, .card-grid.two,
  .card-grid.six, .list-grid, .timeline-grid, .post-grid,
  .feature-chips { grid-template-columns: 1fr; }
  .mock-body, .mock-kpis { grid-template-columns: 1fr; }
  .dashboard-mockup { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .demo-form { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav-wrap { min-height: 62px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── Hero role tabs ──────────────────────────── */
.hero-roles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 32px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero-role {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px 12px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer; transition: border-color .15s;
}
.hero-role:first-child { border-bottom-color: var(--teal); }
.hero-role:hover { border-bottom-color: var(--teal); }
.hero-role-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--teal3); display: grid; place-items: center; flex-shrink: 0;
}
.hero-role strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.hero-role span   { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; line-height: 1.4; }

/* ── Mock chart / dashboard extras ──────────── */
.mock-chart { margin: 8px 0; }
.mock-alerts-label { font-size: 11px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 6px; }
.time-ago { font-size: 11px; color: var(--ink4); margin-left: auto; }
.view-all-link { display: inline-block; font-size: 12px; font-weight: 600; color: var(--teal); margin-top: 10px; }
.mock-setup-card { display: flex; flex-direction: column; }

/* ── Mock kpis — 4 columns for homepage ─────── */
.mock-kpis.four { grid-template-columns: repeat(4, 1fr); }

/* ── Hero em accent ──────────────────────────── */
.hero h1 em { font-style: normal; color: var(--teal); }

/* ── Page hero btn outline-white ─────────────── */
.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,.08); }

/* ── Align-start utility ──────────────────────── */
.align-start { align-items: start; }

/* ── Globe visual ──────────────────────────── */
.globe-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

/* ── Testimonial strip extras ────────────────── */
.testimonial-quote::before { content: '\201C'; }

/* ── Stats section (dark bg) ─────────────────── */
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head p  { color: rgba(255,255,255,.6); }

/* ── Post-card link ───────────────────────────── */
.post-card h2 { font-size: 17px; }
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--teal); }

/* ── Demo form book btn ───────────────────────── */
.demo-form button { cursor: pointer; border: none; }

/* ── Resources filter tabs ────────────────────── */
@media (max-width: 720px) {
  .hero-roles { grid-template-columns: 1fr 1fr; }
  .mock-kpis  { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 3-column hero layout (matches approved mockup exactly) ── */
.hero-grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy { }
.hero-people {
  display: flex; align-items: center; justify-content: center;
}
.hero-people img { max-width: 100%; height: auto; }
.hero-dashboard { }

/* ── 4-KPI grid (2x2 matching mockup) ─────────────────────── */
.mock-kpis-four {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px; margin-bottom: 12px;
}
.mock-kpis-four .pos { color: #0891a3 !important; font-weight: 700; }
.mock-kpis-four .neg { color: #64748b !important; font-weight: 700; }

/* ── Hero role tab active state ────────────────────────────── */
.hero-role.active {
  border-bottom-color: var(--teal);
}
.hero-role.active .hero-role-icon { background: var(--teal3); }
.hero-role.active strong { color: var(--teal); }

/* ── Hero h1 teal accent ───────────────────────────────────── */
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

/* Responsive 3-col hero */
@media (max-width: 1100px) {
  .hero-grid-three {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .hero-copy  { grid-column: 1; grid-row: 1; }
  .hero-dashboard { grid-column: 2; grid-row: 1 / 3; }
  .hero-people { grid-column: 1; grid-row: 2; }
}
@media (max-width: 720px) {
  .hero-grid-three {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-people { grid-column: 1; grid-row: 2; max-height: 300px; overflow: hidden; }
  .hero-dashboard { grid-column: 1; grid-row: 3; }
}

/* LuzReva official brand refinements */
.logo-brand .brand-logo{height:52px;width:auto;object-fit:contain;display:block}.site-header:not(.light-header) .brand-logo-dark{display:none}.site-header.light-header .brand-logo-light{display:none}.footer-brand .brand-logo{height:58px}.brand strong{display:none}.main-nav>a,.nav-item>a,.mega a,.login-link{font-weight:500}.hero-kicker strong,.eyebrow strong{color:var(--lr-teal-500)}
.compliance-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}.compliance-strip span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 16px;color:#fff;font-weight:600}.country-proof{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.country-proof span{border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:#fff;color:var(--ink2);font-weight:600;font-size:13px}.lr-two-column{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lr-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.lr-stat-row article{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.warning-copy{background:var(--lr-red-bg);border-color:rgba(180,91,91,.25)}.roadmap-badge{display:inline-block;background:var(--lr-slate-100);color:var(--ink2);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}.mexico-compliance-card{background:linear-gradient(135deg,#071b34,#0b2a4d);color:#fff;border:0}.mexico-compliance-card p,.mexico-compliance-card li{color:rgba(255,255,255,.78)}.mexico-compliance-card h3{color:#fff}@media(max-width:900px){.lr-two-column,.compliance-strip,.lr-stat-row{grid-template-columns:1fr}.brand-logo{max-width:170px}}

/* v4.3 navigation fix */
.nav-item > .nav-link{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.78);padding:10px 12px;border-radius:10px;font:inherit;font-weight:500;line-height:1;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.nav-item > .nav-link::after{content:'⌄';font-size:11px;opacity:.8;margin-left:2px}
.nav-item > .nav-link:hover,.nav-item.is-active > .nav-link{color:#fff;background:rgba(255,255,255,.08)}
.nav-item.is-active .mega{display:grid}
.site-header{z-index:1000}
.mega{z-index:1001}
@media (max-width:980px){.main-nav.is-open .nav-item.is-active .mega{display:grid}.main-nav.is-open .nav-item > .nav-link{width:100%;justify-content:space-between;color:rgba(255,255,255,.84);padding:12px 14px}}
