/* ── TOKENS ── */
:root {
  --navy: #5a1f94; --navy-deep: #3d1566; --purple: #651EA9;
  --purple-mid: #7924cb; --lila: #9d56e1; --lila-soft: #c092eb;
  --white: #ffffff; --off-white: #f5f0ff; --gray-100: #f0e8ff;
  --gray-300: #c0a0e8; --gray-500: #b080d8; --gray-700: #8040c0;
  --text: #ffffff;
  --orange: #FF7000;
  --orange-dark: #d95f00;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #fff; color: var(--text); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(90,31,148,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 7%; display: flex; align-items: center; justify-content: space-between; height: 68px; transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.nav-logo img { height: 50px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; border-radius: 100px; transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }
.nav-cta { margin-left: 8px; background: var(--orange); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 9px 20px; border-radius: 100px; transition: background 0.15s; }
.nav-cta:hover { background: var(--orange-dark); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--gray-100); padding: 12px 5%; }
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb a { color: var(--purple); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ── HERO ── */
.page-hero { background: var(--navy-deep); padding: 72px 5% 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(155,89,245,0.2) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(155,89,245,0.15); border: 1px solid rgba(155,89,245,0.3); border-radius: 100px; padding: 4px 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lila-soft); margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.page-hero h1 span { color: var(--lila-soft); }
.page-hero-sub { font-size: 1.02rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 32px; }
.page-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 13px 26px; border-radius: 100px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 12px 26px; border-radius: 100px; border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: border-color 0.2s; }
.btn-outline-white:hover { border-color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; margin-top: 32px; }
.hero-stat { background: rgba(61,21,102,0.5); backdrop-filter: blur(8px); padding: 16px 18px; }
.hero-stat-num {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    text-align: left;
}
.hero-stat-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.4; }
.page-hero-visual { border-radius: 20px; overflow: visible; aspect-ratio: 4/3; }
.page-hero-visual img { width: 80%; height: auto; overflow:visible; margin:0 auto; object-fit: cover; filter: brightness(0.85) saturate(1.1); }

/* ── LAYOUT PRINCIPAL ── */
.page-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 0;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

/* ── CONTENIDO ── */
.content-section { margin-bottom: 48px; }
.content-section h2 { font-size: 1.55rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.content-section h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.content-section p {
    font-size: 0.77rem;
    color: var(--gray-700);
    line-height: 1.4;
    margin-bottom: 14px;
}
.content-divider { border: none; border-top: 1px solid var(--gray-300); margin: 40px 0; }

/* Lista de features genérica */
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; background: var(--off-white); border-radius: 10px; padding: 14px 16px; font-size: 0.88rem; color: var(--gray-700); line-height: 1.5; }
.feature-item::before { content: '✓'; color: var(--lila); font-weight: 800; font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }

/* Tags / Pills */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill { background: var(--gray-100); border: 1px solid var(--gray-300); border-radius: 100px; padding: 4px 14px; font-size: 0.78rem; color: var(--gray-700); font-weight: 500; }
.tag-pill.accent { background: rgba(80,56,200,0.08); border-color: rgba(80,56,200,0.2); color: var(--purple); }

/* Galería */
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.img-grid img { border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* ── PLANES ── */
.planes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.plan-card { border-radius: 16px; border: 1.5px solid var(--gray-300); padding: 28px 24px; transition: border-color 0.2s, transform 0.2s; }
.plan-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.plan-card.featured { background: var(--navy); border-color: var(--navy); }
.plan-badge { display: inline-block; border-radius: 100px; padding: 4px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.plan-badge.free { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.plan-badge.premium { background: var(--lila); color: #fff; }
.plan-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.plan-card.featured .plan-title { color: #fff; }
.plan-desc { font-size: 0.88rem; color: var(--gray-700); line-height: 1.65; margin-bottom: 16px; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.65); }
.plan-list { list-style: none; }
.plan-list li { font-size: 0.85rem; color: var(--gray-700); padding: 7px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.plan-card.featured .plan-list li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.08); }
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before { content: '✓'; color: var(--lila); font-weight: 800; flex-shrink: 0; }
.plan-card.featured .plan-list li::before { color: var(--lila-soft); }

/* ── ÁREAS ── */
.areas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }
.area-card { border-radius: 14px; border: 1.5px solid var(--gray-300); padding: 24px 20px; transition: border-color 0.2s, transform 0.2s; }
.area-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.area-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.area-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.area-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* ── COMPARATIVA ── */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.comp-card { border-radius: 14px; padding: 28px 24px; }
.comp-card.light { background: var(--off-white); border: 1.5px solid var(--gray-300); }
.comp-card.dark { background: var(--navy); }
.comp-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.comp-card.dark .comp-title { color: #fff; }
.comp-list { list-style: none; }
.comp-list li { font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; gap: 10px; color: var(--gray-700); line-height: 1.5; }
.comp-card.dark .comp-list li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.08); }
.comp-list li:last-child { border-bottom: none; }
.comp-list li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: rgba(80,56,200,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%235038c8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; border: 1.5px solid var(--purple); }
.comp-card.dark .comp-list li::before { background: rgba(155,89,245,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%239b59f5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--lila); }

/* ── SIDEBAR ── */
.page-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--off-white); border: 1px solid var(--gray-300); border-radius: 16px; padding: 24px; }
.sidebar-card h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sidebar-link-main { display: flex; align-items: center; justify-content: center; width: 100%; padding: 13px 20px; border-radius: 100px; background: var(--orange); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; transition: background 0.2s, transform 0.15s; margin-bottom: 10px; }
.sidebar-link-main:hover { background: var(--orange-dark); transform: translateY(-2px); }
.sidebar-link-sec { display: flex; align-items: center; justify-content: center; width: 100%; padding: 11px 20px; border-radius: 100px; background: transparent; color: var(--purple); font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; border: 2px solid var(--purple); transition: background 0.2s; }
.sidebar-link-sec:hover { background: rgba(80,56,200,0.06); }
.info-item { padding: 10px 0; border-bottom: 1px solid var(--gray-300); }
.info-item:last-child { border-bottom: none; }
.info-label { font-size: 0.68rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 3px; }
.info-value { font-weight: 600; color: var(--navy); font-size: 0.88rem; }
/* Related items — toda la caja es clickeable */
a.related-item, .related-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
}
a.related-item:hover { background: var(--gray-100); padding-left: 6px; }
.related-item:last-child { border-bottom: none; }
.related-img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.related-title { font-size: 0.82rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.related-cat { font-size: 0.7rem; color: var(--purple); font-weight: 600; margin-bottom: 3px; }

/* ── CTA BOTTOM ── */
.cta-section { background: var(--navy); padding: 72px 5%; text-align: center; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1rem; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { background: #fff; color: var(--navy); font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; padding: 13px 28px; border-radius: 100px; border: none; cursor: pointer; transition: opacity 0.2s; }
.btn-cta-white:hover { opacity: 0.9; }
.btn-cta-outline { background: transparent; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; padding: 12px 28px; border-radius: 100px; border: 2px solid rgba(255,255,255,0.35); cursor: pointer; transition: border-color 0.2s; }
.btn-cta-outline:hover { border-color: #fff; }

/* ── FOOTER ── */
.footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.07); padding: 60px 5% 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 65px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-hacer { font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; color: rgba(155,89,245,0.6); letter-spacing: 0.08em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-visual { display: none; }
  .page-body { grid-template-columns: 1fr; padding: 48px 5%; gap: 40px; }
  .page-sidebar { position: static; }
  .planes-grid, .comp-grid, .feature-list { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 48px 5% 44px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .page-body { padding: 36px 5%; }
  .areas-grid, .img-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* ── TESTIMONIOS ── */
.testimonios-section { background: var(--off-white); padding: 72px 5%; }
.testimonios-inner { max-width: 1100px; margin: 0 auto; }
.testimonios-head { text-align: center; margin-bottom: 44px; }
.testimonios-head .eyebrow { display: block; margin-bottom: 12px; }
.testimonios-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); }
.testimonios-carousel { overflow: hidden; }
.testimonios-track { display: flex; transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); }
.tcard { flex: 0 0 calc(33.333% - 14px); margin-right: 21px; background: #fff; border-radius: 16px; border: 1.5px solid var(--gray-300); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.tcard-stars { display: flex; gap: 4px; }
.star { width: 14px; height: 14px; background: var(--purple); display: inline-block; clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); flex-shrink: 0; }
.tcard-quote { font-size: 0.93rem; color: var(--gray-700); line-height: 1.8; flex: 1; font-style: italic; }
.tcard-quote::before { content: '\201C'; color: var(--lila); font-size: 1.6rem; font-style: normal; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.tcard-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.tcard-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--lila)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; color: #fff; flex-shrink: 0; }
.tcard-name { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.tcard-role { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }
.tcard-company { font-size: 0.7rem; color: var(--purple); font-weight: 600; margin-top: 2px; }
.testimonios-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.tctrl-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-300); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.tctrl-btn:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.tdots { display: flex; gap: 6px; }
.tdot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-300); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.tdot.active { background: var(--purple); transform: scale(1.3); }
@media (max-width: 700px) { .tcard { flex: 0 0 100%; margin-right: 24px; } }

/* ── POPUP CONTACTO (páginas internas) ── */
.popup-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(61,21,102,0.78);
  backdrop-filter: blur(6px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }

.popup-box {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 48px 56px;
  width: 100%; max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,0.08);
  border-radius: 50%; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.popup-close:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* Pasos */
.popup-steps {
  display: flex; gap: 8px; margin-bottom: 28px;
}
.popup-step {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  flex: 1;
}
.popup-step .step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; flex-shrink: 0;
}
.popup-step.active { color: #fff; }
.popup-step.active .step-num {
  background: var(--lila);
  border-color: var(--lila);
  color: #fff;
}
.popup-step.done .step-num {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* Contenido del formulario */
.popup-form h3 {
  font-size: 1.15rem; font-weight: 800;
  color: #fff; margin-bottom: 6px;
}
.popup-form p {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  margin-bottom: 20px; line-height: 1.6;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.55); margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff; font-family: var(--font-body); font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--lila);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option { background: var(--navy); color: #fff; }

/* Botones */
.btn-popup-next {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px 20px; margin-top: 8px;
  background: var(--purple); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  border: none; border-radius: 100px; cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.btn-popup-next:hover { background: #7924cb; transform: translateY(-1px); }

.btn-popup-back {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; margin-top: 8px; flex: 1;
  background: transparent; color: rgba(255,255,255,0.6);
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 100px; cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.btn-popup-back:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Confirmación */
.popup-confirm { text-align: center; padding: 20px 0; }
.popup-confirm-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(155,89,245,0.2); border: 2px solid var(--lila);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--lila);
  margin: 0 auto 16px;
}
.popup-confirm h3 { color: #fff; margin-bottom: 8px; }
.popup-confirm p  { color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* Utilitario */
.hidden { display: none !important; }

/* ── Toast de validación ── */
.form-toast {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(220,60,60,0.12);
  border: 1px solid rgba(220,60,60,0.35);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #f87171;
  display: flex; align-items: center; gap: 8px;
  animation: toastIn 0.2s ease;
}
.form-toast::before { content: '⚠'; flex-shrink: 0; }
@keyframes toastIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

/* ── Confirmación inline popup ── */
.form-success-msg { text-align: center; padding: 20px 16px 8px; animation: toastIn 0.3s ease; }
.form-success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(155,89,245,0.15);
  border: 2px solid var(--lila, #9b59f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--lila, #9b59f5);
  margin: 0 auto 14px;
}
.form-success-title { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 8px; }
.form-success-sub   { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Opciones paso 1b popup ── */
.opciones-eje-group { margin-bottom: 14px; }
.opciones-eje-label { font-size: 10px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(155,89,245,0.85); margin-bottom: 7px; display: block; }
.opciones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.opcion-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 9px 11px; font-size: 12px; color: rgba(255,255,255,0.6); cursor: pointer; display: flex; align-items: center; gap: 7px; transition: border-color .15s, background .15s, color .15s; }
.opcion-box:hover { border-color: rgba(155,89,245,0.45); background: rgba(80,56,200,0.12); color: #fff; }
.opcion-box.sel { border-color: var(--lila, #9b59f5); background: rgba(80,56,200,0.2); color: #fff; }
.opcion-box-cb { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,0.2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 8px; color: transparent; transition: all .15s; }
.opcion-box.sel .opcion-box-cb { background: var(--lila, #9b59f5); border-color: var(--lila, #9b59f5); color: #fff; }

/* ── finput-error en popup internas ── */
.finput-error,
.form-group input.finput-error,
.form-group select.finput-error {
  border-color: rgba(220,60,60,0.65) !important;
  box-shadow: 0 0 0 3px rgba(220,60,60,0.12) !important;
}
.terms-error { color: rgba(255,120,120,0.9) !important; }

/* ── Mobile popup internas ── */
@media (max-width: 480px) {
  .popup-box { padding: 24px 16px; }
  .opciones-grid { grid-template-columns: 1fr; }
  .ejes-grid { grid-template-columns: 1fr 1fr; }
  .popup-steps .step-label { display: none; }
  #ppaso2 .fg,
  #ppaso3 .fg { gap: 10px; }
}

@media (max-width: 480px) {
  .popup-box { padding: 28px 20px; }
}

/* ── NAV DROPDOWN ── */
.nav-drop-wrap { position: relative; }

.nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); line-height: 1;
}
.nav-drop-caret {
  flex-shrink: 0; transition: transform 0.2s; opacity: 0.6;
}
.nav-drop-trigger:hover .nav-drop-caret,
.nav-drop-trigger[aria-expanded="true"] .nav-drop-caret {
  opacity: 1; transform: rotate(180deg);
}
.nav-drop-trigger.active .nav-drop-caret { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: rgba(14,14,68,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 8px; min-width: 460px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  z-index: 200;
}
.nav-dropdown.open {
  display: flex; gap: 4px;
  animation: dropIn 0.18s ease forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-drop-group { flex: 1; padding: 10px 6px; }
.nav-drop-group + .nav-drop-group { border-left: 1px solid rgba(255,255,255,0.08); }
.nav-drop-heading {
  display: block; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lila); padding: 4px 12px 10px; opacity: 0.85;
}
.nav-drop-item {
  display: block; padding: 9px 14px; font-size: 0.82rem;
  font-weight: 500; color: rgba(255,255,255,0.72);
  border-radius: 8px; transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-drop-item:hover { background: rgba(155,89,245,0.15); color: #fff; }
.nav-drop-item.active { background: rgba(155,89,245,0.2); color: var(--lila-soft); font-weight: 600; }

/* MOBILE */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(61,21,102,0.98); backdrop-filter: blur(16px);
    flex-direction: column; padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08); gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-drop-wrap { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; padding: 10px 14px; }
  .nav-dropdown {
    position: static; transform: none; min-width: 0; width: 100%;
    flex-direction: column; border-radius: 10px; margin-top: 4px;
    box-shadow: none; border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04); backdrop-filter: none;
  }
  .nav-dropdown.open { display: flex; animation: none; }
  .nav-drop-group { padding: 8px 4px; }
  .nav-drop-group + .nav-drop-group { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}


/* ═══════════════════════════════════════════════════
   ACORDEÓN HORIZONTAL — .areas-fan y .planes-fan
   Replica la mecánica del acordeón del home
   ═══════════════════════════════════════════════════ */

/* ── AREAS FAN (3 columnas — Líneas de formación) ── */
.areas-fan {
  display: flex;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gray-300);
  margin-top: 20px;
  gap: 0;
}
.areas-fan .area-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--gray-300);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.42s cubic-bezier(0.4,0,0.2,1), background 0.2s;
  position: relative;
  min-width: 0;
  transform: none !important; /* override hover lift */
}
.areas-fan .area-card:last-child { border-right: none; }
.areas-fan .area-card.open { flex: 3.8; }
.areas-fan .area-card:not(.open):hover { background: rgba(80,56,200,0.03); }

/* Barra superior activa */
.areas-fan .area-card.open::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--lila));
  z-index: 2;
}

/* Franja vertical (estado colapsado) — solo número */
.area-strip {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0; padding: 20px 8px;
  transition: opacity 0.2s;
  pointer-events: none;
}
.areas-fan .area-card.open .area-strip { opacity: 0; pointer-events: none; }
.area-strip-num {
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--purple);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
/* Nombre largo: oculto en franja, visible solo dentro del area-body */
.area-strip-name { display: none; }

/* Contenido expandido */
.area-body {
  position: absolute; inset: 0;
  padding: 32px 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s 0.12s;
  display: flex; flex-direction: column; justify-content: center;
  min-width: 220px;
}
.areas-fan .area-card.open .area-body { opacity: 1; pointer-events: auto; }

/* ── PLANES FAN (2 columnas — Requisitos / Áreas) ── */
.planes-fan {
  display: flex;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gray-300);
  margin-top: 20px;
}
.planes-fan .plan-card {
  flex: 1;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--gray-300);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.42s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  min-width: 0;
  transform: none !important;
}
.planes-fan .plan-card:last-child { border-right: none; }
.planes-fan .plan-card.open { flex: 2.2; }

.planes-fan .plan-card.open::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--lila));
  z-index: 2;
}
.planes-fan .plan-card.featured.open::before {
  background: linear-gradient(90deg, var(--lila), #c4a8ff);
}

/* Franja vertical plan */
.plan-strip {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 20px 10px;
  transition: opacity 0.2s; pointer-events: none;
}
.planes-fan .plan-card.open .plan-strip { opacity: 0; pointer-events: none; }
.plan-strip-label {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.planes-fan .plan-card.featured .plan-strip-label { color: var(--lila-soft); }
.plan-strip-title {
  font-size: 0.6rem; font-weight: 700;
  color: var(--gray-500);
  writing-mode: vertical-rl;
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap;
}
.planes-fan .plan-card.featured .plan-strip-title { color: rgba(255,255,255,0.45); }

/* Contenido expandido plan */
.plan-body {
  position: absolute; inset: 0;
  padding: 28px 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s 0.12s;
  display: flex; flex-direction: column; justify-content: center;
  min-width: 180px;
}
.planes-fan .plan-card.open .plan-body { opacity: 1; pointer-events: auto; }

/* ── MOBILE — vuelven a stack vertical ── */
@media (max-width: 640px) {
  .areas-fan, .planes-fan {
    flex-direction: column;
    min-height: auto;
    height: auto;
  }
  .areas-fan .area-card,
  .planes-fan .plan-card {
    flex: none !important;
    border-right: none;
    border-bottom: 1px solid var(--gray-300);
    min-height: 56px;
  }
  .areas-fan .area-card:last-child,
  .planes-fan .plan-card:last-child { border-bottom: none; }

  .area-strip, .plan-strip {
    position: relative; inset: auto;
    flex-direction: row; justify-content: flex-start;
    padding: 16px 20px; opacity: 1 !important;
    pointer-events: auto;
  }
  .area-strip-num, .area-strip-name,
  .plan-strip-label, .plan-strip-title {
    writing-mode: horizontal-tb;
    font-size: 0.72rem;
  }
  .areas-fan .area-card.open .area-strip,
  .planes-fan .plan-card.open .plan-strip {
    opacity: 1 !important; pointer-events: auto;
  }
  .area-body, .plan-body {
    position: relative; inset: auto;
    opacity: 0; max-height: 0; overflow: hidden;
    padding: 0 20px;
    transition: opacity 0.2s, max-height 0.35s ease, padding 0.2s;
    min-width: 0; justify-content: flex-start;
  }
  .areas-fan .area-card.open .area-body,
  .planes-fan .plan-card.open .plan-body {
    opacity: 1; max-height: 600px;
    padding: 4px 20px 20px;
    pointer-events: auto;
  }
}


/* ══════════════════════════════════════
   POPUP — clases propias (prefijo p-)
   Independientes del formulario inline
══════════════════════════════════════ */

/* Stepper */
.p-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.p-step-item { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.p-step-item.active { color: #fff; }
.p-step-item.done { color: var(--lila, #9b59f5); }
.p-step-num { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.p-step-item.active .p-step-num { background: var(--lila, #9b59f5); border-color: var(--lila, #9b59f5); color: #fff; }
.p-step-item.done .p-step-num { background: var(--purple, #5038c8); border-color: var(--purple, #5038c8); color: #fff; }
.p-step-line { flex: 1; height: 1px; background: rgba(255,255,255,0.12); }

/* Eje-cards del popup */
.p-ejes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.p-eje-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 12px 11px; cursor: pointer; transition: border-color .18s, background .18s, transform .15s, box-shadow .18s; }
.p-eje-card:hover { background: rgba(80,56,200,0.18); border-color: rgba(155,89,245,0.55); transform: translateY(-2px); box-shadow: 0 5px 16px rgba(80,56,200,0.22); }
.p-eje-card.selected { border-color: var(--lila, #9b59f5); background: rgba(80,56,200,0.22); box-shadow: 0 0 0 1px var(--lila, #9b59f5); }
.p-eje-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; gap: 6px; }
.p-eje-name { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: #fff; flex: 1; }
.p-eje-desc { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.4; }
.p-eje-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 8px; color: transparent; transition: all .2s; flex-shrink: 0; }
.p-eje-card.selected .p-eje-check { background: var(--lila, #9b59f5); border-color: var(--lila, #9b59f5); color: #fff; }
.p-sel-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 7px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 14px; font-size: 11.5px; color: rgba(255,255,255,0.45); }
.p-sel-bar strong { color: #fff; }
.p-form-desc { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }

/* Opciones paso 1b popup */
.p-opc-group { margin-bottom: 14px; }
.p-opc-label { font-family: var(--font-head); font-size: 9.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(155,89,245,0.85); display: block; margin-bottom: 7px; }
.p-opc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.p-opc-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 7px; padding: 8px 10px; font-size: 11.5px; color: rgba(255,255,255,0.6); cursor: pointer; display: flex; align-items: center; gap: 7px; transition: border-color .15s, background .15s, color .15s; }
.p-opc-box:hover { border-color: rgba(155,89,245,0.45); background: rgba(80,56,200,0.12); color: #fff; }
.p-opc-box.sel { border-color: var(--lila, #9b59f5); background: rgba(80,56,200,0.2); color: #fff; }
.p-opc-cb { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,0.2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 7px; color: transparent; transition: all .15s; }
.p-opc-box.sel .p-opc-cb { background: var(--lila, #9b59f5); border-color: var(--lila, #9b59f5); color: #fff; }

/* Campos paso 2 y 3 popup */
.p-fg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-fg .p-full { grid-column: 1 / -1; }
.p-flabel { display: block; font-size: 0.68rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 5px; }
.p-finput { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 9px 12px; font-family: var(--font-body); font-size: 0.82rem; color: #fff; outline: none; transition: border-color 0.15s; appearance: none; -webkit-appearance: none; box-sizing: border-box; }
.p-finput::placeholder { color: rgba(255,255,255,0.25); }
.p-finput:focus { border-color: var(--lila, #9b59f5); background: rgba(255,255,255,0.1); }
.p-finput option { background: #3d1566; color: #fff; }
select.p-finput { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.p-finput.finput-error { border-color: rgba(220,60,60,0.65) !important; box-shadow: 0 0 0 3px rgba(220,60,60,0.12) !important; }

/* Botones popup */
.p-btn-cont { width: 100%; padding: 11px 16px; background: var(--orange, #FF7000); color: #fff; font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; border: none; border-radius: 100px; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.p-btn-cont:hover { background: var(--orange-dark, #d95f00); transform: translateY(-1px); }
.p-btn-cont:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.p-btn-back { padding: 11px 16px; background: transparent; color: rgba(255,255,255,0.6); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; border: 1.5px solid rgba(255,255,255,0.18); border-radius: 100px; cursor: pointer; transition: border-color 0.18s, color 0.18s; }
.p-btn-back:hover { border-color: rgba(255,255,255,0.45); color: #fff; }

/* Legal / términos popup */
.p-form-legal { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 12px; }
/* 2-col grid for Industria + Territorio (popup) */
.p-2col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-column: 1 / -1; }
@media (max-width: 480px) { .p-2col-grid { grid-template-columns: 1fr; } }
.p-form-legal a { color: rgba(155,89,245,0.8); text-decoration: underline; }
.p-form-legal .terms-error { color: rgba(255,120,120,0.9) !important; }

/* Mobile */
@media (max-width: 480px) {
  .p-ejes-grid { grid-template-columns: 1fr 1fr; }
  .p-opc-grid { grid-template-columns: 1fr; }
  .p-fg { grid-template-columns: 1fr; }
  .p-fg .p-full { grid-column: 1; }
  .p-steps span { display: none; }
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { height: auto; min-height: 100svh; max-height: none; padding: 0px; }
  .hero-content { max-width: 100%; padding: 0 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { display: none; }
  .modelo-inner { grid-template-columns: 1fr; }
  .venn-wrap { display: none; }
  .servicio-card, .servicio-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .serv-img-wrap { min-height: 220px; }
  .como-cols { grid-template-columns: 1fr; }
  .ruta-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .ruta-steps-track, .ruta-steps-bar { display: none; }
  .team-card { flex: 0 0 calc(50% - 9px); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .fg { grid-template-columns: 1fr; }
  .fg .full { grid-column: 1; }
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .team-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav-cta { font-size: 0.78rem; padding: 8px 14px; }
  .form-box { padding: 28px 20px; }
  .ruta-steps { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 calc(100% - 0px); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cruz-grid { display: none; }
  .cruz-mobile-radial {
    display: block !important;
    position: relative; width: 300px; height: 300px;
    margin: 0 auto 20px;
  }
  .cruz-mobile-radial .radial-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .cruz-mobile-radial .radial-svg line { stroke: rgba(155,89,245,0.35); stroke-width: 1.5; }
  .cmr-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 110px; height: 110px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--lila));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; font-family: var(--font-head); font-weight: 800;
    font-size: 0.72rem; color: #fff; line-height: 1.3;
    box-shadow: 0 0 36px rgba(155,89,245,0.4);
    z-index: 2;
  }
  .cmr-node {
    position: absolute; width: 94px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(155,89,245,0.3);
    border-radius: 10px; padding: 10px 8px;
    text-align: center; cursor: pointer;
    transform: translate(-50%,-50%);
    transition: background 0.2s, border-color 0.2s;
    z-index: 1;
  }
  .cmr-node.active { background: rgba(80,56,200,0.35); border-color: var(--lila); }
  .cmr-node-name { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; color: #fff; line-height: 1.3; }
  .cmr-node-sub  { font-size: 0.6rem; color: rgba(255,255,255,0.4); margin-top: 3px; }
  .cmr-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(155,89,245,0.2);
    border-radius: 12px; padding: 18px;
    margin-bottom: 20px;
  }
  .cmr-panel-title { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 10px; }
  .cmr-panel-items { display: flex; flex-wrap: wrap; gap: 6px; }
  .cmr-item {
    font-size: 0.72rem; color: rgba(255,255,255,0.7);
    background: rgba(155,89,245,0.1); border: 1px solid rgba(155,89,245,0.2);
    border-radius: 100px; padding: 3px 10px;
  }
  .sub-grid { grid-template-columns: 1fr; }
  .popup-box { padding: 28px 20px; }
  .p-fg { grid-template-columns: 1fr !important; }
  .p-fg .p-full { grid-column: 1; }
  .p-steps span { display: none; }
  .p-step-item { gap: 4px; }
}
