:root {
  --edexa-graphite: #304050;
  --edexa-ink: #203040;
  --edexa-blue: #3060e0;
  --edexa-cyan: #00b0f0;
  --edexa-violet: #7030d0;
  --edexa-pie: #5050e0;
  --edexa-bg: #f6f8fb;
  --edexa-border: #dde5ee;
  --edexa-muted: #667085;
  --edexa-white: #ffffff;
  --edexa-gradient: linear-gradient(135deg, #00b0f0 0%, #3060e0 55%, #7030d0 100%);
  --shadow: 0 18px 50px rgba(32, 48, 64, .12);
  --container: 1180px;
  --edexa-violet-gradient: linear-gradient(135deg, #895ecb 0%, #7030d0 100%);
  --edexa-white-gradient: linear-gradient(135deg, #ffffff 0%, #b588f7 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--edexa-ink);
  background: var(--edexa-white);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.top-strip {
  color: #fff;
  background: var(--edexa-graphite);
  font-size: .9rem;
}

.top-strip .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-strip p {
  margin: 0;
}

.top-strip a {
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(221, 229, 238, .78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
}

.brand img {
  width: 156px;
  height: auto;
}

.brand-word {
  display: none;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-menu-link {
  display: none;
}

.nav-links a,
.dropdown-toggle {
  padding: 10px 12px;
  color: var(--edexa-graphite);
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 700;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dropdown-toggle::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  content: "";
}

.nav-item {
  position: relative;
}

.nav-item::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  content: "";
}

.nav-links a:hover,
.nav-links a.is-active,
.dropdown-toggle:hover,
.dropdown-toggle.is-active,
.nav-item:focus-within .dropdown-toggle {
  color: var(--edexa-blue);
  background: rgba(48, 96, 224, .08);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 330px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu a {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  padding: 12px;
}

.mega-menu a::before {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--area-color, var(--edexa-blue));
  border-radius: 50%;
  content: "";
}

.mega-menu strong {
  display: block;
  margin-bottom: 2px;
  color: var(--edexa-graphite);
}

.mega-menu span {
  display: block;
  color: var(--edexa-muted);
  font-size: .82rem;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--edexa-graphite);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--edexa-graphite);
  content: "";
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: var(--edexa-blue);
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(48, 96, 224, .22);
}

.button.gradient {
  background: var(--edexa-gradient);
}

.button.secondary {
  color: var(--edexa-graphite);
  background: #fff;
  border-color: var(--edexa-border);
}

.button.secondary:hover {
  box-shadow: 0 12px 28px rgba(32, 48, 64, .1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(0, 176, 240, .16), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .78fr);
  align-items: start;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--edexa-blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--edexa-graphite);
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: .98;
  letter-spacing: 0;
}

h1 span,
.text-gradient {
  color: transparent;
  background: var(--edexa-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--edexa-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(32, 48, 64, .06);
}

.proof-list strong {
  display: block;
  color: var(--edexa-graphite);
  font-size: 1.05rem;
}

.proof-list span {
  color: var(--edexa-muted);
  font-size: .9rem;
}

.client-strip {
  padding: 34px 0;
  background: #fff;
  border-top: 1px solid var(--edexa-border);
  border-bottom: 1px solid var(--edexa-border);
  overflow: hidden;
}

.client-strip p {
  margin: 0 0 18px;
  color: var(--edexa-muted);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.logo-ribbon {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-marquee 34s linear infinite;
}

.logo-ribbon:hover .logo-track {
  animation-play-state: paused;
}

.school-logo {
  display: grid;
  place-items: center;
  width: 430px;
  min-height: 170px;
  flex: 0 0 auto;
  padding: 18px 26px;
  color: var(--edexa-graphite);
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.school-logo img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: saturate(.92);
  transition: transform .2s ease, filter .2s ease;
}

.school-logo:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

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

.system-panel {
  position: relative;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(221, 229, 238, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--edexa-border);
}

.panel-top strong {
  color: var(--edexa-graphite);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #0f7b58;
  background: #e9f8f2;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  background: #16b87b;
  border-radius: 50%;
  content: "";
}

.flow-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--edexa-border);
}

.flow-card:last-child {
  border-bottom: 0;
}

.flow-icon,
.module-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--area-color, var(--edexa-blue));
  border-radius: 8px;
  font-weight: 900;
}

.flow-card h3 {
  margin-bottom: 4px;
  color: var(--edexa-graphite);
  font-size: 1rem;
}

.flow-card p {
  margin: 0;
  color: var(--edexa-muted);
  font-size: .94rem;
}

section {
  padding: 82px 0;
}

.section-head {
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head h2 {
  margin-bottom: 14px;
  color: var(--edexa-graphite);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-head p {
  color: var(--edexa-muted);
  font-size: 1.06rem;
}

.video-embed,
.video-preview {
  position: relative;
  width: 100%;
  margin-top: 26px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-preview {
  display: block;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  transition: transform .28s ease, opacity .28s ease;
}

.video-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .42));
  content: "";
}

.video-preview:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  background: var(--edexa-gradient);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(48, 96, 224, .34);
  transform: translate(-50%, -50%);
}

.play-button::before {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #fff;
  transform: translate(-50%, -50%);
  content: "";
}

.video-label {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(32, 48, 64, .78);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 900;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.area-card,
.feature-card,
.role-card,
.step-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(32, 48, 64, .07);
}

.area-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--area-color);
  content: "";
}

.area-card h3 {
  margin: 18px 0 8px;
  color: var(--edexa-graphite);
  font-size: 1.28rem;
}

.area-card p {
  color: var(--edexa-muted);
}

.area-card ul {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.area-card li {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--edexa-graphite);
  font-size: .94rem;
}

.area-card li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 9px;
  background: var(--area-color);
  border-radius: 50%;
  content: "";
}

.card-link {
  margin-top: auto;
  color: var(--area-color);
  font-weight: 900;
}

.clients-portals {
  padding-top: 34px;
}

.clients-portals .section-head {
  margin-bottom: 28px;
}

.portal-login-button {
  display: inline-flex;
  min-width: 150px;
  align-items: center;
  align-self: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--area-color);
  box-shadow: 0 10px 22px rgba(112, 48, 208, .24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.portal-login-button:hover,
.portal-login-button:focus-visible {
  color: #fff;
  filter: brightness(.92);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(112, 48, 208, .3);
}

.area-card.has-flip {
  min-height: 390px;
  padding: 0;
  perspective: 1100px;
}

.area-flip {
  position: relative;
  min-height: 300px;
  flex: 1;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.2, .75, .2, 1);
}

.area-card.has-flip:hover .area-flip,
.area-card.has-flip:focus-within .area-flip {
  transform: rotateY(180deg);
}

.area-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 18px;
  background: #fff;
  backface-visibility: hidden;
}

.area-front {
  justify-content: center;
}

.area-back {
  transform: rotateY(180deg);
}

.area-kicker {
  margin: 18px 0 8px;
  color: var(--area-color);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.area-front h3,
.area-back h3 {
  color: var(--edexa-graphite);
}

.area-front h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.12;
}

.area-front p {
  max-width: 260px;
  margin: 14px 0 0;
  color: var(--edexa-muted);
  font-size: 1.02rem;
}

.area-back h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.area-back p {
  margin-bottom: 14px;
}

.area-card.has-flip .card-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 0 30px 24px;
  margin-top: 0;
  background: #fff;
}

.area-card.has-flip .card-link::after {
  margin-left: 8px;
  content: "->";
}

.band {
  background: var(--edexa-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  padding: 18px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--edexa-gradient);
  border-radius: 8px;
  font-weight: 900;
}

.step-card h3 {
  margin-bottom: 7px;
  color: var(--edexa-graphite);
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  color: var(--edexa-muted);
  font-size: .93rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 46px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 34px 24px 24px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(32, 48, 64, .07);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.review-card::before,
.glow-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 176, 240, .18), transparent 32%),
    linear-gradient(135deg, rgba(48, 96, 224, .1), rgba(112, 48, 208, .08) 56%, rgba(0, 176, 240, .1));
  opacity: .78;
  content: "";
  transition: opacity .28s ease, transform .28s ease;
}

.review-card > *,
.glow-card > * {
  position: relative;
  z-index: 1;
}

.review-motion:hover,
.glow-card:hover {
  transform: translateY(-8px);
  border-color: rgba(48, 96, 224, .34);
  box-shadow: 0 24px 58px rgba(48, 96, 224, .16);
}

.review-motion:hover::before,
.glow-card:hover::before {
  opacity: 1;
  transform: scale(1.04);
}

.review-logo {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 62px;
  height: 46px;
  object-fit: contain;
  padding: 4px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(221, 229, 238, .82);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(32, 48, 64, .08);
  transition: transform .28s ease;
}

.review-motion:hover .review-logo {
  transform: translateY(-3px) scale(1.06);
}

.review-stars {
  margin-bottom: 14px;
  color: var(--edexa-blue);
  font-weight: 900;
  letter-spacing: .08em;
}

.review-card blockquote {
  margin: 0 0 18px;
  color: var(--edexa-graphite);
  font-size: 1.03rem;
  line-height: 1.55;
}

.review-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--edexa-border);
}

.review-author strong,
.review-author span {
  display: block;
}

.review-author strong {
  color: var(--edexa-graphite);
}

.review-author span {
  color: var(--edexa-muted);
  font-size: .9rem;
}

.glow-card {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.glow-card::before {
  background:
    radial-gradient(circle at 86% 10%, rgba(112, 48, 208, .18), transparent 30%),
    linear-gradient(135deg, rgba(0, 176, 240, .12), rgba(48, 96, 224, .07) 52%, rgba(112, 48, 208, .12));
}

.feature-card,
.role-card {
  padding: 20px;
}

.feature-card h3,
.role-card h3 {
  color: var(--edexa-graphite);
  margin-bottom: 8px;
}

.feature-card p,
.role-card p {
  margin: 0;
  color: var(--edexa-muted);
}

.module-hero {
  padding: 70px 0 44px;
  background:
    radial-gradient(circle at 80% 14%, color-mix(in srgb, var(--area-color) 22%, transparent), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.module-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.kpi-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.kpi-panel h2 {
  margin-bottom: 18px;
  color: var(--edexa-graphite);
  font-size: 1.2rem;
}

.kpi-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.kpi-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--edexa-border);
}

.kpi-list li:last-child {
  border-bottom: 0;
}

.kpi-list strong {
  color: var(--edexa-graphite);
}

.kpi-list span {
  color: var(--area-color);
  font-weight: 900;
}

.denuncias-hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 48, 208, .22), transparent 30%),
    radial-gradient(circle at 14% 16%, rgba(0, 176, 240, .14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.law-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.law-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--edexa-graphite);
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(32, 48, 64, .06);
}

.case-dashboard {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-metric {
  display: grid;
  gap: 2px;
  padding: 18px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, #7030d0 0%, #3060e0 100%);
  border-radius: 8px;
}

.case-metric span,
.case-metric small {
  color: rgba(255, 255, 255, .78);
}

.case-metric strong {
  font-size: 2.6rem;
  line-height: 1;
}

.case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edexa-border);
}

.case-row strong,
.case-row span,
.dashboard-foot {
  display: block;
}

.case-row strong {
  color: var(--edexa-graphite);
}

.case-row span,
.dashboard-foot {
  color: var(--edexa-muted);
  font-size: .9rem;
}

.case-row em {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #fff;
  background: #dc2626;
  border-radius: 999px;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.case-row.urgent {
  padding-inline: 12px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.dashboard-foot {
  margin: 14px 0 0;
  font-weight: 800;
}

.denuncias-metrics {
  padding: 28px 0;
  background: var(--edexa-graphite);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metrics-grid article {
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.metrics-grid strong,
.metrics-grid span {
  display: block;
}

.metrics-grid strong {
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 1;
}

.metrics-grid span {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

.feature-grid-three,
.security-grid,
.article-grid,
.faq-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(32, 48, 64, .07);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(48, 96, 224, .14);
}

.article-card:not(.article-card-media) {
  padding: 24px;
}

.article-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.045);
}

.article-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  color: #fff;
  background: var(--edexa-blue);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-body {
  padding: 24px;
}

.article-card span {
  display: block;
  margin-bottom: 12px;
  /* color: var(--area-color); */
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card h3 {
  color: var(--edexa-graphite);
  font-size: 1.35rem;
  line-height: 1.18;
}

.article-card p {
  color: var(--edexa-muted);
}

.article-card a {
  color: var(--area-color);
  font-weight: 900;
}

.faq-accordion {
  max-width: 980px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(32, 48, 64, .08);
  overflow: hidden;
}

.faq-row {
  border-bottom: 1px solid var(--edexa-border);
}

.faq-row:last-child {
  border-bottom: 0;
}

.faq-row summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 20px 24px;
  color: var(--edexa-graphite);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 900;
  list-style: none;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-row summary::after {
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  content: "";
}

.faq-row[open] summary::after {
  transform: rotate(225deg);
}

.faq-row summary span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  background: var(--area-color);
  border-radius: 8px;
  font-size: .92rem;
}

.faq-row p {
  max-width: 760px;
  padding: 0 24px 24px 82px;
  margin: 0;
  color: var(--edexa-muted);
  font-size: 1rem;
}

.protocol-line {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--edexa-border);
}

.protocol-line:last-child {
  border-bottom: 0;
}

.protocol-line > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--edexa-muted);
  background: var(--edexa-bg);
  border-radius: 8px;
  font-weight: 900;
}

.protocol-line.done > span,
.protocol-line.active > span {
  color: #fff;
  background: var(--area-color);
}

.protocol-line strong,
.protocol-line small {
  display: block;
}

.protocol-line strong {
  color: var(--edexa-graphite);
}

.protocol-line small {
  color: var(--edexa-muted);
}

.form-consent,
.form-note {
  color: var(--edexa-muted);
  font-size: .88rem;
}

.form-note {
  margin: 14px 0 0;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
}

.timeline-item span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--area-color);
  border-radius: 8px;
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 5px;
  color: var(--edexa-graphite);
}

.timeline-item p {
  margin: 0;
  color: var(--edexa-muted);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cta-section {
  color: #fff;
  background: var(--edexa-graphite);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-box h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.cta-box p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  color: var(--edexa-graphite);
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  color: var(--edexa-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(380px, 1fr);
  gap: 36px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.contact-panel li {
  padding: 14px 0;
  border-bottom: 1px solid var(--edexa-border);
}

.contact-panel li:last-child {
  border-bottom: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--edexa-graphite);
  font-size: .9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--edexa-ink);
  background: #fff;
  border: 1px solid var(--edexa-border);
  border-radius: 8px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, .78);
  background: #203040;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, .5fr));
  gap: 30px;
}

.footer-logo {
  max-width: 142px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1040px) {
  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid-three,
  .security-grid,
  .metrics-grid,
  .faq-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .module-hero .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .system-panel,
  .kpi-panel {
    max-width: 680px;
  }
}

@media (max-width: 860px) {
  .top-strip .container {
    justify-content: center;
    text-align: center;
  }

  .top-strip p:not(:first-child) {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 117px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--edexa-border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .client-menu-link {
    display: block;
  }

  .nav-item {
    position: static;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }

  .dropdown-toggle.is-active::after {
    transform: rotate(-135deg) translateY(1px);
  }

  .mega-menu {
    display: none;
    position: static;
    min-width: 0;
    padding: 6px;
    margin-top: 4px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item.is-open .mega-menu {
    display: grid;
  }

  .nav-actions {
    display: none;
  }

  .proof-list,
  .roles-grid,
  .reviews-grid,
  .feature-grid-three,
  .security-grid,
  .article-grid,
  .metrics-grid,
  .faq-columns,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .logo-ribbon {
    width: 100vw;
  }

  .school-logo {
    width: 320px;
    min-height: 140px;
  }

  .school-logo img {
    height: 120px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-floating { bottom: 1.5rem; right: 1.5rem; width: 50px; height: 50px; font-size: 1.8rem; }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  section,
  .module-hero {
    padding: 54px 0;
  }

  .areas-grid,
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* WhatsApp Buttons Styles */
.whatsapp-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn-top:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.whatsapp-btn-top svg.wa-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.whatsapp-btn-action {
  background-color: #25D366;
  border-color: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-btn-action:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
  box-shadow: 0 16px 30px rgba(37, 211, 102, .22);
}

.whatsapp-btn-action svg.wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
  margin-top: 6px;
}

.whatsapp-btn-footer:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.whatsapp-btn-footer svg.wa-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba59;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.boton-sim-rem {
	color: var(--edexa-white) !important;
	background: var(--edexa-violet-gradient);
}

.boton-sim-rem:hover {
	color: var(--edexa-violet) !important;
	background: var(--edexa-white-gradient) !important;
}

.nuevo-boton-rem-sim {
	color: var(--edexa-violet) !important;
	background: var(--edexa-white);
	border-radius: 25px;
}

.nuevo-boton-rem-sim:hover {
	color: var(--edexa-white) !important;
	background: var(--edexa-violet-gradient);
}

/* ==========================================================================
   Simulador de Remuneraciones
   ========================================================================== */
.edexa-sim {
  --es-ink: var(--edexa-ink);
  --es-muted: var(--edexa-muted);
  --es-line: var(--edexa-border);
  --es-blue: var(--edexa-blue);
  --es-blue-dark: #2448c9;
  --es-cyan: var(--edexa-cyan);
  --es-purple: var(--edexa-violet);
  --es-purple-dark: #5a1fc5;
  --es-paper: #ffffff;
  --es-bg: var(--edexa-bg);
  --es-warning-bg: #fff9e7;
  --es-warning-line: #f0d887;
  --es-warning-ink: #6f5710;
  --es-danger-bg: #fff1f2;
  --es-danger: #a82d3b;
  --es-shadow: var(--shadow);
  --es-shadow-sm: 0 8px 24px rgba(32,54,87,.08);
  --es-radius: 18px;
  --es-sticky-offset: 150px;
  position: relative;
  isolation: isolate;
  color: var(--es-ink);
  background:
    radial-gradient(circle at 94% 8%, rgba(0, 176, 240, 0.08), transparent 28%),
    radial-gradient(circle at 7% 42%, rgba(112, 48, 208, 0.06), transparent 30%),
    var(--es-bg);
  padding: 60px 0;
  width: 100%;
}

.edexa-sim * { box-sizing: border-box; }

.edexa-sim button,
.edexa-sim input,
.edexa-sim select { font: inherit; }

.edexa-sim button,
.edexa-sim select { cursor: pointer; }

.edexa-sim__inner {
  width: min(calc(100% - 40px), var(--container, 1180px));
  margin: 0 auto;
}

.edexa-sim__intro {
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.edexa-sim__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #5f6f83;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.edexa-sim__eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--es-blue), var(--es-purple));
}

.edexa-sim__title {
  margin: 0;
  max-width: 900px;
  color: var(--es-ink);
  font-size: clamp(2.1rem, 4.7vw, 4rem);
  line-height: 1;
  letter-spacing: -.052em;
  font-weight: 820;
}

.edexa-sim__gradient {
  background: linear-gradient(90deg, var(--es-blue), var(--es-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.edexa-sim__lead {
  max-width: 850px;
  margin: 20px 0 0;
  color: var(--es-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.edexa-sim__status {
  align-self: center;
  min-width: 235px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #e0e8f2;
  border-radius: 16px;
  box-shadow: var(--es-shadow-sm);
}

.edexa-sim__status-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}

.edexa-sim__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #19b983;
  box-shadow: 0 0 0 7px rgba(25, 185, 131, .11);
}

.edexa-sim__status-sub {
  margin-top: 5px;
  color: var(--es-muted);
  font-size: .84rem;
}

.edexa-sim__chips {
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edexa-sim__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e0e8f2;
  border-radius: 999px;
  color: #45566c;
  font-size: .84rem;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(32, 54, 87, .04);
}

.edexa-sim__chip svg {
  width: 16px;
  height: 16px;
  color: var(--es-blue);
  flex: 0 0 16px;
}

.edexa-sim__notice {
  margin-bottom: 24px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--es-warning-bg);
  border: 1px solid var(--es-warning-line);
  border-radius: 14px;
  color: var(--es-warning-ink);
  font-size: .9rem;
}

.edexa-sim__notice svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
}

.edexa-sim__app { padding-bottom: 58px; }

.edexa-sim__grid {
  display: grid;
  grid-template-columns: minmax(420px, .94fr) minmax(440px, 1.06fr);
  gap: 24px;
  align-items: start;
}

.edexa-sim__card {
  background: var(--es-paper);
  border: 1px solid var(--es-line);
  border-radius: var(--es-radius);
  box-shadow: var(--es-shadow);
  overflow: hidden;
}

.edexa-sim__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #f4f8ff, #f7f2ff);
  border-bottom: 1px solid var(--es-line);
}

.edexa-sim__card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.edexa-sim__card-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--es-blue), var(--es-purple));
  box-shadow: 0 8px 18px rgba(82, 66, 220, .22);
}

.edexa-sim__card-icon svg { width: 21px; height: 21px; }

.edexa-sim__h2 {
  margin: 0;
  color: var(--es-ink);
  font-size: 1.15rem;
  letter-spacing: -.015em;
}

.edexa-sim__kicker {
  margin: 2px 0 0;
  color: var(--es-muted);
  font-size: .81rem;
}

.edexa-sim__result-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf9f3;
  color: #0c7e5c;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.edexa-sim__result-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b981;
}

.edexa-sim__form-body { padding: 4px 22px 21px; }

.edexa-sim fieldset {
  margin: 0;
  padding: 21px 0;
  border: 0;
  border-bottom: 1px solid var(--es-line);
}

.edexa-sim fieldset:last-child { border-bottom: 0; padding-bottom: 8px; }

.edexa-sim legend {
  padding: 0;
  color: #2f4661;
  font-size: .94rem;
  font-weight: 850;
}

.edexa-sim__help {
  margin: 5px 0 13px;
  color: var(--es-muted);
  font-size: .82rem;
}

.edexa-sim__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.edexa-sim label {
  display: block;
  color: #35475d;
  font-size: .82rem;
  font-weight: 750;
}

.edexa-sim input,
.edexa-sim select {
  width: 100%;
  min-height: 43px;
  margin-top: 6px;
  padding: 9px 11px;
  border: 1px solid #c9d3e0;
  border-radius: 10px;
  background: #fff;
  color: var(--es-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.edexa-sim input:hover,
.edexa-sim select:hover { border-color: #aebdce; }

.edexa-sim input:focus,
.edexa-sim select:focus {
  outline: 0;
  border-color: #647cf0;
  box-shadow: 0 0 0 4px rgba(84, 103, 238, .13);
}

.edexa-sim__check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  font-weight: 550 !important;
  line-height: 1.45;
  cursor: pointer;
}

.edexa-sim__check input {
  width: 18px;
  height: 18px;
  min-height: auto;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--es-purple);
}

.edexa-sim__wide { grid-column: 1 / -1; }

.edexa-sim__form-actions {
  padding: 0 22px 22px;
  display: flex;
  justify-content: flex-end;
}

.edexa-sim__reset {
  padding: 9px 13px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #fff;
  color: #46586e;
  font-weight: 750;
}

.edexa-sim__reset:hover { background: #f6f8fb; }

.edexa-sim__result-card {
  position: sticky;
  top: var(--es-sticky-offset);
}

.edexa-sim__summary { padding: 20px 22px 8px; }

.edexa-sim__total {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 22px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(125deg, #294ecf 0%, #4966f0 42%, #6f2bdd 100%);
  box-shadow: 0 16px 34px rgba(68, 75, 218, .25);
}

.edexa-sim__total::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -62px;
  top: -86px;
  border: 28px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.edexa-sim__total small {
  display: block;
  opacity: .88;
  font-weight: 720;
}

.edexa-sim__total strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.edexa-sim__total-note {
  display: block;
  margin-top: 8px;
  opacity: .75;
  font-size: .76rem;
}

.edexa-sim__line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid #e9eef4;
}

.edexa-sim__line span { color: #435368; }
.edexa-sim__line b {
  color: #22364d;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.edexa-sim__sub {
  padding-left: 15px;
  font-size: .88rem;
}

.edexa-sim__sub span { color: var(--es-muted); }
.edexa-sim__sub b { color: #536176; font-weight: 560; }

.edexa-sim__section-label {
  margin: 17px -22px 0;
  padding: 12px 22px;
  background: #f7f9fc;
  border-top: 1px solid var(--es-line);
  border-bottom: 1px solid var(--es-line);
  color: #40536b;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.edexa-sim__flag {
  display: none;
  margin: 0 22px 14px;
  padding: 12px 13px;
  border: 1px solid #f2cbd0;
  border-radius: 11px;
  background: var(--es-danger-bg);
  color: var(--es-danger);
  font-size: .86rem;
}

.edexa-sim__flag.is-visible { display: block; }

.edexa-sim__footnote {
  margin: 0 22px 22px;
  padding: 14px 15px;
  border: 1px solid #e5ebf2;
  border-radius: 11px;
  background: #f7f9fc;
  color: var(--es-muted);
  font-size: .78rem;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .edexa-sim__intro { grid-template-columns: 1fr; }
  .edexa-sim__status { width: 100%; min-width: 0; }
  .edexa-sim__grid { grid-template-columns: 1fr; }
  .edexa-sim__result-card { position: static; }
}

@media (max-width: 620px) {
  .edexa-sim__inner { width: calc(100% - 24px); }
  .edexa-sim__intro { gap: 18px; }
  .edexa-sim__title { font-size: clamp(2.1rem, 11vw, 3rem); }
  .edexa-sim__lead { font-size: .98rem; }
  .edexa-sim__notice { font-size: .84rem; }
  .edexa-sim__grid { gap: 17px; }
  .edexa-sim__card { border-radius: 15px; }
  .edexa-sim__card-head { padding: 17px 16px; }
  .edexa-sim__form-body { padding: 2px 16px 16px; }
  .edexa-sim__fields { grid-template-columns: 1fr; }
  .edexa-sim__wide { grid-column: auto; }
  .edexa-sim__form-actions { padding: 0 16px 17px; }
  .edexa-sim__summary { padding: 17px 16px 6px; }
  .edexa-sim__section-label { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .edexa-sim__flag,
  .edexa-sim__footnote { margin-left: 16px; margin-right: 16px; }
  .edexa-sim__line { gap: 10px; }
  .edexa-sim__line span { max-width: 64%; }
  .edexa-sim__line b { font-size: .91rem; }
}