#view-inicio {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 48px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(229, 106, 134, 0.16) 0%, rgba(229, 106, 134, 0) 32%),
    linear-gradient(135deg, #191F38 0%, #182645 52%, #1F2744 100%);
}

.nav-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-btn {
  min-width: 42px;
  padding: 7px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover {
  color: #f8fafc;
  transform: translateY(-1px);
}

.lang-btn.active {
  background: #F84F76;
  color: #182645;
}

#view-inicio.active {
  display: block;
}

#view-inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 38, 69, 0.82) 0%, rgba(24, 38, 69, 0.46) 38%, rgba(24, 38, 69, 0.12) 100%),
    radial-gradient(circle at 18% 18%, rgba(248, 79, 118, 0.18) 0%, rgba(248, 79, 118, 0) 24%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 40px;
  align-items: center;
}

.hero-copy-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-overline::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-title {
  max-width: 10.5ch;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-title em {
  color: #F84F76;
  font-style: italic;
}

.hero-sub {
  max-width: 42ch;
  margin: 0 0 12px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-kicker {
  max-width: 40ch;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-media-panel {
  display: grid;
  gap: 18px;
}

.hero-media-frame {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  background: #0b1320;
}

.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 38, 69, 0) 26%, rgba(24, 38, 69, 0.16) 54%, rgba(24, 38, 69, 0.78) 100%),
    linear-gradient(90deg, rgba(24, 38, 69, 0.18) 0%, rgba(24, 38, 69, 0) 40%);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.hero-media-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-media-copy p {
  max-width: 24ch;
  font-size: 1.5rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: left;
}

.hero-stats {
  margin-top: 0;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: rgba(25, 31, 56, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.hero-stat {
  padding: 8px 6px;
  text-align: left;
}

.hero-stat-num {
  font-size: 2rem;
  color: #E56A86;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-shell {
  margin-bottom: 54px;
}

.landing-sections {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.landing-section {
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 20, 32, 0.9) 0%, rgba(8, 17, 28, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.landing-section-head {
  max-width: 720px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.landing-section-head--compact {
  margin-bottom: 24px;
}

.landing-section--value .landing-section-head,
.landing-section--benefits .landing-section-head {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.landing-section--value .landing-section-head p,
.landing-section--value .landing-eyebrow,
.landing-section--benefits .landing-section-head p,
.landing-section--benefits .landing-eyebrow {
  margin-inline: auto;
}

.landing-section-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.landing-section-head p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.landing-eyebrow {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.value-grid,
.benefits-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.landing-section--value .value-grid,
.landing-section--benefits .benefits-grid {
  justify-content: center;
}

.value-card,
.benefit-card,
.preview-surface {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.value-card,
.benefit-card {
  padding: 24px;
}

.landing-section--value .value-card,
.landing-section--benefits .benefit-card {
  text-align: center;
}

.value-card::before,
.benefit-card::before,
.preview-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 106, 134, 0.08) 0%, rgba(248, 79, 118, 0) 60%);
  pointer-events: none;
}

.value-card > *,
.benefit-card > *,
.preview-surface > * {
  position: relative;
  z-index: 1;
}

.value-card-tag,
.preview-surface-tag,
.preview-lock-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.value-card--accent {
  background: linear-gradient(145deg, rgba(229, 106, 134, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.value-card h3,
.benefit-card h3,
.preview-surface h3,
.preview-lock-panel h3 {
  font-size: 1.38rem;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.landing-section--value .feature-list {
  width: min(100%, 30rem);
  margin-inline: auto;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: #E56A86;
  box-shadow: 0 0 0 6px rgba(229, 106, 134, 0.12);
  flex-shrink: 0;
}

.benefit-card {
  min-height: 100%;
}

.benefit-index {
  display: block;
  margin-bottom: 18px;
  color: rgba(248, 79, 118, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.benefit-card p,
.preview-surface p,
.preview-thread-card p,
.preview-lock-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.preview-showcase {
  position: relative;
  padding: 20px 0;
}

.landing-section--preview .landing-section-head {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.landing-section--preview .landing-section-head p,
.landing-section--preview .landing-eyebrow {
  margin-inline: auto;
}

.landing-section--preview .preview-showcase {
  display: grid;
  justify-items: center;
}

.landing-section--preview .preview-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  align-items: start;
}

.preview-surface {
  min-height: 420px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(13, 23, 36, 0.92) 0%, rgba(10, 17, 28, 0.82) 100%);
}

.preview-surface-header {
  max-width: 34ch;
}

.landing-section--preview .preview-surface-header {
  margin-inline: auto;
  text-align: center;
}

.preview-surface-body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.landing-section--preview .preview-surface-body {
  width: min(100%, 420px);
  margin-inline: auto;
}

.preview-surface-body.is-blurred {
  filter: blur(7px);
  opacity: 0.58;
  transform: scale(0.99);
  pointer-events: none;
  user-select: none;
}

body.is-authenticated .preview-surface-body.is-blurred {
  filter: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  user-select: auto;
}

.preview-destination-card,
.preview-thread-card,
.preview-mini-profile {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.preview-destination-head,
.preview-mini-profile,
.preview-thread-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-destination-head strong,
.preview-mini-profile strong {
  display: block;
}

.preview-destination-head span,
.preview-mini-profile span,
.preview-thread-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.preview-flag,
.preview-avatar {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(229, 106, 134, 0.2);
  border: 1px solid rgba(229, 106, 134, 0.26);
  color: #F84F76;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.preview-detail-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.preview-detail-list li {
  position: relative;
  padding-left: 16px;
}

.preview-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(248, 79, 118, 0.9);
}

.preview-thread-card {
  display: grid;
  gap: 8px;
}

.preview-thread-meta {
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-mini-profiles {
  display: grid;
  gap: 12px;
}

.preview-tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-tool-chips span,
.preview-lock-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.preview-lock-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 40px));
  padding: 28px;
  border-radius: 28px;
  transform: translate(-50%, -50%);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(24, 38, 69, 0.96) 0%, rgba(24, 38, 69, 0.92) 100%);
  border: 1px solid rgba(248, 79, 118, 0.22);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.preview-lock-panel.is-highlighted {
  animation: gate-pulse 0.9s ease;
}

body.is-authenticated .preview-lock-panel {
  display: none;
}

.preview-lock-actions,
.preview-lock-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-lock-actions {
  margin: 20px 0 18px;
}

.preview-lock-list {
  margin-top: 4px;
}

.nav-link.is-locked {
  opacity: 0.82;
}

.nav-link.is-locked::after {
  content: " \1F512";
  font-size: 0.78em;
}

@keyframes gate-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 40px 110px rgba(10, 20, 32, 0.62);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  }
}

.migration-profile-panel,
.migration-summary-card,
.migration-option,
.migration-blockers,
.migration-sources,
.profile-migration-block {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(10, 20, 32, 0.9) 0%, rgba(8, 17, 28, 0.84) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.migration-profile-panel::before,
.migration-summary-card::before,
.migration-option::before,
.migration-blockers::before,
.migration-sources::before,
.profile-migration-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 106, 134, 0.08) 0%, rgba(248, 79, 118, 0) 60%);
  pointer-events: none;
}

.migration-profile-panel,
.profile-migration-block {
  padding: 26px;
  margin-bottom: 24px;
}

.migration-profile-head,
.profile-migration-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.migration-profile-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.migration-profile-head h3,
.profile-migration-head .section-title {
  font-size: 1.3rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.migration-profile-head p,
.profile-migration-head p,
.migration-summary-card p,
.migration-option p,
.migration-sources p,
.migration-blockers li,
.migration-empty {
  color: rgba(255, 255, 255, 0.72);
}

.migration-profile-grid,
.profile-migration-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.migration-profile-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.migration-profile-actions .muted {
  max-width: 56ch;
  line-height: 1.7;
}

.migration-profile-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

#view-explorar .country-card--visual {
  min-height: 270px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.36) 4%, rgba(4, 9, 18, 0.7) 38%, rgba(4, 9, 18, 0.92) 72%, rgba(4, 9, 18, 0.985) 100%),
    var(--destination-card-image) center/cover no-repeat,
    linear-gradient(135deg, rgba(20, 36, 54, 1) 0%, rgba(10, 18, 28, 1) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

#view-explorar .country-card--visual:hover {
  border-color: rgba(248, 79, 118, 0.44);
  transform: translateY(-4px);
}

.country-card-visual {
  width: 100%;
  min-height: 270px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.country-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.country-card-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(8, 17, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 1.55rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.country-card-eyebrow {
  max-width: 22ch;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(8, 17, 28, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.country-card-content {
  max-width: 30ch;
  padding: 14px 14px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6, 12, 21, 0.54) 0%, rgba(6, 12, 21, 0.82) 100%);
  backdrop-filter: blur(10px);
}

#view-explorar .country-card-name {
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f8fbff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

#view-explorar .country-card-desc {
  color: rgba(248, 251, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.6;
  text-wrap: balance;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

#migration-results-shell {
  margin-bottom: 28px;
}

.migration-results {
  display: grid;
  gap: 18px;
}

.migration-summary-card,
.migration-option,
.migration-blockers,
.migration-sources {
  padding: 22px;
}

.migration-summary-card {
  display: grid;
  gap: 12px;
}

.migration-summary-card h3,
.migration-option h4,
.migration-blockers h4,
.migration-sources h4 {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.migration-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.migration-chip,
.migration-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.84);
}

.migration-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.migration-option {
  display: grid;
  gap: 12px;
}

.migration-option-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.migration-badge--status {
  font-weight: 700;
}

.migration-option--eligible {
  border-color: rgba(126, 231, 135, 0.32);
}

.migration-option--eligible .migration-badge--status {
  background: rgba(126, 231, 135, 0.14);
  color: #9ae6a0;
}

.migration-option--limited {
  border-color: rgba(248, 79, 118, 0.32);
}

.migration-option--limited .migration-badge--status {
  background: rgba(248, 79, 118, 0.16);
  color: #f5d58f;
}

.migration-option--blocked {
  border-color: rgba(255, 146, 141, 0.32);
}

.migration-option--blocked .migration-badge--status {
  background: rgba(255, 146, 141, 0.16);
  color: #ffb4ab;
}

.migration-option--alternative .migration-badge--status {
  background: rgba(229, 106, 134, 0.16);
  color: #E56A86;
}

.migration-option-list,
.migration-blockers ul {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 8px;
}

.migration-option-list li,
.migration-blockers li {
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.migration-option-list li::before,
.migration-blockers li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: #E56A86;
  box-shadow: 0 0 0 6px rgba(229, 106, 134, 0.12);
  flex-shrink: 0;
}

.migration-next-step {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
}

.migration-sources-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.migration-source-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.migration-source-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.migration-source-link:hover {
  border-color: rgba(248, 79, 118, 0.4);
  transform: translateY(-1px);
}

.migration-empty {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.profile-route-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.profile-route-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.profile-route-copy {
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.profile-route-section-grid {
  display: grid;
  gap: 18px;
}

.profile-route-section {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(10, 20, 32, 0.9) 0%, rgba(8, 17, 28, 0.84) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.profile-route-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 106, 134, 0.08) 0%, rgba(248, 79, 118, 0) 60%);
  pointer-events: none;
}

.profile-route-section-head,
.profile-route-cards {
  position: relative;
  z-index: 1;
}

.profile-route-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.profile-route-section-head h3 {
  font-size: 1.2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.profile-route-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.profile-route-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.profile-route-card {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.24) 8%, rgba(4, 9, 18, 0.6) 36%, rgba(4, 9, 18, 0.88) 70%, rgba(4, 9, 18, 0.97) 100%),
    var(--destination-card-image) center/cover no-repeat,
    linear-gradient(135deg, rgba(20, 36, 54, 1) 0%, rgba(10, 18, 28, 1) 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.profile-route-visual {
  min-height: 360px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-route-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-route-content {
  display: grid;
  gap: 10px;
  padding: 14px 14px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6, 12, 21, 0.22) 0%, rgba(6, 12, 21, 0.54) 100%);
  backdrop-filter: blur(8px);
}

.profile-route-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-route-country {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #f8fbff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.profile-route-content h4 {
  font-size: 1rem;
  line-height: 1.2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

.profile-route-content p,
.profile-route-next-step,
.profile-route-list li {
  color: rgba(248, 251, 255, 0.9);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.58);
}

.profile-route-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.profile-route-list li {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.profile-route-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: #E56A86;
  box-shadow: 0 0 0 6px rgba(229, 106, 134, 0.12);
  flex-shrink: 0;
}

.profile-route-actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.profile-route-next-step {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.profile-route-open-btn {
  width: fit-content;
}

.profile-route-card--eligible {
  border-color: rgba(126, 231, 135, 0.3);
}

.profile-route-card--limited {
  border-color: rgba(248, 79, 118, 0.32);
}

.profile-route-card--blocked {
  border-color: rgba(255, 146, 141, 0.28);
}

.profile-route-card--alternative {
  border-color: rgba(229, 106, 134, 0.28);
}

@media (max-width: 960px) {
  .nav-language {
    margin-left: auto;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy-panel {
    max-width: none;
  }

  .hero-media-frame {
    min-height: 480px;
  }

  .value-grid,
  .benefits-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .migration-profile-grid,
  .profile-migration-grid,
  .migration-option-grid,
  .profile-route-cards {
    grid-template-columns: 1fr;
  }

  .migration-profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .migration-profile-buttons {
    justify-content: stretch;
  }

  .migration-profile-buttons .btn {
    width: 100%;
  }

  .preview-showcase {
    padding-bottom: 0;
  }

  .preview-lock-panel {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 18px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .lang-btn {
    min-width: 38px;
    padding: 6px 9px;
  }

  #view-inicio {
    padding: 28px 16px 36px;
  }

  .hero-topline {
    margin-bottom: 18px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: 2.1rem;
  }

  .hero-kicker {
    font-size: 0.95rem;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-countries {
    gap: 8px;
  }

  .hero-country-chip {
    width: 100%;
    text-align: center;
  }

  .hero-media-frame {
    min-height: 380px;
    border-radius: 24px;
  }

  .hero-media-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .hero-media-copy p {
    font-size: 1.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .landing-section {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .landing-section-head h2 {
    font-size: 1.8rem;
  }

  .migration-profile-panel,
  .profile-migration-block,
  .migration-summary-card,
  .migration-option,
  .migration-blockers,
  .migration-sources,
  .profile-route-section {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .country-card-visual {
    min-height: 248px;
    padding: 16px;
  }

  .profile-route-visual {
    min-height: 332px;
    padding: 16px;
  }

  .country-card-topline {
    align-items: flex-start;
  }

  .country-card-eyebrow {
    max-width: 18ch;
    text-align: left;
  }

  .value-card,
  .benefit-card,
  .preview-surface,
  .preview-lock-panel {
    border-radius: 22px;
  }

  .preview-surface {
    min-height: 0;
    padding: 18px;
  }

  .preview-lock-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-lock-actions .btn {
    width: 100%;
  }

  .preview-lock-list {
    justify-content: flex-start;
  }
}


/* Navigation IA refresh */
#app-nav {
  align-items: stretch;
}

#app-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

#app-nav .nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

#app-nav .nav-group + .nav-group {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

#app-nav .nav-group-label {
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

#app-nav .nav-link--priority {
  font-weight: 700;
}

#app-nav .nav-chat-btn,
#app-nav .nav-link {
  min-height: 36px;
}

.tools-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tools-tabs::-webkit-scrollbar {
  display: none;
}

.tools-tabs .tool-tab {
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  #app-nav .nav-links {
    gap: 12px;
  }

  #app-nav .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
  }

  #app-nav .nav-group + .nav-group {
    padding-left: 8px;
    border-left: none;
  }

  #app-nav .nav-group-label {
    padding: 4px 6px 2px;
  }
}
