/* ═══════════════════════════════════════════════
   SistemaLegal · Custom Styles
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-950: #172554;
  --primary-900: #1e3a8a;
  --primary-800: #1e40af;
  --primary-700: #1d4ed8;
  --primary-600: #2563eb;
  --primary-400: #60a5fa;
  --primary-300: #93c5fd;
  --primary-200: #bfdbfe;
  --gold-400:    #fbbf24;
  --gold-500:    #f59e0b;
  --gold-600:    #d97706;
  --slate-50:    #f8fafc;
  --slate-800:   #1e293b;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1e293b; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: var(--primary-700); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: var(--primary-700); color: #fff; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 0;
}
.navbar.scrolled {
  background: rgba(23,37,84,.97) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.navbar.scrolled .nav-inner { height: 60px; }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; transition: height .3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { font-size: 1.5rem; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { color: #fff; font-size: .9rem; font-weight: 800; letter-spacing: .05em; display: block; }
.nav-logo-text span { color: var(--primary-400); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.65); font-size: .875rem; font-weight: 500;
  text-decoration: none; transition: color .2s; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold-400); border-radius: 1px; transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta-outline {
  color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500;
  text-decoration: none; transition: color .2s;
}
.nav-cta-outline:hover { color: #fff; }
.btn-gold {
  background: var(--gold-500); color: var(--primary-950); font-weight: 800;
  font-size: .875rem; padding: 10px 20px; border-radius: 10px;
  text-decoration: none; transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,158,11,.4); }
.btn-gold:active { transform: translateY(0); }

/* Mobile */
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }
.mobile-menu {
  display: none; background: rgba(23,37,84,.98); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px 24px; }
.mobile-menu a { display: block; color: rgba(255,255,255,.75); text-decoration: none; padding: 12px 0; font-size: .9375rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu a:hover { color: #fff; }
.mobile-menu .btn-gold { display: block; text-align: center; margin-top: 16px; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0a0f1e 0%, #1e3a8a 45%, #172554 75%, #0f172a 100%);
  min-height: 100vh; padding-top: 72px; position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* Aurora background */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(29,78,216,.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,158,11,.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(59,130,246,.2) 0%, transparent 50%);
  animation: aurora 8s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { opacity: .7; transform: scale(1)   rotate(0deg); }
  50%  { opacity: 1;  transform: scale(1.05) rotate(1deg); }
  100% { opacity: .8; transform: scale(.98)  rotate(-1deg); }
}

/* Grid pattern */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 80px 24px 60px;
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-left { display: flex; flex-direction: column; }
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px); color: var(--primary-200);
  font-size: .75rem; font-weight: 700; padding: 8px 16px; border-radius: 100px;
  margin-bottom: 28px; letter-spacing: .03em;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--gold-400); border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-400); animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.8)} }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px;
}
.hero-title .gradient-word {
  background: linear-gradient(135deg, #93c5fd 0%, var(--gold-400) 60%, #fde68a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Línea del typewriter — fuente reducida a la mitad del h1 */
.typewriter-line {
  display: block;
  font-size: 0.5em;   /* mitad del tamaño del h1 */
  min-height: 1.4em;  /* evita colapso al borrar */
  line-height: 1.4;
}
.typewriter-line .typewriter::after {
  content: '|';
  -webkit-text-fill-color: var(--gold-400);
  opacity: 1;
  animation: blink-cursor .65s step-end infinite;
  margin-left: 3px;
  font-weight: 300;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-sub {
  color: var(--primary-200); font-size: 1.125rem; line-height: 1.7;
  max-width: 560px; margin-bottom: 40px; font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 60px; }
.btn-primary-lg {
  background: var(--gold-500); color: var(--primary-950); font-weight: 900;
  font-size: 1rem; padding: 16px 32px; border-radius: 14px; text-decoration: none;
  transition: all .2s; box-shadow: 0 8px 32px rgba(245,158,11,.4);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary-lg:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,158,11,.5); }
.btn-ghost-lg {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; font-weight: 600; font-size: 1rem; padding: 16px 32px;
  border-radius: 14px; text-decoration: none; transition: all .2s;
  backdrop-filter: blur(8px);
}
.btn-ghost-lg:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }

/* Stats */
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: 520px; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.75rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-num span { color: var(--gold-400); }
.stat-label { color: var(--primary-400); font-size: .7rem; margin-top: 3px; letter-spacing: .04em; text-transform: uppercase; }

/* Lawyers grid */
.lawyers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lawyer-card {
  border-radius: 24px; overflow: hidden; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  cursor: default;
}
.lawyer-card:hover { transform: translateY(-8px) scale(1.02); }
.lawyer-card img {
  width: 100%; height: 340px; object-fit: cover; object-position: center top;
  display: block; transition: transform .5s ease;
}
.lawyer-card:hover img { transform: scale(1.06); }
.lawyer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.95) 0%, rgba(15,23,42,.4) 50%, rgba(0,0,0,.1) 100%);
}
.lawyer-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.lawyer-tag { color: var(--gold-400); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.lawyer-name { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 2px; }
.lawyer-role { color: rgba(255,255,255,.65); font-size: .75rem; }
.lawyer-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.lawyer-badge-icon { font-size: .875rem; }
.lawyer-badge-text { font-size: .7rem; font-weight: 800; color: var(--primary-900); white-space: nowrap; }
.lawyer-stat {
  position: absolute; bottom: 80px; right: 14px;
  border-radius: 14px; padding: 10px 14px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.lawyer-stat .s-num { font-size: 1.4rem; font-weight: 900; line-height: 1; display: block; }
.lawyer-stat .s-lbl { font-size: .65rem; font-weight: 600; opacity: .85; }

/* ══════════════════════════════════════════════
   TRUST BAR — infinite marquee
══════════════════════════════════════════════ */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
}
/* fade edges */
.trust-bar::before,
.trust-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 96px; z-index: 2; pointer-events: none;
}
.trust-bar::before { left:  0; background: linear-gradient(to right, #fff 30%, transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(to left,  #fff 30%, transparent); }

.trust-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 28s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: #64748b; font-size: .8125rem; font-weight: 500;
  padding: 0 32px; flex-shrink: 0;
}
.trust-sep {
  width: 1px; height: 18px; background: #e2e8f0;
  flex-shrink: 0; display: inline-block;
}
.trust-icon { font-size: 1.05rem; }

/* ══════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════ */
.section { padding: 96px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  color: var(--primary-600); font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
  display: block;
}
.section-title { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 900; color: #0f172a; line-height: 1.1; letter-spacing: -.02em; }
.section-sub { color: #64748b; font-size: 1.0625rem; line-height: 1.7; max-width: 560px; margin: 16px 0 0; }
.text-center-block { text-align: center; }
.text-center-block .section-sub { margin-left: auto; margin-right: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ══════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.feature-card {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 20px; padding: 28px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(29,78,216,.04) 0%, rgba(59,130,246,.02) 100%);
  transition: opacity .3s;
}
.feature-card:hover { border-color: var(--primary-300); box-shadow: 0 16px 48px rgba(29,78,216,.1); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: #64748b; line-height: 1.65; }
.feature-pill {
  display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; margin-top: 14px;
}

/* ══════════════════════════════════════════════
   DASHBOARD MOCKUP
══════════════════════════════════════════════ */
.mockup-section { background: var(--primary-950); padding: 96px 24px; overflow: hidden; }
.mockup-browser {
  background: #1e293b; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1200px) rotateX(3deg) rotateY(-2deg);
  transition: transform .5s ease;
  max-width: 960px; margin: 48px auto 0;
}
.mockup-browser:hover { transform: perspective(1200px) rotateX(0deg) rotateY(0deg); }
.browser-bar {
  background: #0f172a; padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-address {
  flex: 1; background: #1e293b; border-radius: 8px; padding: 5px 14px;
  color: #94a3b8; font-size: .75rem; font-family: monospace;
  display: flex; align-items: center; gap: 6px;
}
.browser-content { display: flex; background: #f1f5f9; min-height: 400px; }
.mock-sidebar {
  width: 48px; background: var(--primary-900); padding: 16px 8px; display: flex; flex-direction: column; gap: 6px;
}
.mock-sidebar-item {
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: .875rem; cursor: default; transition: background .2s;
}
.mock-sidebar-item.active { background: var(--primary-700); }
.mock-sidebar-item:not(.active) { color: rgba(255,255,255,.4); }
.mock-main { flex: 1; padding: 20px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpi {
  background: #fff; border-radius: 12px; padding: 14px 12px; border: 1px solid #e2e8f0;
  display: flex; align-items: center; gap: 10px;
}
.mock-kpi-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0; }
.mock-kpi-val { font-weight: 800; font-size: .875rem; color: #0f172a; line-height: 1.2; }
.mock-kpi-lbl { font-size: .65rem; color: #94a3b8; }
.mock-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
.mock-card-header { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; font-size: .75rem; font-weight: 700; color: #475569; }
.mock-row { padding: 8px 14px; border-bottom: 1px solid #f8fafc; display: flex; align-items: center; justify-content: space-between; }
.mock-row:last-child { border-bottom: none; }
.mock-row-name { font-size: .75rem; font-weight: 600; color: #1e293b; }
.mock-row-sub { font-size: .65rem; color: #94a3b8; }
.mock-badge { font-size: .6rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-section { background: #f8fafc; padding: 96px 24px; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.testimonial-card {
  border-radius: 24px; overflow: hidden; position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.18); }
.testimonial-photo { width: 100%; height: 280px; object-fit: cover; object-position: center top; display: block; }
.testimonial-body { padding: 28px; }
.stars { color: var(--gold-400); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote {
  font-size: .9375rem; line-height: 1.75; font-style: italic;
  margin-bottom: 20px; font-weight: 400;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top;
  border: 3px solid;
}
.testimonial-name { font-weight: 800; font-size: .9rem; }
.testimonial-role { font-size: .75rem; margin-top: 1px; }

/* Card dark */
.tc-dark { background: var(--primary-950); }
.tc-dark .testimonial-quote { color: rgba(255,255,255,.8); }
.tc-dark .testimonial-name { color: #fff; }
.tc-dark .testimonial-role { color: var(--primary-400); }
.tc-dark .testimonial-avatar { border-color: var(--primary-700); }

/* Card light */
.tc-light { background: #fff; border: 1.5px solid #e2e8f0; }
.tc-light .testimonial-quote { color: #374151; }
.tc-light .testimonial-name { color: #0f172a; }
.tc-light .testimonial-role { color: var(--primary-600); }
.tc-light .testimonial-avatar { border-color: #e2e8f0; }

/* ══════════════════════════════════════════════
   PORTAL
══════════════════════════════════════════════ */
.portal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.portal-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--emerald-500); font-size: .75rem; font-weight: 800;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 24px;
  letter-spacing: .04em;
}
.portal-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: #0f172a; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
.portal-title span { color: var(--primary-700); }
.portal-desc { color: #64748b; font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.portal-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.portal-checks li { display: flex; align-items: center; gap: 10px; color: #374151; font-size: .9375rem; }
.portal-checks li::before { content: '✓'; color: var(--emerald-500); font-weight: 900; font-size: 1rem; flex-shrink: 0; }
.btn-portal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-700); color: #fff; font-weight: 700;
  font-size: .9375rem; padding: 14px 28px; border-radius: 12px;
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-portal:hover { background: var(--primary-800); transform: translateY(-1px); }
.portal-phone-wrap { display: flex; justify-content: center; align-items: center; padding: 32px 0; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 20px; }

/* ══════════════════════════════════════════════
   PHONE MOCKUP (PORTAL)
══════════════════════════════════════════════ */
.portal-section { background: #fff; padding: 96px 24px; }
.phone-mockup {
  width: 280px; background: #0f172a; border-radius: 44px; padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 0 0 2px rgba(255,255,255,.08);
  margin: 0 auto; position: relative;
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100%{ transform: translateY(0) rotate(-1deg); }
  50%    { transform: translateY(-14px) rotate(1deg); }
}
.phone-notch {
  width: 90px; height: 24px; background: #0f172a; border-radius: 0 0 16px 16px;
  margin: 0 auto 2px; position: relative; z-index: 2;
}
.phone-screen { background: #f1f5f9; border-radius: 32px; overflow: hidden; }
.phone-status { background: var(--primary-900); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
.phone-status span { color: #fff; font-size: .7rem; font-weight: 600; }
.phone-header { background: var(--primary-900); padding: 0 16px 16px; }
.phone-header p { color: var(--primary-300); font-size: .65rem; }
.phone-header h4 { color: #fff; font-weight: 800; font-size: .9rem; margin-top: 2px; }
.phone-body { padding: 10px; background: #f1f5f9; display: flex; flex-direction: column; gap: 6px; }
.phone-card { background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid #e2e8f0; }
.phone-card-label { font-size: .6rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.phone-card-val { font-weight: 800; font-size: .8rem; color: #0f172a; }
.phone-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.phone-kpi { background: #fff; border-radius: 10px; padding: 8px; text-align: center; border: 1px solid #e2e8f0; }
.phone-kpi .k-lbl { font-size: .55rem; color: #94a3b8; }
.phone-kpi .k-val { font-weight: 900; font-size: .75rem; margin-top: 1px; display: block; }
.phone-update { background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid #e2e8f0; }
.phone-update .u-tag { font-size: .6rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; }
.phone-update .u-text { font-size: .7rem; color: #374151; line-height: 1.5; margin-top: 3px; }

/* ══════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════ */
.pricing-section { background: var(--primary-950); padding: 96px 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; max-width: 960px; margin-left: auto; margin-right: auto; }
.pricing-card {
  border-radius: 24px; padding: 36px 28px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.pricing-card:hover { transform: translateY(-8px); }
.pc-standard { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); }
.pc-popular {
  background: #fff; border: none;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 2px var(--gold-400);
  transform: scale(1.04);
}
.pc-popular:hover { transform: scale(1.04) translateY(-8px); }
.pc-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--primary-950);
  font-size: .7rem; font-weight: 900; padding: 5px 16px; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(245,158,11,.5);
  text-transform: uppercase; letter-spacing: .06em;
}
.pricing-name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.pricing-desc { font-size: .8125rem; margin-bottom: 24px; }
.pricing-price { margin-bottom: 28px; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.pricing-price .period { font-size: .875rem; font-weight: 400; }
.pricing-price .tax { font-size: .75rem; margin-top: 4px; }
.pricing-features { list-style: none; space-y: 10px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.pricing-features li::before { content: '✓'; font-weight: 800; flex-shrink: 0; }
.pc-standard .pricing-name { color: #fff; }
.pc-standard .pricing-desc { color: rgba(255,255,255,.5); }
.pc-standard .amount { color: #fff; }
.pc-standard .period { color: rgba(255,255,255,.5); }
.pc-standard .tax { color: rgba(255,255,255,.35); }
.pc-standard .pricing-features li { color: rgba(255,255,255,.75); }
.pc-standard .pricing-features li::before { color: #4ade80; }
.pc-popular .pricing-name { color: var(--primary-950); }
.pc-popular .pricing-desc { color: #64748b; }
.pc-popular .amount { color: var(--primary-900); }
.pc-popular .period { color: #64748b; }
.pc-popular .tax { color: #94a3b8; }
.pc-popular .pricing-features li { color: #374151; }
.pc-popular .pricing-features li::before { color: var(--primary-700); }
.btn-pricing-outline {
  display: block; text-align: center; border: 2px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); font-weight: 700; font-size: .875rem;
  padding: 12px; border-radius: 12px; text-decoration: none; transition: all .2s;
}
.btn-pricing-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.08); }
.btn-pricing-primary {
  display: block; text-align: center; background: var(--gold-500);
  color: var(--primary-950); font-weight: 900; font-size: .875rem;
  padding: 14px; border-radius: 12px; text-decoration: none; transition: all .2s;
  box-shadow: 0 8px 24px rgba(245,158,11,.4);
}
.btn-pricing-primary:hover { background: var(--gold-600); transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0a0f1e 0%, #1e3a8a 50%, #172554 100%);
  padding: 96px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(245,158,11,.12), transparent 70%);
}
.cta-section .inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-tag { display: inline-block; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: var(--gold-400); font-size: .75rem; font-weight: 700; padding: 6px 16px; border-radius: 100px; margin-bottom: 24px; letter-spacing: .06em; text-transform: uppercase; }
.cta-title { font-size: clamp(2rem,5vw,3.5rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 16px; }
.cta-sub { color: var(--primary-200); font-size: 1.125rem; margin-bottom: 40px; line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.cta-assurances { color: rgba(255,255,255,.4); font-size: .8125rem; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-assurances span::before { content: '✓ '; color: #4ade80; font-weight: 700; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { background: #060c1a; padding: 64px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.footer-logo-text strong { color: #fff; font-size: .9rem; font-weight: 800; letter-spacing: .04em; display: block; }
.footer-logo-text span { color: var(--primary-400); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-about { color: rgba(255,255,255,.4); font-size: .8125rem; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,.7); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.4); text-decoration: none; font-size: .8125rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .75rem; }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr !important; gap: 40px; }
  .hero-left { align-items: center; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pc-popular { transform: scale(1); }
  .pc-popular:hover { transform: translateY(-8px); }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-phone-wrap { order: -1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-outline { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-right .btn-gold { display: none; }
  .hero { padding-top: 64px; }
  .lawyers-grid { grid-template-columns: 1fr; }
  .lawyer-card img { height: 260px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: repeat(2,1fr); }
  .mock-grid2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .section { padding: 64px 16px; }
  .cta-section { padding: 64px 16px; }
  .mockup-section { padding: 64px 16px; }
  .testimonials-section { padding: 64px 16px; }
  .portal-section { padding: 64px 16px; }
  .pricing-section { padding: 64px 16px; }
  .nav-right .nav-cta-outline { display: none; }
  .nav-mobile-btn { display: flex !important; }
}
