/* =========================================================
   Legal pages stylesheet · Vivint
   Reusa variables del sitio principal pero con layout de
   lectura largo (max-width, prosa cómoda).
   ========================================================= */

:root {
  --bg-deep:        #060414;
  --bg-night:       #0B0820;
  --bg-card:        #110D2C;
  --bg-elevated:    #1A1340;
  --purple-700:     #5B21B6;
  --purple-500:     #8B3DFF;
  --purple-400:     #A855F7;
  --magenta-500:    #D946EF;
  --blue-electric:  #2563EB;
  --blue-bright:    #3B82F6;
  --call-green:     #00D26A;
  --call-green-dark:#00A152;
  --text-100:       #FFFFFF;
  --text-200:       #E8E4FF;
  --text-300:       #B8B2D9;
  --text-400:       #8B85B0;
  --text-500:       #5D5780;
  --border-soft:    rgba(139, 61, 255, 0.18);
  --border-strong:  rgba(139, 61, 255, 0.35);
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #8B3DFF 50%, #D946EF 100%);
  --gradient-call:  linear-gradient(135deg, #00D26A 0%, #00A152 100%);
  --shadow-glow-purple: 0 0 60px -10px rgba(139, 61, 255, 0.55);
  --shadow-glow-green:  0 0 50px -8px rgba(0, 210, 106, 0.65);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-200);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-100);
}
a { color: var(--purple-400); font-weight: 600; text-decoration: none; transition: color .2s; }
a:hover { color: var(--magenta-500); }
.container { width: min(900px, 92%); margin-inline: auto; }

/* Grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* Top bar */
.urgent-bar {
  position: relative; z-index: 50;
  background: linear-gradient(90deg, var(--purple-700), var(--magenta-500), var(--blue-electric));
  color: white; padding: 9px 0; font-size: 13.5px; font-weight: 600; text-align: center;
}
.urgent-bar a { color: white; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.urgent-bar .live-dot {
  display: inline-block; width: 8px; height: 8px; background: #00D26A; border-radius: 50%;
  margin-right: 6px; vertical-align: middle; animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(0,210,106,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0,210,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,210,106,0); }
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,4,20,0.85);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
  width: min(1200px, 92%); margin-inline: auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  position: relative; overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(139, 61, 255, 0.35));
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-mark svg { width: 26px; height: 26px; position: relative; z-index: 2; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px;
  color: var(--text-100); letter-spacing: -0.02em;
}
.logo-name span { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-tag {
  font-size: 10.5px; color: var(--text-400); font-weight: 500;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.header-cta {
  background: var(--gradient-call); color: white;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-glow-green);
}

/* Page header (hero of legal pages) */
.page-header {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139,61,255,0.35), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(37,99,235,0.30), transparent 55%),
    linear-gradient(180deg, #060414, #0B0820);
  color: white; padding: 80px 0 60px; text-align: center;
  border-bottom: 1px solid var(--border-soft);
}
.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 14px; letter-spacing: -0.025em;
}
.page-header p { color: var(--text-300); font-size: 1rem; }

/* Content */
.content { padding: 70px 0; position: relative; z-index: 2; }
.content h2 {
  font-size: 1.5rem; margin-top: 44px; margin-bottom: 16px; font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.15rem; margin-top: 26px; margin-bottom: 10px; color: var(--text-100); font-weight: 700; }
.content p { margin-bottom: 16px; color: var(--text-300); }
.content ul, .content ol { margin: 14px 0 20px 24px; color: var(--text-300); }
.content li { margin-bottom: 8px; }
.content strong { color: var(--text-100); font-weight: 700; }

blockquote {
  background: rgba(139, 61, 255, 0.08);
  border-left: 4px solid var(--purple-500);
  padding: 18px 24px; margin: 18px 0;
  border-radius: var(--radius-md);
  font-style: italic; color: var(--text-200);
}

/* CTA bar */
.cta-bar {
  background: var(--bg-night);
  padding: 50px 0; text-align: center;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative; z-index: 2;
}
.cta-bar h3 { font-size: 1.4rem; margin-bottom: 18px; }
.btn-call-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gradient-call); color: white;
  padding: 18px 32px; border-radius: var(--radius-md);
  font-weight: 800; font-size: 17px; font-family: 'Sora', sans-serif;
  box-shadow: var(--shadow-glow-green);
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-call-big:hover { color: white; transform: translateY(-2px) scale(1.02); }

/* Footer */
.footer {
  background: var(--bg-deep); border-top: 1px solid var(--border-soft);
  padding: 50px 0 30px; color: var(--text-300); font-size: 14px; text-align: center;
  position: relative; z-index: 2;
}
.footer a { color: var(--text-200); }
.footer .disclaimer {
  background: rgba(139, 61, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--purple-500);
  padding: 18px 22px; border-radius: var(--radius-md);
  margin: 22px auto; max-width: 800px;
  text-align: left; font-size: 12.5px; line-height: 1.7;
  color: var(--text-400);
}
.footer .disclaimer strong { color: var(--text-200); }
.footer-links { margin: 14px 0; }
.footer-links a { margin: 0 6px; color: var(--text-300); }
.footer-links a:hover { color: var(--purple-400); }
.footer-bottom { color: var(--text-500); font-size: 13px; margin-top: 16px; }

/* Floating call */
.floating-call {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; background: var(--gradient-call);
  color: white; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 15px; font-family: 'Sora', sans-serif;
  box-shadow: var(--shadow-glow-green), 0 10px 30px -5px rgba(0,0,0,0.5);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-call:hover { color: white; transform: translateY(-3px) scale(1.05); }
.floating-call svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .header-cta .tel-num { display: none; }
  .logo-tag { display: none; }
  .floating-call { bottom: 14px; right: 14px; padding: 14px 18px; font-size: 14px; }
  .content { padding: 50px 0; }
  .page-header { padding: 60px 0 40px; }
}
